Skip to main content
1 of 3
Juicy
  • 4.1k
  • 12
  • 36
  • 45

XXD output without line breaks

Can I tell xxd to not print any line breaks in it's output and have my dump as one continuous line?

[user@localhost] : ~ $ echo -n "this is a long line and xxd is going to take multiple lines to print it" | xxd -p
746869732069732061206c6f6e67206c696e6520616e6420787864206973
20676f696e6720746f2074616b65206d756c7469706c65206c696e657320
746f207072696e74206974
Juicy
  • 4.1k
  • 12
  • 36
  • 45