Command |
Purpose |
Description |
find |
File Search |
Searches for files and directories based on criteria such as name, type, size, modification time, and permissions. Can execute actions on matching files. |
grep |
Search File Contents |
Searches for patterns (regular expressions) inside files. Often used to find lines matching a string or pattern. Can be case-sensitive or case-insensitive. |
sort |
Sort Data |
Reads input (lines from a file or standard input) and outputs them in sorted order. Can sort alphabetically, numerically, or based on custom fields. |
tee |
Split Output |
Reads from standard input and writes to both standard output and one or more files simultaneously. Useful for logging output while still displaying it. |
wc |
Count Lines, Words, Bytes |
Stands for "word count"; used to count the number of lines (-l ), words (-w ), characters (-m ), or bytes (-c ) in files or input streams. |
clear |
Clear Terminal Screen |
Clears the visible terminal screen, making it easier to display fresh output without clutter from previous commands. |
sleep |
Pause Execution |
Pauses script execution for a specified number of seconds (or fractions of a second with sleep 0.5 ). Useful for delays, rate-limiting, or timing tasks. |