<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1271242527533160661</id><updated>2011-11-27T20:11:49.683-05:00</updated><title type='text'>Bits, Bytes and Me</title><subtitle type='html'>Find the geek within</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-2413586132952424497</id><published>2009-06-19T17:04:00.005-04:00</published><updated>2009-06-20T17:57:58.278-04:00</updated><title type='text'>I just need the file name!</title><content type='html'>I am always downloading files from the command prompt using curl or wget. Sometimes I like to automate the download process. One thing I found to be helpful is using &lt;a href="http://www.gnu.org/software/sed/manual/sed.html"&gt;sed&lt;/a&gt; to extract the file name from the URL.&lt;br /&gt;&lt;br /&gt;I created the following bash script in utilizing my &lt;span style="font-style: italic;"&gt;sendmail.pl&lt;/span&gt; Perl script found in &lt;a href="http://bitsbytesnme.blogspot.com/2009/06/waiting-for-long-running-process.html"&gt;Why wait for a download?&lt;/a&gt;.  I called the following script &lt;span style="font-style: italic;"&gt;DownloadAndEmailMe.sh&lt;/span&gt;.  Here it is.&lt;br /&gt;&lt;pre class="prettyprint"&gt;#!/bin/bash&lt;br /&gt;curl -O $1&lt;br /&gt;filename=`echo $1 | sed 's/\(.*\)\///'&lt;br /&gt;perl /path/to/sendmail.pl localhost youremail@gmail.com youremail@gmail.com&lt;br /&gt;"Download Done: $filename" "The following file is done downloading: $filename"&lt;/pre&gt;Of course there are a few things to change in the script above to make it yours:&lt;br /&gt;1. Change &lt;span style="font-style: italic;"&gt;/path/to/sendmail.pl&lt;/span&gt; to your own path to sendmail.pl&lt;br /&gt;2. Change&lt;span style="font-style: italic;"&gt; localhost&lt;/span&gt; to your own SMTP server name.&lt;br /&gt;3. Change &lt;span style="font-style: italic;"&gt;youremail@gmail.com&lt;/span&gt; to your own email.&lt;br /&gt;&lt;br /&gt;This is how I run it&lt;br /&gt;&lt;pre class="prettyprint"&gt;DownloadAndEmailMe.sh http://mirrors.easynews.com/linux/ubuntu-releases/jaunty/ubuntu-9.04-desktop-i386.iso&lt;/pre&gt;When the download is done it will send you a nice email that reads:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;The following file is done downloading: ubuntu-9.04-desktop-i386.iso&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I would also recommend looking at &lt;a href="http://www.gnu.org/software/sed/manual/sed.html"&gt;sed&lt;/a&gt; and see how it works. I use it a lot. It's very powerful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-2413586132952424497?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/2413586132952424497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/i-just-need-file-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/2413586132952424497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/2413586132952424497'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/i-just-need-file-name.html' title='I just need the file name!'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-5084059965283288092</id><published>2009-06-16T16:41:00.002-04:00</published><updated>2009-06-16T16:45:01.394-04:00</updated><title type='text'>Watching Hard Drive Activity</title><content type='html'>On Linux systems I use &lt;span style="font-style:italic;"&gt;top&lt;/span&gt; all the time, but there is another tool called &lt;span style="font-style:italic;"&gt;iotop&lt;/span&gt; which lets you watch disk IO on your system.&lt;br /&gt;&lt;br /&gt;Here is how to install it on Ubuntu&lt;br /&gt;&lt;pre class='prettyprint'&gt;sudo apt-get install iotop&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;It's really cool. Thanks Josh for finding it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-5084059965283288092?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/5084059965283288092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/watching-hard-drive-activity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5084059965283288092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5084059965283288092'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/watching-hard-drive-activity.html' title='Watching Hard Drive Activity'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-3948435137002363731</id><published>2009-06-16T12:04:00.011-04:00</published><updated>2009-06-16T13:20:53.476-04:00</updated><title type='text'>Sync directories with rsync</title><content type='html'>Sometime I need some directories synchronized between 2 different machines.&lt;br /&gt;&lt;br /&gt;I use &lt;span style="font-style: italic;"&gt;rsync&lt;/span&gt; to get the task done, my command would look like this:&lt;br /&gt;&lt;pre class="prettyprint"&gt;rsync -zae "ssh" /path/to/local/dir/ remoteHost:/path/to/remote/dir/&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-size:85%;"&gt;To learn more bout &lt;span style="font-style: italic;"&gt;rsync&lt;/span&gt; command visit the &lt;a href="http://www.google.com/cse?cx=partner-pub-8946848777661212%3A7x6v7dxz0v4&amp;amp;ie=ISO-8859-1&amp;amp;q=man+rsync&amp;amp;sa=Search"&gt;man&lt;/a&gt; pages&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Every time you run this command you will be prompted for a password, which is OK if you run the sync manually.  If you like to use cron to schedule the sync, you will need to refer to my post &lt;a href="http://bitsbytesnme.blogspot.com/2009/06/ssh-without-password.html"&gt;SSH without a password&lt;/a&gt; to do it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-3948435137002363731?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/3948435137002363731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/sync-directories-on-2-machines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/3948435137002363731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/3948435137002363731'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/sync-directories-on-2-machines.html' title='Sync directories with rsync'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-6166414397340039345</id><published>2009-06-15T15:27:00.012-04:00</published><updated>2009-06-27T14:43:33.387-04:00</updated><title type='text'>SSH without a password</title><content type='html'>I like to log on to my remote hosts without a password, it saves you from prying eyes, and it helps you automate certain things, like backups. This is how to do it:&lt;br /&gt;&lt;br /&gt;1. Generate your public/private keys using ssh-keygen.&lt;br /&gt;&lt;pre class="prettyprint"&gt;ssh-keygen -t rsa&lt;/pre&gt;&lt;span style="font-size:78%;"&gt;Note: Leave passphrase empty&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Copy &lt;span style="font-style: italic;"&gt;id_rsa.pub&lt;/span&gt; to the .ssh directory of the remote host you want to log on to as &lt;span style="font-style: italic;"&gt;authorized_keys2&lt;/span&gt;.&lt;br /&gt;&lt;pre class="prettyprint"&gt;scp ~/.ssh/id_rsa.pub foo@remoteHost:~/.ssh/authorized_keys2 &lt;/pre&gt;&lt;span style="font-size:78%;"&gt;Note: If you have other keys in &lt;span style="font-style: italic;"&gt;authorized_keys2&lt;/span&gt; make sure not to overwrite it but append the new one to it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. SSH to the remote host and make authorized_keys2 writeable only to the user&lt;br /&gt;&lt;pre class="prettyprint"&gt;chmod 644 ~/.ssh/authorized_keys2&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next time you log on to your remote host it will not prompt you for a password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-6166414397340039345?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/6166414397340039345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/ssh-without-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/6166414397340039345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/6166414397340039345'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/ssh-without-password.html' title='SSH without a password'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-1628793496109080021</id><published>2009-06-12T16:53:00.021-04:00</published><updated>2009-06-16T11:40:58.423-04:00</updated><title type='text'>Why wait for a download?</title><content type='html'>Say you have to download the latest Ubuntu cd, but you don't want to just sit there until it's done.  I like to start it and get an email on my Blackberry when it's done.&lt;br /&gt;&lt;br /&gt;Step 1: Open a terminal window, Create a Perl script called sendmail.pl. You can use any editing tool, I prefer vi myself. Insert the following code in the file and save it.&lt;br /&gt;&lt;pre class="prettyprint"&gt;#!/usr/bin/perl -w&lt;br /&gt;use Net::SMTP;&lt;br /&gt;if ($#ARGV != 4) {&lt;br /&gt;print "usage:mailsever to from subject body\n";&lt;br /&gt;exit;&lt;br /&gt;}&lt;br /&gt;my($mailServer) =$ARGV[0];&lt;br /&gt;my($to)=$ARGV[1];&lt;br /&gt;my(@mailTo)=split(/,/, $to);&lt;br /&gt;my($mailFrom)=$ARGV[2];&lt;br /&gt;my($mailSubject)=$ARGV[3];&lt;br /&gt;my($mailBody)=$ARGV[4];&lt;br /&gt;$smtp = Net::SMTP-&gt;new($mailServer);&lt;br /&gt;$smtp-&gt;mail($mailFrom);&lt;br /&gt;$smtp-&gt;recipient(@mailTo);&lt;br /&gt;$smtp-&gt;data();&lt;br /&gt;$smtp-&gt;datasend("To: " . $ARGV[1] . "\n");&lt;br /&gt;$smtp-&gt;datasend("Subject: " . $mailSubject . "\n");&lt;br /&gt;$smtp-&gt;datasend("\n");&lt;br /&gt;$smtp-&gt;datasend($mailBody . "\n");&lt;br /&gt;$smtp-&gt;dataend();&lt;br /&gt;$smtp-&gt;quit;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Step 2: I use a tool like &lt;span style="font-style: italic;"&gt;wget&lt;/span&gt; or &lt;span style="font-style: italic;"&gt;curl&lt;/span&gt; to download a url&lt;br /&gt;&lt;pre class="prettyprint"&gt;wget url&lt;br /&gt;curl -O url&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Step 3: All together, Step 1 and 2, command syntax&lt;br /&gt;&lt;pre class="prettyprint"&gt;wget url; perl sendmail.pl mailserver to from subject body;&lt;/pre&gt;&lt;br /&gt;My command will look something like this&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class="prettyprint"&gt;wget http://mirrors.easynews.com/linux/ubuntu-releases/jaunty/ubuntu-9.04-desktop-i386.iso; perl sendmail.pl localhost youremail@gmail.com youremail@gmail.com&lt;br /&gt;"I am Done" "Download is done, file is ready";&lt;/pre&gt;&lt;span style="font-size:78%;"&gt;Make sure to replace &lt;span style="font-style: italic;"&gt;youremail@gmail.com&lt;/span&gt; with a valid email address.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;In the above example, I am using localhost as the SMTP server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After your file is done downloading you will get an email.&lt;br /&gt;Note: This could also be used for any long running process.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-1628793496109080021?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/1628793496109080021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/waiting-for-long-running-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/1628793496109080021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/1628793496109080021'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/waiting-for-long-running-process.html' title='Why wait for a download?'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-5067843782697733406</id><published>2009-06-12T16:40:00.002-04:00</published><updated>2009-06-12T16:47:02.431-04:00</updated><title type='text'>Google Checkout</title><content type='html'>It seems to be a &lt;a href="http://www.google.com"&gt;Google&lt;/a&gt; kind of day. Have you ever used &lt;a href="https://checkout.google.com"&gt;Google Checkout&lt;/a&gt;? it seems to be a new way of checking out at a lot of online vendors. It's similar to PayPal. It makes it much easier to checkout, instead of putting in all your credit card information every time. Yes you must sign up for a &lt;a href="https://www.google.com/accounts/NewAccount"&gt;Google account&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-5067843782697733406?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/5067843782697733406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/google-checkout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5067843782697733406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5067843782697733406'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/google-checkout.html' title='Google Checkout'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-5958734669065354764</id><published>2009-06-12T16:31:00.001-04:00</published><updated>2009-06-12T16:39:59.980-04:00</updated><title type='text'>Google Reader</title><content type='html'>I seem to be addicted to &lt;a href="http://www.google.com/reader"&gt;Google Reader&lt;/a&gt;. Every chance I get when I am online I click the short-cut. I think it's great, it just has a cool way of displaying the RSS feeds. Check it out for yourself, you should get a &lt;a href="https://www.google.com/accounts/NewAccount"&gt;Google account&lt;/a&gt; of course.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-5958734669065354764?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/5958734669065354764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/google-reader.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5958734669065354764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5958734669065354764'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/google-reader.html' title='Google Reader'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-5465314858164736569</id><published>2009-06-11T10:32:00.008-04:00</published><updated>2009-06-15T10:14:20.998-04:00</updated><title type='text'>Reboot Blackberry</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_jWoj2D8zTm4/SjZWq9cV3eI/AAAAAAAACVc/G_pTyZzy3rg/s1600-h/bb_keys.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 200px; height: 146px;" src="http://1.bp.blogspot.com/_jWoj2D8zTm4/SjZWq9cV3eI/AAAAAAAACVc/G_pTyZzy3rg/s200/bb_keys.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5347556903596973538" /&gt;&lt;/a&gt;&lt;br /&gt;You can reboot your Blackberry without taking the battery out.&lt;br /&gt;Next time you Blackberry needs a reboot try this:&lt;br /&gt;&lt;b&gt;ALT-Right CAP-DEL&lt;/b&gt;&lt;br /&gt;All at the same time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-5465314858164736569?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/5465314858164736569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/reboot-blackberry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5465314858164736569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5465314858164736569'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/reboot-blackberry.html' title='Reboot Blackberry'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jWoj2D8zTm4/SjZWq9cV3eI/AAAAAAAACVc/G_pTyZzy3rg/s72-c/bb_keys.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-5184285538798582265</id><published>2009-06-11T07:14:00.009-04:00</published><updated>2009-06-13T09:19:40.304-04:00</updated><title type='text'>Secure Delete</title><content type='html'>I was working on a sensitive file on my Mac, when I was done with it, I wanted to delete it securely. Since I love to do things in the Terminal, I found this neat command called "srm" which stands for, you guessed it, secure remove.&lt;br /&gt;&lt;br /&gt;Usage: &lt;span style="font-weight: bold;"&gt;srm &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It takes a little longer than normal rm but its worth it for the security.&lt;br /&gt;&lt;br /&gt;It also works on Linux systems, you will need to install it. On Ubuntu just type:&lt;br /&gt;&lt;pre class="prettyprint"&gt;sudo apt-get install secure-delete&lt;/pre&gt;&lt;br /&gt;If you're a Windows user there is a tool called "&lt;a style="font-weight: bold;" href="http://www.google.com/custom?hl=en&amp;amp;safe=active&amp;amp;client=pub-8946848777661212&amp;amp;channel=4227029775&amp;amp;cof=FORID%3A13%3BAH%3Aleft%3BCX%3AMyBlog%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fcoop%2Fintl%2Fen%2Fimages%2Fcustom_search_sm.gif%3BLH%3A65%3BLP%3A1%3BLC%3A%230000ff%3BVLC%3A%23663399%3BGFNT%3A%230000ff%3BGIMP%3A%230000ff%3BDIV%3A%23336699%3B&amp;amp;adkw=AELymgVF__t7t0kIS2D89mIV09m9uJUAumZ5oABrRTaO_a3KV0DrR0xmIPFYDPZZKzeOOxL8Qo_z8MkqBTAMY1YR_tHsoOC5mOFLGL1x7nqzLrAUiI5Gn1zwp4zRqQYFCStzeeOXDhPLJ7EYD4nqImdHYKHZ91-Sm3EinXjL3fzgsONYPbK1nTw&amp;amp;ie=ISO-8859-1&amp;amp;oe=ISO-8859-1&amp;amp;q=sdelete+site%3Amicrosoft.com&amp;amp;btnG=Search&amp;amp;cx=partner-pub-8946848777661212%3A7x6v7dxz0v4"&gt;sdelete&lt;/a&gt;" from Microsoft.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-5184285538798582265?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/5184285538798582265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/secure-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5184285538798582265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/5184285538798582265'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/secure-delete.html' title='Secure Delete'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-3560727774265291035</id><published>2009-06-10T19:18:00.001-04:00</published><updated>2009-06-10T19:18:56.936-04:00</updated><title type='text'>Blackberry Troubleshooting</title><content type='html'>Did you know that while at the home screen on your Blackberry  typing &lt;b&gt;ALT-LGLG&lt;/b&gt; you will get an event log.&lt;br&gt;Maybe the next time your Blackberry is acting up, you can try to look at the log and see what is happening.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-3560727774265291035?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/3560727774265291035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/blackberry-troubleshooting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/3560727774265291035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/3560727774265291035'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/blackberry-troubleshooting.html' title='Blackberry Troubleshooting'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1271242527533160661.post-2329272570498922172</id><published>2009-06-10T19:10:00.003-04:00</published><updated>2009-06-13T09:22:59.433-04:00</updated><title type='text'>OH NO, Ubuntu is not booting!</title><content type='html'>My boss called me on the phone and asked if I can take a look at his laptop.&lt;br /&gt;He could not boot into Ubuntu Jaunty(9.04). He kept getting the following error: "&lt;span class="sf"&gt;&lt;b&gt;group descriptors corrupted"&lt;br /&gt;&lt;/b&gt;"That doesn't sound too good", I said.  After searching the web for the solution, I found it.&lt;br /&gt;I booted the laptop from the only Live-CD I had handy at the time, Ubuntu 8.10 Install/Live-CD.&lt;br /&gt;Once it came up, I opened the terminal and typed the following.&lt;br /&gt;&lt;pre class="prettyprint"&gt;sudo fsck -y /dev/sdb1&lt;/pre&gt;After 10 minutes of fixing the filesystem on the hard drive, it was done.&lt;br /&gt;I rebooted the laptop, Jaunty(9.04) came up. My boss was happy.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1271242527533160661-2329272570498922172?l=www.bitsbytesnme.org' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.bitsbytesnme.org/feeds/2329272570498922172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.bitsbytesnme.org/2009/06/oh-no-ubuntu-is-not-booting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/2329272570498922172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1271242527533160661/posts/default/2329272570498922172'/><link rel='alternate' type='text/html' href='http://www.bitsbytesnme.org/2009/06/oh-no-ubuntu-is-not-booting.html' title='OH NO, Ubuntu is not booting!'/><author><name>me</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
