Bash
Shell one-liners and scripting notes.
- Date variables for backup rotation Generate rotating week/day/month variables for backup scripts with grandfather-father-son rotation.
- Sed Inline Replace Replace text in files using sed with in-place editing.
- Tr Text Transformation Transform, delete, and squeeze characters using tr command.
- Unix Timestamp Conversion Convert Unix epoch timestamps to human-readable local time and vice versa.