1个回答
展开全部
root@localhost:~/xly# cat 1
aaa=ifconfig
root@localhost:~/xly# cat 1|sed '/aaa/s/aaa=//'
ifconfig
root@localhost:~/xly# `cat 1|sed '/aaa/s/aaa=//'`
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
aaa=ifconfig
root@localhost:~/xly# cat 1|sed '/aaa/s/aaa=//'
ifconfig
root@localhost:~/xly# `cat 1|sed '/aaa/s/aaa=//'`
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询