Where to start First steps track · 15 stages
Linux Labs

First steps

Quiz: streams and pipelines

Question 4 of 8
Leave the quiz

Read the output

The command has 2>&1. Why did the messages stay on the screen?

$ find /etc -name '*.conf' 2>&1 > all.txt
find: '/etc/ssl/private': Permission denied
find: '/etc/audit': Permission denied
find: '/etc/polkit-1/rules.d': Permission denied
find: '/etc/credstore.encrypted': Permission denied
find: '/etc/multipath': Permission denied
find: '/etc/credstore': Permission denied
find: '/etc/cni/net.d': Permission denied
Back A–D or ↵ Sign in to answer
Loading…