Tag Archives: shell

Cataloging SDHC Cards on Ubuntu using a bash script

I have a lot of SD memory cards. I use them for my Camera, my Raspberry Pi, and for my laptop. They are cheap enough, I get several spares. And it makes it easy to convert my Raspberry Pi into … Continue reading

Posted in Linux, Shell Scripting | Tagged , , , , , , , | 1 Comment

Setting up your Linux environment to support multiple versions of Java

Four ways to change your version of Java Most people just define their JAVA_HOME variable, and rarely change it. If you do want to change it, or perhaps switch between different versions, you have some choices:  Use update-alternatives (Debian systems) … Continue reading

Posted in Linux, Shell Scripting, System Administration | Tagged , , , , , , , | 5 Comments

Generating website navigation using perl, sed, and make

The problem – Site navigation without frames I wanted to add an easy way to navigate to any of my web pages, but I didn’t want to use frames, or break any of the current links. I also have a … Continue reading

Posted in Shell Scripting, Technology | Tagged , , , , , , | 1 Comment

sed and the t character

Dear Grymoire, I am trying to convert a pipe character into a tab. I tried sed y/|/t/ <in>out but it did not work. Instead of a tab, I got a ‘t’.  What did I do wrong? I thought this was … Continue reading

Posted in Shell Scripting | Tagged , , , , , , | 9 Comments