Text Processing2 / 18
Up next

head and tail

#!/usr/bin/env bash

# first 3 lines
seq 1 20 | head -n 3
# last 3 lines
seq 1 20 | tail -n 3 
What you're solving

first and last N lines