Security Awareness
  • Home
  • News
  • Linux
  • Tools
  • Tricks
  • What is
  • Video
  • Tutorials

auto execute script

Linux

Auto execute commands or scripts during reboot or startup

This method is valid even for systemd-based distributions. In order for this method to work, you must grant execute permissions to /etc/rc.d/rc.local as follows: # chmod +x /etc/rc.d/rc.local and add your script at the bottom of the file. The following image shows how to run two sample scripts (/home/gacanepa/script1.sh and Read more…

 120 total views

By root, 6 yearsFebruary 14, 2017 ago
Recent Posts
  • Chmod, file permission, and the octal notation
  • PuTTY 0.71 Released
  • MITMsmtp v0.0.2 released
  • conjur v1.4.0 releases
  • testssl.sh v3.0 rc5 releases
Recent Comments
  • root on Most commonly Used Linux Commands
  • power cooker recipes on PuTTY 0.69 released
  • bad Jokes on Most commonly Used Linux Commands
Categories
  • Linux
  • News
  • Tools
  • Tricks
  • Tutorials
  • Video
  • What is
Enjoy this post ?

If you think my work deserves to be rewarded ? Then

  • Home
  • About
  • Privacy Policy
  • Donations
  • Contact
Hestia | Developed by ThemeIsle