返回命令列表

Linux command

Extract any archive

网络

Uses pipes, overwrite, or deletion. Check paths and options first.

命令示例

Extract any archive

a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file

说明

Useful Linux one-liner

FAQ

What is the a() command used for?

Useful Linux one-liner

How do I run a basic a() example?

Run `a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file` in a terminal, then adjust file names, paths, flags, or remote targets for your system.