In order to, find block size of a filesystem on Linux,
$ sudo tune2fs -l /dev/sda1 | grep -i 'block size'
Block size: 4096
OR
$ echo "mitesh"> test && du test | awk '{print $1}' && rm -f test
4K
Subscribe to:
Post Comments (Atom)
Useful Tips for GNU/Linux Operating System
2 comments:
Good Work Mitesh
Thank you Sir for the encouragement.
Yours sincerely,
Mitesh Singh Jat
Post a Comment