mitto
10-29-2006, 11:42 AM
If you want to know file/folder size every time then use below menthod:
root:~# du -h --max-depth=1
You could create an alias in .bashrc file and use it.
alias fs='du -h --max-depth=0 $1' #fs=foldersize -requires ONE input
root:~#fs log
4.1G log
root:~# du -h --max-depth=1
You could create an alias in .bashrc file and use it.
alias fs='du -h --max-depth=0 $1' #fs=foldersize -requires ONE input
root:~#fs log
4.1G log