Is there a way or argument to make the bash command "ls" show the file sizes on bits? I know that "ls -lh" shows the files with its sizes, but in bytes, kilobytes, etc. Or any other bash command for linux that can so that?
This works in Linux
ls -l | awk '{$5=$5*8; print;}'