Jean-Luc Jeanneau wrote:
> Bonjour,
>
> Comment pourrais-je effacer un fichier qui s'apelle -M
> depuis une console ?
>
> [jeanluc@pingu jeanluc]$ ls -lai
> 125033 -rw-rw-r-- 1 jeanluc users 4 jui 5 12:43 -M
>
> rm "-M" : non
> rm "\-M" : non
> rm '-M' : non
> rm '\-M' : non
> rm -inode=125033 :C'est c'que j'voudrais
C'est un peu brute mais ca marche..
[bloechli@mapc77 ~/temp]$ ls
-a
[bloechli@mapc77 ~/temp]$ perl
unlink("-a")
[bloechli@mapc77 ~/temp]$ ls
[bloechli@mapc77 ~/temp]$
Have a lot of fun!
Ivo
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.