ちょうどファイルを作成し、コンテンツでいっぱいになった場所に作成したプログラムを実行しました。ただし、名前の生成に問題が発生し(または少なくとも期待どおりに機能しない)、フォルダに「存在しない」ために削除できない4つのファイルがあります。
コマンドの出力は次のとおりです。
ls -li
:
ls: cannot access één: No such file or directory
ls: cannot access wetenschapÂpen.: No such file or directory
ls: cannot access verantwoorÂdelijk: No such file or directory
ls: cannot access woord wordt: No such file or directory
total 0
? -????????? ? ? ? ? ? één
? -????????? ? ? ? ? ? woord wordt
? -????????? ? ? ? ? ? verantwoorÂdelijk
? -????????? ? ? ? ? ? wetenschapÂpen.
rm -i -- *
:
rm: remove regular file `één'? y
rm: cannot remove `één': No such file or directory
rm: remove regular file `woord wordt'? y
rm: cannot remove `woord wordt': No such file or directory
rm: remove regular file `verantwoorÂdelijk'? y
rm: cannot remove `verantwoorÂdelijk': No such file or directory
rm: remove regular file `wetenschapÂpen.'? y
rm: cannot remove `wetenschapÂpen.': No such file or directory
rm -rf folder
:(「フォルダ」はファイルが配置されているフォルダです)
rm: cannot remove `folder': Directory not empty
find . -type f -delete
:(Uditha Desilvaの回答)
find: cannot delete `./één': No such file or directory
find: cannot delete `./wetenschapÂpen.': No such file or directory
find: cannot delete `./verantwoorÂdelijk': No such file or directory
find: cannot delete `./woord wordt': No such file or directory
strace -o out rm -f -- *
:アウトコンテンツ
このファイルをどのように削除できますか?
ちなみに、私はrootアクセス権を持っていないので、rootアクセスを必要としないオプションを好みます。
ベストアンサー1
UIから「ごみ箱に移動」でファイルを削除するだけです。その後、ごみ箱に移動し、そこから削除します。このプロセスは、Linuxシステムからファイルを永久に削除します。