![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
linux实践
light-124
这个作者很懒,什么都没留下…
展开
-
linux目录下搜索特定字符串
例子: grep -rn “run_train” ./ 表示在当前目录下搜索字符串"run_train",-r表示递归,-n表示输出行号 结果:原创 2020-07-11 11:34:43 · 265 阅读 · 0 评论 -
[nohup] linux后台挂载程序之 nohup + &
如果本地和服务器终端,往往会导致当前正在运行的程序中断,无法继续工作,使用nohup命令可以解决该问题。 示例1: nohup pyhton a.py & 这样需要输出到标准输出上的东西会储存到nohub.out文件中,该文件是默认生成的。 示例2: nohup python U-Net_Training.py & 按下enter键后运行程序,然后再次按下enter键,会出现如下信息 nohup: ignoring input and appending output原创 2020-06-20 18:53:33 · 818 阅读 · 1 评论