← All labs

EX200 · 01/10 · 30 min · Free

Understand and use essential tools

Official EX200 group: shell syntax, I/O redirection, grep, archives, files, hard/soft links, permissions, man.

Work on your practice VM. After install, run prep-exam.sh once, snapshot 01_Exam_Start, then SSH as student.

When you finish this lab, copy the grade script onto the VM: sudo bash grade-obj-tools.sh

Tasks

  1. Create /root/exam/docs. File readme.txt with the line tools-ok.
  2. Soft link /root/exam/readme-link to that file. Hard link /root/exam/docs/readme-hard.txt to the same inode.
  3. /root/exam/sample.txt with alpha 1, bravo 2, alpha-ok. Redirect matches for alpha to /root/exam/grep.out.
  4. /root/exam.tar.gz and /root/exam.tar.bz2 must contain docs/readme.txt.
  5. From man, write tar documentation to /root/exam/tar-man.txt (must contain tar).