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 |
Explain mount and unmount command.
What is awk used for?
Is it inbetween or in between?
How will you know who are the users logged in to the system before 15 minutes?
what is the difference between pipe(|) and tee command..
What is the protocol for PING command?
How would you find the size of a file or directory?
What are file commands?
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...
What is a bash command?
What does grep v do?
why unix commands can be divided into internal and external commands?