LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-05-2003, 03:56 PM   #1
xconspirisist
Member
 
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, 04:01 PM   #2
david_ross
Moderator
 
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, 06:25 PM   #3
xconspirisist
Member
 
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.
 
  


Reply


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 12:12 PM
copying a lot of files with bash or terminal. rob-n Linux - Newbie 3 04-13-2004 07:01 PM
Bash: show on terminal and save to file shadowhunter Linux - Newbie 5 12-13-2003 05:49 PM
Bash, Gnome-Terminal and Prompt Mysteries melquiades Slackware 30 11-28-2003 07:13 AM
Missing commands in Bash/Terminal cferris Red Hat 3 10-13-2003 12:13 AM


All times are GMT -5. The time now is 02:16 AM.

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