piscine-shell01/ex04/MAC.sh

4 lines
57 B
Bash
Executable File

#!/bin/sh
ifconfig -a | grep ether | awk '{ print $2 }'