I'm Curious ...
and forgetful so here are my random notes
Friday, November 11, 2011
Linux show total lines of files in a directory (sorted by line numbers)
Linux showing total number of lines of each file in a directory:
wc -l *
Even better, you can have the results sorted by line numbers:
wc -l * | sort -n -k1
-n compare according to string numerical value
-k# define start position
Monday, November 7, 2011
Make colored git graph command
git log --graph --color
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)