Breaking News
Home / Sys Admin / Unix / How to find out the type filesystem in Linux?

How to find out the type filesystem in Linux?

In order to find out the type of file system (ntfs, ext4,ext3 etc.) for a all the mounted partitions in Linux we can use the df command with the flag T as follows:

livrona@livrona:~$  df -T
Filesystem     Type     1K-blocks    Used Available Use% Mounted on
/dev/sda1      ext4      27192740 4299044  21530548  17% /
udev           devtmpfs   2016156       4   2016152   1% /dev
tmpfs          tmpfs       809976     252    809724   1% /run
none           tmpfs         5120       0      5120   0% /run/lock
none           tmpfs      2024936       0   2024936   0% /run/shm
/dev/sdb1      ext4     104698752 1679572  97776352   2% /media/nas
/dev/sda4      ext4      73279416 3209144  66400208   5% /media/main

The output of this command lists various details about the file system along with the Type of file system (ext4,fat32,tmpfs etc.) along with their mount points, used and free spaces as well in a tabular format.


Check Also

How to check if a port is open using Terminal in Unix?

There a couple of ways to find out. 1) Using telnet to find if port …

Advertisment ad adsense adlogger