- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 脚本查看linux 密码更改日期和账户失效日期
1.查看用户创建日期和实效日期,可以使用 chage -l username 命令 或者 pass -S username 命令查看2.自己写个脚本,查看所有用户的:#!/bin/bash while read linedo uname=`echo $line | awk -F: '{print $1}'` bday=`echo $line
2013-04-25 15:46:58 1242
原创 ping 小技巧
#!/bin/bashwhile truedo ping 137.2.23.1 -c 8 -i 1 sleep 5done有了这个比单纯的PING 好些,每ping 8 次都一个汇总信息。
2013-04-25 09:48:33 585
转载 linux 几个bin
Directory Structure Information:/binThe /bin directory contains a small number of commands, some require root access and some do not and some commands . For the most part the majority of the
2013-04-17 14:26:22 689
原创 /proc/uptime和/proc/interrupts
/proc/uptime/proc/uptime里面的两个数字分别表示: the uptime of the system (seconds), and the amount of time spent in idle process (seconds). /proc/uptime2个数字的意义,第一个数值代表系统总的启动时间,第二个数值则代表系统空闲的时间,
2013-04-03 14:18:02 1460
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人