IP address: Difference between revisions
m added Category:System Administration using HotCat |
add RedHat example |
||
| Line 16: | Line 16: | ||
|} | |} | ||
== External == | |||
If you're looking for your external IP address instead, simply google "what is my ip?" | |||
== Older == | |||
On older systems you might need to use <code>ifconfig</code>, and specify the <code>/sbin</code> path because it's not in the standard path for regular users on RedHat. | |||
<source lang="bash"> | |||
/sbin/ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | sort -n | awk '{print $1}' | |||
</source> | |||
[[Category:System Administration]] | [[Category:System Administration]] | ||