I accidently made a link and can't delete that:
big:~# ls -al
total 88
lrwxrwxrwx 1 root root 27 May 28 18:10 -> /etc/apache2/ssl/apache.pem
drwx------ 8 root root 4096 May 29 01:45 .
drwxr-xr-x 23 root root 4096 May 27 04:50 ..
drwxr-xr-x 2 root root 4096 Apr 18 19:26 backup_big
I don't wonna do experiments with "rm" :-D
In bash you can do this:
and replace
echo
byrm
(and delete the x) when you are convinced that it works.If this is GNU:
Or with find:
and replace
-exec ...
with-delete
(or thels -l
withrm
).Or you rename it (
mv
instead ofrm
) in one of these ways and delete is manually afterwards.