©2018 by Zach Pfeffer

SEARCH THIS SITE

Print the name of a file and the file's contents

April 11, 2018

 

This post lists a Linux command that will print the name of a file and then print the contents of that file. 

 

The following command will print the name of the file and the files contents:

 

find . -type f -print -exec cat '{}' \;

 

References

 

 

 

 

Please reload

Our Recent Posts

LockHunter

December 23, 2019

4 Do’s and Don'ts for Recruiting in the Software Industry

December 23, 2019

A Fix for "You don't have permission to create items on this site: https://yoursite.sharepoint.com/sites/pwa"

September 25, 2019

1/1
Please reload

Tags

Please reload