How to Convert Linux to Endian

When using the "convert" utility on Linux, you can specify the endianness parameter to change the type of endian in that conversion. The endian is the data ordering method used across the external method. There are two types of endian "most significant" (MSB) and "least significant" (LSB). MSN orders the first byte biggest, with the final byte the smallest, whereas LSB orders the smallest byte first and the largest last. This is useful to know if you want to understand the computer science behind how bytes are stored on your computer during file writes.

Instructions

    • 1

      Open your Terminal in Linux by selecting the desktop icon or system menu.

    • 2

      Type "convert -endian--MSB /path/to/input /path/to/output" (without quotes). Replace "MSB" with "LSB" if you want to specify least significant. Replace the paths with the input and output file and paths that you want to convert.

    • 3

      Press "Enter."

Related Searches:

References

Comments

Related Ads

Featured