this post was submitted on 16 Dec 2024
70 points (88.9% liked)

Linux

48622 readers
1310 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello everyone! I know that Linux GUI advanced in last few years but we still lack some good system configuration tools for advanced users or sysadmins. What utilities you miss on Linux? And is there any normal third party alternatives?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 day ago (2 children)

I maybe need to correct my post. I am talking about system utilities like Device Manager or something else.

[–] atzanteol 6 points 1 day ago (3 children)

Why would I want gui for those things? CLI is often a better interface. Being able to grep lsusb rather than scanning a gui for an entry is much better. It's easier to pipe to an email as well. Screenshots don't allow copy/paste...

[–] [email protected] 17 points 1 day ago (1 children)

As a newcomer to CLIs, GUI are great because you don't need to know what you're looking for. I can just open the devices window, and they're all there, with most of the extra hardware stuff that's not actually a real device already cleaned out.

To do the same with a CLI would take me 10 minutes of looking up what the hardware commands are, 5 minutes figuring out flags, and 30 minutes researching entries to see if they're important. Even just a collapsible list would make that last step so much easier. And no, I can't grep for what I need, because I don't know what I need, I just know something in there is important with a vague idea of what it might look like.

Once I figure that all out for one thing, the best I can do is write that to a notes file so I don't need to search so far next time, but there's a good chance that I'll need a different combination of commands next time anyway.

Not hating on CLIs, just wishing I could figure out how to use them faster.

[–] 9488fcea02a9 4 points 23 hours ago* (last edited 23 hours ago)

apropos - command to list relevant commands tldr [command] - shows the most commonly used flags/options for that program

apropos comes installed by default (on debian at least), tldr needs to be installed with your package manager

As someone who cannot even remember tar flags (inser xkcd here), tldr is very helpful

Your 45 mins becomes 5 mins now. Hope that helps

[–] [email protected] 6 points 1 day ago (1 children)

👆 exhibit A of why Linux can be difficult for newcomers

[–] atzanteol 4 points 22 hours ago

Linux has been very successful without catering to those who don't want to learn new things.

[–] someacnt 1 points 1 day ago (1 children)
[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (1 children)

The name is constructed from two parts:

  1. ls: list
  2. usb: usb

It lists usb devices that your machine (/kernel) knows has been connected; they may not necessarily be usable.

E.g. I have some sound output device connected via USB to one machine. On most of my machines I've switched from pulseaudio to pipewire¹, and I figured I'd bring that machine closer to the others so there's less variance. Unfortunately the sound output device didn't want to work with pipewire. The problem manifested as no sound and pipewire not listing the device. lsusb helped me know that the machine at the very least recognized the device, but wasn't currently able to use it. (It did actually also show up as an error in dmesg -H, but reinstating pulseaudio let the device work again as normally. So now I just have to live with a situation where some machines use pipewire because ~bluetooth~ and others use pulseaudio because … usb?¹)

¹ There's a memory of ALSA vs OSS I didn't want to be reminded of

[–] someacnt 1 points 11 hours ago

Ah thanks, I wonder if GUI tools for this is useful. Especially if it is for system diagnostics.

[–] [email protected] 1 points 1 day ago

Lshw, lsusb, etc and grep do that