Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you find path of a directory? Give its syntax.

Answer Posted / rohit

find . -name <name of the directory you want to serach>

pwd as mentioned in rest of the answer give you the path of
the directory where the user is currently present
echo $PATH gives you the the path only when the PATH
variable is set as environment variable..but it will be
fixed.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chown command do?

1184


What are grep patterns?

1080


What are the general commands in using unix os for a beginner?

1168


Who command in unix?

1139


What's a command word?

1173


What does the metacharacter mean?

1133


What is the search command in unix?

1090


What do chmod, chown, chgrp commands do?

1285


How do you repeat a command in terminal?

1223


Is grep faster than awk?

1041


What is a command and examples?

1226


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1396


Describe the usage and functionality of the command rm –r * in unix?

2098


What do chmod command do?

1218


How do I use grep to search for a file?

1052