Linux Basic Commands
ls Lists a directory’s content pwd Shows the current working directory’s path cd Changes the working directory mkdir Creates a new directory rm Deletes a file cp Copies files and directories, including their content mv Moves or renames files and directories touch Creates a new empty file file Checks a file’s type zip and unzip Creates and extracts a ZIP archive tar Archives files without compression in a TAR format nano, vi, and jed Edits a file with a text editor cat Lists, combines, and writes a file’s content as a standard output grep Searches a string within a file sed Finds, replaces, or deletes patterns in a file head Displays a file’s first ten lines tail Prints a file’s last ten lines awk Finds and manipulates patterns in a file sort Reorders a file’s content cut Sections and prints lines from a file diff Compares two files’ content and their differences tee Prints command outputs in Terminal and a file locate Finds files in a system’s database find Outputs a file or fold...