From ed38a18d236cdb991779f4f148e42359c139e61c Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 29 Jul 2020 11:49:00 -0700 Subject: [PATCH] remove more examples --- README.md | 87 +------------------------------------------------------ 1 file changed, 1 insertion(+), 86 deletions(-) diff --git a/README.md b/README.md index 68d3e0b8..533b3c87 100644 --- a/README.md +++ b/README.md @@ -441,29 +441,6 @@ dig cnn.com www.cnn.com @205.251.194.64 | jc --dig -p # or: jc -p dig } ] ``` -### free -```bash -free | jc --free -p # or: jc -p free -``` -```json -[ - { - "type": "Mem", - "total": 3861340, - "used": 220508, - "free": 3381972, - "shared": 11800, - "buff_cache": 258860, - "available": 3397784 - }, - { - "type": "Swap", - "total": 2097148, - "used": 0, - "free": 2097148 - } -] -``` ### /etc/hosts file ```bash cat /etc/hosts | jc --hosts -p @@ -588,7 +565,7 @@ ifconfig | jc --ifconfig -p # or: jc -p ifconfig } ] ``` -### INI and plain key/value pair files +### INI files ```bash cat example.ini ``` @@ -627,31 +604,6 @@ cat example.ini | jc --ini -p } } ``` -```bash -cat keyvalue.txt -``` -``` -# this file contains key/value pairs -name = John Doe -address=555 California Drive -age: 34 -; comments can include # or ; -# delimiter can be = or : -# quoted values have quotation marks stripped by default -# but can be preserved with the -r argument -occupation:"Engineer" -``` -```bash -cat keyvalue.txt | jc --ini -p -``` -```json -{ - "name": "John Doe", - "address": "555 California Drive", - "age": "34", - "occupation": "Engineer" -} -``` ### ls ```bash $ ls -l /usr/bin | jc --ls -p # or: jc -p ls -l /usr/bin @@ -931,43 +883,6 @@ ping 8.8.8.8 -c 3 | jc --ping -p # or: jc -p ping 8.8.8.8 -c 3 ``` ### ps ```bash -ps -ef | jc --ps -p # or: jc -p ps -ef -``` -```json -[ - { - "uid": "root", - "pid": 1, - "ppid": 0, - "c": 0, - "stime": "Nov01", - "tty": null, - "time": "00:00:11", - "cmd": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" - }, - { - "uid": "root", - "pid": 2, - "ppid": 0, - "c": 0, - "stime": "Nov01", - "tty": null, - "time": "00:00:00", - "cmd": "[kthreadd]" - }, - { - "uid": "root", - "pid": 4, - "ppid": 2, - "c": 0, - "stime": "Nov01", - "tty": null, - "time": "00:00:00", - "cmd": "[kworker/0:0H]" - } -] -``` -```bash ps axu | jc --ps -p # or: jc -p ps axu ``` ```json