Path command
Avi Greenbury
lists at avi.co
Fri May 3 09:53:56 UTC 2013
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
Which programs?
> 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.
Nope; in bash you need to echo variables. Also, variables are
case-sensitive and so you're interested in $PATH rather than $path. To
see your current $PATH, you should run
echo $PATH
--
Avi
More information about the ubuntu-users
mailing list