ADV *NIX DAY 1-3 Flashcards
Utility to locate/print block device attributes.
blkid
Desktop Management Interface. A tool for dumping a computer’s DMI table contents in a human-readable format.
dmidecode
Print system information.
–a= all information
2.6.32-279
(2=kernel version, 6=Major revision, 32=Minor revision, 279= patch level & fixes)
uname
Query and change the system host name and related settings.
hostnamectl (CentOS7)
Change current run-level.
init
Determine current run-level.
who -r
Update and query run-level information for system services.
chkconfig
Run SysV init scripts. Start, stop, restart or view the status of services in /etc/init.d
service (CentOS6)
Query or send control commands to the systemd manager, to enable, disable, start, stop, or view the status of services.
systemctl (CentOS7)
Create the list of operating systems to boot in GRUB’s menu interface.
/boot/grub/grub.conf
init daemon configuration file, the initdefault line specifies what run-level starts at boot.
/etc/inittab
User mode components may include:
processes and threads windows manager libraries applications shells commands utility programs
Part of process management that shares CPU time between multiple LWPs.
scheduler
Implements file and file system related interfaces provided to user.
VFS
Elements of the Linux kernel that an architecture must use for normal operation and efficiency.
Architecture-dependent code
Ensures the proper and timely execution of processes.
process management
Provides an API to resources that send data across a network.
Network Subsystem
Converts a process running in user mode to a protected kernel mode process.
SCI
A program that provides the user CLI to the kernel.
Shell
An instance of a program in execution.
process
Contains the SCI and handles mapping between user requests and device driver actions. It also manages system resources and performs system services.
Kernel
Computer programs used to perform certain tasks, functions, or activities and originate in user mode.
Application
This mode includes processes such as shells, Linux commands, utilities, and user application programs.
User mode
An implementation of the standard C library used by many operating systems and programs on those systems.
glibc
When memory is exhausted and pages of memory are moved onto the disk.
swapping
A family of related standards specified by the IEEE that defines the API of a Unix OS.
POSIX
Run in user mode on top of a single kernel thread and shares address space and system resources.
LWP
A program that runs unobtrusively in the background rather than under the direct control of a user.
Daemon
This is a wrapper function for a Linux kernel system call.
library function
A low-level program allowing the kernel to communicate with a particular piece of hardware.
device driver
A catastrophic kernel crash that halts the entire PC.
kernel panic
Applications that make the OS work. (e.g., GUI, compilers, tools, and editors)
GNU Software
Displays file system type. (e.g., Ext, UFS, NTFS, …)
blkid
Executed from /etc/rc.d/rc*.d and spawns a login.
Run level
Executes Kernel and initrd images.
Grub