Skip to content

Instantly share code, notes, and snippets.

@raul782
Created July 20, 2012 06:28
Show Gist options
  • Save raul782/3149047 to your computer and use it in GitHub Desktop.
Save raul782/3149047 to your computer and use it in GitHub Desktop.
[Linux OSX] pretty fast command to Count lines of a file
<?php
$i = exec("wc -l file");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment