viewing paste lab02.sh | Bash

Posted on the
1 2 3 4 5 6 7 8 9
#!/bin/bash
#print a simple hello followed by the command whoami which displays the currently logged in user
echo "Hello "$(whoami)
#print all items within the current directory
ls
#print every items content in the current directory that begins with a l and ends and with a h
cat l*h
#exit script
exit 0
Viewed 510 times, submitted by Streusel.