cancel
Showing results for 
Search instead for 
Did you mean: 
richielky
Mission Specialist
Mission Specialist
  • 173 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?

Labels (1)
0 Kudos
1 Reply
Alexandre
Starfighter Starfighter
Starfighter
  • 169 Views

Re: Create Wrong Folder Name Label ‘~’ in /

Hello

Try to use   back slash    \~ 

To avoid any issue try at first something like :    ls \~   or rmdir \~

only at last    rm -rf \~

Reply
Loading...
Join the discussion
You must log in to join this conversation.