Managing Files and Directories Flashcards

1
Q

cd

A

Changes the current directory.

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

chmod

A

Changes file permissions.

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

chown

A

Changes file owner and group.

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

cp

A

Copies files.

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

ln

A

Creates symbolic links to files and directories.

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

ls

A

Displays the contents of a directory.

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

mkdir

A

Creates a directory.

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

mv

A

Renames a file as well as moves a file from one directory to another.

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

rm

A

Deletes files.

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

rmdir

A

Deletes directories.

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

pwd

A

Displays the current directory.

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

touch

A

Updates a file’s time stamp.

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

find

A

Finds files based on specified criteria such as name, size, and so on.

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

locate

A

Finds files using a periodically updated filename database (the database is created by the updatedb program).

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

whereis

A

Finds files based in the typical directories where executable (also known as binary) files are located.

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

which

A

Finds files in the directories listed in the PATH environment variable.