Back to discussionComment by tqkxzugoaupvwqr[-]tqkxzugoaupvwqr7 years ago1 reply#Your ls command may create columns. To list one item per line and count the lines: `ls -1 | wc -l`helb7 years ago#ls usually switches to one column automatically when it's output is piped: https://i.vgy.me/cNfMzV.png
tqkxzugoaupvwqr7 years ago1 reply#Your ls command may create columns. To list one item per line and count the lines: `ls -1 | wc -l`
helb7 years ago#ls usually switches to one column automatically when it's output is piped: https://i.vgy.me/cNfMzV.png