When working in command line in Linux, it is not always clear what is the current working directory or path. Or, in case of home folder
~, you sometimes need to know the real path.
Usually there is at least some part of the path visible before the prompt ´$´, for example:
~ represents the current path, but it does not tell a much details. Also, if the path is very long, only the last directory might be visible here.
pwdCommand to Get the Current Path
[email protected]:~$ pwd /home/user/