I am having a Problem with Grep


#1

$ grep -R Artic /home/ccuser/workspace/geography

That is the code that I am using but I keep getting the error code: Type Command After Shell Prompt.

Any help is appreciated!


#2

You have a little typing mistake there.


#3

$ grep -R Arctic /home/ccurser/workspace/geography
grep: /home/ccurser/workspace/geography: No such file or directory
$ pwd
/home/ccuser/workspace/geography
$ grep -R Arctic
deserts.txt:Arctic Desert
oceans.txt:Arctic Ocean
uniq-deserts.txt:Arctic Desert
continents.txt:Arctic Ocean

I'm having problems too!


#4

A small typing mistake there.


#5

Thank you! I can never find my own typing mistakes.


#6

grep -R Arctic /home/ccuser/workspce/geography

It's not working , please help.

Thanks,


#7

/home/ccuser/workspce/geography

You have a typing mistake in that path.