You can try something less dangerous:
nohup cd /; find * >/dev/null 2>&1 &
I get this:
nohup: ignoring input and appending output to `nohup.out' nohup: cannot run command `cd': No such file or directory [2] 16668
So, the nohup part does nothing, it causes only an error. The second part (the original script) tries to delete everything in your current directory and cannot be stopped on Ctrl-C because it works in the background. All its output is redirected to void, so you do not see messages about missed accesses.
choroba
source share