ubuntu tar unzip to folder code example Example: tar to directory tar -xf file_name.tar -C /target/directory