Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Same issue here: only SSH_CLIENT is defined' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Same issue here: only SSH_CLIENT is defined
Authored by: luomat on Aug 25, '05 08:41:04PM

This is what I use to get REMOTEHOST

REMOTEHOST=`who am i | awk '{print $NF}' | tr -d '(|)'`



[ Reply to This | # ]