6th November 2008
in
cli
You can change the file permissions and ownership, the group and mode of a directory with a single command, using chown. For example, to make a directory called /dir accessible for everyone (RW), set the user joe as the [...]
Tags: cli, files, folders, groups, ownership, terminal, users
1 Comment
6th November 2008
in
cli
To quickly check what group our user is in, we can use the id command. To compress the result in a more easily read output, we can use id -Gn.
For example:
t4l@laptop:~$ id -Gn
t4l adm dialout cdrom floppy audio dip vide[...]
Tags: cli, groups, terminal, users
No Comments