One of the strengths of Linux as an operational formula is its ability to configure and adjust to your liking.Using the command line allows you to factor out difficult commands that other users of the operational formula should not have, and using the command line is at most a necessity to get the most out of your Linux distribution.For example, you might need to run a script or command every time you start your Linux machine.There’s a lot of tactics to do this.
Put the command in your crontab log. The Linux crontab log is a daemon that plays responsibilities edited through the user at express times and events.To edit the registry, open a terminal and type “sudo crontab-e” to open its crontab record in the default text editor.to have the line, type “@reboot xxxx”, where “xxxx” is the command you need to run.Save the log and exit.
Place a script that contains the command in your /etc directory.Create a script as “startup.sh” your favorite text editor.Save the log to your /etc/init.d/ directory. Change the script permissions (to make it executable) by typing “chmod x /etc/init.d/mystartup.sh”.
Change the /rc.local script in your text editor.On Fedora systems, this script is in /etc/rc.d/rc.local, and on Ubuntu, it is in /etc/rc.local.commands that you need to run, making sure to do so as root, save the log and exit.The commands will be executed after the next startup.
Wolfram Donat is a data generation professional and lately is completing a bachelor’s degree in Computer Systems Engineering.He has controlled writing for an online and offline audience, and moonlight as a professional editor when studies allow it.Lately he’s buying his first novel from agents, and editors, and he’s running his novel for now.