Systems Administration

Learn Your Tools

Just read a post by Drew DeVault: I very much agree. So many people treat working with computers as “I don’t like it but I have to do it.” Often these people learn only the minimum required to get something done. I think that, as professionals, we need to treat computers as tools to […]

Linux Programming Systems Administration

Tips for doing “shell” scripting in Python

I’ve been moving a bunch of my shell scripts to python recently, because of how much better it handles the concept of “a process didn’t run successfully”. Consider the bash script: What happens here if Command 2 fails? Note that we still get the success message at the end – bash silently ignored our error-ing […]

Linux Networking Systems Administration

A script to bring Cisco Switch VLAN data into phpIPAM

We have recently set up an IPAM at my workplace, the excellent phpIPAM – I went through our install and added all our subnets into the IPAM, but to make the data much more useful we wanted to have the VLAN information also: However, I didn’t want to go through by hand, adding each […]

Linux Systems Administration

My Favourite Tools in 2020 – Command line

Here are some tools that I really like using when I’m working from the command line: Fish shell The fish shell is an awesome shell with loads of autocomplete and helper tools: Mosh Mosh is an SSH replacement that has a much lower latency implementation: Restic As the tagline says, backups done right! […]