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
/
Shell basics
A script exports REGION=eu and starts a child process. The child changes REGION to us. Wh…
from Shell basics
GNU Bash 5.2.21
beginner
3 min
A script exports REGION=eu and starts a child process. The child changes REGION to us. What does the parent see afterward?
REGION remains eu in the parent.
REGION becomes us in the parent.
REGION is deleted from the parent.
The child cannot read REGION.
Check
Ask AI about this kata
Report an error
previous kata
When should a script save the special parameter whose name is `$?`?
Quiz
next kata
Which expansion forwards all positional parameters while preserving each original argumen…
Quiz
A new version is available
Reload