UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: valChapter 18
The Source Code Control System
Next: 18.6 Alphabetical Summary of SCCS Commands
 

what

what [option] files

Search files for the pattern @(#) and print the text that follows it. (Typically, files are binary executables.) Actually, the pattern searched for is the value of %Z%, but the get command expands this keyword to @(#). The main purpose of what is to print identification strings.

Option

-s

Quit after finding the first occurrence of a pattern.


Previous: Reference: valUNIX in a Nutshell: System V EditionNext: 18.6 Alphabetical Summary of SCCS Commands
Reference: valBook Index18.6 Alphabetical Summary of SCCS Commands

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System