How do I find the current directory 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.
What symbol means current directory in Linux? The shell interprets a tilde ( ~ ) character at the start of a path to mean “the current user’s home directory”.
How do I display current directory? You can use the dot ( . ), the ~+ tilde expansion, the pwd command or the $PWD variable to represent the current working directory (CWD).
How do I display the current working directory in Unix? Unix/Linux get current working directory. To get the current working directory use the pwd command.