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 trialJay Patel
Courses Plus Student 30 Pointsbash: sudo: command not found.
I cannot use command sudo to do anything for example if i do sudo apt-get update. It gives me error.
1 Answer
Steven Parker
231,269 PointsWhere are you entering this command? The "console playground" used in the console foundations course is the only place I'm aware of where you can use it, other than on your own Linux system.
Jay Patel
Courses Plus Student 30 PointsJay Patel
Courses Plus Student 30 PointsWhat do you mean by console playground and I am using this command at one of the treehouse workspace
Steven Parker
231,269 PointsSteven Parker
231,269 PointsI was speaking of the companion tool used in the Console Foundations course.
I don't think the regular workspaces have a "sudo" command, but I would not expect it to be needed in any courses that use them. Can you provide a link the course page you are working with?