Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Introduction to Git First Commits Initializing a Repository

I get back a error from terminal when i write : ls -a command

command ls -a does not not work for me, can somebody tell me why?

  • ls -a
  • ~~
  • CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException
  • FullyQualifiedErrorId : AmbiguousParameter,Microsoft.PowerShell.Commands.GetChildItemCommand

many thanks

Shay Paustovsky
Shay Paustovsky
969 Points

Hi Olivia,

Where are you typing the 'ls' command ? Windows (cmd) or Mac (terminal)

Shay.

2 Answers

Shay Paustovsky
Shay Paustovsky
969 Points

Hi Olivia,

Unfortunately CMD does not support the -ls- command, you will need to install "Git for Windows" or use the workspaces provided on the treehouse website.

Most of the commands for VCS courses here in Treehouse are UNIX-OS based hence it won't work on windows.

Hopefully I've helped

Shay

hi Shay, it is Windows (cmd)