Quantcast
Channel: Active questions tagged fdisk+ntfs - Super User
Viewing all articles
Browse latest Browse all 11

How to create and format a partition using a bash script?

$
0
0

Is there any way to create and format a partition using a bash script?

I think it can be done with fdisk but I don't know how to feed commands from the bash script into the fdisk shell then exit the fdisk shell.

I'm wanting to create a partition then format it to ntfs from within bash.


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images