Tag: size
Use DD to Create File of any Size
January 27, 2009
Use the DD command to create a 10 MB (10*1024*1024=10485760 bytes) size file named testfile_10MB dd if=/dev/zero of=testfile_10MB bs=10485760 count=1…
Package Listing in Debian
July 16, 2008
Show space used by deb packages installed sorted by size (ubuntu, debian and like) dpkg-query -W -f='{Installed-Size;10}t{Package}n’ | sort -k1,1n
Command to Sort Files by Size
February 1, 2008
Show size of the files and directories sorted by size du -sk * | sort -rn
Show Disk Usage – du
December 30, 2007
du shows the ‘disk usage’ – the space taken up by the files and folders in the current directory. du…
Python Function for Space Units
October 9, 2007
A Python function to return readable size using the given size(KB) # Returns a more readable format of the given…
Recent Comments