this post was submitted on 20 Sep 2023
64 points (100.0% liked)

Linux

46794 readers
938 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
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 11 months ago (1 children)

What use cases does fx fulfill that other tools like jq or your editor don't?

[–] [email protected] 5 points 11 months ago

I haven't tried fx yet (but I will soon enough!) but my main gripe with jq is that its not very intuitive or userfriendly to pass arguments to get what I want out of it. fx seems to offer an interactive (TUI) way to interact with its content, wich might be better suited for my usercase where I just want to consume the logs with my eyes. jq is better as a pipe between two commands to process the json data.

[–] [email protected] 7 points 11 months ago (1 children)

This looks nice, but today I just found out about nushell which seems to do it all.

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

My main gripe with nushell is that you can't select rows that contain empty fields. As in not NULL but straight up don't exist, but this is very common for tools that output json. E.g. you use ip a with json output and since you have interfaces with different properties, the fields are empty for some interfaces and working with these tables is a PITA

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

Weird they wouldn't offer a "get value with key or NULL" function