Tagged Questions
4
votes
1answer
41 views
Suspend and edit previous single line commands
Say I want to modify the latter of some concatenated command line options, is it possible without killing the first command?
Specifically I have compile and run scripts executed thusly:
> compile ...
2
votes
1answer
57 views
Chain commands with Control + C interrupt
I am trying to execute a program which loops indefinitely, and so must be forcibly interrupted. After executing the program, I want to delete it. I can do it in several steps:
./MyProg
Control + C
...
1
vote
1answer
87 views
Application in terminal still running but not directly accessible [duplicate]
Possible Duplicate:
How to suspend and bring a background process to foreground
I have kind of an odd problem which I haven't encountered before. Here's what I did:
I started an ...
1
vote
2answers
140 views
How to stop a infinite running process (ztail) started by a ssh session after that session is closed
I have a peculiar problem. My server supports multiple ssh session simultaneously, so that multiple admins can manage (via command line interface) it simultaneously. We have a command which calls ...
1
vote
3answers
704 views
How do I exit or cancel a bad bash command?
I expect to get some flak for this, but I can't find the answer anywhere. It seems like it should be so obvious. Sometimes, when I type a bad command in a bash terminal, the cursor just jumps down to ...
13
votes
3answers
955 views
How to kill a process with a single command?
I want to kill a process, after finding the id in a single step.
I currently use these two commands:
pidof <name>
kill <#number_which_is_result_of_command>
How can I write a single ...
1
vote
1answer
208 views
How to create a cron which finds/kills/clears old puppet runs?
I am a new user of bash/cron, and I was given a task to create a cron which finds/kill/ and clears old puppet runs that were not successfully installed. The more help the better, but I am more or less ...
7
votes
5answers
1k views
How to soft kill gui applications via terminal?
Is there a way to close a GUI application in friendly "please quit yourself now" way, without graphical access to the applications window?
For example, if Gnome/X display crashes to black, I'd like ...