SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, gzip will let you do this. If you simply run gzip > foo.gz, it will compress STDIN to the file foo.gz. You can also pipe data into it, like some_command | gzip > foo.gz.
gzip
gzip > foo.gz
some_command | gzip > foo.gz