What should I do if the Linux root file is corrupted?

Updated on technology 2024-04-13
18 answers
  1. Anonymous users2024-02-07

    1. Connect to the corresponding Linux host and enter the Linux command line state waiting for the shell command to be entered.

    2. Enter the shell command: cd root in the Linux command line.

    3. Press the "Enter key" on the keyboard to run the shell command, and then you will see that it has successfully entered the root directory of the Linux system.

  2. Anonymous users2024-02-06

    The current folder can be switched using the cd command. CD is an abbreviation for Change Directory.

    Command format: cd [dirname].

    Example: Switch the current directory to the system root folder.

    sudo cd /root

    Note: Switching to the root folder requires the permission of the root user.

  3. Anonymous users2024-02-05

    If it's ubuntu, alt+f2, type gksu, OK, then enter nautilus, OK, enter the password and open a file browser, in which you can enter all file directories or add or delete files.

  4. Anonymous users2024-02-04

    Enter Terminal:

    sudo -s -h

    Type the password to enter root mode.

    cd /root

  5. Anonymous users2024-02-03

    1. First of all, connect the corresponding Linux host, enter the Linux command line state, and wait for the shell command to be entered.

    2. Second, enter cd root in the Linux command line.

    3. Press the "Enter key" on the keyboard to run the shell command, and you will see that it has successfully entered the root folder.

  6. Anonymous users2024-02-02

    If the current bash shows that your user is not root, sudo -s and entering the password will automatically change to root

    Then cd root can go into the root directory.

    I tested it myself on ubuntu without a problem.

  7. Anonymous users2024-02-01

    What's your version?

    If it's ubuntu, shell> sudo cd root If it's another version, you need to log in as root first, shell> cd rootok!

  8. Anonymous users2024-01-31

    Enter sudo nautilus in the terminal.

  9. Anonymous users2024-01-30

    in the root folder.

    su - root to root

    chmod 777 a then modifies the permissions of directory a.

  10. Anonymous users2024-01-29

    If you use the root user to enter, you can use the PWD command to view the current directory.

    Generally, the full path of the root directory is root

  11. Anonymous users2024-01-28

    /root

    I don't believe you can su

    Then enter the password again.

    cd ~

  12. Anonymous users2024-01-27

    It's in the root folder, which contains a lot of startup script files.

  13. Anonymous users2024-01-26

    find / -user "root" -print

    This means starting from the root directory to find files whose owner is root.

  14. Anonymous users2024-01-25

    It seems difficult to find the created file, because the owner of the file can be changed, and root can change the owner of other files to himself.

    Under the terminal ls -l (lowercase l) you can see the detailed properties of the file, including the owner.

  15. Anonymous users2024-01-24

    The easiest and fastest way to do this is.

    ls -l | grep root

  16. Anonymous users2024-01-23

    What about linux?

    Most of the Apache web data is in var www by default. But it also depends on the settings.,It should be a real ****.,The next level of directory in this directory.。

    Linux file storage is FHS standard, you can see: (English) But you don't have to follow this standard if you use it yourself.

    Personal data is in the home directory, the general user is home $userid, and the root's personal directory is located in root alone.

  17. Anonymous users2024-01-22

    What? What version of linux?

    What is the web service?

    What is the software for web services?

    Wait, is there a reward for guessing right?

    Is your own data put into ** controlled by the system? Didn't you store it yourself?

  18. Anonymous users2024-01-21

    Using Linux as a web server, how can I distinguish between my own data and the system "difference".

Related questions
4 answers2024-04-13

Method 1: Manual processing 1. Go to Word, select "All Files" in "File Open File Type", and specify what you want to repair. XLS file, after opening, if excel has only one worksheet, it will be automatically loaded into word in the form of **, if the file is composed of multiple worksheets, only one worksheet can be opened at a time. >>>More

7 answers2024-04-13

Continue to develop the economy and environment second.

The problem of mental retardation. >>>More

3 answers2024-04-13

There are 3 possibilities:

1. It is the killing software that kills some programs in the file, resulting in the corruption of the compressed file. >>>More

24 answers2024-04-13

On the surface, it may seem like a hassle. It is recommended that you first of all be bold and face reality, don't worry, don't be afraid. Love itself is above board. >>>More

36 answers2024-04-13

Sent, please check.

That kind of xx game network is generally very unreliable.,The next game also makes its own launcher.,I don't know which shortcut it starts.,And some of them also integrate a lot of patches and don't tell you which ones are.。 >>>More