List of commands

File operation commands

Command Description
ls list files and directories
cp copy files and directories
cat concatenate files and print on the standard output
more listing/navigate large file content
less listing/navigate large file content
tail view end lines of large file
nl numbering lines in file
which locate executable file associated with command
whereis locate binary, source and manual page files
grep search specific pattern in the files
wc counting lines, words and characters in text file or command output
basename extract file name from a full path by removing directory path and suffix
cp copy files or directories
cut extract specific parts of each line from file or input
sort to sort lines
uniq to identify and filter duplicate lines in text
tr trasnforming text at the character level
join to merge data from multiple files
xargs to build and exucute command from standard input
awk to extract, filter and transform information
top real-time monitor sytem processes and resources
free to monitore and analyze memory usage
df to monitor disk space usage on linux systems