30 Bash Commands Cheat Sheet
30 Bash Commands Cheat Sheet
mkdir Command creates a new, empty directory mkdir [options] [dir] displays text or variables on the
echo Command terminal echo [options] [string]
find Command searches for files or a specific find [location] [expression] [options]
rmdir Command removes only empty directories rmdir [options] [dir] string of characters
date Command prints the system date and time date [options] [+format]
searches files for lines that match grep [options] [search pattern] [file]
grep Command
cp Command copy files and directories using cp [options] [source] [destination] a regular expression
df Command displays information about disk df [options] [filesystem]
the CLI space usage
sorts the lines in text files in a sort [options] [file]
sort Command
mv Command move files and directories mv [options] [source] [destination] specific order du Command displays the disk space usage of du [options] [file]
files and directories