diff --git a/contents/02- Create simple shell scripts.md/02- Use Looping constructs (for, etc.) to process file, command line input.md b/contents/02- Create simple shell scripts.md/02- Use Looping constructs (for, etc.) to process file, command line input.md index 38296ee..438b363 100644 --- a/contents/02- Create simple shell scripts.md/02- Use Looping constructs (for, etc.) to process file, command line input.md +++ b/contents/02- Create simple shell scripts.md/02- Use Looping constructs (for, etc.) to process file, command line input.md @@ -1,3 +1,5 @@ +## 02- Use Looping constructs (for, etc.) to process file, command line input: + The RHCSA exam topic **"Use Looping constructs (for, etc.) to process file, command line input in shell scripts"** is fundamental for automating repetitive tasks in Linux. Looping constructs, especially `for`, allow you to process multiple files, iterate over command output, or handle arguments passed to a script. diff --git a/contents/02- Create simple shell scripts.md/03- Process script inputs ($1, $2, etc.).md b/contents/02- Create simple shell scripts.md/03- Process script inputs ($1, $2, etc.).md index e9c3748..96f91b9 100644 --- a/contents/02- Create simple shell scripts.md/03- Process script inputs ($1, $2, etc.).md +++ b/contents/02- Create simple shell scripts.md/03- Process script inputs ($1, $2, etc.).md @@ -1,3 +1,5 @@ +## 03- Process script inputs ($1, $2, etc.): + The RHCSA exam topic **"Process script inputs (`$1`, `$2`, etc.)"** focuses on handling positional parameters in shell scripts. Positional parameters are used to pass arguments to a script and are crucial for making scripts dynamic and flexible. This topic tests your ability to handle command-line inputs within scripts using variables like **`$1`, `$2`**, and others, allowing you to process user-provided data. diff --git a/contents/02- Create simple shell scripts.md/04- Processing output of shell commands within a script.md b/contents/02- Create simple shell scripts.md/04- Processing output of shell commands within a script.md index 11892cc..9d1cca5 100644 --- a/contents/02- Create simple shell scripts.md/04- Processing output of shell commands within a script.md +++ b/contents/02- Create simple shell scripts.md/04- Processing output of shell commands within a script.md @@ -1,3 +1,5 @@ +## 04- Processing output of shell commands within a script: + The RHCSA exam topic **"Processing output of shell commands within a script"** is crucial because it involves capturing and using the output of shell commands in a script. This skill is essential for creating dynamic and flexible scripts that respond to system information or user input. Shell commands like `ls`, `grep`, `df`, and others can be used within scripts to gather data, which can then be processed using conditionals, loops, or redirections. --- diff --git a/index.html b/index.html index 4c27443..07ee4bc 100644 --- a/index.html +++ b/index.html @@ -301,8 +301,13 @@