pwdPrints the absolute path of the current working directory.
Prints the full path of the current working directory, optionally resolving symbolic links.
sudo apt install coreutilspwdPrints the absolute path of the current working directory.
pwd -PPrints the physical path with all symbolic links resolved.
pwd -LPrints the logical path, keeping symbolic links as you navigated them (the default).
echo "$PWD"The same information from the PWD environment variable, useful in scripts.
echo "$OLDPWD"Shows the previous directory, which `cd -` returns to.
readlink -f .Another way to print the fully resolved path of the current directory.
The shell built-in that changes the current directory, including shortcuts for home, previous and parent directories.
Lists directory contents with sizes, permissions, owners, timestamps and hidden files.
Copies files and directories, preserving attributes when asked.
Moves or renames files and directories.
Removes files and directories. There is no recycle bin — deletion is immediate.
Creates directories, including parent paths and with specific permissions.