linux语法使用大全
linux语法使用大全
tail 用法
# 查看最后实时输出,300f是显示最后的300行 tail -300f zhuaqu.log # 搜索查询显示关键字相邻的50行 tail -300f zhuaqu.log |grep "tcmalloc" -C 50
nohup后台启动
# nohup 命令不会自动把进程变为”后台任务”,所以必须加上&符号 # 自定义输出位置 nohup command > myout.log 2>&1 & # 命令+ &后台启动 ./nginx &
浙公网安备 33010602011771号