Introduction to Linux in HPC/Linux Directory Structure

From HPC Wiki
Introduction to Linux in HPC/Linux Directory Structure /
Jump to navigation Jump to search
HPC.NRW
HPC.NRW
Other HPC Courses
GPU Introduction to GPU Programming
GPROF Gprof Tutorial
Introduction to Linux in HPC
1. Historical Background
2. The Command Line
3. Directory structure
4. Files
5. Text display search
6. Processes and permissions
7. The vim text editor
8. Shell scripting environment variables
9. System configuration files
10. Various tips
11. Beyond the cluster
12. Linux in HPC
12. SSH Login


Video


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.
Previous Page
Main Menu Page
Next Page