Perhaps head over to #archlinux on Freenode irc to get some more
interactive help…?
On 30/05/2018 13:31, Maykel Franco via arch-general wrote:
> 2018-05-30 13:20 GMT+02:00 Ralph Corderoy :
>> Hi Maykel,
>>
>>> $ source /etc/environment
>>> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':'
Why not put it in ~/.profile? Or if it needs to be system wide, in
/etc/profile.d/ip.sh?
On 30/05/2018 13:07, Maykel Franco via arch-general wrote:
> Hi, I put this text in /etc/environment:
>
> $ source /etc/environment
>
> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d
>
2 matches
Mail list logo