mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 14:27:01 +00:00
add item tos
This commit is contained in:
parent
d06b00f353
commit
315debd7a2
10
README.md
10
README.md
@ -1579,11 +1579,6 @@ gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt'
|
|||||||
gsettings set org.gnome.gedit.preferences.editor use-default-font false
|
gsettings set org.gnome.gedit.preferences.editor use-default-font false
|
||||||
gsettings set org.gnome.gedit.preferences.editor editor-font 'Cantarell Regular 12'
|
gsettings set org.gnome.gedit.preferences.editor editor-font 'Cantarell Regular 12'
|
||||||
```
|
```
|
||||||
|
|
||||||
--> [Detail] Printing out login time, load average, etc
|
|
||||||
```bash
|
|
||||||
w
|
|
||||||
```
|
|
||||||
##### Add user to a group (e.g add user 'nice' to the group 'docker', so that he can run docker without sudo)
|
##### Add user to a group (e.g add user 'nice' to the group 'docker', so that he can run docker without sudo)
|
||||||
```bash
|
```bash
|
||||||
sudo gpasswd -a nice docker
|
sudo gpasswd -a nice docker
|
||||||
@ -1774,6 +1769,11 @@ lastb
|
|||||||
```bash
|
```bash
|
||||||
who
|
who
|
||||||
```
|
```
|
||||||
|
##### Show who is logged on and what they are doing
|
||||||
|
```bash
|
||||||
|
w
|
||||||
|
```
|
||||||
|
|
||||||
##### Print the user names of users currently logged in to the current host.
|
##### Print the user names of users currently logged in to the current host.
|
||||||
```bash
|
```bash
|
||||||
users
|
users
|
||||||
|
Loading…
Reference in New Issue
Block a user