this post was submitted on 06 Nov 2025
30 points (70.3% liked)

Linux

13858 readers
73 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I know we all enjoy being nerds and using commands (H4ckerman). But now that everything is either a gui or web based, is there really any use to terminal commands?

For example, on windows I never used powershell or cmd hardly ever. I realize now I probably could have. But Linux just drives me to use it more, which i like anyway (because let's be honest, it makes us feel superior)

you are viewing a single comment's thread
view the rest of the comments
[–] masterofn001@lemmy.ca 10 points 3 days ago (1 children)

Pipes etc.

A GUI can't combine commands from several different programs and move data to and from and use that with the ease and explicit nature of a terminal.

[–] frongt@lemmy.zip -2 points 3 days ago (3 children)

GUIs can use pipes just fine. You tell it to write to a named pipe or similar device and the program on the other end will happily consume it.

[–] Treczoks@lemmy.world 2 points 1 day ago

Yea, but try to set this up in an easy way, or to process more than one file.

Bonus points if you can achieve this under Windows 😃

[–] jj4211@lemmy.world 2 points 2 days ago (1 children)

But only if the gui very specifically designs for it. With a cli you can generally wrangle arbitrary command into a pipeline.

[–] frongt@lemmy.zip -1 points 2 days ago (1 children)

No, if it implements any standard file I/O, it'll work. Write to a fifo and then consume it with the other application. Or write into the fifo from another application and read it with the GUI app.

[–] jj4211@lemmy.world 2 points 2 days ago (1 children)

The point is that you can't "pipe GUI output to other command", the GUI would actually have to serialize things in a useful way and send to that fifo. Similarly you can't send stuff to it's stdin and expect it to do anything sane.

Further, since you can't seek() in a fifo, a lot of likely GUI applications involving files would break on trying to deal with a fifo. Also the typical GUI app on read doesn't assume a 'tail -f' like approach to arbitrary file inputs.

[–] frongt@lemmy.zip -1 points 2 days ago

Yeah you can't run a one-line pipeline, but you can still pipe between applications. Just a little more asynchronously.

[–] notgold@aussie.zone 1 points 3 days ago