www.delorie.com/gnu/docs/textutils/coreutils_86.html   search  
 
Buy GNU books!


GNU Core-utils

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

14.3 stat: Report file or filesystem status

stat displays information about the specified file(s). Synopsis:

 
stat [option]... [file]...

With no option, stat reports all information about the given files. But it also can be used to report the information of the filesystems the given files are located on. If the files are links, stat can also give information about the files the links point to.

`-f'
`--filesystem'
Report information about the filesystems where the given files are located instead of information about the files themselves.

`-L'
`--dereference'
Change how stat treats symbolic links. With this option, stat acts on the file referenced by each symbolic link argument. Without it, stat acts on any symbolic link argument directly.

`-t'
`--terse'
Print the information in terse form, suitable for parsing by other programs.

`-c'
`--format'
Allow user to specify the output format.

Interpreted sequences for file stat are:

Interpreted sequences for filesystem stat are:


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003