Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80
Rep:
Hi Raghu Ni and welcome to Linux and LQ!
just trying to find out if you're actually trying to search for files on your Red Hat system, or whether you're trying to determine what file system is used by your Red Hat machine.
Let me know and I'll give you the corresponding commands to use in terminal.
It is really simple just give the following command
fdisk -l /dev/hda (where hda is the hard disk for which u want to know the partition)
this will give you the listing and info of all the partitions and their file systems.
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80
Rep:
Hi again!
To access your partition information, open a konsole (either by using the Konsole from your X window/GUI or by pressing Control + F1/F2/F3/F4).
At the command prompt, type: man fdisk
This will display the manual for the partition tool in Linux.
To exit the manual, press Q (for quit)
To access the fdisk tool, you need to log in as root user, so type:
su (change to root)
The konsole will now ask your password for root (type carefully, it will not echo your typing)
Once logged in as root, you can type:
fdisk -l
This will display the partition table for your entire system (i.e. all hard drives on the computer you're working on)
If this doesn't show the desired information, type
cfdisk
This will open a different type of partition editing tool and will display all partitions straight away with information on file system, partition mount point, size etc...
Toggle along the bottom menu to edit your partition table - but carefully, if you hit enter on delete, you just ruined your system!
Hope this helps!
Last edited by LittleAngel; 07-06-2004 at 03:11 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.