Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-15-2003, 04:59 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
how to find file using wildcard?

Say, if i want to find files with word 'abc' in the name, how could I do?

I've tried find / -name %abd% but it seems not work...
Old 10-15-2003, 05:27 PM   #2
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 31
take a look at this page

[edit]although i still think you should read the page, here's a quick answer to your question:

find / -name '*abc*' -print
find / -print | grep -i abc

Last edited by chup; 10-15-2003 at 05:42 PM.
Old 10-15-2003, 07:03 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
many thanks!
Old 10-15-2003, 09:21 PM   #4
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
The -print option is redundant with current versions of find.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find excluding multiple directories with a wildcard pteigeler Linux - Software 1 09-02-2005 10:57 AM
ksh check if file exists (using wildcard) problem r18044 Linux - Newbie 5 02-22-2005 07:52 AM
Find File broken, need search utility, where does WineX install, KDE file roller? Ohmn Mandriva 6 07-05-2004 10:34 PM
where can I find grammar file and lex file of GNU c ? thinks Huiming Linux - Software 1 06-11-2004 07:38 AM
Subdomais Apache *wildcard CNAME - VirtualDocumentRoot - config file Rai Paul Linux - General 4 06-01-2003 08:19 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:50 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
Open Source Consulting | Domain Registration