Originally Posted by mddesai
$ grep 'PASSED\|Time' /usr/lib/edge/lists/simple_job/edge_summary.txt
Is there a way to use grep to see the permissions on a file? for example in a certain dir I need all files to be chmod 666 or higher > -rw-rw-rw-
sometimes theses files permisson get changed, is there a way to run a grep command to look at the permissions and if it ever finds a file that is below 666 it will run chmod ugo+rw /appl/foodconnex/output/* > this way it will not effect files and folders higher then 666 but it will move ever file below 666 to 666.