The Linux Commands Reference Cheat Sheet

MakeUseOf | 1/21/2019 | Bertel King, Jr.
entengo (Posted by) Level 3
Click For Photo:

The Linux command line, also known as the terminal, can be an intimidating place. But it can also be your most effective tool.

Unlock the "Essential Linux Commands" cheat sheet now!

Text - Commands - Operating - System - Results

Text commands often work regardless of which Linux-based operating system you use, and the results are often faster than what a graphical desktop interface can offer.

Yet even for long-time users, there are too many commands to commit to memory. That’s why we’ve prepared this handy cheat sheet of Linux commands.

Clear - Screen

clear Clear the terminal screen.

history Display recently used commands. You can also view these commands via the Up and Down keys.

Repeat - Command - N - Command - History

! Repeat a recently used command. You can use !n to repeat the n-th command in history or !-n to repeat what happened n commands ago.

man Display the manual for a terminal program.

Whatis - Display - Description - Program - Simpler

whatis Display a brief description of a terminal program. A simpler alternative to the man command.

alias Create a shortcut to a command or, when combined with the cd command, directory.

Exit - Exit - Terminal

exit Exit or close the terminal.

cd Change directory. Used to navigate between folders.

Pwd - Display - Directory

pwd Display current directory.

cd Change current directory.

Ls - Display - List - Files - Directory

ls Display a list of files in the current directory.

cp Makes a copy of a file. Defaults to the current directory unless you specify a specific one.

Mv - File - Directory

mv Move a file from one directory to another.

rm Remove a file or set of files.

Stat - Display - File

stat Display when a file was last accessed, modified, or changed.

touch Change the date accessed or date modified time of a given file to right now.

Rmdir - Delete - File - Files

rmdir Delete a file or files.

mkdir Create a directory. Defaults to the current directory, but you can also specify one.

Rmdir - Delete - Directory - Defaults - Directory

rmdir Delete a directory. Defaults to the current directory, but you can also specify one. The target directory must be completely empty.

rename Change the name of a file or set of files.

Search - Directory

find Search a specific directory (or your...
(Excerpt) Read more at: MakeUseOf
Wake Up To Breaking News!
Sign In or Register to comment.

Welcome to Long Room!

Where The World Finds Its News!