Mmentoor.io
  • NEWCalendar
  • Sign in
  • Sign up
  • Timeline(current)
  • CoursesNEW
  • English [EAF]
  • Projects [PMS]
  • Einstein ChamberEinstein Chamber
  • Academy
HZ

Count all code lines in certain directory from terminal or git bash

Hasan Zohdy1 month ago14

Count all lines and how many lines in each file

find . -name '*.php' | xargs wc -l

Sorted

find . -name '*.php' | xargs wc -l | sort -nr
counter series1 - Count all code lines in certain directory from terminal or git bash2 - How to count all files in directory using terminal3 - How to count all directories in directory
terminal#terminalgit#git