Teaching: 25 min
Exercises: 5 min
Questions
- Why would I be interested in High Performance Computing (HPC)?
- What can I expect to learn from this course?
Objectives
- Be able to describe what an HPC system is.
- Identify how an HPC system could benefit you.
Connecting to the remote HPC system Page
Teaching: 25 min
Exercises: 10 min
Questions
- How do I open a terminal?
- How do I connect to a remote computer?
- What is an SSH key?
Objectives
- Connect to a remote HPC system.
- Understand the importance of keeping SSH keys, and any other credentials, secure.
- Describe the major benefit of 2-factor authentication.
Not available unless: You belong to any group
Moving around and looking at things Page
Teaching: 15 min
Exercises: 5 min
Questions
- How do I navigate and look around the system?
Objectives
- Learn how to navigate around directories and look at their contents
- Explain the difference between a file and a directory.
- Translate an absolute path into a relative path and vice versa.
- Identify the actual command, flags, and filenames in a command-line call.
- Demonstrate the use of tab completion, and explain its advantages.
Not available unless: You belong to any group
Writing and reading files Page
Teaching: 30 min
Exercises: 15 min
Questions
- How do I create/edit text files?
- How do I move/copy/delete files?
Objectives
- Learn to use the
nano text editor.
- Understand how to move, create, and delete files.
- Learn to copy files to/from a remote DiRAC resource.
- Use and create archival collections of files for efficient file transfer.
Not available unless: You belong to any group
Teaching: 45 min
Exercises: 10 min
Questions
- How can I run a command on multiple files at once?
- Is there an easy way of saving a command’s output?
Objectives
- Redirect a command’s output to a file.
- Process a file instead of keyboard input using redirection.
- Construct command pipelines with two or more stages.
- Explain what usually happens if a program or pipeline isn’t given any input to process.
Not available unless: You belong to any group
Scripts, variables, and loops Page
Teaching: 45 min
Exercises: 10 min
Questions
- How do I turn a set of commands into a program?
Objectives
- Write a shell script
- Understand and manipulate UNIX permissions
- Understand shell variables and how to use them
- Write a simple “for” loop.
Not available unless: You belong to any group
Using Bash scripts in pipes Page
Teaching: 25 min
Exercises: 10 min
Questions
- Can I use scripts I write in pipes as well?
Objectives
- Use a Bash script we’ve written within a pipe.
- Create a Bash script that reads input from other commands within a pipe.
Not available unless: You belong to any group