1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-17 01:32:37 +02:00

add another who example

This commit is contained in:
Kelly Brazil
2020-03-01 21:16:57 -08:00
parent 0ceda97d09
commit d9de11ef1d

View File

@ -1945,6 +1945,22 @@ $ w | jc --w -p # or: jc -p w
```
### who
```
$ who | jc --who -p # or: jc -p who
[
{
"user": "kbrazil",
"tty": "ttyS0",
"time": "2020-03-02 02:52"
},
{
"user": "kbrazil",
"tty": "pts/0",
"time": "2020-03-02 05:15",
"from": "192.168.71.1"
}
]
```
```
$ who -a | jc --who -p # or: jc -p who -a
[
{