LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-08-2007, 09:16 AM   #1
elitt2
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
How to find the path to the "Mount" executable file in RHEL4?


Thank you in advance for your assistance.

I am taking a Linux Administration class and I am having some difficulty with determining the path to the mount executable file. I need the path so that I can query the rpm to determine which rpm I need to reinstall to get my system back up. I tried the following command but got several errors:

find / -name mount

I am running in linux rescue mode.

Thank you,
Erik
 
Old 10-08-2007, 09:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
try "which mount" or "whereis mount" it should definitely be /sbin/mount

if you had errors, you really should tell us what they are...
 
Old 10-08-2007, 09:30 AM   #3
elitt2
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Here are the errors:

find: /proc/1/task: Permission denied
find: /proc/2/task: Permission denied
find: /proc/3/task: Permission denied
find: /proc/4/task: Permission denied
find: /proc/5/task: Permission denied
find: /proc/16/task: Permission denied
find: /proc/17/task: Permission denied
find: /proc/34/task: Permission denied
find: /proc/35/task: Permission denied
find: /proc/36/task: Permission denied
find: /proc/37/task: Permission denied
find: /proc/183/task: Permission denied
find: /proc/407/task: Permission denied
find: /proc/424/task: Permission denied
find: /proc/425/task: Permission denied
find: /proc/495/task: Permission denied
find: /proc/512/task: Permission denied
find: /proc/513/task: Permission denied
find: /proc/539/task: Permission denied
find: /proc/545/task: Permission denied
find: /proc/586/task: Permission denied
find: /proc/630/task: Permission denied
find: /proc/631/task: Permission denied
find: /proc/632/task: No such file or directory
find: /proc/633/task: Permission denied

Thanks again, I will try the commands that you suggested.
 
Old 10-08-2007, 10:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
those errors are not a problem, ignore them.
 
Old 10-08-2007, 10:22 AM   #5
elitt2
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Your command worked. Thanks again for your help.
 
  


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
"list dynamic dependency" of an executable using command other than "ldd" Amrita@3086 Solaris / OpenSolaris 3 04-04-2007 04:56 AM
is there any way to find which executable is using a paricular ".so" file Amrita@3086 Solaris / OpenSolaris 10 03-29-2007 03:40 PM
"fc5" mount does not recognize "smbfs" file system? bdplays Linux - Networking 6 06-28-2006 11:21 AM
Where can I find the "patch" executable ? chatguy Linux - Newbie 4 03-15-2004 01:32 AM
Pre-Build Executable "No Such File or Directory" problem Archeress Linux - General 2 08-17-2002 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:04 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