diff options
author | Julian <julianteule@gmail.com> | 2017-01-23 20:23:04 +0100 |
---|---|---|
committer | Julian <julianteule@gmail.com> | 2017-01-23 20:23:04 +0100 |
commit | 3fc5e39e03933f7d8c736d7f66cbd86175188eda (patch) | |
tree | 1ce4ccd84c054c062481210e787dbbf1aba072f3 /Conky/getInternalIp.sh | |
parent | 5d1f5767bc2fe4b2681a7ce7d96131a9b3a16098 (diff) |
Updated conky
Diffstat (limited to 'Conky/getInternalIp.sh')
-rwxr-xr-x | Conky/getInternalIp.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Conky/getInternalIp.sh b/Conky/getInternalIp.sh new file mode 100755 index 0000000..8894199 --- /dev/null +++ b/Conky/getInternalIp.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +ifconfig $1 | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'
\ No newline at end of file |