There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze games gaming gpu hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: Extracting files in Unrar

Reply  
Thread Tools
Newbuntu's Avatar
Computer Specs
Junior Member with 6 posts.
 
Join Date: Jun 2009
Experience: Intermediate
07-Jun-2009, 09:17 AM #1
Question Solved: Extracting files in Unrar
Hi peeps!

I've checked so many forums about it but I seem to be doing something wrong with how I type the file path. Here's the situation:

I want to use unrar to extract an .rar file to one of my folders. what exactly should I type in the terminal?

details: my file's name is ABCD.rar and it's currently located in my desktop. now I know the command unrar x filename.rar thingy... but the thing is I ain't got a clue how to type the file path there at the terminal.

I did the /home/myubuntuusername/desktop/ABCD.rar didn't work. I did the /myubuntuusername/desktop/ABCD.rar, didn't work. I did the dekstop/ACBD.rar, didn't work. Now I'm guessing there's just simply a different way to access the file path. I just need what exactly will I type in my terminal.

please help. Thanks.
durant125's Avatar
Computer Specs
Member with 237 posts.
 
Join Date: Aug 2004
Experience: WoW Im StuPeed
07-Jun-2009, 03:49 PM #2
Did you do a 'man' on rar? One of the most helpful commands is the man command. If you type 'man unrar' at a command prompt it will give you a detailed manual on how to use the unrar command. I have never used unrar but my guess on the full command would be 'unrar filename.rar /home/username/' which will extract files to your home directory.
TerryNet's Avatar
Computer Specs
Moderator with 48,388 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
Experience: Intermediate to Advanced
07-Jun-2009, 09:54 PM #3
When you open a Terminal you're probably in your home directory. Do pwd to check.

In the attached screenshot (if this works; my first Linux attempt) an ls of my home directory shows that the folder I'd want if I were you is Desktop (case matters).

So your file is probably Desktop/ABCD.rar
Attached Thumbnails
Solved: Extracting files in Unrar-screenshot-terry-di8600-linux-.png  
Newbuntu's Avatar
Computer Specs
Junior Member with 6 posts.
 
Join Date: Jun 2009
Experience: Intermediate
08-Jun-2009, 03:40 AM #4
Hi thanks for the help I finally got it right. Unfortunately unrar said that the rar file I'm trying to open is encrypted and that I need a password for it (which is weird cause I can easily access that rar file before with Winrar).

Anyway at least I'm not going bonkers in how to use it anymore .

Thanks guys for the help.
Reply

Tags
extracting rar files, ubuntu, unrar

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:44 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.