bc is command line calculator that is shipped with most GNU/Linux systems.
In this video we go through peculiarities of converting bases using bc (such as converting a decimal to hex).
My notes:
https://drive.google.com/file/d/1iEmC...
Happy hacking!