Which of the following is the best way to list all defined shell variables? 06/14/2017 – by Mod_GuideK 0 Which of the following is the best way to list all defined shell variables? A. env B. set C. env -a D. echo $ENV SHOW ANSWERSCorrect Answer: B Explanation/Reference: Download Printable PDF. VALID exam to help you PASS.