Windows commands use the path environment variable to find the corresponding exe file. When installing git bash, some executable files are added to the path variable (such as the git command), which can be done through cmd Executed.
The
cd command is available by default under Windows. You may accidentally change path and add C:Windowssystem32; and it will work.
The command sets of windows and linux are different. Windows mainly focuses on graphical interface, and there are many fewer command line tools than linux.
Windows commands use the
Thepath
environment variable to find the corresponding exe file. When installinggit bash
, some executable files are added to thepath
variable (such as thegit
command), which can be done through cmd Executed.cd
command is available by default under Windows. You may accidentally changepath
and addC:Windowssystem32;
and it will work.The command sets of windows and linux are different. Windows mainly focuses on graphical interface, and there are many fewer command line tools than linux.
Reference https://en.wikipedia.org/wiki/PATH_(variable)
git bash is just a simulated unix environment using cygwin