GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Interview Questions
>
Operating System
>
Unix Programming
Go To First
|
Previous Question
|
Next Question
Unix Programming
| Question 35 of 43
Print
what is the UNIX command to wait for a specified number of seconds before exit
Total Answers and Comments:
6
Last Update: May 27, 2009 Asked by:
arvind_kumarmca
Sponsored Links
Best Rated Answer
—
No best answer available. Please pick the good answer available or
submit
your answer.
November 12, 2007 18:29:24
#1
Zahid K
RE: what is the UNIX command to wait for a specified n...
You can use SIGNALs for this
Is this answer useful?
Yes
|
No
November 13, 2007 08:12:08
#2
Amit Verma
RE: what is the UNIX command to wait for a specified n...
sleep
command for the specified number of seconds/minutes/hours/days
Is this answer useful?
Yes
|
No
November 30, 2007 15:02:56
#3
teetoo
Member Since: November 2007 Contribution: 2
RE: what is the UNIX command to wait for a specified number of seconds before exit
usleep()
1000 1 sec
check sleep functions in <unistd.h>
for waiting processes use #kill -STOP "process number"
to continue ater stopping use #kill -CONT "process number"
get your processes number from (ps -A) command
Is this answer useful?
Yes
|
No
December 12, 2007 09:32:09
#4
josephko
Member Since: December 2007 Contribution: 1
RE: what is the UNIX command to wait for a specified number of seconds before exit
to sleep for 1 second give
sleep 1
sleep seconds
Is this answer useful?
Yes
|
No
November 07, 2008 05:20:33
#5
UncaAlby
Member Since: October 2008 Contribution: 13
RE: what is the UNIX command to wait for a specified number of seconds before exit
sleep
specified number of seconds
exit
Is this answer useful?
Yes
|
No
May 27, 2009 07:46:10
#6
Rohit_Ash
Member Since: May 2009 Contribution: 6
RE: what is the UNIX command to wait for a specified number of seconds before exit
This is easiest way:
sleep seconds
Is this answer useful?
Yes
|
No
Go To Top
Sponsored Links
Related Categories
—
Shell Scripting Interview Questions
Solaris Admin Interview Questions
UNIX Interview Questions
Unix Interview Questions
Unix Programming Interview Questions
Operating System Interview Questions
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved