Linux CLI - Viewing and Editing Files
You want to extract lines 10 to 15 from a large file
logfile.txt using only head and tail. Which command achieves this?logfile.txt using only head and tail. Which command achieves this?tail -n +10 logfile.txt outputs from line 10 to end.head -n 6 takes first 6 lines from that output, lines 10 to 15.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions