Bash Getopts – Scripts with Command Line Options

May 21, 2014 by · 1 Comment
Filed under: bash, command line, HowTo, linux 

I've always wanted to know how to create command line options for my Bash scripts. After some research I found there are two functions available to handle this; getopt and getopts. I'm not going to get into the debate about which one is better. getopts is a shell builtin and seems a little easier to implement than getopt, so I'll go with that for now.

Read more

How To Create a Linux Mint Persistent Live USB

March 27, 2014 by · 9 Comments
Filed under: HowTo, linux, Linux Mint 

Linux Mint is the most popular Ubuntu based Linux distribution. Some would argue that it's even more popular than Ubuntu itself. Because of its Ubuntu base, Linux Mint shares a lot of the same great features with its parent distribution while offering a more traditional desktop design. One big feature that Linux Mint is missing though is the ability to create a Live USB stick with persistent storage. In this tutorial I'll show how to create a Linux Mint Persistent Live USB drive using UNetbootin and GParted.
Read more

How To Rip a DVD with Mplayer

February 6, 2014 by · Leave a Comment
Filed under: command line, FOSS, HowTo, linux, video 

I run a media server at home to feed music and movies to my LG smart TV (affiliate link). Ripping the family's DVD collection is one of my tasks as the resident computer geek. Normally, Handbrake is my go-to tool for this type of thing, but in this case it was unable to detect the correct title from the DVD structure. In this tutorial I'll show how to rip a DVD on Linux with Mplayer.
Read more