Linux COL

0.0(0)
Studied by 53 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/69

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:55 PM on 1/23/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

70 Terms

1
New cards

What is Unix systems' modular design sometimes called?

Unix philosophy

2
New cards

What is the set of simple tools that the Unix operating system provides?

Core utils

3
New cards

What is the name of the GNU kernel?

Linux

4
New cards

The POSIX shell is the same as which shell?

Bourne Shell

5
New cards

What is the default shell on GNU/Linux?

BASH

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?

/

8
New cards

What is the name of the user that lives 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?

Sudo 'super user do' (anyone able to run 'sudo')

11
New cards

What is a device driver?

Translation layer between OS to User

12
New cards

What are the two types of device drivers?

User mode and kernel mode

13
New cards

Where are log files kept?

/var/log

14
New cards

Where are system configuration files located?

/etc

15
New cards

True or False - The /usr/bin directory contains required binaries.

False

16
New cards

What is the ~ short for?

Home directory of the user

17
New cards

What is a single dot short for?

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?

System calls

20
New cards

What is the command to pull up system calls by number on a Linux machine?

Ausyscall –dump

21
New cards

What is the name of the C library on GNU/Linux called?

Glibc

22
New cards

What is the file type for executable files in Unix/Linux?

elf

23
New cards

What is the GNU C library called?

glibc

24
New cards

What does the mmap system call do?

Map data to memory

25
New cards

True or False: A reboot is required when one installs a LKM?

False

26
New cards

What is the command to list loaded kernel modules?

lsmod

27
New cards

What does the .ko file extension stand for?

Kernel object

28
New cards

What are some of the common arguments used with the ps command?

Ef elf and aux

29
New cards

What is a type of process that runs in the background without any human interaction?

Daemon

30
New cards

What are the three types of login shells?

bash, gui, ssh

31
New cards

What shell actively reads commands from user input?

Interactive shell

32
New cards

What argument is used with the 'su' command to open a BASH login?

-, -l, –login

33
New cards

What argument opens a BASH login with the 'bash' command?

Bash -l, bash –login

34
New cards

What is the restricted BASH shell called?

rbash

35
New cards

What command is used to print environmental variables?

env, printenv

36
New cards

What environmental variable is checked when we execute a command in the shell?

The path

37
New cards

SSH's most notable applications are what?

Remote login, command line execution

38
New cards

Name one file transfer protocol based on SSH.

scp (secure copy), sftp (secure file transfer protocol), rsync

39
New cards

What is an administrator account?

Account to run commands as a root user

40
New cards

What type of account do users like Apache have?

Service accounts

41
New cards

What type of accounts belong to users like sys or a daemon?

System accounts

42
New cards

What file contains user information?

/etc/passwd

43
New cards

Where are user password hashes stored?

/etc/shadow

44
New cards

Where are local user configurations stored?

~/.bashrc

45
New cards

What restricts the rights and access of a user to the minimal amount required to perform their role?

Principle of least privilege

46
New cards

What element of user management says administrators of a system should not share accounts?

Individual accounts

47
New cards

What are some of the basics of password management?

Require the password to be changed periodically, do not allow the reuse of old passwords, require that they be of some level of complexity

48
New cards

SystemV has run levels, what did SystemD migrate to?

targets

49
New cards

In SystemV Linux what is the centralized configuration file?

/etc/inittab

50
New cards

What is rsyslog?

Improved faster syslog

51
New cards

What command is used for querying systemd for logs?

journalctl

52
New cards

What command is used to edit the crontab?

Crontab -e

53
New cards

What is each field of the crontab?

Minute, hour, day of the month, month of the year, day of week, script or command

54
New cards

What is the Debian package manager called?

apt

55
New cards

A package is a container for what?

Metadata

56
New cards

What command is used to check network connectivity?

Ping

57
New cards

What command is used to display the routing table?

route

58
New cards

What information do you need to configure an IP address?

IP address, network mask, default gateway

59
New cards

What are three command line tools used to interact with Networkd?

Networkctl, nmtui, nmcli

60
New cards

The d after a process name ie Networkd stands for what?

daemon

61
New cards

Samba’s functionality comes from what two protocols?

SMB & CIFS

62
New cards

What does Samba do?

Allows file and print sharing across OSs

63
New cards

Samba security modes are set in which file?

smb.conf

64
New cards

What are the two security modes in Samba?

User and shared

65
New cards

What protocol does LDAP sit on top of?

TCP/IP

66
New cards

What are two common implementations of LDAP?

Active Directory (AD) for Windows and OpenLDAP for Linux

67
New cards

The majority of Apache servers run on what system?

Linux

68
New cards

Where is the index.html file located?

/var/www/html

69
New cards

What are the symbols used to denote request and response headers?

'request' & < 'response'

70
New cards

What code means everything worked correctly?

200 OK