Current Working Directory for Different OS and Tools Bash: $(pwd)fish: (pwd)Windows Command Line (cmd): %cd%PowerShell: $(PWD) (Case-insensitive) Related