• About My website
  • Search

Amit Agarwal Linux Blog

Pipe stdout and stderr, etc., to separate commands

2010-05-11 1 min read Bash Linux

$ some_command > >(/bin/cmd_for_stdout) 2> >(/bin/cmd_for_stderr) You can use [n]> combined with >(cmd) to attach the various output file descriptors to be the input of different commands.

Bash Redirection Stdin Stdout
Latest posts
  • Golden Ticket Attack: Exploiting Kerberos from Linux
  • Color-Coded URL Status Checker in Bash: Enhanced Script for Fast Web Health Monitoring
  • Mobile_App_Mindmap
  • Check Price and Token Limits in ZapGPT with OpenAI Provider
  • How to Use AI to Create Commit Messages with ZapGPT
  • Working with Gzip Files in Linux: Seamless Integration with Popular Tools
  • Exploring AI Models with ZapGPT: A Simplified Approach
Categories
  • Linux (529)
  • Fedora (343)
  • Bash (216)
  • Uncategorized (191)
  • Learning (156)
  • Photo (76)
  • Vim Tips (37)
Social media
© 2018 - 2025 by Amit Agarwal - rss
Bilberry Hugo Theme