Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/share/doc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wisdom
Guest





PostPosted: Sun May 26, 2002 2:00 pm    Post subject: /usr/share/doc Reply with quote

how do I read files that end on .gz?
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun May 26, 2002 2:53 pm    Post subject: Re: /usr/share/doc Reply with quote

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
View user's profile Send private message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Sun May 26, 2002 3:48 pm    Post subject: zcat Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum