tail head cat sleep
QR code linking to this page

Manual Pages  — WHAT


what – show what versions of object modules were used to construct a file



what [-qs] [file ...]


The what utility searches each specified file for sequences of the form "@(#)" as inserted by the SCCS source code control system. It prints the remainder of the string following this marker, up to a NUL character, newline, double quote, ‘>’ character, or backslash.

The following options are available:
  Only output the match text, rather than formatting it.
  Stop searching each file after the first match.


Exit status is 0 if any matches were found, otherwise 1.


ident(1), strings(1)


The what utility conforms to IEEE Std 1003.1-2001 ("POSIX.1"). The -q option is a non-standard FreeBSD extension which may not be available on other operating systems.


The what command appeared in BSD 4.0 .


This is a rewrite of the SCCS command of the same name, and behavior may not be identical.

WHAT (1) December 14, 2006

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes