If you type in command pwd in Windows command prompt to print name of current/working directory and you see the following error,
C:\Users\Code2care>pwd
'pwd' is not recognized as an internal or external command,
operable program or batch file.
Well nothing wrong with the command, but you typed in a Unix command in Window Prompt which is not supported, you would need to use cd command instead to display the current directory you are in,
C:\Users\Code2care>help cd
Displays the name of or changes the current directory.
CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]
.. Specifies that you want to change to the parent directory.
C:\Users\Code2care>cd
C:\Users\Code2care
More Posts related to Bash,
- How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD
- How to create new user account in Windows bash
- Bash Hello World! Script Tutorial
- How to Compare Strings in Bash
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- Bash command to wait for seconds
- [fix] bash: ssh: command not found
- bash: netstat: command not found
- Know Bash shell version command
- List all Username and User ID using Bash Command
- How to use Autocomplete and Autosuggestion in Shell Commands
- How to know the current shell you are logged in?
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- 'pwd' is not recognized as an internal or external command, operable program or batch file. [Windows]
- How to Kill a port using bash terminal command?
- How to fix bash ping command not found error
- Install Bash Completion on macOS
- bash get year 2021 calendar
- How to check your IP using bash for Windows?
- Bash For Loop Example
- Fix bash: script.sh: Permission denied Error
More Posts:
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar - MacOS
- Shortcuts: How to Toggle Word Wrap in Visual Studio Code (VS Code) - Shortcuts
- How to activate and create SharePoint Spaces feature for mixed reality experience - 2D/3D images and web parts - SharePoint
- How to pip install Python Modules in VSCode - Python
- Building library Gradle Project Info: Downloading services.gradle.org - Android-Studio
- How to create StackOverflow error in java - Java
- Get count of SharePoint List or Document Library Items using PowerShell - SharePoint
- Disable Startup Sound on macOS - MacOS