Linux commands

Linux version: $ lsb_release -a $ uname -a Users & Groups commands: $ groupadd groupname $ groupdel groupname $ useradd -m -g groupname  -c "user description" user1 Change the primary group to groupname for user1 $ usermod -g groupname user1 Add some secondary groups to user1 $ usermod -a -G group1,group2,group3 user1 To remove a secondary … Continue reading Linux commands

Advertisements