Skip to content

Instantly share code, notes, and snippets.

@s2t2
Created February 6, 2017 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2t2/a5ed3129dff45d02d5f3e10178d79d2b to your computer and use it in GitHub Desktop.
Save s2t2/a5ed3129dff45d02d5f3e10178d79d2b to your computer and use it in GitHub Desktop.
#!/bin/bash
# download to your desktop, then run with: bash ~/Desktop/my_mac_script.sh
echo "Hello, $USER."
sleep 2
echo "The current time is: $(date)."
sleep 2
echo "You are running this script from within the following folder:"
sleep 2
pwd
sleep 2
echo "The other files in this folder include:"
sleep 2
ls # list files
sleep 2
echo "Have a nice day."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment