Section 6 - Tips and tricks

# 7 Section 6 - Tips and tricks

Contents of this section

## 7.1 6.0. Redirecting output of the make or patch commands

If you'd like logs of what those ```make`'' or ```patch`'' commands did, you can redirect output to a file. First, find out what shell you're running: ```grep root /etc/passwd`'' and look for something like ```/bin/csh`.''

If you're running sh or bash, ```(command) 2>&1 | tee (output file)`'' will place a copy of the make in the file ```(output file)`.''

For csh or tcsh, the syntax ```(command) |& tee (output file)`'' is for you.

For rc (Note: you probably aren't running rc) it's ```(command) >[2=1] | tee (output file)`.''

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter