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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications