Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stat(cmds) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

STAT  —  User Commands

NAME

stat − get file attributes

SYNOPSIS

stat [-s -l -d -t] [-n num] file file ...

OPTIONS

−sProduce short, one line output for each file. 

−lGet the attributes of the link, not what it references. 

−dInclude day of week in dates. 

−tTime a series of Fs_GetAttributes calls. 

−n numNumber of repetitions for the -t option. 
 

DESCRIPTION

Stat is used to print out attributes of files.  Its output is self-explainitory and is a super-set of the output from the ls -l command, which can also be obtained with the -s option.  The extra attributes presented are the internal version number of the file that is incremented each time the file is re-written, the user-defined file type, the creation date, the file server ID, the file domain (disk), and the file number.  For devices this also prints out the device serverID, type, and unit.  A device serverID of -1 indicates that it is a common device found on all hosts.  Opening a common device attaches you to the instance of the device connected to the current host. 

BUGS

User IDs and hostIDs are given in numerical form, not nice string names. 

SEE ALSO

ls, prefix

KEYWORDS

attributes, version, create, device, file type, serverID
 

Sprite version 1.0  —  January 13, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026