LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

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: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration