Linux Host Command Examples - Linux

How to use host command in linux?

Snippet Code

Rate this page :
  [ 0 votes]

Host command in linux is used to display the information related to DNS. It is used to convert IP address in to names and vice versa. The host command can print a short summary of its command line, when there is no arguments or options are given.

Syntax: --------- host [ -aCdlnrTwv ] [ -c class ] [ -N ndots ] [ -R number ] [ -t type ] [ -W wait ] name Example: ---------- host host


Ask Questions

Ask Question