QuestionQ96

VerifiedShells y scripts

Which of the following commands lists all defined variables and functions in Bash?

Explanation

With no arguments, Bash's set builtin displays shell variables and functions. Environment-listing commands such as env do not include all shell variables or function definitions.

Community Discussion

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