Ubuntu 16.04 使用笔记
Linux Note Prohibit updates 后台指令的运行与终止 后台指令运行 $ nohup 'your command' & 后台指令终止 1.查看运行的后台进程 $ ps -ux|grep python |grep -v grep a:显示所有程序 u:以用户为主的格式来显示 x:显示所有程序,不以终端机来区分 用grep -v参数可以将grep命令排除掉 2.再用awk提取一下进程ID $ ps -ux|grep python | grep -v grep | awk '{print $2}' 3.终止后台运行的进程 $ kill -9 'ID' Anaconda 基本环境安装 安装anaconda $ bash Anaconda3-5.2.0-Linux-x86_64.sh 添加镜像 $ /home/test823/anaconda3/bin/conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ $ /home/test823/anaconda3/bin/conda config --set show_channel_urls yes 添加路径 $ echo 'export PATH="/home/test823/anaconda3/bin: