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 history command in linux?
What does curl command do in linux?
Explain about the command elm?
How you will uncompress the file?
How to give acl permission in numerical mode on linux?
In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There is a file named as file1.txt. The permission set for the above file is rwx-rw----x. Now the question is only the members of Hr and Marketing group can view and edit the file. But the file is not accessible to the members of Finance Group. Can anyone tell me what would be the exact command for linux.root@localhost#<type the exact linux command>
What does mkdir do in linux?
tell me something about linux commands.
What is the command to check cpu speed in linux?
what is snmp and for what purpose we are using in linux
What does bash stand for?
What is command to check ports running/used over local machine