Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2004, 05:32 PM   #1
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, 06:01 PM   #2
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 &


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

All times are GMT -5. The time now is 06:02 PM.

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
Open Source Consulting | Domain Registration