1.查看输出内容 echo
2.查看网络 netstat -natpl | grep httpd 或者 netstat -natpl | grep 80
3.查看主机名字 cat/etc/hosts
4.查看文件系统 df
5.查看某个文件总大小 ,如果去掉s,例如 du -h /etc/ 将查询每个子目录大小并汇总
6.查看内存以及交换分区 free
7.添加和删除用户,例如添加和删除用户 hdfs
8.免密登录
来源:https://www.cnblogs.com/liuyi13535496566/p/12369827.html