Skip to main content
17 events
when toggle format what by license comment
Sep 22, 2023 at 8:26 answer added Kamil Maciorowski timeline score: 0
Sep 22, 2023 at 7:08 history reopened Kamil Maciorowski
terdon shell
Sep 22, 2023 at 5:32 review Reopen votes
Sep 22, 2023 at 7:11
Sep 22, 2023 at 5:32 comment added Kamil Maciorowski The question here is "WHY doesn't this work as I expected?", NOT "how to make it work?" the alleged duplicate asks. None of the answers there explain why multiple redirections work as they work, so none of the answers there answers this question. "Fixing" this by answering this question there makes no sense because that question absolutely does not ask what this question asks. The two questions are related and linking them is a good idea (in terms of "linked" in the right column →), but they are not duplicates. I'm voting to reopen.
Jan 18, 2020 at 0:59 comment added Alexis Wilke In sh and bash (and probably others) you can open multiple output files like so: cat somefile >file1 3>file2 4>file3. This means you start the program with two extra files opened as fileno 3 and fileno 4. Of course,cat will ignore those, but it can be useful if you want to have different log files, for example, or you're somehow splitting the input in 3 parts, etc.
Jan 3, 2016 at 1:56 history closed jimmij
Chris Davies
don_crissti
vonbrand
slm
Duplicate of How can I send stdout to multiple commands?
Jan 3, 2016 at 1:21 comment added vonbrand A > redirects the output to a file, period. Use tee(1) if you want to duplicate output to a file and send it on.
Jan 2, 2016 at 23:52 review Close votes
Jan 3, 2016 at 1:56
Oct 10, 2015 at 7:47 history tweeted twitter.com/StackUnix/status/652752304614076416
Oct 10, 2015 at 2:54 answer added cuonglm timeline score: 3
Oct 9, 2015 at 20:52 history edited chaos CC BY-SA 3.0
formatting; tags; title
S Oct 9, 2015 at 20:33 history suggested user90883 CC BY-SA 3.0
improved format and language
Oct 9, 2015 at 20:07 review Suggested edits
S Oct 9, 2015 at 20:33
Oct 9, 2015 at 20:03 answer added chaos timeline score: 10
Oct 9, 2015 at 20:03 answer added darnir timeline score: 16
Oct 9, 2015 at 19:53 review First posts
Oct 9, 2015 at 20:07
Oct 9, 2015 at 19:50 history asked Charlie Albert CC BY-SA 3.0