Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-21-2004, 08:31 AM   #1
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE Leap 42.3
Posts: 368

Rep: Reputation: 30
What command will locate a particular..

directory in Unix/Linux OS...I've tried grep, find, ls -d.....not sure which cmd is the most accurate. I"m
trying to find the "location" of a directory....thanks in advance
Old 03-21-2004, 09:07 AM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
If you are seaching your directory structure, then find ought to do the trick. Something like find / -iname directoryname

In this case find would start at / and look for directoryname in a case insensitive manner.

Check out man find for more options.


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
locate command missing arnott SUSE / openSUSE 2 02-19-2005 10:29 AM
Locate command matt1982 Linux - General 3 01-09-2005 12:22 AM
How to use locate command MartinOG Linux - Newbie 3 06-07-2004 02:59 PM
using locate command stabu Linux - Newbie 6 03-26-2004 05:13 AM
Locate command does not work waffe Linux - General 2 09-26-2003 10:54 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:20 AM.

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