Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi ,
I am working on uClinux 2.4.24 on ARM processor. Whenever I run some application in background (unsing "&" , for eg "ping 172.16.3.119 &")and press Ctrl-C , the background process also gets killed.
To my understanding Ctrl-C must kill only the foreground process.
What do i do so that Ctrl-C will not kill my background process.
Niraj
Thanks shaun
But there is no "nohup" command for my uClinux. Or else i will have to get source code for that command , compile it for my ARM processor (ARM ELF big-endian executable) and then use it.
Any other way...
That seemed to work for me also. If you don't have that, then the only other thing I can think of is to write a wrapper around the commands that you are using and trap ctrl-c. I would use this is a last resort though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.