Site icon TechGit

How To Check Filesystem In Linux Using Command

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

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

How To Check Filesystem In Linux Using Command originally posted on Source Digit – Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version