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

How do I run a bash script?

1116


Which command is used to create a directory?

1097


What is the difference between awk and grep?

1151


What is awk used for?

1079


What are grep patterns?

1027


What is a bash command?

1116


What are the commands in UNIX to list the files in a Directory?

1110


What is the command to view process running?

1071


What does the “echo” command do?

1101


Which command is used to kill the last background job?

1292


Explain the steps that a shell follows while processing a command.

1166


Is ‘du’ a command? If so, what is its use?

1095


What is the functionality of a top command?

1056


What is sed awk grep?

1073


What is the use of awk command in unix?

1072