/usr/local/bin/pmlocate: #!/bin/sh # change path if needed LOCATE="locate" LOCATEDB_PATH="/var/db/pmlocatedb" $LOCATE -d $LOCATEDB_PATH $1