Bash/Zsh Commands File Operations

File Operations

AS
Aman Saurav
| Apr 5, 2025 |
6 min read
#cli

The bread and butter of the terminal.

ls -la        # List all files with details
cp file1 file2  # Copy
mv file1 dir/   # Move
rm -rf dir/     # Remove directory (Careful!)