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 are two functions the move mv command can carry out?
Which command puts a script to sleep untill a signal is recieved?
What is filter command in unix?
what is the command to make a process to run in the foreground from background?
when i create SAMBA server it is ok but while i try for access from windows pc he ask me only first time smb password then i close samba login next time he can`t ask for passwd why.?
Enlist some linux to file content commands?
What is the difference between rmdir and rm r?
Difference between swap partition and swap file?
what is the difference between service and process?
how to see the system configuration in your linux system?
script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
Which command would you use to create a file system on a new hard drive?