LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-07-2009, 08:02 PM   #1
runfast789
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
can't "see" .tar.gz files on desktop from terminal


Hello. I'm pretty sure this is a linux question and not specific to Ubuntu 9.04 which I am currently running.
I've downloaded potential printer drivers for my printer (saved to myname/desktop). The installation instructions have me create a directory and move the .tar.gz file into it using terminal. The error I get says

myname@myname-desktop:~$ mkdir lexmark
myname@myname-desktop:~$ mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark
mv: cannot stat `CJLZ600LE-CUPS-1.0-1.TAR.gz': No such file or directory

I can see the .tar file and the lexmark folder on my desktop. Am I in the wrong place in the terminal? If I run "dir" in the terminal it lists all the files on my desktop except all of the .tar.gz.


Any help would be appreciated to clear up my error message.
 
Old 08-07-2009, 08:19 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Your desktop is generally a directory named Desktop (case sensitive), not myname-desktop.
 
Old 08-07-2009, 11:59 PM   #3
sandbish
LQ Newbie
 
Registered: Apr 2008
Posts: 25

Rep: Reputation: 15
One more thing u can do...jst uncompress the .tar.gz file from gui..and after that try to move ionto that folder...wish u all d best
 
Old 08-08-2009, 12:07 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by runfast789 View Post
Hello. I'm pretty sure this is a linux question and not specific to Ubuntu 9.04 which I am currently running.
I've downloaded potential printer drivers for my printer (saved to myname/desktop). The installation instructions have me create a directory and move the .tar.gz file into it using terminal. The error I get says

myname@myname-desktop:~$ mkdir lexmark
myname@myname-desktop:~$ mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark
mv: cannot stat `CJLZ600LE-CUPS-1.0-1.TAR.gz': No such file or directory

I can see the .tar file and the lexmark folder on my desktop. Am I in the wrong place in the terminal? If I run "dir" in the terminal it lists all the files on my desktop except all of the .tar.gz.


Any help would be appreciated to clear up my error message.
Is your machine called myname-desktop???? In any event you ran the mv command from your home directory (that's what the "~" means so if the tarball is on your desktop then this command will fail.
Code:
myname@myname-desktop:~$ mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark
instead the command should be
Code:
myname@myname-desktop:~$ mv ~/Desktop/CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark
and you need to run that command from your home directory. OTOH, if you run this command
Code:
myname@myname-desktop:~$ mv ~/Desktop/CJLZ600LE-CUPS-1.0-1.TAR.gz ~/lexmark
then it doesn't matter what folder you run it from.
cheers,
jdk
 
Old 08-18-2009, 09:24 AM   #5
runfast789
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Smile

Thanks everyone. I used jdk's suggestions and got everything to work (well the printer still isn't working but that's another story). Context sensitive was the solution. Thanks again for the quick responses.
 
  


Reply

Tags
stat, terminal


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"tar -xzf" error: "tar.child died with signal 13" vlsi Linux - General 4 05-26-2009 02:04 AM
Missing "./configure" executables preventing successful install of tar files ajaygoeslinux Linux - Enterprise 9 05-11-2009 03:59 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
How to "cp" or "rm" or "tar" all the files except a certain file? cqmyg5 Slackware 7 04-07-2006 02:45 PM
How to install from ".tar.gz" files or from source file in FC3 firewiz87 Linux - Newbie 2 03-05-2006 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration