groupsHow to add a new group?
sudo groupaddHow to add user to a group?
usermod -a -GChange a User’s Primary Group
While a user account can be part of multiple groups, one of the groups is always the “primary group” and the others are “secondary groups”. The user’s login
scp source_file_name username@destination_host:destination_folder
user@localhost ~/Documents $ scp -v email@example.com:.Copy a Directory Recursively using SCP
I often need to quickly copy a directory from one Linux machine to another. An easy command to accomplish the task is the SCP (Secure Copy) command. Here's the general format of a recursive copy.
scp -r [/local/path/] [user@host]:[/remote/path]
The -r switch causes scp to copy recursively.