LPI Part 1 Flashcards

1
Q

/etc/passwd

A

A colon-separated file that contains details about users, such as username, UID, password, and GID

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

/etc/shadow

A

Stores users passwords in encrypted format

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

/tmp

A

Stores temporary files and can be safely deleted during a reboot

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

/boot

A

Contains all of the installed kernels on your system and their needed drivers

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

Hard Link

A

The link is between the filename and the actual data stored on the filesystem

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

Symbolic Link (soft link)

A

A pointer to another file on the same or another filesystem; commonly referred to as a shortcut.

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

CRTL + SHIFT + C

A

Allows copying highlighted text while working in the command line terminal

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

which

A

Displays where executable files are within the system’s PATH

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

man -f

A

Display a concise one-line description of the command

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

man -k

A

Search for commands related to a given keyword

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

route

A

Used to show/manipulate the IP routing table

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

First Regular User UID

A

1000 and then increments from there

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

File Descriptor Number for Standard In (STDIN)

A

0

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

File Descriptor Number for Standard Out (STDOUT)

A

1

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

>

A

Standard output

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

«

A

Standard input that amends

16
Q

<

A

Standard input

17
Q

> >

A

Standard output that amends

18
Q

2>

A

Standard Error

19
Q

whereis

A

Used to find the location of source/binary file of a command and manuals sections for a specified file

20
Q

whatis

A

Used to get a one-line manual page description

21
Q

whois

A

A utility for retrieving information about a domain or an IP address

22
Q

UNIX device name for physical or virtual terminal connection

23
Q

Network interface always exist in linux

24
CD-ROM Filesystem
isofs
25
ps
Displays system processes
26
Root Group GID
0
27
dmesg
Displays kernel-related messages retrieved from the kernel ring buffer
28
id
Used to find out user and group names and numeric ID’s (UID or group ID) of the current user or any other user in the server
29
Sticky Bit
Restricts who can delete files in a directory. When set, only the user that owns, the user that owns the directory, or the root user can delete files within the directory
30
last
Displays the time of the last login of a given user
31
history
Used to display and clear the command line history for a given user
32
for loop syntax
for n in a b c; do echo $n done
33