![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
文章平均质量分 54
czl689
这个作者很懒,什么都没留下…
展开
-
ubuntu 20 安装docker
sudo apt-get -y install docker.io11、查看docker版本sudo docker version or sudo docker -v12- auto using sudo to execute docker everytimesudo usermod -a -G docker $USERorsudo usermod -aG docker $USER原创 2022-03-21 13:57:03 · 1269 阅读 · 0 评论 -
Thinkpad笔记本ubuntu风扇设置
If you own a ThinkPad, there's a piece of software called thinkfan that does exactly this. As the name obviously suggests, it is specifically made for ThinkPads (thinkpad_acpi).The thinkfan software is available in the standard ubuntu software repositori转载 2022-03-27 10:29:37 · 1225 阅读 · 0 评论 -
Linux Shell 进制错误 - value too great for base (数值太大不可为算数进制的基)
Linux Shell 编程进行数学运算时,如果有字符 '0' 打头的数 Bash 会当做八进制解释,而这经常会引起问题。比如我们用"08"参加运算,本意是当做10进制的8,实际却会运行报错:value too great for base (数值太大不可为算数进制的基)。通常情况下,直接写的数值不会以0打头,但如果是以前面命令的格式化输出为参数时,则往往不能控制。更危险的是,如果参与运算的以'0'打头数值达到了两位数或更多,且数值的每一位均在0-7之间,则 Shell 不会报错,但会输出错误的运算结果转载 2021-12-04 17:10:57 · 3269 阅读 · 0 评论