Cheatography
https://cheatography.com
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-processor |
14: Primary ATA Controller |
15: Secondary ATA Controller |
Found in /proc/interrupts |
ATA controllers are marked as /dev/hda,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/ld.so.conf |
Library path setting: LD_LIBRARY_PATH |
Command Syntax: export LD_LIBRARY_PATH=[path] |
Library Management: ldd -v /bin/bash |
Library cache: /etc/ld.so.cache |
Library cache config: ldconfig |
ldconfig -v (verbose) |
ldconfig -N (update links) |
ldconfig -n (update links in specified directories) |
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 abstraction layer daemon |
sysfs: Virtual file system mounted at /sys contains information 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 filesystem) |
0x8e (logical partition) |
GUID Partition Table (GPT) Intel Bios Replacement |
GPT - Reserved for disks bigger than 2TB |
GPT data structure: Protective MBR/Header/Partition Table |
Logical Volume Management (LVM)(Complex alternative to Partitions |
LVM Utilities: pvcreate/vgcreate/lvcreate/lvscan |
LVM access: /dev/mapper/myvol-home |
|
|
|