Unit 1

Ace your homework & exams now with Quizwiz!

The following permissions lrwxrwxrwx, indicate full permissions for a directory.

False - for a symbolic link

View contents of a text file

cat

command used to display the contents of a file

cat

What command will display the contents of the file ErrorLog using an absolute file reference.

cat /home/My_Home/ErrorLog

The _____ command is used for searching a pattern in one or more file(s).

grep

The ______ command used to sort a file, arranging records in a specific order.

sort

relative directory reference

../..

The GUI acts as primary interface between the user and the kernel.

False

The following permissions -rwxr-xr-x would be 755 in octal

False

To expire a password use the -ex option with the command.

False

Which file extension indicates a uncompress tarball?

.tar

directory holding user folders

/home

Given the following, which indicates the group name?

C (user)

Which of the following are methods available to install Linux. (Pick all that apply)

CD/DVD, Network, USB, ISO

A Hard Link is a pointer (shortcut) to other file.

False

A relative path starts with a "/ " indicates an absolute path (starting from root directory).

False

Resides on the same filesystem (most common);Share the same inode number

Hard Link

The ls -a command revealed some files that begin with a dot (.) What does this mean?

It is a hidden file

_______________ is the core of a linux operating system.

Kernel

___________________ is the Linux distribution that became popular as it was the first that ran from a bootable version that not not require a hard drive.

Knoppix

Which of the following is the 'lightest' desktop environment with respect to use of hardware resources?

LXDE

A _________ Manager processes the installing, upgrading, configuring, and removing computer programs on system.

Package

A ____________ is a local or remote server(s) that store linux packages.

Repository

Which of the following is used to send keyboard commands to the operating system, to perform some action ?

Shell

df -h

Shows mount and disk space free/used

Can cross filesystems and directories; Have different inode numbers

Soft Link

Select thefalse statement(s) concerning linux file names.

