LPI 101
Arquitetura do sistema (System architecture) Instalação e gerenciamento de pacotes (Linux installation and package management) Comandos GNU e UNIX (GNU and UNIX commands) Dispositivos, Sistemas de arquivos do Linux e o Padrão FHS (Devices, Linux Filesystems, Filesystem Hierarchy Standard)
1. Arquitetura do sistema (System architecture)
1 - Hardware - determinar e configurar (Determine and configure hardware settings) Priority 3
  • Enable and disable integrated peripherals.
  • Configure systems with or without external peripherals such as keyboards.
  • Differentiate between the various types of mass storage devices.
  • Set the correct hardware ID for different devices, especially the boot device.
  • Know the differences between coldplug and hotplug devices.
  • Determine hardware resources for devices.
  • Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.)
  • Tools and utilities to manipulate USB devices
  • Conceptual understanding of sysfs, udev, hald, dbus
1 - /sys
2 - /proc
3 - /dev
4 - modprobe
5 - lsmod
6 - lspci
7 - lsusb
2 - Sistema de inicialização (Boot the system) Priority 2
  • Provide common commands to the boot loader and options to the kernel at boot time.
  • Demonstrate knowledge of the boot sequence from BIOS to boot completion.
  • Check boot events in the log files.
8 - /var/log/messages
9 - dmesg
10 - BIOS
11 - bootloader
12 - kernel
13 - init
3 - Alterando os niveis de execução e desligando ou reiniciando o sistema (Change runlevels and shutdown or reboot system) Priority 2
  • Set the default runlevel.
  • Change between run levels including single user mode.
  • Shutdown and reboot from the command line.
  • Alert users before switching runlevels or other major system event.
  • Properly terminate processes.
14 - /etc/inittab
15 - shutdown
16 - init
17 - /etc/init.d
18 - /telinit
2. Instalação e gerenciamento de pacotes (Linux installation and package management)
4 - Hard Disk - Layout (Design Hard Disk layout) Priority 3
  • Allocate filesystems and swap space to separate partitions or disks.
  • Tailor the design to the intended use of the system.
  • Ensure the /boot partition conforms to the hardware architecture requirements for booting.
19 - /(root) filesystem
20 - /var filesystem
21 - /home filesystem
22 - swap space
23 - mount points
24 - partitions
5 - Instalando o gerenciados de inicialização (Install a Boot Manager) Priority 3
  • Providing alternative boot locations and backup boot options.
  • Install and configure a boot loader such as GRUB.
  • Interact with the boot loader.
25 - /boot/grub/menu.lst
26 - grub-install
27 - mbr
28 - superblock
29 - /etc/lilo.conf
30 - lilo
6 - Gerenciando as bibliotecas compartilhadas (Manage shared libraries) Priority 4
  • Identify shared libraries.
  • Identify the typical locations of system libraries.
  • Load shared libraries.
31 - ldd
32 - ldconfig
33 - /etc/ld.so.conf
34 - LD_LIBRARY_PATH
7 - Usando o gerenciador de pacotes do Debian (Use Debian package management) Priority 2
  • Install, upgrade and uninstall Debian binary packages.
  • Find packages containing specific files or libraries which may or may not be installed.
  • Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed).
35 - /etc/apt/sources.list
36 - dpkg
37 - dpkg-reconfigure
38 - apt-get
39 - apt-cache
40 - aptitude
8 - Usando o gerenciador de pacotes RPM e YUM (Use RPM and YUM package management) Priority 2
  • Install, re-install, upgrade and remove packages using RPM and YUM.
  • Obtain information on RPM packages such as version, status, dependencies, integrity and signatures.
  • Determine what files a package provides, as well as find which package a specific file comes from.
41 - rpm
42 - rpm2cpio
43 - /etc/yum.conf
44 - /etc/yum.repos.d/
45 - yum
46 - yumdownloader
3. Comandos GNU e UNIX (GNU and UNIX commands)
9 - Trabalhando na linha de comando (Work on the command line) Priority 1
  • Use single shell commands and one line command sequences to perform basic tasks on the command line.
  • Use and modify the shell environment including defining, referencing and exporting environment variables.
  • Use and edit command history.
  • Invoke commands inside and outside the defined path.
47 - .
48 - bash
49 - echo
50 - env
51 - exec
52 - export
53 - pwd
54 - set
55 - unset
56 - man
57 - uname
58 - history
10 - Processando texto usando filtros (Process text streams using filters) Priority 2
  • Send text files and output streams through text utility filters to modify the output using standard UNIX commands found in the GNU textutils package.
