Linux Module 1&2

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

-Contains add-on applications from individual vendors. -Use for third parties -stands for optional. A. /opt B. /dev C. /etc D. /var

A

-Contains binaries, libraries, documentation, and source-code for second level programs. -is where user-land programs and data (as opposed to 'system land' programs and data) are. -usually contains by far the largest share of data on a system A. /usr B. /ur C. /user D. /home

A

-This is the nerve center of your system, it contains all system related configuration files in here or in its sub-directories. -Contains configuration files required by all programs. -This also contains startup and shutdown shell scripts used to start/stop individual programs. A. /etc B. /dev C. /proc D. /ver

A

-is a small program that controls a personal computer's hardware from the time the computer is started until the main operating system Linux takes over. -Performs some system integrity checks -Searches, loads, and executes the boot loader program -Once the boot loader program is detected and loaded into the memory, BIOS gives the control to it - ________ loads and executes the MBR boot loader. A. Basic Input/Output System (BIOS) B. Master Boot Record (MBR) C. Grand Unified Bootloader (GRUB) D. Kernel

A

A virtual machine can run which of the following? A. Operating System B. Database C. Application D. Storage

A

Extensions: may be used to identify types of files; which file extensions is: libc.a A. Archive, library file B. Compressed file C. Fortran source file D. C language source file

A

Extensions: may be used to identify types of files; which file extensions is: mygames. Z A. Compressed file B. Archive, library file C. Fortran source file D. C language source file

A

LINUX permits file names to use most characters, but avoid spaces, tabs and characters that have a special meaning to the shell, such as: A. & ; ( ) | ? \ ' " ` [ ] { } < > $ - ! / B. @ # * C. . , : ^ D. % # ~ `

A

The Linux installation wizard ask you the following questions A. Language, Hostname, Network, Packages, File partition, root password B. Language, Hostname, and the number of employees. C. Language, Hostname, Network, Packages, File partition, RAID D. All of the above

A

The Unix operating system was created more than 30 years ago by? A. A group of researchers at AT&T's Bell Laboratories B. A group of researchers at AT&T's Dell Laboratories C. Linus Torvalds D. bell Labs and Verizon

A

What are the 2 Linux Desktops A. KDE and GNome B. KDE and Windows C. GNome and LinuxGUI D. None of the above

A

What is absolute path? A. An absolute path always begins with a "/". This indicates that the path starts at the root directory. B. An absolute path always begins with a "/root". This indicates that path starts at the root directory. C. An absolute path does not begin with a "/". It identifies a location to your current position. D. All of the above

A

What is the command to change password for a regular user by root? A. passwd username B. passwd C. password D. Passwd

A

Which of the following are Linux distributions? A. CentOS, Redhat, SUSE B. Windows, CentOS, Redhat, SUSE C. CentOS, Redhat, SUSE, Dedian, Ubuntu, MAC D. CentOS, Redhat, SUSE and VMWare

A

-The _____ filesystem provides a method of communication between kernel space and user space. -Contains information about system process. -This is a pseudo filesystem contains information about running process. A. /pro B. /proc C. /srv D. /media

B

-These include terminal devices, usb, or any device attached to the system. -System devices (disk, cdrom, speakers, flash drive, keyboard etc..) -Contains device files. A. /lib B. /dev C. /bev D. /etc

B

-This directory holds files used in booting the operating system. -Contains boot loader related files. -Kernel initrd, vmlinux, grub files are located under /boot A. /var B. /boot C. /root D. /Boot

B

-is a small program that is executed when a computer is booting (i.e., starting up) in order to find the operating system and load it into memory. -It contains information about GRUB (or LILO in old systems). -________loads and executes the GRUB boot loader. A. Grand Unified Bootloader (GRUB) B. Master Boot Record (MBR) C. Init D. Basic Input/Output System (BIOS)

B

-is the first process started during booting of the computer system. - Looks at the /etc/inittab file to decide the Linux run level. - is a daemon process that continues running until the system is shut down. A. Kernel B. Init C. BIOS D. Runlevel programs

B

Extensions: may be used to identify types of files; which file extensions is: alpha2. f A. C language source file B. Fortran source file C. Object /executable code D. Archive, library file

B

Hidden Files: have names that begin with a dot (.) For example: Which answer is correct? A. Vmhost. B. .login C. ..mailrc D. .mwnrc.

B

Reserved Filenames: " / " A. -current directory B. -the root directory C. -parent directory D. -your home directory

B

Temporary mount directory where sysadmins can mount filesystems. -is usually for permanently attached storage (generally internal disks). A. /media B. /mnt C. /nmt D. /var

B

What is the difference between soft and hard link? A. Soft link is created on a directory where hard link is created on file B. In soft link if source file is deleted then the link is is broken but in hard link deleting a source file will not impact the linked file C. In hard link if source file is deleted then the link is is broken but in soft link deleting a source file will not impact the linked file D. Soft link is created when original source file exist where hard link does not require any source file.

B

Which command is used to list files? A. pwd B. ls C. LS D. list

B

Who came up with Linux Operating System? A. John Travolta B. Linus Torvalds C.Linus Travolta D. None of the above

B

-Contains variable data like system logging files, mail and printer spool directories, and transient and temporary files. -Stands for variable files. A. /root B. /ver C. /var D. /usr

C

-Home directories for all users to store their personal files. -For example: /home/john, /home/nikita A. /boot B. /usr C. /home D. /root

C

