返回顶部
摘要: #!/bin/bashlinecount="$(wc -l $1|cut -d' ' -f1 )"echo "$1 has $linecount lines." bash linecount.sh /etc/fstab/etc/fstab has 15 lines. 阅读全文
posted @ 2020-06-09 10:04 九尾cat 阅读(130) 评论(0) 推荐(0) 编辑