git安装
sudo apt install git
Zsh
chsh -s /bin/zsh
Oh-my-zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
SSH
sudo apt-get install openssh-server
ps -ef |grep sshd
清楚缓存
ssh-keygen -R ip
ssh-keygen -R [ip]:port
Service
service文件路径:/lib/systemd/system/xxx.service
[Unit]
Description = leshan lwM2M demo server
[Service]
type = forking
ExecStart = / path
启动
sudo service start xxx.service
解压
.zip
unzip FileName.zip
tar.gz 和 .tgz
tar -zxvf FileName.tar.gz
.tar
tar -xvf FileName.tar
网友评论