How to list all files-content in a directory?
something like ls -la | cat.
|
How to list all files-content in a directory? something like
| ||||
|
feedback
|
|
Use the following command, recursive :
Non-recursive version (due to popular pression) :
| |||||||||
feedback
|
|
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. Edit:
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
The | |||||||||||
feedback
|