I have a grep command like below
zgrep '123_ERROR' xyz.gz
I got lot of huge results where I cannot see top part.
So what is best way to see entire result
how to export results to a file
zgrep '123_ERROR' xyz.gz>>/home/test/testfile.txt
i used above command but i do not seem to have permission to create testfile.txt
how to create above file in one other server whose ip is say 111.1.111.111