No matter what kind of system you use, in short, the system always needs to store a lot of files. In the process of cleaning up the system, we inevitably delete some files because of some minor problems. What should we do then? Today, I will teach you how to handle it under the Linux system.
The server accidentally deleted the /usr/bin and /usr/sbin directories, and then copied the two directories from other places, and found that many of them may be non-normal files such as links, and can be copied when linking. The processing does not know what parameters should be added, so more than one hundred megabytes of things copied nearly one G; finally, give tar a bit, copy.
This way, the server is basically done, it is recommended:
1. Do not log in directly with root, especially unfamiliar people.
2. It is recommended to use sudo to execute the root privilege command, use less su;
3. Use visudo to configure the root privilege command to be executed
eg:xxxALL= /sbin/mount, /sbin/unmount, /sbin/ifconfigNOPASSWD:ALL
The rm command does not work; however, there is a "sequel" <;
1. When logging in, 'linux' :unknownterminaltype;
2. When using top, clear (known), because of terminaltype problem;
3.vim is also a similar problem, not operational; solved, but can only use basic mode ;
4.tftp, telnet service, has been resolved.
The steps are very clear, is it very easy, accidental deletion is not a big thing, many users think that deleted things can not be restored, in fact, everyone does not know the method, today I know Let's go try it.
Many users have installed dual systems on their computers to meet their work and life needs. However
An error occurred while installing the system using a USB flash drive, and the application error 280
Recently, many users will have a good card when they reflect a game with good pictures. Is there any
The u disk volume label can help users identify different partitions. Users only need to click the r
Windows and linux commands to modify the IP address method
How to solve the problem of keyboard keys?
9 major methods to quickly solve the problem of computer black screen
About the reason and solution of the computer prompt comres.dll information
What are the methods for wireless network security?
How can anti-virus software be embedded in WinZip
You ask me to answer: Solve the problem of why the computer is turned on after the long black screen
Start the system service prompt "Error 3: The system can not find the specified path" How to solve?
Create a vpn connection 2003 to create a vpn single network card
Reinstall the system prompt file not found error how to solve?
Teach you: PS repair reddish photo
How to set Win8 system security mode
How to solve the problem that Win10 can't find word2016 auto save file?
Win7 system can not enter the safe mode repair method
XP system to modify the ip prompt to restart the solution
Linux configuration Apache2 experience summary
Windows XP system does not have a login password?
Win8.1 PDF does not display thumbnails in folders. Possible solutions
Solution for the Win7 Super Administrator Account Administrator Account is missing.
Ubuntu 64-bit installation WPS office software error how to do?