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 grep patterns called?
How do I use nslookup in linux?
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 ?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
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?
If the programmer wishes to execute an instruction at the specified time. Which command is used?
What is tty name?
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?
how to create SAMBA server in fedora 9 linux ?
What is trusted/untrusted operating system?
tell me something about linux commands.
What is $@ in bash?