[plug] putty for Red Hat Linux 7.3

James Devenish devenish at guild.uwa.edu.au
Thu Apr 15 11:05:43 WST 2004


Hi,

In message <00e701c42294$6e1b3ec0$8200a8c0 at dev.himladeon.com>
on Thu, Apr 15, 2004 at 10:50:31AM +0800, Randal Adamson wrote:
> In message <00d301c42285$50b795e0$8200a8c0 at dev.himladeon.com>
> on Thu, Apr 15, 2004 at 09:02:20AM +0800, Randal Adamson wrote:
> > #cat .bash_history | less 
> >In general, the preceding command is better performed as this
> >(in any shell):
> >% less .bash_history
> There's always more than one way to skin a cat, that's what's so cool
> about *nix - but thanks for the heads-up!

Sure, there are lots of ways of doing similar things. In the case of the
above, though, they are actually functionally different. In the former
case, your shell is invoking two programmes and establishing
communication between them. The first disadvantage of this is that it
uses two processes when only one is necessary (slightly inefficient).
Furthermore, 'less' will be unable to provide certain features such as
summarising your position within the document, seeking rapidly to the
end of the "file", supporting editing, etc.





More information about the plug mailing list