10.8k views
4 votes
If you have configured your prompt so that it does not show your working directory, you can use the ____ command to verify in what directory you are located, along with the directory path.

User Piccolo
by
6.2k points

1 Answer

3 votes

Answer:

pwd

Step-by-step explanation:

pwd stands for Print Working Directory. It prints the path of the working directory, starting from the root.

pwd is shell built-in command(pwd) or an actual binary(/bin/pwd).

The pwd command allows you to know the directory in which you're located. For example, pwd in the desktop directory will show ~/Desktop. Note that the GNOME terminal also displays this information in the title bar of its window.

The pwd command referred to as the "print working directory". simply shows you which directory you are in.

User Meet Zaveri
by
6.3k points