Stupid Unix TricksΒΆ

Contents:

  • Convert a string to lower case:
  • Find the last day of the month
  • Encrypt all files in one dir and save to another dir with ansible vault
  • Find the current dpi in X
  • Go to a specific line number in less
  • Go to a specific byte (offset?) in less
  • Show a specific line number in less
  • Extract a specific line using sed
  • Better ^w behavior
  • perl one liner to get rid of windows new lines

notes

Navigation

  • databases
  • elastic stuff
  • OpenSSH
  • Operating Systems
  • OSSEC
  • ssl
  • Stupid Unix Tricks
    • Convert a string to lower case:
    • Find the last day of the month
    • Encrypt all files in one dir and save to another dir with ansible vault
    • Find the current dpi in X
    • Go to a specific line number in less
    • Go to a specific byte (offset?) in less
    • Show a specific line number in less
    • Extract a specific line using sed
    • Better ^w behavior
    • perl one liner to get rid of windows new lines
  • Tools
  • Vendor Stuff
  • misc

Related Topics

  • Documentation overview
    • Previous: look at certs!
    • Next: Convert a string to lower case:

Quick search

This information has a good chance of being wrong, inconsistent, out of date, or just bad. Use at your own risk. Feel free to notify me of any issues though.