awk
Prepend string to each line
echo "world" | awk '{print "hello " $0}'
hello world
Get the ith element (separated by tabs/space)
cat file | awk '{print $2}'
Note: here its for the second element
echo "world" | awk '{print "hello " $0}'
hello world
cat file | awk '{print $2}'
Note: here its for the second element