Learning Notes in Kwai

Learn in Kwai

Posted by Kylin on June 13, 2023

[TOC]

Notes

  • 2>&1

https://segmentfault.com/a/1190000040086046

  • nohub之后怎么知道PID

看stdout(or重定向之后的输出文件)

ps aux | grep "your_command"
  • 输出上一个执行进程的PID
echo $! 
  • 已知PID查看进程详细信息
ps -p <PID>