The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Excluding directories with find x96riley3 UNIX for Dummies Questions & Answers 3 04-08-2009 04:12 AM
Why cant i find my ftp directories in the unix structure elduderino UNIX for Dummies Questions & Answers 2 02-14-2008 02:11 PM
Find a file in sub-directories.. o/p just the path pranavagarwal Shell Programming and Scripting 3 11-23-2007 01:50 AM
Find directories not containing foo, and copy foo to them dkaplowitz Shell Programming and Scripting 6 06-29-2005 08:50 AM
Find files in Directories steiner Shell Programming and Scripting 4 04-02-2005 12:01 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-16-2005
jazz jazz is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 25
to find a file in set of directories

Hi,

what is the command in unix to find a file abc.c in a directory which had n number of sub-directories.

thanx
  #2 (permalink)  
Old 11-16-2005
ashterix ashterix is offline
Registered User
  
 

Join Date: Nov 2005
Location: cyberjaya
Posts: 85
$ find /dir -name abc.c -print
  #3 (permalink)  
Old 11-16-2005
iwbasts iwbasts is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 36
You go to the root directory

command :


find . -name filename


for example I want to find the find abc.c

cd /
find . -name abc.*
  #4 (permalink)  
Old 11-16-2005
jazz jazz is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 25
thanku... got the solution
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0