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

A

bios

21
Q

initiates the boot sequence from a conencted device

A

bios

22
Q

loads the kernel

A

bootloader

23
Q

loads the intrd image

A

bootloader

24
Q

Primary bootloader on linux distros

A

grub

25
Q

spawns all other processess parallelly

A

systemd

26
Q

a compressed image on boot directory of the filesystem

A

kernel

27
Q

brings system to a predefined state known as a target

A

systemd

28
Q

mounts the root filesystem

A

kernel

29
Q

Red Hat package Manager

A

RPM

30
Q

High level package managers for red hat

A

yum, dnf, zypper

31
Q

Debian package manager

A

dpkgq

32
Q

high level package managers for debian

A

apt, aptitutde, apt-get synaptic

33
Q

Distros that use dpkg

A

mint, ubuntu debian

34
Q

Man - f

A

lists all available pages

35
Q

Man - k

A

this will give any command that has to do with command you specify

36
Q

Software layer of kernel that provides the filesystem interface to user space programs and provides abstraction within the kernel

A

VFS

37
Q

Common linux filesystems

A

ext, xfs, btrfs

38
Q

Where the filesystem hierarchy begins

A

root

39
Q

contains user home directories specific config files and data

A

/home

40
Q

System wide configuration files that are used to control the operation of a program

A

/etc/

41
Q

locally installed software files contained here and its simialr to the root directory

A

/usr/local

42
Q

contains data for services provided by the system

A

/srv

43
Q

reserved for the installation of add-on app software package

A

/opt

44
Q

delete a user and remove files in home directory

A

userdel -r

45
Q

How do you view groups and see a list of users?

A

cat/etc/groups
cat etc/passwd

46
Q

Add a user and remove home directory

A

useradd - M

47
Q

Change home directory for a user

A

usermod -d

48
Q

Chmod Octal permissions

A

read (4) write (2) execute (1)

49
Q

/etc/network debain
/etc/network_scripts red hat

A