Skip to main content

Bash

The cluster runs a Linux operating system where Bash shell scripts and interactive commands are supported. A basic familiarity with Bash shell (Linux) commands is required for interacting with the cluster.

Common commands#

CommandDescription
cp file1 file2Copy file1 and rename it to file2
mv file1 file2Move or rename file1 to file2
rm fileDeletes a file
rmdir dir/Removes an empty directory
-rThe -r flag will allow cp and rm to work with directories

Some additional useful commands can be found here.

Editing files#

bash_profile and bashrc#