If you instead use the 'du' (disk usage) command, you will get a more correct number, even for directories.
du -sh *will list all the files and directories in the current folder, with the size it occupies on the disk.
du -sh *will list all the files and directories in the current folder, with the size it occupies on the disk.
find /lib/modules/$(uname -r)/ -type f -iname '*.o' -or -iname '*.ko'This will list all the modules in your module directory for the currently running kernel.