Difference between revisions of "Introduction to Linux in HPC/Linux Directory Structure"
Introduction to Linux in HPC/Linux Directory Structure
Jump to navigation
Jump to search
| Line 71: | Line 71: | ||
<code>cd -</code> with <code>cd -</code> you change back to the previous working directory, pass the dash <code>-</code> character as an argument to the <code>cd</code> command. | <code>cd -</code> with <code>cd -</code> you change back to the previous working directory, pass the dash <code>-</code> character as an argument to the <code>cd</code> command. | ||
|} | |} | ||
| + | |||
| + | <div style='text-align: left;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC/The_Command_Line Previous Page]|color=white}}</div> | ||
| + | <div style='text-align: center;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC Main Menu Page]|color=white}}</div> | ||
| + | <div style='text-align: right;float:left;width:33%;'>{{Clickable button|[https://hpc-wiki.info/hpc/Introduction_to_Linux_in_HPC/Files Next Page]|color=white}}</div> | ||
| + | |||
| + | |||
| + | |||
| + | [[Category:Tutorials | Linux in HPC/Directory structure]] | ||
Revision as of 17:23, 5 October 2020
Video
Quiz
1. Which one is the top directory in Linux?
2. The command
cd without arguments : if you start in var/log/ and run cd with no arguments, what do you expect will happen?
| Warning: | no undo and make sure what you want to do (page 48) |
Exercises in Terminal (slide 49)
1. Go to a specific subfolder of a folder (example:cd Documents/courses/) and get back to the home directory usingcdcommand. List 3 different ways to do it using one command. check after every action your path withpwdcommand.
| Answer: |
|
2. Go to the directory/tmpand jump between/tmpand your home directory back and forth. check after every action your path withpwdcommand.
| Answer: |
|