text manipulation
awk
Get a specific column
# print second column
awk '{print $2}'
sed
Delete all lines matching a pattern
sed -i '/pattern to match/d' ./infile
Prepend a file
sed -i '1i header line' ./infile
# print second column
awk '{print $2}'
sed -i '/pattern to match/d' ./infile
sed -i '1i header line' ./infile