Gzip usage

From raju

run gzip and gunzip from different directories

user@hostname ~ % cd x
user@hostname ~/x % ls junk45.txt*
junk45.txt
user@hostname ~/x % gzip junk45.txt
user@hostname ~/x % ls junk45.txt*
junk45.txt.gz
user@hostname ~/x % gunzip junk45.txt.gz
user@hostname ~/x % ls junk45.txt*
junk45.txt
user@hostname ~/x % cd
user@hostname ~ % gzip x/junk45.txt
user@hostname ~ % ls x/junk45.txt*
x/junk45.txt.gz
user@hostname ~ % gunzip x/junk45.txt.gz
user@hostname ~ % ls x/junk45.txt*
x/junk45.txt