Forrest logo
back to context overview

fsck

List of commands for fsck:

  • fsck:tldr:08d2c fsck: Check filesystem `/dev/sdX` only if it is clean, reporting any damaged blocks and automatically repairing them.
    $ fsck -fy ${-dev-sdX}
    try on your machine
    explain this command
  • fsck:tldr:148ab fsck: Check filesystem `/dev/sdX`, reporting whether it has been cleanly unmounted.
    $ fsck -q ${-dev-sdX}
    try on your machine
    explain this command
  • fsck:tldr:514f8 fsck: Check filesystem `/dev/sdXN`, reporting any damaged blocks.
    $ sudo fsck ${-dev-sdXN}
    try on your machine
    explain this command
  • fsck:tldr:713a2 fsck: Check filesystem `/dev/sdXN`, reporting any damaged blocks and interactively letting the user choose to repair each one.
    $ sudo fsck -r ${-dev-sdXN}
    try on your machine
    explain this command
  • fsck:tldr:a45a9 fsck: Check filesystem `/dev/sdX` only if it is clean, reporting any damaged blocks and interactively letting the user choose to repair each one.
    $ fsck -f ${-dev-sdX}
    try on your machine
    explain this command
  • fsck:tldr:ecc8a fsck: Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them.
    $ sudo fsck -a ${-dev-sdXN}
    try on your machine
    explain this command
back to context overview