1.2 Flashcards

1
Q

files and directories are___, can be upper and lower case______. the _ is not necessary but can be helpful.

A

case sensitive / letters / (.)

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

Linux directories are arranged hierarchically as ______ and ___________ directories

A

parent and child

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

root directory does not have a parent directory and is represented by a single ___

A

/

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

cd..

A

change to parent directory

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

cd../..

A

Change two levels up

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

cd/

A

changes to root directory

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

cd directory1

A

changes to a directory named directory1 within the current working directory

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

cd/home/Fred/directory1

A

switches to directory1in Fred’s home directory

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

ls -a

A

displays all directory content

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

ls -l

A

displays extended information including owner, modified date, size, and permissions

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

ls -R

A

lists contents of the directories and all of its subcategories

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

ls -d

A

displays direcotries but not files

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

ls -r

A

reverses the sort order

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

pwd

A

displays the current working direcotory

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

mkdir

A

creates a new directory

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