another #linux question if I may: 'nhow do you deal with long and complex folder paths in the terminal?
-
another #linux question if I may:
how do you deal with long and complex folder paths in the terminal?./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC)/ ./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC) Test Book 2025/
-
another #linux question if I may:
how do you deal with long and complex folder paths in the terminal?./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC)/ ./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC) Test Book 2025/
@kaia Type the start, then use ↹ Tab for completion?
-
@kaia Type the start, then use ↹ Tab for completion?
@mezzodrinker but there are two, it won't autocomplete in bash -
another #linux question if I may:
how do you deal with long and complex folder paths in the terminal?./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC)/ ./Psychiatric-Mental Health Nurse Practitioner-Board Certified (PMHNP-BC) Test Book 2025/
@kaia
Glob patterns can be handy too:echo Psy*Test*
echo Psy*BC?
Same works for any command. Like with cd:
cd Psy*BC?
In my example "*" stands for several chars and "?" says here's exactly one char. shell globs have some more features like sequences, sets etc.
-
@mezzodrinker but there are two, it won't autocomplete in bash
@kaia @mezzodrinker you can configure the shell to autocomplete the common part on first tab
-
undefined Oblomov shared this topic