skill-tree:use:1:1:b
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| skill-tree:use:1:1:b [2021/05/31 12:12] – [Outcomes] kunkel | skill-tree:use:1:1:b [2025/11/06 13:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # USE1.1-B Command Line Interface | + | # USE1.1 Command Line Interface |
| - | # Background | + | |
| HPC systems are usually accessed via a Linux-based Command Line Interface (CLI) that is provided by a shell. | HPC systems are usually accessed via a Linux-based Command Line Interface (CLI) that is provided by a shell. | ||
| Line 10: | Line 10: | ||
| Part of this skill is the general principles of the interaction with a shell, to execute and to stop programs. | Part of this skill is the general principles of the interaction with a shell, to execute and to stop programs. | ||
| + | ## Requirements | ||
| - | # Aim | ||
| - | * To describe the key principles of a shell. | ||
| - | * To execute basic programs to query system information and manipulate the system status. | ||
| + | ## Learning Outcomes | ||
| - | # Outcomes | + | * Use the bash shell to execute individual programs with arguments. |
| - | | + | * List the set of basic programs and their tasks: |
| - | * Describe the meaning of the exit code of a program. | + | |
| - | * Run multiple programs after another depending on the exit code ;, &&, ||. | + | |
| - | | + | |
| * pwd | * pwd | ||
| + | * ls | ||
| + | * cd | ||
| * whoami | * whoami | ||
| * sleep | * sleep | ||
| Line 30: | Line 28: | ||
| * vi, vim, emacs, nano | * vi, vim, emacs, nano | ||
| * exit | * exit | ||
| - | | + | |
| - | * Interrupt or abort a program execution: | + | * Demonstrate interrupting or aborting of a program execution using CTRL-C. |
| - | * CTRL-C | + | * Use the available help of a program (--help argument and the man pages). |
| - | * CTRL-Z | + | * Use the shell history to search and execute previously executed commands. |
| - | * using kill -9 | + | * Demonstrate setting |
| - | | + | * Show all currently set variables |
| - | * Set and print shell variables. | + | * Identify potential special characters that must be handled with care. |
| - | * Print all currently set variables | + | * List strings that could refer to files/ |
| - | * Identify potential special characters that must be handled with care. | + | * Utilize escaping to ensure correct handling of arguments. |
| - | * List strings that could refer to files/ | + | * Understand wildcard characters to select a group of files/ |
| - | * Utilize escaping to ensure correct handling of arguments. | + | |
| - | * Understand wildcard characters to select a group of files/ | + | |
| - | * * | + | |
| - | | + | |
| - | * [-,] | + | |
| - | * How to close popular command line text editors with/or without saving changes: | + | |
| - | * nano | + | |
| - | * vi | + | |
| - | * emacs | + | |
| - | # Subskills | ||
| - | * [[skill-tree: | ||
skill-tree/use/1/1/b.1622455973.txt.gz · Last modified: 2021/05/31 12:12 by kunkel
