| Command | What it does | Example |
| cat | Display the contents of a file | cat file.txt |
| less | View a file page by page | less file.txt |
| head | Display the first few lines of a file | head file.txt |
| tail | Display the last few lines of a file | tail file.txt |
| tail -f | Follow the end of a file as it grows | tail -f log.txt |
| grep | Search for text in files | grep "search_term" file.txt |
| grep -r | Recursively search for text in files | grep -r "search_term" /path/to/directory |
| find | Find files and directories | find /path/to/search -name "filename" |
| wc | Count lines, words, and characters in files | wc file.txt |
| Command | What it does | Example |
| sed | Stream editor for filtering and transforming text | sed 's/old/new/' file.txt |
| awk | Pattern scanning and processing language | awk '{print $1}' file.txt |
| cut | Remove sections from each line of files | cut -d',' -f1 file.txt |
| sort | Sort lines of text files | sort file.txt |
| uniq | Report or omit repeated lines | uniq file.txt |
| tr | Translate or delete characters | tr 'a-z' 'A-Z' file.txt |
| xargs | Build and execute command lines from standard input | find /path/to/search -name "*.txt" | xargs rm |
| Command | What it does | Example |
| tar -czf | Create a compressed tar archive | tar -czf archive.tar.gz /path/to/directory |
| tar -xzf | Extract a compressed tar archive | tar -xzf archive.tar.gz |
| scp | Secure copy files between hosts | scp file.txt user@remote_host:/path/to/destination |
| rsync | Synchronize files and directories | rsync -av /path/to/source user@remote_host:/path/to/destination |
| curl | Transfer data with URLs | curl -O http://example.com/file.txt |
| wget | Non-interactive network downloader | wget http://example.com/file.txt |