特点
开源
免费
开源不等于免费 免费不等于开源
兼容
包管理
以Debian(['dɛbɪən])为例
安装
- 通过软件源安装
sudo apt install package-name
- 通过软件包安装
sudo dpkg -i *.deb
wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3059_amd64.deb
sudo dpkg -i sublime-text_build-3059_amd64.deb
卸载
sudo apt remove package-name
dpkg -r package-name
查询
which command
dpkg -s package-name
Shell
oh-my-zsh
- 大小写
cat /etc/shells
cd ~/des # press tab
cd ~/Desktop
- prompt
vim ~/.oh-my-zsh/themes/robbyrussell.zsh-theme
PROMPT='%{$fg_bold[blue]%}%M ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
. ~/.zshrc
- alias
vim .oh-my-zsh/plugins/git/git.plugin.zsh
alias g='git'
alias ga='git add'
alias gaa='git add --all'
alias gst='git status'
alias gb='git branch'
alias gba='git branch -a'
自定义命令
vim ~/.zshrc
alias sync-master="git checkout master && git pull upstream master && git push origin master"
alias ssh-php="ssh dev@120.55.98.237"
. ~/.zshrc
Terminator
image.png快捷键
ctrl + c 停止
ctrl + w 删除光标前的命令参数
ctrl + a 将光标移到最前
ctrl + e 将光标移到末尾
ctrl + l 清屏
ctrl + r 搜索历史命令
命令
ssh
ssh-keygen -t rsa -C "shenshuo@zeaho.com"
ssh-copy-id -i ~/.ssh/id_rsa.pub eric@192.168.56.20
find
find . // 列出当前目录及子目录下所有文件和文件夹
find /home -name "*.txt" // 在/home目录下查找以.txt结尾的文件名
find /home -iname "*.txt" // 同上 但忽略大小写
grep
grep label /home/shenshuo/Desktop/mock/Area.js
find /home/shenshuo/Desktop/mock -name "*.js" | xargs grep "label"
开发
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.3/install.sh | bash
nvm install --lts
Deepin
-
UI很漂亮
-
丰富的软件库
-
Wine软件稳定性
网友评论