3
I'm a beginner to Ubuntu and Linux. Every time I try to do a groupadd in my Ubuntu terminal the options for groupadd show up and I dont know why.
I enter this in my home directory:
sudo groupadd –g 1125 groupname
Then I search for this and get nothing:
grep -i “groupname″ /etc/group
as well as this:
grep -i “1125" /etc/group
Why can't I make this group?
please update your question to include the command you ran and the output / error message. – Panther – 2014-04-07T19:54:58.960
Well the command is sudo groupadd –g 1125 groupname. The weird part is I don't get an exit value or an error, I get an options menu every time. – Alex – 2014-04-07T19:59:53.927
Try running
echo $?
after to see the exit status.man groupadd
has a description of what the errors mean. – ssmy – 2014-04-07T20:27:20.893