Hands-on task
This task is step 24 of the course “Linux: everyday tasks”
Extract a single file from an archive
/root/backup.tar.gz contains several files. Extract from the archive only config/app.conf into /root, so that /root/config/app.conf appears (without unpacking the rest).
Reference:tar
What you'll practise:
- tar
- gzip archives
- selective extraction
- archive listing
- -C