CLI Tools
- fzf-marks: Plugin to manage bookmarks in bash and zsh
- yt-dlp: A youtube-dl fork with additional features and fixes
Interesting Links
- 14 Rust Tools for Linux Terminal Dwellers
- 5 great Perl scripts to keep in your sysadmin toolbox
- Open source’s impact on the world’s 100 million developers
Tip of the Week
When you have a process that is stuck or won’t respond, a good rule of thumb for escalating kill
s:
kill -15
(TERM
)kill -2
(INT
)kill -9
(KILL
)
The first two options give the misbehaving program a chance to quit gracefully and cleanup after itself. A -9
may leave artifacts behind (lock files, temp files, etc).
You can list all of the signals with kill -l
. A function to show the signals and their number:
while read -r sig; do
printf "%s %s\n" "$(kill -l $sig)" "$sig"
done <<< $(kill -l | tr ' ' '\n') | column
Bonus:
- Find a process PID with
pgrep <process>
- To kill all processes that match a name:
pkill -<num> <process>