Tuesday, May 27, 2014

get full hostname and domain name







check-hostname | awk '{ print $NF }'

domainname



No comments:

Post a Comment

Labels