Glodding Flashcards
Learn different types of globbing expressions (a.k.a regex)
1
Q
*
A
Matches any string of zero or more charaters
2
Q
?
A
Matches any single charater
3
Q
~
A
The current user’s home directory
4
Q
~ username
A
The home directory of ‘username’
5
Q
~+
A
The current working directory
6
Q
~-
A
The previous working directory
7
Q
[ abc… ]
A
Any one character in the enclosed class
8
Q
[! abc…]
A
Any one character not in the enclosed class
9
Q
[^ abc… ]
A
Any one character not in the enclosed class
10
Q
[[:alpha:]]
A
Any alphabetic charater
11
Q
[[:lower:]]
A
Any lower-case charater
12
Q
[[:upper:]]
A
Any upper-case charater
13
Q
[[:alnum:]]
A
Any alphabetic or numeric charater
14
Q
[[:punct:]]
A
Any printable character that is not a space or alphabetic
15
Q
[[:digit:]]
A
Any digit 0-9