Page 1
LINUX CONSOLE COMMANDS
Help Commands Command command –help man command
info
Use/Description Lists general information about the command, including switches Lists the page from the built-in manual about the command. This contains very detailed information about the command. Displays information and documentation on shells, utilities and programs.
Directory and file location commands Command Use/Description cp source destination Copies a file from source to destination mv source destination Moves a file from source to destination. Also renames file source to destination. rm filename Deletes (removes) a file rmdir filename Deletes (removes) a directory mkdir filename Creates (makes) a directory ls Lists the contents of a directory ln existingfile new-link Creates link to an existing file (hard link) ln –s existingfile new-link Creates link to an existing file (soft link)
A “cheat sheet” of the most commonly used commands in Linux