Glodding Flashcards

Learn different types of globbing expressions (a.k.a regex)

1
Q

*

A

Matches any string of zero or more charaters

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

?

A

Matches any single charater

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

~

A

The current user’s home directory

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

~ username

A

The home directory of ‘username’

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

~+

A

The current working directory

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

~-

A

The previous working directory

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

[ abc… ]

A

Any one character in the enclosed class

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

[! abc…]

A

Any one character not in the enclosed class

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

[^ abc… ]

A

Any one character not in the enclosed class

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

[[:alpha:]]

A

Any alphabetic charater

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

[[:lower:]]

A

Any lower-case charater

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

[[:upper:]]

A

Any upper-case charater

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

[[:alnum:]]

A

Any alphabetic or numeric charater

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

[[:punct:]]

A

Any printable character that is not a space or alphabetic

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

[[:digit:]]

A

Any digit 0-9

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

[[:space:]]

A

Any one white space character; may include tabs, newline, or carriage returns, and form feeds as well as white spaces.