Top "Stdout" questions

The standard output stream (stdout) is the stream where a program writes its output data.

Reusing output from last command in Bash

Is the output of a Bash command stored in any register? E.g. something similar to $? capturing the output instead …

bash terminal stdout
Redirect all output to file using Bash on Linux?

I am trying to redirect all output from a command line programme to a file. I am using Bash. Some …

linux bash stdout stderr
Can I redirect the stdout in python into some sort of string buffer?

I'm using python's ftplib to write a small FTP client, but some of the functions in the package don't return …

python stream stdout redirect
catching stdout in realtime from subprocess

I want to subprocess.Popen() rsync.exe in Windows, and print the stdout in Python. My code works, but it …

python subprocess stdout
Print to the same line and not a new line in python

Basically I want to do the opposite of what this guy did... hehe. Python Script: Print new line each time …

python stdout
C++ alignment when printing cout <<

Is there a way to align text when printing using std::cout? I'm using tabs, but when the words are …

c++ stdout cout text-alignment
How to get Rails.logger printing to the console/stdout when running rspec?

Same as title: How to get Rails.logger printing to the console/stdout when running rspec? Eg. Rails.logger.info "…

ruby-on-rails logging rspec console stdout
Redirect console output to string in Java

I have one method whose return type is void and it prints directly on console. However I need that output …

java string redirect console stdout
How can I log the stdout of a process started by start-stop-daemon?

I am using an init script to run a simple process, which is started with: start-stop-daemon --start --quiet --chuid $DAEMONUSER \ …

logging stdout init.d start-stop-daemon
Piping both stdout and stderr in bash?

It seems that newer versions of bash have the &> operator, which (if I understand correctly), redirects both stdout …

bash stdout stderr piping