Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

For example, just now I compared file permissions in C.

Turns out, the permissions were 33216!

After some total confusion, with this

echo $(printf %o 33216) % 100000 | bc

I got it back to the familiar 700.

My first thought was to use units. I think units is excellent, so I guess I'm looking for units but with a tilt towards computing.

Another example of usage could be, you enter % and HTML, and you get %

share|improve this question
6  
What is the question here? – killermist Jul 8 '12 at 17:00
They question is, is there a tool to do all the common computations/conversions that you run across when you write code, like the examples I gave. Normally that sort of stuff is not basic math so getting an ordinary calculator to do them can be tricky (although of course possible). Also, it is often not intuitive so memorizing is slow. Probably you know about the units tool, that would be gold to have, but instead of kilograms and pounds, bit patterns, the different ASCII tables, and so on. – Emanuel Berg Jul 9 '12 at 18:52

closed as not a real question by Ulrich Dangel, Shawn J. Goff, Kyle Jones, Gilles, Michael Mrozek Jul 9 '12 at 2:02

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.