In linux, there were also file repair commands (fsck)

Source: Internet
Author: User
In the past, linux also had file repair commands (fsck)-General Linux technology-Linux technology and application information. The following is a detailed description. This is due to the fact that we are currently getting started with linux.
I have also played kernel Kernel
There are not many problems
Haha, during this ghost game, the ubuntu ghost cannot be started.
In a hurry, the hacker enters chkdsk ''' in the command line (the hacker is assimilated by Gates)
Bush: not commomd
Eh ~~~
Poor English,
Fortunately, I'm lucky to see The fsck
What about it?
Enter fsck directly
Next, of course, it's crazy to press y.
It has been fixed.
Haha
This article is now published in ubuntu.


Attached fsck command usage:

Command: fsck

Permission: Super User

Usage: fsck [-sACVRP] [-t fstype] [--] [fsck-options] filesys [...]

Note: Check and repair the Linux File System. You can check one or more Linux file systems at the same time.


Parameters:

Filesys: device Name (eg./dev/sda1), mount point (eg./or/usr)
-T: specifies the type of the file system. This parameter is not required if a definition is already defined in/etc/fstab or is supported by the kernel.
-S: Execute The fsck command one by one in sequence to check
-A: Check the partition of all columns in/etc/fstab.
-C: displays the complete check progress.
-D: print the debug result of e2fsck.
-P: When both-A conditions exist, multiple fsck checks are executed together.
-R: if both-A conditions are available, this parameter is omitted/not checked.
-V: Detailed Display Mode

-A: If the check is incorrect, it will be automatically repaired.
-R: if the check is incorrect, the user will answer whether the problem is fixed.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.