Click to See Complete Forum and Search --> : ls with file size


Nehal Mistry
03-18-2001, 10:43 PM
is it possible to do ls with file size... ls -s gives only file size in blocks... i want it in bytes.. exact size...

thx

quandary
03-18-2001, 11:23 PM
Do you mean ls -l?

irlandes
03-18-2001, 11:33 PM
1. ls -os

This is from man ls. -o is listed, and mixing it with s gives what you seek. This is sort of long view from terminal.

2. Using KDE, open file manager (little house icon), locate the desired directory, then click on VIEW in menu, click on LONG VIEW, and the exact file size will be displayed.

There may be more ways. These are two I know.

Nehal Mistry
03-19-2001, 12:33 AM
thx... both -o and -l worked