Special characters comma ( , ), quotes ( ' , " , or ` ), slash ( / ), backslash ( \ ) and space can not be used in file or directory

Useful to reduce disk usage and complexity when 2 files have the same content

Symbolic Link

A regular expression is a set of characters that define a specific search pattern.

True

Each user must belong to a primary group and can be assigned to multiple secondary groups.

True

File and folders names are case sensitive.

True

GNU is recursive for "GNU's not Unix!".

True

Linux differentiates between uppercase and lowercase letters.

True

Many command interpreters provide a completion feature, which allows the shell to automatically complete a partially typed command name or argument when the user hits the Tab key. This lets users work more efficiently and be less error-prone.

True

Multiple users can access a single system's OS resources simultaneously in a multiuser environment.

True

Open Source means Linux can be flexible and customizable and Organizations/individuals can develop their own "versions".

True

Richard Stallman originally developed the operating system called GNU, intended to be entirely free software.

True

The bzip2 and gzip utilities use provide compression.

True

Which item(s) is optional with Linux distributions?

User Application

Which two GUI interfaces are worth considering if you are considering installing Linux on an older computer with limited resources?

Xfce, LXDE

§front-end application for apt

aptitude

The _____ command requires a pattern to search on, and an action to take.

awk

The _____ command is a command that cuts out sections from lines in a file.

cut

A software program in Linux is called a _______

package

View current location (working directory

pwd or .

beginning of the file system

root or /

Installs, removes and manages non-debian-based packages

rpm

If file does not exist creates

touch

If the system administrator account (root) is left empty during installation, the root account will be disabled and the initial user will be given administrator status.

True

If you activated the task "Debian desktop environment" without any explicit desktop choice (or with the "GNOME" choice), the computer will display the gdm3 login manager.

True

Inodes contain all the administrative information for a file, but not the filename.

True

Linux systems are generally set up with multiple partitions

True

Static IP address setting can be done using ip or ifconfig commands, but changes made with these commands are not permanent.

True

A downloaded file has an extension of .bz2. What command can be used to extract the contents of this file?

bunzip2

How can a [empty] file can be quickly created from the terminal screen ?

cat, touch, text editor

Use ____ to change or move between directories.

cd

741 would indicate what permissions

rwxr----x

Which of the following is a stream editor?

sed

The unstable version of debian is code named

sid

The ___ command switches standard user to the root account to execute commands.

su

The command runs a single command with root privileges, ie., runs command as administrator.

sudo

Which is the most commonly used tool for data backup ?

tar

a command-line utility that is used to archive files and directories.

tar

A provides a window[interface] for interacting with the shell.

terminal

The command monitor processes and system resource usage.

top

The ____ command can translate (find and replace) or delete characters in a file.

tr

Which of the following commands can be used to remove all repeated lines in a file ?

uniq

The _______ command is an iterative command-line utility for creating user accounts.

useradd

What command is used to modify/change attributes of an existing user account?

usermod

Consider the following directory listingdrwxr-xr-x 2 root root 4096 Mar 20 17:10 vmware-rw-r--r-- 1 root root 73735 Mar 18 17:36 vmware-installer-rw-r--r-- 1 root root 205893 Mar 20 17:10 vnetlibWhich item is a directory ?

vmware

Used by centos, red hat, fedora

yum

command used to view the contents of text files that have been compressed with gzip

zcat

Home directory

~

Given the kernel version: Linux 4.15.0-54-generic x86_64, what is the major revision number?

15

Linus Torvalds developed a Linux kernel in __________.

1991

There are ___ virtual terminals by default running on a computer.

6

What is the octal value for drwxr-xr--

754

Which fo the following below indicates read, write and execute rights to everybody.

777

During the boot process, which of the following loads the kernel?

BIOS

Bash is an example of linux ____________ interface.

CLI

According to the assigned reading, developers maintain many popular Linux distributions today. Among the longest-standing is ______, a free and open-source distribution that has 50,000 software packages.

Debian

All Linux distros are free, thanks for the effort of Linus Torvalds.

False

Corporate financial sponsorship helped GNU licensing model succeed.

False

Every file and directory in a Linux system has a numerical permission value assigned to it. This value has five digits.

False

Multi-user OS allows execution of 2 or more programs (sets of instructions) at the same time.

False

Multli-core processors are requires for Linux to use preemptive multitasking.

False

RAM is divided into regions, each allocated for the user and kernel processing. The user operates at the highest level [supervisor mode].

False

The Linux GUI is a required subsystem.

False

A file with .tar indicates, a compressed backup file commonly called a tarball.

False - uncompressed file

Linux has its roots in Unix and _______, two projects that shared the goal of developing a robust multi-user operating system.

Multics

Which of the following is a key feature(s) of a graphical user interface (GUI)?

Optional subsystem in Linux , Can be started/stopped anytime

___is a special user account that has unlimited privileges

Root

Which option in grep can be used to ignore case (does not care if a letter is upper or lower case) ?

-i

In grep, which option will display the line number containing the pattern match ?

-n

Which password command option identifies the maximum number of days till expiration of password ?

-n

The userdel username command removes the user entries from the /etc/passwd and /etc/shadow files. The - __ option will also remove the home directory and any files belonging to the user.

-r

Refers to present working directory parent directory

..

Root - beginning of the drive

/

absolute directory reference

/var/log/messages

When a user account created, a Unique ID number is given that falls into the _____ range. All user ids fall within this range.

0-99, 1000 +

A program (service) that runs in the background with little to no user interaction is called a _______.

Daemon

The man command provides documentation on commands available in unix or unix like operating systems.

True

To keep the network settings the network file needs to be modified.

True

Virtual terminals support Multi-user functionality.

True

When a binary is set user id or "SUID", the binary will be run with the permissions assigned to the "owner" of the binary, as reported by the ls command.

True

When installing software from a source tarball, for example software.tar.gz, one must uncompress and restore the tarball.

True

You can use the command touch to change the time stamp of a file or create a new file with a size of 0 bytes.

True

a number that is used to uniquely identify a user account

UID

With grep , use ________ quotes when a pattern contains multiple words or special characters.

double

Installs, removes and manages Debian packages

dpkg

If a user types in the command head /mypoem.txt, how much will be displayed in the terminal window by default?

first 10 lines of text

command used to decompress files that have been compressed with gzip

gunzip

A file that points to another files inode

hard link

What is the command to change to runlevel 6 ?

init 6

All files have an _____.

inode

Linux key component is the ________, developed by Linus Torvalds.

kernel

Checks share dependencies

ldd

When a new directory or file is created the default owner and group is set to ?

owner current logged in user, group primary group of current logged in user

Which command joins [merges] files containing lists of items into one file?

paste

binary file

/bin

directory holding most non-administrative binary files

/bin

device files for interfacing with hardware

/dev

directory containing system configuration files

/etc

directory holding configuration files

/etc

Which file(s) are used for user management (choose all that apply)?

/etc/passwd/, /etc/shadow, /etc/group

Which of the following directories keep the encrypted password files?

/etc/shadow

directory holding system libraries.

/lib

Optional directory contains add on software packages.

/opt

Directory location where static and administrative binaries are stored.

/sbin

directory holding non-binary administrative files such as error logs

/var

Terminal (CLI) uses initialization scripts that allow configuration of their behavior.

True

Text processing tools are used to filter, manipulate, and view file contents

True

The command useradd creates a new user account.

True

The display manger provides a user authentication screen, and starts the graphical desktop once the user has authenticated.

True

Which grep command can be used for searching the word director in a employee.txt file?

grep "director" employee.txt

Which Linux command(s) can be used to modify the list of groups a user belongs to?

groupadd

Modify or change group attributes with the ________ command.

groupmod

The bootloader makes the system bootable and loads the Linux kernel.

grub

command used to create hard and symbolic links

ln

command used to list files in a given directory

ls

You can use the command ____ to display the contents of the current directory in long listing format.

ls -l

Display all open files

lsof

Kernel debian-9.11.0-amd64-xfce-cd-1. What does the 11 represent in this file name?

major revision

To check files to ensure there are no errors during transmissions, you can use _________________ to compare the values to see if they match.

md5sums

sends output from one command to another command

pipe |


Related study sets

Földrajz 9. (11.Tétel: Tényleges és relatív vízgőztartalom fogalma, a felhő és csapadékképződés okai, folyamatai, hideg- és melegfront kialakulásának okai és a frontokat kísérő időjárási jellemzők, hogyan keletkezik a csapadék meleg és hidegfront esetén?)

View Set

AP Comparative Government & Politics Unit 1 Prog Check

View Set

Metabolism: Liver, Cirrhosis, Hepatitis

View Set

Lewis Chapter 13: Altered Immune Responses and Transplantation

View Set

med surg ati proctored exam (Sent)

View Set