skill-tree:use:1:2:b
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
skill-tree:use:1:2:b [2020/06/05 17:06] – external edit 127.0.0.1 | skill-tree:use:1:2:b [2025/03/10 19:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # USE1.2-B Shell Scripts | + | # USE1.2 Shell Scripts |
- | # Background | + | |
- | The shell provides a programming language that allows you to write programs (known as shell scripts) which allows | + | The shell provides a programming language that allows you to write programs (known as shell scripts), which helps to combine commands into more complex |
Despite initially seeming cumbersome and inefficient to many, the real power of shell scripting quickly becomes apparent to those who use it. | Despite initially seeming cumbersome and inefficient to many, the real power of shell scripting quickly becomes apparent to those who use it. | ||
- | An everyday | + | Everyday |
This skill covers the bash shell. | This skill covers the bash shell. | ||
- | # Aim | + | ## Requirements |
- | * To automatize and bundle repetitive tasks in form of shell scripts. | + | |
- | # Outcomes | + | |
- | | + | |
- | * Design a script using the bash construct " | + | |
- | | + | |
- | - testing for the presence of certain text in a file | + | |
- | * Design a script that performs a task repeatedly using the bash " | + | |
- | * Utilize debugging options for the troubleshooting of shell programs | + | |
- | - Options to bash: -e, -x | + | |
- | * Use shell functions to break large, complex sequences, into a series of small functions | + | |
- | # Subskills | + | ## Learning Outcomes |
+ | |||
+ | * Create a basic shell script that executes a sequence of programs. | ||
+ | * Design a script using the bash construct " | ||
+ | * Performing a test for the existing of a file/ | ||
+ | * Testing for the presence of certain text in a file, | ||
+ | * Design a script that performs a task repeatedly using the bash " | ||
+ | * Utilize debugging options for troubleshooting of shell programs: | ||
+ | * Options to bash: -e, -x | ||
+ | * Use shell functions to break large, complex sequences, into a series of small functions. | ||
+ | * Learn how to manipulate filenames. | ||
+ | * Learn to manage temporary files: | ||
+ | * Choose an adequate file system (or top directory) for temporary files. | ||
+ | * Automatically generate a unique folder name for temporary files. | ||
+ | * Automatically delete temporary folder whenever the script exits. | ||
+ | |||
+ | ## Subskills | ||
skill-tree/use/1/2/b.1591369587.txt.gz · Last modified: 2020/06/05 17:06 by 127.0.0.1