Installing stat


Background
Stat is a small utility used to display very detailed information about files and directories. This information is obtained from the inode table on the filesystem. Stat provides much more information than either the ls or dir commands.

Obtaining Stat
The source code is (at least as of this writing) available at:
ftp://metalab.unc.edu/pub/Linux/utils/file/

Installation
    cp stat-X.Y.tar.gz /usr/src
    cd /usr/src
    tar -zxvf stat-X.Y.tar.gz
    cd stat-X.Y
    make
    make install

Using stat
stat filename Display information about the specified file
stat -h Display stat's quick help
man stat Display extended help on stat.


Prev Setting Up LFS to Backup to CD-RW Media
Contents Contents
Info Important Information About These Notes
Next Installing the nVIDIA Driver