Bash Files
This series of tutorials cover most generally used scenarios when working with files in Bash scripts.
Tutorials
Basics
Files
Directories
- Bash – Create new directory
- Bash – Get list of all files in a directory
- Bash – Get list of all files and directories in a path
- Bash – Get list of all files in a directory and its subdirectories recursively
Modifications
Files
- Bash – Copy file
- Bash – Rename file
- Bash – Remove file
- Bash – Replace string in file
- Bash – Truncate file to specific length
Directories
- Bash – Copy directory
- Bash – Rename directory
- Bash – Remove directory