Forrest logo
tool overview
On this page you find all important commands for the CLI tool z. If the command you are looking for is missing please ask our AI.

z

The command line tool "z" is a powerful and versatile utility used for file compression and archiving. It is commonly used in UNIX and Linux systems for its efficient and fast compression algorithms.

"z" supports various compression formats, including gzip, bzip2, and compress. It provides a simple and intuitive command line interface, allowing users to compress or decompress files with ease.

The tool offers multiple compression levels, enabling users to specify the desired level of compression and trade-off between space and time. It also supports compressing multiple files or directories into a single archive file, reducing clutter and facilitating easier file management.

Additionally, "z" provides options for preserving file attributes and permissions during compression, ensuring that the archived files retain their original characteristics. It supports both compression and decompression of files and allows for the extraction of specific files or directories from an archive file.

The tool also offers the ability to create self-extracting archive files, which can be executed as standalone executables without requiring any external decompression tools. This feature enhances convenience and portability when sharing compressed files.

Furthermore, "z" provides features for checking the integrity of compressed files through checksum verification. This ensures that the files have been correctly compressed and can be safely decompressed without any data loss.

Overall, "z" is a reliable and efficient command line tool that facilitates file compression, archiving, and extraction, making it a valuable asset for system administrators, developers, and users working with large amounts of data.

List of commands for z:

  • z:tldr:04d2f z: List all directories in `z`'s database matching "foo".
    $ z -l ${foo}
    try on your machine
    explain this command
  • z:tldr:1f27d z: Go to the highest-ranked directory matching "foo".
    $ z -r ${foo}
    try on your machine
    explain this command
  • z:tldr:7185c z: Remove the current directory from `z`'s database.
    $ z -x .
    try on your machine
    explain this command
  • z:tldr:7ff96 z: Go to the most recently accessed directory matching "foo".
    $ z -t ${foo}
    try on your machine
    explain this command
  • z:tldr:b247f z: Restrict matches to subdirectories of the current directory.
    $ z -c ${foo}
    try on your machine
    explain this command
  • z:tldr:cfb96 z: Go to a directory that contains "foo" and then "bar".
    $ z ${foo} ${bar}
    try on your machine
    explain this command
  • z:tldr:e229e z: Go to a directory that contains "foo" in the name.
    $ z ${foo}
    try on your machine
    explain this command
tool overview