From owner-freebsd-questions Mon Dec 30 7:11:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A70F037B401 for ; Mon, 30 Dec 2002 07:11:29 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF61743EB2 for ; Mon, 30 Dec 2002 07:11:28 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 928ED69; Mon, 30 Dec 2002 16:11:27 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id C1E052FDB68; Mon, 30 Dec 2002 16:11:25 +0100 (CET) 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: <20021230151125.GC348@freepuppy.bellavista.cz> Mail-Followup-To: Ian Watkinson , FreeBSD-questions@FreeBSD.ORG References: <00c301c2b012$adcf7770$0300000a@lyon> <1041260644.61391.10.camel@pan.ehsbrann.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1041260644.61391.10.camel@pan.ehsbrann.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # 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