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

Answers were Sorted based on User's Feedback



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

Answer / jiji

Type pwd at the prompt

Is This Answer Correct ?    18 Yes 2 No

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

Answer / mangai

In command prompt,type pwd

Is This Answer Correct ?    13 Yes 3 No

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

Answer / manikantan t s

go to the directory and give 'pwd'

Is This Answer Correct ?    12 Yes 4 No

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

Answer / 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

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

Answer / srikant

locate <dirname>

Is This Answer Correct ?    3 Yes 8 No

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

Answer / rao

find . -type d -print

Is This Answer Correct ?    4 Yes 11 No

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

Answer / chandra (acs)

$ echo $PATH

Is This Answer Correct ?    2 Yes 16 No

Post New Answer

More Unix Commands Interview Questions

Which command can you use to find the currently running process in unix server?

0 Answers  


what is exact definition of operating system?

13 Answers  


What's a command word?

0 Answers  


Which RAID Levels supported by LVM?

5 Answers  


How does the system know where one command ends and another begins?

0 Answers  






What does grep v grep do?

0 Answers  


How do you repeat a command in terminal?

0 Answers  


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,


use of ls command

9 Answers  


how to find the 51th record of a file containing 100 records in unix.

12 Answers   IBM,


Which command is used to restrict incoming messages?

0 Answers  


The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above

4 Answers   IBM,


Categories