Running Bash Scripts
📖 Scenario: You want to automate a simple task on your computer using a Bash script. This script will greet you and show the current date and time.
🎯 Goal: Create a Bash script file, make it executable, and run it to see the greeting and current date and time.
📋 What You'll Learn
Create a Bash script file named
greet.sh.Write a script that prints a greeting message and the current date and time.
Make the script executable using the correct command.
Run the script and display its output.
💡 Why This Matters
🌍 Real World
Running scripts is a basic way to automate tasks on your computer, like backups, reminders, or system checks.
💼 Career
Many IT and developer jobs require writing and running scripts to save time and reduce errors.
Progress0 / 4 steps