commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Its just shorter. Does the same thing though
useful signals are:
pkill -SIGSTOP mpg321 #pause
pkill -SIGCONT mpg321 #resume
pkill -SIGHUP mpg321 #stop
pkill -SIGKILL mpg321 #force exit
TIP: use aliases or shortcuts to control mpg321 from the Desktop Manager
dcfldd is a forensic version of dd that shows a process indicator by default.
The 'dd' command doesn't provide a progress when writing data. So, sending the "USR1" signal to the process will spit out its progress as it writes data. This command is superior to others on the site, as it doesn't require you to previously know the PID of the dd command.
Kills a process matching program. I suggest using
$ pgrep -fl program
to avoid over-killings
Nice the following: kills all bash process owned by guest
$ pkill -9 -f bash -u guest