<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>WiredRevolution.com &#187; remove</title>
	<atom:link href="http://www.wiredrevolution.com/tag/remove/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Remove the envelope icon from the Gnome indicator applet</title>
		<link>http://www.wiredrevolution.com/ubuntu/remove-the-envelope-icon-from-the-gnome-indicator-applet?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-the-envelope-icon-from-the-gnome-indicator-applet</link>
		<comments>http://www.wiredrevolution.com/ubuntu/remove-the-envelope-icon-from-the-gnome-indicator-applet#comments</comments>
		<pubDate>Tue, 07 Dec 2010 19:09:31 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[empathy]]></category>
		<category><![CDATA[envelope]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[indicator applet]]></category>
		<category><![CDATA[indicator-messages]]></category>
		<category><![CDATA[purge]]></category>
		<category><![CDATA[remove]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1326</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>In Ubuntu it can be difficult to customize the indicator applet which by default contains the sound, battery, Bluetooth, and empathy icons. If you don&#8217;t use empathy and want to remove the icon there is no simple option to change. Since this is a default indicator icon you must completely remove the indicator-messages package to [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-gnome-shell-in-ubuntu-10-10-maverick' rel='bookmark' title='Permanent Link: Install GNOME Shell in Ubuntu 10.10 Maverick'>Install GNOME Shell in Ubuntu 10.10 Maverick</a></li>
<li><a href='http://www.wiredrevolution.com/linux-news/gnome-3-featuring-gnome-shell-is-released' rel='bookmark' title='Permanent Link: GNOME 3 Featuring Gnome Shell is Released'>GNOME 3 Featuring Gnome Shell is Released</a></li>
<li><a href='http://www.wiredrevolution.com/gnome/fix-alt-tab-task-switching-in-gnome-shell' rel='bookmark' title='Permanent Link: Fix Alt Tab task switching in GNOME Shell'>Fix Alt Tab task switching in GNOME Shell</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>In Ubuntu it can be difficult to customize the indicator applet which by default contains the sound, battery, Bluetooth, and empathy icons. </p>
<p>If you don&#8217;t use empathy and want to remove the icon there is no simple option to change. Since this is a default indicator icon you must completely remove the indicator-messages package to make it disappear.</p>
<p><code>$ sudo apt-get purge indicator-messages</code></p>
<p>Once you have removed the package you can log out and back into your account to see the changes take effect. Alternatively you can remove the indicator-applet and then add it back to the Gnome panel.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-gnome-shell-in-ubuntu-10-10-maverick' rel='bookmark' title='Permanent Link: Install GNOME Shell in Ubuntu 10.10 Maverick'>Install GNOME Shell in Ubuntu 10.10 Maverick</a></li>
<li><a href='http://www.wiredrevolution.com/linux-news/gnome-3-featuring-gnome-shell-is-released' rel='bookmark' title='Permanent Link: GNOME 3 Featuring Gnome Shell is Released'>GNOME 3 Featuring Gnome Shell is Released</a></li>
<li><a href='http://www.wiredrevolution.com/gnome/fix-alt-tab-task-switching-in-gnome-shell' rel='bookmark' title='Permanent Link: Fix Alt Tab task switching in GNOME Shell'>Fix Alt Tab task switching in GNOME Shell</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/remove-the-envelope-icon-from-the-gnome-indicator-applet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert text files within a directory from Windows to Unix format</title>
		<link>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=convert-text-files-within-a-directory-from-windows-to-unix-format</link>
		<comments>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format#comments</comments>
		<pubDate>Wed, 07 Jan 2009 14:14:33 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[carriage return]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[CRLF]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tr]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=901</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/>When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters. I have explained how to [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr' rel='bookmark' title='Permanent Link: Remove Windows carriage returns with tr'>Remove Windows carriage returns with tr</a></li>
<li><a href='http://www.wiredrevolution.com/commands/convert-pdf-file-to-text-with-pdftotext' rel='bookmark' title='Permanent Link: Convert PDF file to text with pdftotext'>Convert PDF file to text with pdftotext</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/convert-a-relative-path-to-absolute-path-in-bash' rel='bookmark' title='Permanent Link: Convert a relative path to absolute path in BASH'>Convert a relative path to absolute path in BASH</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/><p>When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters.</p>
<p>I have explained how to <a href="http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr">use the tr command remove these windows carriage returns</a>, but when you have a large amount of files to convert this can become tedious. As a solution to this I have written a BASH script to convert all text files within a directory.</p>
<pre>
#!/bin/bash

for file in /directory/to/convert/*
do
  if [[ -f $file &#038;&#038; `file $file | grep text` ]]
  then
    tr -d '\r' < $file > "$file"_clear
    mv "$file"_clear $file
  fi
done
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr' rel='bookmark' title='Permanent Link: Remove Windows carriage returns with tr'>Remove Windows carriage returns with tr</a></li>
<li><a href='http://www.wiredrevolution.com/commands/convert-pdf-file-to-text-with-pdftotext' rel='bookmark' title='Permanent Link: Convert PDF file to text with pdftotext'>Convert PDF file to text with pdftotext</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/convert-a-relative-path-to-absolute-path-in-bash' rel='bookmark' title='Permanent Link: Convert a relative path to absolute path in BASH'>Convert a relative path to absolute path in BASH</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove Windows carriage returns with tr</title>
		<link>http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-windows-carriage-returns-with-tr</link>
		<comments>http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr#comments</comments>
		<pubDate>Sun, 30 Nov 2008 15:46:17 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[carriage return]]></category>
		<category><![CDATA[CRLF]]></category>
		<category><![CDATA[dos2unix]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tr]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=794</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>The end of a line in a UNIX text file is designated with the newline character. In Windows, a line ends with both newline and carriage return ASCII characters. If a file is saved in Windows and then moved to a Linux system these carriage returns can cause all sorts of problems. If the text [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format' rel='bookmark' title='Permanent Link: Convert text files within a directory from Windows to Unix format'>Convert text files within a directory from Windows to Unix format</a></li>
<li><a href='http://www.wiredrevolution.com/commands/display-the-first-part-of-a-file-with-head' rel='bookmark' title='Permanent Link: Display the first part of a file with head'>Display the first part of a file with head</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/creating-a-windows-boot-disk-with-a-linux-machine' rel='bookmark' title='Permanent Link: Creating a Windows Boot Disk with a Linux Machine'>Creating a Windows Boot Disk with a Linux Machine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>The end of a line in a UNIX text file is designated with the newline character. In Windows, a line ends with both newline and carriage return ASCII characters. If a file is saved in Windows and then moved to a Linux system these carriage returns can cause all sorts of problems. If the text file is a BASH script for example it will not run correctly since it doesn&#8217;t know how to interpret these characters.</p>
<p>You can verify that a text file has these Windows carriage returns by running the <strong>cat</strong> command with the <strong>&#8216;-v</strong>&#8216; option which shows the non-printing characters.</p>
<pre>
$ cat -v inputfile | head
</pre>
<pre>
first line^M
second line^M
</pre>
<p>You can see the carriage return characters, &#8220;<strong>^M</strong>&#8221; (Cntl-M). </p>
<p>CRLF = Carriage Return Line Feed</p>
<p>There are various was to remove these carriage returns. You can use the <strong>dos2unix</strong> command but this is rarely installed by default on a a Linux system. The easiest way then is to use the &#8220;<strong>tr</strong>&#8221; command utility which always comes standard.</p>
<p>The command uses the <strong>tr</strong> command which translates and removes characters. This will remove the carriage return characters.</p>
<pre>
$ tr -d '\r' < inputfile > outputfile
</pre>
<p>You can verify they are really gone by running the same cat command again.</p>
<pre>
$ cat -v outputfile | head
</pre>
<pre>
first line
second line
</pre>
<p>You can also run the file command.</p>
<pre>
$ file inputfile
</pre>
<pre>
inputfile:             ASCII text
</pre>
<p>Optionally you can now overwrite the original file.</p>
<pre>
$ mv outputfile inputfile
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format' rel='bookmark' title='Permanent Link: Convert text files within a directory from Windows to Unix format'>Convert text files within a directory from Windows to Unix format</a></li>
<li><a href='http://www.wiredrevolution.com/commands/display-the-first-part-of-a-file-with-head' rel='bookmark' title='Permanent Link: Display the first part of a file with head'>Display the first part of a file with head</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/creating-a-windows-boot-disk-with-a-linux-machine' rel='bookmark' title='Permanent Link: Creating a Windows Boot Disk with a Linux Machine'>Creating a Windows Boot Disk with a Linux Machine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/remove-windows-carriage-returns-with-tr/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RPM Cheat Sheet</title>
		<link>http://www.wiredrevolution.com/red-hat/rpm-cheat-sheet?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rpm-cheat-sheet</link>
		<comments>http://www.wiredrevolution.com/red-hat/rpm-cheat-sheet#comments</comments>
		<pubDate>Thu, 23 Oct 2008 05:07:10 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[red hat]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=479</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/redhat_icon.png" width="80" height="88" alt="" title="red hat" /><br/>RPM stands for Red Hat Package Manager. There are a variety of distributions besides Red Hat that use RPM to manage packages including Fedora, Mandriva, SUSE, CentOS, and Yellow Dog Linux among others. RPM uses a database to keep track of what packages have been installed on the system and where they are located. This [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/gnome-shell-keyboard-shortcut-cheat-sheet' rel='bookmark' title='Permanent Link: GNOME Shell Keyboard Shortcut Cheat Sheet'>GNOME Shell Keyboard Shortcut Cheat Sheet</a></li>
<li><a href='http://www.wiredrevolution.com/red-hat/install-ffmpeg-on-rhel-5-or-centos-5' rel='bookmark' title='Permanent Link: Install FFmpeg on RHEL 5 or CentOS 5'>Install FFmpeg on RHEL 5 or CentOS 5</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/redhat_icon.png" width="80" height="88" alt="" title="red hat" /><br/><p>RPM stands for Red Hat Package Manager. There are a variety of distributions besides Red Hat that use RPM to manage packages including Fedora, Mandriva, SUSE, CentOS, and Yellow Dog Linux among others. RPM uses a database to keep track of what packages have been installed on the system and where they are located. This functionality allows you to easily query, install, upgrade, and remove packages from your system.</p>
<p>RPM packages are distributed in the following format &#8220;<strong>&lt;package&gt;.&lt;version&gt;.&lt;architecture&gt;.rpm</strong>&#8221;</p>
<p>Check the package information.<br />
<code>$ rpm -qi mypackage.1.2.3.x86_64.rpm</code></p>
<p>List the files that will be installed.<br />
<code>$ rpm -ql mypackage.1.2.3.x86_64.rpm</code></p>
<p>Install an RPM package with the &#8216;<strong>-i</strong>&#8216; option.<br />
<code>$ rpm -i mypackage.1.2.3.x86_64.rpm</code></p>
<p>Upgrade a package that is already installed.<br />
<code>$ rpm -U mypackage.2.0.0.x86_64.rpm</code></p>
<p>Remove a package. You only need to provide the package name and not the version or rpm suffix.<br />
<code>$ rpm -e mypackage</code></p>
<p>View all the installed packages on your system.<br />
<code>$ rpm -qa</code></p>
<p>If you want to see more output you can increase the verbosity by adding the &#8216;<strong>-v</strong>&#8216; option to any of these commands.  To raise it even further you can add &#8216;<strong>-vv</strong>&#8216;.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/gnome-shell-keyboard-shortcut-cheat-sheet' rel='bookmark' title='Permanent Link: GNOME Shell Keyboard Shortcut Cheat Sheet'>GNOME Shell Keyboard Shortcut Cheat Sheet</a></li>
<li><a href='http://www.wiredrevolution.com/red-hat/install-ffmpeg-on-rhel-5-or-centos-5' rel='bookmark' title='Permanent Link: Install FFmpeg on RHEL 5 or CentOS 5'>Install FFmpeg on RHEL 5 or CentOS 5</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/red-hat/rpm-cheat-sheet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

