answersLogoWhite

0


Best Answer

as root:

df -h

to see the disks and partitions

mkfs.ext3 /dev/sdb1

Where sdb1 is the disk and partition you want to format.

This will format sdb1 partition to ext3.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which command lines can be used in a linux machine to format a partition?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which command provides secure command lines access to a romate Linux machine?

SSH.


When was the India partition?

Technically, Independence from the British was on August 15, 1947. The official partition lines were anounced the day after on August 16, 1947.


Which command allows you to view your file 24 lines at a time?

more command


What command is used to sort the lines of data in a file alphabetical order?

The "sort" command.


What was the result of partition?

The partition of India in 1947 resulted in the creation of two separate nations, India and Pakistan. This led to widespread violence and displacement of millions of people along religious lines, particularly in the border regions of Punjab and Bengal. The partition also established the principle of dividing countries along ethnic or religious lines, which has had lasting implications for the region.


Can you run plastic supply lines to a washing machine?

Use washing machine hoses instead of plastic supply lines.


What are the two wildcard charaters that can be used in command lines?

* and ?


What is head command in UNIX?

The 'head' command will list out certain number of lines in a file from the beginning. The standard is to list the first 25 lines, but you can change that: head -100 myfile will list out the first 100 lines of myfile.


What command locates identical lines within two identically sorted files?

the find command, locates the identical lines within two identically sorted files. Your Welcome.


You are using vi to edit a file and have just entered 12 new lines You need to replicate the same 12 lines right after you enter them what command-mode command can you type to replicate the lines?

After you enter the 12 lines, go back to command mode, go to the first of the 12 lines and yank the 12 lines into a buffer.Go to the end of file (or wherever you want them placed) and use the 'put' operation to insert them. I do this all the time; very common operation.


What option would allow the head command to display the last 5 lines in a file in Linux?

The 'head' command can only deal with the start of the file, not the end. If you want X number of lines at the end of the file then use the 'tail' command. tail -5 filename will list the last 5 lines of the contents of filename.


Which command will display the last lines of the text file called file1in Linux?

Tail command is used to display the last lines of the file.Syntax:tail -n 3 file1-n 3 = no. of linesfile1 = filename