在Linux中,添加新网卡的命令是ip命令或ifconfig命令。
使用ip命令添加新网卡:
sudo ip link add <interface_name> type <interface_type> 其中,<interface_name>是新网卡的名称,<interface_type>是新网卡的类型,如ethernet、bridge等。
使用ifconfig命令添加新网卡:
sudo ifconfig <interface_name> up 其中,<interface_name>是新网卡的名称。
请注意,以上命令需要以超级用户(即root用户)或具有管理员权限的用户来执行。