LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   unable to use find command (https://www.linuxquestions.org/questions/solaris-opensolaris-20/unable-to-use-find-command-622674/)

aboxilica 02-21-2008 12:35 AM

unable to use find command
 
hi

I am a new user to unix. I have worked in few linux systems before, but currently working in solaris 9.0

I am unablet o use the find command

when i say find -name *.txt or find -name '*.txt' my pwd is /mnt

i get the foll. msg :

find: path-list predicate-list

I am actually trying to located the snapshot.txt, in /mnt

kindly help me out.

jlliagre 02-21-2008 01:30 AM

As the message says, find expects first a path list which you fail to provide.

The command should have been something like:

Code:

find /mnt -name '*.txt'
or
Code:

find . -name '*.txt'


All times are GMT -5. The time now is 09:25 PM.