Linux Command File Content Query command-od, linux Command query od

Source: Internet
Author: User

Linux Command File Content Query command-od, linux Command query od

Name: od

Location:/usr/bin/od

Permission: All Users

Purpose: view non-plain text files, such as binary files

Usage: od [-t TYPE] File

-T can be followed by outputs of various types

A: Default reason characters are output.

C: output using ASCII characters

D [size]: output data in decimal format. Each integer occupies size bytes.

F [size]: outputs data using floating point numbers. Each integer occupies size bytes.

O [size]: Outputs Data Using octal. Each integer occupies size bytes.

X [size]: The hexadecimal format is used to output data. Each integer occupies size bytes.

For example:

$ Od-t c/etc/issue0000000 U B u n t u 1 2. 0 4 l t S0000020 \ n \ l \ n \ n0000030 $ od-t d/etc/issue0000000 1853186645 824210804 875572786 13980334400000020 544103456


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.