[aclug-L] Re: Executing commands at first login
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Dec 20, 1999 at 08:59:21PM -0600, Jeff wrote:
>
> Yes. Bash doesn't know the difference between your first login shell
> and your 4th. I'd suggest changing it so that your normal xterms
> aren't login shells, or if you don't like that, put some brains into
> .bash_profile to figure out if this is the first login or not.
Thanks Jeff.
I've casually going through Beginning Linux Programming and I am in
the shell programming section so this will be a good exercise. Should
be easy enough since printenv shows the SHLVL variable.
Thanks for the tip.
- Nate >>
--
Packet | N0NB @ WF0A.#SCKS.KS.USA.NOAM | "None can love freedom
Internet | ka0rny@xxxxxxxxxx | heartily, but good
Location | Wichita, Kansas USA EM17hs | men; the rest love not
Wichita area exams; ham radio; Linux info @ | freedom, but license."
http://www.qsl.net/n0nb/ | -- John Milton
|
|