linux tar extract to directory code example Example: tar to directory tar -xf file_name.tar -C /target/directory