Getting comfortable with the CLI on HPC systems
Aire does not have a GUI (Graphical User Interface) and so you need to interact with it through a CLI.
Reproducibility Issues with GUIs:
CLI Benefits:
Bash is the default shell on Unix systems like Linux or Mac
Key Concepts:
command [options] [arguments]man command to get helpNavigation Basics:
cdlscd path/to/directoryPath Types:
/home/username/data../data or ./scripts~pwd # Print working directory - where am I?
ls # List files and directories
ls -la # List with details and hidden files
cd # Change to home directory
cd /path # Change to specific directory
cd .. # Go up one directory level
cd - # Go back to previous directoryTry it: Navigate around the file system and see where you are. You might not have any files or folders if you’ve just created your account!
mkdir newdir # Create directory
cp file1 file2 # Copy file1 to file2
mv oldname new # Move/rename file
rm filename # Remove file (be careful!)
rm -r dirname # Remove directory and contentsBe Careful with rm!
The rm command permanently deletes files - there’s no “recycle bin” on Linux!
What do the following Linux commands do? How might they be used on the HPC service?
ls - ?pwd - ?mkdir - ?cp - ?wget - ?rm - ?ls - List files and directories (see what’s available)pwd - Print working directory (know where you are)mkdir - Make directory (organize your work)cp - Copy files (backup important data)wget - Download files from web (get datasets, software)rm - Remove files (clean up files)man command - Manual pages for any commandcommand --help - Quick help for most commandsNow you’re ready to work on the command line!
Let’s learn about storage systems on HPC

HPC1: Introduction to High Performance Computing | University of Leeds