I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab:
Create a directory called backup and in it place a compressed tar archive of all the files under /usr/include, with the highest level directory being include. You can use any compression method (gzip, bzip2 or xzip).
I started with
mkdir backup and then
tar -C /usr -zcf include.tar.gz include:
harrydevries@harrydevries-410-100nd:/usr$ tar -C /usr -zcf include.tar.gz include tar (child): include.tar.gz: Functie open() is mislukt: Toegang geweigerd tar (child): Error is not recoverable: exiting now
Can anyone help? I'm using Ubuntu 14.04 Harry de Vries