Play Video
1
Learn How to Teach the Wait Command
Learn How to Teach the Wait Command
::2012/08/28::
Play Video
2
CMD Wait Command
CMD Wait Command
::2013/07/02::
Play Video
3
C++ | Sleep (Wait) Command + Clear Screen Command
C++ | Sleep (Wait) Command + Clear Screen Command
::2013/08/20::
Play Video
4
Wait command
Wait command
::2012/06/21::
Play Video
5
Teaching your dog the "Wait" Command.
Teaching your dog the "Wait" Command.
::2013/05/09::
Play Video
6
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
::2011/04/14::
Play Video
7
2 month pitbull puppy training sit, stay and wait command
2 month pitbull puppy training sit, stay and wait command
::2010/12/01::
Play Video
8
Amber Toy Poodle  - Cappi - Wait Command
Amber Toy Poodle - Cappi - Wait Command
::2014/03/25::
Play Video
9
Tasker Demo: Timer with remaining time (without the WAIT command)
Tasker Demo: Timer with remaining time (without the WAIT command)
::2014/03/23::
Play Video
10
WAIT command.
WAIT command.
::2013/05/17::
Play Video
11
Pitbull 2 month puppy training wait command
Pitbull 2 month puppy training wait command
::2009/02/25::
Play Video
12
Command Blocks Are Awesome 03 - Color Text / Delay
Command Blocks Are Awesome 03 - Color Text / Delay
::2012/11/15::
Play Video
13
Nahla "wait" command
Nahla "wait" command
::2013/02/12::
Play Video
14
Dog training: Advanced wait or stay command
Dog training: Advanced wait or stay command
::2013/03/28::
Play Video
15
Wait Command
Wait Command
::2013/03/17::
Play Video
16
Border Collie Obeys Wait Command For 6 Minutes
Border Collie Obeys Wait Command For 6 Minutes
::2011/06/17::
Play Video
17
Siberian Husky Bravo Wait Command
Siberian Husky Bravo Wait Command
::2014/05/04::
Play Video
18
German Shepherd - Lay down / Wait command
German Shepherd - Lay down / Wait command
::2014/01/16::
Play Video
19
Yankee Rose Wait Command, Video 3 of series with Dog Gone Amazing Reno NV
Yankee Rose Wait Command, Video 3 of series with Dog Gone Amazing Reno NV
::2012/02/15::
Play Video
20
The Wait command by APBC member Helen Taylor
The Wait command by APBC member Helen Taylor
::2011/09/12::
Play Video
21
SGP: Wait Command
SGP: Wait Command
::2013/06/25::
Play Video
22
Labrador Rocco Crate Training Implied Wait Command Dogtra E collar Pager
Labrador Rocco Crate Training Implied Wait Command Dogtra E collar Pager
::2012/06/20::
Play Video
23
Practicing the
Practicing the 'Sit' and 'Wait' Command
::2013/06/16::
Play Video
24
Princeton the Drent follows a "wait" command in public
Princeton the Drent follows a "wait" command in public
::2014/06/08::
Play Video
25
Pomeranian Training Vlog - Learning the Wait Command
Pomeranian Training Vlog - Learning the Wait Command
::2012/01/13::
Play Video
26
Dog obedience: wait command
Dog obedience: wait command
::2011/12/07::
Play Video
27
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
::2013/08/10::
Play Video
28
Li Ming - Obedience class : Wait Command 01
Li Ming - Obedience class : Wait Command 01
::2012/02/20::
Play Video
29
How to Train a Puppy : Wait Command
How to Train a Puppy : Wait Command
::2010/01/18::
Play Video
30
Art with Rusty demonstrating the "Wait" command at the door.
Art with Rusty demonstrating the "Wait" command at the door.
::2011/01/29::
Play Video
31
K9 Click tricks Dog obedience Wait command with distance
K9 Click tricks Dog obedience Wait command with distance
::2012/10/29::
Play Video
32
Pug learning wait command
Pug learning wait command
::2013/05/19::
Play Video
33
Wait command
Wait command
::2014/03/18::
Play Video
34
Wait command
Wait command
::2014/05/14::
Play Video
35
Lexie Shih tzu puppy learning wait command
Lexie Shih tzu puppy learning wait command
::2013/09/18::
Play Video
36
Teaching the "wait" command! -----K9katelynn top dog trainer in cave creek,AZ helps out Ramsey...
Teaching the "wait" command! -----K9katelynn top dog trainer in cave creek,AZ helps out Ramsey...
::2013/06/11::
Play Video
37
The Wait command
The Wait command
::2013/05/13::
Play Video
38
Doberman Copper on a wait command.
Doberman Copper on a wait command.
::2012/05/07::
Play Video
39
Boxer does wait command.
Boxer does wait command.
::2011/01/08::
Play Video
40
English bulldog puppy treat on nose !wait command
English bulldog puppy treat on nose !wait command
::2012/07/13::
Play Video
41
Wait command
Wait command
::2014/08/19::
Play Video
42
German Wirehaired Pointer - Kennel & Wait Command
German Wirehaired Pointer - Kennel & Wait Command
::2011/05/04::
Play Video
43
Tek Wait Command
Tek Wait Command
::2012/06/30::
Play Video
44
Li Ming - Obedience class : Wait Command 02
Li Ming - Obedience class : Wait Command 02
::2012/02/20::
Play Video
45
Lexie shih tzu puppy learning wait command
Lexie shih tzu puppy learning wait command
::2013/09/18::
Play Video
46
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
::2009/01/31::
Play Video
47
Rescue Pit Bull Learns Wait Command with Zuke
Rescue Pit Bull Learns Wait Command with Zuke's Mini Naturals
::2014/09/14::
Play Video
48
FreeSpace - Silent Threat Reborn - Mission 7 - The Wait - Command Briefing [1]
FreeSpace - Silent Threat Reborn - Mission 7 - The Wait - Command Briefing [1]
::2013/09/01::
Play Video
49
Oreo Following the "Wait" Command
Oreo Following the "Wait" Command
::2013/12/07::
Play Video
50
Teaching the Wait Command to Your Dog
Teaching the Wait Command to Your Dog
::2011/05/24::
NEXT >>
RESULTS [51 .. 101]
From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the Unix command. For other uses, see Wait.

In computing, wait is a command which pauses until execution of a background process has ended.

Usage[edit]

 wait [n]

where n is the pid or job ID of a currently executing background process (job). If n is not given, the command waits until all jobs known to the invoking shell have terminated.

wait normally returns the exit status of the last job which terminated. It may also return 127 in the event that n specifies a non-existent job or zero if there were no jobs to wait for.

Because wait needs to be aware of the job table of the current shell execution environment, it is usually implemented as a shell builtin.

Example[edit]

This command can be useful where part of a script can execute in parallel to implement a barrier where an upcoming section depends on the successful completion of the preceding sections.

The following example will fetch the src/ directory from a machine named iona using rsync and simultaneously update the libraries on which this program depends, before building the combination.

#!/usr/bin/env bash
 
# Parallel update script which makes use of the wait command
 
# Update local copy
rsync iona:src/ . &
# Upgrade required libraries, or exit indicating failure if make failed for some reason
make -C lib || exit 1
 
# Wait for rsync to terminate (may have already happened) and finish the job, unless rsync failed
wait && make

Wait for specified job control id number:

$ ls -R / > /dev/null 2>&1 & # start any long running background process
[2] 1986
$ wait %2 # waits for background job number 2 to terminate, then returns

See also[edit]

External links[edit]

Wikipedia content is licensed under the GFDL License
Powered by YouTube
LEGAL
  • Mashpedia © 2014