December 2010
5 posts
1 tag
Suspend and resume processes
I always searched an easy way to suspend and resume processes (useful to save resources without quitting programs). First, add the following lines in your .profile pause () { kill -SIGSTOP `pidof "$*"`;} resume () { kill -SIGCONT `pidof "$*"`;} then add the following shell script to your PATH #!/bin/sh ps axc|awk "{if (\$5==\"$1\") print \$1}"|tr '\n' ' ' and make it executable. To pause a...
Dec 22nd
1 tag
LaTeX style tips →
Check it out if you use LaTeX. A lot of insightful tips.
Dec 20th
Dec 9th
3 tags
Dec 8th
Dec 8th