DEV Community

Discussion on: How to change the directory without typing the cd command in Linux?

Collapse
 
mhddurrah profile image
MOHAMD DORRA

a tool called goto is very nice and helpful for that opensource.com/article/20/1/direct... you can create aliases for you folders and then type goto <alias>

Collapse
 
cipharius profile image
Valts Liepiņš

Hey, that's pretty neat tool!

For a more chaotic approach, fasd is a great option, as it will track directories you've visited on command line and will rank them by their popularity. Then it's possible to jump to directories with fuzzy matched queries like z proj which probably will land in "projects".

Collapse
 
paramsiddharth profile image
Param Siddharth • Edited

Will that be something like autojump? I use it a lot.

j proj
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
cipharius profile image
Valts Liepiņš

Yeah, it seems similar. Unique feature in fasd is that it allows using it to specify command line arguments for other commands.