Moving Files and Navigating SMS Lab Filesystems in Sapelo2
Overview
This guide introduces basic command-line navigation and file movement on Sapelo2 for users working in the SMS Lab filesystem. It covers how to log in using PuTTY, move around the /home/, /work/, /scratch/, and /project/ directories, and safely copy or back up files using the transfer node.
The examples below use username as a placeholder. Replace it with your own UGA MyID.
1. Essential Linux Commands
| Command | Purpose |
|---|---|
pwd |
Prints the current directory you are in |
ls -l |
Lists files and directories in long format |
cd |
Changes directory |
mkdir |
Creates a new directory |
mv |
Moves or renames files and directories |
Check your current location with pwd
After logging in, use:
pwdExample:
username@ss-sub1 ~$ pwd
/home/usernameThis shows that you are currently in your home directory.
List files with ls -l
To view the files and directories in your current location:
ls -lThis shows file permissions, ownership, size, date modified, and file or directory names.
Change directories with cd
To move into another directory, use:
cd /path/to/directoryFor example, to access the SMS Lab work directory:
cd /work/smslab/directory-nameAfter changing directories, confirm your location:
pwdCreate a directory with mkdir
To create a new directory:
mkdir new_directory_nameFor example:
mkdir genome_assembly_backupMove or rename files with mv
To move a file into another directory:
mv file.txt /work/smslab/directory-name/To rename a file:
mv old_name.txt new_name.txtTo move a directory:
mv old_directory /work/smslab/directory-name/2. Logging in to Sapelo2 with PuTTY
Open PuTTY and enter the appropriate server address in the Host Name field.
Sapelo2 login node
Use this when you are working interactively, submitting jobs, checking files, or preparing scripts.
username@sapelo2.gacrc.uga.eduMost routine work begins here.
Transfer node
Use this when moving large files between filesystems or when working with storage locations such as /project/.
username@xfer.gacrc.uga.eduThe transfer node is intended for file movement, not for running computational jobs.
3. Starting in the Home Directory
After logging in to Sapelo2, you usually start in your home directory.
Example:
username@ss-sub1 ~$ pwd
/home/usernameYour home directory is useful for small scripts, configuration files, and lightweight work. Large datasets and computational outputs should usually be stored in /work/, /scratch/, or /project/, depending on the purpose.