The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-11-2008
techlinux techlinux is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 86
A files inode number can easily be found by using ls command.
ie. ls -i /etc/passwd

More inode info can be obtained by using df. df -i, --inodes list inode information (instead of block usage) --iused gives a used inode countTo see a count of inodes for a mount (ufs)-
/usr/bin/df -F ufs -o i

Info on filesystems used for partitions can be found using fdisk -l
You can also find out what type of file systems currently mounted with the mount command.