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
1
Kartenlink
0
The command "history"  keeps a record of every typed command in shell. What file does it read from, and where is it located?
~/.bash_history
Tags: bash, history
Quelle:
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:
4
Kartenlink
0
What does BIOS stand for?
Basic Input/Output System
Tags: BIOS
Quelle:
5
Kartenlink
0
What does it mean if memory is considered "volatile"?
It requires power to remain in use, and is wiped clean upon restart or power loss.
Tags: 101.1, acronyms, RAM
Quelle:
6
Kartenlink
0
Without power, a computer is only parts. The programming that occurs when a computer is turned on is called what?
Bootstrapping and/or Booting
7
Kartenlink
0
What type of memory is the BIOS stored in, and what are some variations of it?
The BIOS is stored in non-volatile memory. Traditionally it was stored in ROM (Read-only Memory). EEPROMs (Electrically Erasable Programmable Read Only Memories) was later introduced, introducing the ability to upgrade or update the BIOS using a disk or diskette, without using special tools.

More commonly you will now find Flash memory used to store the BIOS.
8
Kartenlink
0
What is POST, and what does it stand for?
POST is performed upon powering on the computer, and stands for Power-On Self-Test.
9
Kartenlink
0
What do peripheral devices, including those attached to the motherboard communicate with the CPU using?
The bus
10
Kartenlink
0
What is the most common bus type in use today, and what did it replace as the general standard in modern computers? What do each stand for?
PCI is the most commonly used bus type today, replacing the old ISA standard. PCI stands for Peripheral Component Interconnect. ISA stands for Industry Standard Architecture.

The ISA bus was sometimes called the AT bus after the IBM PC-AT in which it was first used in 1984.
Tags: bus, ISA, PCI
Quelle:
11
Kartenlink
0
What bit devices do each ISA and PCI support, respectively?
ISA supports 8-bit and 16-bit cards.
PCI supports 32-bit devices.
Tags: bit, bus types, ISA, PCI
Quelle:
12
Kartenlink
0
Many systems include a special slot based on the PCI 2.1 bus specification. What does this slot support, and what does it stand for?
This particular port is called an AGP port, or Accelerated Graphics Port. This port is optimized for the high bandwidth and fast response required for graphics cards.

This is slowly being replaced by the newer PCI Express or PCI-E bus which addresses many limitations of the original PCI design.
13
Kartenlink
0
Provide a brief summary of what the /proc file-system is?
The /proc file-system is considered a "pseudo file-system" and contains information about the running system.
Tags: fs, proc
Quelle:
14
Kartenlink
0
Where can you find information on devices on the system's PCI bus?
Within /proc/pci
Tags: bus, fs, pci, proc
Quelle:
15
Kartenlink
0
What commands can you run to display information on devices on the system's PCI bus? What command would you run if you were not a root user?
  • lspci - for root users
  • /sbin/lspci - for non-root users
  • cat /proc/pci



Tags: commands, lspci, pci, proc
Quelle:
16
Kartenlink
0
What are a few key items that can be changed within the BIOS?
  • Boot Device Priority
  • Enabling or disabling motherboard features like integrated audio/LAN/video
  • Setting preferred memory addresses or IRQ vectors for PCI (older machines)
17
Kartenlink
0
What are example security features are implemented in modern BIOS setups?
A BIOS can now detect when devices or memory have been changed/altered, or even if the case/chassis has been opened or removed.

You can also set a BIOS-level password, though it is rarely used in the business environment.
Tags: 101.1, BIOS, security
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:
22
Kartenlink
0
What is the basic formula to calculate the size of a hard drive?
Cylinders * Heads * Sectors * 512 = Capacity
23
Kartenlink
0
What is the ATA standard, what does it stand for, and what are its variations? What are the three most popular storage mediums?
  • ATA stands for Advanced Technology Attachment
  • PATA is Parallel ATA - the ATA standard
  • SATA is Serial ATA -


SCSI, Small Computer Systems Interface is another common standard, with its own variations.


Tags: 101.1, ata, hard drives, pata, sata, scsi
Quelle:
24
Kartenlink
0
What is the ATA standard, what does it stand for, and what are its variations? What are the three most popular storage mediums?
  • ATA stands for Advanced Technology Attachment
  • PATA is Parallel ATA - the ATA standard
  • SATA is Serial ATA -


SCSI, Small Computer Systems Interface is another common standard, with its own variations.


Tags: 101.1, ata, hard drives, pata, sata, scsi
Quelle:
25
Kartenlink
0
How do PATA drives function? What variations are there? Are they still in use today?
PATA disks use a parallel interface, meaning several bits are passed through the cable at once.

PATA cables are wide as a result, supporting either 40 or 80 lines, depending on the variety.

They are a bit outdated, but still in use today, particularly in CD-ROM and DVD-ROM drives.
Tags: cables, fs, hard drives, PATA
Quelle:
26
Kartenlink
0
How many devices can you connect to each PATA connector on a motherboard or plug-in connector? As a result, how many connectors do PATA drives generally have?
You can connect two devices to each PATA connector. This means that the PATA drive generally has three connectors, as one has to attach to the motherboard.
Tags: hard drives, PATA
Quelle:
27
Kartenlink
0
Which is the optimal drive setup and why:
  • Two drives attached to one controller; one set to master, one set to slave.
  • Each drive attached to a separate controller.
