cat /proc/cpuinfo # 查看CPU信息
who #查看当前系统登录人
[bankdplyop@SYSOPS00013549 logs]$ who bankdplyop pts/0 2020-08-31 10:10 (29.2.244.164) bankdplyop pts/1 2020-08-31 17:14 (29.2.244.164) bankdplyop pts/2 2020-09-03 19:47 (29.2.244.163) bankdplyop pts/3 2020-09-03 21:28 (29.2.244.167)
who | wc #可查看行数,字数与字符数
[bankdplyop@SYSOPS00013549 logs]$ who | wc 18 90 1008
who | wc -l #查看行数
[bankdplyop@SYSOPS00013549 logs]$ who | wc -l 18
who | wc -w #查看字数
[bankdplyop@SYSOPS00013549 study]$ who | wc -w 85
who | wc -c #查看字符数
[bankdplyop@SYSOPS00013549 study]$ who | wc -c 951
cd logs ; ls -l 20007 #进入 logs 目录并打印指定对象信息, ";"表示串行执行, "&"表示并行执行
[bankdplyop@SYSOPS00013549 logs]$ ls -lrt total 4 drwxr-xr-x 2 bankdplyop bankdplyop 4096 Sep 4 11:58 20007 [bankdplyop@SYSOPS00013549 logs]$ ls -l 20007 total 0 lrwxrwxrwx 1 bankdplyop bankdplyop 31 Sep 4 11:58 20007 -> /bankapp/deploy/work/logs/20007 lrwxrwxrwx 1 bankdplyop bankdplyop 32 Sep 4 11:58 access -> /bankapp/deploy/work/logs/access lrwxrwxrwx 1 bankdplyop bankdplyop 29 Sep 4 11:58 app -> /bankapp/deploy/work/logs/app lrwxrwxrwx 1 bankdplyop bankdplyop 31 Sep 4 11:58 audit -> /bankapp/deploy/work/logs/audit lrwxrwxrwx 1 bankdplyop bankdplyop 29 Sep 4 11:58 csp -> /bankapp/deploy/work/logs/csp lrwxrwxrwx 1 bankdplyop bankdplyop 28 Sep 4 11:58 gc -> /bankapp/deploy/work/logs/gc lrwxrwxrwx 1 bankdplyop bankdplyop 32 Sep 4 11:58 tomcat -> /bankapp/deploy/work/logs/tomcat
uname -r #查看当前操作系统内核版本信息
[bankdplyop@SYSOPS00013549 ~]$ uname -r 2.6.32-696.el6.x86_64