I've been doing some research on how to add a user to the system so as to have a new ftp user and one of the examples I ran across was this:
useradd -m -G users,ftp,wheel joe -s /bin/bash
passwd joe
chown -R joe /var/www/
I'm new to Linux and I don't understand what is being done here after each of the initial commands (useradd, chown). Can someone please enlighten me or provide a resource where I can learn - I'm having trouble finding anything useful when I search "linux minus sign commands".
Sidenote: In my search for answers, I typed tried to find a manual on these minus commands by trying man -d
. Did I break something?