<?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>Nothing Arbitrary</title>
	<atom:link href="http://www.nothingarbitrary.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nothingarbitrary.com</link>
	<description>Websites from Design to Implementation</description>
	<lastBuildDate>Fri, 27 May 2011 05:40:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Display mount points in ubuntu</title>
		<link>http://www.nothingarbitrary.com/blog/display-mount-points-in-ubuntu</link>
		<comments>http://www.nothingarbitrary.com/blog/display-mount-points-in-ubuntu#comments</comments>
		<pubDate>Thu, 19 May 2011 17:19:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=382</guid>
		<description><![CDATA[As you know I really enjoy working with both redhat/centos and ubuntu. Today I was in Ubuntu and wanted to display the mount points and what type of storage they were. I sued this command to do it. # mount -l /dev/sda1 on / type ext3 (rw) [uec-rootfs-ebs] proc on /proc type proc (rw,noexec,nosuid,nodev) none [...]]]></description>
			<content:encoded><![CDATA[<p>As you know I really enjoy working with both redhat/centos and ubuntu. Today I was in Ubuntu and wanted to display the mount points and what type of storage they were. I sued this command to do it.</p>
<blockquote>
<p># mount -l<br />
/dev/sda1 on / type ext3 (rw) [uec-rootfs-ebs]<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
none on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
none on /sys/kernel/debug type debugfs (rw)<br />
none on /sys/kernel/security type securityfs (rw)<br />
devtmpfs on /dev type devtmpfs (rw,mode=0755)<br />
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)<br />
none on /dev/shm type tmpfs (rw,nosuid,nodev)<br />
none on /var/run type tmpfs (rw,nosuid,mode=0755)<br />
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)<br />
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)<br />
/dev/sdb on /mnt type ext3 (rw)
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/display-mount-points-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adjusting Path in linux</title>
		<link>http://www.nothingarbitrary.com/blog/adjusting-path-in-linux</link>
		<comments>http://www.nothingarbitrary.com/blog/adjusting-path-in-linux#comments</comments>
		<pubDate>Wed, 23 Mar 2011 18:33:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=375</guid>
		<description><![CDATA[Pre and Post adding to Path Linux determines the executable search path with the $PATH environment variable. To add directory /this/new/path to the beginning of the $PATH environment variable, use the following: PATH=/this/new/path:$PATH To add that directory to the end of the path, use the following command: PATH=$PATH:/this/new/path Simple enough. Remember do NOT add the [...]]]></description>
			<content:encoded><![CDATA[<p>Pre and Post adding to Path</p>
<p>Linux determines the executable search path with the $PATH environment variable. To add directory /this/new/path to the beginning of the $PATH environment variable, use the following:</p>
<blockquote><p>PATH=/this/new/path:$PATH</p></blockquote>
<p>To add that directory to the end of the path, use the following command:</p>
<blockquote><p>PATH=$PATH:/this/new/path</p></blockquote>
<p>Simple enough. Remember do NOT add the trailing slash to the path that you are adding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/adjusting-path-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete bash shell history</title>
		<link>http://www.nothingarbitrary.com/blog/delete-bash-shell-history</link>
		<comments>http://www.nothingarbitrary.com/blog/delete-bash-shell-history#comments</comments>
		<pubDate>Wed, 02 Mar 2011 18:53:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=372</guid>
		<description><![CDATA[How to delete shell history in bash. This works on most linux distros. history -c Then exit your current shell. exit and log back in to shell ssh username@localhost]]></description>
			<content:encoded><![CDATA[<p>How to delete shell history in bash. This works on most linux distros.</p>
<blockquote><p>history -c</p></blockquote>
<p>Then exit your current shell.</p>
<blockquote><p>exit</p></blockquote>
<p>and log back in to shell</p>
<blockquote><p>ssh username@localhost</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/delete-bash-shell-history/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the find command to remove files</title>
		<link>http://www.nothingarbitrary.com/blog/using-the-find-command-to-remove-files</link>
		<comments>http://www.nothingarbitrary.com/blog/using-the-find-command-to-remove-files#comments</comments>
		<pubDate>Fri, 25 Feb 2011 20:36:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=370</guid>
		<description><![CDATA[Linux or UNIX find and remove files using the &#8220;find&#8221; command. To remove multiple files such as *.jpg with one command: find . -type f -name &#8220;Find-This-File&#8221; -exec rm -f {} \; If you would like to include directories in the removal process use the following (removing the &#8220;-type f&#8221; no longer specifies only find [...]]]></description>
			<content:encoded><![CDATA[<p>Linux or UNIX find and remove files using the &#8220;find&#8221; command. </p>
<p>To remove multiple files such as *.jpg with one command:</p>
<blockquote><p>find . -type f -name &#8220;Find-This-File&#8221; -exec rm -f {} \;</p></blockquote>
<p>If you would like to include directories in the removal process use the following (removing the &#8220;-type f&#8221; no longer specifies only find files):</p>
<blockquote><p>find . -name &#8220;Find-This-File&#8221; -exec rm -f {} \;</p></blockquote>
<p>Example finding all jpg images in the current directory:</p>
<blockquote><p>find . -name &#8220;*jpg&#8221; -exec rm -f {} \;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/using-the-find-command-to-remove-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCP Command Examples</title>
		<link>http://www.nothingarbitrary.com/blog/scp-command-examples</link>
		<comments>http://www.nothingarbitrary.com/blog/scp-command-examples#comments</comments>
		<pubDate>Tue, 22 Feb 2011 17:11:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=368</guid>
		<description><![CDATA[What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. Which means it is much more secure than ftp. If possible all transfer should be done over scp. Examples Copy the [...]]]></description>
			<content:encoded><![CDATA[<p>What is Secure Copy?</p>
<p>scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. Which means it is much more secure than ftp. If possible all transfer should be done over scp.</p>
<p>Examples<br />
Copy the file &#8220;helloworld.tar&#8221; from a remote host to the local host</p>
<p><code>$ scp username@remotehost.com:helloworld.tar /transfer/to/local/directory</code></p>
<p>Copy the file &#8220;helloworld.tar&#8221; from the local host to a remote host</p>
<p><code>$ scp helloworld.tar username@remotehost.com:/transfer/to/remote/directory </code></p>
<p>Copy the directory &#8220;foo&#8221; from the local host to a remote host&#8217;s directory &#8220;bar&#8221;</p>
<p><code>$ scp -r foo username@remotehost.com:/transfer/to/remote/directory/bar</code></p>
<p>Copy the file &#8220;helloworld.tar&#8221; from remote host &#8220;server1.com&#8221; to remote host &#8220;server2.com&#8221;</p>
<p><code>$ scp username@server1.com:/transfer/to/remote/directory/helloworld.tar \<br />
username@server2.com:/transfer/to/remote/directory/</code></p>
<p>Copying multiple files &#8220;foo.txt&#8221; and &#8220;bar.txt&#8221; from the local host to your home directory on the remote host</p>
<p><code>$ scp foo.txt bar.txt username@remotehost.com:~</code></p>
<p>Copy multiple files from the remote host to your current directory on the local host</p>
<p><code>$ scp username@remotehost.com:~/\{foo.txt,bar.txt\} .</code></p>
<p>Improve SCP Performance</p>
<p>By default scp uses the Triple-DES cipher to encrypt the data being sent. Using the Blowfish cipher has been shown to increase speed. This can be done by using option -c blowfish in the command line.</p>
<p><code>$ scp -c blowfish some_file username@remotehost.com:~</code></p>
<p>It is often suggested that the -C option for compression should also be used to increase speed. The effect of compression, however, will only significantly increase speed if your connection is very slow. Otherwise it may just be adding extra burden to the CPU. An example of using blowfish and compression:</p>
<p><code>$ scp -c blowfish -C local_file username@remotehost.com:~</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/scp-command-examples/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verizon Blackberry Call Forwarding</title>
		<link>http://www.nothingarbitrary.com/blog/verizon-blackberry-call-forwarding</link>
		<comments>http://www.nothingarbitrary.com/blog/verizon-blackberry-call-forwarding#comments</comments>
		<pubDate>Wed, 09 Feb 2011 19:02:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Equipment]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=366</guid>
		<description><![CDATA[Here&#8217;s how to do call forwarding simply. To Activate: Press *72. Enter the phone number where you want calls to be forwarded. (e.g. *72-908-123-4567). Press SEND and wait for confirmation. You should hear a confirmation tone or a message. Press END. To Deactivate: Press *73. Press SEND and wait for confirmation. You should hear a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to do call forwarding simply.</p>
<p>To Activate:<br />
Press *72.<br />
Enter the phone number where you want calls to be forwarded. (e.g. *72-908-123-4567).<br />
Press SEND and wait for confirmation. You should hear a confirmation tone or a message.<br />
Press END.</p>
<p>To Deactivate:<br />
Press *73.<br />
Press SEND and wait for confirmation. You should hear a confirmation tone or a message.<br />
Press END.</p>
<p>Simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/verizon-blackberry-call-forwarding/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Restart MySQL in Red Hat or Fedora Core</title>
		<link>http://www.nothingarbitrary.com/blog/how-to-restart-mysql-in-red-hat-or-fedora-core</link>
		<comments>http://www.nothingarbitrary.com/blog/how-to-restart-mysql-in-red-hat-or-fedora-core#comments</comments>
		<pubDate>Thu, 27 Jan 2011 22:02:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=358</guid>
		<description><![CDATA[If you are using mysql on RedHat Linux (Fedora Core/Cent OS) then use following command (MUST be run at root): First SSH to the server: ssh root@{servername} or login as your user and sudo to root ssh {username}@{servername} sudo su To start mysql server: /etc/init.d/mysqld start To stop mysql server: /etc/init.d/mysqld stop To restart mysql [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using mysql on RedHat Linux (Fedora Core/Cent OS) then use following command (MUST be run at root):</p>
<p>First SSH to the server:</p>
<blockquote><p>ssh root@{servername}
</p></blockquote>
<p>or login as your user and sudo to root</p>
<blockquote><p>
ssh {username}@{servername}</p>
<p>sudo su</p></blockquote>
<p>To start mysql server:</p>
<blockquote><p>/etc/init.d/mysqld start</p></blockquote>
<p>To stop mysql server:</p>
<blockquote><p>/etc/init.d/mysqld stop</p></blockquote>
<p>To restart mysql server</p>
<blockquote><p>/etc/init.d/mysqld restart</p></blockquote>
<p>Tip: Redhat Linux also supports service command, which can be use to start, restart, stop any service:</p>
<ul>
<li>service mysqld start</li>
<li>service mysqld stop</li>
<li>service mysqld restart</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/how-to-restart-mysql-in-red-hat-or-fedora-core/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restart apache on a Red Hat server</title>
		<link>http://www.nothingarbitrary.com/blog/restart-apache-red-hat-server</link>
		<comments>http://www.nothingarbitrary.com/blog/restart-apache-red-hat-server#comments</comments>
		<pubDate>Tue, 25 Jan 2011 21:07:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=354</guid>
		<description><![CDATA[Restart httpd/apache fc/rhel service httpd restart Start httpd/apache fc/rhel service httpd stop Stop httpd/apache fc/rhel service httpd start You can also run /etc/init.d/httpd restart script /etc/init.d/httpd restart]]></description>
			<content:encoded><![CDATA[<p>Restart httpd/apache fc/rhel</p>
<blockquote><p>service httpd restart</p></blockquote>
<p>Start httpd/apache fc/rhel</p>
<blockquote><p>service httpd stop</p></blockquote>
<p>Stop httpd/apache fc/rhel</p>
<blockquote><p>service httpd start</p></blockquote>
<p>You can also run /etc/init.d/httpd restart script</p>
<blockquote><p>/etc/init.d/httpd restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/restart-apache-red-hat-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS flush on mac OSX 10.5 and higher</title>
		<link>http://www.nothingarbitrary.com/blog/dns-flush-mac-osx</link>
		<comments>http://www.nothingarbitrary.com/blog/dns-flush-mac-osx#comments</comments>
		<pubDate>Tue, 18 Jan 2011 22:25:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=339</guid>
		<description><![CDATA[I needed to clear my dns on my Macbook Pro running OSX 10.6 Snow Leopard. On a *nix server I would run lookupd -flushcache to clear my DNS cache. However after moving websites around using my freshly configured MacBook Pro I needed to do the same. I tried with my usual command but that didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to clear my dns on my Macbook Pro running OSX 10.6 Snow Leopard. On a *nix server I would run</p>
<blockquote><p>lookupd -flushcache</p></blockquote>
<p>to clear my DNS cache.</p>
<p>However after moving websites around using my freshly configured MacBook Pro I needed to do the same. I tried with my usual command but that didn&#8217;t work. After a few google links I found the solution.</p>
<blockquote><p>dscacheutil -flushcache</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/dns-flush-mac-osx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add user to a specific usergroup</title>
		<link>http://www.nothingarbitrary.com/blog/add-user-to-a-specific-usergroup</link>
		<comments>http://www.nothingarbitrary.com/blog/add-user-to-a-specific-usergroup#comments</comments>
		<pubDate>Sun, 16 Jan 2011 18:31:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.nothingarbitrary.com/?p=330</guid>
		<description><![CDATA[Within my Redhat server I needed to add a new user to the same groups that I was configured for. First I needed to find my user groups. ae@na-unix$ groups ae ae : webdev wheel Then I needed to check the other user&#8217;s usergroups. I wanted to confirm that they only had their own group. [...]]]></description>
			<content:encoded><![CDATA[<p>Within my Redhat server I needed to add a new user to the same groups that I was configured for.</p>
<p>First I needed to find my user groups.</p>
<blockquote><p>ae@na-unix$ groups ae<br />
ae : webdev wheel</p></blockquote>
<p>Then I needed to check the other user&#8217;s usergroups. I wanted to confirm that they only had their own group.</p>
<p><span id="more-330"></span></p>
<blockquote><p>ae@na-unix$ groups newuser</p></blockquote>
<p>Which displays:</p>
<blockquote><p>newuser : newuser</p></blockquote>
<p>The first &#8220;newuser&#8221; is for the username and everything after the : are the groups that they are configured with. Currently when a user is created a group with their name is created as well.</p>
<p>Now to add the new user to the correct usergroups.</p>
<blockquote><p>ae@na-unix$ sudo /usr/sbin/useradd -G webdev newuser<br />
ae@na-unix$ sudo /usr/sbin/usermod -a -G wheel newuser</p></blockquote>
<p>Now to check that they are correctly added. I run the previous command:</p>
<blockquote><p>ae@na-unix$ groups newuser<br />
newuser : newuser wheel webdev</p></blockquote>
<p>If you want to clean it up to be just like the original user you&#8217;ll want to set a primary group. To do that see my post on &#8220;<a href="http://www.nothingarbitrary.com/blog/set-primary-usergroup-in-unix">How to set primary user group</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nothingarbitrary.com/blog/add-user-to-a-specific-usergroup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

