Admin hints

From Lolly's Wiki
Revision as of 09:34, 12 July 2024 by Lollypop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Cheat sheets

DNS

Get your IP address

$ dig +short +time=2 +tries=1 myip.opendns.com @resolver1.opendns.com

Remove empty and comment lines

$ grep -Ev "^(\s*|(//|[;#]).*)$" <file>