Monday, March 28, 2011

Open rar file or Extract rar files under Linux or UNIX

RAR files are in compressed archive format, if you have downloaded rar files from the Internet, you need to unpack or unrar them (extract rar files).
RAR is a proprietary file format for data compression and archiving, developed by Eugene Roshal.
Under Linux and UNIX, use command called unrar. By default unrar is not being installed on Linux, FreeBSD or UNIX os'es. You can install unrar command with the help of apt-get or yum command.(See below for Windows XP info)

Install unrar command

Under Debian Linux, you need to type apt-get as follows to install unrar program:
# apt-get install unrar

If you are using Fedora core Linux then use yum command as follows (see discussion below):
# yum install unrar

If you are using FreeBSD, use:
# pkg_add -v -r unrar

If any of above, methods is not working for you, download binary package from official rarlab site:
$ cd /tmp
$ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz

Untar file
$ tar -zxvf rarlinux-3.6.0.tar.gz

Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:
$ cd rar
$ ./unrar

Now copy rar and unrar to /bin directory:
# cp rar unrar /bin

How to use unrar

unrar command supports various options below are common options that you need to use everyday.
Task: To open rar (unpack) file in current directory type command:
$ unrar e file.rar

Please note that replace file.rar filename with your actual filename.

Task: List (l) file inside rar archive:
$ unrar l file.rar

Task: To extract (x) files with full path type command:
$ unrar x file.rar

(D) To test (t) integrity of archive, file type command:
$ unrar t file.rar

How do I open rar file under Windows XP/NT/2000?

If you are using Windows XP then I recommend to download Winrar. It is free download ( Free to try License) software.

Wednesday, March 16, 2011

30 Things To Do When you are Bored and have a Computer

30 Things To Do When you are Bored and have a Computer

1.Read technical blogs – There are several technical blogs out there, that produce high quality content everyday. There are 9600+ technology blogs listed in the technorati website. Browse the technology blog list and read the blogs that interests you. As always you can browse our blog archive section for Linux related articles that you might have missed.
2.Backup your laptop – You should do a full back-up of your laptop / desktop every month at a minimum. If not, do it now. Use rsnapshot for Unix and GFI free backup tool for Windows.
3.Seriously! Don’t have a backup? Stop reading this article and backup you laptop now!
4.De-clutter your laptop – Organize the files and directories in your laptop. If you have tons of sub-directories, it gets difficult to find the right sub-directory to store your file. I used to have tons of nested sub-directories before. Now, I have only 5 high level directory structure under my home directory. Use Windows Google Desktop on Linux Google Desktop software to search your files quickly.
5.Social networking sites – Create an account for yourself on Linkedin, delicious, Stumble Upon, Facebook, Digg, Twitter. Even if you don’t post something on these sites, you can still browse their popular pages and read all the articles.
6.Clear out all your emails. Process every email in your in-box and archive it. Don’t leave any emails unprocessed.
7.Change passwords – When is the last time you’ve changed your on-line banking password (or) your primary email password? Make sure to create a yearly password routine and change all your online passwords to something unique and strong. Use multi-platform password manager to store all your password on your laptop securely. Follow the password best practices. Change passwords for at least few of your critical online accounts now!
8.Plan your exercise schedule – If you are like me, you may be looking for motivation from all sources to exercise regularly. Create a simple exercise schedule (it could even be for 15 mins a day) and share it with your family and friends. Ask them to check on you regularly to make sure you are following your schedule on track. Explore sites like fitday, dailymile, and dailyplate will help you track and organize your fitness related stuff.
9.Customize your home page portal. If you don’t have it, create one at either iGoogle or myYahoo.
10.Reconnect with friends and family – Send an email to an old friend, colleague, or family member with whom you might have lost touch.
11.Pursue your dream job – If you are not happy with your current job, take time to think about what would be your dream job. Create a document and list down all the items that you don’t like about your current job and all the things that you would want in your dream job. Once you have a clear idea, search job sites like the ladders – where all the jobs are $100K+
12.Read Wikipedia – Browse the Wikipedia technology portal for topics that interests you. Outline of computer science and list of information technology topics are a good place to start in Wikipedia. You can spend hours together reading these topics.
13.Send a Thank You note to someone who did some nice things for you.
14.Organize your photos online – Create an account for yourself on picasaweb, or flickr and organize all your pictures online.
15.Browse YouTube – Go to youtube.com and search for linux, to view all linux related videos (or) Browse these technology channels on youtube — Google, Windows, TechCrunch.
16.Explore a Technical Hobby – It may be tweaking the Linux OS by building custom kernels, exploring ethical hacking, exploring amateur ham radio (or) any technical stuff that you were always interested to explore, but never got the time to do.
17.Set Goals – Jan 1st is not the only time to set goals for the year. Take some time to think through and list out all the major personal projects you would like to complete this year. Create actionable tasks to get those projects completed. Getting Things Done: The Art of Stress-Free Productivity is an excellent resource that will help you to get organized and be productive.
18.Write - If you are bored and don’t know what to do, start writing. This doesn’t need to be technical writing. When is the last time you’ve written a well thought out letter to someone who you love? Take the time to write a letter and send it in an email to your loved ones.
19.Get Personal Finance in Order – Take time to review your current financial status, review bank balance, consolidate credit cards, sign-up for online bill pay, move money from low interest bank account to high interest bank account, research re-financing your home mortgage for lower rate.
20.Use online Word, Excel, Powerpoint – I’ve moved almost all my local documents to Google documents. I can access my personal documents from any computer. No need to worry about backing up local documents on your laptop on an on-going basis, if all your documents are online. You can also share selective documents with your friends and family.
21.Add items to your shopping wishlist – Take time to research on the electronic gadgets, or technical books that you wanted to purchase. Read some review and collect as much as information you need about the item before your purchase. Most importantly, create a wish-list in your favorite online shopping site and populate it with your favorite items or books you would like to purchase some day. I use amazon amazon wish-list.
22.Defrag your hard-drive. If you are using Windows OS, defarg your hard-drive. Since we all use *nix, call your Windows friends and brag about how *nix doesn’t need defrag.
23.Browse firefox add-on repository and play around with any add-on that you find interesting.
24.Create check-list and routines. List out all the repetitive tasks that you perform. Create a routine for those tasks. See whether you can automate or delegate some of those repetitive tasks.
25.Flip through the unix man page. Even for the commands you are very familiar with, check out the man page. When you do ‘man ls’, you might be surprised that you didn’t know few of the capabilities, even on simple command like ls.
26.Virus Scan. If you are using Windows OS, run a virus-scan on your laptop. I prefer Spybot search and destory, which will protect your laptop from spyware.
27.Delete unwanted program. On Linux, see whether you are running any unwanted services and disable them. If you have any unwanted packages installed, remove them. On windows, go to Add/Remove program, and see whether you can delete any unwanted programs from the system. This might give you both additional disk space and performance.
28.Create online book catalog for all your books. Library Things lets you add 200 books to your catalog for free.
29.Watch Funny Videos. If you are really bored and doesn’t want to do any work that requires brain power, simply watch these funny videos.
30.Learn keyboard shortcuts for your favorite application. For example, gmail keyboard shortcuts, firefox keyboard shortcuts, Ubuntu keyboard shortcuts.

