In bash, when being under a directory, how can we select a file or subdirectory without actually typing its name or even part of its name?Is there a way to enumerate or alternate the files or subdirectories, such as  how we can use TAB to switch between several things in a webpage?Does it depends on the application to open the file or subdirectory?If yes,how can we select a subdirectory among several subdirectories for cd?how can we select a pdf file from several pdf files for evince?E.g.$ ls .  subdir1 subdir2$ cd Can we choose subdir2 for cd, without typing subdir2 or any part of it? Ideally it will be good to use Tab key to select and alternate between subdir1 and subdir2, so we can stop at subdir2 and then hit Return.
select a file under a directory?
bash