mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 16:56:35 +00:00
Insert items for the 'system' section
Add items for finding out last and current login users.
This commit is contained in:
parent
1322960433
commit
d06b00f353
18
README.md
18
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 editor-font 'Cantarell Regular 12'
|
||||
```
|
||||
##### Find out who has logged in on your system
|
||||
--> [Quick] Printing out only the names:
|
||||
```bash
|
||||
users
|
||||
```
|
||||
|
||||
--> [Detail] Printing out login time, load average, etc
|
||||
```bash
|
||||
@ -1771,6 +1766,19 @@ top|grep sublime_text
|
||||
[wrk](https://github.com/wg/wrk) - HTTP benchmark.
|
||||
|
||||
|
||||
##### Show a listing of last logged in users.
|
||||
```bash
|
||||
lastb
|
||||
```
|
||||
##### Show a listing of current logged in users, print information of them
|
||||
```bash
|
||||
who
|
||||
```
|
||||
##### Print the user names of users currently logged in to the current host.
|
||||
```bash
|
||||
users
|
||||
```
|
||||
|
||||
|
||||
## Hardware
|
||||
[[back to top](#handy-bash-oneliner-commands)]
|
||||
|
Loading…
Reference in New Issue
Block a user