Jump to content
Science Forums

Rm Is Funny :-)


Recommended Posts

LOL, I was trying out to link a directory so I did

 

[email protected]??? ln -s convert_tries/ link2convert

 

Seen that it works then I wanted to remove the link and what I did is:

 

[email protected]??? ~> rm -r link2convert/

rm: cannot remove directory `link2convert/': Not a directory

[email protected]??? ~> rm link2convert/

rm: cannot remove `link2convert/': Is a directory

 

 

Actually I thought it is only fun, but now I wonder how do I delete the link only, with rm link2convert/* ? Or does that actually delete the conent of convert_tries/ ?

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...