Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
System Management
Card 74 of 206
74 / 206
Which shell syntax sends both stdout and stderr to the same file, out.log, in Bash?
Front
Which shell syntax sends both stdout and stderr to the same file, out.log, in Bash?
Back
&> out.log (or the portable form > out.log 2>&1). In the portable form, order matters: 2>&1 must come after > out.log so stderr follows stdout into the file.
Show the back
Press the card to see the back
Study this deck