Planning HPC intro course
Relevant links
Courses by other
http://www.hpc-carpentry.org/hpc-shell/
Course outline
- Why command line/terminal (Sabry & Radovan)?
- Connecting/SSH (Sabry)
- What is ssh
- Paradigm shift of working of a remote computer
- Moving around and looking at things (Radovan & Jørn)
- contents:
- pwd
- ls
- cd
- cp
- mv
- rm
- cat
- less
- more
- diff
- head
- tail
- exercise (15 min):
-
- connect to the cluster and locate where in the file system you are
-
- go to the directory exercise-inspecting-and-moving
-
- find out in which subfolder are example output files with the ending
.output
-
- find out which of the output files contains the text "failed"
-
- copy the directory containing output files to the backup folder
-
- rename the output files to now have the ending
.out
-
- there is a folder which is in the wrong place (this needs more details), can you move it to the right place?
-
- there are two files with the same content (verify with
diff
), can you remove one of the duplicate files?
- Finding things (Jørn & Sabry)
- Writing & reading files (Sabry & Radovan)
- editor: nano
- cat
- permissions
- Wildcards & pipes (Radovan & Jørn)
- contents:
- exercise (15 min):
- redirect script output to a file, but for this we would need to move this behind scripts. or move redirects to scripts
- composing commands:
- ls | grep
- grep | sort | uniq > output
- find something | xargs
- Scripts (Jørn & Sabry)
- permission and executable
- ls again
Each section contains a 15 minutes exercise/challenge
If possible two part excerise, first easy and second harder