Just a dorky trans woman on the internet.

My other presences on the fediverse:
@copygirl@fedi.anarchy.moe
@copygirl@vt.social

  • 0 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • Is providing a number of commands to use that require user input really that bad? When people start tinkering with the command line, first of all they shouldn’t trust just anything on the website blindly, which at the very least requires a basic understanding of how to enter commands, and respond to the terminal asking for input. The following “bad” example…

    sudo apt update
    sudo apt install software-properties-common
    sudo add-apt-repository ppa:deadsnakes/ppa
    sudo apt install python3.9
    

    …is instead turned into this single command with even more confusing syntax for beginners:

    sudo apt update && \
      sudo apt install --yes software-properties-common && \
      sudo add-apt-repository --yes ppa:deadsnakes/ppa && \
      sudo apt install --yes python3.9
    

    Sure, it’s convenient, but if you just throw blocks of code at people to run, are they really learning anything?

    A better approach would be to have a quick tutorial on how to use the terminal and what the $ and # symbols mean (though they could be CSS decorators that can’t be copied), what sudo is and warning people about running untrusted commands on their system. Then you just link to that at the top saying something along the lines of “if you’re unfamiliar with running commands, and the following seems confusing, check this quick summary”, behind a question mark icon connected to each block of commands, or similar.