sed查看指定行数

[root@wanggaoli nginx]# sed -n “10,15p” access.log #查看 10-15 行内容
119.2.9.132 - - [08/Aug/2016:15:31:12 +0800] “GET /?paged=3 HTTP/1.1” 200 11726 “https://wgli.vip/?paged=2“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“
119.2.9.132 - - [08/Aug/2016:15:31:13 +0800] “GET /wp-content/themes/9iphp/inc/fancy/jquery.fancybox.css?ver=2.1.5 HTTP/1.1” 404 564 “https://wgli.vip/?paged=3“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“
119.2.9.132 - - [08/Aug/2016:15:31:13 +0800] “GET /wp-content/themes/9iphp/inc/fancy/jquery.fancybox.js?ver=2.1.5 HTTP/1.1” 404 564 “https://wgli.vip/?paged=3“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“
119.2.9.132 - - [08/Aug/2016:15:31:13 +0800] “GET /wp-content/themes/9iphp/images/bg-full.jpg HTTP/1.1” 301 178 “-“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“
119.2.9.132 - - [08/Aug/2016:15:31:16 +0800] “GET /?paged=4 HTTP/1.1” 200 9305 “https://wgli.vip/?paged=3“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“
119.2.9.132 - - [08/Aug/2016:15:31:16 +0800] “GET /wp-content/themes/9iphp/images/bg-full.jpg HTTP/1.1” 301 178 “-“ “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 UBrowser/5.7.14377.31 Safari/537.36” “-“

 

-------------本文结束感谢您的阅读-------------