May 6, 2025
which $SHELL.nano as a text editor: nano hi_mom.sh#!/bin/bash
echo "Hi Mom"
Ctrl + X, then Y to save, Enter to confirm the filename.bash hi_mom.shecho "Hi Mom"
sleep 3
echo "Oh wow"
sleep 3
echo "Can't believe that"
echo "Bye, love you too"
bash Prefix: ./hi_mom.sh
chmod +x hi_mom.sh to make the script executable.ls -l shows permissions../hi_mom.sh should now run.