LPIC-1-Exam 101 - Terms and Utilities Flashcards

1
Q

/sys

A

virtual file system which stores and allows modification of system connected devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

/proc

A

virtual file system with text files showing kernel and process status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

/dev

A

contains files that represent devices (device nodes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

modprobe

A

program to add and remove modules from the Linux Kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

lsmod

A

program to show the status of modules in the Linux Kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

lspci

A

list all PCI devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

/var/log/messages

A

system log (On Ubuntu it’s /var/log/syslog)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

dmesg

A

print or control the kernel ring buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

BIOS

A

Basic Input Output System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

bootloader

A

a program that loads an operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

kernel

A

the code between the hardware and applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

/etc/inittab

A

config file that controls what happens on a restart or when the run levels are force changed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

shutdown

A

bring the system down

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

init

A

program that spawns other processes (Replaced with upstart in Ubuntu)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

/etc/init.d

A

where traditional sysvinit scripts and upstart backward compatible scripts reside

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

telinit

A

change system runlevel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

/ (root) filesystem

A

base level of the files system directory tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

/var filesystem

A

location of often changing files (such as database files)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

/home filesystem

A

location of user home directories

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

swap space

A

drive space used as slow virtual memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

mount point

A

directory entry point to other mounted storage volumes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

partitions

A

a logical storage unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

/boot/grub/menu.lst

A

config file that determines which kernel GRUB boots

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

grub-install

A

install GRUB to a device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
MBR
Master Boot Record
26
superblock
file system blocks that contain info like: file system type, status, size, and other info
27
/etc/lilo.conf
config file for LILO boot loader (alternative to GRUB)
28
lilo
LInux LOader (boot loader)
29
ldd
print shared library dependencies
30
ldconfig
configure dynamic linker run-time bindings
31
/etc/ld.so.conf
config file that dictates where to search for libraries (colon, space, newline, tab, or comma-separated)
32
LD_LIBRARY_PATH
: separated list of paths used by the linker to resolve ELF executable dependencies during run-time
33
/etc/apt/sources.list
list used by Apt to determine where to get package info and packages
34
dpkg
package manager for Debian
35
dpkg-reconfigure
reconfigure an already installed package
36
apt-get
APT package handling utility - - command-line interface
37
apt-cache
query the APT cache
38
aptitude
high-level interface to the package manager
39
rpm
file(s) in the Red Hat Package Manager format
40
rpm2cpio
converts a RPM package files into a cpio archive
41
/etc/yum.conf
config file for YUM package manager
42
/etc/yum.repos.d/
config file that stores all the YUM repositories
43
yum
Yellowdog Updater Modified package management utility for RPM based systems
44
yumdownloader
a program for downloading files from YUM repositories
45
.
represents the current working directory
46
bash
GNU Bourne-Again SHell
47
echo
display a line of text
48
env
run a program in a modified environment
49
exec
execute a file
50
export
makes variables available to all child processes of the running shell or script
51
pwd
print name of current/working directory
52
set
reads and writes variables
53
unset
deletes variables
54
man
an interface to the on-line reference manuals
55
uname
print system information
56
history
GNU History Library
57
cat
concatenate files and print on the standard output
58
cut
remove sections from each line of files
59
expand
convert tabs to spaces
60
fmt
simple optimal text formatter
61
head
output the first part of files
62
od
dump files in octal and other formats
63
join
join lines of two files on a common field
64
nl
number lines of files
65
paste
merge lines of files
66
pr
convert text files for printing
67
sed
stream editor for filtering and transforming text
68
sort
sort lines of text files
69
split
split a file into pieces
70
tail
output the last part of files
71
tr
translate or delete characters
72
unexpand
convert spaces to tabs
73
uniq
report or omit repeated lines
74
wc
print newline, word, and byte counts for each file
75
cp
copy files and directories
76
find
search for files in a directory hierarchy
77
mkdir
make directories
78
mv
move (rename) files
79
ls
list directory contents
80
rm
remove files or directories
81
rmdir
remove empty directories
82
touch
change file timestamps
83
tar
The GNU version of the tar archiving utility
84
cpio
copy files to and from archives
85
dd
convert and copy a file
86
file
determine file type
87
gzip
compress or expand files
88
gunzip
compress or expand files
89
bzip2
a block-sorting file compressor
90
file globbing
use of wildcards (filename generation by the shell)
91
tee
duplicating pipe content
92
xargs
build and execute command lines from standard input
93
&
sends a process to the background
94
bg
sends a process to the background
95
fg
sends a process to the foreground
96
jobs
lists background processes
97
kill
send a signal to a process
98
nohup
run a command immune to hangups, with output to a non-tty
99
ps
report a snapshot of the current processes
100
top
display Linux tasks
101
free
Display amount of free and used memory in the system
102
uptime
Tell how long the system has been running
103
killall
kill processes by name
104
nice
run a program with modified scheduling priority
105
ps
report a snapshot of the current processes
106
renice
alter priority of running processes
107
top
display Linux tasks
108
grep
print lines matching a pattern
109
egrep
print lines matching a pattern
110
fgrep
print lines matching a pattern
111
sed
stream editor for filtering and transforming text
112
regex(7)
POSIX.2 regular expressions
113
vi
Vi IMproved, a programmers text editor
114
/, ?
In vim, / is forward search, ? is backward search
115
h,j,k,l
In vim command mode, h moves left, j moves down, k moves up, l move right
116
i, o, a
In vim, i, o a change from command mode to insert mode
117
c, d, p, y, dd, yy
In vim, c is change command, d is delete command, p is paste after current cursor position, y is yank command, dd is cut the current line, yy is copy the current line
118
ZZ, :w!, :q!, :e!
In vim, ZZ saves & quits, w! writes changes & overwrites read-only files q! quits w/o saving, e! restarts editing a file with discarded changes
119
fdisk
manipulate disk partition table
120
mkfs
build a Linux filesystem
121
mkswap
set up a Linux swap area
122
du
estimate file space usage
123
df
report file system disk space usage
124
fsck
check and repair a Linux filesystem
125
e2fsck
check a Linux ext2/ext3/ext4 file system
126
mke2fs
create an ext2/ext3/ext4 filesystem
127
debugfs
ext2/ext3/ext4 file system debugger
128
dumpe2fs
dump ext2/ext3/ext4 filesystem information
129
tune2fs
adjust tunable filesystem parameters on ext2/ext3/ext4 fil...
130
xfs tools
xfs filesystem utilites
131
/etc/fstab
config file containing the file system table
132
/media
directory containing auto mounted devices
133
mount
mount a filesystem
134
umount
unmount file systems
135
quota
shows disk usage and space permitted for a specific user or group
136
edquota
edits user file system quotas
137
repquota
summarizes file system quotas
138
quotaon
turns file system quotas ON
139
chmod
change permissions of a file
140
umask
set file mode creation mask
141
chown
change ownership of a file
142
chgrp
change group ownership
143
ln
make links between files
144
find
search for files in a directory hierarchy
145
locate
find files by name
146
updatedb
update a database for mlocate
147
whereis
locate the binary, source, and manual page files for a com...
148
which
locate a command
149
type
identifies if a command, is a built-in command, an alias, or a command installed in your PC
150
/etc/updatedb.conf
updatedb is a config file used to update a database for mlocate