CT320: Network and System Administration

Fall 2019

IQ 04

CT320 IQ 04

Show Main.IQ04 as a slide show.

crontab

A crontab line contains these fields, in order:

  1. second minute hour day-of-month month weekday command
  2. minute hour day-of-month month weekday command
  3. hour day-of-month month command
  4. weekday month day-of-month hour minute second command

crontab

What indicates Wednesday, in a crontab?

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. Wed

Which commands will show the date?

date >now
ln now a
ln -s now b
rm now
cat a
cat b
  1. cat a will work, cat b will fail
  2. cat a will fail, cat b will work
  3. Both will work
  4. Both will fail
  5. Those ln commands are backwards.

Blocks

Assume that a filesystem uses 1MB blocks. How many blocks (direct, indirect, whatever) does an inode need to store a 100MB file?

  1. 99
  2. 100
  3. 101
  4. 102
  5. can’t say, given only this information

Filetype

If ls -l reports a filetype of s, that means it’s a:

  1. socket
  2. symlink
  3. SATA
  4. swap

symlink is l, socket is s

End-of-file

Which byte indicates end-of-file, in a disk file?

  1. NUL, ␀, control-@, ASCII 0016
  2. EOT, ␄, control-D, ASCII 0416
  3. SUB, ␚, control-Z, ASCII 1A16
  4. Some other value
  5. None of the above

Dependencies

Consider X (the X Window System) and gedit, a graphical editor.

  1. X depends on gedit
  2. gedit depends on X
  3. Neither depends on the other.
  4. They don’t depend upon each other, but are very good friends and have a supportive relationship.

Package

What is the suffix for a package file on Xubuntu?

  1. .apk
  2. .deb
  3. .pkg
  4. .rpm
  5. .zip