上一页 1 ··· 10 11 12 13 14
摘要: ls -lrt r 倒序 t 按修改时间排序 依赖于当前系统时间 阅读全文
posted @ 2017-12-14 18:56 liulj0713 阅读(94) 评论(0) 推荐(0) 编辑
摘要: echo stu{01..20}|xargs -n 1 > nginx.conf 空行不计数的: nl nginx.conf 空行计数的: cat -n nginx.conf vi/vim nginx.conf; :set nu/set nonu awk '{print NR,$0}' nginx. 阅读全文
posted @ 2017-12-06 19:56 liulj0713 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 创建n天前的日志 mkdir /home/llj/app/logs -pcd /home/llj/app/logsfor n in `seq 14` ;dodate -s "2016/10/$n";touch access_www_$(date +%F).log ;donedate -s '2016 阅读全文
posted @ 2017-12-06 10:37 liulj0713 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 测试环境,/llj下有许多的目录、文件等: [root@test llj]# lltotal 0drwxr-xr-x 2 root root 17 Dec 3 10:04 ext-rw-r--r-- 1 root root 0 Dec 3 10:04 jeacen-rw-r--r-- 1 root 阅读全文
posted @ 2017-12-03 16:56 liulj0713 阅读(373) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14