Skip to main content

Questions tagged [stderr]

4 votes
2 answers
888 views

I am using EndeavourOS and if I play audio with the command ffmpeg -i test.flac -f alsa default, the terminal shows this sort of output: size=N/A time=00:00:21.31 bitrate=N/A speed=1.22x I would ...
user512278's user avatar
0 votes
0 answers
2k views

I am having trouble finding the cause of my php-fpm process logging its error output to the same location as the script result. I have an Apache server which passes requests to the php-fpm process ...
user10709800's user avatar
3 votes
1 answer
7k views

I'm converting a script from bash to zsh and have been floundering for days with the output. I want the stdout and stderr to both go to both the console and a log file. I've tried everything I can ...
Jim Worrall's user avatar
1 vote
1 answer
3k views

I'm trying to figure out how to show only errors on the console output (and suppress all other output) without redirecting to a file or using TEE, etc. I'm trying to get this to work for single ...
Paul π's user avatar
  • 390
1 vote
2 answers
3k views

In summary, the goal is twofold: Create a logfile that only contains commands that have failed, plus the error messages those commands generate. Prevent console output (success or failure), except ...
Paul π's user avatar
  • 390
1 vote
1 answer
397 views

How do fix when /dev/stderr is pointing to /dev/null, because of which, all err messages are redirected to /dev/null without using the > operation. ~  tty /dev/pts/0 ~  l /dev/stdout lrwxrwxrwx ...
Codester Club's user avatar
10 votes
2 answers
10k views

Without editing and recompiling ffmpeg from source, how can one hide some of the many lines that it prints when it starts encoding, without also hiding its progress bar that updates every second or so ...
Camille Goudeseune's user avatar
1 vote
0 answers
25 views

According to what is said here: For example, the following command redirects handle 2 (that is, STDERR) into handle 1 (that is, STDOUT): 1<&2 I understand why we might need to apply the ...
JConstantine's user avatar
1 vote
1 answer
383 views

I prepared the following script to test chronic & cron: echo "normal out" echo "error out" >&2 exit 0 When I run it on normal shell with chronic -ev, output is as ...
Przemysław Czechowski's user avatar
1 vote
1 answer
750 views

Quoting RFC4254 § 6.6. Session Data Transfer, Data transfer for a session is done using SSH_MSG_CHANNEL_DATA and SSH_MSG_CHANNEL_EXTENDED_DATA packets and the window mechanism. The extended data ...
neubert's user avatar
  • 7,664
1 vote
1 answer
2k views

I use Tee-Object to output my command to console and a file. I use this command: Command 2>&1 | Tee-Object 'myfile.log' With this command I only get standard and error output in my file. When ...
Danny's user avatar
  • 207
3 votes
1 answer
185 views

The interactions are so complex that I don't know exactly what I'm looking for, but maybe you can still help. Sometimes, generally after an error (return code > 0), when recalling some last command, ...
user3341592's user avatar
0 votes
0 answers
39 views

I have a batch file in which I need to pipe an exe's output to a command. However, the output is reading as error messages so it is not piping it. For example: mycommand.exe > out.txt would have ...
Mark Deven's user avatar
  • 1,789
0 votes
0 answers
366 views

Normally if you try to copy a file that does not exist you get an error message: C:\temp>copy foo bar The system cannot find the file specified. I would expect that error message to be written to ...
RedGrittyBrick's user avatar
49 votes
2 answers
13k views

I am redirecting STDOUT and STDERR to a single file, always growing, so I use always use "append" redirection; this is >> my command is command >> logfile 2>&1 And it works. But ...
Mikel Vergy's user avatar

15 30 50 per page