CoboCards App FAQ & Wünsche Feedback
Sprache: Deutsch Sprache
Kostenlos registrieren  Login

Hol' Dir diese Lernkarten, lerne & bestehe Prüfungen. Kostenlos! Auch auf iPhone/Android!

E-Mail eingeben: und Kartensatz kostenlos importieren.  
Und Los!
Alle Oberthemen / Informatics / Linux

LPIC 101.1 (75 Karten)

Sag Danke
2
Kartenlink
0
What does modprobe do?
It intelligently adds or removes modules.
Tags: 101.1, commands, linux, modprobe
Quelle:
3
Kartenlink
0
Where are module failures sometimes logged in?
The kernel log (dmesg)
Tags: 101.1, commands, dmesg, linux, logs
Quelle:
18
Kartenlink
0
How does Linux maintain its clock software?
By counting interrupts generated by an oscillator circuit in your computer. This only functions while the computer is running.
Tags: 101.1, linux, time
Quelle:
19
Kartenlink
0
How do the BIOS clock and the Operating System clock interact, and how do they differ?
Upon boot-up, the BIOS clock provides a time to the Operating System, at which point they become independent of each other and can differ even if by only milliseconds.
Tags: 101.1, bios, clock, linux, time
Quelle:
20
Kartenlink
0
Will the Operating System clock and the BIOS clock differ? If so, how can you re-synchronize them?
Yes, by the nature of the software they eventually drift. The command hwclock can be used to re-synchronize the system clock and the operating system clock.
Tags: 101.1, BIOS, clock, commands, hwclock, linux, synchronize, time
Quelle:
21
Kartenlink
0
Does the BIOS handle daylight savings time?
No, many server admins choose to use UTC for this reason.
Tags: BIOS, clock, linux, time
Quelle:
29
Kartenlink
0
How are partitions identified in the Linux file system?
With a number after the device name. For exampe, /dev/hda1, /dev/hda2, etc.
Tags: 101.1, fs, hard drives, linux, partitions
Quelle:
32
Kartenlink
0
What do most Linux SATA drivers treat SATA disks like?
SCSI drives.
Tags: 101.1, hard drives, linux, sata, scsi
Quelle:
34
Kartenlink
0
How do you identify SCSI devices?
Each SCSI device is identified by a unique ID that must be set by a jumper.
Tags: 101.1, bus types, linux, scsi
Quelle:
35
Kartenlink
0
Are SCSI devices detected by a standard x86 BIOS? Can you boot from a SCSI drive?
No, but you can detect SCSI if the SCSI host adapter has its own BIOS included. Higher end SCSI host adapters generally have this capability, while the lower end ones do not.

Even with a host adapter that includes its own BIOS, you will still need to boot from PATA or SATA drive to detect the SCSI drives.
Tags: 101.1, BIOS, linux, scsi, x86
Quelle:
36
Kartenlink
0
Is SCSI device identification different than other hard drives? Explain.
Yes. SCSI IDs aren’t used to identify the corresponding device file on a Linux system. Hard drives follow the naming system /dev/sdx (where x is a letter from a up), SCSI tapes are named /dev/stx and /dev/nstx (where x is a number from 0 up), and SCSI CD-ROMs and DVD-ROMs are named /dev/scdx (where x is a number from 0 up).
Tags: 101.1, devices, fs, hard drives, linux, scsi
Quelle:
37
Kartenlink
0
What problems can arise involving SCSI device numbering, and what are the best practices when adding new SCSI drives?
SCSI device numbering (or lettering) is usually assigned in increasing order based on the SCSI ID. If you have one hard disk with a SCSI ID of 2 and another hard disk with a SCSI ID of 4, they will be assigned to /dev/sda and /dev/sdb, respectively. The real danger is if you add a third SCSI drive and give it an ID of 0, 1, or 3.

This new disk will  become /dev/sda (for an ID of 0 or 1) or /dev/sdb (for ID 3), bumping up one or both of the existing disks’ Linux device identifiers. For this reason, it’s usually best to give hard disks the lowest possible SCSI IDs so that you can add future disks using higher IDs.
Tags: 101.1, devices, fs, hard drives, linux, scsi
Quelle:
38
Kartenlink
0
Can non-SCSI devices be assigned SCSI identifications in the file structure?
Yes. Non-SCSI devices such as USB drives or SATA drives can be mapped to the SCSI sub-system, and interfere with the SCSI device numbering if you are not careful.
Tags: 101.1, devices, fs, hard drives, linux, scsi
Quelle:
40
Kartenlink
0
When terminating, what parts of the chain must be terminated? What parts should not?
Devices mid-chain must not be terminated. Both ends of the SCSI chain must be terminated however. A SCSI host adapter qualifies as a device, so if it is at the end of the chain, it can be terminated.

Modern SCSI devices usually include a jumper or other setting to enable or disable termination.
Tags: 101.1, bus types, hard drives, host adapter, linux, SCSI, SCSI chain, termination
Quelle:
41
Kartenlink
0
What are some of the common varieties that external devices come in?
  • USB
  • IEEE-1394
  • SCSI


