SCIENTIFIC-LINUX-USERS Archives

November 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Fri, 30 Nov 2007 06:49:45 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
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
[log in to unmask]  [log in to unmask]
-- 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:-)

ATOM RSS1 RSS2