terminal.cab

All commands

stat

Topic: Files and folders

Program: stat

Shows what an inode records.

Package: core-inodes

Usage

stat [OPTION]... FILE...

Description

Show what the inode of each FILE records: size, blocks, links, rights, owner and times. FORMAT codes: %a %A rights, %b blocks of %B bytes, %F type, %h links, %i inode, %n name, %N name with link target, %s size, %u %U owner, %g %G group, %x %y %z access, change of data, change of the inode (%X %Y %Z in seconds), %w birth, %% a percent sign.

Options in the simulator

4 more options of the real program, not in the simulator yet
  • -f, --file-system not in the simulator yet

    On a real system stat then shows the file system instead of the file.

  • --cached needs a value not in the simulator yet

    On a real system it decides whether stat may use cached details on network file systems.

  • -t, --terse not in the simulator yet

    On a real system stat prints all details briefly on one line.

  • --version not in the simulator yet

    On a real system it prints the version of the program.

Where you learn it

No lesson yet.

All commands