Print this page
[mq]: file

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/file.1
          +++ new/usr/src/man/man1/file.1
↓ open down ↓ 5 lines elided ↑ open up ↑
   6    6  .\"  This notice shall appear on any product containing this material.
   7    7  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   8    8  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   9    9  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  10   10  .TH FILE 1 "May 15, 2006"
  11   11  .SH NAME
  12   12  file \- determine file type
  13   13  .SH SYNOPSIS
  14   14  .LP
  15   15  .nf
  16      -\fB/usr/bin/file\fR [\fB-dh\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
       16 +\fB/usr/bin/file\fR [\fB-dhs\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
  17   17  .fi
  18   18  
  19   19  .LP
  20   20  .nf
  21      -\fB/usr/bin/file\fR [\fB-dh\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] \fB-f\fR \fIffile\fR
       21 +\fB/usr/bin/file\fR [\fB-dhs\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] \fB-f\fR \fIffile\fR
  22   22  .fi
  23   23  
  24   24  .LP
  25   25  .nf
  26   26  \fB/usr/bin/file\fR \fB-i\fR [\fB-h\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
  27   27  .fi
  28   28  
  29   29  .LP
  30   30  .nf
  31   31  \fB/usr/bin/file\fR \fB-i\fR [\fB-h\fR] \fB-f\fR \fIffile\fR
  32   32  .fi
  33   33  
  34   34  .LP
  35   35  .nf
  36   36  \fB/usr/bin/file\fR \fB-c\fR [\fB-d\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR]
  37   37  .fi
  38   38  
  39   39  .LP
  40   40  .nf
  41      -\fB/usr/xpg4/bin/file\fR [\fB-dh\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
       41 +\fB/usr/xpg4/bin/file\fR [\fB-dhs\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
  42   42  .fi
  43   43  
  44   44  .LP
  45   45  .nf
  46      -\fB/usr/xpg4/bin/file\fR [\fB-dh\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] \fB-f\fR \fIffile\fR
       46 +\fB/usr/xpg4/bin/file\fR [\fB-das\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] \fB-f\fR \fIffile\fR
  47   47  .fi
  48   48  
  49   49  .LP
  50   50  .nf
  51   51  \fB/usr/xpg4/bin/file\fR \fB-i\fR [\fB-h\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
  52   52  .fi
  53   53  
  54   54  .LP
  55   55  .nf
  56   56  \fB/usr/xpg4/bin/file\fR \fB-i\fR [\fB-h\fR] \fB-f\fR \fIffile\fR
↓ open down ↓ 90 lines elided ↑ open up ↑
 147  147  .sp
 148  148  .ne 2
 149  149  .na
 150  150  \fB\fB-i\fR\fR
 151  151  .ad
 152  152  .RS 12n
 153  153  If a file is a regular file, this option does not attempt to classify the type
 154  154  of file further, but identifies the file as a "regular file".
 155  155  .RE
 156  156  
      157 +.sp
      158 +.ne 2
      159 +.na
      160 +\fB\fB-s\fR\fR
      161 +.ad
      162 +.RS 12n
      163 +If a file is a block device or a character device, this option attempts to
      164 +classify the contents of the device as if it were a regular file.
      165 +.RE
      166 +
 157  167  .sp
 158  168  .ne 2
 159  169  .na
 160  170  \fB\fB-m\fR \fImfile\fR\fR
 161  171  .ad
 162  172  .RS 12n
 163  173  .sp
 164  174  .ne 2
 165  175  .na
 166  176  \fB\fB/usr/bin/file\fR\fR
↓ open down ↓ 133 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX