Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gethostip(1) [centos man page]

GETHOSTIP(1)						      General Commands Manual						      GETHOSTIP(1)

NAME
gethostip -- convert an IP address into various formats SYNOPSIS
gethostip [-dxnf] [HOSTNAME|IP] DESCRIPTION
This manual page documents briefly the gethostip command. The gethostip utility converts the given hostname or IP address into a variety formats. It is provided by the syslinux package to make it easier to calculate the appropriate names for pxelinux configuration files. These filenames can be the complete hexadecimal representation for a given IP address, or a partial hexadecimal representation to match a range of IP addresses. OPTIONS
A summary of options is included below. -d Output the IP address in decimal format. -x Output the IP address in hexadecimal format. -n Output the host's canonical name. -f Full output. Outputs the IP address in all supported formats. Same as -xdn. SEE ALSO
syslinux(1) More details can be found in the pxelinux documentation, which can be found in /usr/share/doc/syslinux/pxelinux.doc.gz on Debian GNU/Linux systems. AUTHOR
This manual page was compiled by dann frazier <dannf@debian.org> for the Debian GNU/Linux system (but may be used by others). GETHOSTIP(1)

Check Out this Related Man Page

GETHOSTIP(1)						      General Commands Manual						      GETHOSTIP(1)

NAME
gethostip -- convert an IP address into various formats SYNOPSIS
gethostip [-dxnf] [HOSTNAME|IP] DESCRIPTION
This manual page documents briefly the gethostip command. The gethostip utility converts the given hostname or IP address into a variety formats. It is provided by the syslinux package to make it easier to calculate the appropriate names for pxelinux configuration files. These filenames can be the complete hexadecimal representation for a given IP address, or a partial hexadecimal representation to match a range of IP addresses. OPTIONS
A summary of options is included below. -d Output the IP address in decimal format. -x Output the IP address in hexadecimal format. -n Output the host's canonical name. -f Full output. Outputs the IP address in all supported formats. Same as -xdn. SEE ALSO
syslinux(1) More details can be found in the pxelinux documentation, which can be found in /usr/share/doc/syslinux/pxelinux.doc.gz on Debian GNU/Linux systems. AUTHOR
This manual page was compiled by dann frazier <dannf@debian.org> for the Debian GNU/Linux system (but may be used by others). GETHOSTIP(1)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

printing format for hexadecimal signed number

Hello Experts,, I m facing a problem as follows.. need help.. When I am giving the below command it gives me three digit hexadecimal number , for ex :- printf("%0.3x", 10); Output: 00a But I want the same for signed number also. Now when I am specifiying the... (10 Replies)
Discussion started by: user_prady
10 Replies

2. UNIX for Dummies Questions & Answers

How to separate First,Middle and Last Name from Full name

How to separate First,Middle and Last Name from Full Name? For Example: I/O :- 1) Ashok Kumar Requied Output: First Name:Ashok Middle Name: Last Name:Kumar I/O :- 2) Ashok K Kumar Requied Output: First Name:Ashok Middle Name:K Last Name:Kumar I/O :- 3) Ashok K R Kumar Requied Output:... (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies

3. UNIX for Advanced & Expert Users

problem creating pxelinux.cfg default file

Hi All, I was trying to create pxelinux.cfg/default file in a script that I use for creating backup of bootimage. cat 2>${BACKUB_BOOTIMAGE_ERRINFO} >${pxelinux_cfg_file} <<EOF prompt 1 timeout 0 display boot.msg label restore kernel kernel append root=/dev/nfs... (0 Replies)
Discussion started by: Pkumar Sachin
0 Replies

4. Red Hat

Interactive PXE Boot Menu

I have been asked to modify our PXE server such that there will be only one entry in the pxelinux.cfg/default file, where the same kernel and initrd.img will be used regardless of what operating system is to be installed, and the user will type in the path to the kickstart file that will be used. ... (7 Replies)
Discussion started by: ceb
7 Replies

5. Debian

The Debian Administrator's Handbook

Hi, would like to share a complete reference about Debian GNU/Linux. TBH, i've never seen a complete reference book like this one here ... http://debian-handbook.info/files/2012/04/front-cover-232x300.png You can get the book with three formats : pdf, epub, mobi. The Debian... (1 Reply)
Discussion started by: love_debian
1 Replies

6. Solaris

Solaris10 and pxeLinux

I want to run solaris10 with my pxelinux server i put on pxelinux.cfg/default this LABEL solaris 10 kernel mboot.c32 append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

7. Shell Programming and Scripting

Bash cript to calculate summarize address

Hi, I need to write a bash script that when i enter two ip address, it will calculate summerize address for them. Examlpe: 192.168.1.27/25 192.168.1.129/25 Result will be: 192.168.1.0/24 can you help me with this script? I even dont know how to start with it (3 Replies)
Discussion started by: Miron
3 Replies

8. Cybersecurity

You are being directed to the US FBI where your IP address and details will also be logged.

Well, I thought I would share this code, which I normally do not share. The logs show this site is currently experiencing some "new hack" maybe attempting a buffer overflow or something similar. So, not really having any patience for this kind of criminal or childish behavior (have a touch... (7 Replies)
Discussion started by: Neo
7 Replies