2.5.x 5.3.x Just remember two number, the first number means major version, the second number means minor version, let off the remain.
Centos, comes from red hat enterprise linux, version 7.X, kerner version 3.10.X
This is aliyun ssh example
the command is:
ssh (name)
first class
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var
and the directory "~" is "/root"
and "sbin" means "super binary" which belong to the user ROOT, not regular users.
second class
/usr/lib/ // the library that app use
/usr/local/ // the place our own softwares live
/usr/share/ //some resources like help documents, font resources
/usr/src/ // the source code, can be replaced by /usr/local/src and /usr/src/kernels
/usr/src/kernels/ // where the kernel lives
? ? do some times sync
command before the shutdown command, and only this reboot command is recommended.
shutdown -r now
原文:https://www.cnblogs.com/nedrain/p/13139803.html