when I call ls in ~ i get
Documents Downloads Templates Desktop Music Videos Public Pictures
If i pipe ls to head (e.g. ls | head -30) i get
Desktop
Documents
Downloads
Music
Pictures
Public
Templates
Videos
I am trying to alias ls to ls | head -30 in order to not spam my terminal when doing ls in a big folder. The problem is that i prefer the first formatting (from normal ls).
Is there any way I can keep the original formatting while limiting the number of results?