How can I grep symbols like "minus": -
Hello, I'm not that newbie to linux but I haven't found a way to grep minus symbol (or any other symbols that might suggest a console command).
A directory called abc, with subdirectories called: abc-a, def-a, ghi-a, jkl-a, and etc...
If i want to list only the directories that finish with "-a" I might do:
$ ls | grep -a
But sintax -a might be an option switch or something, so it won't let me use it with grep.
How can I grep those directories?
Last edited by Netooo; 07-18-2010 at 10:03 PM.
Reason: Wrong English XD