1

Is there some file in the Linux-Ubuntu filesystem that contains the internal IP of the machine running it? Ideally, is the output provided by the following command

hostname -I

saved somewhere in the filesystem?

(thanks to How do I find my internal ip address?)

1 Answers1

5

You can find a tree in /proc/net/fib_trie

Otherwise you can look it up with a tool such as ip addr

vidarlo
  • 23,497