在ifcfg-eth0,我设法使用 grep "DEVICE=eth0"
ifcfg-eth0
grep "DEVICE=" ifcfg-eth0
但是我怎样才能 grep 模式只显示“eth0”?
grep text-processing
grep ×1
text-processing ×1