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 |
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
How to delete a directory containing files and folders?
What is in grep command?
Give two UNIX kernel parameters that effect an Oracle install
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
what are processor execution levels and priorities?
why metadb requires a seperate slice to create Solaris volume manager
what is difference between unix and linux?
what does the 'tee' command do?
What does 'mkdir' command do in UNIX?
How would you change all occurrences of a value using VI?
what are the uses of filters?