Skip to content

Magenaut

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

pipe

Is there any way to exit “less” follow mode without stopping other processes in pipe?

August 9, 2022 by Magenaut

Often times I find myself in need to have the output in a buffer with all the features (scrolling, searching, shortcuts, …) and I have grown accustomed to less.

Categories Q&A, Unix & Linux Tags job-control, less, pipe, shell, signals Leave a comment

Pipelined Sed does not work on found filename inside Bash command substitution when invoked from Find “-exec”

August 9, 2022 by Magenaut

./sample.txt Specimen_before.TXT ./sample.TXT Specimen_after.TXT

Categories Q&A, Unix & Linux Tags bash, command-substitution, pipe, sed Leave a comment

How to process/pipe TCPDUMPs output in realtime

August 9, 2022 by Magenaut

If I want to tcpdump DNS requests by clients (on an OpenWrt 10.04 router), then I

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

How do I “cat and follow” a file?

August 9, 2022 by Magenaut

A file is being sequentially downloaded by wget.

Categories Q&A, Unix & Linux Tags cat, files, open-files, pipe, tail Leave a comment

grep doesn’t output until EOF if piped through cat

August 9, 2022 by Magenaut

Given this minimal example

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

Is it possible to follow a command (run repeatedly)? as one would follow a file using tail -f?

August 9, 2022 by Magenaut

I have a script which produces a file ‘Detail.out’. I know that the script is completed whenever the file contains a certain number of lines (roughly 21025). So I find myself sitting at the command prompt running:

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

How (and why) use stderr for both reading and writing?

August 9, 2022 by Magenaut

According to this answer by schily, less reads navigation commands from stderr if it’s not able to open /dev/tty.

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

Why doesn’t grep using pipe work here?

August 8, 2022 by Magenaut

I have the following command:

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

Piping search term (not filename) to grep

August 8, 2022 by Magenaut

I want to pick out certain lines containing a given number from a file.
The file I want to search is called os_clusters/piRNA_clusters.bed.

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

Shell: mutual piping of STDIN/STDOUT of two commands

August 8, 2022 by Magenaut

zsh:

Categories Q&A, Unix & Linux Tags io-redirection, ipc, pipe, shell-script Leave a comment
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page9 Next →
  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