<?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>Tuts4Tech &#187; commands</title>
	<atom:link href="http://tuts4tech.net/tag/commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Sun, 18 Jul 2010 01:41:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Howto Add time And Date To Your Bash History</title>
		<link>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/</link>
		<comments>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 13:00:27 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[searching]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=547</guid>
		<description><![CDATA[This comes in very handy if your trying to track back when you had last run something. To enable it just simply add export HISTTIMEFORMAT="%h/%d - %H:%M:%S " to your .bashrc file echo 'export HISTTIMEFORMAT=&#34;%h/%d - %H:%M:%S &#34;' &#62;&#62; ~/.bashrc Then reload your .bashrc source ~/.bashrc Now when you run history you should get a [...]]]></description>
			<content:encoded><![CDATA[<p>This comes in very handy if your trying to track back when you had last run something.<br />
To enable it just simply add export HISTTIMEFORMAT="%h/%d - %H:%M:%S " to your .bashrc file
<pre class="brush: plain;">echo 'export HISTTIMEFORMAT=&quot;%h/%d - %H:%M:%S &quot;' &gt;&gt; ~/.bashrc</pre>
<p>
Then reload your .bashrc
<pre class="brush: plain;">source ~/.bashrc</pre>
<p>
Now when you run history you should get a output similar to the one below
<pre class="brush: plain;">   502  Aug/12 - 13:48:31 tail -f /home/duffy/log/access.log
  503  Aug/12 - 13:49:01 echo hello
  504  Aug/12 - 13:49:24 more /var/log/syslog</pre>
<p></p>
<h2>Some other bash history tips</h2>
<p></p>
<ol>
<li>
The best way of finding something quickly in your bash history is simply by pressing ctrl+r and then typing out the start of the command it will auto complete it with any matches found in your bash history</li>
<p></p>
<li>If you don't want to save duplicate commands in your bash history simply add export HISTCONTROL=ignoreboth to your .bashrc
<pre class="brush: plain;">echo 'export HISTCONTROL=ignoreboth' &gt;&gt; ~/.bashrc</pre>
</li>
<p></p>
<li>If you want to change the lenght of history add export HISTSIZE=1000 to your .bashrc
<pre class="brush: plain;">echo 'export HISTSIZE=1000' &gt;&gt; ~/.bashrc</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Arch Linux</title>
		<link>http://tuts4tech.net/2009/06/03/setting-up-arch-linux/</link>
		<comments>http://tuts4tech.net/2009/06/03/setting-up-arch-linux/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:54:35 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://tuts4tech.co.cc/?p=234</guid>
		<description><![CDATA[First of all update your system pacman -Syu Install xorg pacman -S xorg-server If you have a nvidia graphics card then you need to install these pacman -S nvidia nvidia-utils If you have a ati card then you need to install these pacman -S catalyst catalyst-utils Create your system admin user useradd -m -G users,audio,lp,optical,storage,video,wheel,power [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>First of all update your system
<pre class="brush: plain;">pacman -Syu</pre>
</li>
<li>Install xorg
<pre class="brush: plain;">pacman -S xorg-server</pre>
</li>
<li>If you have a nvidia graphics card then you need to install these
<pre class="brush: plain;">pacman -S nvidia nvidia-utils</pre>
<p>If you have a ati card then you need to install these
<pre class="brush: plain;">pacman -S catalyst catalyst-utils</pre>
</li>
<li>Create your system admin user
<pre class="brush: plain;">useradd -m -G users,audio,lp,optical,storage,video,wheel,power -s /bin/bash YOUR-USER-NAME-HERE</pre>
<p>Now we need to set a password for that user so type the following
<pre class="brush: plain;">passwd YOUR-USER-NAME-HERE</pre>
</li>
<li>Install some packages
<pre class="brush: plain;">pacman -S hal mesa openssh gnome gdm firefox gnome-terminal gedit file-roller gconf-editor gcalctool evince nautilus-cd-burner gnome-volume-manager gnome-power-manager ttf-ms-fonts ttf-dejavu ttf-bitstream-vera ttf-liberation flashplugin jre archlinux-themes-gdm numlockx alsa-utils codecs gstreamer0.10 gstreamer0.10-python gstreamer0.10-ffmpeg gstreamer0.10-good gstreamer0.10-bad gstreamer0.10-ugly gstreamer0.10-good-plugins gstreamer0.10-ugly-plugins gstreamer0.10-bad-plugins gstreamer0.10-base gstreamer0.10-base-plugins gstreamer0.10-pitfdll skype rdesktop pidgin purple-plugin-pack pidgin-encryption pidgin-libnotify aspell-en nmap wireshark irssi filezilla openoffice-base gnome-themes-extras gtk2-themes-collection tango-icon-theme tango-icon-theme-extras archlinux-themes-gdm hwd sudo</pre>
</li>
<li>Generate a Xorg Config
<pre class="brush: plain;">hwd -xa</pre>
<p>If you have a nvidia graphics card do this aswell
<pre class="brush: plain;">nvidia-xconfig</pre>
</li>
<li>Configuring audio run the following and set your volume levels
<pre class="brush: plain;">alsamixer</pre>
<p>you can test you sound using
<pre class="brush: plain;">aplay /usr/share/sounds/alsa/Front_Center.wav</pre>
<p>and then when your happy with it run
<pre class="brush: plain;">alsactl store</pre>
<p>and finally add alsa to your daemons line of rc.conf
<pre class="brush: plain;">DAEMONS=(syslog-ng !network netfs crond fam hal networkmanager alsa)</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/06/03/setting-up-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
