[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Aggiungere Gateway



mailing - effem scrisse:

> zcat /usr/share/doc/ifupdown/examples/network-interfaces | less

Permettimi di risparmiarti qualche ciclo di CPU e un po' di usura su
tastiera e polpastrelli:
`zless  /usr/share/doc/ifupdown/examples/network-interfaces`

Molto spesso puoi aprire file compressi direttamente con less:
`less  /usr/share/doc/ifupdown/examples/network-interfaces.gz`

Il trucco in questo caso sta nell'avere impostata la variabile
$LESSOPEN con un filtro intelligente (su Debian e
derivate è /usr/bin/lesspipe)... man less nell'evenienza.

> Ciao,
> effeM

Ciao, Luca

P.S. http://www.greenend.org.uk/rjk/2001/04/shell.html#redundantcat

--
 .''`.  ** Debian GNU/Linux **  | Luca Bruno
: :'  :   The Universal O.S.    | luca.br(AT)uno.it
`. `'`  			| GPG Key ID: 3BFB9FB3
  `-     http://www.debian.org 	| Proud Debian GNU/Linux User

Attachment: pgpdEDyD40GiU.pgp
Description: PGP signature


Reply to: