Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tqkxzugoaupvwqr
on Oct 3, 2019
|
parent
|
context
|
favorite
| on:
Ask HN: What are weird and/or novel ways to do web...
Your ls command may create columns. To list one item per line and count the lines: `ls -1 | wc -l`
helb
on Oct 4, 2019
[–]
ls usually switches to one column automatically when it's output is piped:
https://i.vgy.me/cNfMzV.png
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: