• snekerpimp@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months 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
      8
      ·
      4 months 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
      5
      arrow-down
      3
      ·
      edit-2
      4 months ago

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

  • Telorand@reddthat.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 months 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!