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

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -