Here is a quick UNIX command summary to get you started.


  • ls - list directory contents
  • rm - remove a file or directory entries
    Example: rm filename.C
  • mv - rename or move a file to a directory
    Example renaming files: mv filename.C filename2.C
    Example moving filename.C inside foldername: mv filename.C foldername
  • cd - change directory
  • pwd - print working directory (displays the current directory)
  • pico - simple UNIX text editor
  • emacs - another UNIX text editor

[Compiling and Running C programs]

  • gcc - compile C source file
    Example: gcc hello.C -o hello
  • Running binary executable file: ./hello