If you want to know file/folder size every time then use below menthod:
Quote
root:~# du -h --max-depth=1
You could create an alias in .bashrc file and use it.
Quote
alias fs='du -h --max-depth=0 $1' #fs=foldersize -requires ONE input
Quote
root:~#fs log
4.1G log
No comments:
Post a Comment