View previous topic :: View next topic |
Author |
Message |
wisdom Guest
|
Posted: Sun May 26, 2002 2:00 pm Post subject: /usr/share/doc |
|
|
how do I read files that end on .gz? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klieber Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/71602131143de10f19aaec.jpg)
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun May 26, 2002 2:53 pm Post subject: Re: /usr/share/doc |
|
|
wisdom wrote: | how do I read files that end on .gz? |
use gunzip:
Code: | gunzip /usr/share/doc/<file name>.gz |
then read the file as you would normally.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lunatc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Sun May 26, 2002 3:48 pm Post subject: zcat |
|
|
If you don't want to uncompress it, but just to see it, you can try (for example:)
Code: |
zcat /usr/share/doc/wget-1.8.1/COPYING.gz | less
|
Regards |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|