注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.
/etc/ssh/sshd_config file by running the command sudo vi /etc/ssh/sshd_config and do the following
Port to 2222 (or any other port above 1000)PasswordAuthentication to yes. This can be changed back to no if ssh keys are setup.sudo service ssh --full-restart| // create file: | |
| sudo vim /usr/share/applications/goland.desktop | |
| // add the following | |
| [Desktop Entry] | |
| Version=2018.3.5 | |
| Type=Application | |
| Terminal=false | |
| Exec=/usr/local/bin/goland.sh | |
| Name=GoLand |
STEPS
Click on Help menu
Select Enter License
Then paste given KEY given at bottom
Finally click on Use License
| FROM python:3.5.2 | |
| ENV TZ=Asia/Shanghai | |
| RUN apt-get update \ | |
| && apt-get install -y cron \ | |
| && apt-get autoremove -y | |
| COPY ./cronpy /etc/cron.d/cronpy | |
| CMD ["cron", "-f"] |
| sudo apt-get install python-software-properties | |
| sudo apt-get install software-properties-common | |
| sudo add-apt-repository ppa:rwky/graphicsmagick | |
| sudo apt-get update | |
| sudo apt-get install graphicsmagick |