The server mistakenly deleted the/usr/bin and/usr/sbin directory, and then, copy these two directories from other places, found that many of them are links and other non-standard files, can be copied when the link processing do not know what parameters should be added, so, more than 100 trillion of things copied nearly a G; First give tar a moment, in the copy.
In this way, the server is basically ready, recommended:
1. Do not login directly with root, especially unfamiliar people.
2. It is recommended that you use sudo with the command of root permission, using less su;
3. Use Visudo to configure root permission commands that need to be executed
Eg:xxx All=/sbin/mount,/sbin/unmount,/sbin/ifconfig Nopasswd:all
RM commands are not available; however, there are "sequelae":
1. Login, ' Linux ': Unknown terminal type;
2. Use top, clear (known), because of the terminal type problem;
3.vim is also a similar problem, not operational, has been resolved, but only in basic mode;
4.TFTP, Telnet service, resolved.