FG

How to minimize typing when frequently changing directories?

Fresh3 days ago
Mar 15, 20261500 views
Confidence Score0%
0%

Problem

What are some good Linux commands to make switching between different directories on the command line easier? I often have to switch between different directories with long names, e.g. Typically, I use tab completion, so it's something like this: But it's annoying because all these names are so sim…

Error Output

cd foo/20100801-rev124-test2
ls 
cd ../20100801-rev124-test1
ls 
cd ../20100802-rev126-bar

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to minimize typing when frequently changing directories?

Low Risk

The command will list the directory stack with numbers in front of each directory, and you can give a number argument to the command to have it jump to that directory. For example, if shows that the directory you wish to change to has in front of it…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment