Linux Questions

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

True / False - File extensions have special meaning to the Linux kernel?

False

True / False - Only one unprivileged user may be logged into a Linux system at any given time.

False

True / False - The graphical environment for Linux is a core part of the operating system.

False

Given the Linux kernel version number 2.3.17, which of the following a. A minor number 3 indicates that this is a development kernel b. This kernel has a patch-level of 3 c. This kernel includes 17 patches d. A major number 2 indicates that this is a stable kernel

c. This Kernel includes 17 patches

True/ False - It is not possible to redirect the STDERR channel.

False

Which of the following are considered basic Unix design principles: a. System represents everything as a file b. All configuration data stored in text files c. The kernel should enforce strict structure, leaving a minimum amount of decisions up to the userland programs d. All configuration data stored as efficient binary hashes

Not sure

True / False - Fedora is the community supported GNU/Linux distribution that 'provides the base for' Red Hat Enterprise Linux.

True

True / False - RPM packages store files internally in the cpio archive format.

True

True / False - The gzip, or bzip2, commands can both archive and compress files.

True

True / False - The touch command is used to create a new empty file?

True

True / False - Unix tends to store configuration data in text files.

True

True/ False - GNOME is highly configurable.

True

True/ False - Linux has support for a number of advanced logging / journaling filesystems.

True

Choose the best answer - Which of the following options to the wc command causes it to display only the number of lines in an input file? a. -l b. -L c. -w d. -c

a. -l

3) Which of the following are complete desktop environments? a. GNOME b. KDE c. Compiz d. Metacity

a. GNOME b. KDE

Which one of the following utilities is where all KDE configuration takes place? a. KDE Control Center b. DrakConf c. KDE Panel d. KDE Application Launcher

a. KDE Control Center

Which of the following people created the first UNIX operating system? a. Ken Thompson b. Dennis Ritchie c. Linus Torvalds d. Larry Wall e. Richard Stallman

a. Ken Thompson b. Dennis Ritchie

Choose the best answer - What communication channel is used by a program to receive input? a. STDIN (standard in) b. STDOUT (standard out) c. STDERR (standard error) d. STDMOD (standard model)

a. STDIN (standard in)

Choose the best answer - Which of the following terms correctly describes the type of file created by the ln -s command? a. Symbolic link b. Soft link c. Simple link d. Soggy link

a. Symbolic link

On a Linux system, which of the following is true regarding the root user? a. The root user is identified by the UID of 0. b. The root user is assigned the highest UID on the system (usually 65536). c. The name of the all-powerful, privileged user is always 'root' and cannot be changed. d. For security reasons, the root user is not allowed to assume the identity of other users on the system.

a. The root user is identified by the UID of 0.

Which one of the following provides the functionality to manipulate application windows such as moving, minimizing, maximizing, virtual desktops, and so forth? a. Window Manager b. Application Manager c. Desktop Manager d. Environment Manager

a. Window Manager

Choose all that apply - Assuming you are logged in as the guru user, and are currently in the /home/ directory, which of the following commands will change to the guru user's home directory (/home/guru/)? a. cd guru b. cd ~ c. cd /guru d. cd ~home

a. cd guru b cd ~

Choose all that apply - Which of the following files matches the command ls doc*[4-9] a. doctor9 b. doctor5 c. doctor10 d. doctor2

a. doctor9 b. doctor5

Choose the best answer - Which of the following commands can be used to list a summary of the disk space used by files in the /home/directory, and would produce output such as 1.7G home? a. du -sh /home b. du -s /home c. du - h /home d. du /home

a. du -sh /home

Choose the best answer - Which of the following options to the ls command can be used to see detailed information about files such as file size, and ownership information? a. l b. a c. d d. h

a. l

Choose the best answer - Which of the following commands is used to create a new directory? a. mkdir b. createdir c. touch d. cdir

a. mkdir

Choose the best answer - Which of the following symbolic representations matches the numeric permissions of 0640? a. rw-r----- b. r-xr----- c. ---r--r-x d. rwxr-x---

a. rw-r-----

What command allows a user to switch user contexts, and temporarily "become" another user? a. su b. su - c. su -l d. su -- login

a. su

Choose the best answer - Which commands should be used to manipulate PKZIP files? a. zip and unzip b. gzip and gunzip c. bzip2 and bunzip2 d. tar

a. zip and unzip

Choose the best answer - Which one of the following shell wildcard patterns match any single character? a. ? b. * c. + d. $

b. *

Choose all that are correct - Which of the following is true about the <cmd>cpio</cmd> command? a. Must be passed a list of filenames b. Designed to operate in a stream, or pipeline c. Cannot save the file and directory structure

b. Designed to operate in a stream, or pipeline.

Choose the best answer - Which of the following shows the output from running echo 'The date is $(date +%x)' a. The date is $(date +%x) b. The date is 09/22/2008 c. The date is date 09/22/2008 d. The date is date +%x

b. The date is 09/22/2008

Which of the following commands will search man page descriptions for the sub-string "passwd"? a. man -k passwd b. apropos passwd c. man -f passwd d. whatis passwd

b. apropos passwd

What commands may a user on a Linux system run to quickly gather basic information about themselves. a. id b. whoami c. users d. who

b. whoami


Kaugnay na mga set ng pag-aaral

Effectively Directing and Delegating as a Manager

View Set

microsoft network admin 2 chapter 12 test

View Set

final speech review - dr stout mgccc

View Set

28 - The Persian Wars Study Guide

View Set

OSHA: Emergency Action Plans & Fire Protection

View Set

English 101 final exam (2022, Dr. Holt)

View Set