I need to test script that deletes stale NFS file handles, so I would like to prepare a sample. Which way is simplest? Thanks.
Here is a super-hacky way that I do it.
in 1 terminal
vim tmp.tmp
in a second terminal
rm -f tmp.tmp.swp
This should generate a .nfs##### file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With