rm Flashcards

1
Q

-d or –dir

A

Can be used to be remove directories if they are empty

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

-f or –force

A

Removes the warning for no such file or directory and ignores -i

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

-i

A

Asks if you want to remove the file or directory, if no then it just skips over that file/directory. Equivalent to –interactive=always

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

-I

A

If there is more than 3 files/directories to be deleted then it will ask you if you want them deleted. Ignores any previous -f option. Equivalent to –interactive=once

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

–interactive=never

A

Don’t ever ask me if I want permission to delete file/directory

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

–interactive=once

A

Asks me for permission once to delete if there are more than 3 files/directory to be deleted. Equivalent to -I

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

–interactive=always

A

Ask me for permission to delete each file/directory

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

–interactive

A

With no when is equivalent to –interactive=always

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

–one-file-system

A

Only delete files from the same file system or hard drives

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

–preserve-root[=all]

A

Do not delete the root directory of the whole computer. This is one by default at all times

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

–no-preserve-root

A

How to fuck up your life. Will allow you to delete everything on computer. DO NOT USE.

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

-r, –R or –recursive

A

Will keep deleting directories and files until all are deleted

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

-v, –verbose

A
  • Tells you the files/directories it will be removing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly