zrun - automatically uncompress arguments to command
zrun command file.gz [...]
Prefixing a shell command with "zrun" causes any compressed files that are arguments of the command to be transparently uncompressed to
temp files (not pipes) and the uncompressed files fed to the command.
This is a quick way to run a command that does not itself support compressed files, without manually uncompressing the files.
The following compression types are supported: gz bz2 Z xz lzma lzo
If zrun is linked to some name beginning with z, like zprog, and the link is executed, this is equivalent to executing "zrun prog".
Modifications to the uncompressed temporary file are not fed back into the input file, so using this as a quick way to make an editor
support compressed files won't work.
Copyright 2006 by Chung-chieh Shan <firstname.lastname@example.org>
moreutils 2010-04-28 ZRUN(1)
Check Out this Related Man Page
ZDIFF(1) General Commands Manual ZDIFF(1)NAME
zcmp, zdiff - compare compressed files
zcmp [ cmp_options ] file1 [ file2 ]
zdiff [ diff_options ] file1 [ file2 ]
Zcmp and zdiff are used to invoke the cmp or the diff program on files compressed via gzip. All options specified are passed directly to
cmp or diff. If only one file is specified, then it is compared to a file with the same name without the .gz extension. If two files are
specified, then they are uncompressed if necessary and fed to cmp or diff. The exit status from cmp or diff is preserved.
When both files must be uncompressed before comparison, the second is uncompressed to /tmp. In all other cases, zdiff and zcmp use only a
SEE ALSO cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)BUGS
Messages from the cmp or diff programs refer to temporary filenames instead of those specified.
I would like to be able to send a link address from a unix script. So for example I have web address "www.xyzrunreport.com" that I want to execute, for lack of a better word, from a unix script. When this web address is hit, it starts some automated report processing. In the unix script I dont need... (4 Replies)
I'm doing some labs regarding password cracking on Linux machines. I took the shadow file from one of my virtual machines and it looks like below:
From my understanding the most important piece regarding password cracking on linux... (1 Reply)
So, I want to, in a script, do an in-line replacement of a line in a file. Piece of cake in Linux with GNU sed. With OSX and BSD sed, not so much. I've been Googling, but nothing is really helping... either an answer is for a use case different enough from what I want to do, or it's something... (10 Replies)
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
I am trying to install git on RHEL 6. From the research I have done I should be able to just say:
sudo yum install git
but it is not working (it says no package git is available). I am fairly new to linux and cannot figure this out.
Thanks for any help you can provide. (7 Replies)