unix check on learnings

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/68

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

69 Terms

1
New cards
What is the Unix systems characteristic called that refers to its modular design?
The Unix Philosophy
2
New cards
What is the set of simple tools provided by the Unix operating system?
coreutils or core utilities
3
New cards
What is the name of the GNU kernel?
GNU Hurd
4
New cards
Which shell is the POSIX shell synonymous with?
Bourne Shell
5
New cards
What is the default shell on GNU/Linux?
Bash/ Bourne again shell
6
New cards
True or False: The CLI, terminal, and shell are just different names for the same thing.
False
7
New cards
What is the root of the filesystem in Unix?
/ or a/
8
New cards
What is the name of the user that resides in kernel land?
root
9
New cards
What is the home directory of the root user?
/root
10
New cards
What is the administrator on a Linux system?
A user that is allowed to run commands as root, typically using the sudo command.
11
New cards
What is a device driver?
Device drivers let the OS know how to access and use information from that device, acting as a translator between device and application/OS.
12
New cards
What are the two types of device drivers?
Kernel-Mode Device Driver and User-Mode Device Driver
13
New cards
Where are log files kept in a Unix system?
/var/log
14
New cards
Where are system configuration files located in Unix?
/etc/
15
New cards
True or False: The /usr/bin directory contains required binaries.
False
16
New cards
What does the ~ symbol represent?
The home directory of the user.
17
New cards
What does a single dot (.) signify?
The current working directory.
18
New cards
Where does the absolute path for a file or directory start?
/
19
New cards
What is the fundamental interface between an application and the Linux kernel?
Syscalls
20
New cards
What is the command to list system calls by number on a Linux machine?
ausyscall –dump or ausyscall –dump | less
21
New cards
What is the name of the C library on GNU/Linux?
glibc
22
New cards
What is the file type for executable files in Unix/Linux?
elf
23
New cards
What does the mmap system call do?
Map files or devices into memory.
24
New cards
True or False: A reboot is required when one installs a Loadable Kernel Module (LKM)?
False
25
New cards
What command is used to list loaded kernel modules?
lsmod
26
New cards
What does the .ko file extension represent?
Kernel Object.
27
New cards
What are some common arguments used with the ps command?
UID - user ID, PID - process ID, PPID - parent process ID, C - CPU utilization percentage, TTY - terminal, TIME - elapsed CPU use time, CMD - command to start process.
28
New cards
What is a type of process that runs in the background without any human interaction?
Daemons.
29
New cards
What are the three types of login shells in Unix?
Login Shell, Interactive Shell, Non-Interactive Shell.
30
New cards
What shell actively reads commands from user input?
Interactive Shell.
31
New cards
What argument is used with the 'su' command to open a BASH login?
The Login Argument.
32
New cards
What argument opens a BASH login with the 'bash' command?
bash -l.
33
New cards
What is the restricted BASH shell called?
rBASH.
34
New cards
What command is used to print environmental variables?
printenv or env.
35
New cards
What environmental variable is checked when executing a command in the shell?
PATH.
36
New cards
What are the most notable applications of SSH?
Remote login and command line execution.
37
New cards
Name one file transfer protocol based on SSH.
SFTP.
38
New cards
What is an administrator account?
A regular user allowed to run commands as root with the command sudo.
39
New cards
What type of account do users like Apache have?
Service accounts.
40
New cards
What type of accounts belong to users like sys or a daemon?
System accounts.
41
New cards
What file contains user information in Linux?
/etc/passwd.
42
New cards
Where are user password hashes stored?
/etc/shadow.
43
New cards
Where are local user configurations stored?
~/.bashrc file.
44
New cards
What restricts the rights and access of a user to the minimal amount necessary to perform their role?
Principle of least privilege.
45
New cards
What element of user management states that administrators of a system should not share accounts?
Individual accounts.
46
New cards
What are some basics of password management?
Require password changes periodically, do not allow reuse of old passwords, and require passwords to have complexity.
47
New cards
What command is used to check network connectivity in Linux?
ping.
48
New cards
What command is used to display the routing table in Linux?
netstat.
49
New cards
What information do you need to configure an IP address?
IP Address, Gateway Address, Network Mask.
50
New cards
What are three command line tools used to interact with Networkd?
networkctl, nmtui, nmcli.
51
New cards
What does the 'd' after a process name (i.e., Networkd) stand for?
Daemon.
52
New cards
Samba’s functionality comes from which two protocols?
SMB and CIFS.
53
New cards
What does Samba do?
Provides file and print sharing between different Operating Systems.
54
New cards
Samba security modes are set in which file?
smb.conf.
55
New cards
What are the two security modes in Samba?
Share-level and User-level.
56
New cards
What protocol does LDAP sit on top of?
TCP/IP.
57
New cards
What are two common implementations of LDAP?
Active Directory (AD) for Windows and OpenLDAP for Linux.
58
New cards
The majority of Apache servers run on what system?
Linux.
59
New cards
Where is the index.html file located for Apache?
/var/www/html.
60
New cards
What are the symbols used to denote request and response headers?
61
New cards
What code signifies that everything worked correctly?
200 OK.
62
New cards
SystemV has run levels, what did SystemD migrate to?
Targets.
63
New cards
In SystemV Linux, what is the centralized configuration file?
inittab.
64
New cards
What is rsyslog?
Rocket fast syslog server.
65
New cards
What command is used for querying systemd for logs?
journalctl.
66
New cards
What command is used to edit the crontab?
crontab -e.
67
New cards
What does each field of the crontab represent?
MIN, HOUR, DOM (Day of month), MONTH, DOW (Day of Week), COMMAND.
68
New cards
What is the Debian package manager called?
apt.
69
New cards
A package in Linux is a container for what?
Metadata.