Linux Operating System Structure Flashcards
Responsible for interacting with system hardware
Hardware layer
The core of the operating system. Provides system with process, memory, and task management.
Kernel
Provides a connection between user space and kernel space
System Call Interface(SCI)
Responsible for creating, stopping, and communicating with system processes
Process management
Responsible for memory allocation, virtual memory, and paging
Memory management
Provides an abstraction layer for multiple filesystem types
Virtual File System
Provides protocols used in network communications
Network stack
Software used to communicate with hardware
Device drivers
System code specific to the type of processor
Architecture-dependent code
Application and user environment and interface
Shell
Used to manage the operating system
Operating system software
Editors and other user applications
Application software
Which bash configuration files are used for non-login bash shell sessions?(Choose 2) A. /etc/profile B. /etc/bashrc C. ~/.bashrc D. ~/.profile
B. /etc/bashrc
C. ~/.bashrc
You need more information on the ls command. Which commands can be used to learn how to use this utility? (Choose 2) A. ls- -help B. help ls C. ls -h D. man ls
A. ls- -help
D. man ls
You've opened the /var/opt/myapp/settings.txt file in the vi editor. You need to enter new text into the file. Which key should you press to switch into Insert mode from Normal or "Command" mode? A. I B. A C. O D. R
A.I
YAML files used to configure network cards to use DHCP or set up static IP addressing can be found where? A. /etc/X11 B. /etc/yum C. /etc/yum.repos.d D. /etc/netplan
D. /etc/netplan
To create a new directory in a user's home directory named MyFiles, you use which of the following commands? A. mkdir ~/myfiles B. mkdir ~/MyFiles C. md ~/myFiles D. mkdir ~ MyFiles
B. mkdir ~/MyFiles
The sealert utility is used to determine that a user cannot access a file. Which command would aid in troubleshooting by showing access settings? A. ls -s B. ls Z C. ls -l D. restorecon
B. ls -Z
Which vi command-line mode commands can be used to save changes to the current file being edited and close the vi editor? (Choose three) A. ZZ B. :wq C. :q D. :q! E. :x
A. ZZ
B. :wq
E. :x
You need to change the permissions of a file named widgets.odt such that the file owner can edit the file, but no other users on the system will be allowed to view or modify it. Which command will do this?
chmod 600 widgets.odt
You need to change the permissions of a file named projectx.odt such that the file owner can edit the file, users who are members of the group that owns the file can view and edit it, and users who are not owners and don’t belong to the owning group cannot view or modify it. Which command will do this?
chmod 660 projectx.odt
Which usermod command options must be used to add user accounts as members of a secondary group? (Choose two) A. -a B. -s C. -g D. -G
A. -a
D. -G
Which control structure processes over and over as long as a specified condition evaluates to false? A. while B. until C. for D. case
B. until
For designing the implementation of a new Linux server in the company’s network, the server will function as an internal file and print server for the organization. Employees will save their work-related files in shared storage locations on the server, and print jobs for shared printers will be managed by the server as well. What services should be included in the specifications?
Samba & CUPS
This process takes over and kills processes that use too much memory because they score too high under this process’s monitoring system.
OOM
Which tools can be used to check for open network ports? (Choose two) A. nmap B. lsof B. pwconv D. ssh
A. nmap
B. lsof