Shell Script: Grep command for wild cards -
can please tell me how grep below line because when try grep it, giving wrong results.
*/5 * * * * /home/file.sh"
you can use grep -f
(fixed strings):
grep -f '*/5 * * * * /home/file.sh' cron.txt */5 * * * * /home/file.sh
Comments
Post a Comment