Fundamentals Flashcards

1
Q

Outputs the first part of files

A

Head

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Change file owner and group

A

chown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Prints lines matching a pattern

A

grep

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

provides a limited interface for process manipulation and personal configuration

A

top

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

provides a snapchat of current processes

A

ps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

terminates processes

A

kill

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DNS lookup utility

A

dig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A network interface that allows internal communication on a computer

A

loopback device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

a utility to investigate network sockets and dump socket statistics, replaces nestat command

A

ss

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

used to send echo requests

A

ping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

copy files and directories

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

remove empty directories, and option to remove prompt when deleting files

A

rmdir -f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

change timestamp for existing files or create new files

A

touch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

create a directory

A

mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

a visual display editor

A

vi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

change current working directory

A

cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

detects and maps connected devices

A

bios

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

stores in the first block or a specific partition of the bootable device

A

bootloader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

performs a post

21
Q

initiates the boot sequence from a conencted device

22
Q

loads the kernel

A

bootloader

23
Q

loads the intrd image

A

bootloader

24
Q

Primary bootloader on linux distros

25
spawns all other processess parallelly
systemd
26
a compressed image on boot directory of the filesystem
kernel
27
brings system to a predefined state known as a target
systemd
28
mounts the root filesystem
kernel
29
Red Hat package Manager
RPM
30
High level package managers for red hat
yum, dnf, zypper
31
Debian package manager
dpkgq
32
high level package managers for debian
apt, aptitutde, apt-get synaptic
33
Distros that use dpkg
mint, ubuntu debian
34
Man - f
lists all available pages
35
Man - k
this will give any command that has to do with command you specify
36
Software layer of kernel that provides the filesystem interface to user space programs and provides abstraction within the kernel
VFS
37
Common linux filesystems
ext, xfs, btrfs
38
Where the filesystem hierarchy begins
root
39
contains user home directories specific config files and data
/home
40
System wide configuration files that are used to control the operation of a program
/etc/
41
locally installed software files contained here and its simialr to the root directory
/usr/local
42
contains data for services provided by the system
/srv
43
reserved for the installation of add-on app software package
/opt
44
delete a user and remove files in home directory
userdel -r
45
How do you view groups and see a list of users?
cat/etc/groups cat etc/passwd
46
Add a user and remove home directory
useradd - M
47
Change home directory for a user
usermod -d
48
Chmod Octal permissions
read (4) write (2) execute (1)
49
/etc/network debain /etc/network_scripts red hat