11.21 查看指定行的内容

1 查看第3行至第5行共3行:sed -n 3,5p /etc/default/grub

2 查看第3行和第5行共2行:sed -n "3p;5p" /etc/default/grub

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 13:04:39

results matching ""

    No results matching ""