Mastering Development

xargs with head -n

I am trying to write a command which takes a random line from a CSV and outputs that line minus 5. Say, it outputs line 50, then it should print from 46 to 50 both included. I can achieve this in two steps, however when trying to use "xargs" to pass the line number to […]