wait Linux Commands
What is Linux wait Command?
Explanation
wait COMMAND:wait command is used to make a process to pause the current execution, till the child process changes its state. It is mostly like termination. It is also used to set time delay to a process.
SYNTAX :
wait [process id]
process id - Specifies an unsigned decimal integer process ID of a command
EXAMPLE:
-
wait 10784
Output:
[1]+ Done firefox
In above example process id of firefox is given. So, the command will set time delay / pause the current execution of firefox.