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 trialChen Liu
9,996 Pointsterminal on mac, I tried sudo adduser under home directory, it returns sudo: adduser: command not found.
I am very new to console. I tried terminal on my mac to follow Jims video , and when I tried sudo adduser under the home directory, it returns sudo: adduser: command not found, does anyone can explain a bit to me why I could not create it? Many thanks.
3 Answers
Mohd Maqbool Alam
Full Stack JavaScript Techdegree Student 5,715 PointsHi Chen liu
video looks specifically at how to create users on Ubuntu Linux. not Mac. mac Unix and Ubuntu Linux has so much common but lots of differences try the command in the treehouse console
Ralph King
3,819 PointsOn a mac you use the directory service command line to add users. Bit different to Linux! (http://www2.lns.mit.edu/compserv/how.to/mac_account.html)
Chen Liu
9,996 PointsThank you Mohd and Ralph, I google a bit, and also found out that they are different. http://www.maclife.com/article/columns/terminal_101_creating_new_users Thanks anyway for answering. :)