GoConqr has a new look! Let us know what you think.

Quiz

Examen 101 - LPI Chapter 4,5: Managing Files (31 de 50)

Carlos Alberto Jara Alva 40 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (40)

  1. 1You type mkdir one/two/three and receive an error message that reads, in part, No
    such file or directory. What can you do to overcome this problem? (Select two.)
    1. AAdd the --parents parameter to the mkdir command.
    2. BIssue three separate mkdir commands: mkdir one, then mkdir one/two, and then
      mkdir one/two/three.
    3. CType touch /bin/mkdir to be sure the mkdir program file exists.
    4. DType rmdir one to clear away the interfering base of the desired new directory tree.
    5. EType mktree one/two/three instead of mkdir one/two/three.
  2. 2Typing ls -ld wonderjaye reveals a symbolic file mode of drwxr-xr-x. Which of the
    following are true? (Select two.)
    1. Awonderjaye is a symbolic link.
    2. Bwonderjaye is an executable program.
    3. Cwonderjaye is a directory.
    4. Dwonderjaye has its SUID bit set.
    5. Ewonderjaye may be read by all users of the system.
  3. 3When should programs be configured SUID root?
    1. AAt all times. This permission is required for executable programs.
    2. BWhenever a program should be able to access a device file.
    3. COnly when they require root privileges to do their job.
    4. DNever. This permission is a severe security risk
    5. EWhenever the program file is owned by the root user.
  4. 4You see the usrquota and grpquota options in the /etc/fstab entry for a filesystem.
    What is the consequence of these entries?
    1. AQuota support will be available if it’s compiled into the kernel; it will be automatically
      activated when you mount the filesystem.
    2. BUser quotas will be available, but the grpquota option is invalid and will be ignored.
    3. CQuota support will be disabled on the filesystem in question.
    4. DNothing. These options are malformed and so will have no effect
    5. EQuota support will be available if it’s compiled into your kernel, but you must activate
      it with the quotaon command.
  5. 5Which of the following commands can be used to summarize the quota information about
    all filesystems?
    1. Arepquota
    2. Brepquota -a
    3. Cquotacheck
    4. Dquotacheck –a
    5. Eedquota -a
  6. 6Which of the following file-location commands is likely to take the most time to find a file
    that may be located anywhere on the computer (assuming the operation succeeds)?
    1. AThe find command.
    2. BThe locate command.
    3. CThe whereis command.
    4. DThe type command.
    5. EThey’re all equal in speed.
  7. 7What can the type command do that whereis can’t?
    1. AIdentify the command as being for x86 or x86-64 CPUs
    2. BLocate commands based on their intended purpose, not just by name
    3. CIdentify a command as an alias, internal command, or external command
    4. DAssist in typing a command by finishing typing it for you
    5. EIdentify a command as being a binary or a script
  8. 8What can you conclude from the following interaction?
    $ which man
    /usr/bin/man
    1. AThe only file called man on the computer is in /usr/bin.
    2. BThe /usr/bin/man program was installed by system package tools.
    3. CThe /usr/bin/man program will be run by any user who types man.
    4. DThe first instance of the man program, in path search order, is in /usr/bin.
    5. EThe user man owns the /usr/bin/man program file.
  9. 9Which one of the following commands copies files with the .txt extension from /dir into /dir2, while preserving file attributes such as dates?
    1. Amv --copy /dir1/*.txt /dir2
    2. Bmv /dir1/*.txt /dir2
    3. Ccp -k /dir1/*.txt /dir2
    4. Dcp -p /dir1/*.txt /dir2
    5. Ecp -p /dir2 < /dir/*.txt
  10. 10Which one of the following file globs matches "Linux" and "linux", but not "linux.com" and not "TurboLinux"?
    1. A[L/linux]
    2. B?inux
    3. C\L\linux
    4. D[Ll]inux
    5. E[Ll]inux?

Information

Description
Se aprueba con 31 preguntas como minimo.
Language
Español
Views
186
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?