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 |
Describe the zip/unzip command using gzip.
Will rm -r* removes hidden files?
what is the command to find out the difference between files and folders?
How does one process we can start an executable file? How to get the PID process, which we started?
What is the command to compare two files in unix?
What is mtime in find command?
What is the use of awk command in unix?
What does the command ' $who | sort –logfile > newfile' do?
What does mkdir up2date; touch outdated up2date do?
in UNIX ,What is the command to view contents of a large error log file?
What are awk commands?
What Is the command to change a file's creation time. means one file is created at the time 15:19 then time should br changed to 14:14