解题:
[root@openEuler ~]# cat openlab.txt
my name is jock
I teach linux
I like play computer game
my qq is 254544
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
[root@openEuler ~]# sed -n '2,3p' openlab.txt
I teach linux
I like play computer game
[root@openEuler ~]# sed -n '/linux/p' openlab.txt
I teach linux
[root@openEuler ~]# sed '/game/d' openlab.txt
my name is jock
I teach linux
my qq is 254544
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
my website is http://www.xianoupeng.com
[root@openEuler ~]# sed '5,$d' openlab.txt
my name is jock
I teach linux
I like play computer game
my qq is 254544
[root@openEuler ~]# sed 's/my/His/g' openlab.txt
His name is jock
I teach linux
I like play computer game
His qq is 254544
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
[root@openEuler ~]# sed -e 's/my/His/g' -e 's/254544/888888/g' openlab.txt
His name is jock
I teach linux
I like play computer game
His qq is 888888
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
His website is http://www.xianoupeng.com
[root@openEuler ~]#