Use the od command,
od -t x1 filename
More Related Contents:
- How do I tell if a regular file does not exist in Bash?
- How do I tell if a file does not exist in Bash?
- Hexadecimal To Decimal in Shell Script
- Reading input files by line using read command in shell scripting skips last line
- Why is testing “$?” to see if a command succeeded or not, an anti-pattern?
- How to convert a string to lower case in Bash?
- How can I split a large text file into smaller files with an equal number of lines?
- Getting ssh to execute a command in the background on target machine
- How do I run a shell script without using “sh” or “bash” commands?
- Remove the last line from a file in Bash
- How to avoid bash command substitution to remove the newline character?
- How to keep quotes in Bash arguments? [duplicate]
- Bash: Capture output of command run in background
- Checking if output of a command contains a certain string in a shell script
- Multi-line bash commands in makefile
- Using the && operator in an if statement
- How to make awk ignore the field delimiter inside double quotes? [duplicate]
- How does the leading dollar sign affect single quotes in Bash?
- How to increment version number in a shell script?
- Get just the filename from a path in a Bash script [duplicate]
- if, elif, else statement issues in Bash
- Is there a way to make bash job control quiet?
- How to store the output of a command in a variable at the same time as printing the output?
- Why is bash errexit not behaving as expected in function calls?
- bash script loop through two variables in lock step
- Check if a file is executable
- When does command substitution spawn more subshells than the same commands in isolation?
- Rsync syntax error when run from bash script
- Left side of pipe is the subshell?
- What is the proper way to test a Bash function’s return value?