Forum Discussion
Daniel_Wolf
MVP
Better:
[root@bigip01:Active:Standalone] config # sessiondump --allkeys | grep 'session\.logon\.last\.username' | grep john.doe | awk -F'.' '{print $1}'
b24a3ae7
-F'.' will set the delimeter to .
{print $1} will only show the first block until the delimeter of the returned output
Fallout1984
Oct 01, 2021Cirrocumulus
Yes, that works - thanks!