![Forrest logo](/images/logo.png)
hexdump:tldr:76759
The hexdump
command is used to display the contents of a file in hexadecimal format. Here is an explanation of the specific options used in the command you provided:
-
--no-squeezing
or-v
: This option prevents thehexdump
command from squashing multiple consecutive lines with identical content into an asterisk (*) and a line count. Without this option, if there are multiple lines with the same content, only one line would be displayed, and its count would be denoted with an asterisk. -
${filename}
: This is a placeholder for the actual name of the file you want to display in hexadecimal format. You need to replace${filename}
with the name of the file you want to view.
In summary, the command hexdump --no-squeezing ${filename}
will display the contents of the specified file in hexadecimal format line by line, without collapsing consecutive identical lines.