Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command help

Status
Not open for further replies.

bairdt

Technical User
Feb 2, 2004
32
0
0
US
I need to run fsck the next time I reboot. What command do I use to do this (param please)?
 
Hi,
you should be able to use:

shutdown -r -t now -F

which will cause the machine to reboot "now" and force a fsck when it comes back up.

Regards
 
e2fsck -pv /dev/hda1

You will want to change /dev/hda1 to the device that is causing the problem

for more info "man e2fsck"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top