ashish_solanki
Jun 14, 2019Cirrus
Need to apply profile with script
Hi All, Need some help in creating a script in which I have to apply X-forwarded-for feature enabled http profile on already working 100's of VIPs on physical or virtual load balancer. Th...
- Jun 17, 2019
Hello Ashish
1) awk '{ print $3 }' = separate the previous output by spaces and take the third value.
https://en.wikipedia.org/wiki/AWK
2) xargs -l {} = take the stdin (by line) and use it in the next command when characters '{}' are shown.
https://en.wikipedia.org/wiki/Xargs
BTW, I would appreciate if you mark my answer as "the best" or give me some upvote.
KR,
Dario.