answersLogoWhite

0

The command is mkfs. Though usually most people will use:

mkfs.<filesystem type> /dev/sdXY

Where X is the drive and Y is the partition.

For example: mkfs.ext4 /dev/sda3 means "Create an ext4 filesystem on the third partition of the first drive."

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the Linux command to create a file named security?

As files can be of any number of types, there is no single command that will do this. You would use the program associated with that file type to create a file. If you wanted to create a "blank" file, that has no content and uses no space, use the command touch filename.


Which tool in Linux enables you to create a device special file?

mknodRun this command to see the documentation for it:man mknodIn current systems you don't have to make devices, because udev does it for you.


Which command is used to create an empty file with file size zero bytes so that you can write in these files later in unix and Linux?

touch newfile will make a new empty file in linux os !


What does the command r 12 accomplish on Linux?

"r" is not a standard command on Linux systems. Some systems may included or provide support for the R programming language, in which case the command would launch the "littler" program to run R commands included in the file 12.


What command would you use to create an empty text file in Linux?

#Touch newfile Will make an empty newfile


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


How do you make a command on Ubuntu 9.04?

Anything can be made into a command on a Linux system. The steps are easy. First, using any text editor (vim, emacs, etc.) create a text file. Put anything you want to do in this file. Save the file. Make sure the file you just created has read and execute permissions (chmod). That's it! Now you have a command that you can execute in Linux.


How do you access a Linux partition from Windows XP?

There are programs you can download that will read Linux file systems. Common file systems are ext2 and ext3.


Which command display all the file systems and the amount of data used by each?

On most Linux distros, try this command:$ df -m The df command is popularly considered to stand for disk free, though I don't really know if this is fact or myth.Caveat: The above command will only display information on mounted file systems.


Can Linux encrypt file systems?

YES


How do you measure the primary and logical partitions in Linux?

You can measure the free space and total space of all mounted file systems using the df command.


Simplest utility for viewing file content?

The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command. The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command.