gunzip -c not working correctly?

John Pierce linuxfromscratch at
Wed Feb 2 15:45:54 PST 2005

the man page states that -c sends the output to standard output. 
Standard Output is to the terminal (screen). you dont want to do this. 
If you want to gunzip the file just gunzip file.gz. You should have 
google'd standard output if you ran into problems like you did. "ask 
yourself why"

Stephan wrote:
> hi folks!
> i have LFS 6.0 and gunzip is not working as it should.
> gunzip -c file.gz
> should extract the file and leave the original untouched...
> it extracts but also deletes the original.
> is this behavoir known?
> greetz

More information about the lfs-support mailing list