what command would you use to find the hostname of the
server if yo ony have the ip address?
Answers were Sorted based on User's Feedback
Answer / sridhar reddy
hostname -s this for hostname
hostname -d this for domain
| Is This Answer Correct ? | 27 Yes | 8 No |
Answer / surulinarayanan
hostname -f for fully qualified domain name
| Is This Answer Correct ? | 19 Yes | 7 No |
Answer / ajay
nslookup ipaddress
hostname -i ipaddress
both are working try these two.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mario e ganguenon
hostname
or
vi /etc/sysconfig/network
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the copy command in linux?
Enlist some linux networking and troubleshooting commands?
Why makefile is used in linux?
what is nis server?
Explain about gzip filename?
What are the command prompt commands?
How do you change file permissions in Linux?
How do I change directories in linux command line?
how to view crond status? If it's show service is not found.
What is umask in linux?
How do you create a text file in linux terminal?
How do I search bash history?