I’m not a stranger to the rm command. I’ve used it many times to remove files. But I’ve just come across a weird situation when I tried to remove hidden files, using wildcards. The hidden files remain. Is there some special option that I don’t know about when trying to remove hidden files?
That one does remove the hidden files, but as mentioned you then have to run the command again (without a period) to get rid of non-hidden files. I’m fairly sure in the past on another distro that wasn’t necessary, and the use of one wildcard got rid of both, otherwise I’d have picked up on this long before now.
reminder if newbie are testing this commands..
be careful of using rm -rf as miss typing it will ruin your day.. much better to use graphical way of removing/deleting items. Just open your file manager set to view hidden item and run it in admin/root mode to delete.