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

The first two can be done with wc:

  ls | wc -l
  ls | grep .py | wc -l


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

Search: