For this exercise you may assume that your working directory contains the following files:
Give Unix commands that perform the following tasks:
Unpack the tarball backup.tar.gz4 such that the names of all extracted files are displayed.
Decompress the file cru.fasta.gz5. The compressed file should be replaced
with the decompressed file cru.fasta
.
Decompress the file sly.gff3.gz6. The compressed file should be retained,
so both the original compressed file sly.gff3.gz
as well as the decompressed file
sly.gff3
should be in your working directory after executing the given command.
Downloading files from command line
Use the following command to download a file into the current directory of your Linux shell:
wget <url>
. Put the URL of the file that you want to download at the position of<url>
and keep the URL enclosed in between single quotes to escape any special characters. The URL of a hyperlink in a web page can be copied through the context menu that appears when right clicking the hyperlink.