PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

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

One Comment on “What command is used to force a file-system check, when rebooting?


Leave a Reply