First, the users have to include the alias (or shell function) in their .bashrc;
Ah, I thought there was a file like /etc/profile for per-interactive-shell startup.
Finally, it works reliably only if the user consistently uses cp to copy the file
Which is what the OP asked.
In reply to Re^3: How to let perl knows if somebody copies a file
by ikegami
in thread How to let perl knows if somebody copies a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |