|
Re: $ bash myscript
COME ON BOYS stop dissing me ....
wait.sh
------------------------------------------
#!/bin/sh
echo "Hello World"
echo "Going to sleep"
sleep 3;
echo "Wakey wakey"
------------------------------------------
chmod 755 wait.sh
./wait.sh ( to execute)
---------------------
EDIT
Notice the first line of the script ?
#!/bin/sh
?
That tells the OS that this is a shell script...
If I were to change this line to #!/usr/bin/perl
it would become a perl script
|