[SOLVED] Unpacked tar No such file/directory error
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, was wondering if someone could tell me what might be wrong with my centos installation, everytime I try to unpack a tar.gz file, it unpacks it but when I try to cd into that directory to install, it says No such file or directory.
Im trying to install powerdns webinterface and im using this command
tar zxvf powerdns-webinterface-1.5.3.tar.gz
then i try this
and I get -bash: cd: powerdns-webinterface: No such file or directory
I tried with tar -zxvf and a few other varients I found on the forum but I keep getting that error after the files been unpacked. Im using the root user so I should have permission, I can manually create a directory with mkdir
when I check it seems to have extracted the files to web directory, keeps doing this, so I tried installing Poweradmin and it creates the directory Poweradmin but when I try and cd into it it again says -bash: cd: poweradmin: No such file or directory and when I list all the files in the directory with
it lists all files as tar.gz still :/ not unpacked.
Once check the content of the tar file as:-
tar -ztvf powerdns-webinterface-1.5.3.tar.gz
It will list all the content of tar file.
So then check if "powerdns-webinterface" dir. is existing there or not. Also check as it may have a different or little similar name to "powerdns-webinterface".
(Note: tar file contents will be extracted into the current dir.)
Thanks for the help, as knudfl said its cus the files are being extracted to web directory so I had to make a directory like knudfl said for it and extract the files in that directory as the powerdns directory isn't being created by default, which worked thanks very much.