Home » Questions » Computers [ Ask a new question ]

List all content of all files in the directory UNIX

List all content of all files in the directory UNIX

How to list all files-content in a directory?

Asked by: Guest | Views: 337
Total answers/comments: 1
Guest [Entry]

"Use the following command, recursive :

find /path/to/folder -type f -exec cat {} \;

Non-recursive version (due to popular pression) :

find /path/to/folder -maxdepth 1 -type f -exec cat {} \;"