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 · 10 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

How To Install screenFetch in Linux

December 31, 2013 by · 1 Comment
Filed under: HowTo, linux, Linux Mint, Ubuntu 

If you've browsed Linux groups on social media, you've probably seen a lot of screenshots that include a terminal window displaying the distribution logo as ASCII art along with some general system information. One program that does this is called Archey. Another is called screenFetch, and that's what I'm going to show you how to install in this post. Read more

Command Line Basics – watch

December 9, 2013 by · 3 Comments
Filed under: bash, command line, HowTo, linux 

There are several log files in a Linux system. Keeping an eye on these log files can be one of the important tasks of a Linux System administrator. You can easily view the end of a log file using the tail command. But if you want to monitor that file all day long it's pretty tedious to enter the tail command every few minutes to check on that log file. You could write a short script  with an infinite loop to check the file periodically, but it turns out that there is already a program to handle repetitive tasks for you. Read more

Next Page »