Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 15:25:12 +1200
From:      Jonathan Chen <Jonathan.Chen@itouch.co.nz>
To:        TymbrWlf <tymbrwlf@bellsouth.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Clear Screen Before Logout
Message-ID:  <20000509152512.A4899@jonc.ntdns.wilsonandhorton.co.n>
In-Reply-To: <007301bfb959$c60864d0$0200a8c0@tymbrwlf>; from tymbrwlf@bellsouth.net on Mon, May 08, 2000 at 08:56:20PM -0500
References:  <20000506002431.80314.qmail@hotmail.com> <20000506003209.30255.qmail@hades.hell.gr> <007301bfb959$c60864d0$0200a8c0@tymbrwlf>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>


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?20000509152512.A4899>