Changes between Version 8 and Version 9 of cypress/BasicLinuxComands/Exercise
- Timestamp:
- 03/20/20 12:29:36 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/BasicLinuxComands/Exercise
v8 v9 31 31 }}} 32 32 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) 34 34 {{{ 35 [tuhpc002@cypress1 textfiles]$ ls /lustre/project/workshop/textfiles/35 [tuhpc002@cypress1 TextFiles]$ ls ~/hpc-project/workshop/TextFiles/ 36 36 alphabet.txt numbers.txt 37 [tuhpc002@cypress1 textfiles]$37 [tuhpc002@cypress1 TextFiles]$ 38 38 }}} 39 39 … … 80 80 81 81 Lastly, let's practice copying, moving, and removing files 82 * Copy the contents of the textfiles directory to your examples directory using the '''cp''' command82 * Copy the contents of the TextFiles directory to your examples directory using the '''cp''' command 83 83 * Use the '''ls''' command to ensure that you've transferred the correct files to the correct directory 84 84 {{{ 85 [tuhpc002@cypress1 examples]$ cp /lustre/project/workshop/textfiles/alphabet.txt alphabet.txt86 [tuhpc002@cypress1 examples]$ cp /lustre/project/workshop/textfiles/numbers.txt numbers.txt85 [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 87 87 [tuhpc002@cypress1 examples]$ ls 88 88 alphabet.txt numbers.txt … … 119 119 120 120 == Challenge == 121 * Copy the file /lustre/project/workshop/animals to your home directory121 * Copy the file ~/hpc-project/workshop/TextFiles/animals to your home directory 122 122 * Create two new subdirectories in your home directory called "letters" and "digits". 123 123 * Move the alphabet.txt file to the letters directory and the numbers.txt file to the digits directory.