How To Display Current Directory In Linux Command Prompt

Display Current Directory in Linux Terminal

Hello everyone, today we will talk about how to show what is the address of current working directory in linux terminal. This  information is needed while we working on linux terminal and we need to know where is our working directory right now, this information can be retrieved by using PWD command.

PWD Command


PWD is abreviation of Print Working Directory, this command can be used to get the information of current location of directory tree.

How to Use PWD?

here is an example how to use PWD command to show the information of our current directory tree location, run this command in your terminal linux :
pwd

and here is the result :
elbirtus@asus:/opt/lampp$ pwd
/opt/lampp

Based on the result, now we have an information that, our current working directory location is in : "/opt/lampp

Komentar

Postingan populer dari blog ini

Which television show centered around the lives of the Carrington family?

Donald Trump will be the first to serve two non-consecutive terms since which commander in chief?