<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Tux Tweaks</title>
	
	<link>http://tuxtweaks.com</link>
	<description>Linux Tweaks, HowTo's and Reviews</description>
	<lastBuildDate>Wed, 11 Jan 2012 04:58:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/tuxtweaks" /><feedburner:info uri="tuxtweaks" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>tuxtweaks</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/tuxtweaks" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Ftuxtweaks" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>Creating A Terminal Window Clock</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/QSOv5lS4nBw/</link>
		<comments>http://tuxtweaks.com/2012/01/creating-a-terminal-window-clock/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 04:58:08 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[while loop]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1940</guid>
		<description><![CDATA[If you've been using Linux for a while, you may be familiar with the terminal command, date. The date command will display the current date and time to the terminal. On my system, the default output of date looks like this: The output can be adjusted with command line switches to show only the current [...]]]></description>
			<content:encoded><![CDATA[<p>If you've been using Linux for a while, you may be familiar with the terminal command, <em><strong>date</strong></em>. The <strong><em>date</em></strong> command will display the current date and time to the terminal. On my system, the default output of date looks like this:<span id="more-1940"></span></p>
<div class="term">Tue Jan 10 23:23:21 EST 2012</div>
<p>The output can be adjusted with command line switches to show only the current time. The time will be output in the format of the system locale by using the <strong>+%r</strong> switch, so the command will look like this:</p>
<div class="term">date +%r</div>
<p>Which gives the following output on my system:</p>
<div class="term">11:23:22 PM</div>
<p>So now that I can display the current time, I just need to figure out how to continuously update the information in order to create a terminal clock. I'm going to do that by using the <strong><em>echo</em></strong> command to display the output of the <strong><em>date</em></strong> command. By using some options with <strong>echo</strong> so that the output gets over-written, and placing that command in an infinite loop, I can display a simple clock in the terminal.</p>
<p>So here's the command:</p>
<div class="term"><code>clear; while true; do echo -e \\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b`date +%r` \\c ; sleep 1; done</code></div>
<p>Take note of the back-ticks around the <strong><em>date</em></strong> command. That tells the <strong><em>echo</em></strong> command to display the results of the <em><strong>date</strong></em> command. The "\\b" enters a backspace into the command and "\\c" tells <strong><em>echo</em></strong> not to enter a newline character. The number of \\b's needed will depend on the output time display format for your locale, so adjust this up or down as needed.</p>
<p>All in all, it's not that useful as most GUI based systems have a clock build in, but it provides a nice example of using an infinite loop as well as some of the special options available with the <em><strong>echo</strong></em> and <strong><em>date</em></strong> commands.</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/vwo_aLh58GYpMXqrnnLLFi7NRVY/0/da"><img src="http://feedads.g.doubleclick.net/~a/vwo_aLh58GYpMXqrnnLLFi7NRVY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vwo_aLh58GYpMXqrnnLLFi7NRVY/1/da"><img src="http://feedads.g.doubleclick.net/~a/vwo_aLh58GYpMXqrnnLLFi7NRVY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=QSOv5lS4nBw:mAbzjYPr1TI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=QSOv5lS4nBw:mAbzjYPr1TI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=QSOv5lS4nBw:mAbzjYPr1TI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=QSOv5lS4nBw:mAbzjYPr1TI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/QSOv5lS4nBw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2012/01/creating-a-terminal-window-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2012/01/creating-a-terminal-window-clock/</feedburner:origLink></item>
		<item>
		<title>Batch Converting Audio With GStreamer</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/vGbtOTYVL9Q/</link>
		<comments>http://tuxtweaks.com/2011/12/batch-converting-audio-with-gstreamer/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:57:17 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[lame]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[GStreamer]]></category>
		<category><![CDATA[ogg]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1931</guid>
		<description><![CDATA[I recently got a new TV that allows me to stream audio and video from my computer to the TV. I tend to archive music from CD's I've purchased in FLAC format. Unfortunately, FLAC is not one of the formats supported by my TV. I decided to write a little script to convert my music [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got a new TV that allows me to stream audio and video from my computer to the TV. I tend to archive music from CD's I've purchased in FLAC format. Unfortunately, FLAC is not one of the formats supported by my TV. I decided to write a little script to convert my music archive into one of the supported file formats. <span id="more-1931"></span></p>
<p>I've done a few different posts about re-encoding audio files. In my earliest one I showed how to <a title="Re-sample MP3 files with LAME" href="http://tuxtweaks.com/2008/08/how-to-resample-mp3-audio-files-on-linux-using-lame/" target="_blank">re-sample a folder of MP3s to a lower bitrate using LAME</a>. That process had the issue of losing the ID3 tags and required an ugly work around to partially solve the issue. I then some other posts showing how to <a title="Tux Tweaks: GStreamer" href="http://tuxtweaks.com/tag/gstreamer/" target="_blank">convert a few different audio formats using GStreamer</a>, but the process was neither generic or automated. GStreamer, however, does a great job of retaining  ID3 tags and other types of metadata, so it seemed like a good place to start with a new script.</p>
<p>GStreamer also has a great plugin that can determine what type of audio file is being input, so it can be used to make a fairly generic script that can handle most audio file types as input. The following script will convert all audio files in a folder to MP3 format. It will even re-encode/re-sample MP3's to the desired quality level. I've chosen to use variable bitrate encoding, but the GStreamer pipeline could be easily altered to do constant bitrate instead. You can increase or decrease the average bitrate of the output by adjusting the quality parameter in the pipeline.</p>
<div class="term"></p>
<pre>#!/bin/bash

######################################################################
#                                                                    #
# NAME:            conv2mp3                                          #
# AUTHOR:          Linerd (http://tuxtweaks.com)                     #
# LICENSE:         CC BY 3.0                                         #
#                  http://creativecommons.org/licenses/by/3.0/       #
# REQUIRES:        GStreamer, GStreamer plugins (good, bad, ugly),   #
#                  lame                                              #
# VERSION:         1.0                                               #
# DESCRIPTION:     A program to re-encode audio to MP3 using         #
#                  GStreamer. This script will convert all audio     #
#                  files in a directory to MP3 format. The new files #
#                  will be placed in a sub-directory of the same     #
#                  name.                                             #
#                                                                    #
######################################################################

# Create a directory for the MP3 files
FILEDIR=${PWD##*/}
OUTDIR="$FILEDIR"

echo "Directory is: $FILEDIR"

# Check if conversion/resample directory exists and create it if it doesn't.
shopt -s nocasematch   # Make text evaluation case insensitive
if
   test -e $OUTDIR
then
   echo -e  "File/directory \e[4m$OUTDIR\e[0m already exists. Files may be overwritten - continue? (Y/n)"
   read REPLY
   if
     [[ "$REPLY" = "n" ]]
   then
     exit 1
   fi
else
   mkdir -p "$OUTDIR"
fi
shopt -u nocasematch  # Make text evaluation case sensitive again

# Set newline as the field separator
IFS=$'\n'

for FILE in `file * | grep udio | cut -d: -f1 | sed 's: :\\ :g'`; do
  echo "File name is: $FILE"
  NAME=${FILE%.*}  #Get file basename
  echo "Basename is: $NAME"
  EXT=${FILE##*.}  #Get file extension
  echo "Extension is: $EXT"
  echo
  echo "New file is $OUTDIR/$NAME.mp3"
  # GStreamer pipeline - use VBR quality setting. Range allowed 0-10 with
  # 0 being the best quality.
  gst-launch filesrc location="$FILE" ! decodebin2 ! audioconvert ! lamemp3enc target=quality quality=3 ! xingmux ! id3v2mux ! filesink location="./$OUTDIR/$NAME".mp3
done

exit 0</pre>
<p></div>
<p>Save the above script as a file called <strong><em>conv2mp3</em></strong> somewhere in your executable path. I suggest <strong>/home/<em>yourID</em>/bin</strong>. Then you need to make the file executable. You can probably do that with your file manager, or you can do it through the terminal like this:<br />
<div class="term">cd /home/yourID/bin<br />
chmod +x conv2mp3</div></p>
<p>Now you are ready to run the script. Using a terminal, navigate to the directory with the files that you want to convert. Then, just enter the command:<br />
<div class="term">conv2mp3</div></p>
<p>The script will then convert the files to MP3 and place them in a subdirectory with the same name as the one containing your original files. Here's a screen shot of my directory before running <strong>conv2mp3</strong>.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/12/Before_conv2mp3_wm.png" rel="lightbox[1931]"><img class="alignnone size-thumbnail wp-image-1935" title="Before conv2mp3" src="http://tuxtweaks.com/wp-content/uploads/2011/12/Before_conv2mp3_wm-134x150.png" alt="Before conv2mp3" width="134" height="150" /></a></p>
<p>Here's what the same directory looks like after running <strong>conv2mp3</strong>.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/12/After_conv2mp3_wm.png" rel="lightbox[1931]"><img class="alignnone size-thumbnail wp-image-1936" title="After conv2mp3" src="http://tuxtweaks.com/wp-content/uploads/2011/12/After_conv2mp3_wm-133x150.png" alt="After conv2mp3" width="133" height="150" /></a></p>
<p>And here's the subdirectory containing the new MP3 files.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/12/After_conv2mp3_contents_wm.png" rel="lightbox[1931]"><img class="alignnone size-thumbnail wp-image-1937" title="After conv2mp3 subdirectory contents" src="http://tuxtweaks.com/wp-content/uploads/2011/12/After_conv2mp3_contents_wm-133x150.png" alt="After conv2mp3 subdirectory contents" width="133" height="150" /></a></p>
<p>&nbsp;</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/trTab24pJGHbzq3hMeu6cEc6OUA/0/da"><img src="http://feedads.g.doubleclick.net/~a/trTab24pJGHbzq3hMeu6cEc6OUA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/trTab24pJGHbzq3hMeu6cEc6OUA/1/da"><img src="http://feedads.g.doubleclick.net/~a/trTab24pJGHbzq3hMeu6cEc6OUA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=vGbtOTYVL9Q:JWNdk1hrvhw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=vGbtOTYVL9Q:JWNdk1hrvhw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=vGbtOTYVL9Q:JWNdk1hrvhw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=vGbtOTYVL9Q:JWNdk1hrvhw:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/vGbtOTYVL9Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/12/batch-converting-audio-with-gstreamer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/12/batch-converting-audio-with-gstreamer/</feedburner:origLink></item>
		<item>
		<title>Command Line Basics: Create And Extract Tarballs</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/JsmPgO2_lxs/</link>
		<comments>http://tuxtweaks.com/2011/11/command-line-basics-create-and-extract-tarballs/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 02:54:46 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1926</guid>
		<description><![CDATA[In the Linux world, tarball refers to a compressed tar archive file. The most common type uses gzip compression and the file typically ends in tar.gz or .tgz. The tar command itself has its origin in Unix systems where is was used to save files to magnetic tape. The name tar stands for Tape ARchive. [...]]]></description>
			<content:encoded><![CDATA[<p>In the Linux world, <strong>tarball</strong> refers to a compressed <strong>tar archive</strong> file. The most common type uses <strong>gzip</strong> compression and the file typically ends in <strong>tar.gz</strong> or <strong>.tgz</strong>. The tar command itself has its origin in Unix systems where is was used to save files to magnetic tape. The name tar stands for <em><strong>T</strong>ape <strong>AR</strong>chive</em>. <span id="more-1926"></span></p>
<p>The <strong>tarball</strong> is perhaps the most common way for program source code to be packaged for GNU/Linux systems.  The tar file can be used to package several files together in a single archive. That archive file can then be compressed with one of several compression algorithms.</p>
<h2>Create a tarball</h2>
<p>To create a tarball, it's good to have all of the files you want in the package to be contained in a directory. Although this is not necessary, it's convenient when you then go to extract the file later. That way the archive will be extracted to its own directory rather than dumping its contents into the current directory. You can then create a tarball from the command line like this:</p>
<div class="term">tar -cvzf <em>archive</em>.tar.gz <em>directory_to_archive</em></div>
<p>In the above command, <strong>tar</strong> is followed by four command parameters:</p>
<ul>
<li><strong>c</strong>: create an archive</li>
<li><strong>v</strong>: verbose output (list the files that are being processed)</li>
<li><strong>z</strong>: compress the archive with gzip compression</li>
<li><strong>f</strong>: use a file archive instead of tape. The <em><strong>f</strong></em> parameter is immediately followed by the name of the archive file to create, that's why it's the last parameter used.</li>
</ul>
<h2> Extract a tarball</h2>
<p>Extracting a tarball is done in a similar fashion to creating one. First you'll want to place the tarball file in a directory where you would like to extract it. If you would like to inspect the contents of the archive before extracting it, you can do so with this command.</p>
<div class="term">tar -tf <em>archive</em>.tar.gz</div>
<p>The <em><strong>t</strong></em> parameter is what tells <strong>tar</strong> to list the contents of the file.</p>
<p>Once you've got the archive placed in the directory you want it, you can extract it with:</p>
<div class="term">tar -xvzf archive.tar.gz</div>
<p>In the above command, the <em><strong>x</strong></em> parameter is used to tell <strong>tar</strong> to extract the archive. The rest of the parameters have the same meaning as they had when creating an archive.</p>
<h2>More information</h2>
<p>There are many more advanced options available for working with <strong>tar</strong>. You can read the entire manual by viewing the tar manpage.</p>
<div class="term">man tar</div>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/0mNcgDeueYrEEqgIRyHANwfL2pQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/0mNcgDeueYrEEqgIRyHANwfL2pQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0mNcgDeueYrEEqgIRyHANwfL2pQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/0mNcgDeueYrEEqgIRyHANwfL2pQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=JsmPgO2_lxs:YiLPLOjv3Uc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=JsmPgO2_lxs:YiLPLOjv3Uc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=JsmPgO2_lxs:YiLPLOjv3Uc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=JsmPgO2_lxs:YiLPLOjv3Uc:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/JsmPgO2_lxs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/11/command-line-basics-create-and-extract-tarballs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/11/command-line-basics-create-and-extract-tarballs/</feedburner:origLink></item>
		<item>
		<title>Server Move Complete</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/Vs0wLiIV6K8/</link>
		<comments>http://tuxtweaks.com/2011/11/server-move-complete/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 02:40:35 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1921</guid>
		<description><![CDATA[OK, the move to a new server is now complete. Hopefully, having the site on a more powerful server will prevent my account from being suspended due to high server loads. I'm not sure if the site performance will improve at all. Comments are now re-enabled.]]></description>
			<content:encoded><![CDATA[<p>OK, the move to a new server is now complete. Hopefully, having the site on a more powerful server will prevent my account from being suspended due to high server loads. I'm not sure if the site performance will improve at all.</p>
<p>Comments are now re-enabled.</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/FtwJYMyrgHy4RZRM4NPpy4pbp-w/0/da"><img src="http://feedads.g.doubleclick.net/~a/FtwJYMyrgHy4RZRM4NPpy4pbp-w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FtwJYMyrgHy4RZRM4NPpy4pbp-w/1/da"><img src="http://feedads.g.doubleclick.net/~a/FtwJYMyrgHy4RZRM4NPpy4pbp-w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Vs0wLiIV6K8:titcliYIFag:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Vs0wLiIV6K8:titcliYIFag:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Vs0wLiIV6K8:titcliYIFag:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Vs0wLiIV6K8:titcliYIFag:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/Vs0wLiIV6K8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/11/server-move-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/11/server-move-complete/</feedburner:origLink></item>
		<item>
		<title>Comments Temporarily Disabled</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/5BDR-aU9oaA/</link>
		<comments>http://tuxtweaks.com/2011/10/comments-temporarily-disabled/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 18:55:45 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1878</guid>
		<description><![CDATA[The site is currently being migrated to a new server. I'm turning off comments until the migration is complete so nothing gets missed.]]></description>
			<content:encoded><![CDATA[<p>The site is currently being migrated to a new server. I'm turning off comments until the migration is complete so nothing gets missed.</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/7tl7zDeXhTwhRkY_MyHtzLEJ23c/0/da"><img src="http://feedads.g.doubleclick.net/~a/7tl7zDeXhTwhRkY_MyHtzLEJ23c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7tl7zDeXhTwhRkY_MyHtzLEJ23c/1/da"><img src="http://feedads.g.doubleclick.net/~a/7tl7zDeXhTwhRkY_MyHtzLEJ23c/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=5BDR-aU9oaA:pkuctvuUe74:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=5BDR-aU9oaA:pkuctvuUe74:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=5BDR-aU9oaA:pkuctvuUe74:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=5BDR-aU9oaA:pkuctvuUe74:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/5BDR-aU9oaA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/10/comments-temporarily-disabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/10/comments-temporarily-disabled/</feedburner:origLink></item>
		<item>
		<title>Install LAMP and phpMyAdmin on Ubuntu 11.10</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/L-tb0WLluiM/</link>
		<comments>http://tuxtweaks.com/2011/10/install-lamp-and-phpmyadmin-on-ubuntu-11-10/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 00:11:38 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1850</guid>
		<description><![CDATA[LAMP stands for Linux, Apache, MySQL, and php, (or Perl). It's one of the most popular web hosting platforms. If you're developing websites, it's good to have your own private development environment to use while you build and test your websites. This post will show you how to set up a web development environment on [...]]]></description>
			<content:encoded><![CDATA[<p><strong>LAMP</strong> stands for <strong>Linux, Apache, MySQL</strong>, and <strong>php</strong>, (or <strong>Perl</strong>). It's one of the most popular web hosting platforms. If you're developing websites, it's good to have your own private development environment to use while you build and test your websites. This post will show you how to set up a web development environment on <strong>Ubuntu 11.10 Oneiric Ocelot</strong> to use for testing. It can also be used to set up LAMP on a <strong>Virtual Private Server (VPS)</strong> or a <strong>Dedicated Server</strong>, but please note that this post does not cover setting up proper security for serving content to the internet.<span id="more-1850"></span></p>
<h2>Install LAMP</h2>
<p>The Ubuntu development team has made it very easy to install and set up a web server. Open a terminal window and enter the following command.</p>
<div class="term">sudo apt-get install lamp-server^</div>
<p>Please enter the command exactly as it's shown above. The carat (^) is not a typo and the command will not work without it.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-01_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1854" title="Command to install LAMP" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-01_wm-150x96.png" alt="Command to install LAMP" width="150" height="96" /></a></p>
<p>If prompted, enter your password.</p>
<p>The package manager will now display a list of packages to be installed. Hit &lt;Enter&gt; to confirm that you want to go ahead with the install.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-02_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1855" title="Installing LAMP packages" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-02_wm-150x96.png" alt="Installing LAMP packages" width="150" height="96" /></a></p>
<p>Apt will now start downloading and installing the packages on your computer.</p>
<p>After a short wait, you will be prompted to set a password for MySQL's administrative user. Enter a password at the prompt and make sure it's something you will remember or make a note of it.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-04_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1856" title="MySQL password" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-04_wm-150x96.png" alt="MySQL password" width="150" height="96" /></a></p>
<p>You will then be prompted to confirm your password.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-05_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1857" title="Confirm MySQL password" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-05_wm-150x96.png" alt="Confirm MySQL password" width="150" height="96" /></a></p>
<p>Type in the same password and hit <strong>&lt;Enter&gt;</strong>. The package manager will now continue downloading and installing packages. After a short wait the installation will complete.</p>
<h2>Testing Apache</h2>
<p>Now we'll run a quick test to make sure that the <strong>Apache web server</strong> is working. Open a web browser and enter the address <a href="http://localhost/" target="_blank">http://localhost/</a>. You should see a page that says "It Works!"</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-06_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1858" title="Testing Apache installation" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-06_wm-150x114.png" alt="Testing Apache installation" width="150" height="114" /></a></p>
<h2>Testing php</h2>
<p>Now that we've verified that <strong>Apache</strong> works, we need to verify that <strong>php</strong> is working properly. We're going to create a file in the <em><strong>/var/www</strong></em> directory called <em><strong>testing.php</strong></em>. Enter the following command in the terminal to create the file.</p>
<div class="term">echo "&lt;?php phpinfo(); ?&gt;" | sudo tee /var/www/testing.php</div>
<p>Enter your password if prompted.</p>
<p>Now you'll need to restart the Apache web server. Enter into the terminal:</p>
<div class="term">sudo service apache2 restart</div>
<p>Now open your web browser and enter the following address: <a href="http://localhost/testing.php" target="_blank">http://localhost/testing.php</a></p>
<p>You should see a web page that displays a bunch of information about your <strong>php</strong> and <strong>Apache</strong> environment.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-07_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1859" title="Testing php" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-07_wm-148x150.png" alt="Testing php" width="148" height="150" /></a></p>
<h2>Configure MySQL</h2>
<p>Since this is for a local development environment, the <strong>MySQL</strong> database needs to be bound to the localhost IP address. This should be <strong>127.0.0.1</strong> by default. You can verify your localhost address with the following terminal command.</p>
<div class="term">cat /etc/hosts | grep localhost</div>
<p>You should see output something like this:</p>
<div class="term">
<pre>127.0.0.1    localhost
::1     ip6-localhost ip6-loopback</pre>
<p></div>
<p>Now you need to verify that this address is the bind address MySQL's my.cnf file. Use the following terminal command.</p>
<div class="term">cat /etc/mysql/my.cnf | grep bind-address</div>
<p>You should see output like this.</p>
<div class="term">
<pre>bind-address        = 127.0.0.1</pre>
<p></div>
<p>If it's not correct you'll need to edit <em><strong>/etc/mysql/my.cnf</strong></em> as root to fix it.</p>
<h2>Install phpMyAdmin</h2>
<p>You now have a functioning <strong>LAMP</strong> installation. You don't need to install <strong>phpMyAdmin</strong>, but it provides a much easier way to administer your <strong>MySQL</strong> databases if you're not familiar with MySQL's commands. You can install <strong>phpMyAdmin</strong> with:</p>
<div class="term">sudo apt-get install libapache2-mod-auth-mysql phpmyadmin</div>
<p>Enter your password if prompted.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-08_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1860" title="Installing phpMyAdmin" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-08_wm-150x96.png" alt="Installing phpMyAdmin" width="150" height="96" /></a></p>
<p>Again the package manger will show you the packages it's about to install. Hit <strong>&lt;Enter&gt;</strong> to move forward with the installation.</p>
<p>The package manager will now begin downloading and installing packages. After a short wait you will be prompted to choose the <strong>web server</strong> to configure for <strong>phpMyAdmin</strong>. Hit <strong>&lt;Space&gt;</strong> to mark <strong>apache2</strong> with an asterisk (*) as it's shown in the following picture (click on the image to see it in full size). Then hit <strong>&lt;Enter&gt;</strong>.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-09_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1861" title="Select apache2" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-09_wm-150x96.png" alt="Select apache2" width="150" height="96" /></a></p>
<p>The next screen will ask about some automatic database configuration with <strong>dbconfig-common</strong>. Hit <strong>&lt;Enter&gt;</strong> to accept the default and move on.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-10_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1862" title="Configure phpMyAdmin with dbconfig-common" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-10_wm-150x96.png" alt="Configure phpMyAdmin with dbconfig-common" width="150" height="96" /></a></p>
<p>Next you'll be prompted for the <strong>MySQL</strong> administrator password. Enter the password that your created earlier.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-11_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1863" title="Enter MySQL administrator password" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-11_wm-150x96.png" alt="Enter MySQL administrator password" width="150" height="96" /></a></p>
<p>Now you'll be prompted for a MySQL application password. You can allow the system to generate a random password or choose your own.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-12_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1864" title="Enter MySQL application password" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-12_wm-150x96.png" alt="Enter MySQL application password" width="150" height="96" /></a></p>
<p>If you choose your own password, you will be prompted to verify it at the next screen.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-13_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1865" title="Verify MySQL application password" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-13_wm-150x96.png" alt="Verify MySQL application password" width="150" height="96" /></a></p>
<p>Your <strong>phpMyAdmin</strong> installation and configuration is now complete.</p>
<h2>Testing phpMyAdmin</h2>
<p>Open your web browser and enter the address <a href="http://localhost/phpmyadmin/" target="_blank">http://localhost/phpmyadmin/</a>.</p>
<p>You should see a page like this.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-14_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1866" title="phpMyAdmin login screen" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-14_wm-150x146.png" alt="phpMyAdmin login screen" width="150" height="146" /></a></p>
<p>Now log in with the user name <em><strong>root</strong></em> and the password that you created earlier in the tutorial.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-15_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1868" title="phpMyAdmin Home screen" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-15_wm-150x148.png" alt="phpMyAdmin Home screen" width="150" height="148" /></a></p>
<p>Congratulations, you now have a working web development environment set up on Ubuntu 11.10. You can place the files for your website under <em><strong>/var/www</strong></em>. Note that this location is owned by the <strong>root</strong> user, so you'll need to copy your files over as root for it to work. Otherwise, you can do some further <a title="Configure Apache Web Server on Linux" href="http://tuxtweaks.com/2009/07/how-to-configure-apache-linux/" target="_blank">Apache configuration</a> so you can place the files for your website in a directory somewhere under your home directory.</p>
<h2>Fixing some common problems</h2>
<h3>Fixing phpMyAdmin</h3>
<p>One common error that some people make is that they forget to mark <strong>apache2</strong> during the <strong>phpMyAdmin</strong> configuration. When this happens you'll get a <strong>404 Not Found error</strong> when trying to navigate to http://localhost/phpmyadmin/.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/problem-01_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1869" title="phpMyAdmin Not Found" src="http://tuxtweaks.com/wp-content/uploads/2011/10/problem-01_wm-150x131.png" alt="phpMyAdmin Not Found" width="150" height="131" /></a></p>
<p>If this happens, enter the following terminal command.</p>
<div class="term">sudo dpkg-reconfigure phpmyadmin</div>
<p>You will be prompted about reinstalling the database. Accept the default of <strong>"No"</strong> and hit <strong>&lt;Enter&gt;</strong>.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/problem-02_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1870" title="Don't reinstall phpMyAdmin database" src="http://tuxtweaks.com/wp-content/uploads/2011/10/problem-02_wm-150x96.png" alt="Don't reinstall phpMyAdmin database" width="150" height="96" /></a></p>
<p>Make sure to then mark <strong>apache2</strong> by having the cursor next to <strong>apache</strong>2 and then hitting <strong>&lt;Space&gt;</strong> to mark it with a<strong> *</strong>, then hit <strong>&lt;Enter&gt;</strong>.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/phpmyadmin_wm.png" rel="lightbox[1850]"><img class="alignnone size-full wp-image-1871" title="Reconfigure phpMyAdmin for Apache" src="http://tuxtweaks.com/wp-content/uploads/2011/10/phpmyadmin_wm.png" alt="Reconfigure phpMyAdmin for Apache" width="397" height="241" /></a></p>
<p>You will then need to reload <strong>Apache</strong>.</p>
<div class="term">sudo service apache2 reload</div>
<p>You should now be able to load <a href="http://localhost/phpmyadmin/" target="_blank">http://localhost/phpmyadmin/</a>. If you're still seeing the <strong>404 Not Found error</strong>, then you will need to <strong>clear your web browser cache</strong> and try again.</p>
<p><a href="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-14_wm.png" rel="lightbox[1850]"><img class="alignnone size-thumbnail wp-image-1866" title="phpMyAdmin login screen" src="http://tuxtweaks.com/wp-content/uploads/2011/10/lamp-14_wm-150x146.png" alt="phpMyAdmin login screen" width="150" height="146" /></a></p>
<h3>Fixing the Apache fully qualified domain name</h3>
<p>During the above steps you may have seen an error message like this when reloading <strong>Apache</strong>.</p>
<div class="term">
<pre>apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName</pre>
<p></div>
<p>This doesn't seem to cause any problems for me, but if you don't like seeing that error, you can fix it with this command.</p>
<div class="term">echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn</div>
<p>Then reload <strong>Apache</strong> with</p>
<div class="term">sudo service apache2 reload</div>
<p>Enjoy your new web development environment!</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/5Az3S9YndPE_ZwV6zABGAwKtzDg/0/da"><img src="http://feedads.g.doubleclick.net/~a/5Az3S9YndPE_ZwV6zABGAwKtzDg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5Az3S9YndPE_ZwV6zABGAwKtzDg/1/da"><img src="http://feedads.g.doubleclick.net/~a/5Az3S9YndPE_ZwV6zABGAwKtzDg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=L-tb0WLluiM:zC0krb8u58w:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=L-tb0WLluiM:zC0krb8u58w:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=L-tb0WLluiM:zC0krb8u58w:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=L-tb0WLluiM:zC0krb8u58w:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/L-tb0WLluiM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/10/install-lamp-and-phpmyadmin-on-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/10/install-lamp-and-phpmyadmin-on-ubuntu-11-10/</feedburner:origLink></item>
		<item>
		<title>Command Line Basics: Finding Files</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/SAfjlAcmwsQ/</link>
		<comments>http://tuxtweaks.com/2011/10/command-line-basics-finding-files/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 04:34:00 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1838</guid>
		<description><![CDATA[In today's post I'm going to show how to use the command line find program to search for files. There are certainly different GUI tools available in Linux, such as Beagle, to search for files. The advantage of many of these systems is that they index the files on your system so that the searching [...]]]></description>
			<content:encoded><![CDATA[<p>In today's post I'm going to show how to use the command line <strong><em>find</em></strong> program to search for files. There are certainly different GUI tools available in Linux, such as Beagle, to search for files. The advantage of many of these systems is that they index the files on your system so that the searching is rather fast. The disadvantage is that the indexing can often slow down system performance, so many users end up disabling it. There's also the situation where you might not have access to a GUI, like when you're logged in to your web hosting server through <strong>ssh</strong>. <span id="more-1838"></span></p>
<p>I'm going show the most basic use case for <strong><em>find</em></strong>: a search based on file name. In this form, the <strong><em>find</em></strong> command will be followed by a path telling where you want to search. You will then include the <em>-name</em> switch and specify a name pattern to match or a complete file name. If you use special characters in your pattern, like *, make sure to enclose them in single or double quotes. So the command is going to take the following form:</p>
<div class="term">find {path} -name {name pattern to match}</div>
<p>For the first example I'll show how to search for files with a .txt extension in your current directory and below. This command uses the built-in shortcut "." to specify the current directory.</p>
<div class="term">find . -name '*.txt'</div>
<p>Now you'll notice that the above command found all files with names that end in .txt in the current directory and all subdirectories. If you would like to limit the output to not include subdirectories, use the -<em>maxdepth</em> option.</p>
<div class="term">find . -maxdepth 1 -name '*.txt'</div>
<p>Both of the above commands will find files that end in .txt, but not .TXT. If you'd like to find both, use the -<em>iname</em> switch instead of the -name switch.</p>
<p>There are many more options available with the <strong>find</strong> command. You can check it all out in the manual page.</p>
<div class="term">man find</div>
<p>As you can see, it's a powerful tool, but its true power really comes through when you want to perform a function on several files at once. You can use <strong>find</strong> to generate a list of files and then <a title="Command Line Basics: Pipelining Output" href="http://tuxtweaks.com/2009/09/command-line-basics-pipelining-output/" target="_blank">pipeline the output</a> to another command to operate on those files.</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/ZBP8QsR_opf5OJM7rWTvt8yZ8is/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZBP8QsR_opf5OJM7rWTvt8yZ8is/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZBP8QsR_opf5OJM7rWTvt8yZ8is/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZBP8QsR_opf5OJM7rWTvt8yZ8is/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=SAfjlAcmwsQ:hOPJh9H2Bes:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=SAfjlAcmwsQ:hOPJh9H2Bes:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=SAfjlAcmwsQ:hOPJh9H2Bes:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=SAfjlAcmwsQ:hOPJh9H2Bes:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/SAfjlAcmwsQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/10/command-line-basics-finding-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/10/command-line-basics-finding-files/</feedburner:origLink></item>
		<item>
		<title>Remove Old Package Configuration Files in Ubuntu</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/Ajbm1Ufw4Ys/</link>
		<comments>http://tuxtweaks.com/2011/09/remove-old-package-configuration-files-in-ubuntu/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 03:35:55 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[package management]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1834</guid>
		<description><![CDATA[Many software packages in Ubuntu come along with a package configuration file. These files are used to control various settings for their particular package. In most cases, there is no reason to keep these files around after you've removed a package from you system. They get removed from your system along with the software package [...]]]></description>
			<content:encoded><![CDATA[<p>Many software packages in Ubuntu come along with a package configuration file. These files are used to control various settings for their particular package. In most cases, there is no reason to keep these files around after you've removed a package from you system. They get removed from your system along with the software package if you happen to use the <em><strong>apt-get purge</strong></em> command or if you mark it for "Complete Removal" in Synaptic. But what if you didn't do that when you removed the package? <span id="more-1834"></span></p>
<p>One thing you can do is reinstall the package and then purge it from your system, but there's got to be a better way. Well, it turns out that you can use the <strong><em>dpkg</em></strong> command to do the job. You actually use <strong><em>dpkg</em></strong> twice: once to find the orphaned configuration files, and again to actually remove the files. The following command has been tested on Ubuntu 10.04 and 10.10, but it should work on any Debian or Ubuntu based Linux distribution.</p>
<div class="term">dpkg -l | awk '/^rc/{ print $2}' | sudo xargs dpkg --purge</div>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/fH2noBNFWvxrphIkoiFDYqHeklY/0/da"><img src="http://feedads.g.doubleclick.net/~a/fH2noBNFWvxrphIkoiFDYqHeklY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/fH2noBNFWvxrphIkoiFDYqHeklY/1/da"><img src="http://feedads.g.doubleclick.net/~a/fH2noBNFWvxrphIkoiFDYqHeklY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Ajbm1Ufw4Ys:kBe2maj5s_U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Ajbm1Ufw4Ys:kBe2maj5s_U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=Ajbm1Ufw4Ys:kBe2maj5s_U:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=Ajbm1Ufw4Ys:kBe2maj5s_U:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/Ajbm1Ufw4Ys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/09/remove-old-package-configuration-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/09/remove-old-package-configuration-files-in-ubuntu/</feedburner:origLink></item>
		<item>
		<title>View Your Linux Distro Version From The Command Line</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/s8DkdDBz-Vk/</link>
		<comments>http://tuxtweaks.com/2011/09/view-your-linux-distro-version-from-the-command-line/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 03:13:06 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1828</guid>
		<description><![CDATA[Many different Linux distributions will display their version information in one place or another in the GUI. If you need to pull this information quickly, it may just be easier to open a terminal window and find it from the command line. You can view your distro's version information with the lsb_release command. To view [...]]]></description>
			<content:encoded><![CDATA[<p>Many different Linux distributions will display their version information in one place or another in the GUI. If you need to pull this information quickly, it may just be easier to open a terminal window and find it from the command line. <span id="more-1828"></span></p>
<p>You can view your distro's version information with the <strong><em>lsb_release</em></strong> command. To view all of the information available, use the <em><strong>-a</strong></em> switch.</p>
<div class="term">lsb_release -a</div>
<p>This yields the following information when run on my netbook:</p>
<div class="term"></p>
<pre>No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick</pre>
<p></div>
<p>You can eliminate the field names by adding the <em><strong>-s</strong></em> switch for short output.</p>
<div class="term">lsb_release -as</div>
<p>Which gives this as output:</p>
<div class="term"></p>
<pre>No LSB modules are available.
Ubuntu
Ubuntu 10.10
10.10
maverick</pre>
<p></div>
<p>Each field can also be extracted with its own switch as well;</p>
<ul>
<li>-i for Distributor's ID</li>
<li>-d for Description</li>
<li>-r for Release</li>
<li>-c for Codename</li>
</ul>
<p>For more information, check out the manual page for lsb_release.</p>
<div class="term">man lsb_release</div>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/489OxXY31uV7pXzKXGoBGB_z88w/0/da"><img src="http://feedads.g.doubleclick.net/~a/489OxXY31uV7pXzKXGoBGB_z88w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/489OxXY31uV7pXzKXGoBGB_z88w/1/da"><img src="http://feedads.g.doubleclick.net/~a/489OxXY31uV7pXzKXGoBGB_z88w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=s8DkdDBz-Vk:Mc64nETbeq4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=s8DkdDBz-Vk:Mc64nETbeq4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=s8DkdDBz-Vk:Mc64nETbeq4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=s8DkdDBz-Vk:Mc64nETbeq4:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/s8DkdDBz-Vk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/09/view-your-linux-distro-version-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/09/view-your-linux-distro-version-from-the-command-line/</feedburner:origLink></item>
		<item>
		<title>Get A Free Digital Issue Of Linux Journal</title>
		<link>http://feedproxy.google.com/~r/tuxtweaks/~3/LBlVF0jYNu0/</link>
		<comments>http://tuxtweaks.com/2011/08/get-a-free-digital-issue-of-linux-journal/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 03:12:24 +0000</pubDate>
		<dc:creator>Linerd</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Linux Journal]]></category>

		<guid isPermaLink="false">http://tuxtweaks.com/?p=1823</guid>
		<description><![CDATA[I've been subscribing to Linux Journal for a few years. Today I was disappointed to find out that they are discontinuing their print edition and they are going digital only. Maybe I'm old fashioned, but I like the fact that I can hold a magazine in my hands and flip through the pages without having [...]]]></description>
			<content:encoded><![CDATA[<p>I've been subscribing to <em>Linux Journal</em> for a few years. Today I was disappointed to find out that they are discontinuing their print edition and they are going digital only. Maybe I'm old fashioned, but I like the fact that I can hold a magazine in my hands and flip through the pages without having to boot my computer or worry about running out of battery power. <span id="more-1823"></span></p>
<p>From the email sent to subscribers:</p>
<blockquote><p>We understand that many readers still prefer hard-copy magazines. But, we also have seen many long-standing, excellent publications either come to an end or grow very thin due to drastic increases in printing costs and decreases in print advertising budgets. We don't want either of those things to happen to <em>Linux Journal</em>, and we are making this change so we can continue delivering the quality content our readers enjoy. We have a core readership that has stuck with us -- and stuck with Linux -- for a generation. You, our readers, are at the very heart of Linux, and always have been. We want to keep that heart beating.</p></blockquote>
<p>Oh well, I guess I'm not going to change their mind on this. <em>Linux Journal</em> is a great magazine for Linux enthusiasts and professionals alike. If you've never read it, now is your chance to check it out for free. As part of their digital only roll out, <em>Linux Journal</em> has made the September 2011 digital issue free. Hit the following link to view the <a title="Linux Journal - September, 2011" href="http://www.linuxjournaldigital.com/linuxjournal/201109#pg1" target="_blank">September 2011 issue of <em>Linux Journal</em></a>.</p>
<p>I think you'll find it to be a quality publication.</p>
<div style='clear:both'></div>
<p><a href="http://feedads.g.doubleclick.net/~a/_Rjj7GyDUdz-6KSfDrTI4CzKcVk/0/da"><img src="http://feedads.g.doubleclick.net/~a/_Rjj7GyDUdz-6KSfDrTI4CzKcVk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_Rjj7GyDUdz-6KSfDrTI4CzKcVk/1/da"><img src="http://feedads.g.doubleclick.net/~a/_Rjj7GyDUdz-6KSfDrTI4CzKcVk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=LBlVF0jYNu0:QAGKlF2MeUA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=LBlVF0jYNu0:QAGKlF2MeUA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?i=LBlVF0jYNu0:QAGKlF2MeUA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tuxtweaks?a=LBlVF0jYNu0:QAGKlF2MeUA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/tuxtweaks?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tuxtweaks/~4/LBlVF0jYNu0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tuxtweaks.com/2011/08/get-a-free-digital-issue-of-linux-journal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://tuxtweaks.com/2011/08/get-a-free-digital-issue-of-linux-journal/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.210 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-01-11 23:18:20 -->

