Home > OS >  Server root directory of the file, be moved to a folder, xshell connection is not on the server now?
Server root directory of the file, be moved to a folder, xshell connection is not on the server now?

Time:09-21

I first under the root directory has built a folder a, and then type the command mv */a/, then Xshell disconnected, parsing cannot access to the server domain, Xshell also log in, but can ping IP; Deliver a great god!

CodePudding user response:

Certainly was not the ah you all files in the directory, it is/are now/a/* * * * such as your account/etc/passwd file into a/a/etc/passwd and system is how to let you log in

CodePudding user response:

After making a startup disk, insert, modify the startup sequence, into recovery mode (centos7, for example: start into the interface options - & gt; Troubleshooting - & gt; Rescue a CentOS Linux system - & gt; 1) Continue - & gt; Sh # 4.2)
And then see what partition, below the/dev/, can use LSBLK view, which find you/directory, and then create a new directory,/directory partition on the mount, and then go in, all the files in a directory to move out, then restart, see if I can

CodePudding user response:

Let me direct reshipment system, simple violence

CodePudding user response:

The mv back line
  • Related