Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In linux terminal, what is the command that'll tell me in which folder am I?

Tags:

In linux terminal, what is the command that'll tell me in which folder am I?

like image 656
devoured elysium Avatar asked Nov 17 '10 02:11

devoured elysium


People also ask

How do I know which directory I am in Linux?

To determine the exact location of your current directory within the file system, go to a shell prompt and type the command pwd. This tells you that you are in the user sam's directory, which is in the /home directory. The command pwd stands for print working directory.

Which command is used to know which directory you are in?

The pwd command can be used to determine the present working directory. and the cd command can be used to change the current working directory.

How do I find a folder in terminal?

To see them in the terminal, you use the "ls" command, which is used to list files and directories. So, when I type "ls" and press "Enter" we see the same folders that we do in the Finder window.


1 Answers

You are looking for pwd.

like image 50
vpit3833 Avatar answered Oct 07 '22 16:10

vpit3833