Each drive should ideally be attached to a separate controller because each controller has a limited throughput. One drive per controller allows for maximum throughput.
Tags: 101.1, hard drives, master, PATA, slave
Quelle:
28
Kartenlink
0
Traditionally, how are PATA drives identified in the Linux environment?
They are shown in the file structure as /dev/hda, /dev/hdb, and so on. /dev/hda would be the master on one controller, and /dev/hdb would be the slave on another controller.

For example, if you were to have two master drives, attached to two separate controllers, the numbering scheme would have a gap ending in /dev/hda and /dev/hdc.
Tags: controller, dev, hard drives, PATA
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:
30
Kartenlink
0
What bus type does SATA technology use?
Serial
Tags: 101.1, bus types, hard drives, SATA
Quelle:
31
Kartenlink
0
Is SATA faster than PATA? What are their data rates in comparison?
Yes, ideally. SATA is capable of 187-375 MB/s, whereas PATA runs at 16-133 MB/s.
Tags: 101.1, data rates, hard drives, PATA, SATA
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:
33
Kartenlink
0
How many devices can a SCSI device support?
8 or 16 depending on the variety.
Tags: 101.1, bus types, 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:
39
Kartenlink
0
Logically, how is a SCSI bus mapped? Explain.
One-dimensionally. Basically, every device in the bus falls upon a straight line.

Each end of the SCSI bus must be terminated - and the bus must not fork or branch in any way. The word terminated refers to a special resistor pack that prevents signals from bouncing back and forth along the SCSI chain. The manual should contain information on how to terminate such a fork or branch.

Tags: branch, bus types, fork, hard drives, resistor, SCSI, termination
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:
44
Kartenlink
0
How many partitions did the original x86 architecture support? Now that this has changed, what are those original partitions referred to as?
Four. They are now referred to as the primary partitions.
Tags: 101.1, partitions, x86
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:
54
Kartenlink
0
What format do configuration lines in the syslog configuration file use?
facility.priority action

  • Facility being the type of program or service
  • Priority being the importance of the message
  • Action is the file or computer that accepts the message
Tags: /etc, configuration, logs, syslog
Quelle:
55
Kartenlink
0
What are the facility and the priority sometimes collectively referred as?
selectors
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:
60
Kartenlink
0
What are the two commands to handle hotplugging of USB devices?
usbmgr and hotplug
61
Kartenlink
0
What is hot plugging involve? How does the system respond as a result?
Hot plugging involves plugging in a USB device while the system is running.

The system then has to do the following
  • Determine the device, then find a driver to run it
  • Bind the driver to the device
  • Notify other subsystems about the device. This allows disks to be mounted or print queues to be added for example.
62
Kartenlink
0
When do you need to run the lilo command?
Linux provides LILO, the Linux Loader, which can function as either a master boot program or a secondary boot program. lilo is installed with a command like this one:

# lilo -C /etc/lilo.conf

The -C option specifies the location of LILO's configuration file. (The location in the preceding command is, in fact, the default location, and so the -C clause is redundant.)

The lilo.conf file specifies LILO's behavior for certain aspects of the boot process and also defines the kernels and operating systems that it can boot.
63
Kartenlink
0
You want to install the debian package file foobar.deb. This file is located in /home/bob. Which command would you use to install this file?
dpkg -i /home/bob/foobar.deb
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:
65
Kartenlink
0
What would the following command result in?
cp `find . -size -12k` /tmp
All files in the current directory which are smaller than 12 KByte will be copied to /tmp
66
Kartenlink
0
How could you get the following information: Which GID has the default group of user foo?
grep foo /etc/passwd | cut -d: -f4
67
Kartenlink
0
What command changes tabs to spaces (just the command - no options)?
expand
68
Kartenlink
0
What is a daemon-process?
A daemon process has no controlling terminal. It cannot open /dev/tty. If you do a "ps -ef" and look at the tty field, all daemons will have a ? for the tty.
69
Kartenlink
0
What command changes a command or process priority?
nice
70
Kartenlink
0
What means the following construct inside a regular expression?
[^A-Z][!A-Z]
The starting of a line, followed by an uppercase letter, followed by a non uppercase letter.
71
Kartenlink
0
/dev/ ist the first logical partition of the master on the second IDE-channel.
hdb1
72
Kartenlink
0
You have created a new directory named /foo and now you have copied the two files bar and foobar into this new directory. Now you mount a floppy onto /foo using the command
mount /dev/fd0 /foo
What happens to the two files foobar and foo if you would use the command
rm -rf /foo/*
and then
umount /foo
They are removed but you can restore them
73
Kartenlink
0
How could you generate a report of the user quota of /home?
quota --report /home
74
Kartenlink
0
What command changes the default permission mode for newly created files?
(Just the command - no options)
umask
75
Kartenlink
0
How could you change the ownership of the file foobar to user foo?
chown foo foobar
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