lugh.ch

as nerdy as needed.

#linux Articles


Useful Linux, Solaris and OS X commands

Useful commands disk usage Ordered by size, descending du -hax /var | sort -rh vim Get rid of all control characters :%!tr -cd '[:print:]\n' curl URL shortening on command line curl https://www.googleapis.com/urlshortener/v1/url -H 'Content-Type: application/json' -d '{"longUrl": "http://example.org"}' Check if your …