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 |
What is command statement?
How to see unused port number in Solaris?
What are Unix processes, and how do you manage them?
What is Unix, and how does it differ from other operating systems?
What are the general commands in using unix os for a beginner?
which command is used to change group?
What is the nmap command?
what do you understand by 'unix is a portable os'?
29. How to display top 10 users Who | head -10 | wc –w
how to unzip the contents of the gzip file
What is a command and examples?
What is the size of time_t?