in SusE linux 9.0 i discovered the sleep command and i read the info file but couldn't realy tell it's purpose, does anyone kno of how to use the sleep command?
The wait command man page simply states that it pauses script execution until a specified process ID completes. The man page for the sleep command is a single line stating that it causes a script to pause for specified period of time.
I use it sometimes inside scripts. Sometimes I need to kill a process then restart it. If you script that, the killing might not be finished before it restarts the process. So you put a sleep between them to give the system some time to kill te process.
\"The only truly secure system is one that is powered off, cast in a block of concrete and sealed in a lead-lined room with armed guards - and even then I have my doubts\".....Spaf Everytime I learn a new thing, I discover how ignorant I am.- ... Black Cluster