• Bakkoda@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Progress indicators. Typing out a long command only to have it just sit there with no report is frustrating.

    • Magnus Åhall@lemmy.ahall.se
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      1 year ago

      Depending on what one is doing, placing pv in between (usually with -s to specify size of data if known in advance) gives a progress bar, with speed and size of data passing through.

      Say you have an SQL dump of 1048576 bytes:

      cat dump.sql | pv -s 1048576 | mysql somedb

      and now you know how far it is instead of just waiting :)

    • agilob@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      On BSDs you can do ctrl+T and it prints progress, there were plants to implemented this on Linux, but it didn’t get enough traction.

    • Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      even a spinning icon would be nice. It’s hard to tell if I should kill something or if it’s still in progress / finishing up

    • Bakkoda@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m about 20% competent in Linux so thank you all for the comments. I pretty much dabble and spend a lot of time using snapshots lol

      Saving this post!