this post was submitted on 24 Jan 2025
        
      847 points (96.5% liked)
      Microblog Memes
    9556 readers
  
      
      4258 users here now
      A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
Rules:
- Please put at least one word relevant to the post in the post title.
 - Be nice.
 - No advertising, brand promotion or guerilla marketing.
 - Posters are encouraged to link to the toot or tweet etc in the description of posts.
 
Related communities:
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
          
          
How do you move a file after deletion? I need to know this black magic.
Well first off, through ~~God~~ Linux, all things are possible. You can have multiple hard links to a file, where a given hard link is deleted, but you can still manipulate the file through any other other links. Alternately, you can open a file, and while you have a valid open file descriptor, delete the file. The file descriptor is still valid until you close the file though, so you can still save (thus move) it to a new location.
Windows locks files when you open them, preventing these kinds of shenanigans.
Yeah, Linux really does give you a gun and lets you point it at your foot if you want to, huh? I say this with the fondness and trepidation of someone who isn't a Linux noob, but also no pro (yet)