10 Nov
2004
10 Nov
'04
19:02
Hylton Conacher (ZR1HPC) wrote:
Hi,
On some occasions I have had to type a very long command that is not in the history file or access multiple file with a common character.
ie files aa, ab, ac, ad, ae, af
What character could I use to simulate wild cards similar to the DOS * ie
$> cp /home/a* /home/hylton/
appreciated
Is there any reason * won't work for you here? * matches 0 or more characters. Ie, a* would match a, ab, abc, and abcd. ? matches 1 character. Ie, a? would match ab, ac, aa, etc, but not a, abc or abcd. You might do a google search for "linux glob" for more information. Steve