I have stumbled about the way a text file is saved by the OS. I have typed:
printf "ab" | hexdump
and the output was:
which are the letters in reversed order. My first intent was endianess, but this cannot be true, since at this level, such abstractions must be transparent to the programmer and user. Also endian would be:
$$ab \mapsto 6162 \mapsto 2616$$
So I wondered, why would someone save a file like that?