Linux Chgrp Commands and Examples
Syntax and Options chgrp [OPTIONS]… GROUP FILE… Short Option Long Option Option Description -c –changes to print verbose only when changes made –dereference to change the group name of referent of symbolic link rather than symbolic link itself -h –no-dereference […]
Linux Gpasswd Command and Examples
Syntax: gpasswd group gpasswd -a user group gpasswd -d user group gpasswd -R group gpasswd -r group gpasswd [-A user,…] [-M user,…] group Examples: Add the following groups: groupadd programmer groupadd netadmin groupadd dbadmin group password is set using […]
Linux Passwd Command and Examples
Syntax passwd [-r | files | -r nis | -r nisplus ] [-a] [-d | -l] [-e] [-f] [-g] [-h] [-n min] [-s] [-w warn] [-x max] [-D domainname][ name ] -r Specifies the repository to which an operation […]
Linux Groupdel Command Examples
groupdel command is used to delete(remove) a group. This is an admin command. Syntax: # groupdel groupname options: There is no options for groupdel command. Directly give the groupname. Example: # groupdel hiox
Linux Groupmod Command Examples
Syntax: # groupmod [options] newname oldname g[ gid] The numerical value of the group’s ID. This value must be unique, unless the -o option is used. The value must be non-negative. Values between 0 and 99 are typically reserved for […]