Manage Files from the Command Line Flashcards

1
Q

What is the root or start of filesystem?

A

/

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

What does /etc stand for?

A

Extended Text Configuration

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

What directory stores files to start boot process?

A

/boot

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

What directory stores special device files that the system uses to access hardware?

A

/dev

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

What directory stores System-specific configuration files?

A

/etc

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

What directory do regular users store their data and configuration files?

A

/home

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

What directory is for administrative superusers, or root?

A

/root

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

What directory is a world-writable space for temporary files?

A

/tmp

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

What directory contains installed software, shared libraries, files, and readonly program data?

A

/usr

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

What are significant subdirectories in the /usr directory?

A

/usr/bin (Binaries): User commands
/usr/sbin (System Binaries): System administrations commands
/usr/local: Locally customized software

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

What directory contains system-specific variable data including databases, cache directories, log files, etc?

A

/var

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

What path represents the first Virtual Disk?

A

/dev/vda

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

What does an INODE contain?

A

Ownership, permissions, date & time stamps, and paths to data blocks.

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

Which expansion can generate multiple strings of characters?

A

Brace Expansion
echo file{1..3}.txt

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

Which expansion expands a path to a user home directory?

A

Tilde expansion
echo ~root

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

Which expansion replaces text with the value that is stored in a shell variable?

A

Variable expansion
VARIABLENAME=value

17
Q

Which expansion replaces text with the output of a command?

A

Command substitution
echo Today is $(date +%A)

18
Q

Which expansion helps to select one or more files by pattern matching?

A

Pathname expansion
ls *a

19
Q

What pattern matching matches file names that aren’t the specified character?

A

[!x]*

20
Q
A