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

C# C# Basics (Retired) Perfect if / else if / else

Norbu Wangdi
Norbu Wangdi
7,187 Points

bash: msc: command not found 

When i clear, compile and run with clear && mcs Program.cs && mono Program.exe, i get bash: msc: command not found. What does it mean and how can i fix it?

3 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

The command is mcs not msc :smiley: Now the code you posted shows that you typed mcs. But the error tends to indicate that you typed msc. Try again, and make sure you type mcs :thumbsup:

Norbu Wangdi
Norbu Wangdi
7,187 Points

my bad... :( Thank you so much for instant answer. Appreciated Jennifer.

Carmine Bastevole
Carmine Bastevole
342 Points

thanks I had the same problem.