Linux B

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which symbol is appended with a command to run it in the background?

&

Which option is used with the useradd command to create a user account without creating the user's home directory?

-M

Which of the following options are used with the chown command to change the ownership of all the subdirectories of a specified directory?

-R --recursive (the two above are effectively analogous)

Which of the following groupadd options are used to create a new group with a specific group ID?

-gid -g

Which find command options can be used to locate files owned by a specific user?

-user -uid

Which regular expression string is used to match any sequence of characters of any length?

."

Which file defines groups on a Linux system?

/etc/group

In which year was the terminal emulator program that would eventually become the Linux kernel created?

1991

Under which version of GPL is the Linux kernel distributed?

2 (GPLv2)

Which of the following vi commands is used to open a new file for editing?

:e

Which of the following redirection operators appends a command's standard output to an existing file, without overwriting the file's original contents?

>>

You execute the following commands: mkdir newdir cd newdir touch newfile.txt What will be the effect of the touch command?

A new file named newfile.txt will be created in the current directory.

useradd -n

Assigns whatever group is in the default

Which of the following organizations bases its philosophy on software licensing on a strong moral imperative that users should be able to modify their software?

FSF (Free Software Foundation)

Which of the following are core Unix tools?

GNU tool set X window system

Which of the following commands display information about CPU?

LSCPU cat /proc/cpuinfo uname -a

Which of the following information are present in the /etc/group file?

Name of the group The group's password GIDs of the group

What is the correct order in which permissions are represented in the permission string?

Owner, group, world

Which of the following package formats does Slackware use?

Tarballs

You've created a new file, but you are unable to find that file using the locate command. Which option best explains this behavior?

The database hasn't been updated yet

You're unable to execute a script named myscript.sh using the ./myscript.sh command in the terminal. Which of the following is the most probable cause of this issue?

The execute permissions are not set on the script.

Which of the following statements is true of the /etc/skel directory?

The files in this directory are automatically copied to a new user's home directory when the user is created.

Which of the following files in the /var/log directory summarizes services started via SysV startup scripts?

boot.log

Which of the following commands will change a specified file's permissions to rw-rw-rw-?

chmod a=rw chmod a+rw

Which Linux command is used to display system boot time messages?

dmesg

Which of the following utilities is used to install packages on a Debian system?

dpkg

Which of the following text editors can be run both in the text-mode and GUI interfaces?

emacs

Which of the following files contains information about the user accounts in a Linux computer?

etc/passwd

Which Linux command makes an environment variable available to subshells?

export

Which pager is used to view man pages, one page at a time?

less

useradd -m

makes a home directory if one does not already exist

Which of the following commands can be used to rename a file?

mv (mv file1.txt renamed.txt)

Which of the following commands stores the output of the date command in a variable?

myvar='date'

Which of the following is the machine name portion of the pete.ucertify.com hostname?

pete

Which of the following package management tools belong to the Red Hat family of the PMS tools?

rpm yum

useradd -D

shows where users are assigned and other stats

useradd -s

specifies the user's default login shell


Conjuntos de estudio relacionados

Excel Expert 2019 - Module 2 Review

View Set

gateway to business final study guide (SIM ONLY)

View Set

MLA 8 Works Cited Quiz (ENGL 308W)

View Set

FINC Financial mathematics Lecture 3

View Set

Burns Pediatric Final Exam Study Guide

View Set