Category Archives: System Administration

System Administration

Another Bash One Liner To Delete Old Directories View Comments

We received a tip from blog readers Christian and Michael for alternatives to the command to delete all directories older than a certain period of time. These both work in bash and can be used in scripts to clean up old backup directories or any situation where you need to delete old directories from the [...]

One Line Batch Rename Files Using CSV Input File and awk View Comments

The Bash command environment, which is the namesake of this blog, is very flexible in that it allows you to manipulate the filesystem in many ways. Awk and sed are very powerful tools that allow you to do this rename with a simple one line command. This post will walk you through doing this with [...]

UbunTOS – Ubuntu 9.10 + TinyOS 2.x VirtualBox Image View Comments

This is my admittedly minor but I hope useful contribution to the TinyOS development community. TinyOS is an Operating System and development framework for Wireless Sensor Networks and other platforms which has a small footprint and is very energy conscious. The TinyOS source code is available for free online for many operating systems, however it takes [...]

Linux Command Line, Generating a Random File View Comments

It is very easy to create a random file using the linux command line. Much like the command to fill a file with all zeros, for example a 1 Meg file: dd if=/dev/zero of=zero.filename bs=1024 count=1000 You do the same using /dev/urandom: dd if=/dev/urandom of=random.filename bs=1024 count=1000 Resulting in a 1MB file: 1000+0 records in [...]

What I recently learned about EDID, Windows 7 and nVidia View Comments

EDID stands for Extended display identification data and is what many computer monitors and televisions with a VGA/HDMI use to tell the PC what resolution they support. Which, in theory at least, is great. However what I recently found out is that many LCD and Plasma televisions do not broadcast the correct 16:9 resolution via EDID, [...]