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
Teaching your dog the "Wait" Command.
Teaching your dog the "Wait" Command.
::2013/05/09::
Play Video
4
Amber Toy Poodle  - Cappi - Wait Command
Amber Toy Poodle - Cappi - Wait Command
::2014/03/25::
Play Video
5
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
6
Pomeranian Training Vlog - Learning the Wait Command
Pomeranian Training Vlog - Learning the Wait Command
::2012/01/13::
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
Wait Command
Wait Command
::2013/03/17::
Play Video
9
Pitbull 2 month puppy training wait command
Pitbull 2 month puppy training wait command
::2009/02/25::
Play Video
10
Wait command
Wait command
::2014/05/14::
Play Video
11
Border Collie Obeys Wait Command For 6 Minutes
Border Collie Obeys Wait Command For 6 Minutes
::2011/06/17::
Play Video
12
C++ | Sleep (Wait) Command + Clear Screen Command
C++ | Sleep (Wait) Command + Clear Screen Command
::2013/08/20::
Play Video
13
Wait command
Wait command
::2012/06/21::
Play Video
14
German Shepherd - Lay down / Wait command
German Shepherd - Lay down / Wait command
::2014/01/16::
Play Video
15
K9 Click tricks Dog obedience Wait command with distance
K9 Click tricks Dog obedience Wait command with distance
::2012/10/29::
Play Video
16
scarlett and Kanni wait command
scarlett and Kanni wait command
::2013/04/07::
Play Video
17
How to Train a Puppy : Wait Command
How to Train a Puppy : Wait Command
::2010/01/18::
Play Video
18
Command Blocks Are Awesome 03 - Color Text / Delay
Command Blocks Are Awesome 03 - Color Text / Delay
::2012/11/15::
Play Video
19
Siberian Husky Bravo Wait Command
Siberian Husky Bravo Wait Command
::2014/05/04::
Play Video
20
Princeton the Drent follows a "wait" command in public
Princeton the Drent follows a "wait" command in public
::2014/06/08::
Play Video
21
German Wirehaired Pointer - Kennel & Wait Command
German Wirehaired Pointer - Kennel & Wait Command
::2011/05/04::
Play Video
22
The 3 year old Dog trainer - Showing us the "wait" command
The 3 year old Dog trainer - Showing us the "wait" command
::2009/01/12::
Play Video
23
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
::2013/08/10::
Play Video
24
The Wait command by APBC member Helen Taylor
The Wait command by APBC member Helen Taylor
::2011/09/12::
Play Video
25
Dog obedience: wait command
Dog obedience: wait command
::2011/12/07::
Play Video
26
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
27
The "Wait" Command
The "Wait" Command
::2011/02/23::
Play Video
28
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
::2009/01/31::
Play Video
29
Li Ming - Obedience class : Wait Command 01
Li Ming - Obedience class : Wait Command 01
::2012/02/20::
Play Video
30
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
31
Lexie shih tzu puppy learning wait command
Lexie shih tzu puppy learning wait command
::2013/09/18::
Play Video
32
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
33
Stay. Wait. Command. Eat.
Stay. Wait. Command. Eat.
::2011/09/03::
Play Video
34
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
::2011/04/14::
Play Video
35
Teaching the Wait Command to Your Dog
Teaching the Wait Command to Your Dog
::2011/05/24::
Play Video
36
Wait command
Wait command
::2010/11/13::
Play Video
37
2 month pitbull puppy training sit, stay and wait command
2 month pitbull puppy training sit, stay and wait command
::2011/01/09::
Play Video
38
Doberman Copper on a wait command.
Doberman Copper on a wait command.
::2012/05/07::
Play Video
39
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
40
Dog training: Advanced wait or stay command
Dog training: Advanced wait or stay command
::2013/03/28::
Play Video
41
Domino the siberian husky has learnt
Domino the siberian husky has learnt 'WAIT' command
::2012/05/03::
Play Video
42
Pamela
Pamela's Dog Training Tips: The Wait Command
::2012/12/03::
Play Video
43
Training the safety command to "Wait"
Training the safety command to "Wait"
::2012/05/30::
Play Video
44
English bulldog puppy treat on nose !wait command
English bulldog puppy treat on nose !wait command
::2012/07/13::
Play Video
45
Pawspective-Wait Command.m4v
Pawspective-Wait Command.m4v
::2010/02/11::
Play Video
46
working the wait command with food chicken carcasses, good doggies
working the wait command with food chicken carcasses, good doggies
::2014/03/15::
Play Video
47
Wait command and release
Wait command and release
::2013/06/28::
Play Video
48
Alaskan Malamute - Twilight & Bourbon doing the
Alaskan Malamute - Twilight & Bourbon doing the 'Wait' command..
::2010/07/27::
Play Video
49
Pug learning wait command
Pug learning wait command
::2013/05/19::
Play Video
50
Max Valencia working the wait command
Max Valencia working the wait command
::2013/07/01::
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