Command Line Basics: head And tail

February 12, 2011 by · 1 Comment
Filed under: command line, HowTo, linux, Ubuntu 

Today I'm going to show you how to use the head and tail commands to view portions of text files. There are, of course, other commands that can be used to view text files. The cat command can be useful for viewing small text files while more and less can be good for larger files. But what if you're only interested in just the beginning or the end of a file? That's where head and tail come in. Read more

Create Your Own QR Codes on Linux

January 30, 2011 by · 6 Comments
Filed under: command line, HowTo, image editing, linux, Ubuntu 

As smart phones are becoming more pervasive, 2D bar codes are starting to appear all over the place. The QR Code format is one of the most commonly used styles of these matrix bar codes. These QR Codes often contain a URL to send a smart phone user to a particular web site, but all kinds of textual information can be embedded in these codes.

Read more

Remove Old Kernels In Ubuntu With One Command

October 2, 2010 by · 75 Comments
Filed under: command line, HowTo, linux, Ubuntu 

A while back I wrote a post on how to remove old kernels from your Ubuntu system. While that process works just fine, it is a four step process. One person who read that post left a comment with a nice command line one-liner that removes all but the currently running kernel. And while that one-liner works quite well, I must admit that I don't understand all the regular expressions used in it, so I decided to try and come up with my own one-liner to remove the old kernels from my system. Read more

Command Line Basics: Ripping Audio CD’s, Part 4

September 26, 2010 by · Leave a Comment
Filed under: command line, HowTo, lame, linux, Ubuntu 

In the previous installments of Command Line Basics: Ripping Audio CD's, I've gone through ripping CD's and saving the files as WAV files, transcoding those files to Ogg Vorbis audio, and finally, querying an online CD database tagging those Ogg files. I the last installment, I promised to show a more automated way to do this. Yes, you could write your own Bash script to automate some of the steps, but as is often the case with Open Source Software, someone else has already done the work for you. Read more

Command Line Basics: Ripping Audio CD’s, Part 3

September 18, 2010 by · 2 Comments
Filed under: command line, HowTo, linux, Ubuntu 

In part 1 of CLB: Ripping Audio CD's, I showed how to rip the songs from your CD and save them as WAV files. In part 2 I showed how to convert those files to Ogg Vorbis audio. Today in Part 3 I'm going to show a few ways to tag those Ogg Vorbis audio files from the command line.

In the last post we used the oggenc command from the vorbis-tools package. We're going to use another command from vorbis-tools to tag the files: vorbiscomment. Read more

« Previous PageNext Page »