What command is used to force a file-system check, when rebooting?

What command is used to force a file-system check, when rebooting?

What command is used to force a file-system check, when rebooting?

A.
reboot-f

B.
shutdown -f now

C.
shutdown -c -r now

D.
fsck -r

E.
shutdown -F -r now

Explanation:

From the man pages:
Shutdown – bring the system down
-r Requests that the system be rebooted after it has been brought down.
-F Force fsck on reboot. (see http://linux.die.net/man/8/shutdown)

-F is not available on Debian Systems



Leave a Reply 0

Your email address will not be published. Required fields are marked *