Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You've never done `ls | wc -l`?


I've always assumed that ls doesn't change it's output when piped; I've always done ls -1|wc -l. I guess I can save on a few keystrokes now.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: