|
You will not find any difference between those two grep's. Rather try these two and see the difference.
grep '$USER' /etc/passwd
grep "$USER" /etc/passwd
Open the man pages of sh or ksh and see the section on Quoting. Basically single quotes prevent variable expansion.
|