CSchantz Wiki

Lab03 Basic File Management

Basic File Management

  1. Which three Linux utilities can be used to determine a Files type?
  2. What is the function of the tac command?
  3. There are two hard linked files in a directory, how would you identify them?
  4. Which vim mode allows to execute advanced copy and move functions?
  5. A file compressed with bzip2 can be uncompressed with the gunzip command. True or False?
  6. Which numeric identifier does the kernel use to determine the uniqueness of a device within a device driver type?
  7. What are the two indications in the output of ls -l that tells us if the file is a symlink?
  8. The rmdir command without any switches can be used to erase an entire directory structure. True or False?
  9. What would the command tar pczf output.file /usr/local do if its executed by a normal user?
  10. The ls -l command produces 9 columns in the output by default . True or False?
  11. What would the command wc -c file1 show
  12. What does the kernel use the major number for?
  13. The tail command can be used to view a file while it is being updated. True or False
  14. Soft linked directories cannot cross  file system boundaries, but hard linked directories can. True or False
  15. A file must have the .exe extension in order to run. True or False?
  16. The tar command can be used to archive files with their SELinux contexts. True or False
  17. What would the command touch file1 do on an existing file1 file?