QuestionQ122

VerifiedEssential Commands

Which command lists every variable and function defined within Bash?

Explanation

Running set without arguments displays the current shell’s variables and functions. Unlike env, it is not limited to exported environment variables.

Community Discussion

No comments yet. Be the first to start the discussion!