From 6193eaf1766f0c83200337c5ad275d756bd9495a Mon Sep 17 00:00:00 2001 From: Bryan Wilches <60490258+BryanWV@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:10:17 -0500 Subject: [PATCH] feat: replace with a mini exercise (#8509) Adding a mini exercise about bash scripting --- .../roadmaps/linux/content/shell-basics/index.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/data/roadmaps/linux/content/shell-basics/index.md b/src/data/roadmaps/linux/content/shell-basics/index.md index 3bae27667..e07fe819f 100644 --- a/src/data/roadmaps/linux/content/shell-basics/index.md +++ b/src/data/roadmaps/linux/content/shell-basics/index.md @@ -4,8 +4,10 @@ The Linux shell is a command-line interface or terminal used to interact directl The basics of using a Linux shell include navigating between directories, creating, renaming and deleting files and directories, and executing system commands. This introductory level knowledge is crucial for Linux system administration, scripting, and automation. -Here is a classic `bash` command as an example, which prints the current directory: - -```bash -pwd -``` \ No newline at end of file +This is a follow up exercise to make your first bash script. Please run the commands in the terminal one by one and try to understand what they do: +``` +touch my_first_script.sh +chmod +x my_first_script.sh +echo "date" > my_first_script.sh +./my_first_script.sh +```