我最新最全的文章都在南瓜慢说 www.pkslow.com,欢迎大家来喝茶! 1 前言 自动命令补全是非常有用的功能,特别是当命令有特别多参数时.显然,docker/kubectl就是这样的命令.我们来看看如何进行命令补全. 2 查看目前使用的shell 查看当前系统所支持的shell有哪些: $ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect wh…
pip default install to $HOME/.local on Debian/Ubuntu After pip 8.1.1-2 on Debian or Ubuntu you can pip install package without root user, which default to install to user home $HOME/.local. The patch add logic that install user home while you not run…
ubuntu中apt安装软件python时报: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 解决办法: 首先运行下面的命令来移除 /var/lib/dpkg/ 文件夹下的锁定文件: s…