]> 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)
committerJosip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
Fri, 4 Sep 2009 19:04:13 +0000 (21:04 +0200)
(cherry picked from commit 3a1df2a03903c6dab7bdeed815bc2fc0f3c9ac07)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
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
+