2
1
I want to do some grep-magic to a logfile on a remote server and write the result to a local file on my computer.
Is there an easier way than my 3 step solution:
- do
grep
-magic and write file on remote server - copy from remote to local with
scp
- delete the file on remote