Recent Posts

Nix: PID Of The Current Shell

less than 1 minute read

$ expands to the process ID of the shell. So, you can see the PID of the current shell with echo $$.

Nix: Printing with lpr

less than 1 minute read

Recently while trying to fix a printer I used lpr a bunch of times. It’s not exactly new to me, but never fails to surprise people when I use it.