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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -