]> git.entuzijast.net Git - imunes.git/commitdiff
ifconfig -l ekvivalent na Linuxu
authornuma <numa@numa-ubuntu-vm.(none)>
Fri, 28 Aug 2009 12:08:06 +0000 (14:08 +0200)
committernuma <numa@numa-ubuntu-vm.(none)>
Fri, 28 Aug 2009 12:08:06 +0000 (14:08 +0200)
ifconfig-l [new file with mode: 0755]

diff --git a/ifconfig-l b/ifconfig-l
new file mode 100755 (executable)
index 0000000..37c6ae6
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+# ifconfig -l na BSD-u
+
+ip link show | awk '/^[0-9]+: / { a=$2; gsub(":", "", a); printf "%s ", a }'; echo
+