stdbuf – Run COMMAND, with modified buffering operations for its standard streams
While piping together commands that only output intermittently we run into the pipe buffers created by the pipe() system call (also see overview of pipes...
Some thoughts
While piping together commands that only output intermittently we run into the pipe buffers created by the pipe() system call (also see overview of pipes...
To review disk usage recursively – a few different options exist (when scanning manually through with df and du are not enough). I have found...
md Building a RAID array using mdadm – two primary steps: “mdadm –create” to build the array using available resources “mdadm –detail –scan” to build...
For old servers that need to stay that way (for whatever reason) updates are no longer available but you can access the packages that were...
Synopsis #!/usr/bin/env python3 import shutil # Decorator which pre-checks the space in /tmp # and throws an exception if the space is more than #...
This is for fun, for silliness and for do not use anywhere-ness – or to quote the instructions: If you’ve ever wondered just how egregious...
When using and monitoring AWS for EC2 instances and their attached EBS volumes there are a couple of very important metrics to keep an eye...
A bunch of processes have failed – and you’d like to restart them in a screen session in case you need to rerun them in...
This is really a quick reminder about a perl function which does a little more than you’d perhaps expect. Need to convert a binary (or...
A very quick and simple comment on building single-quoted strings in shell scripts which include single quotes. Note that it’s not possible to include a...