Working on the command line · Question 4 of 12
The shell variable EDITOR is set, but programs that are started do not see it. Which command changes that?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A export EDITOR
Explanation
export puts the variable into the environment that child processes inherit. Short form when setting it: export EDITOR=vim.