4 ms·
sed -i alone overwrites a soft or hard link with the contents of the file.
by ttyprintk 5y ago
sed -i alone overwrites a soft or hard link with the contents of the file.
- 1vuio0pswjnm7 5y ago-i creates a temporary file and then replaces the original with the temporary. The BSD man page advises not to use -i alone because if there is insufficient space to store the temporary, data may be lost.