Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 16:11:25 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Ian Watkinson <ian.watkinson@ehsbrann.com>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: run once, .profile
Message-ID:  <20021230151125.GC348@freepuppy.bellavista.cz>
In-Reply-To: <1041260644.61391.10.camel@pan.ehsbrann.com>
References:  <00c301c2b012$adcf7770$0300000a@lyon> <1041260644.61391.10.camel@pan.ehsbrann.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# ian.watkinson@ehsbrann.com / 2002-12-30 15:04:04 +0000:
> How does one set something to be only run once, so that if x is
> running somethign in .profile isn't run each time an xwindow is
> started up?

    Put it in .login instead?

    I'm not sure about the filename (shell-dependent anyway), but all
    shells I know (not so many) have one dotfile that's run in login
    shells only, and one that is run in all interactive shells.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021230151125.GC348>