diff --git a/doc/src/sgml/install.sgml b/doc/src/sgml/install.sgml
index 311d13087b6..3f68396c5b4 100644
--- a/doc/src/sgml/install.sgml
+++ b/doc/src/sgml/install.sgml
@@ -546,7 +546,7 @@ Compile the program. Type
$ cd /usr/src/pgsql/src
-$ gmake all >& make.log &
+$ gmake all > make.log 2>&1 &
$ tail -f make.log
@@ -589,7 +589,7 @@ then recompile again.
be specified on the command line using the COPT variable.
For example, typing
-$ gmake COPT="-g" all >& make.log &
+$ gmake COPT="-g" all > make.log 2>&1 &
would invoke your compiler's option in all steps of the
build. See src/Makefile.global.in for further details.
@@ -601,7 +601,7 @@ $ gmake COPT="-g" all >& make.log &
Install the program. Type
$ cd /usr/src/pgsql/src
-$ gmake install >& make.install.log &
+$ gmake install > make.install.log 2>&1 &
$ tail -f make.install.log
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 521dcb9d17d..bfab6603397 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -62,7 +62,7 @@
the log file:
-% postmaster -d >& pm.log &
+% postmaster -d > pm.log 2>&1 &
If you do not wish to see these messages, you can type
diff --git a/doc/src/sgml/trouble.sgml b/doc/src/sgml/trouble.sgml
index 7ae6dbaa2dc..776e96f7163 100644
--- a/doc/src/sgml/trouble.sgml
+++ b/doc/src/sgml/trouble.sgml
@@ -148,7 +148,7 @@ FATAL 1: Database testdb does not exist in pg_database
the log file:
-% postmaster -d >& pm.log &
+% postmaster -d > pm.log 2>&1 &
If you do not wish to see these messages, you can type