Introduction
A shell script is a simple way to tell your computer to do many tasks automatically, saving you time and effort.
#!/bin/bash # Your commands go here command1 command2 ...
#!/bin/bash echo "Hello, world!"
#!/bin/bash
ls -l
pwd#!/bin/bash # Simple script to greet the user echo "Welcome to your computer!" echo "Today is: $(date)"
#!/bin/bash to tell the system to use bash shell.#!/bin/bash echo "Hello, World!"
echo command prints the text inside quotes to the screen.#!/bin/bash echo Done
Pass the test and this pattern moves unknown