I'm using Amazon Linux with bash shell. I'm trying to touch every file in a certain directory, but this command is failing:
[myuser@mymachine scripts]$ find /usr/java/jboss/standalone/deployments/myapp.war -type f -exec touch '{}' ;
find: missing argument to `-exec'
How do I correct the above?
myapp.war
a folder? – Kusalananda Jun 07 '17 at 14:53