how to view .ascii file?

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Aug 23 07:25:29 PDT 2004


On 2004-08-23 07:16, Bill Schoolcraft <runfreebsd at yahoo.com> wrote:
> Hmm,
>
> Would using the command: zcat <filename> work?

If the file isn't really compressed you can always use just less(1) on it:

	% less filename.ascii

If it is compressed (as the docs of /usr/share/doc usually are), I tend
to prefer something from the commands shown below:

	% zmore filename.ascii.gz
	% zcat filename.ascii.gz | less
	% gzip -cd filename.ascii.gz | less

All these are roughly equivalent to each other.



More information about the freebsd-questions mailing list