sponge

All posts tagged sponge by Linux Bash
  • Posted on
    Featured Image
    This blog explains how to overwrite a Linux file without changing its inode using the `sponge` command from `moreutils`. By absorbing input before rewriting, `sponge` allows content update without inode alteration. This is crucial for applications tracking files by inode numbers, ensuring changes like configuration updates don't require system restarts. Installation steps for `moreutils` are also provided.