Friday, November 22, 2013

Linux tips | cut complement


cut -d: -f2-4,7 --complement </etc/passwd # Cut the complement of columns 2-4,7. So in other words, gives you 1,5-6,8-