January 24th, 2011, 10:53 AM
Lookup a file
I tried to find the path where the sqlplus is located by using the commands whereis and find but it did not display the path. Please see below. I wonder how you do it. Thanks.
$ whereis sqlplus
$ find sqlplus
find: cannot stat sqlplus
January 24th, 2011, 02:50 PM
Witch or which?
Originally Posted by soap
$ which sqlplus
April 27th, 2011, 03:41 AM
Try this from home directory
find . -name sqlplus
April 27th, 2011, 07:04 AM
Doing that from your home directory (or anywhere else) will only find files in or under that location so would not be, in this case, a lot of use.
Originally Posted by loganayaki
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc