[Techtalk] Linux PATH question

ed orphan millward at Ms.UManitoba.CA
Fri Oct 1 11:35:00 EST 2004

I know how to view the Linux PATH; echo $PATH
and how to add more to it using export,
but how do you remove a path from PATH?
Suppose you wanted to remover a directory surrounded by other
directories, like /usr/bin in the PATH below:
I used to be able to edit the PATH directly from .bash_profile
but I can't even find where the PATH is stored in Red Hat.
Yet another "improvement" I don't comprehend.

More information about the Techtalk mailing list