ls /
outputs two lines.
$ ls /
bin cdrom etc initrd.img lib lost+found mnt proc run share sys usr vmlinuz
boot dev home initrd.img.old lib64 media opt root sbin srv tmp var vmlinuz.old
But why does ls / | wc -l
tell 26 lines?
$ ls / | wc -l
26