Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
41 Cards in this Set
- Front
- Back
A _______ is used to perform tasks related to packages
|
Package manager
|
|
Package managers are usually split into two categories:
|
Simple package managers
Front-ends |
|
Package manager used in CentOS, Novell Netware, IBM AIX, others:
|
rpm
|
|
Developed for Debian Linux
Circa 1993 Comparable to RPM Used by many Linux distributions Used by fink on OS X: |
dpkg
|
|
yum is de facto standard
Yellowdog Updater, Modified Developed at Duke up2date is used by Red Hat for paying customers |
rpm front-ends
|
|
front-end mangers used with
Debian: CentOS: |
aptitude
yum |
|
_____ packages update automatically.
|
yum
|
|
Linux kernel only calls one process:
handles loading processes and services |
init
|
|
Majority of Linux systems use an init based on:
|
System V
|
|
System V is based on a concept of:
|
run levels
|
|
Run levels usually numbered:
|
0-6
|
|
0-
1- 2- 3- 4- 5- 6- |
0 – Halt the system
1 – Single user 2 – Multi-user (without NFS) 3 – Multi-user 4 – unused 5 – Multi-user, graphical mode 6 – reboot |
|
System may only be in ____ runlevel at a time
|
one
|
|
______ OS runlevels
2-5 are multi-user S - system initialization |
Debian
|
|
______ OS runlevels
2 - multi-user sans NFS (no networking) 3 - full multi-user 5 - X11 |
CentOS
|
|
Which file contains:
Contains scripts to start and stop services Service scripts have minimum of three options: start, stop, restart Others options may be supported status, reload |
/etc/init.d/
|
|
Most services are:
|
daemons
|
|
Daemons are programs that always:
|
run in the background
|
|
netstat will check for:
|
open ports
|
|
netstat command will display routing table:
|
netstat -r
|
|
etstat command will display open ports:
|
netstat -atunp
|
|
netstat -a:
netstat -t: netstat -u: netstat -n: netstat -p: |
netstat -a: show listening and non-listening sockets
netstat -t: TCP netstat -u: UDP netstat -n: do not resolve host or port names netstat -p: show process names and IDs (root only) |
|
______ is the current firewall in Linux
|
iptables
|
|
_____ is the quintessential tool to view the process list
|
ps
f - show process hierarchy (forrest) a - show processes belonging to all users u - display user-oriented format x - include processes without a TTY TTY == teletype == interactive process w - wide output (twice is unlimited output) |
|
______ displays open files and internet sockets
|
lsof
|
|
____ daemon that runs jobs at set intervals
|
cron
|
|
______ daemon that runs a jobs at specified times
|
at
|
|
_____ jobs repeat
|
cron
|
|
____ jobs only run once
|
at
|
|
_____ allows searching of man pages
|
apropos
|
|
permissions
read: write: execute: |
4
2 1 |
|
____ is a command that allows a normal user to perform actions as root or another user
|
sudo
|
|
Security-Enhanced Linux adds access-control mechanisms to the Linux kernel, it is also called
|
selinux
|
|
____ are dumb devices that simply act as a repeater
Are bad because: |
Hubs
because info is displayed so anybody can see it. |
|
ICMP -
TCP - UDP - |
Internet Control Message Protocol
Transmission Control Protocol User Datagram Protocol |
|
IMCP does not carry data, it carries:
|
network status
used for error notification, host availibilty (ping), and neywork congestion notification |
|
With hubs, attached devices must implement _____.
|
CSMA/CA
Carrier Sense Multiple Access with Collision Avoidance |
|
With hubs collisions still occur. When they do what happens?
|
All devices stop transmitting and perform a random backoff.
|
|
Switches use a _____ table to map MAC addresses to attached devices.
|
Content Addressable Memory
|
|
MAC to port mapping allows the switch to only transmit a packet the ______.
|
destination port
|
|
MAC addresses are a_____________.
|
unique 48-bit number assigned to a network card
6 octets |