I know this sounds like a super ambiguous question, but I think it's relevant. First, let me define some terms.
In this question, meaning the literal 1s and 0s that the computer itself sees - the on and off of an electrical switch. I understand that there are different ways of representing binary, but here I mean just the ones and zeros. I mean by no means a Linux executable, but from what I understand a Linux executable is indeed a binary file, just when you
cat it, you get a different "format" of output. Again, here I mean
Bits and bytes and characters
If you see me referring to these, please excuse my unprofessionalism. I understand that a standard ASCII characters is
8 bits, or
1 byte, but that it can maybe sometimes fit in
7 bits. I also understand that a UTF-8 character can range from
8 bits to something like
1 byte to
4 bytes. This is pretty much my understanding of characters. Don't mind me if I use these names interchangeably, and please do understand that this is my limit of understanding when it comes to this area. Furthermore, when I refer to a character as 8 bits, I mean I understand that it can be 32, as well as all of the other cliché arguments stated above.
I will refer to the term "computer" in the future. What I really mean is the CPU, in conjunction with everything else that brings and takes output from it. I understand that a computer is maybe millions of parts, I understand that, say, the Power Supply has nothing to do with the data mentioned below, but when I mention "computer", I really mean CPU and co.
Now that I've gotten that off my chest, I'd like to give my first pass at the question.
Is there an equivalent of
stdout in raw binary?
For example, if I change the letter "A" to binary, I'll get
01000001. I assume that when the computer sees this, it sees an "A". There is a whole alphabet of letters, ten numbers and tons more characters that have a binary representation. These are really just a combination of around 8
Now, I know that a binary file is really a set of instructions to the "computer". This much was made clear to me when I was 10 years old. What I wonder is, what is the representation of these instructions? If I take
01000001 and convert it, I'll get "A". Well, what is the binary for "stdout"?
EDIT: I think a good way to put it is "what is the combination of 1s and 0s to indicate to the computer to output xxx (e.x.,
I'm honestly unsure if I'm making sense or overthinking it. I feel so silly talking about bInArY iS tHe LaNgUaGe FoR cOmPuTeRs... But I can't get this off my mind.
Anyways, anyone that can alleviate the stress from me is welcome to. Thank you very much in advance!