How do you find path of a directory? Give its syntax.
Answers were Sorted based on User's Feedback
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 I find previous commands in unix?
29. How to display top 10 users Who | head -10 | wc –w
How to display a file name which has zero bytes in size.
How to delete a directory containing files and folders?
In UNIX, what is the command to kill a process?
What is difference between grep and find command in unix?
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
How to open a Database using Unix Command Please Do Reply
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
What does the md command do?
What does touch command do in unix?
What is the Unix file system hierarchy?