Live data from Hacker News

Ncdu – NCurses Disk Usage

dev.yorhel.nl

51–60 of 168 posts

Re: Ncdu – NCurses Disk Usage

#51

If you like ncdu, you might also like dua[0]. You can run `dua i` to get an interface similar to ncdu, and can also run `dua` to list file sizes in the current directory, similar to `du`. Or `dua filename ` to get the size of a given file. [0] https://github.com/Byron/dua-cli

Not in any repo, I'll pass, thanks

Re: Ncdu – NCurses Disk Usage

#54
post #51

If you like ncdu, you might also like dua[0]. You can run `dua i` to get an interface similar to ncdu, and can also run `dua` to list file sizes in the current directory, similar to `du`. Or `dua filename ` to get the size of a given file. [0] https://github.com/Byron/dua-cli

Not in any repo, I'll pass, thanks

Actually it is in the arch community repositories and seems to be quiet a bit faster than ncdu so I will keep it in my toolbox for now.

Painpoints are that there seems to be no progress bar in interactive mode, the ui is (imho) ugly/unintuitive (for instance the usage bar seems to be relative? and the shortcuts look like glyphs) and there are functions missing (like exclude patterns, you can exclude dirs though!).

So it won't replace ncdu, but if it get a interactive progressbar maybe it will be on all my machines (with arch)

Re: Ncdu – NCurses Disk Usage

#55
Broadly, is anyone aware of a generalized list of "new versions of classic tools?"

There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

Re: Ncdu – NCurses Disk Usage

#56
post #50

The trick with ncdu is to install it BEFORE your disk gets full from some random error log going haywire.

One of the first things I did in my new position was to add ncdu (and mysqltuner) to our Ansible playbooks. It's that useful for me - I probably use it every other day at least.

Re: Ncdu – NCurses Disk Usage

#57
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

bpytop, ncmpcpp

Re: Ncdu – NCurses Disk Usage

#59
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

https://github.com/ibraheemdev/modern-unix

> A collection of modern/faster/saner alternatives to common unix commands.

Re: Ncdu – NCurses Disk Usage

#60
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

Zellij instead of tmux (not necessarily better, but it's easier to use)

Xonsh instead of bash (because you already know Python, why learn a new horrible language?)

bat instead of cat (syntax highlights and other nice things)

exa instead of ls (just nicer)

neovim instead of vim (just better)

helix instead of neovim (just tested it, seems promising though)

nix instead of your normal package manager (it works on Mac, and essentially every Linux dist. And it's got superpowers with devshells and home-manager to bring your configuration with you everywhere)

rmtrash instead of rm (because you haven't configured btrfs snapshots yet)

starship instead of your current prompt (is fast and displays a lot of useful information in a compact way, very customizable)

mcfly instead of your current ctrl+r (search history in a nice ncurses tui)

dogdns instead of dig (nicer colors, doesn't display useless information)

amp, kakoune (more alternative text editors)

ripgrep instead of grep (it's just better yo)

htop instead of top (displays stuff nicer)

gitui/lazygit instead of git cli (at least for staging, nice with file, hunk and line staging when you have ADHD)

gron + ripgrep instead of jq when searching through JSON in the shell (so much easier)

keychain instead of ssh-agent (better cli imo)

Wrote this on the train with my phone by checking https://github.com/Lillecarl/nixos/blob/master/common/defaul... for which packages I have installed myself :)

Post reply on HN