It arose from the situation when I wanted to run a script on every time the system starts.
I noticed that there are a number of places such as init.d
, rc.local
, bash_profile
, ~/config/autostart
, ~/local/share/applications
and a ton of other places that run at everytime the system starts. Which is quite understandable. But it does show the obscure picture of a system start-up.
May I know if someone can point me to a standard resource on how to briefly and quickly understand
- Various stages involved in booting an Ubuntu system and
- (Leaving out the less interesting junk) What all could be of a user's actual interest for his customizations in general?
Kindly consider that I did already google and found awful resources with incomprehensible details. Would be grateful, if you can actually explain by yourself in layman terms or, at least point me to a place which is not a big-fat reference manual that is not readable for a layman.
Let me be upfront for those nitpickers, these answers are not useful:
- How to understand the different stages of bootloading?
- Free online Ubuntu user guide, that is simple to understand?
- How does the Ubuntu boot process work?
While they might share some similarity, all of them have clearly failed to obtain anything useful for beginners. For e.g. the last could obtain only one chart-producing solution.
crontab
with@reboot
time specifier. Seeman 5 crontab
. – zwets Nov 02 '16 at 07:49/etc/rc.local
is not from the van Smoorenburg Linux System 5 clone era, or even from the System 5 era. It is a triple backwards compatibility measure, because it was System 5's backwards compatibility mechanism for the Unixrc
mechanism that preceded System 5rc
. – JdeBP Mar 06 '18 at 07:33