LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-26-2010, 05:14 AM   #1
Brenton Pettitt
LQ Newbie
 
Registered: May 2010
Posts: 14

Rep: Reputation: 0
Slackware 12.1 command line


Hello,
I have been away from Linux for some time and I can't sort of believe that I can't now access the command line to undertake a simple installation of the Adobe flash player.
I have created an Adobe folder in the home directory in which I have placed the Adobe tarball but the command line says that there is no Adobe folder.

At root I have issued the following commands but the reply is "no such file or directory";
cd /home
cd /home/Adobe


root@XXXXX:~# ls -l
drwxr-xr-x 2 root root 4096 2010-05-26 16:38 Adobe\ /
drwx------ 2 root root 4096 2010-05-26 16:48 Desktop/
-rw-r--r-- 1 root root 4050435 2010-05-26 17:08 install_flash_player_10_linux.tar.gz

Your help would be appreciated
Thank You
 
Old 05-26-2010, 05:25 AM   #2
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware
Posts: 123

Rep: Reputation: 19
type:
Code:
pwd
in the command line to know your current working directory.i believe that /home directory is where the user directory is stored.maybe that you made the directory in one of those user directory.
 
Old 05-26-2010, 06:36 AM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
What's that backslash doing on the end of the Adobe directory?
 
Old 05-26-2010, 06:38 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
drwxr-xr-x 2 root root 4096 2010-05-26 16:38 Adobe\ /
Try
Code:
cd Adobe
Then hit the TAB KEY
 
Old 05-26-2010, 07:03 AM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 4,091
Blog Entries: 1

Rep: Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541
Yes, it looks like you managed to get a space on the end of the directory name
 
Old 05-26-2010, 08:48 AM   #6
Brenton Pettitt
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
This is the output withTAB;


root@xxxxxx:~# cd Adobe
-bash: cd: Adobe: No such file or directory
root@xxxxxx:~# cd Adobe\ /
root@xxxxxx:~/Adobe # gunzip install flash player 10 linux.tar.gz
gzip: install.gz: No such file or directory
gzip: flash.gz: No such file or directory
gzip: player.gz: No such file or directory
gzip: 10.gz: No such file or directory
gzip: linux.tar.gz: No such file or directory
root@xxxxxx:~/Adobe #

These are the outputs with pwd;

root@xxxxxx:/# pwd
/
root@xxxxxx:/# cd /home
root@xxxxxx:/home# pwd
/home
root@xxxxxx:/home# cd /home/Adobe
-bash: cd: /home/Adobe: No such file or directory
root@xxxxxx:/home# pwd
/home

Any other ideas guys
Thanks
 
Old 05-26-2010, 09:09 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
first, you were in the "Adobe" directory, so I'm not sure of the purpose of the last part of your post.

to avoid any more confusion, I suggest changing the name of that directory like so:

mv Adobe* Adobe (this gets rid of whatever was on the end of the directory name.)

As for the gunzip command, you entered the filename with spaces----gunzip thinks you are giving it 5 filenames to unzip.

Assuming you only have one filename beginning in "install", just do this:

gunzip install*
 
Old 05-26-2010, 09:22 AM   #8
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware
Posts: 123

Rep: Reputation: 19
type:
Code:
cd ~
mv Adobe* Adobe
cd Adobe
gunzip install_flash_player_10_linux.tar.gz
just to summarize what pixellany said.just make sure that tar ball is in the said directory.
 
Old 05-26-2010, 09:34 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Or, in the Adobe directory, enter gunzip ins and then press the tab key. As long as there's only one file starting with ins bash completion will complete the file name, escaping any tricky characters like space.
 
Old 05-26-2010, 09:53 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by jrecortel View Post
type:
Code:
cd ~
mv Adobe* Adobe
cd Adobe
gunzip install_flash_player_10_linux.tar.gz
just to summarize what pixellany said.just make sure that tar ball is in the said directory.
If it's really .tar.gz, then gunzip is not what you need. (I thought OP said "zip")
 
  


Reply


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
slackware command line pipe-ing issue dv105v Linux - Newbie 2 11-19-2008 10:24 AM
slackware login command line isnt working bob jones15 Linux - Newbie 14 03-27-2006 12:42 AM
slackware login command line isnt working bob jones15 Slackware 2 03-21-2006 01:52 PM
How do I install software from the command line on slackware 10.2? v@ny@ Linux - Newbie 8 12-15-2005 04:53 AM
when i start slackware i only have a command line, how do i get to kde Longinus Slackware 8 12-13-2003 11:23 AM


All times are GMT -5. The time now is 04:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration