---
name: "ip2hostname"
section: "1"
platform: "linux"
package: "flowscan"
version: "1.006-13.2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/ip2hostname"
---

# ip2hostname(1)

converts IP addresses to their respective hostnames

## NAME

ip2hostname - converts IP addresses to their respective hostnames

## SYNOPSIS

**ip2hostname \[-h\] \[ -p printf\_format \] \[ \[-i extension\] file \[...\] \]**

## DESCRIPTION

| | |
| --- | --- |
| -h | help (shows this usage information) (mnemonic: 'h'elp) |
| -p printf\_format | use this printf format for IP address and hostname, respectively. The default format is '%.0s%s', which supresses the printing of the IP address (i.e. "%.0s" specifies printing a string with a maximum width of zero). To maintain column widths (since both the IP address and hostname vary in lenght), a format like this may be useful: '%-16.16s %-20s' (mnemonic: 'p'rintf format) |
| -i extension | edit the files in place (rather than sending to standard output) This option requires file name(s) argument(s). The extension is added to the name of the old file to make a backup copy. If you don't wish to make a backup, use "-I". (mnemonic: edit 'i'n place) |
| -I | like "-i" but no backup is made. (mnemonic: edit 'I'n place, trusting this script 'I'mplicitly. ;^) |

## SEE ALSO

[**add\_ds.pl**(1)](/add_ds.pl/1.md), [**add\_txrx**(1)](/add_txrx/1.md), [**event2vrule**(1)](/event2vrule/1.md), [**flowscan**(1)](/flowscan/1.md), [**locker**(1)](/locker/1.md)

## AUTHOR

This manual page was written by Anibal Monsalve Salazar, for the Debian Project.
