you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 months ago* (last edited 3 months ago) (1 child)

As others have said, tab-complete should be able to do it. If not, here are two other options:

Is it the only "folder*" in the directory?

$  ls *folder*
‘folder’$‘003’

If you only have that, you should be able to use the wildcards to delete it:

rm *folder*

Another is just find the inode and delete using that:

$  ls -li | grep folder
5120013  .rw-rw-r-- user user  0 B  Fri Jun 19 21:09:02 2026 ‘folder’$‘003’

$ find . -inum 5120013 -delete
  • source
  • hideshow 1 child comment