/home/karl
On 05/11/2010 07:42 PM, terry wrote:
>
>> $ sudo rm -R *
>>
>>
> --------> what does ' * ' mean .... yes? i didn't see it in man rm. -r
> ,-R ,---recursive , all mean the same?
>
>
The * is UNIX shell file glob pattern, and not part of the "rm" command
at all. rm will only see a list of files.
http://en.wikipedia.org/wiki/Glob_(programming)
The shell expands the glob pattern into some number of filenames
depending on which files match the pattern relative to your working
directory.
"echo *" will echo the files which match the glob pattern.
-rei
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|