快速了解未知远程linux主机基本概况

现有未知配置及环境的远程主机一台,希望了解基本信息。

//For some common linux distributions
//without using sudo

//CPU info
more /proc/cpuinfo
cat /proc/cpuinfo

//RAM info
more /proc/meminfo
free -m    //units in MB

//Linux Version
cat /proc/version

//Distribution Version
cat /etc/*release

//close all the process
kill -9 -1

//network related:
more /etc/resolve.conf
more /etc/hosts

//redhat:
more /etc/sysconfig/network-scripts/ifcfg-eth0

Continue reading 快速了解未知远程linux主机基本概况