How do I capture the output of the strings command into a .txt file from the command line?


You use redirection:

strings file_name > output_name.txt

strings writes to stdout (and not to stderr as some programs do), so you don't have to do anything special.

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