jdk 安装包安装后的配置
sudo update-alternatives --install /usr/bin/java java /usr/lib/jdk/jdk/bin/java 300
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jdk/jdk/bin/javac 300
sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jdk/jdk/bin/jar 300
sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jdk/jdk/bin/javah 300
sudo update-alternatives --install /usr/bin/javap javap /usr/lib/jdk/jdk/bin/javap 300
sudo update-alternatives --config java
jupyter notebook 启动后并放入后台运行
jupyter notebook > jupyter.log 2>&1 & echo $! > jupyter.pid &
进程操作
jobs //查看任务,返回任务编号n和进程号
bg %n //将编号为n的任务转后台运行
fg %n //将编号为n的任务转前台运行
ctrl+z //挂起当前任务
ctrl+c //结束当前任务
组合操作:
ctrl+z -> jobs -> bg
网友评论