0
votes
1answer
143 views

kill command working despite error

after running this command kill -9 <PID> for ./sc_serv. I am getting this output below: -bash: kill: for: arguments must be process or job IDs -bash: kill: ./sc_serv: arguments must be process ...
1
vote
2answers
343 views

How to kick other root users logged in from different shells?

I logged into a machine, and entered: insite1@POC-Messaging1:/opt/insiteone/log> last -a | grep "logged" insite1 pts/6 Tue Jul 30 03:59 still logged in 160.110.5.210 root pts/5 ...
0
votes
2answers
59 views

how do you alias a program whose name conflicts with a built-in while retaining the built-in under a different name?

In zsh 'kill' is a built-in. I would like to alias killall to kill, as I use 'killall' more often and aliasing it kill would be more convenient. i would like to retain the ability to use kill, ...
8
votes
3answers
5k views

SIGTERM with a keyboard shortcut

I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM or even SIGKILL to ...
0
votes
2answers
1k views

Kill background processes started by bash script

I'd like to run the CoffeeScript and the Sass compilers in the background, and be able to kill them both at once. I have a bash script start, like this: coffee --watch -o assets/ -c src/ & sass ...
4
votes
5answers
219 views

How to prevent a process from executing in bash

The following command has been entered: sleep 12h; nuke-russia It was entered on one of the Debian's ttys. I would like to cancel the sleep without nuking anything. I don't want the nuke command to ...
0
votes
3answers
2k views

kill a hung xterm

I used to rlogin/telnet a server and use xterm& to create several xterm sessions. But from time to time, the xterm may hang there and not responding at all(window can't be closed), leaving just a ...
7
votes
3answers
13k views

how to kill process in Mac OS X and not have it restart on its own

When I run sudo kill -9 [PID] with the proper process ID, the process stops but then is restarted and has a new PID. I'm trying to kill the mysqld process. How can I mimic the Activity Monitor in ...
8
votes
2answers
52k views

How to stop a process in Terminal [duplicate]

Possible Duplicate: Ending a process in unix instead of interrupting it When I task in Terminal, such as ping blah.com, how do I then stop this task (other than closing the Terminal window. ...