• snekerpimp@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    8 days ago

    Ok, what people are able to throw together in code is amazing. I struggle writing a bash script to schedule to turn off my computer.

    • daddy32@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      8 days ago

      I know this is not a good way to get community approval around here, but: Chatgpt can write that for you. My bash-fu increased tremendously since it exists and I script everything now. In the past, it would end up with having an idea and also fear of failure. Now every scripting idea gets to be implemented and executed.

    • mox@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      edit-2
      7 days ago

      Have you considered using the at and shutdown commands together to accomplish this?

      Edit: I have no idea why a few people downvoted my question. Maybe they misunderstood it?

  • Telorand@reddthat.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 days ago

    I haven’t played this one, but I did the one from KanoOS several years ago, and it was really helpful for learning some of the common CLI tools, like cat, cd, and grep.

    More of these kinds of games is a good thing, IMO!