pabloramos
Enthusiast
Enthusiast

Run SSH Command workflow with a pipe

I am looking to run the Run SSH command workflow and pass it the following command: /somepath/script.pl -l | awkit 5 This command will run on a RHEL6 host. I am guessing I need to escape the "pipe" or the awk command maybe. Has anyone done this?

0 Kudos
1 Reply
iiliev
VMware Employee
VMware Employee

Are you getting an error when you try to run the command as is?

I recall I used this workflow a few times with a pipe between simple Linux commands (eg. something like ls -la | sort) and no escaping was needed.

0 Kudos