Originally posted by oshunluvr
View Post
<didactic, ignorable explanation>
If you have one, say x.desktop, the shell (bash) will change *.desktop to x.desktop and find will search for x.desktop. If there's more than one, find will give a "paths must precede expression" error. Confusing either way, I submit.
We use double quotes to tell the shell "don't do file name expansion and word separation on spaces". (Single quotes mean don't touch at all.) Understanding what the shell does to command lines before the commands get run is a good idea IMO.
</didactics>
)
Leave a comment: