James Harrison wrote:
On Thu, 2007-11-29 at 14:39 -0300, Pedro Ferreira wrote:
I have done something wrong with a bashrc file. I added a line at the
end of the file:
export PATH=/home/.../:$ PATH

and apparently that worked fine, I could run that application from
everywhere. But when I logged out and tryed to log in again, I
couldn't. There was that "less than 10 seconds session" warning.
Anybody knows how I should modify  the file and which file should I
modify? Someone told me to modify the ".bashrc" file, but that does
not exis on my pc.

Thanks,
            Pedro Ferreira.





I'm not understanding how your situation is possible. How did you modify
the .bashrc file to edit your $path if you don't have a .bashrc file?

That's not what he said.

The .bashrc file is in the user's home directory.

I generally create ~/bin for users that matter, and put their private executables in there.

These days, that's added to users' PATH automatically.


The command shown above shouldn't work as typed; it does pre-pend to
$path it prepends to $ and then has the word PATH in there. Is that just
a typo?

I'm doubtful about those dots too.


--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

Reply via email to