There are multiple Linux distributions (OS) such as Ubuntu and CentOS.

There are two interfaces to use Linux

Using Linux CLI

Command Line Cheat Sheet

./Current working directory
~Home directory
.filenameThe ‘.’ signifies ‘filename’ is a hidden file
pwdPresent working directory
cd ..
cd /
Change directory
Move one directory up
Move to root
ls -R
ls -a
ls -al
List directory contents
List contents of directory and its subcontents
List directory contents including hidden
List directory contents including hidden with details
cat > filename
cat filename1 filename2>filename3
List contents of file (e.g. cat note.txt)
Creates new file
Merges filename1 & filename2 to filename3
Copies(cp)/Moves(mv) file to a chosen directory
e.g. cp abc.txt /home/<username>/Desktop
copies abc.txt to Desktop (moves if mv over cp)

Linux Flavor/Distro



  1. Sicam, C., Baclit, R., Membrey, P., & Newbigin, J. (2009). Foundations of CentOS Linux Enterprise Linux On the Cheap. Berkeley, CA: Apress.
  2. Dave_Child. “Linux Command Line Cheat Sheet.” Cheatography, Cheatography Https://, 28 Oct. 2011,
  3. “35 Linux Basic Commands Every User Should Know (Cheat Sheet).” Hostinger Tutorials, 13 May 2021,