# phpman > man > pnmfile(1)

> **TLDR:** This command has been superseded by `pamfile`.
>
- View documentation for the current command:
  `tldr pamfile`

*Source: tldr-pages*

---

[pnmfile(1)](https://www.chedong.com/phpMan.php/man/pnmfile/1/markdown)                             General Commands Manual                            [pnmfile(1)](https://www.chedong.com/phpMan.php/man/pnmfile/1/markdown)



## NAME
       pnmfile - describe a portable anymap

## SYNOPSIS
       **pnmfile** [**-allimages**] [_pnmfile_ _..._]


## DESCRIPTION
       Reads  one  or  more Netpbm files as input.  Writes out short descriptions of the image type,
       size, etc.  This is mostly for use in shell  scripts,  so  the  format  is  not  particularly
       pretty.


## OPTIONS
### -allimages
              Describe  every image in each input file.  Without this option, **pnmfile** describes only
              the first image in each input file.  Note that before July 2000, a file could not con‐
              tain more than one image and many programs ignore all but the first.


## SEE ALSO
       [**pnm**(5)](https://www.chedong.com/phpMan.php/man/pnm/5/markdown), [**file**(1)](https://www.chedong.com/phpMan.php/man/file/1/markdown)


## AUTHOR
       Copyright (C) 1991 by Jef Poskanzer.



                                            18 June 2000                                  [pnmfile(1)](https://www.chedong.com/phpMan.php/man/pnmfile/1/markdown)
