How to know the present working directory in unix?



How to know the present working directory in unix?..

Answer / kanimozhi

* pwd command is used for printing the current working directory.
* It prints the full system path of the current directory to the standard output.
* pwd is a shell built-in command means, it is part of the code that runs the shell rather than calling external executable.In that way the command works faster.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

Explain about shell aritmetic operators and functions?

0 Answers   HCL,


What is a superuser?

0 Answers  


How to display n-th line of a file in Unix?

0 Answers  


Name the different file types available with unix.

0 Answers  


1)How to schedule a job,that will periodically execute in second by crontab? 2)I know only second specific time to execute the job. like 10 10 * * * sleep 40&&ps -l>/dev/pts/1 It will execute at 10:10:40 AM but do not know how to execute 15 second,30 second so on at 10:10 am.

3 Answers   Qwest,






What is unix directory structure?

0 Answers  


Is mac built on unix?

0 Answers  


How is unix different from windows?

0 Answers  


What was unix originally written for?

0 Answers  


Explain piping.

0 Answers  


How do I search for a grep file in unix?

0 Answers  


Consider a TCP echo client which blocks on fgets which read input from standard input. If now the corresponding server process crashes, what will client TCP kernel receive? Can the client process receive that? Why or why not? How you solve the above problem?

1 Answers  


Categories