Embercode
✕
The TerminalQuick quiz

Archives and downloads

8 questions. Covers Archives and downloads: tar, gzip and curl.

Questions 1 to 5 of 8

  1. 1. What does this command do? ``bash tar -tzf greeter-1.0.tar.gz ``
  2. 2. What does this command do? ``bash curl -fsSL -o tool.tar.gz https://example.com/files/tool.tar.gz ``
  3. 3. In this command, what does the c in -czf mean? ``bash tar -czf notes.tar.gz notes ``
  4. 4. What does the terminal print after this script runs? ``bash printf 'hello\n' > a.txt sha256sum a.txt > a.sha256 printf '!' >> a.txt sha256sum -c a.sha256 > /dev/null 2>&1 echo "exit $?" ``
  5. 5. True or false: a checksum published on the same web page as the download proves the file came from the author. Why?

5 question(s) left on this page.