8 lines
134 B
Bash
Executable file
8 lines
134 B
Bash
Executable file
#!/bin/bash
|
|
net=$(nmcli | head -1 | awk '{print $4}')
|
|
if [[ $net == "Wired" ]]; then
|
|
echo " $net"
|
|
else
|
|
echo " $net"
|
|
fi
|