Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found

tcpdump -l -s0 -w - tcp dst port 80 | strings

on this article. So I want to try to use strings command. But command like

echo 'abc' | strings

does not work. Why? Thanks in advance.

I read the strings manual. But got no luck.

share|improve this question
up vote 6 down vote accepted

Read the manpage:


For each file given, GNU strings prints the printable character sequences that are at least 4 characters long [...]

Note the 4...

To make it work:

echo abc |strings -n 3
share|improve this answer
= =! Thanks. I should read it more carefully... – LouXiu Mar 19 '13 at 1:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.