Commands Flashcards

1
Q

Pwd

A

To know which directory you are in, you can use

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

Ls

A

command to know what files are in the directory you are in

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

cd

A

Use the “cd” command to go to a directory

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

mkdir

A

Use the mkdir command when you need to create a folder or a directory

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

rmdir

A

Use rmdir to delete a directory. But rmdir can only be used to delete an empty directory.

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

rm

A

Use the rm command to delete files and directories

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

touch

A

used to create a file

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

cp

A

to copy files through the command line

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

locate

A

is used to locate a file in a Linux system

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