Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-05-2003, 02:56 PM   #1
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
pause bash terminal..

hey, I want to pause the output of ( what I think is ) a bash terminal. In my rc.d scripts i've added my own ' echo's ', and I want the script to pause for about 2 seconds before moving on, is there a way to do this ?

also, is there like an echo off, and echo on command, like in xp ? the processes in the rc.d script files generate babble ... and I actualy dont care what they say.. can I stop them ?

Many many thanks.
Old 12-05-2003, 03:01 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
To add a 2 second pause:
sleep 2

I wouldn't recommend hiding the output since it can help determine any problems with your system. If you do want to stop output from commands in the scripts then redirect the output like:
/paht/to/command 2>&1 > /dev/null
Old 12-05-2003, 05:25 PM   #3
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
cheers. Ive decided not to stop output from commands in heed of your advice.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Terminal in PocketPC alunduil Linux - Software 0 03-21-2005 11:12 AM
copying a lot of files with bash or terminal. rob-n Linux - Newbie 3 04-13-2004 06:01 PM
Bash: show on terminal and save to file shadowhunter Linux - Newbie 5 12-13-2003 04:49 PM
Bash, Gnome-Terminal and Prompt Mysteries melquiades Slackware 30 11-28-2003 06:13 AM
Missing commands in Bash/Terminal cferris Red Hat 3 10-12-2003 11:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration