Date: Thu, 10 Jan 2002 16:54:15 +1100 From: Greg Lane <gregory.lane@anu.edu.au> To: Chris Fedde <chris@fedde.littleton.co.us> Cc: freebsd-questions@FreeBSD.org Subject: Re: sshd Banner option Message-ID: <20020110165415.A29024@nucl03.anu.edu.au> In-Reply-To: <200201100540.g0A5eKO09982@fedde.littleton.co.us>; from chris@fedde.littleton.co.us on Wed, Jan 09, 2002 at 10:40:20PM -0700 References: <20020110153936.A28566@nucl03.anu.edu.au> <200201100540.g0A5eKO09982@fedde.littleton.co.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 09, 2002 at 10:40:20PM -0700, Chris Fedde <chris@fedde.littleton.co.us> wrote: > On Thu, 10 Jan 2002 15:39:36 +1100 Greg Lane wrote: > +------------------ > | 1>xxxxx@yyyyy:~$ more /etc/ssh/sshd_config | grep Banner > +------------------ > > This is not intended as a slam on anyone. I just want to point out > that this command line is a little odd. More(1) will work this way > but but that is kind of a degradation of it's main function as a > pager. cat(1) is the more canonical way to dump files into pipes. > The most common way to write this command line is to use grep > directly: > > grep Banner /etc/ssh/sshd_config > Yeah, but when you've just typed "more" to use its main function as a pager to scroll through and find the relevant line, its pretty easy to bring back the command and add a grep on the end isn't it..... 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?20020110165415.A29024>