1/61
Looks like no tags are added yet.
What is a shell
a text based interaction between user and os
what is the home directory
a sort of personal work space unique to each users system
what is an option
a part of a command that redefines how a command is executed
what is unix
an operating system
what is the root directory
it is the start of most commands. the backwards slash
what does concatenate mean
to merge two or more files into one
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
whats a directory
a file system structure that stores and organizes files and other directories
what are the main shell types
bourne shell,c shell,z shell,bourne again shell
who created the bourne shell
stephen bourne back in the 70’s
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
what is a kernel
a kernel is a key component of an os. it communicates between hardware and processes
what is a uevent
a message sent to inform user spaces about thing like a dying battery
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
what is Linux boot
a sequence of steps initiated as soon as the computer turns on so the machine is ready to be used
what makes up linux boot
bios post, boot loader, and kernel initalization
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
what is kernel initalization
it will decompressed to conserve space and be executed into the system
what is boot loader
after a successful POST the code is executed and the boot fille loads it into memory to send off
what are runlevels
a numbered systsem determining which services to process, stop, shut down, and put under maintenance during boot
what is the ring buffer
a fixed array that stores eleements
what does lshw do
lists the status of the hardware
what does lsblk do
lists info about block devices
what are block devices
any storage device with kernel access
what does lspci do
lists info about block devices
what command lists the used memeory of the device
free -m
what command do you use toprobe the udev database for info about the device
udevadm info -q -n/dev/sda
what is sudo
super user, a user granted extra privledges
what is a package
a container full of compressed filed required by a software to run
what is a package manager
deals with the hassle of ensuring a package is legit and has everything it needs to run
what is rpm
redhat package manager
how do you install rpm
sudo apt install rpm
how do you unistall rpm
sudo apt rpm
how do you get details about an installed package on rpm
rpm -q telnet.rpm
what is YUM
yellowdog updater modified
how do you install apt
sudo apt install gimp
how do you install a package on apt
apt install telnet
what is a checksum
a small value fixed to detect corruption during storage
what is telnet
a client-server protocol that allows remote access and control of another computer
what is dns
domain name system, translates ip addresses into a language other computers can understand to communicate with eachother
how do you connect the connectivity of an ip address
ping
whats a domain name
the ending of a website that separates websites into different categories
whats a sub domain
the name of the website
what’s a switch
its what connects a number of systems together to make a network
what is routing
when a router connects networks together
what are gateways
digital routes that guide the system through routers
how do you print the directory youre in
pwd
how do you nickname commands
alias x=command
how do you create new files
touch filename.txt
how do you combine/append a file
cat filename.txt
what is a recursive opreration
-r, lets you command everything and not just the main folder
how do you check the default shell assigned the user
grep -i user /etc/password
how do you get basic information about the user
id user
how do switch user
either su -c or sudo apt-get install nginx
how do you pull up the rules sudo users make
cat/etc/sudoers
how do you store info about user groups
/etc/group
how do you print file size
du -sh test.img
what is TAR
tape archive, it groups multiple files into one referred to as tarballs
how do you use tar to create an archive of files
tar -cf test.tar file1 file2 file3
how do you compress a tarball
tar -zfc test.tar file1 file2 file3
true or false; compressed files always need to be uncompressed every time to read
false
what is grep
a tool used to print lines in a file matching pattern