Programmer's Blog

Programmer's reference

Monthly Archives: July 2015

[Linux] Show other result column other than the first column by awk

grep -r <keywords> * | awk '{first = $1; $1 = ""; print $0}'

[Linux] Reverse all lines in vi/vim

:g/^/m0