If we accidentally create a wrong folder name label as ‘~’ in / as a root user, how can we remove them safely?
If we issue a # rm –fr ~ will it remove the whole of ‘/home/root’ folder?
Hello
Try to use back slash \~
To avoid any issue try at first something like : ls \~ or rmdir \~
only at last rm -rf \~
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.