I was not sure if I can do this.
Suppose I have a file under /tmp
Suppose the file is called any_11_52.txt
If I zip this file using gzip will the user be able to unzip it , if I send it as an attachment in an email.
Secondly is there a command by which we can automattically send an email to xyz with this file as an attachment.?
If we cannot use gzip ....is there any other way of compressing it.
I know I can use winzip utility to do this but I want to automate this in a script.
Your help will be highly appreciated.