Tuesday, March 8, 2011

Seven ways to keep your Gmail data safe

Gmail has an estimated 190 million users worldwide. Many even have multiple accounts, the forwarding and ‘send mail as’ features of Gmail actively encouraging this practice.

Which is why it was a rude shock to roughly 40,000 Gmail users when they logged in last week, only to find that all their data—emails, attachments, chats, contacts and documents—had vanished, and their accounts had been reset. The only thing these unlucky users had in their inbox were the automated ‘Welcome to Gmail’ emails

However, all was not lost as Gmail keeps multiple copies of the data (even including offline, tape-based backup of user data) and they set about restoring the bug that caused the problem. Google later identified the issue as a software bug in a recently released storage software update. More than the number of users affected, this obviously got far more attention than it deserved and outlined the importance of not using Gmail as the sole repository for several gigabytes of critical data. Here’s how you can keep that data safe, just in case

To Another Gmail

In the eMailstore vent of another software bug or system crash, the chances of all Gmail accounts being compromised is minimal. Even when Gmail rolls out new features, they do so in phases—and this is primarily to identify and fix any teething issues. Therefore, all you have to do is create another Gmail account and import all mails and contacts from your primary account. To do this, sign in to your new Gmail account, click on the little ‘gear’ icon in the top right corner and click ‘Mail Settings’. Here, under ‘Accounts and Import’, you’ll be able to import mail from your old account.

To Hotmail, using TrueSwitch

Hotmail may have lost out to Gmail when it comes to number of features, but they still have an estimated 364 million users—the highest in the world for any free email provider. And they want to make it all the more easier if you decide to make the switch from any other free email account to Hotmail. To do the switch, Hotmail has tied up with TrueSwitch (trueswitch.com).

TrueSwitch is normally a paid service that makes it easy to transfer all your email from one account to another. In this case, Hotmail will bear the expense, if you decide to switch. But you can use this feature to back up your Gmail data and still keep on using Gmail. To use the service, head to secure5.trueswitch.com/winlive and enter all the required credentials.

