Earlier quoted context omitted.
A single \n would improve ip link/addr. There is no easy way to visual grep the right interface. ifconfig is much better in this regard, but has obvious downsides.
But... you have to use systemd tools to parse the output these days. Why are you even looking at this with the naked eye?
Trainwreck Design
61–70 of 107 posts
Re: Trainwreck Design
#62Earlier quoted context omitted.
> The difference between them and a simple hyperlink is that they can and often will provide some additional context, will give you additional context on hover (on systems that support that)
> will give you additional context on hover (on systems that support that) "hover" has no meaning on touch-based interfaces.
Re: Trainwreck Design
#63The output of df and mount shows the truth as it is: raw and shitty. Don't dumb it down. Your version of usability might be my idea of a nightmare. I like the raw truth, ugly as it is. If I or anybody needs a `tiktok-disk-usage --fancy` we'll conjure one up. Are we tech or what?
It is exceedingly easy to filter the output of said tools. Nothing to do with money or incentives. It is a completely solved "problem" for the people that need it and are capable of "solving" it. Maybe you should opt for a "desktop environment" that "manages" your stuff so you can have a nice set of disk percentage indicators? I hear good things about "Windows".
Re: Trainwreck Design
#64People forget that Nature's default is to devolve to the chaos of the jungle (beautiful, but does not work toward any human purpose). The absolute best human designs are those controlled by benevolent dictatorships with a ruthless focus on simplicity. Nature's default is for every garden to overgrow with weeds, unless a gardener keeps at it relentlessly. Eventually the weeds become a beautiful jungle, but the absolute worst gardens are those designed my multiple competing gardeners. Either have 1 gardener, or 0.
See also the incompetent clusterfuck that is the European Union.
Re: Trainwreck Design
#65Earlier quoted context omitted.
A single \n would improve ip link/addr. There is no easy way to visual grep the right interface. ifconfig is much better in this regard, but has obvious downsides.
But... you have to use systemd tools to parse the output these days. Why are you even looking at this with the naked eye?
My first instinct was to answer your question with a question. I'll avoid that.
In the real world of devops, whatever you might have in mind as not "naked eye," fails. Deeply isolated systems, embedded systems, development environments, headless systems, virtualized systems, etc., don't have working GUIs, complex input devices or other high fidelity tools. You get a terminal. The terminal tools are the ground truth when all else has failed. They need to work. And when they work in a usable manner they're wonderful: you can deal with complex tasks and issues over absurdly slow connections, tunneled and bounced through a endless chain of hosts, with no client side capability beyond a terminal emulator. This is one of the key benefits of the UNIX legacy and a reason it has proliferated to nearly every application.
Having answered your question directly, I'll ask mine: what, pray tell, do you recommend that meets every requirement stated or implied above?
Re: Trainwreck Design
#66From my .bashrc: alias dfx='df -x nfs -x none -x smbfs -x tmpfs -x cifs -x tmpfs -x fuse.sshfs -x devtmpfs -x squashfs'
It does what mount and df do, only with more options and filters. It is part of mount -- IIRC today's mount just runs findmnt --mtab under the hood -- and therefore available on all modern Linux systems. I guess the article's author would have been happy with
findmnt -s -D -e
findmnt --fstab --df --evaluateRe: Trainwreck Design
#67this reminds me of a locale issue. When I ssh from Mac to Ubuntu 22.04 I get some error about LC_??? not being set. Looking for a solution lead me here https://askubuntu.com/questions/162391/how-do-i-fix-my-local... what sticks out to me is there is no definitive answer. every answer is different. I'd have to already know the correct answer to know the correct answer Further, I've never done anything out of the ordin…
Re: Trainwreck Design
#68Earlier quoted context omitted.
> The difference between them and a simple hyperlink is that they can and often will provide some additional context, will give you additional context on hover (on systems that support that)
> will give you additional context on hover (on systems that support that) "hover" has no meaning on touch-based interfaces.
Re: Trainwreck Design
#69Surprise, surprise. Let me be the contrarian: I dislike this attitude of dumbing everything down just because some people can't be bothered to learn how and why their tools work the way they do. They'll invoke "2024" like it means something. Not a great look IMO. The output of df and mount shows the truth as it is: raw and shitty. Don't dumb it down. Your version of usability might be my idea of a nightmare. I like t…