Reputation: 24248
I need to test script that deletes stale NFS file handles, so I would like to prepare a sample. Which way is simplest? Thanks.
Upvotes: 3
Views: 2287
Reputation: 1193
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.
Upvotes: 3