Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This material is based on the Software Carpentry: The Unix Shell Course

The Unix Shell: Summary and Setup (swcarpentry.github.io)

The Unix shell has been around longer than most of its users have been alive. It has survived because it’s a powerful tool that allows users to perform complex and powerful tasks, often with just a few keystrokes or lines of code. It helps users automate repetitive tasks and easily combine smaller tasks into larger, more powerful workflows.

Use of the shell is fundamental to a wide range of advanced computing tasks, including high-performance computing. These lessons will introduce you to this powerful tool.

childrenThe HPC is a command line only system. You will need to type in the commands to perform actions.

Please see the Introduction to the Unix Shell for HPC Users course material for a background.

The typical commands you will use are:

cd: for changing your working directory

cp/mv: for copying or moving files/folders

rm/rmdir: for deleting files and folders

nano/vi: nano is an easy-to-use text editor whereas while vi is a powerful text editor, it is difficult to use