Difference between revisions of "Introduction to Linux in HPC/Linux Directory Structure"

From HPC Wiki
Introduction to Linux in HPC/Linux Directory Structure
Jump to: navigation, search
(Add link to PDF slides)
m (Use tutorial navigation template)
Line 79: Line 79:
 
     |}
 
     |}
  
<div style='text-align: left;float:left;width:33%;'>{{Clickable button|[[Introduction_to_Linux_in_HPC/The_Command_Line | Previous Page]]|color=white}}</div>
+
{{Tutorial Navigation
<div style='text-align: center;float:left;width:33%;'>{{Clickable button|[[Introduction_to_Linux_in_HPC | Main Menu Page]]|color=white}}</div>
+
| previous = [[Introduction_to_Linux_in_HPC/The_Command_Line | The Command Line ]]
<div style='text-align: right;float:left;width:33%;'>{{Clickable button|[[Introduction_to_Linux_in_HPC/Files | Next Page]]|color=white}}</div>
+
| main = [[Introduction_to_Linux_in_HPC | Overview ]]
 +
| next = [[Introduction_to_Linux_in_HPC/Files | Files ]]
 +
}}

Revision as of 14:05, 17 November 2020


HPC.NRW
HPC.NRW
Other HPC Courses
1. Gprof Tutorial
2. OpenMP in Small Bites
Introduction to Linux in HPC
1. Background and History
2. The Command Line
3. Directory structure
4. Files
5. Text display and search
6. Users and permissions
7. Processes
8. The vim text editor
9. Shell scripting
10. Environment variables
11. System configuration
12. SSH Connections
13. SSH: Graphics and File Transfer
14. Various tips


Video

( Slides as pdf)

Quiz

1. Which one is the top directory in Linux?

/
/home
C:\


2. The command cd without arguments : if you start in var/log/ and run cd with no arguments, what do you expect will happen?

Nothing it stays in /var/log/
It goes to your home directory
It goes to the filesystem root
The shell stops having a working directory
It’s an error
The shell prompt turns into a shark and eats you


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 using cd command. List 3 different ways to do it using one command. check after every action your path with pwd command.
2. Go to the directory /tmp and jump between /tmp and your home directory back and forth. check after every action your path with pwd command.


<< The Command Line

Overview

Files >>