Solved

RHEL, how to wait 10 seconds

Posted on 2012-03-16
2
410 Views
Last Modified: 2012-03-16
In RHEL 5.6, what is the command to wait for 10 seconds before going to the next command in a script ?

Thanks
0
Comment
Question by:Los Angeles1
2 Comments
 
LVL 2

Accepted Solution

by:
n4th4nr1ch earned 250 total points
ID: 37731274
sleep 10
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 37731293
In bash try
sleep 10s.

In latest version I believe second is the default.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question