[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fundsachen in HomeVZ: mit ls -l ?$2@ und mit echo: ^W$2@



Am Freitag, 17. Oktober 2003 12:31 schrieb Tim Boneko:
> Am Freitag, 17. Oktober 2003 04:36 schrieb Marius Oskandi:
> > > rm '\?\$\2\@'
>
> Habe ein ähnliches Problem: eine Datei in /lost+found
>
> timbo:/lost+found# ls -l
> total 12
> - -rw-r--r--    1 root     3328     33563268 Apr 14  2002 #96389
>
> Lässt sich auch wie oben beschrieben nicht löschen.
> Noch andere Ideen?

ja@rose:~/test> rm '#96'
_______________________________________
ja@rose:~/test> touch '#96'
ja@rose:~/test> l
insgesamt 8
-rw-r--r--    1 ja       users           0 2003-10-17 21:17 #96
drwxr-xr-x    2 ja       users        4096 2003-10-17 21:17 ./
drwxr-xr-x   13 ja       users        4096 2003-10-17 21:16 ../
ja@rose:~/test> rm '#96'
ja@rose:~/test> l
insgesamt 8
drwxr-xr-x    2 ja       users        4096 2003-10-17 21:17 ./
drwxr-xr-x   13 ja       users        4096 2003-10-17 21:16 ../
_______________________________________
ja@rose:~/test>
ja@rose:~/test> touch '#96'
ja@rose:~/test> l
insgesamt 8
-rw-r--r--    1 ja       users           0 2003-10-17 21:18 #96
drwxr-xr-x    2 ja       users        4096 2003-10-17 21:18 ./
drwxr-xr-x   13 ja       users        4096 2003-10-17 21:16 ../
ja@rose:~/test> rm '\#96'
rm: Entfernen von »\\#96« nicht möglich: Datei oder Verzeichnis nicht gefunden
ja@rose:~/test>
_______________________________________
Mit echo erst testen was passieren wuerde:
ja@rose:~/test> echo rm '\#96'
rm \#96
ja@rose:~/test> echo rm '#96'
rm #96
ja@rose:~/test>
# MfG Michael



Reply to: