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

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
# / 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

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <>