[colug-432] Question about grep and using " " in bash

zach villers zachvatwork at gmail.com
Wed Apr 15 09:51:48 EDT 2015


Is there a difference between;

ls -l | grep ^...s

AND

ls -l | grep "^...s"

*trying to find files with setuid permission*

A trainer told me using quotes with the grep statement was necessary,
but it doesn't seem to be.

Thanks!



More information about the colug-432 mailing list