• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Check Filesystem In Linux Using Command

How To Check Filesystem In Linux Using Command

By Sourabh / March 16, 2020 Category: How To, Ubuntu

How to check filesystem in Linux using command. Learn how to find out what file system i am using Linux. On Linux determine filesystem types using Linux file system commands.

There are many commands that can be executed on Linux Systems to determine filesystem type on unmounted or mounted partitions.

Different Types of FileSystems

  • ext is an elaborate extension of the minix filesystem. It has been completely superseded by the second version of the extended filesystem (ext2) and has been removed from the kernel (in 2.1.21).
  • ext2 is the high performance disk filesystem used by Linux for fixed disks as well as removable media. The second extended filesystem was designed as an extension of the extended filesystem (ext). ext2 offers the best performance (in terms of speed and CPU usage) of the filesystems supported under Linux.
  • ext3 is a journaling version of the ext2 filesystem. It is easy to switch back and forth between ext2 and ext3.
  • ext4 is a set of upgrades to ext3 including substantial performance and reliability enhancements, plus large increases in volume, file, and directory size limits.
  • vfat is an extended DOS filesystem used by Microsoft Windows95 and Windows NT. VFAT adds the capability to use long filenames under the MSDOS filesystem.
  • ntfs replaces Microsoft Window’s FAT filesystems (VFAT, FAT32). It has reliability, performance, and space-utilization enhancements plus features like ACLs, journaling, encryption, and so on.
  • nfs is the network filesystem used to access disks located on remote computers.

Commands To Check Filesystem In Linux Ubuntu

Let us see about some of the commands to find check filesystem in Linux Ubuntu:

fstab

fstab is a system configuration file on Linux systems that contains information about filesystems on the system. It is located in the /etc directory. The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions. /etc/fstab can be safely viewed by using the cat command (which is used to read text files) as follows:

$ cat /etc/fstab

Using df Command


$ df -Th


$ df -Th | grep "^/dev"

Using fsck Command


$ fsck -N /dev/sda3


$ fsck -N /dev/sdb1

Using lsblk Command


$ lsblk -f

Using mount Command

$ mount | grep "^/dev"

Using file Command

$ sudo file -sL /dev/sda3

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap