Globbing Flashcards

1
Q

*

A

matches zero or more characters, i.e. ls *.txt

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

?

A

matches any single character, i.e. ls?.txt

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

[abc]

A

matches any one of the character except those in the list, case sensitive.
i.e. ls [Pp].csv, [p].csv

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

[^abc]

A

matches any one character except those in the list, case sensitive.
i.e. ls [^WtT]*

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

[0-9]

A

matches a range or numbers

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