diff --git a/linux_general.txt b/linux_general.txt index 223a99b..fd8b9f0 100644 --- a/linux_general.txt +++ b/linux_general.txt @@ -59,6 +59,13 @@ they respectively output the current user and groups NOTE: one alternative to "whoami" is "echo $USER" which can be used in scripts +-Adding users to groups: + "usermod -a -G grup user" + reboot + +-Listing all groups: + "cut -d: -f1 /etc/group | sort" + -Linux afterinstall (how to get thing working): Bluetooth usage: Refers to: