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 |
How do you read ext2/3 file system in windows?
How did you do the Health check in Linux?
Explain about kernel file in linux?
How will you execute a java program inside a kornshell script?
what are the Linux-based security tools?
How do you open a command prompt when issuing a command?
What Command used to lock user password?
How to hide the partition in GRUB booting? (This technique is required when you have more that one Windows system on different partitions of the same disk, let us say the first and second partitions of the first hard drive, to boot from the first partition you must hide the second one)
What is history command in linux?
You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?
What is the command to remove Lvm ,Pv and vg
12 Answers Tech Mahindra, TNS,
What is clang linux?