High Performance Computing
High End Visualization
About CCR Contact Us Events Facilities Faculty Project Highlights History Job Opportunities News Partners Staff
Bioinformatics Consulting Services Grid Computing Visualization
Accounts Application Software Consulting Getting Started Hardware Resources Frequently Asked Questions Machine Status MyCCR MyStats Overview Request Help Storage Resources Training/Courses Web Portals
Access Grid Training Outreach
Events Logos Media News Photo Album Videos
Contact Information Directions

Unix Commands

CCR's computing resources are primarily Linux based and therefore using them requires a basic
understanding of the Unix operating system. Some basic commands are provided below.

Basic Unix Commands

  • CCR Reference Card for Linux/UNIX commands pdf
  • Show pathname of current directory: pwd
  • List files: ls
  • Make a directory: mkdir directory-name
  • Change directory: cd directory-name
    • Change directory back to home directory: cd
  • Copy a file: cp old-filename new-filename
  • View a file:
    • cat filename
    • more filename
    • less filename
  • Edit a file:
    • emacs filename
    • vi filename
  • Delete a file: rm filename
    • Delete a directory (recursively): rm -R directory-name
      • All files and subdirectories are deleted
  • Move a file: mv old-filename new-filename
  • Change permissions:
    • Arguments to chmod command: ugo+-rwx
      • where ugo are user, group and other; rwx are read, write and execute
    • Add execute permission for yourself: chmod u+x filename
    • Remove read, write and execute for group and other from a directory its contents:
      chmod -R go-rwx directory-name
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.