VirtualTam's bookmarks

  1. The format of here-documents is:

    1[n]<<[-]word
    2        here-document
    3delimiter
    

    If any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in the here-document are not expanded.

    This is useful to write scripts that:

    • write scripts (verbatim)
    • execute a sequence of commands (verbatim) on a remote host
  2. 1# GNU sed
    2sed -e 's/\x1b\[[0-9;]*m//g'
    3
    4# macOS
    5sed -e $'s/\x1b\[[0-9;]*m//g'
    
  3. OpenSSL Cookbook 2023-05-31

    The definitive guide to using the OpenSSL command line for configuration and testing.

    Topics covered in this book include:

    • key and certificate management,
    • server configuration,
    • a step by step guide to creating a private CA,
    • testing of online services.