Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
CS foundations
What happens in `command >out.log 2>&1`?
from CS foundations
advanced
1 min
What happens in `command >out.log 2>&1`?
Standard output goes to `out.log`, then standard error is duplicated to that same destination.
Standard error goes to the original terminal because redirection order never matters.
The shell writes descriptor 2 into a file named `&1`.
Check
Ask AI about this kata
Report an error
previous kata
What does a page fault prove by itself?
Quiz
next kata
Which statement describes the default memory relationship between threads in one process?
Quiz
A new version is available
Reload