-
查看版本
# Finding your kernel release $ uname -r > 3.16.0-34-generic # Finding your distribution release $ lsb_release -a > Distributor ID: Ubuntu > Description: Ubuntu 14.10 > Release: 14.10 > Codename: utopic [!] Amazon Linux 无效 # Retrive Destribution release file $ cat /etc/*release* NAME="Amazon Linux AMI" VERSION="2015.09" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2015.09" PRETTY_NAME="Amazon Linux AMI 2015.09" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2015.09:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" Amazon Linux AMI release 2015.09 cpe:/o:amazon:linux:2015.09:ga
-
Changing User Passwords
$ passwd <username> # usually, it requires root permission
-
Process Management
https://www.cyberciti.biz/faq/what-process-has-open-linux-port/