What is the output format of the hexdump command?

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?

Answers


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


Need Your Help

Web service Array problem

php arrays web-services json

I have this web service http://onleague.stormrise.pt:8031/OnLeagueRest/resources/onleague/Social/Login?Token=210029242357724|fd4eef8a839f24db2a9fedcd.1-100001001235070|Nro7dAY411DJRn7E8zB6MOXHjq8

Prevent perforce from demanding eclipse project files be checked out

eclipse perforce

I'm currently working on several eclipse projects, using Perforce as my source control. I have the perforce eclipse plugin installed.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.