Grep files in subdirectories
I have ubuntu 11.04
On windows systems I can use find in files to look for my strings in my source (*.c) files
In dos prompts I can use grep to do the same
If I try grep on ubuntu in the form
grep -iaR "string" *.c
I am told that *.c doesn't exist AND IT DOES!!!!!!! SEVERAL OF THEM!!!!!!
I've seen several places on the net all claiming that grep works. Clearly it doesn't on all systems. Why is it that Unix doesn't appear to be able to successfully do what unix, solaris, dos, cpm, windows... in fact just about any operating system since man stopped chisseling messages in stone can manage? So far this is one OS I would not recommend to my worst enemy never mind a friend.
Also why the stupid rules on what I must use as a password to what is only a discussion site? This isn't a world renowned hyper secure nuclear facility its a place to ask questions about an OS that blatently doesn't work properly.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grep Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dave for more information if necessary.