I am teaching someone how bash globbing works. I would like to show (via some bash debugging feature if possible) how bash expands the patterns prior to invoking the command. For instance I would like to do the following:ls -l file*.txtThen I would like bash to show what the file*.txt expanded to:ls -l file1.txt file2.txt file3.txt file4.txtI know how to do this using bash -x from within a script but I would prefer to do it in the interactive shell so that I don't have to introduce ideas about scripts. Is there a way to do this in interactive mode? 
Is it possible to show how bash globbing works by doing?
wildcards