HGPA

Bash

The Bourne-Again SHell.

TIPS

find * | xargs cat: cat contents of files found

du -ch *: show human-readable sizes of files and display total size

lsof -n -iTCP:$PORT | grep LISTEN: show who is listening to certain port (Mac OS X)

Use column to print things nicely:

NOTES

shocco.sh is a documentation for Bash written in a literate programming style.

REFERENCES

Filename: bash.md (Edit)
Modified: 2016-11-01 (0112da42bf72c8b564a9b164d4fa1f497ef41459)
Created: 2016-08-09 (a973a931b993c551d10156ed5cc1a2b16b8bfb9f)