linux basics

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

1/61

encourage image

There's no tags or description

Looks like no tags are added yet.

62 Terms

1
New cards

What is a shell

a text based interaction between user and os

2
New cards

what is the home directory

a sort of personal work space unique to each users system

3
New cards

what is an option

a part of a command that redefines how a command is executed

4
New cards

what is unix

an operating system

5
New cards

what is the root directory

it is the start of most commands. the backwards slash

6
New cards

what does concatenate mean

to merge two or more files into one

7
New cards

what is the difference between an absolute and a relative path

an absolute path starts from the root directory. A relative path follows a path in relation to the working directory

8
New cards

whats a directory

a file system structure that stores and organizes files and other directories

9
New cards

what are the main shell types

bourne shell,c shell,z shell,bourne again shell

10
New cards

who created the bourne shell

stephen bourne back in the 70’s

11
New cards

what is the bash prompt

a tool that provides information about the user, location of the server, name of the system, and location of the system

12
New cards

what is a kernel

a kernel is a key component of an os. it communicates between hardware and processes

13
New cards

what is a uevent

a message sent to inform user spaces about thing like a dying battery

14
New cards

what is a pci

periphereal component interconnect. its what allows things like graphic cards to connect to the motherboard and communicate with memory and cpu

15
New cards

what is Linux boot

a sequence of steps initiated as soon as the computer turns on so the machine is ready to be used

16
New cards

what makes up linux boot

bios post, boot loader, and kernel initalization

17
New cards

what is a bios POST

when the os is loaded into memory so a post can be ran to see if hardware is connected to the device and functioning properly

18
New cards

what is kernel initalization

it will decompressed to conserve space and be executed into the system

19
New cards

what is boot loader

after a successful POST the code is executed and the boot fille loads it into memory to send off

20
New cards

what are runlevels

a numbered systsem determining which services to process, stop, shut down, and put under maintenance during boot

21
New cards

what is the ring buffer

a fixed array that stores eleements

22
New cards

what does lshw do

lists the status of the hardware

23
New cards

what does lsblk do

lists info about block devices

24
New cards

what are block devices

any storage device with kernel access

25
New cards

what does lspci do

lists info about block devices

26
New cards

what command lists the used memeory of the device

free -m

27
New cards

what command do you use toprobe the udev database for info about the device

udevadm info -q -n/dev/sda

28
New cards

what is sudo

super user, a user granted extra privledges

29
New cards

what is a package

a container full of compressed filed required by a software to run

30
New cards

what is a package manager

deals with the hassle of ensuring a package is legit and has everything it needs to run

31
New cards

what is rpm

redhat package manager

32
New cards

how do you install rpm

sudo apt install rpm

33
New cards

how do you unistall rpm

sudo apt rpm

34
New cards

how do you get details about an installed package on rpm

rpm -q telnet.rpm

35
New cards

what is YUM

yellowdog updater modified

36
New cards

how do you install apt

sudo apt install gimp

37
New cards

how do you install a package on apt

apt install telnet

38
New cards

what is a checksum

a small value fixed to detect corruption during storage

39
New cards

what is telnet

a client-server protocol that allows remote access and control of another computer

40
New cards

what is dns

domain name system, translates ip addresses into a language other computers can understand to communicate with eachother

41
New cards

how do you connect the connectivity of an ip address

ping

42
New cards

whats a domain name

the ending of a website that separates websites into different categories

43
New cards

whats a sub domain

the name of the website

44
New cards

what’s a switch

its what connects a number of systems together to make a network

45
New cards

what is routing

when a router connects networks together

46
New cards

what are gateways

digital routes that guide the system through routers

47
New cards

how do you print the directory youre in

pwd

48
New cards

how do you nickname commands

alias x=command

49
New cards

how do you create new files

touch filename.txt

50
New cards

how do you combine/append a file

cat filename.txt

51
New cards

what is a recursive opreration

-r, lets you command everything and not just the main folder

52
New cards

how do you check the default shell assigned the user

grep -i user /etc/password

53
New cards

how do you get basic information about the user

id user

54
New cards

how do switch user

either su -c or sudo apt-get install nginx

55
New cards

how do you pull up the rules sudo users make

cat/etc/sudoers

56
New cards

how do you store info about user groups

/etc/group

57
New cards

how do you print file size

du -sh test.img

58
New cards

what is TAR

tape archive, it groups multiple files into one referred to as tarballs

59
New cards

how do you use tar to create an archive of files

tar -cf test.tar file1 file2 file3

60
New cards

how do you compress a tarball

tar -zfc test.tar file1 file2 file3

61
New cards

true or false; compressed files always need to be uncompressed every time to read

false

62
New cards

what is grep

a tool used to print lines in a file matching pattern