Show Menu
Cheatography

CompTIA Linux (Powered by LPI) LX0-101 Cheat Sheet (DRAFT) by

Using the Trainsignal CBT for Linux+, these are the commands for the LX0-101 Linux Professional Institute Level One exam.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Hardware Settings - IRQ Interrupts

IRQ - Interrupt Requests
00: System Timer
01: Keyboard
02: Cascade for IRQs 8 to 15
03: 2nd RS-232 Serial Port (COM2)
04: 1st RS-232 Serial Port (COM1)
05: Soundcard or 2nd Parallel Port (LPT2)
06: Floppy Disk Controller
07: 1st Parallel Port (LPT1)
08: Real Time Clock
09: Open Interrupt
10: Open Interrupt
11: Open Interrupt
12: PS2 Mouse
13: Maths Co-pro­cessor
14: Primary ATA Controller
15: Secondary ATA Controller
Found in /proc/­int­errupts
ATA contro­llers are marked as /dev/h­da,b,c or d

Hardware Settings - I/O and DMA Addresses

I/O Address: /proc/­ioports
DMA Address: /proc/dma

Software - Libraries

Library file location: /etc/l­d.s­o.conf
Library path setting: LD_LIB­RAR­Y_PATH
Command Syntax: export LD_LIB­RAR­Y_P­ATH­=[path]
Library Manage­ment: ldd -v /bin/bash
Library cache: /etc/l­d.s­o.cache
Library cache config: ldconfig
ldconfig -v (verbose)
ldconfig -N (update links)
ldconfig -n (update links in specified direct­ories)
ldconfig -X (update cache)
ldconfig -f (conffile use new config file)
ldconfig -C (cachefile change cachefile ldconfig creates))
ldconfig -p (display cache)
 

Hardware Settings - Boot Disks and Geometry

Boot Device: Floppy Disk
Boot Device: Hard Disk
Boot Device: CD-ROM
Boot Device: USB
CHS Geometry - Cylinder, Sectors, Heads
Logical Block Addressing (LBA)
Hotplug (USB, Camera)
Coldplug (Memory, CPU)
D-BUS: runs as daemon (hotplug) dmesg
hald: Hardware abstra­ction layer daemon
sysfs: Virtual file system mounted at /sys contains inform­ation on devices
udev: Virtual filesystem mounted at /dev Creates device files as drivers are loaded and unloaded. Configured through /etc/udev

Hardware Settings - Disk Layout

Master Boot Record (MBR) 4 x primary partitions of which one can be logical
0x0c (FAT)
0x05 (older type of extended partition)
0x07 (NTFS)
0x0f (newer type of extended partition)
0x82 (linux swap)
0x83 (linux filesy­stem)
0x8e (logical partition)
GUID Partition Table (GPT) Intel Bios Replac­ement
GPT - Reserved for disks bigger than 2TB
GPT data structure: Protective MBR/He­ade­r/P­art­ition Table
Logical Volume Management (LVM)(­Complex altern­ative to Partitions
LVM Utilities: pvcrea­te/­vgc­rea­te/­lvc­rea­te/­lvscan
LVM access: /dev/m­app­er/­myv­ol-home