TLDR
Enter a command. For example: bzfgrep, iw, rc status, larasail.

mkfs

 
Build a Linux filesystem on a hard disk partition. This command is deprecated in favor of filesystem specific mkfs. utils. More information: https://manned.org/mkfs.
 
  • Build a Linux ext2 filesystem on a partition:
     
    mkfs {{path/to/partition}}
     
  • Build a filesystem of a specified type:
     
    mkfs -t {{ext4}} {{path/to/partition}}
     
  • Build a filesystem of a specified type and check for bad blocks:
     
    mkfs -c -t {{ntfs}} {{path/to/partition}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.