Lets say the folder structure is like so:/home/--user1/asdf--user2/asdf1234--user3/asdf325234--cool/asdfHow could I change to asdf1234 without specifying the user? For example:cd /home/*/asdf1234How can I use not in bash? For example, lets say I want to go to /home/cool but use not capability:cd /home/!user*/asdf is this possible?Are these bash tricks possible?
Using wildcards to match a directory in bash
bash;directory;wildcards
Turn on the extglob shell option and then cd /home/!(user*)/asdf