[Nottingham] Shell programming

Paul Sladen notlug at paul.sladen.org
Sat Dec 18 14:46:13 GMT 2004


On Fri, 17 Dec 2004, Roger Light wrote:
> On a related note - are there any commands you use that are very useful 
> but might not be well known?  [...]
> 
> This message has been scanned but we cannot guarantee that it and any
> attachments are free from viruses or other damaging content: you are
> advised to perform your own checks.  Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.

  head -n -4

is good for negatively stripping the last n lines off a file;  for example
removing worthless and pointless disclaimers...  :-)

	-Paul
-- 
Is there no safe way to travel?  London, GB





More information about the Nottingham mailing list