Answer the question
In order to leave comments, you need to log in
How to quickly access a folder in Mac OS Terminal?
Hello.
In the process of work, you need to quickly move to a specific folder. This happens quite often. And each time to perform cd, ls, cd, ...
to remember the structure, for a long time. Is there any mechanism to quickly access the required folder by creating shortcuts for quick access? Like cd ~
for the home directory.
Answer the question
In order to leave comments, you need to log in
There is a variable in bash CDPATH
(the first guide I found was: https://hints.macworld.com/article.php?story=20050...
But I don't use it because it's not necessary to go through one directory. For example, to go to /home/jmv/work/archive/dcg-yula-la
I enter the directory on the command line: cd ~/w<TAB>/a<TAB>/dc<TAB>
With habit, it turns out the fastest, even faster than switching to file managers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question