This website works better with JavaScript.
Explore
Help
Sign In
phc
/
storage
Watch
6
Star
1
Fork
You've already forked storage
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8e86943b83
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '8e86943b83'
${ noResults }
storage
/
scripts
/
disk-usage
6 lines
91 B
Bash
Raw
Blame
History
#!/bin/bash
DEVICE
=
"
$1
"
df
|
grep
"
$DEVICE
"
|
tr -s
' '
|
cut -d
' '
-f 2-3
|
tr
' '
'\n'
Reference in New Issue
View Git Blame
Copy Permalink