Link to home
Start Free TrialLog in
Avatar of Isaac
IsaacFlag for United States of America

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!
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

ls is a unix command use DIR instead
Avatar of Isaac

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
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Isaac

ASKER

Worked like a charm.  Thanks!