I would like to add a command to be run at startup from within a shell script.
For example, I run the script once and it adds the cron job, so from that time on, each time the OS starts, a specific program is started.
More specific, I'd need xbindkeys
to run on startup and this to be done by a one-time running script.
So far I think this line would do the work:
@reboot xbindkeys
(xbindkeys
is in PATH)
How could I add this job from a script?