richielky

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021
08:26 AM
- 1,522 Views
Create Wrong Folder Name Label ‘~’ in /
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?
1 Reply


Starfighter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021
10:21 AM
- 1,518 Views
Hello
Try to use back slash \~
To avoid any issue try at first something like : ls \~ or rmdir \~
only at last rm -rf \~
Join the discussion
You must log in to join this conversation.