xxd -p file
Or if you want it all on a single line:
xxd -p file | tr -d '\n'
More Related Contents:
- grep lines that contain 1 character followed by another character
- Bash script prints “Command Not Found” on empty lines
- What’s the magic of “-” (a dash) in command-line parameters?
- Pseudo-terminal will not be allocated because stdin is not a terminal
- Is there a “goto” statement in bash?
- Expanding a bash array only gives the first element
- How can I generate new variable names on the fly in a shell script?
- How can I preserve quotes in printing a bash script’s arguments
- Bash while read loop extremely slow compared to cat, why?
- Automatically capture output of last command into a variable using Bash?
- Find multiple files and rename them in Linux
- How to find the last field using ‘cut’
- How can I loop over the output of a shell command?
- Difference between ${} and $() in Bash [duplicate]
- Why does /bin/sh behave differently to /bin/bash even if one points to the other?
- [ :Unexpected operator in shell programming [duplicate]
- How to redirect output of an already running process [duplicate]
- Command to get time in milliseconds
- How to limit user commands in Linux [closed]
- Get current time in seconds since the Epoch on Linux, Bash
- How can I run a function from a script in command line?
- Prevent Gnome Terminal From Exiting After Execution [duplicate]
- Syntax with pound and percent sign after shell parameter name [duplicate]
- Insert multiple lines into a file after specified pattern using shell script
- Get ceiling integer from number in linux (BASH)
- How can I trim white space from a variable in awk?
- Run script with rc.local: script works, but not at boot
- Maximum number of Bash arguments != max num cp arguments?
- Write a bash shell script that consumes a constant amount of RAM for a user defined time [closed]
- Using “$RANDOM” to generate a random string in Bash