From owner-freebsd-questions Mon May 8 20:26:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id 1F2FC37B8D1 for ; Mon, 8 May 2000 20:26:26 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.9.3/8.9.3) id PAA48707; Tue, 9 May 2000 15:25:12 +1200 (NZST) (envelope-from jonc) Date: Tue, 9 May 2000 15:25:12 +1200 From: Jonathan Chen To: TymbrWlf Cc: freebsd-questions@freebsd.org Subject: Re: Clear Screen Before Logout Message-ID: <20000509152512.A4899@jonc.ntdns.wilsonandhorton.co.n> References: <20000506002431.80314.qmail@hotmail.com> <20000506003209.30255.qmail@hades.hell.gr> <007301bfb959$c60864d0$0200a8c0@tymbrwlf> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <007301bfb959$c60864d0$0200a8c0@tymbrwlf>; from tymbrwlf@bellsouth.net on Mon, May 08, 2000 at 08:56:20PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 08, 2000 at 08:56:20PM -0500, TymbrWlf wrote: > Would there be a good way to set up an alias for that command under the csh > shell? If I put "alias cya clear ; logout" in my .cshrc file, I get put > into a login loop. How would I put multiple commands into an alias? (i.e. > clear and logout, ls and pwd, etc). Just a basic question. "The Complete > FreeBSD" is a little lean on aliases and shell scripting (no offense to Grey > Lehey meant at all;-) Why don't you create a ~/.logout file with the nessary commands in them? -- Jonathan Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message