You configure external SCSI disks just like internal disks, although the physical details of setting the SCSI ID number and termination may differ. This would be described in the manual.
Tags: 101.1, bus types, device types, hard drives, IEEE, linux, SCSI, USB
Quelle:
42
Kartenlink
0
What command should you run before unplugging any external device? What can happen if you don't?
The umount command. Loss of data or corruption of the file system can occur if you simply unplug it.
Tags: commands, devices, linux, umount
Quelle:
43
Kartenlink
0
What are some of the key advantages of partitioning?
  • Multi-OS Support - Boot two operating systems requiring two different file systems
  • File-system Choice - Some file systems may be more suited to certain applications than others
  • Disk Space Management
  • Disk Error Management - Allows isolation of a problem, should a partition or file system become corrupt. Titanic style.
  • Security - Ability to set read-only file systems can add security, or be used for redundancy in the event that data is lost on a duplicate partition
  • Backups - They work better on entire partitions at a time, so segmenting your space into small, intelligently spaced surface areas allows for more effective backups and management.
Tags: 101.1, fs, hard drives, linux, partitions
Quelle:
45
Kartenlink
0
As hard disks grew larger, how did they work around the issue of the four partition limit, while maintaining backwards-compatibility?

How did they identify and categorize the subsequent solution?
The x86 partitioning system was extended by a single primary partition as a placeholder for an arbitrary number of additional partitions.

The placeholder partition is known as an extended partition, and all partitions within it are referred to as logical partitions.
Tags: 101.1, extended partitions, linux, logical partitions, partitions, primary partitions, x86
Quelle:
46
Kartenlink
0
What operating systems must boot from a Primary Partition? Which do not?
Operating systems such as DOS and Windows must boot from a primary partition. Linux does not, and may actually use resources from multiple partitions to facilitate its needs.
Tags: 101.1, linux, partitions, primary partition
Quelle:
47
Kartenlink
0
What is now the standard x86 partition design?
The x86 partitioning system uses up to four primary partitions, one of
which can be a placeholder extended partition that contains logical partitions.


Tags: 101.1, extended partition, linux, logical partition, partitions, primary partition, x86
Quelle:
48
Kartenlink
0
Under Linux, what numbers are primary and extended partitions assigned? Provide examples.
One through four.

Examples:
  • The third primary partition on the second SCSI disk would be /dev/sdb3
  • The first primary partition on the first PATA disk would be /dev/hda1
Tags: /dev, linux, partitions, PATA, primary partition, SCSI
Quelle:
49
Kartenlink
0
How are logical partitions' numbers assigned? Provide examples.
From five and up, and usually assigned sequentially.

For example, if there is a /dev/hda6, this implies that there is also a /dev/hda5.
Tags: /dev, 101.1, linux, logical partition, partitions
Quelle:
50
Kartenlink
0
Aside from logical, primary, and extended partitions, there is another class of partitions that should be recognized. What are they, and how are they classified in the x86 architecture?
The x86 partition table supports partition type codes, which are two-digit hexadecimal numbers that are assigned to specific functions.

Examples:
0x06 is reserved for a certain type of File Allocation Table (FAT) partition.
0x82 denotes a Linux swap partition.
0x83 denotes a Linux file-system partition.

Tags: 101.1, linux, partitions, type codes, x86
Quelle:
51
Kartenlink
0
Operating Systems like Windows and DOS rely more on type code partitions than Linux, but there are exceptions. What are they?

  • During installation, most Linux distributions pay attention to the partition type codes to help them guess how the system is configured. Installers and Linux disk utilities also create partitions with appropriate type codes set.
  • Linux relies on the extended partition type codes (0x05 and 0x0f) to identify extended partitions. You can try to act directly on the extended partition using various utilities, but for the most part doing so would be a mistake.
Tags: 101.1, linux, partitions, type codes, x86
Quelle:
52
Kartenlink
0
To view partition information about a device, or to otherwise gain information about partitions and devices on the machine, what command can you use? Present an example.
The fdisk command.

Example:
fdisk -l /dev/hdb - This command will show the partition table for the device /dev/hdb.

fdisk -l - this will simply list the partition tables for all devices on the system.



Tags: 101.1, commands, fdisk, linux, partitions
Quelle:
53
Kartenlink
0
What does Linux use to produce and maintain log files? Where do you configure it?
syslogd - otherwise known as the syslog daemon.

The syslogd daemon handles messages from servers and other user-mode programs. It’s usually paired with a daemon called klogd, which is generally installed from the same sysklogd package as syslogd. The klogd daemon manages logging of kernel messages.

