The shell prompt
After logging in, you’ll see a prompt like:~ means you’re in your home directory (/global/u/<username>). Everything after $ is where you type.
Navigating files and directories
Managing files
Viewing file contents
Searching
File permissions
Every file has an owner, a group, and a permission string like-rw-r--r--. The three groups of rwx bits map to owner, group, and others.
SLURM scripts must be readable by the scheduler but don’t have to be executable.
sbatch handles that. If you call them directly (./script.sh), you do need chmod +x.
Text editors
Nano is the easiest to learn because it shows commands at the bottom:Redirects and pipes
Variables and the environment
Disk usage
Process management
Archiving and compression
Shell history and shortcuts
Basic bash scripting
A script is just a sequence of commands in a file:#SBATCH comment-directives at the top. See Job submission for complete templates.
Next steps
Software & modules
Load compilers, MPI, Python, and scientific applications.
Job submission
Write and submit your first SLURM job.

