I'm having problems running scripts on CentOS 4.4.
I have a script file called wait.txt that looks like this:
Code:
sleep 10s
echo "Hello World"
All very simple!
But when I try to run the thing I get this:
Code:
[root@localhost asterisk]# cat wait.txt
sleep 10s
echo "Hello World"[root@localhost asterisk]# bash wait.txt
'leep: invalid time interval `10s
Try `sleep --help' for more information.
Hello World
[root@localhost asterisk]#
Eh!