For configuration, this is done through the /etc/syslog.conf file. (The rsyslogd configuration file is /etc/rsyslog.conf and is similar to syslog.conf.)
Tags: /etc, 101.1, daemon, klog, linux, logs, syslog
Quelle:
56
Kartenlink
0
What are some of the valid codes for the facility value? What do they generally mean?
  • auth - security/authorization related
  • authpriv - privilege related
  • cron - cron job related
  • daemon - servers/processes that aren't covered by a more specific facilitiy
  • kern - kernel related
  • lpr -
  • mail - used for mail servers and other mail-processing tools
  • mark - reserved for internal use
  • news - server update/news related
  • security - identical to auth, though auth is the preferred facility
  • syslog - related to the system logging daemon
  • user - user related
  • uucp - printing related
  • local0 through local7


Asterisk * is a wildcard for all facilities, while the . character can be used to select multiple facilities.
Tags: 101.1, facilities, linux, logs, syslog
Quelle:
57
Kartenlink
0
What are the valid codes for the priority portion, and what do they imply?
  • debug
  • notice
  • info
  • warning - currently used, self-explanatory
  • warn - deprecated
  • error - deprecated
  • err
  • crit
  • alert
  • emerg
  • panic - deprecated


Aside from the deprecated codes, the above are listed in escalating importance.
Tags: 101.1, codes, linux, logs, priority, syslog
Quelle:
58
Kartenlink
0
What command/utility can you use to get a list of attached USB devices, even with no options?
lsusb
Tags: 101.1, devices, linux, lsusb
Quelle:
59
Kartenlink
0
What is the RPM naming convention? What does each portion indicate?
packagename-a.b.c-x.arch.rpm

Packagename - Title of the package, can vary from distributor to distributor

a.b.c - Version of the package. The version number doesn’t have to be three period-separated numbers, but that’s the most common form. The program author assigns the version number.

Build Number - The number following the version number (x) is the build number (also known as the release number). This number represents minor changes made by the package maintainer, not by the program author. These changes may represent altered startup scripts or configuration files, changed file locations, added documentation, or patches appended to the original program to fix bugs or to make the program more compatible with the target Linux distribution. Many distribution maintainers add a letter code to the build number to distinguish their packages from those of others. Note that these numbers are not comparable across package maintainers—George’s build number 5 of a package is not necessarily an improvement on Susan’s build number 4 of the same package.

Architecture - The last part is the package's utilized architecture. i386 is the most common, representing a file compiled for any x86 CPU from 80386 onward. Some packages include optimizations for Pentiums or above (i586 or i686), and non-x86 binary packages use codes for their CPUs, such as ppc for PowerPC CPUs or x86_64 for the x86-64 platform. Scripts, documentation, and other CPU-independent packages generally use the noarch architecture code. The main exception to this rule is source RPMs, which use the src architecture code.

Tags: architecture, linux, naming standards, packages, RPM
Quelle:
64
Kartenlink
0
List what the following common rpm command options do:
  • -i
  • -q
  • -U
  • -F or freshen
  • -V verify
  • -e
  • -i: Installs a package; system must not contain a package of the same name
  • -q: Queries a package—finds if a package is installed, what files it
  • contains, and so on
  • -U: Installs a new package or upgrades an existing one
  • -F or freshen: Upgrades a package only if an earlier version already exists
  • -V verify: Verifies a package—checks that its files are present and unchanged since installation.
  • -e: Uninstalls a package.
Tags: 101.1, commands, linux, options, RPM
Quelle:
Kartensatzinfo:
Autor: Ryan Robson
Oberthema: Informatics
Thema: Linux
Ort: Houston
Veröffentlicht: 08.02.2011
Tags: LPIC-1, Exam, Training, LPIC, Linux, , BASH, Regular Expression, Certification
 
Schlagwörter Karten:
Alle Karten (75)
/dev (2)
/etc (2)
101.1 (36)
acronyms (1)
architecture (1)
ata (2)
bash (1)
BIOS (5)
bios (1)
bit (1)
branch (1)
bus (2)
bus types (7)
cables (1)
clock (3)
codes (1)
commands (7)
configuration (1)
controller (1)
daemon (1)
data rates (1)
dev (1)
device types (1)
devices (5)
dmesg (1)
extended partition (1)
extended partitions (1)
facilities (1)
fdisk (1)
fork (1)
fs (8)
hard drives (17)
history (1)
host adapter (1)
hwclock (1)
IEEE (1)
ISA (2)
klog (1)
linux (31)
logical partition (2)
logical partitions (1)
logs (5)
lspci (1)
lsusb (1)
master (1)
modprobe (1)
naming standards (1)
options (1)
packages (1)
partitions (11)
pata (2)
PATA (6)
PCI (2)
pci (2)
primary partition (3)
primary partitions (1)
priority (1)
proc (3)
RAM (1)
resistor (1)
RPM (2)
sata (3)
SATA (2)
scsi (9)
SCSI (4)
SCSI chain (1)
security (1)
slave (1)
synchronize (1)
syslog (4)
termination (2)
time (4)
type codes (2)
umount (1)
USB (1)
x86 (6)
Missbrauch melden

Abbrechen
E-Mail

Passwort

Login    

Passwort vergessen?
Deutsch  English