59 - cat
60 - cut
61 - expand
62 - fmt
63 - head
64 - od
65 - join
66 - nl
67 - paste
68 - pr
69 - sed
70 - sort
71 - split
72 - tail
73 - tr
74 - unexpand
75 - uniq
76 - wc
11 - Realizando gerenciamento basico de arquivos (Perform basic file management) Priority 1
  • Copy, move and remove files and directories individually.
  • Copy multiple files and directories recursively.
  • Remove files and directories recursively.
  • Use simple and advanced wildcard specifications in commands.
  • Using find to locate and act on files based on type, size, or time.
  • Usage of tar, cpio and dd.
77 - cp
78 - find
79 - mkdir
80 - mv
81 - ls
82 - rm
83 - rmdir
84 - touch
85 - tar
86 - cpio
87 - dd
88 - file
89 - gzip
90 - gunzip
91 - bzip2
92 - file globbing
12 - Usando streams, pipes e redirects (Use streams, pipes and redirects) Priority 1
  • Redirecting standard input, standard output and standard error.
  • Pipe the output of one command to the input of another command.
  • Use the output of one command as arguments to another command.
  • Send output to both stdout and a file.
93 - tee
94 - xargs
13 - Criando, monitorando e finalizando processos (Create, monitor and kill processes) Priority 1
  • Run jobs in the foreground and background.
  • Signal a program to continue running after logout.
  • Monitor active processes.
  • Select and sort processes for display.
  • Send signals to processes.
1 - &
2 - bg
3 - fg
4 - jobs
5 - kill
6 - nohup
7 - ps
8 - top
9 - free
10 - uptime
11 - killall
14 - Modificando a prioridade na execução dos processos (Modify process execution priorities) Priority 3
  • Know the default priority of a job that is created.
  • Run a program with higher or lower priority than the default..
  • Change the priority of a running process.
12 - nice
13 - ps
14 - renice
15 - top
15 - Fazendo busca em arquivos de texto usando expressões regulares (Search text files using regular expressions) Priority 3
  • Create simple regular expressions containing several notational elements.
  • Use regular expression tools to perform searches through a filesystem or file content.
16 - grep
17 - egrep
18 - fgrep
19 - sed
20 - regex(7)
16 - Executando operações de edição basica em arquivos usando o vi (Perform basic file editing operations using vi) Priority 2
  • Navigate a document using vi.
  • Use basic vi modes.
  • Insert, edit, delete, copy and find text.
21 - vi
22 - /,?
23 - h,j,k,l
24 - i,o,a
25 - c,d,p,y,dd,yy
26 - ZZ, :w!, :q!, :e!
4. Dispositivos, Sistemas de arquivos do Linux e o Padrão FHS (Devices, Linux Filesystems, Filesystem Hierarchy Standard)
17 - Criando partições e sistema de arquivos (Create partitions and filesystems) Priority 3
  • Use various mkfs commands to set up partitions and create various filesystems such as: ext2, ext3, xfs, reiserfs v3, vfat .
27 - ext2
28 - ext3
29 - xfs
30 - reiserfs v3
31 - vfat
32 - fdisk
33 - mkfs
34 - mkswap
18 - Mantendo a integridade do sistema de arquivos (Maintain the integrity of filesystems) Priority 3
  • Verify the integrity of filesystems.
  • Monitor free space and inodes.
  • Repair simple filesystem problems.
35 - du
36 - df
37 - fsck
38 - e2fsck
39 - mke2fs
40 - debugfs
41 - dumpe2fs
42 - tune2fs
43 - xfs tools (xfs_metadump, xfs_info)
19 - Montando e desmontando o sistema de arquivos (Control mounting and unmonting of filesystem) Priority 2
  • Manually mount and unmount filesystems.
  • Configure filesystem mounting on bootup.
  • Configure user mountable removeable filesystems.
44 - etc/fstab
45 - /media
46 - mount
47 - umount
20 - Gerenciando as cotas de disco (Manage disk quotas) Priority 4
  • Set up a disk quota for a filesystem.
  • Edit, check and generate user quota reports.
48 - quota
49 - edquota
50 - repquota
51 - quotaon
21 - Gerenciando permissões e propriedade nos arquivos (Manage file permissions and ownership) Priority 2
  • Manage access permissions on regular and special files as well as directories.
  • Use access modes such as suid, sgid and the sticky bit to maintain security.
  • Know how to change the file creation mask.
  • Use the group field to grant file access to group members.
52 - chmod
53 - umask
54 - chown
55 - chgrp
22 - Criando e alterando links (Create and change hard and symbolic links) Priority 3
  • Create links.
  • Identify hard and/or softlinks.
  • Copying versus linking files.
  • Use links to support system administration tasks.
56 - ln
23 - Localizando arquivos do sistema e colocando os mesmos no local correto(Find system files and place files in the correct location) Priority 3
  • Understand the correct locations of files under the FHS.
  • Find files and commands on a Linux system.
    • Know the location and propose of impotant file and directories as defind in the FHS.
57 - find
58 - locate
59 - updatedb
60 - whereis
61 - wich
62 - type
63 - /etc/updatedb.conf