LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unzipping .1.gz files (https://www.linuxquestions.org/questions/linux-newbie-8/unzipping-1-gz-files-427108/)

budz 03-21-2006 08:26 PM

unzipping .1.gz files
 
how do iunzip .1.gz file?

pixellany 03-21-2006 08:36 PM

Quote:

Originally Posted by budz
how do iunzip .1.gz file?

You have a file like this?: filename.1.gz

to unzip, type: gunzip filename.1.gz

then you'll have filename.1 (whatever that means......:confused: )

budz 03-21-2006 08:44 PM

I did that but it says that permission is denied. How come? I am actually unzipping a n xscreensaver file. Does this have anything to do with it?

pixellany 03-21-2006 09:48 PM

Ok--maybe you need to change the permissions.
ls -l to see what they are
chmod to change them

example:
chmod 755 filename gives full powers to root, and read and execute powers to everyone else. (chmod has to be run by the OWNER of the file--or by root)

spooon 03-21-2006 10:07 PM

or maybe you're in a directory you can't write to, so you can't create the uncompressed file

pixellany 03-21-2006 10:15 PM

permissions are a wonderful thing....;)

I usually just get lazy and do all such tasks as root...


All times are GMT -5. The time now is 08:02 PM.