Why didn't relative path work on Red Hat Enterprise Linux 5?

Solution Verified - Updated -

Issue

  • Why didn't relative path work on Red Hat Enterprise Linux?
  • It turned out the symlink from /usr/bin/gunzip to /bin/gunzip is broken.  The link is there but shows as red (broken). However, /bin/gunzip is present and works as expected when called directly. Here is an example of such issue:

[root@ser ~]# cd /etc
[root@ser etc]# pwd
/etc
[root@ser etc]# ls ../bin/
ls: ../bin/: No such file or directory

Environment

  • Red Hat Enterprise Linux 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content