Terminal > Windows Registry.

  • the_crotch
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    6 months ago

    What if I told you you can create and set a registry entry with a single line of powershell

    • dezmd@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 months ago

      What if I told you you can make a backup of a config file and edit a single line in a conf file, all with a single line of bash?

      sudo cp config.conf config.conf.bak.$(date +"%Y%m%d%H%M%S") && sed -i 's/^\(CONFIG_NAME\s*=\s*\).*/\1new_value/' config.conf