How can I write a regular expression that will exclude a whole word.
Here is what I have now:
ls -a | grep "^[^\.]"
This lists out all files in the directory and removes all file names that begin with a destop. I then want to weed one other: a file called "Desktop". Can I use grep to select everything NOT "Desktop"?
Thanks for any advice!