I have a file which is created while running a certain task. I want to remove this file (if exist) on every fresh reboot. Can I use Startup applictions in ubuntu to remove this file.
example like this
rm -f $HOME/filename
Is this the right(without crashing my computer) way to remove a file on startup