Bash

Bash Snippet: Trim Function

Occasionally I find myself wanting to removing leading and/or trailing occurrences of a character or string from a larger string in bash. A couple common uses are removing quotes, or…

Read more →

Zombie Process: Killing the Undead

Is your Ubuntu MOTD warning you of a zombie process? What’s the scoop with that last line “There is 1 zombie process“, is my operating system getting caught up in…

Read more →

Access an APC AP5456 IP Gateway for Analog KVM in Linux

I recently wrote about running an ActiveX component without Internet Explorer. I used that technique to come up with a shell script front-end for downloading, unpacking and running an executable…

Read more →

Bash Snippet: URL Encoding

One approach would be to encode everything, but the approach I took was to just encode things I thought might be problematic to pass over the query string. URL (a.k.a…

Read more →