0

How could I run this command as an alias?

alias findsum='find /home/sams/ -name sum.txt -exec grep -H "$1" {} \;'

This should be very simple, but I am not able to make it work.

findsum test
find: paths must precede expression: `test'

0 Answers0