How to list all files-content in a directory?
ls -la | cat.
Use the following command, recursive :
Non-recursive version (due to popular pression) :
The following command:
would find only files (
Studer's answer is good, and excluding directories is a good idea because it is an undefined behavior between unices, read grawity's comment. Here are two known behaviors :
If you need more information about the command or something more about it, please reply and I will annotate more/help you.
As John T pointed out, this command will go into every sub-directories. If you need only to cat files from the current directory, you would need