Hi
I am trying to compress a file. But I want my original file to be there.
eg. if I have file named file1
then after compressing I should have 2 files:
file1
file1.z
(I googled and tried gzip and zcat but couldn't do it)
Thanks
Hi
I am trying to compress a file. But I want my original file to be there.
eg. if I have file named file1
then after compressing I should have 2 files:
file1
file1.z
(I googled and tried gzip and zcat but couldn't do it)
Thanks
Jump to Postdid you try looking at the man page for gzip?
did you try looking at the man page for gzip?
>>gzip -c file1>>file1.gz
e.g
>>gzip -c hello.c>>hello.gz
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.