Path command
Phil Dobbin
bukowskiscat at gmail.com
Fri May 3 13:06:53 UTC 2013
On 05/03/2013 06:54 AM, Stephen wrote:
> It seems like my path variable in Ubuntu 12.04 got corrupted some how.
> Programs that I used to start in a terminal are saying path not found or
> /dir/dir/dir/ is not in the path
>
> When I type path in the terminal it says path not found. I thought it
> was like dos and when you typed a variable in the terminal it told you
> what the setting for that variable is.
>
> Is there some way I can restore the path variable?
Another way to investigate your $PATH fully is to issue:
$ env
& that will list everything (& I mean everything).
Furthermore, unless you've written to your bashrc, bash_profile or
profile it may just be temporarily screwed, so open a new terminal
window & see if the problem persists.
Cheers,
Phil...
--
currently (ab)using
CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Beefy, Spherical &
That Damn Cat, Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise,
Quantal & Raring
GnuPG Key : http://www.horse-latitudes.co.uk/publickey.asc
More information about the ubuntu-users
mailing list