©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

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

September 25, 2019

Create a Tree-View of a Directory on Linux with 'tree'

August 17, 2019

Use draw.io in Google Drive (and Get Rid of draw.io )

June 30, 2019

1/1
Please reload

Tags

Please reload