Gmail-Backup

Gmail-Backup is a software tool which you can download for free from gmail-backup.com. To use it, you need to have IMAP access activated in Gmail. To do this, sign in to your Gmail account, click on the little ‘gear’ icon in the top right corner and click ‘Mail Settings’.

Here, under ‘Forwarding and POP/IMAP’, you can enable IMAP access. Gmail-backup will use IMAP access to create a complete backup of your accounts data on your hard drive. Depending on how much data you have and the speed of your internet connection, this could take quite a while. Your computer and internet connection will need to be active for the duration of the transfer. The softwate also has a restore function, to copy locally stored data back into a Gmail account. Gmail-backup’s website also has a forum which can address any issues you may have.

Mailstore

Another free solution for email backup, Mailstore (mailstore.com) can access multiple online email inboxes using PKeep your Gmail account secure OP3 or IMAP access. The process is easy enough; just download the free software and enter in your email credentials. Like Gmail-backup, Mailstore has an online community which can address backup problems.

Gmail Keeper

For a one-time price of $19.95, Gmail Keeper (gmailkeeper.com) offers a Gmail-specific backup tool that is easy to understand and can backup all folders and labels in Gmail (including the inbox, sent mail, starred mail, drafts and so on). It can backup everything as a .ZIP file to your hard drive. It aKeep your Gmail account secure lso offers the ability to back up multiple Gmail accounts at the same time.

Backupify

Backupify (backupify.com) can backup all kinds of online services that you use, such as Gmail, Google Docs, Picasa, Twitter, Flickr, Facebook, Zoho and Blogger. Once backed up, you can search through, download or restore the data at any time. They offer three plans; a free plan that can backup up to 5 accounts with a storage limit of 2GB per account, a Pro 100 plan that can back up 25 different accounts with 20GB storage per account for $4.99 a month and a Pro 500 plan that can back up an unlimited number of accounts with unlimited storage for $19.99 a month.

Local Email Client Backup

This is a no-brainer, and should be done even if you continue to use online access for Gmail and other accounts. Any email client like Mozilla’s Thunderbird (mozillamessaging.com/thunderbird), Eudora (eudora.com), Apple Mail, Outlook, Outlook Express or Windows Live Mail can be used to download your mail. You need to enable POP3 in Gmail (once again in the ‘Forwarding and POP/IMAP’ in the Mail Settings area of Gmail). The settings are simple enough; incoming server name is pop.gmail.com, protocol is POP, port is 995 and your Gmail username and password will have to be entered of course.

Can you recover a Gmail account when a family member dies?

This is tricky. If you decide to pursue it, be prepared for some lengthy paperwork. Also, expect that it will take from anywhere between 1 to 2 months. First, you will need to get your documents in order; a copy of your passport or driver’s license, copy of the proof of death (death certificate) and a copy of a probate or court order that clearly identifies you as the legal representative of the deceased.

You’ll also need to take some prints of a few emails sent from the deceased to you (the full headers of the emails need to be included in the print). Finally, write a letter (attach your passport photograph) explaining the situation, include the deceased person’s email ID and all your contact information (including postal address, phone numbers and email IDs). Take all the documents and ship them to Google at the following address: Google Inc. Attention: Gmail User Support- Decedents’ Accounts 1600 Amphitheatre Parkway Mountain View, CA 94043 USA

What is a secure password?

Your password should not be a word or combination of words that can be found in a dictionary. Brute force hacking methods can figure out a password like this in minutes. You password should ideally be at least 8 to 10 characters, a mixture of upper and lower case letters, numbers and special characters. A password like this would be near impossible to hack (i.e., would probably take a fast computer over 100 years to crack it using the common brute force method). Also, it’s a good idea to change your password once in a while, and not share the same password for sensitive email/bank accounts with other websites and services.

For the completely paranoid, Gmail also offers a free, 2-step user verification. With this feature activated, it will be impossible for anyone to gain access to your Gmail with just a stolen password. To sign in using 2-step verification, you need to enter your password and then enter a code which you will receive by SMS, each time you want to log in.

Keep your Gmail account secure

The Gmail bug was a rare anomaly and the chances of it happening again are small. But have you considered what will happen if you lost access to your Gmail due to your own fault? If your account is compromised and you are no longer able to access Gmail using your password, your account will be frozen. The account can only be restored to you once Gmail verifies that you are the rightful owner.

This may take a while, and it’s possible that all your data will be wiped in the interim. To make sure that your Gmail account can be recovered, be sure to put in your cellphone number, password recovery secret question and alternate email IDs. These can be updated in the ‘Account Information’ section of Gmail, accessed by clicking the ‘gear’ icon in the top right.