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 do chown command do?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the comma to show the space allocation of files?
What is the difference between AWK and SED commands? Plz give example and explain...
what is the default permission for /etc/shadow file in UNIX
when we installing aix os the ssh installed default?
write grep commands to select the lines that have exactly two characters
Explain command to display different lines that are found when compare two files?
What is the use of find command in unix?
How do you repeat a command in terminal?
What is Unix, and how does it differ from other operating systems?
What are the differences among a system call, a library function, and a unix command?