Skip to content

Linux - ncdu with sudo #5650

Answered by ZhongRuoyu
Justinzobel asked this question in Linux
Oct 2, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

If your problem is sudo complaining it cannot find ncdu, this is because sudo resets the PATH. Instead of sudo ncdu / you can do sudo `which ncdu` /.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Justinzobel
Comment options

@gromgit
Comment options

@Justinzobel
Comment options

@ZhongRuoyu
Comment options

Answer selected by Justinzobel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
3 participants