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 |
Which command can you use to find the currently running process in unix server?
what is exact definition of operating system?
What's a command word?
Which RAID Levels supported by LVM?
How does the system know where one command ends and another begins?
What does grep v grep do?
How do you repeat a command in terminal?
How to install scsi driver in unix? give me explanation clearly?
use of ls command
how to find the 51th record of a file containing 100 records in unix.
Which command is used to restrict incoming messages?
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above