• 20th, Nov 2010

Linux Data Manipulation Handbook

#
# Remove duplicate lines
#
awk ‘!x[$0]++’ FileWithDuplicates.csv > NewFile.csv

#
# Look for a string on files – recursive mode
#
grep -nir –color ‘text to find’ *

Tags:

Leave a Reply

*

© 2010 unexpected[it]. All Rights Reserved.