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



what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / sridhar reddy

hostname -s this for hostname
hostname -d this for domain

Is This Answer Correct ?    27 Yes 8 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / surulinarayanan

hostname -f for fully qualified domain name

Is This Answer Correct ?    19 Yes 7 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / antony

nslookup ip-adress

Is This Answer Correct ?    14 Yes 2 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / nadz

> hostname
> set u
> set l

Is This Answer Correct ?    2 Yes 0 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / ajay

nslookup ipaddress
hostname -i ipaddress


both are working try these two.

Is This Answer Correct ?    1 Yes 0 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / vishal

ping -a <ipaddress>

Is This Answer Correct ?    1 Yes 0 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / mario e ganguenon

hostname
or
vi /etc/sysconfig/network

Is This Answer Correct ?    0 Yes 0 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / atul

host IP

Is This Answer Correct ?    7 Yes 8 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / jeye

ifconfig -a IPaddress

Is This Answer Correct ?    0 Yes 2 No

what command would you use to find the hostname of the server if yo ony have the ip address?..

Answer / pandu

#ifconfig

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Linux Commands Interview Questions

What are grep patterns called?

0 Answers  


How do I use nslookup in linux?

0 Answers  


ls -l ls -t ls -r ls -a ls -ltr ls -u grep error file.txt grep -v error file.txt perl prg.pl | ./file.txt tee chmod +x chmod -x chmod =x ps bg date +%y%m%d ?

0 Answers   HP,


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

0 Answers  


In /boot/grub/grub.conf file there is a line kernel /vmlinuz-version ro root=/dev/sda2, What is the meaning of "/" before vmlinuz? Pls explain?

1 Answers   HCL,






If the programmer wishes to execute an instruction at the specified time. Which command is used?

0 Answers  


What is tty name?

0 Answers  


1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how to restrict su & ssh services for some users? 3. how can we configure a default gateway for 10 n/w cards in a server?

6 Answers  


how to create SAMBA server in fedora 9 linux ?

6 Answers   Wipro,


What is trusted/untrusted operating system?

8 Answers  


tell me something about linux commands.

0 Answers   Ericsson,


What is $@ in bash?

0 Answers  


Categories