a good way to save a keystroke?

Ceri Davies setantae at submonkey.net
Fri Nov 21 09:05:00 PST 2003


On Fri, Nov 21, 2003 at 11:44:22AM -0500, Marty Landman wrote:
> I wanted to look at a file and figured why not pipe the output of which to 
> more, which of course didn't work so I figured if I backticked the which 
> output with more in front that would work, and apparently it does (though 
> I'm not sure that the cmd itself wasn't executed?).
> 
> e.g. more `which apachectl`
> 
> Is this a reasonable way to get what I'm after, or a bad thing?

That's fine.  The command that gets executed is which, not apachectl, so
there's no need to worry on that account.

Ceri

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031121/b1e1c0b8/attachment.bin


More information about the freebsd-questions mailing list