🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #300

`iputils` coloured output (Was: DNS Resolution fails)

#300
From: Andy Smith
Date: Sun, 25 Oct 2026 15:40
29 lines
3102 bytes
Hi,

On Fri, Oct 23, 2026 at 07:59:45PM +0200, fc26wuqa@studserv.uni-leipzig.de wrote:
> 3: eno2np1 <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc mq state UP
> group default qlen 1000
>    link/ether 3d:bc:ef:44:14:40 brd ff:ff:ff:ff:ff:ff
>    inet 172.18.234.50 brd 172.18.234.255 scope global eno1np1
>       valid_lft forever preferred_lft forever
>    inet6 `someaddress its blue on black and its kinda dark, so that i can't
> type it`

I also find that by default there's not enough contrast for me to read
these easily. You can disable coloured output with `ip -c=never …`. You
can also set the COLORFGBG environment variable in your shell startup
scripts, which is what I do. I like:

export COLORFGBG=";8"

I test different values before choosing which I liked best:

$ COLORFGBG=";0" ip addr show

This is all in the man page for `ip`.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting
Technical Details
Message-ID: <NS8ud-7Oc1-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NRpnr-7pXh-7@gated-at.bofh.it> <NRr5T-7qYS-11@gated-at.bofh.it> <NRrSh-7roH-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Andy Smith <andy@strugglers.net>
Newsgroups: linux.debian.user
Subject: `iputils` coloured output (Was: DNS Resolution fails)
Date: Sun, 25 Oct 2026 16:40:01 +0100
Message-ID: <NS8ud-7Oc1-7@gated-at.bofh.it>
References: <NRpnr-7pXh-7@gated-at.bofh.it> <NRr5T-7qYS-11@gated-at.bofh.it> <NRrSh-7roH-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sun Oct 25 15:37:21 2026
Old-Return-Path: <andy@strugglers.net>
X-Amavis-Spam-Status: No, score=-6.288 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-2, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
X-URL: http://strugglers.net/wiki/User:Andy
X-Sa-Exim-Connect-IP: <locally generated>
X-Sa-Exim-Mail-From: andy@strugglers.net
X-Sa-Exim-Scanned: No (on mail.bitfolk.com); SAEximRunCond expanded to false
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832616
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/at3bvcKV1TU2RMxu@mail.bitfolk.com
Approved: robomod@news.nic.it
Lines: 29
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 25 Oct 2026 10:36:45 +0000
X-Original-Message-ID: <at3bvcKV1TU2RMxu@mail.bitfolk.com>
X-Original-References: <20261023171626.Horde.l538b_Z1iQpxLx9SHZ3hKqQ@mail.uni-leipzig.de>
 <atuWYaBCeHQglit6@tuxteam.de>
 <20261023195945.Horde.qa9twbRTN8OGeJWzzwUSkMR@mail.uni-leipzig.de>