Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 03-13-2005, 11:19 PM   #1
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
FDISK or cfdisk in Linux

I need help about Fdisk under linux .How can i use this utility. Preior i have used many times FDISK to make partions for windows .

Another is cfdisk .Also enlight on it.

Any site where i can learn both of these utilities taht how to make Linux partions using it.
Thanks in advance.
Old 03-13-2005, 11:36 PM   #2
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
cfdisk is very easy - just has an ncurses menu. 'delete' to delete, 'create' to create, and so on. fdisk is just as easy, but it's a command-line app, so you have to type 'm' to see that 'd' and 'n' do the same things. Just specify the sizes of the new partitions after specifying the device and then specify the type, then write the table. You're good to go.

-- Full details in the man pages, of course. Don't know of a site devoted to partitioning but any installation guide will have a section on it.

Last edited by slakmagik; 03-13-2005 at 11:37 PM.
Old 03-14-2005, 07:44 AM   #4
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Thnks McDe and digiot for your guidence. The sites are really so much interesting & helpfull.
Old 03-14-2005, 07:48 AM   #5
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
I also need help to do searching for a particular file or directory using Terminal $.
Does Linux support such kind of search command ?
Old 03-14-2005, 02:51 PM   #6
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
The "find" command is probably what you want.

"find / -name <file>" will find anything named <file> on your system.

Do "man find" at the command prompt, to get all the possible options.
Old 03-14-2005, 04:01 PM   #7
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Rep: Reputation: 30
you can also use the "locate" command, similar to the find command.

to use either, you may have to create a database of your system. relax though, it is VERY easy to do, as root user (type "su" followed by your administrator password) type "updatedb"

after a little bit of time looking around your system and making up the database, you will get the prompt back. then use the locate or find command to your heart's content.

Last edited by Present; 03-14-2005 at 04:02 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fdisk and cfdisk not available in SuSE? fitzov Linux - Newbie 2 04-27-2005 03:48 AM
problems with fdisk and cfdisk ah786 Linux - Newbie 1 10-23-2004 06:50 PM
CFdisk does not see new HD but Fdisk does? BajaNick Linux - Software 6 08-28-2004 10:31 AM
Which Disk tool to USE? FDISK;CFDISK;SFDISK montyw47 Linux - Newbie 1 07-17-2004 03:21 AM
fdisk and cfdisk problems LokiPartera Linux - Newbie 6 10-30-2002 04:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration