Skip to main content
2 votes
Accepted

tcsh piping ONLY stderr to null leaving stdout alone

From the tcsh man page: The shell cannot presently redirect diagnostic output without also redirecting standard output, but (command > output-file) >& error-file is often an acceptable ...
Shawn's user avatar
  • 1,403
2 votes

Interconnecting stdout and stdin between two programs

You can use named pipes (FIFOs) in Unix-like operating systems. mkfifo pipe1 pipe2 So, we want the first program to read from pipe2 and to write to pipe1. And the second program to read from pipe1 ...
Rouuufa's user avatar
  • 64
1 vote
Accepted

The doubt about the redirection of some stdout within its transitional period

Using the script -q -c function to capture the progress meter log. # # # script -q /tmp/yvr_1.out -c 'yum -v repolist' 1> /tmp/yvr_1.log 2> /tmp/yvr_1.err # # # cat /tmp/yvr_1.log Not ...
lylklb's user avatar
  • 365

Only top scored, non community-wiki answers of a minimum length are eligible