-Its function is to take over from BIOS at boot time, load itself, load the Linux kernel into memory, and then turn over execution to the kernel. -is very important as it is impossible to start an operating system without it. -If you have multiple kernel images installed on your system, you can choose which one to be executed. A. Init B. Basic Input/Output System (BIOS) C. Grand Unified Bootloader (GRUB) D. Master Boot Record (MBR)

C

-When the Linux system is booting up, you might see various services getting started. For example, it might say "starting sendmail .... OK". Those are the runlevel programs, executed from the run level directory as defined by your run level. -Programs starts with S are used during startup. S for startup. -Programs starts with K are used during shutdown. K for kill. A. MBR B. BIOS C. Runlevel programs D. Kernel

C

Every single file and directory starts from the ___________directory. -Only _____ user has write privilege under this directory. -Please note that /root is root user's home directory, which is not same as /. A. /bin B. /boot C. /root D. /home

C

Extensions: may be used to identify types of files; which file extensions is: xwd2ps. o A. C language source file B. Fortran source file C. Object /executable code D. Archive, library file

C

How to install Oracle Virtual Box on your computer? A. Go to virtualbox.edu, go down to "VirtualBox platform packages", select the package based on your operating system, download and install. B. Download the ISO image and execute it. C. Go to virtualbox.org, go down to "Virtualbox platform packages", select the packages based on your operating system, download and install. D. All of the above

C

Reserved Filenames: " ~ " A. -the root directory (slash) B. -parent directory (double period) C. -your home directory (tilde) D. -current directory (period)

C

What is Virtual Box? A. It is pre-configured at the hardware level B. It is installed on top of an operating system for applications to share recourses C. It is installed on top of an operating system to run multiple operating system and share resources. D. It allows us to run only MAC on a Windows PC

C

What should be avoided in Linux system? A. Do not use letter B. Do not use case-sensitive letters C. Do not use spaces D. None of the above

C

______ is for mounting things like optical drives and other temporary media A. /nmt B. /mnt C. /media D. /ment

C

_______ is a multi-user, multi-tasking operating system. You can have many users logged into a system simultaneously, each running many programs. -The operating system, referred to in Linux as the kernel, interacts directly with the hardware and provides the services to the user programs. A. Unix B. kernel C. Linux D. OS

C

-Contains binary executables. -Common linux commands you need to use in single-user modes are located under this directory. -Commands used by all the users of the system are located here. -For example: ps, ls, ping, grep, cp. A. /sbin B. /dev C. /etc D. /bin

D

-Directory contains kernel modules and those shared library images (the C programming code library) needed to boot the system and run the commands in the root filesystem -Contains library files that supports the binaries located under /bin and /sbin A. /proc B. /tmp C. /opt D. /lib

D

-Directory that contains temporary files created by system and users. -Files under this directory are deleted when system is rebooted. A. /mnt B. /var C. /temp D. /tmp

D

-Just like /bin, _______also contains binary executables. -a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains executable (i.e., ready to run) programs. -For example: iptables, reboot, fdisk, ifconfig, swapon A. /bin B. /mnt C. /opt D. /sbin

D

-This directory gives users the location of data files for a particular service, such as FTP, WWW, or CVS. -Stands for service. -Contains server specific services related data. A. /proc B. /dev C. /var D. /srv

D

-is the main component of a Linux operating system (OS) and is the core interface between a computer's hardware and its processes. -controls all the major functions of the hardware, whether it's a phone, laptop, server, or any other kind of computer. -Mounts the root file system as specified in the "root=" in grub.conf A. Init B. Runlevel programs C. MBR D. Kernel

D

Extensions: may be used to identify types of files; which file extensions is: program. c A. Archive, library file B. Compressed file C. Fortran source file D. C language source file

D

How many new directories will be created after running the following command? mkdir {a..c}{1..3} A. 0 B. 2 C. 3 D. 9

D

Redhat Linux is enterprise level operating system and provides A. patches to paid customers B. technical support to paid customers C. bug fix/patches and technical support to paid customers D. bug fixes/patches and technical support to paid customers but eventually updates becomes available to everyone else

D

Reserved Filenames: " . " A. -the root directory (slash) B. -your home directory (tilde) C. -parent directory (double period) D. -current directory (period)

D

Reserved Filenames: " .. " A. -your home directory B. -current directory C. -the root directory D. -parent directory

D

What are the different way to access Linux? A. Console B. Putty or terminal client C. SSH from one command line machine to another D. All of the above

D

What are the different ways to install an Operating system? A. ISO image B. Disc C. Network Install D. All of the above

D

What is /root directory is used for? A. It is used for all users home directory B. It is used for temporary space C. It is used for system logs D. None of the above

D

What is Linux Open Source? A. It cannot be copied B. The programming source code is available and cannot editable C. It cannot be replicated D. The programming source code is available which can be copied and then it can be editable

D

Which command can be used to create a file? A. touch B. cp C. vi D. All of the above

D

Which of the following is Linux file system type? A. xfs B. ext2 C. ext3 D. All of the above

D

Which of the following is not true regarding VMware player and Oracle VirtualBox? A. They both allow you to run a "virtual" or guest operating system (OS) inside your main (host) OS B. They both are virtual machine software suites for x86 and x64 computers C. Both are free software D. VMWare player is used for Windows OS and Oracle VirtualBox is used for only Linux OS

D


Set pelajaran terkait

3 Equity Securities Practice Test

View Set

Socialogy Exam 1 Practice Test Questions

View Set

Vertebrate Form and Function Exam 3

View Set