-
Notifications
You must be signed in to change notification settings - Fork 20
Linux Commands
Chakradhar Rao Jonagam edited this page Aug 17, 2016
·
6 revisions
find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
http://www.howtogeek.com/194642/understanding-the-load-average-on-linux-and-other-unix-like-systems/
for i in $(find . -name '*.json');do python -c 'import sys,json,yaml;print(yaml.safe_dump(json.loads(sys.stdin.read()), default_flow_style=False))' < $i > ${i/json/yaml};done
docker images | grep 3.1.0.4 | awk '{print $1" "$2}' | awk '{print "docker tag -f "$1":"$2" "$1":3.2.0.46"}' | xargs -0 bash -c
cat ShopUser.json | jq 'del(.cpassword)'