shell获取当前文件路径
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readlink -f "$0"))
echo $curPath
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readlink -f "$0"))
echo $curPath
准备工作一台服务器:Ubuntu Server 16.04.1 LTS 64位安装RabbitMq可以参照RabbitMq官网的安装教程(Installing on Debian and Ubuntu),来进行安装。这里我们使用apt-ge...
强制升级:sudo pip install --ignore-installed +模块名...
git rm -r --cached . git add . git commit -m "update .gitignore" git status查看是否是"working di...
vim /usr/lib/systemd/system/*.service修改了server的配置需要执行一下systemctl daemon-reload让系统重新加载以下配置,尤其是server中的配置地址更换了分区...
Linux 时间矫正sudo ntpdate -u ntp.api.bz第一使用可能提示ntpdate没安装,用以下命令安装即可ubuntu系统sudo apt install ntpdatecent...
zFile pyzipper.() zFile.(.())...