Go into your directory containing your web code:
#cd /var/www/html/myVirtualHost |
Use the following command to count the lines of code in php, inc, js and css files:
#find . -type f -name '*.js' -o -name '*.css' -o -name '*.inc' -o -name '*.php' | xargs wc -l | tail -n1 |
31065 total |
No comments:
Post a Comment