nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Command to Check Linux File System

This is a discussion on Command to Check Linux File System within the Getting started tutorials forums, part of the Linux Getting Started category; Hello everyone, My school has a few linux machines, and they're SuSe10. I don't know the command to check and ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2007, 09:21 AM
Member
User
 
Join Date: May 2007
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
lacloai is on a distinguished road
Default Command to Check Linux File System

Hello everyone,

My school has a few linux machines, and they're SuSe10. I don't know the command to check and see what file system they use like ext2, ext3 or reiserf? I also have SuSe10 at home, and I still can't figure out what command to use to check file system. I am from Windows world and to check the file system(FAT32/NTFS) in Windows is very easy. I really appreciate if anyone can help. Thanks a lot.
Reply With Quote
  #2 (permalink)  
Old 05-11-2007, 11:08 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,680
Thanks: 11
Thanked 241 Times in 181 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Type mount command to display filesystem type such as ext2, ext3 and so on...
Quote:
mount
Sample output:
Quote:
/dev/sdb1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
/dev/sdb5 on /media/docs type ext3 (rw)
/dev/sdb3 on /media/isomp3s type ext3 (rw)
/dev/sdc1 on /media/backup type ext3 (rw)
/dev/sdb1 is mounted on / and type is ext3 fs.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 05-11-2007, 06:35 PM
Member
User
 
Join Date: May 2007
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
lacloai is on a distinguished road
Default Thank You

Thank you very much. I spent a long time trying to figure out how to do it, but I can't. Now with that command, it helps.
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 05:45 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 695
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Quote:
Originally Posted by lacloai View Post
Thank you very much. I spent a long time trying to figure out how to do it, but I can't. Now with that command, it helps.
u can also use command
Code:
less /proc/mounts
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Unix command to check memory usage sweta HP-UX 3 02-24-2010 10:54 PM
forced file check fsck smr36 Ubuntu / Debian 3 04-16-2008 09:23 AM
Difference between ext2 and ext3 Linux file system nixcraft Getting started tutorials 0 05-18-2007 01:43 AM
Linux command to check size of hard drive disk gbdood Linux software 2 08-27-2006 09:44 AM
script on how to check if the file exists warren Shell scripting 4 04-14-2006 05:51 PM


All times are GMT +5.5. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38