首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
shell_Day01
】的更多相关文章
shell_Day01
1.判断/etc/inittab文件是否大于100行,如果大于,则显示"/etc/inittab is a big file."否者显示"/etc/inittab is a small file." #!/bin/bash if [ `wc -l /etc/inittab | awk '{print $1}'` -gt 100 ] ;then echo "/etc/inittab is a big file." else echo "/…