shell
摘要: [root@centos-6 ~]# cat info_file.txt lys:28:shanxi zhy:28:shanxi [root@centos-6 ~]# cat info_file2.txt lys 28 shanxi zhy 28 shanxi [root@centos-6 ~]# cat print.sh #!/bin/bash for i in `cat info_fi... 阅读全文
posted @ 2017-03-21 17:43 devops运维 阅读(409) 评论(0) 推荐(0)
摘要: 在linux系统中,last与lastb命令用来列出目前与过去登录系统的用户相关信息。指令英文原义: last, lastb - show listing of last logged in users 单独执行last指令时,它会读取位于/var/log/wtmp的文件,并把该给文件的内容记录的登 阅读全文
posted @ 2017-03-21 16:04 devops运维 阅读(5561) 评论(0) 推荐(0)
python