Show Table of Contents
4.344. which
An updated which package that fixes one bug is now available for Red Hat Enterprise Linux 6.
The "which" package includes the "which" command that shows the full pathname of a specified program, if the specified program is in your PATH.
Bug Fix
- BZ#671289
- Prior to this update, the /etc/profile.d/which2.csh file caused an alias for the "which" command to be created. As a result, the "which" command included in the "which" package was used instead of the built-in "which" command as included in the C shell (csh). The problem has been fixed in this update by removing the /etc/profile.d/which2.csh file so that the "which" command included in csh is now used as expected.
All users of "which" should upgrade to this updated package, which fixes this bug.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.