LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2004, 04:32 PM   #1
siaful
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Shell script question.


I'm trying to write a shell script that will invoke ctrl c within the script. I have a bunch of driver files that I execute on a daily basis. The problem is
that after each file executes I have to manually ctrl c out it, and then run the next file. If anyone can help, it will be greatly appreciated. Thanks
 
Old 04-29-2004, 05:01 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
use & to fork and detach into background.
This will prevent you losing your tty.

/bin/ldconfig &
 
  


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
shell script question Whiteghost Programming 17 09-10-2005 06:52 PM
Shell script question paraiso Linux - Newbie 2 05-15-2005 01:55 AM
Shell script question... defa0009 Linux - General 7 04-26-2005 08:16 PM
shell script question Axion Programming 4 07-29-2004 09:51 PM
Shell script question rytrom Linux - Newbie 4 01-28-2004 07:20 AM


All times are GMT -5. The time now is 01:31 PM.

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