Note: The video version of this segment of the tutorial is here.

Directory locations and storage

Before transferring files, read the descriptions of Home directory and Scratch directory on the HPC Storage page.

Transferring files

See the documentation on File Transfer to learn how to move files between your local machine and Henry2.

Exercise 3.1: Understanding the file system

Use the Storage page to answer the following questions.
  • How much space do you have in your home directory?
  • What is your default group?
  • Where is your scratch directory (i.e., what is its file path), and how much space does your project have in this directory?
  • What is the difference between Scratch Storage and Mass Storage?
  • Exercise 3.2: Transfer the exercise file

    See our File Transfer page to do the following using SCP.
  • Use SCP to copy the R script weather.R from your guide folder on Henry2 to the current working folder of your local machine.
  • Using nano or vi in your local terminal window, modify weather.R by adding 'Henry2!' to the comment line. Now, it should look like:
    # Hello Henry2!
    
  • Use SCP to copy the modified file back to Henry2.
  • Use less to check the contents of the file.

  • Go to Step 4


    Copyright © 2022 · Office of Information Technology · NC State University · Raleigh, NC 27695 · Accessibility · Privacy · University Policies