# Storage on Palmetto

## Overview

Teaching: 15 min
Exercises: 0 min
Questions
• How and where can I store my files?

Objectives
• home directory, scratch space

Every Palmetto user gets 100 GB of storage space; this storage is backed up at the end of every day, and the backup is kept for 42 days. So if you accidentally delete a file that was created more than a day ago, we might be able to restore it. This storage is called home directory.

To see how much space you have left in your home directory, please type:

checkquota


Since most of you are new users of Palmetto, you should be using very little storage at the moment.

When you log into Palmetto, you end up in your home directory. To see which directory you are in, type

pwd


…which stands for “print working directory”. It should give you something like

/home/<your Palmetto username>


For ever Palmetto user, their scratch space is located in /scratch1/<username> folder. You can access it with the cd (“change directory”) command:

cd /scratch1/<your Palmetto username>


To go back to your home directory, you can do

cd /home/<your Palmetto username>


There is also a shortcut; to go to your home directory, you can simply type

cd


Here, I will not go into details about Linux commands. Some of you have taken our Linux workshop. There are many online tutorials, my favourite is this one. Please spend some time getting familiar with going between the directories, as well as with copying, moving, and deleting files.