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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.