Quantcast
Channel: How to get lan ip address as output in arch linux (Manjaro) - Super User
Viewing all articles
Browse latest Browse all 2

How to get lan ip address as output in arch linux (Manjaro)

$
0
0

I have a script which I used to use in ubuntu. It got my lan ip address using the command hostname -I. I would get an output like 192.168.1.xxx as a string which I can use somewhere else.

However, with Manjaro, the command doesn't exist, when I tried hostname -i, (lowercase) but i get 127.0.1.1. I even installed the dnsutils.

Is there a way I can get my lan address as an output from any command / tool in Manjaro?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images