Cheat Sheet

Linux Commands Cheat Sheet

Burr Sutter
March 24, 2017
Cheat Sheet Cover Image

Get the cheat sheet


Easy to use shortcuts for developers

Whether you are new to Linux or have years of experience, you may find yourself encountering tasks you haven’t done lately. That is where the cheat sheet can help.

In this Linux Commands Cheat Sheet find:

  • Basic to more advanced shortcuts.
  • Screenshots to help you verify you are doing it correctly.
  • Tips from ssh to tar -xf somefile.tar.qz we’ve got you covered.

Taken from the personal cheat sheets of the Red Hat Developer Program team for you to save or print to take with you.


ssh [ip or hostname] “vagrant ssh” in the same directory as the Vagrantfile to shell into the box/machine (assumes you have successfully “vagrant up”)
Secure shell, an encrypted network protocol allowing for remote login and command execution
On Windows: PuTTY and WinSCP
An “ssh.exe” is also available via Cygwin as well as with a Git installation.
Print Working Directory
Displays the full path name
Displays your logged in user id
cd /
cd target
cd ~
Change directory to the root of the filesystem
Change directory to “target” directory
Change directory to your home directory
ls -l
ls -la
Directory listing
Long listing, displays file ownership
Displays hidden files/directories