摘要: 方式一:使用$[]或$(()) 格式为:$[base#number]或$((base#number)),其中base为进制,number为对应进制数。 这种方式输入2进制、16进制等,但只能输出为10进制,如下: root@laptop ~ # echo $[2#1100]12root@laptop 阅读全文
posted @ 2018-12-18 23:15 梦想与现实边缘 阅读(1867) 评论(0) 推荐(0) 编辑