linux敕令总结之state敕令

  1 [root@Gin scripts]# man stat

  2 STAT(1) User Commands STAT(1)

  3

  4 NAME

  5 stat - display file or file system status

  6

  7 SYNOPSIS

  8 stat [OPTION]... FILE...

  9

  10 DESCRIPTION

  11 Display file or file system status.

  12

  13 -L, --dereference

  14 follow links

  15

  16 :

  17 STAT(1) User Commands STAT(1)

  18

  19 NAME

  20 stat - display file or file system status

  21

  22 SYNOPSIS

  23 stat [OPTION]... FILE...

  24

  25 DESCRIPTION

  26 Display file or file system status.

  27

  28 -L, --dereference

  29 follow links

  30

  31 -Z, --context

  32 print the SELinux security context

  33

  34 -f, --file-system

  35 display file system status instead of file status

  36

  37 -c --format=FORMAT

  38 use the specified FORMAT instead of the default; output a newline

  39 after each use of FORMAT

  40

  41 --printf=FORMAT

  42 like --format, but interpret backslash escapes, and do not output a

  43 mandatory trailing newline. If you want a newline, include \n in

  44 FORMAT.

  45

  46 -t, --terse

  47 print the information in terse form

  48

  49 --help display this help and exit

  50

  51 --version

  52 output version information and exit

  53

  54 The valid format sequences for files (without --file-system):

  55

  56 %a Access rights in octal

  57

  58 %A Access rights in human readable form

  59

  60 %b Number of blocks allocated (see %B)

  61

  62 %B The size in bytes of each block reported by %b

  63

  64 %C SELinux security context string

  65

  66 %d Device number in decimal

  67

  68 %D Device number in hex

  69

  70 %f Raw mode in hex

  71

  72 %F File type