GNU Info

Info Node: (find.info)Type

(find.info)Type


Next: Owner Prev: Size Up: Finding Files
Enter node , (file) or (file)node

Type
====

 - Test: -type c
     True if the file is of type C:

    `b'
          block (buffered) special

    `c'
          character (unbuffered) special

    `d'
          directory

    `p'
          named pipe (FIFO)

    `f'
          regular file

    `l'
          symbolic link

    `s'
          socket

    `D'
          door (Solaris)

 - Test: -xtype c
     The same as `-type' unless the file is a symbolic link.  For
     symbolic links: if `-follow' has not been given, true if the file
     is a link to a file of type C; if `-follow' has been given, true
     if C is `l'.  In other words, for symbolic links, `-xtype' checks
     the type of the file that `-type' does not check.  Note: Symbolic
     Links, for more information on `-follow'.


automatically generated by info2www version 1.2.2.9