Changes between Version 8 and Version 9 of cypress/BasicLinuxComands/Exercise


Ignore:
Timestamp:
03/20/20 12:29:36 (5 years ago)
Author:
cbaribault
Comment:

Replaced "/lustre/project/workshop" with "~/hpc-workshop" and "textfiles" with "TextFiles" as needed.

Legend:

Unmodified
Added
Removed
Modified
  • cypress/BasicLinuxComands/Exercise

    v8 v9  
    3131}}}
    3232
    33 * Now, check the contents of the directory "/lustre/project/workshop/textfiles" using the '''ls''' command and the absolute path directory (Hint, you can use the tab key to autocomplete partially typed commands)
     33* Now, check the contents of the directory "~/hpc-workshop/TextFiles" using the '''ls''' command and the absolute path directory (Hint, you can use the tab key to autocomplete partially typed commands)
    3434{{{
    35 [tuhpc002@cypress1 textfiles]$ ls /lustre/project/workshop/textfiles/
     35[tuhpc002@cypress1 TextFiles]$ ls ~/hpc-project/workshop/TextFiles/
    3636alphabet.txt  numbers.txt
    37 [tuhpc002@cypress1 textfiles]$
     37[tuhpc002@cypress1 TextFiles]$
    3838}}}
    3939
     
    8080
    8181Lastly, let's practice copying, moving, and removing files
    82 * Copy the contents of the textfiles directory to your examples directory using the '''cp''' command
     82* Copy the contents of the TextFiles directory to your examples directory using the '''cp''' command
    8383* Use the '''ls''' command to ensure that you've transferred the correct files to the correct directory 
    8484{{{
    85 [tuhpc002@cypress1 examples]$ cp /lustre/project/workshop/textfiles/alphabet.txt alphabet.txt
    86 [tuhpc002@cypress1 examples]$ cp /lustre/project/workshop/textfiles/numbers.txt numbers.txt
     85[tuhpc002@cypress1 examples]$ cp ~/hpc-project/workshop/TextFiles/alphabet.txt alphabet.txt
     86[tuhpc002@cypress1 examples]$ cp ~/hpc-project/workshop/TextFiles/numbers.txt numbers.txt
    8787[tuhpc002@cypress1 examples]$ ls
    8888alphabet.txt  numbers.txt
     
    119119
    120120== Challenge ==
    121 * Copy the file /lustre/project/workshop/animals to your home directory
     121* Copy the file ~/hpc-project/workshop/TextFiles/animals to your home directory
    122122* Create two new subdirectories in your home directory called "letters" and "digits".
    123123* Move the alphabet.txt file to the letters directory and the numbers.txt file to the digits directory.