Print local namespace

Are there any commands to get a sense for what commands are available, like printing all valid names in the namespace? Like Python dir()?

Thank you