Question

In bash, what does trap 'echo Exit' EXIT do?

A Ignores exit command
B Kills all background jobs on exit
C Executes echo Exit when the script terminates
D Suppresses error messages
E Redirects output to null
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)