Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-03-2011, 03:56 AM
|
#1
|
Member
Registered: Oct 2004
Location: LH
Posts: 648
Rep:
|
tar.gz not extracting
I have downloaded a tar.gz file in my home direcrory.when I try to extract the file it show following erroe message.
Code:
[root@localhost home]#tar xvf blablabla.tar.gz
tar (child): blablabla.tar.gz:cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar child returned status 2
tar: Error exit delayed from previos error
[root@localhost home]#
Kindly guide me.
garden
|
|
|
02-03-2011, 04:39 AM
|
#2
|
Senior Member
Registered: Dec 2008
Posts: 4,732
|
and what do you get when you run
Code:
file blablabla.tar.gz
?
|
|
|
02-03-2011, 04:45 AM
|
#3
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
1) verify that the file exists in the working directory
2) make sure you wrote the filename correctly; try to ensure that it doesn't contain any characters that might either not print (well/at all) or may confuse your shell (characters that need to be escaped); to play safe, enclose the filename in double quotes, or use tab-completion (if available) which ensures you get it right.
3) make sure you have a "clean" command line, i.e., that there are no non-printing characters already typed when you start typing the command. I face quite often this problem when working on ssh between different machines, that sometimes the command line shows nothing (looks empty) but really contains some character(s) that simply do not print. In this case they mess up the commands typed in. To be clear, press Enter a couple of times to get a clean line.
|
|
|
02-03-2011, 04:45 AM
|
#4
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
tar (child): blablabla.tar.gz:cannot open: No such file or directory
|
Te file is not where you think it is (your /home) directory
what is the output from
Kind regards
|
|
1 members found this post helpful.
|
02-03-2011, 04:51 AM
|
#5
|
Senior Member
Registered: Dec 2008
Posts: 4,732
|
ahh, yes, so first of all you should do:
Code:
locate blablabla.tar.gz
|
|
|
02-03-2011, 04:58 AM
|
#6
|
Member
Registered: Oct 2004
Location: LH
Posts: 648
Original Poster
Rep:
|
thanks a lot for the guidance. Yes my problem is solve now.
|
|
|
02-03-2011, 05:05 AM
|
#7
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
Originally Posted by Anisha Kaul
ahh, yes, so first of all you should do:
Code:
locate blablabla.tar.gz
|
This only works if the database is updated, using updatedb, after the file was downloaded.
Better to use
Code:
find /home/user -name blablabla.tar.gz[
Kind regards
|
|
|
All times are GMT -5. The time now is 06:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|