I might be mistaken here, but I was watching someone navigate using the cd command, and without actually executing it, they were able to show the folder contents of the current folder.So if I type cd Downloads/Stuff then, without pressing enter, can I list the content of the Download/Stuff folder?
Listing folder contents during cd command
shell;command line;ls;cd command
They were probably pressing tab twice to get filename completion. What exactly you are shown depends a bit on the shell: zsh, for example, can be configured to show you file date and size as well, and it is clever enough to only show you directories since you can't cd into a file anyway.Example of bash output:$ cd (tabtab)dira/     dirb/     file.txt  Example of zsh output after some customization:[0 1058 9:52:56] ~/temp/tabtest % cd dirdrwxrwxr-x   2 user   group      4096 Oct 3 09:51 diradrwxrwxr-x   2 user   group      4096 Oct 3 09:51 dirb(zsh completed to dir on the first tab since you can't cd into file.txt.)