7 lines
170 B
Bash
Executable file
7 lines
170 B
Bash
Executable file
#!/bin/bash
|
|
if [ ! -f "/usr/bin/ncdu" ]; then
|
|
echo ":: Error: You do not have ncdu installed."
|
|
exit 1
|
|
fi
|
|
ncdu --exclude-kernfs /
|
|
echo ":: Ran \"ncdu /\" successfully."
|