Path command

Tom H tomh0665 at gmail.com
Fri May 3 23:07:20 UTC 2013


On Fri, May 3, 2013 at 3:19 PM, Stephen <stephen_o at bell.net> wrote:
> On Fri, 2013-05-03 at 08:20 -0400, Tom H wrote:
>> On Fri, May 3, 2013 at 4:14 AM, Patrick Asselman <iceblink at seti.nl> wrote:
>>> On 2013-05-03 09:31, Colin Law wrote:
>>>> On 3 May 2013 06:54, Stephen <stephen_o at bell.net> 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?
>>>>
>>>> echo $PATH
>>>> to see what it is
>>>
>>> Check your ~/.profile and your ~/.bashrc and maybe even your ~/.login file
>>> to see if the $PATH variable is overwritten by anything weird. If it's not
>>> there, your /etc/profile or /etc/bashrc might contain something funny.
>>
>> "~/.login" is for csh or tcsh; so rather than check the files that I
>> listed earlier, you'd have to look at "/etc/csh.login", "~/. cshrc",
>> "~/.login", "~/.tcshrc" as well as the two "profile" files.
>
> There is no csh.login file in the directory /etc/

I only mentioned it in case you were using csh or tcsh.


> I forgot to mention that I installed the classic Gnome desktop because I
> didn't like the Unity interface, but I like Gnome.

?




More information about the ubuntu-users mailing list