Learn Linux in 5 Days Flashcards
Kernel sits between :
Hardware and Software
Linux can be used on a:
Server or Desktop
Most used Linux Distros are:
redhat Enterprise Linux = RHEL and ubunto
Redhat distros for free are:
AlmaLinux and rocky Linux
Other Distros to try:
Linux Mint
Manjaro
Pop!_OS
Fedora
Debian
openSUSE
Arch Linux
Slackware
wsl -l -o / -l and -o stand for:
wsl –install -d debian / -d stand for:
-l stands for list
-o stands for online
-d stands for distro
How to remove a distro from wsl::
wsl –unregister Debian
“make sure you are not in Linux”
What is OVA
Open Virtual Appliance File
What command powers off and shuts down the system.
sudo shutdown now
Root is basically known as__________ in the directory structure
slash or /
Where do you find Binaries (or string code) and other executable files?
/bin
Where do you find System configuration files?
/etc
Home directories are found in:
/home
Optional or third party software ( software that is not bundled with the OS ) is found in :
/opt
Temporary files that are typically cleared on reboot are located:
/tmp
User related programs such as binaries and executables are found in:
/usr
Things that change often, variable data ( thinks that changed often ), most notably log files are located in:
/var
Files needed to start or boot the operating system like the Linux kernel are found in:
/boot
Control Groups heirarchy are found in:
/cgroup
Device files, typically controlled by the operating system and the system administrators are found in:
/dev
Shared file systems are found in:
/export
System libraries are found in:
/lib
64bit system libraries are found in:
/lib64
This command is used by the file system to store recovered files after a file system check.
/lost+found
This command is used to mount removable media such as (CD-Roms, USBs )
/media
The home directory for the “root” account is:
/root
This command is used to mount external file systems:
/mnt
This command provides info about running processes.
/proc
System administration binaries are located in:
/sbin
This command is used to display information about SELinux:
/selinux
This directory contains data which is served by the server:
/srv
Web Server Files are located in the ________ directory
/srv/www
FTP files are located in the ___________ directory
/sry/ftp
This command is used to display and sometimes configure the devices known to the Linux kernel:
/sys
Binaries and other executable programs are located in:
/usr/bin
You can find a list of libraries in:
/usr/lib
Locally installed software that is not part of the base operating system is found in?
/usr/local
System administration binaries are found in:
/usr/sbin
Log files are found in:
/var/log
examples of where software not installed or bundled with the Linux operation system are located:
/usr/local/crashplan/bin
/usr/local/crashplan/etc
/usr/local/crashplan/lib
/usr/local/crashplan/log
example of the location of an anti-virus software not installed with the Linux operation system:
/opt/avg/bin
/opt/avg/etc
/opt/avg/lib
/opt/avg/log
Variations of locations for installed software:
/etc/opt/myapp
/opt/myapp/bin
/opt/myapp/lib
/var/opt/myapp
Sometime applications are installed in the local directory in a shared manner:
/usr/local/bin/myapp
/usr/local/etc/myapp.conf
/usr/local/lib/libmyspp.so
Other examples of software installations not installed or shipped with the Linux operating system are located in the /opt or /usr/local directories:
/opt/google
/opt/google/chrome
/opt/google/earth
/opt/web-team
/opt/acme/web-team
/usr/local/acme/web-team
The most common directories are:
/
/bin
/etc
/home
/opt
/tmp
/usr
/var
The default interface to Linux is:
Shell
A Program that accepts your commands and executes those commands and is also called a command line interpreter is:
Shell
Command Line Interface vs a GUI
The command line is more powerful.
There will always be a command line.
Server Distributions do not include GUI’s
Connecting to the internet you will use Shell
Desktop Linux Distros have both GUI’s and CLI’s
You can use the command _________ to browse any page you want.
LYNX
The ____ sign is present when you are logged in as a super user.
pound ( # )
The____ is a short hand way of showing a home directory. When it’s displayed by itself it represents your or current login’s Home directory.
Tilda ( ~ )
Examples of using the Tilda command
~jason = /home/jason
~pat = /home/pat
!root = /root
~ftp = /var/ftp
_________ is the Superuser
Root