Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

pipe

Performance difference between stdin and command line argument

August 6, 2022 by Magenaut

For some commands, it is possible to specify certain input as either stdin or a command line argument.

Categories Q&A, Unix & Linux Tags cat, command-line, io-redirection, pipe Leave a comment

Pipe all input and output of terminal to file

August 6, 2022 by Magenaut

I do not know if this is even possible or not, but in an attempt to keep track of many changes I am about to make to my system I want to track all input I type and all output from a terminal I’m working with to a file. I’ve been messing around trying to … Read more

Categories Q&A, Unix & Linux Tags pipe, terminal Leave a comment

Understanding piped commands in Unix/Linux

August 6, 2022 by Magenaut

I have two simple programs: A and B. A would run first, then B gets the “stdout” of A and uses it as its “stdin”. Assume I am using a GNU/Linux operating system and the simplest possible way to do this would be:

Categories Q&A, Unix & Linux Tags pipe, terminology Leave a comment

Bash: cannot break out of piped “while read” loop; process substitution works

August 6, 2022 by Magenaut

I intend to pipe the output of a program into a while read VAR loop and break when a pattern is found, but it doesn’t.

Categories Q&A, Unix & Linux Tags bash, pipe Leave a comment

Use bash’s read builtin without a while loop

August 6, 2022 by Magenaut

I’m used to bash‘s builtin read function in while loops, e.g.:

Categories Q&A, Unix & Linux Tags bash, pipe, read, shell-script, subshell Leave a comment

Name of the process on the other end of a unix pipe?

August 6, 2022 by Magenaut

If two processes are connected by a pipe,

Categories Q&A, Unix & Linux Tags linux, pipe, proc, process Leave a comment
Newer posts
← Previous Page1 … Page8 Page9
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress