Tags

,

So today as I was messing with the terminal in Ubuntu I accidentally typed the command “i” and the terminal said ” the program ‘i’ is not installed. You can install it by typing: sudo apt-get install iprint” lead by curiosity I installed it and it turned out that the command “i” whas a quiet handy command.

It prints the ASCII, hexadecimal, octal, and binary value of the command line arguments given to it. as an example you can run this “i ‘hello'” (without the quotation marks) and the output can be this:

104 0x68 0150 0b1101000 ‘h’
101 0x65 0145 0b1100101 ‘e’
108 0x6C 0154 0b1101100 ‘l’
108 0x6C 0154 0b1101100 ‘l’
111 0x6F 0157 0b1101111 ‘o’

which can be quiet helpful at times

Advertisements