Return a list of all interfaces and currently assigned IP addresses

bash - array traversal example

This script will do as the title to this blogs suggests:-) On it's own this in not much use however, it serves as an example of how to traverse an array in bash, and of course is a snippet you can use within other scripts.

The …

read more | Mon 13 Feb 2006, 18:58 | tags: bash, Linux | 0 comments

Remove underscores from filenames and convert to proper case

I was converting a bunch of CDs to MP3s the other day and after doing around 10 CDs I decided to change the naming convention of the resulting MP3s. The original format was to be all lower case and to replace spaces with underscores:

are_you_the_one_that_ive_been_waiting_for.mp3     <---- By Nick Cave if you …

read more | Mon 30 Jan 2006, 16:41 | tags: bash, Linux | 1 comments