| Author |
Terminal QOD for 12-7-03
|
|
| Boulware5 2003-12-07, 9:13 pm |
| The command ls *[1-32]would return which of the following files? (choose all that apply)
a. report1
b. report2
c. report22
d. report0
e. report32
f. report33
g. report64 | |
| prezbedard 2003-12-07, 10:17 pm |
| a. report1
b. report2
c. report22
e. report32
f. report33 | |
| Tarzanboy 2003-12-07, 11:21 pm |
| I agree with Prez...
Cheers,
TB | |
| Papiya 2003-12-08, 7:56 am |
| Ditto. | |
| mindmesh 2003-12-08, 9:52 am |
| Why the Report33?
Forget it.. Figured it out.. Duh!!  | |
| Papiya 2003-12-08, 9:56 am |
| The ls *[1-32] indicates a rande of any number between 1 and 32 any *single* number. Since the glob looks at any number of characters followed by a single character between 1 and 32, any string with a 3 in it (as it is within the range) would be matched. | |
| Boulware5 2003-12-09, 8:52 pm |
| report1 report2 report22 report32 report33
Good job! | |
|
|
| Boulware5 2003-12-09, 11:21 pm |
| heh now Prez is cocky and thinks he's a Linux guru.  | |
|
|
|
|