Base conversion in Ubuntu (decimal to binary)

Posted on Thu 11 January 2018 in tips, linux

Need to convert a base 10 integer in a base 2 one? Or, at any rate, convert a number from one numeration system to another? In Ubuntu, the bc utility already integrates these features. It is usually already installed, so you don't have to anything special.

Simply run bc, and …