1
Learn How to Teach the Wait Command
Learn How to Teach the Wait Command
DATE: 2012/08/28::
2
C++ | Sleep (Wait) Command + Clear Screen Command
C++ | Sleep (Wait) Command + Clear Screen Command
DATE: 2013/08/20::
3
Pitbull 2 month puppy training wait command
Pitbull 2 month puppy training wait command
DATE: 2009/02/25::
4
Wait Vs. Stay Command with Michael Ellis
Wait Vs. Stay Command with Michael Ellis
DATE: 2014/11/06::
5
2 month pitbull puppy training sit, stay and wait command
2 month pitbull puppy training sit, stay and wait command
DATE: 2009/02/28::
6
Tasker Demo: Timer with remaining time (without the WAIT command)
Tasker Demo: Timer with remaining time (without the WAIT command)
DATE: 2014/03/23::
7
Amber Toy Poodle  - Cappi - Wait Command
Amber Toy Poodle - Cappi - Wait Command
DATE: 2014/03/25::
8
dogs wait for the command to eat
dogs wait for the command to eat
DATE: 2012/08/08::
9
Pomeranian Training Vlog - Learning the Wait Command
Pomeranian Training Vlog - Learning the Wait Command
DATE: 2012/01/13::
10
Rescue Pit Bull Learns Wait Command with Zuke
Rescue Pit Bull Learns Wait Command with Zuke's Mini Naturals
DATE: 2014/09/14::
11
Border Collie Obeys Wait Command For 6 Minutes
Border Collie Obeys Wait Command For 6 Minutes
DATE: 2011/06/17::
12
Command and Conquer - Red Alert 3 Soundtrack - 17  Lying in Wait
Command and Conquer - Red Alert 3 Soundtrack - 17 Lying in Wait
DATE: 2012/03/22::
13
K9 Click tricks Dog obedience Wait command with distance
K9 Click tricks Dog obedience Wait command with distance
DATE: 2012/10/29::
14
Area-1255 : Video Loading "Please Wait" Command Line Animation CMD Effects 1255 STOCK FOOTAGE
Area-1255 : Video Loading "Please Wait" Command Line Animation CMD Effects 1255 STOCK FOOTAGE
DATE: 2015/03/29::
15
Belgian Malinois dogs wait to eat a treat on command for owner
Belgian Malinois dogs wait to eat a treat on command for owner
DATE: 2014/12/09::
16
Training The Wait command Obedience w Marlo
Training The Wait command Obedience w Marlo
DATE: 2015/05/20::
17
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
дуся обидиенс 1 вне зачета выдержка obedience class 1 wait command
DATE: 2013/08/10::
18
Teaching your dog the "Wait" Command.
Teaching your dog the "Wait" Command.
DATE: 2013/05/09::
19
Kai - wait command
Kai - wait command
DATE: 2015/06/08::
20
INFORMATICA TASKS - email task, command task,  decision task, event wait, event raise task
INFORMATICA TASKS - email task, command task, decision task, event wait, event raise task
DATE: 2015/06/18::
21
Max Valencia working the wait command
Max Valencia working the wait command
DATE: 2013/07/01::
22
How to Train a Puppy : Wait Command
How to Train a Puppy : Wait Command
DATE: 2010/01/18::
23
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
Command & Conquer: Red Alert 3 Soundtrack: Lying In Wait
DATE: 2011/04/14::
24
2 month pitbull puppy training sit, stay and wait command
2 month pitbull puppy training sit, stay and wait command
DATE: 2011/01/09::
25
Mega Man X: Command Mission - Part 38: Chapter 9 Intermi- Wait, We
Mega Man X: Command Mission - Part 38: Chapter 9 Intermi- Wait, We're Under Attack?
DATE: 2014/09/29::
26
The Wait command by APBC member Helen Taylor
The Wait command by APBC member Helen Taylor
DATE: 2011/09/12::
27
Teaching the Wait Command to Your Dog
Teaching the Wait Command to Your Dog
DATE: 2011/05/24::
28
German Wirehaired Pointer - Kennel & Wait Command
German Wirehaired Pointer - Kennel & Wait Command
DATE: 2011/05/04::
29
Stay. Wait. Command. Eat.
Stay. Wait. Command. Eat.
DATE: 2011/09/03::
30
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
Lying in Wait - Command & Conquer: Red Alert 3 [Music]
DATE: 2009/01/31::
31
Siberian Husky Bravo Wait Command
Siberian Husky Bravo Wait Command
DATE: 2014/05/04::
32
How to command your dog to wait / 강아지 기다려훈련
How to command your dog to wait / 강아지 기다려훈련
DATE: 2012/08/28::
33
German Shepherd - Lay down / Wait command
German Shepherd - Lay down / Wait command
DATE: 2014/01/16::
34
Japanese Spitz Snout "Wait" command Part 2
Japanese Spitz Snout "Wait" command Part 2
DATE: 2011/11/26::
35
Princeton the Drent follows a "wait" command in public
Princeton the Drent follows a "wait" command in public
DATE: 2014/06/08::
36
Gonna Wait on the Lord - CCHS Chamber Ensemble - Command Performance
Gonna Wait on the Lord - CCHS Chamber Ensemble - Command Performance
DATE: 2015/03/15::
37
Doberman Copper on a wait command.
Doberman Copper on a wait command.
DATE: 2012/05/07::
38
zorro - red and white husky obeying wait command
zorro - red and white husky obeying wait command
DATE: 2011/01/03::
39
German Shepherd learning the  wait command Aggressive dog training San Diego
German Shepherd learning the wait command Aggressive dog training San Diego
DATE: 2014/12/14::
40
Li Ming - Obedience class : Wait Command 01
Li Ming - Obedience class : Wait Command 01
DATE: 2012/02/20::
41
Little Girl Controls Pit Bull Dogs | Future Dog Trainer
Little Girl Controls Pit Bull Dogs | Future Dog Trainer
DATE: 2015/01/09::
42
Remarkably Obedient Dogs Wait For Owners Command
Remarkably Obedient Dogs Wait For Owners Command
DATE: 2015/04/08::
43
dogs wait for the command to eat
dogs wait for the command to eat
DATE: 2015/03/01::
44
The 3 year old Dog trainer - Showing us the "wait" command
The 3 year old Dog trainer - Showing us the "wait" command
DATE: 2009/01/12::
45
Practical application of the Wait command
Practical application of the Wait command
DATE: 2015/06/27::
46
The wait command taught with the premack principle
The wait command taught with the premack principle
DATE: 2013/09/29::
47
Pawspective-Wait Command.m4v
Pawspective-Wait Command.m4v
DATE: 2010/02/11::
48
English bulldog puppy treat on nose !wait command
English bulldog puppy treat on nose !wait command
DATE: 2012/07/13::
49
scarlett and Kanni wait command
scarlett and Kanni wait command
DATE: 2013/04/07::
50
Labrador Rocco Crate Training Implied Wait Command Dogtra E collar Pager
Labrador Rocco Crate Training Implied Wait Command Dogtra E collar Pager
DATE: 2012/06/20::
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
MASHPEDIA
LEGAL
  • Mashpedia © 2015