Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3619160
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:50:38+00:00 2026-05-18T22:50:38+00:00

echo -n abcd > my_test_file hexdump my_test_file # 0000000 6261 6463 # 0000004 hexdump

  • 0
echo -n abcd > my_test_file
hexdump my_test_file
# 0000000 6261 6463                              
# 0000004
hexdump -C my_test_file
# 00000000  61 62 63 64                                       |abcd|
# 00000004

Is the file stored on harddisk like the first output and the “hexdump -C”-output is reordered for readability?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:50:38+00:00Added an answer on May 18, 2026 at 10:50 pm

    The second hexdump represents the storage on disk. The first variant exists more for historic reasons (16 bit big-endian architecture on PDP-11).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider file a.php : <?php echo $_GET['a']; ?> a.php?a=abcd' prints abcd\' . I think
When echo ing to a file. echo is printing extra tabs before what is
echo $_POST['time'].<br/>; echo $_POST['day'].<br/>; echo $_POST['year'].<br/>; echo $_POST['month'].<br/>; I have value store like this
echo $nav gives code like this: <ul> <li class=someclass>sometext <ul> <li class=someclass>sometext</li> <li class=spacer></li>
echo (<div style=\text-align:center\> . include ('file.php') . </div>\n); I'm not sure why, but whenever
echo Something=Something > file I can use paramiko's exec_command to do cat , grep
Echo $var gives me something like http://342.234.243.142/data/somethingmore/ IP-address everytime is different. Instead of somethingmore
echo <img src=.$file. > ; does not display image, while $file points to the
Using sed , I would like to extract STRING between the first occurrence of
This is my hello.sh shell script VALID_NAME=abcd echo Name: read name if [ $name

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.