1.tar not found in archive
压缩文件使用的相对路径 在当前目录下找不到 /usr目录,需要 -C 参数指定解压目录可解决此问题
sudo tar -zvxf WebStorm-8.0.1.tar.gz -C /opt
2.git 自动补全命令
将下面几行代码注释去掉,然后重启终端就可以了。
sudo
vim /etc/
bash
.bashrc
1 if [ -f /etc/bash_completion ] &&! shopt -oq posix; then 2 . /etc/bash_completion 3 fi
3.在终端中运行如下命令,以清除DNS缓存:
$sudo /etc/init.d/dns-clean start