LinuxCommandLibrary

z

z

TLDR

Go to a directory that contains "foo" in the name

$ z [foo]
copy


Go to a directory that contains "foo" and then "bar"
$ z [foo] [bar]
copy


Go to the highest-ranked directory matching "foo"
$ z -r [foo]
copy


Go to the most recently accessed directory matching "foo"
$ z -t [foo]
copy


List all directories in z's database matching "foo"
$ z -l [foo]
copy


Remove the current directory from z's database
$ z -x .
copy


Restrict matches to subdirectories of the current directory
$ z -c [foo]
copy

Copied to clipboard