What is the code for compressing files using pkzip ?

hi everyone ,

       Can someone provide me a shell program to compress and decompress files using gzip , i dont know anything in shell programming , this code is a part of my project.

So can someone help with me the code ?

I don't have pkzip available but it seems to be like any other compression tool. For simple usage there is no need of a shell script or shell scripting tools. Tell more details where you got stuck or maybe google for it and try it out.

I will try and reply ......

---------- Post updated at 08:56 PM ---------- Previous update was at 07:26 PM ----------

zaxxon ,
this is the question :

 7.	Create a script which compresses all files individually in a given directory and all its subdirectories using gzip. This is handy for saving space on a system where files containing documentation for programs installed on the system can be compressed. Try compressing all html, txt and pdf files in /usr/share/doc and its subdirectories using this script.  

I request you to change topic heading from "pkzip" to "gzip"