Originally Posted by frankbell
I heard about it on smlr
Thank you frankbell, that is the exact thing I was searching.
I want to store the IP in variable and this is the perfect command even I have not to use sed or awk to detect only IP string because it prints only IP.
Sorry I did not see the link you sent to me, I saw only php code and it was not working for me but link gave the same solution.
Thank you to you too for getting my question.