find particular directory | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

find particular directory

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-10-2007
arulkumar arulkumar is offline
Registered User
 
Join Date: Aug 2007
Last Activity: 26 June 2009, 7:14 AM EDT
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
find particular directory

Hi,

i know only directory name

I want to find location of tat directory(full path)

is there any option to find directory
Sponsored Links
    #2  
Old 10-10-2007
vino's Avatar
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 9 April 2013, 8:19 AM EDT
Location: Sydney, Down Under
Posts: 2,847
Thanks: 0
Thanked 12 Times in 12 Posts

Code:
find / -type d -name "dir_name" 2> /dev/null

If there are multiple directories with same name, all of them will show up.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find Failing on directory with spaces in directory name Find xargs sed errors. Find and replace. sipeki UNIX for Dummies Questions & Answers 28 04-08-2012 05:35 PM
"-maxdepth 1" argument for Solaris find. Other way to restrict find in only one directory? slashdotweenie UNIX for Dummies Questions & Answers 4 11-18-2011 12:52 PM
Find Directory help brandonpal Shell Programming and Scripting 6 11-21-2010 12:34 PM
Script to find a string in a directory/sub-directory gross UNIX for Dummies Questions & Answers 3 11-13-2008 03:45 PM
how to find a file named vijay in a directory using find command amirthraj_12 UNIX for Dummies Questions & Answers 6 10-25-2008 12:37 PM



All times are GMT -4. The time now is 10:36 PM.