What use cases does fx fulfill that other tools like jq
or your editor don't?
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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.
This looks nice, but today I just found out about nushell which seems to do it all.
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
Weird they wouldn't offer a "get value with key or NULL" function
The jq selector in the bottom left is killer