讓shell 幫你轉換2, 8, 16 進位至10進位. 測試過bash 及ksh 均有此功能。 # 2進位轉10進位$ echo "Convert 2 to 10: $((2#11111111))" Convert 2 to 10: 255 # 8進位 ...
確定! 回上一頁