Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-24-2004, 06:14 AM   #1
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
Confusing find command

I have these files under my home directory:

However, when I do a

find ./ -name lib* (I'm in the home directory)

I get this error :
"find: paths must precede expression
Usage: find [path...] [expression]"

Is the command wrong to search for all files that start with lib?

Old 03-24-2004, 06:26 AM   #2
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
find ./ -name "lib*"


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
Find/grep command to find matching files, print filename, then print matching content stefanlasiewski Programming 9 06-30-2016 05:30 PM
The find command Gins Linux - General 6 09-18-2005 07:03 AM
find command jch02140 Linux - Newbie 2 07-19-2005 12:21 AM
What is the FIND command Mic Q SUSE / openSUSE 1 04-07-2005 09:08 AM
Find command?? mylo2003 Linux - Newbie 3 08-07-2003 02:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 PM.

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