LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 02-21-2008, 12:35 AM   #1
aboxilica
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-21-2008, 01:30 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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'

Last edited by jlliagre; 02-21-2008 at 01:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cron unable to find rcapache command jhill Linux - Newbie 4 01-15-2010 06:35 AM
hfs: unable to find HFS+ superblock VFS: Can't find ext3 filesystem on dev sdb. macroron Linux - Hardware 3 11-20-2006 09:50 PM
unable to find symphonyos tarotint Linux - Distributions 3 08-16-2006 01:44 PM
unable to find the boot: cyberfox1234 General 1 12-22-2004 05:33 AM
RH 9 Installation: Unable to find CD??? grbrg Red Hat 11 10-15-2003 03:01 PM


All times are GMT -5. The time now is 10:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration