• emzili@programming.dev
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      2 days ago

      The default output of ls is uncolored, but some distros include an alias in your .bashrc for ‘ls’ to ‘ls --color=auto’, so you definitely don’t need a whole other utility just for colored output

        • massive_bereavement@fedia.io
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          Wow, pretty cool the tree and total size options, kind of substitutes other commands I commonly use.

          Only thing is though I find it slower than du and tree.

          • Overspark@feddit.nl
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            You can also try something like broot. Lovely TUI file manager that shows how big folders are when you start it with the -w option, faster than either du or tree in my experience.

        • emzili@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          That’s true, I was mostly speaking to that specific use-case. It certainly sounds like it has generally superior functionality to ls, but for me personally it doesn’t beat out the utility of already being present on every linux system I’ll touch.

          That’s unlike something like rsync which is genuinely more useful than scp for anything other than simple file transfers.

          • Overspark@feddit.nl
            link
            fedilink
            arrow-up
            3
            ·
            2 days ago

            Yeah that’s fair, I only use it on systems where I’m in full control and use enough to get all my toys set up properly, which goes for all the commands in the article. I’ve just aliased ls to eza though, so it’ll mostly (options are a bit different) keep working on any system I’m on.