My purpose is to run a main shell script which calls many sub-processes like other shell scripts, perl sources, and compiled c++ files. I want to run the main shell script "run.sh" at some line in ...
I face this type of situation many times. For example, whenever I try to open some file in emacs with sudo rights using: sudo emacs tet.c & Instead of asking me for the password Ubuntu just ...
Is there a lightweight queue manager for Kubuntu? Something like torque, but as I understand it - torque works for clusters only - while I want the similar thing for my laptop. The problem is - I'd ...
I know you can suspend a ssh session with ~^z, but is there also a way to background it so that it continues working while you do something else in the local shell?
Possible Duplicate: What's the difference between “Service” and “/etc/init.d/”? So what are the differences between jobs that are located in /etc/init/, which I ...
To put the foreground job, in the background, I press cltr+Z and then bg [job-number]. Is there a way to do this in one step instead of two, with some cltr+[key] command? And I don't mean the &. ...
In the old days, the init daemon used to disable tasks that were respawning too fast. I discovered to my peril that UPSTART just stops them. forever. I have found the COUNT and INTERVAL controls for ...
Sometimes, processes ignore the SIGINT signal sent by Ctrl-C in Bash. For instance, man and vi. Assuming you don't want to google or read the manual on how to exit the running process, is there any ...
so by typing /.blabla I launch the program blabla. Is there a way, from the terminal, to stop (i.e. equivalent of ctrl+c) blabla has been running for more than x secs? (I'm trying to test a ...