Kids learn by imitating. If they see you learning the terminal, they ask you how to use it. The right thing to do is to show them.
programming is a tool that you can apply to just about every facet of life and output any number of posibilities. Not having learned it earlier is my biggest regret. imo knowing how to program and really understand how a computer works should be seen as the reading and writing of our modern age. computer literacy is low in this world and that's dangerous, but i think the reason for this is people just don't often get exposed to programming unless they want to seek it out themselves. it's rare to have parents who know how to code or even schools that offer classes in coding, much less require it like english.
Of course I'm aware that math, soft skills etc. are probably going to be more important to him than `bash`, and I try to show him a bit of those too! But that doesn't mean that showing him something unusual when there's already an interest from his side is useless.
There are more important things out there to teach to a 7 year old kid. Later, the kid can learn much faster, more important commands than simple 'ls' stuff.
Life skills, math, sports and stuff like that are much more important and fun, compared to these simple commands.