5 lines
187 B
Bash
Executable file
5 lines
187 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "group:mac"
|
|
|
|
exec ip -6 a show | egrep "(^[0-9]*:|scope link)" | tail -n +2 | sed -e 's/^[0-9]*: //' -e 's/: <.*$//g' -e 's/@.*//g' -e 's/^.*fe80:://g' -e 's:/64.*$::g'
|