I thought it’d be a pain but installing programs through the terminal is actually so nice, I never would have expected it

  • lightnsfw@reddthat.com
    link
    fedilink
    arrow-up
    4
    ·
    20 hours ago

    You need a purpose. For instance I needed to copy and edit config files for a bunch terminals my company has deployed last week. Instead of manually copying the template directory 80 times and editing the 2 lines that needed to be changed in the parameter file for each one I used powershell to extract the name and id for each terminal from the log files and create copy of the template directory for each one, then replace the terminal name and id in the parameter file of the new directory with the ones extracted from the logs. This would have taken me all day to do manually and it only took about 45 minutes to write up the script and run it. I did have some prior experience with doing this kind of thing but hadn’t tied them all together lile that before so i learned some stuff.