Re: Re: Files used when a terminal window opens

2007-06-05 Thread Charles Blair

 Thank you.  The bare cd trick was what I needed.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Files used when a terminal window opens

2007-06-03 Thread Charles Blair
   After logging in on a gnome window, I often go to Accessories
and root terminal.  I have several shell variable setting and
some other small tasks at the beginning.  When I first set the
system up, I had a file that did these things for me.  However,
I want to change a few things and I've forgotten what file is supposed
to be  edited.

   I've tried /etc/.profile and /root/.bashrc, among other things,
but I'm still getting the same behavior as before.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Files used when a terminal window opens

2007-06-03 Thread s. keeling
Charles Blair [EMAIL PROTECTED]:
 After logging in on a gnome window, I often go to Accessories
  and root terminal.  I have several shell variable setting and
  some other small tasks at the beginning.  When I first set the
  system up, I had a file that did these things for me.  However,
  I want to change a few things and I've forgotten what file is supposed
  to be  edited.
 
 I've tried /etc/.profile and /root/.bashrc, among other things,
  but I'm still getting the same behavior as before.

Your login startup scripts are where you ought to be looking.
Assuming bash is your login shell, see $HOME/.bashrc,
$HOME/.bash_profile, and $HOME/.profile.  Anything in there will
override/clobber whatever's defined by /etc stuff.

As for root terminals, see the same in $HOME while logged in as root.

FYI, bare cd takes you $HOME.  set will show you what's defined.

Perhaps you ought to supply a better description of the problem.  HTH.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]