Discussion Locked

Directories on RedHat Cd Rom

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello.
How can I find a complete listing of the directories listed on the RedHat 7.0 cdrom.
I am trying to load the rpm finger utility, but cant seem to find the correct name of it.
So is there a way to get a complete listing of the files of thecdrom???
Thanks,,,,,pat

4 replies

by jeffc

You can use the du command and dump the output to a file or grep for the finger rpm. Use it like this:

du --max-depth=100 > ~/rh7.1.txt

Or you could do this:

du --max-depth=100 | grep finger

I use 100 just to make sure you get all of the levels in the directory structure, though I doubt it goes 100 levels deep.

by theword

Hi Jeff.

I hope you get this.
Hey, I tried that command, and it only gave me the amount of files listed on the cd. What I tried was just plain vanilla with the ls command.
I was'nt able to get that grep|finger command to do anything though.

Take care

This discussion is closed to new replies.