Check system is Little Endian OR Big Endian
Solution 1:
Byte Order can be checked by viewing the information about CPU.
Run this command,
lscpu | grep "Byte Order"
You will get to know your Byte Order.
Solution 2:
You can also use Python:
python -c "import sys; print(sys.byteorder)"
It will print either little
or big
.