Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2574  / 3 Years ago, sun, october 31, 2021, 10:31:03

I have a bunch of directories:



20130118-Cars_Directory
20130118-Bikes_Directory
20130218-Planes_Directory
20130228-Scooters_Directory


Is there any way to change directories in the manner of typing a partial match in the middle of the command.



Ideally, something in the style of cd *Bikes*<TAB>, and have dash autocomplete the rest?


More From » 12.04

 Answers
3

Actually, by coincidence, it turns out that cd *Bikes*<RETURN> works without any changes to the system.



I am just a little stunned that it didn't require quotes around *Bikes*.


[#31951] Tuesday, November 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suspengn

Total Points: 477
Total Questions: 104
Total Answers: 100

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
;