Ubuntuでファイルを解凍するには? [閉鎖]

Ubuntuでファイルを解凍するには? [閉鎖]

私がこれを書くたびに:

tar - xvf grads-2.0.2.oga.2-bundle.tar.gz

私はこれを得ます:

You must specify one of the '-Acdtrux', '--delete' or '--test-label' options

これを使用する方法?

ベストアンサー1

末尾のスペースを削除する-か、-完全に削除してください。

tar xvf grads-2.0.2.oga.2-bundle.tar.gz

これらのオプションの機能が何であるか疑問に思う人は、次を参照してくださいman tar

-x, --extract, --get
extract files from an archive

-v, --verbose
verbosely list files processed

-f, --file ARCHIVE
use archive file or device ARCHIVE

おすすめ記事