Reputation: 1585
This is noob question: I'm trying to run the following script that I found online:
find <file name> -type f -exec cat {}
for some reason I'm getting an find: missing argument to '-exec'
error.
What am I doing wrong?
Upvotes: 1
Views: 1624
Reputation: 18940
The semicolon (quoted or escaped) at the end of line is missing. It should be:
find <file name> -type f -exec cat {} \;
Upvotes: 3