How to cancel files with strange names Come cancellare i file con nomi strani
For Linux platforms only . Solo per piattaforme Linux. Often the command rm from the command-line does not help you to cancel a file that begins with the character – . Spesso, il comando rm da linea di comando non vi aiuteranno a cancellare un file che inizia con il carattere -. This happens because rm interprets the symbol – as the beginning of a flag(option) and so it does not execute it. Ciò accade perché rm interpreta il simbolo – come l'inizio di una bandiera (opzione), e quindi non eseguirlo. In this case like in many others where the files name begin with characters like *, &, | , the best way to resolve this problem is to use rm in the following way; In questo caso come in molti altri, in cui il nome file iniziano con caratteri come *, &, |, il modo migliore per risolvere questo problema è quello di usare rm nel modo seguente;
rm — – file_name Rm nome_file –
The flag“ indicates the name of the file in commas. La bandiera "indica il nome del file di virgole. An alternative could be to specify the complete path of the file to cancel, for example rm /home/kanute/-gray.jpg Un'alternativa potrebbe essere quella di specificare il percorso completo del file di annullare, per esempio rm / home kanute / – gray.jpg
Language Lingua
Language Lingua
Kabatology ~ Open Source, Linux Kabatology ~ Open Source e Linux
Practical hand-outs on Open Source Standards, Reviews, Linux Solutions including Hacks, Tips & Tricks Pratiche mano anzitempo su Open Source Standards, Recensioni, Soluzioni Linux compreso Hacks, Tips & Tricks
How to cancel files with strange names Come cancellare i file con nomi strani
For Linux platforms only . Solo per piattaforme Linux. Often the command rm from the command-line does not help you to cancel a file that begins with the character – . Spesso, il comando rm da linea di comando non vi aiuteranno a cancellare un file che inizia con il carattere -. This happens because rm interprets the symbol – as the beginning of a flag(option) and so it does not execute it. Ciò accade perché rm interpreta il simbolo – come l'inizio di una bandiera (opzione), e quindi non eseguirlo. In this case like in many others where the files name begin with characters like *, &, | , the best way to resolve this problem is to use rm in the following way; In questo caso come in molti altri, in cui il nome file iniziano con caratteri come *, &, |, il modo migliore per risolvere questo problema è quello di usare rm nel modo seguente;
rm — – file_name Rm nome_file –
The flag“ indicates the name of the file in commas. La bandiera "indica il nome del file di virgole. An alternative could be to specify the complete path of the file to cancel, for example rm /home/kanute/-gray.jpg Un'alternativa potrebbe essere quella di specificare il percorso completo del file di annullare, per esempio rm / home kanute / – gray.jpg
