skill-tree:use:1:1:b
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
skill-tree:use:1:1:b [2021/02/08 18:39] – [Background] kunkel | skill-tree:use:1:1:b [2025/04/16 18: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 6: | Line 6: | ||
The shell provides a textual interface allowing to interact with the operating system and performing all possible operations, i.e., accessing and manipulating files, and running programs. | The shell provides a textual interface allowing to interact with the operating system and performing all possible operations, i.e., accessing and manipulating files, and running programs. | ||
However, there are various misconceptions that new users typically face when handling a shell such as the Bash. | However, there are various misconceptions that new users typically face when handling a shell such as the Bash. | ||
+ | Particularly, | ||
- | Part of this skill is the general principles of the interaction with a shell. | + | 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 | + | * Utilize the bash shell to execute individual programs with arguments. |
- | | + | * Describe the meaning of the exit code of a program. |
- | * Describe the meaning of the exit code of a program. | + | * Run multiple programs after another depending on the exit code ;, &&, ||. |
- | * Run multiple programs after another depending on the exit code ;, &&, ||. | + | * List the set of basic programs and their tasks: |
- | * List the set of basic programs and their tasks: | + | |
* pwd | * pwd | ||
* whoami | * whoami | ||
Line 27: | Line 26: | ||
* clear | * clear | ||
* man | * man | ||
+ | * vi, vim, emacs, nano | ||
* exit | * exit | ||
- | | + | * Utilize the available help of a program (--help argument and the man pages). |
- | * Interrupt or abort a program execution: | + | * Interrupt or abort a program execution: |
* CTRL-C | * CTRL-C | ||
* CTRL-Z | * CTRL-Z | ||
* using kill -9 | * using kill -9 | ||
- | | + | * Use the shell history to search and execute previously executed commands. |
- | * Set and print shell variables. | + | * Set and print shell variables. |
- | * Identify potential special characters that must be handled with care. | + | * Print all currently set variables |
- | * Utilize escaping to ensure correct handling of arguments. | + | * Identify potential special characters that must be handled with care. |
- | * Understand wildcard characters to select a group of files/ | + | * List strings that could refer to files/ |
+ | * Utilize escaping to ensure correct handling of arguments. | ||
+ | * Understand wildcard characters to select a group of files/ | ||
* * | * * | ||
- | * [,-] | + | |
- | * Use text editors. | + | |
+ | * How to close popular command line text editors | ||
+ | * nano | ||
+ | * vi | ||
+ | * emacs | ||
- | # Subskills | ||
- | * [[skill-tree: |
skill-tree/use/1/1/b.1612805982.txt.gz · Last modified: 2021/02/08 18:39 by kunkel