Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 19th, 2017
81
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/sh
# Default path is root (/)
path="/"
# if string is not null
if [ -n "$1" ]; then
path="$1"
fi
echo "Scanning $path for disk usage"
sudo du -h "$path" | sort -h -r | head -n 10
Add Comment
Please,
Sign In
to add comment
Public Pastes
SQL - Introduction to Aggregation and Subquer...
PostgreSQL | 6 min ago | 3.04 KB
Untitled
JSON | 10 min ago | 2.08 KB
snowybot python
JavaScript | 19 min ago | 2.97 KB
python
JavaScript | 20 min ago | 0.08 KB
Untitled
HTML | 1 hour ago | 0.43 KB
Untitled
Bash | 1 hour ago | 1.61 KB
Select2 Ajax Value Preselected/Selected Value...
JavaScript | 1 hour ago | 0.31 KB
Stargate Coords
Lua | 3 hours ago | 1.13 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!