Some Basic Linux Command .
Q : How to add group then user in linux . ? Ans : 1: add group by using command groupadd 2: add a user into the group by command useradd -G . for adding a user in multiple group just seperate user by useradd -G , , 3: now add password to user by command passwd 4: ensure that user has been added to group use command id ,you will see information of user id ,group id . 5: add a existing user to existing group usermod -a -G -a option is used for adding user in supplementry group . 6 : adding user to a derive . useradd -d /directory -> this will add user to a directory . Now come to password use command pa...