Skip to content

Linux Command Line

Tar Uncompress

# GNU tar
# The same command handles any compression format! Ex:

tar xf archive.tar.xz  # for .tar.xz files
tar xf archive.tar.gz  # for .tar.gz files
tar xf archive.tar     # for .tar files
tar xf archive.tar --one-top-level  # Exclude compressed parent directory

Errors

Cannot exec: No such file or directory

Missing dependencies