12 2017 档案

摘要:1、开机bios自检 2、MBR引导 硬盘0柱面0磁道1扇区前446byte 3、grub引导扇区 cat /etc/grub 4、加载内核 5、启动/etc/inittab ps -ef|grep init 进程号为1 6、执行/etc/rc.d/rc.sysinit脚本 7、执行/etc/rc. 阅读全文
posted @ 2017-12-14 20:00 liulj0713 阅读(115) 评论(0) 推荐(0) 编辑
摘要:ps -ef|grep "/sshd"|grep -v grep|wc -l 1 netstat -lntup|grep sshd |wc -l 2 阅读全文
posted @ 2017-12-14 19:28 liulj0713 阅读(306) 评论(0) 推荐(0) 编辑
摘要: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 阅读(151) 评论(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 阅读(146) 评论(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 阅读(377) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示