LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 04:25 AM   #2
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
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, 05:36 AM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

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

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 06:03 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Yes, it looks like you managed to get a space on the end of the directory name
 
Old 05-26-2010, 07: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, 08:09 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 08:22 AM   #8
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
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, 08:34 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 08:53 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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



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

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

All times are GMT -5. The time now is 11:07 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
Open Source Consulting | Domain Registration