Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-21-2008, 08:29 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
RH8 /usr/bin/mh links to /usr/bin???

I've Googled for this and found where someone else has seen this but no explanation.

#cd /usr/bin
#ls -l mh
lrwxrwxrwx    1 root     root            1 Dec 25  2002 mh -> .
Any explanation of this?

It came up during a tar of /usr where it appeared to go into a loop, backing up /usr/bin under /usr/bin/mh, then under /usr/bin/mh/mh ....

After I noticed that about 10 levels of mh were scrolling on the screen I killed it then removed the link.

Is this link a bug or is there some reason for it to be there?
Old 04-21-2008, 11:03 PM   #2
LQ Newbie
Registered: Apr 2008
Location: Warren, TX
Distribution: slackware 12.0.0
Posts: 4

Rep: Reputation: 0
RE: RH8 /usr/bin/mh links to /usr/bin

Greetings -

I'm not familiar with the file structure of RH (Slackware user), but mh should not be a symbolic link to /usr/bin. Look in your home directory for a .mh_profile file. If it exists, take a gander at this file and see if there is a statement that creates the symbolic link to /usr/bin. MH (Message Handling) should not be a symbolic link to /usr/bin. There could also be a startup script that keeps creating this looping link. I hope that this helps. As a last resort look at the man page for mh or xmh.

Old 04-22-2008, 08:39 AM   #3
LQ Newbie
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0

There were only 4 users that had a .mh_profile, and all of them had only one line which was.

Path: Mail

Oh, and I did come across something that told me that scp can't handle symbolic links so it was the scp I had done prior to the tar that actually created the multiple subdirectories of /usr/bin under /usr/bin/mh.

I've also found this mh link on a RH7 machine, and I believe I've seen a post indicating it was in RH6 as well, but I've yet to find any explanation.

Last edited by brian4xp; 04-22-2008 at 08:48 AM. Reason: Add info


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
what is difference between /usr/bin/7za /usr/bin/7z fakie_flip Linux - Software 9 08-14-2006 09:22 PM
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 09:18 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM
Is it ok to create links between /usr/sbin and /bin binaries? johnnygun Slackware 5 07-14-2004 02:09 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration