(TIL) Nix: Get length of longest line with wc less than 1 minute read wc -L shows the length of the longest line in a file. Via UnixToolTip. Twitter Facebook LinkedIn Previous Next Comments
(TIL) Mac: Ask user for password via GUI less than 1 minute read This function will use AppleScript to present a password entry dialog to make your scripts a little more user friendly:
(TIL) Mac: Restart or shutdown less than 1 minute read You can restart or shutdown from the command line:
(TIL) Nix: Stty - sane terminal settings less than 1 minute read Restore sane shell settings, in case your shell session went insane because some script or application turned it into a garbled mess:
Comments