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
[–] 0 points 1 year ago (2 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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment