1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-09 16:53:33 +02:00

feat: replace with a mini exercise (#8509)

Adding a mini exercise about bash scripting
This commit is contained in:
Bryan Wilches
2025-04-18 12:10:17 -05:00
committed by GitHub
parent f279aea1cb
commit 6193eaf176

View File

@@ -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
```
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
```