LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-02-2007, 04:21 PM   #1
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Rep: Reputation: 30
Command to access fedora core 6 DVD from terminal


Hey. This may seem like a really stupid questions but I am struggling to access the fedora core 6 DVD that is in my DVD-ROM drive from a terminal. I am kind of new to linux so i am learning as I go.
when I issue the "mount" command it is showing that the DVD has been mounted and I can access it through the GUI. But if I open a terminal and head to the media folder and try and get into the fedora 6 DVD using the "cd" command it says the DVD isn't a file.

The name of the fedora core 6 DVD is: FC_6 i386 DVD
when I issue the CD command it only tries to search for the FC_6. How do I get the CD command to ignore the spaces and look for that entire file name? I figure if I can get it to do that I can actually access the file. Does that make sense? Or am I totally going down the wrong path

Any help would greatly be appreciated.

thanks
todd
 
Old 02-02-2007, 04:30 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Perhaps it isn't mounted in /media. Have a look in /etc/mtab to see what's mounted where
 
Old 02-02-2007, 04:32 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
On second thoughts, if it is mounted there, did you quote the filename with spaces (ie cd "FC_6 i386 DVD")
 
Old 02-02-2007, 04:33 PM   #4
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Original Poster
Rep: Reputation: 30
yeah it is mounted in the /media folder
if i navigate to that folder /media
the files is listed there as: /media/FC_6 i386 DVD
and I cant access it through ternimal because of the spaces....but that is the name of the file it is mounted as.
 
Old 02-02-2007, 04:35 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Sorry - getting out of sync here - should have read OP more carefully - please see post 3
 
Old 02-02-2007, 04:39 PM   #6
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Original Poster
Rep: Reputation: 30
oh man sorry about that. But that is amazing man quoting it worked. I can't believe i didn't think of that man. Thanks so much. you just saved me lol. I have been sitting here stressing about it for like a half hour lol

thanks again man !!

todd
 
Old 02-02-2007, 04:41 PM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
No problem
 
Old 02-03-2007, 12:46 AM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
If you booted the computer with the DVD in the drive it may not be automatically mounted, but there will be an icon on the desktop, double click it and it will get mounted. If the computer is running when you put it in the drive, a window shows up asking if you want to open it, select yes, wait till something shows up before closing the window, if you do not select yes, it will not be mounted.

When navigating directories via command line, using your destination as an example. Change directory to media as such:

cd /media

Hit enter, now to see what to type next use command:

ls

You will see whatever is in the directory, to change into the DVD directory, just type one or two of the first letters/digits and hit Tab on the keyboard and bash will attempt to finish the command as such:

cd FC

Then hit "Tab", and you will see this:

cd FC-6\ i386\ DVD/

Now hit enter to execute and change into the directory, now do the "ls" command again to see what's in there and, you now decide you want to go into Fedora directory, again just type a couple letters or the whole word, since there is only one directory starting with a capital F, just type a capital F and hit "Tab" again to have bash complete it as such:

cd F

Hit "Tab"

cd Fedora

Hit enter, type:

cd R

Hit "Tab"

cd RPMS

Hit enter, now let's say you want to install kernel-devel and kernel-headers packages and want to see what the full package name looks like, the next command will show all packages starting with the word "kernel":

ls kernel*

Hit enter and bash will show you three packages called kernel, kernel-devel and kernel-headers, with full version name of course. Now you know what to type for installing the kernel-devel and kernel-headers packages you want. Now to install kernel-devel package type:

rpm -ivh kernel-d

Hit "Tab" and bash will complete it, hit enter and rpm will install it.

Last edited by Junior Hacker; 02-03-2007 at 01:02 AM.
 
Old 02-05-2007, 02:30 PM   #9
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Junior Hacker
If you booted the computer with the DVD in the drive it may not be automatically mounted, but there will be an icon on the desktop, double click it and it will get mounted. If the computer is running when you put it in the drive, a window shows up asking if you want to open it, select yes, wait till something shows up before closing the window, if you do not select yes, it will not be mounted.

When navigating directories via command line, using your destination as an example. Change directory to media as such:

cd /media

Hit enter, now to see what to type next use command:

ls

You will see whatever is in the directory, to change into the DVD directory, just type one or two of the first letters/digits and hit Tab on the keyboard and bash will attempt to finish the command as such:

cd FC

Then hit "Tab", and you will see this:

cd FC-6\ i386\ DVD/

Now hit enter to execute and change into the directory, now do the "ls" command again to see what's in there and, you now decide you want to go into Fedora directory, again just type a couple letters or the whole word, since there is only one directory starting with a capital F, just type a capital F and hit "Tab" again to have bash complete it as such:

cd F

Hit "Tab"

cd Fedora

Hit enter, type:

cd R

Hit "Tab"

cd RPMS

Hit enter, now let's say you want to install kernel-devel and kernel-headers packages and want to see what the full package name looks like, the next command will show all packages starting with the word "kernel":

ls kernel*

Hit enter and bash will show you three packages called kernel, kernel-devel and kernel-headers, with full version name of course. Now you know what to type for installing the kernel-devel and kernel-headers packages you want. Now to install kernel-devel package type:

rpm -ivh kernel-d

Hit "Tab" and bash will complete it, hit enter and rpm will install it.
Sweet man thanks for the response. I managed to get it to work with the " " marks around the name. It was mounting properly but I just needed to gain access to it through the terminal.

Thanks though that is some useful info!!
 
  


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
Mounting and Other Deficiencies in Fedora Core Terminal sdexp Fedora 2 08-15-2006 11:21 AM
Fedora Core 4, Right Click Desktop, Open Terminal edit prt7u Fedora 1 03-09-2006 01:13 PM
Unable to access command terminal fast enough! Malinux Linux - Software 3 12-29-2005 11:34 AM
Fedora Core 4 Terminal Color placster Linux - Newbie 7 12-14-2005 02:12 PM
can't use x terminal, screen goes fuzzy (Fedora Core 3 64 bit) Dunebot Linux - Laptop and Netbook 1 04-14-2005 10:38 PM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration