Isaac
asked on
'ls' not working after a git init
Hi All,
I'm using visual studio code and using the integrated terminal.
When I create a directory and then type "git init", my new directory gets initialized.
But when I type "ls" to list the contents, I get the following error
" 'ls' is not recognized as an internal or external command, operable program or batch file. "
Am I missing something? Thanks!
I'm using visual studio code and using the integrated terminal.
When I create a directory and then type "git init", my new directory gets initialized.
But when I type "ls" to list the contents, I get the following error
" 'ls' is not recognized as an internal or external command, operable program or batch file. "
Am I missing something? Thanks!
ls is a unix command use DIR instead
ASKER
but I'm able to use that command in my bash terminal on my windows machine.
I'm just trying to use in Visual Studio Code integrated terminal on the same machine
I'm just trying to use in Visual Studio Code integrated terminal on the same machine
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked like a charm. Thanks!