ntfsfix
filesystemLinux/Unix
The ntfsfix command is one of the most frequently used commands in Linux/Unix-like operating systems. ntfsfix Fix common errors and force Windows to check NTFS filesystem
Quick Reference
Command Name:
ntfsfix
Category:
filesystem
Platform:
Linux/Unix
Basic Usage:
ntfsfix [options] [arguments]
Common Use Cases
Syntax
ntfsfix [options] device
Options
Option | Description |
---|---|
-b , --clear-bad-sectors |
Clear the list of bad sectors. This is useful after replacing a disk with hardware problems with a new disk. |
-d , --clear-dirty |
Clear the volume dirty flag if the volume can be fixed and mounted. |
-n , --no-action |
Do not actually write to the volume, just check if it needs fixing. |
-v , --verbose |
More verbose output. |
-h , --help |
Display help information and exit. |
-V , --version |
Display version information and exit. |
Examples
How to Use These Examples
The examples below show common ways to use the ntfsfix
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
ntfsfix /dev/sda1