“Command not found” in ifconfig | grep IF statement

前端 未结 0 1019
情歌与酒
情歌与酒 2020-12-07 12:07

I\'m trying to check if my ethernet adapter is hardwired. For that I have the following secton in my code:

if \'ifconfig | grep "status: active" | h         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题