User Tools

Site Tools


skill-tree:use:1:1:b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
skill-tree:use:1:1:b [2020/07/13 18:40] – [Aim] julian-userskill-tree:use:1:1:b [2021/05/31 12:12] – [Outcomes] kunkel
Line 5: Line 5:
 At its core, a shell is simply a convenient tool that you can use to execute commands on a Linux computer. At its core, a shell is simply a convenient tool that you can use to execute commands on a Linux computer.
 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.
 +Particularly, dealing with control characters and the format expected when executing programs with arguments can be error-prone.
 +
 +Part of this skill is the general principles of the interaction with a shell, to execute and to stop programs.
  
-Part of this module is the general principles of the interaction with a shell. They are illustrated on the widely available bash shell. 
  
 # Aim # Aim
   * To describe the key principles of a shell.   * To describe the key principles of a shell.
-  * To execute basic programs and manipulate their input/output.+  * To execute basic programs to query system information and manipulate the system status.
  
  
 # Outcomes # Outcomes
-  * Utilize the bash shell to execute individual programs with arguments +  * 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 
-    sleep +    sleep 
-    kill +    kill 
-    echo +    echo 
-    clear +    clear 
-    man +    man 
-    exit +    * vi, vim, emacs, nano 
-  * Utilize the available help of a program (--help argument and the man pages) +    * exit 
-  * Interrupt or abort a program execution +  * Utilize the available help of a program (--help argument and the man pages). 
-    CTRL-C +  * Interrupt or abort a program execution: 
-    CTRL-Z +    CTRL-C 
-    using kill -9 +    CTRL-Z 
-  * Use the shell history to search and execute previous executed commands +    using kill -9 
-  * Identify potential special characters that must be handled with care +  * Use the shell history to search and execute previously executed commands
-  * Utilize escaping to ensure correct handling of arguments +  * Set and print shell variables. 
-  * Understand wildcard characters to select a group of files/directories +  * Print all currently set variables 
-    +  * Identify potential special characters that must be handled with care
-    [,-] +    * List strings that could refer to files/directories 
-  * Use text editors+  * Utilize escaping to ensure correct handling of arguments. 
 +  * Understand wildcard characters to select a group of files/directories: 
 +    
 +    * ? 
 +    * [-,
 +  * How to close popular command line text editors with/or without saving changes: 
 +    * nano 
 +    * vi 
 +    * emacs
  
-# Subskills 
  
 +# Subskills
 +  * [[skill-tree:use:1:1:i]]
skill-tree/use/1/1/b.txt · Last modified: 2021/09/13 11:57 by 127.0.0.1