Administration Computer Services Calendar Safety     Search PSFC



Basic usage & Commands

Linux Commands


eo is built using the Linux operating system. Access is primarily via command line interface (CLI) as opposed to the graphical user interfaces (GUI) that you are more familiar with (such as those on Windows or Mac) Below are a list of common commands for viewing and managing files and directories:

ls - This command lists the contents of the current directory

  • ls -l This is the same command with a flag (-l) which lists the contents with more information, including access permissions
  • ls -a Same ls command but this time the -a flag which will also list hidden files. Hidden files start with a . (period)
  • ls -la Stringing flags together

cd - This will change your location to a different directory (folder)

  • cd /projects/myusername.proj
  • Typing cd with no arguments will take you back to your home directory

mv - This will move or rename a file

  • mv project1.txt project2.txt
  • mv project2.txt /projects/myusername.proj/

rm - This will delete a file

mkdir - This will create a new directory

  • mkdir /home/myusername/financial

Other Commands you may use: alias, awk, cat, export, for, grep, gzip, if, less, sed, tar, while

Learning the Linux Shell

A good tutorial for using linux can be found here: Learning the linux shell



77 Massachusetts Avenue, NW16, Cambridge, MA 02139,


massachusetts institute of technology