DEV Community

Discussion on: Installing MongoDB on Windows Subsystem for Linux (WSL) 2

Collapse
 
ramongiovane profile image
Ramon Giovane • Edited

Thank you!!
By the way, could you please explain a little more what does this command do?
sudo chown -R 'id -un' data/db.

What does id -un stands for? Who is this guy? 😅

Collapse
 
rflowers009 profile image
rflowers009

I think that's just a way of telling the chown command to change ownership to "current user", as in the user issuing the command at the moment. Note that those are backticks, not single quotes.

unix.stackexchange.com/questions/2...