Forum Discussion
Need to apply profile with script
- 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.
Hi Dario,
Thanks for the script it worked perfectly as I wanted.
Can you help me understand few things in the script :
- In awk '{ print $3 }' what is print $3
- xargs -I {} --> please help me understand this
Thanks again for your help.
Best Regards
Ashish Solanki
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com