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 is the use of egrep command in unix?

1199


Enlist some filename manipulation commands in unix.

1164


How do I use nslookup?

1100


Write a command to kill the last background job?

1107


What is grep in bash?

1073


How can you see the command line history?

1145


What is the use of finger command?

1219


How can we use grep command in unix?

1218


What's a command word?

1185


How do I run a bash script?

1192


Does cp command overwrite files?

1217


How many unix commands are there?

1160


Which command is used to delete all files in the current directory and all its sub-directories?

1267


What command is used to check the current users?

1136


What is the command to view process running?

1115