Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

debian 9 enable rc.local

cat <<EOF >/etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
EOF
chmod +x /etc/rc.local
systemctl daemon-reload
systemctl start rc-local
systemctl status rc-local
Comment

PREVIOUS NEXT
Code Example
Shell :: speed up ffmpeg video 
Shell :: installing api platform 
Shell :: docker ps not showing containers 
Shell :: Winbox for linux 
Shell :: git diff files only 
Shell :: aircrack-ng install command 
Shell :: how to install docker compose on windows 
Shell :: powershell type of object 
Shell :: how to create new branch in git 
Shell :: grafana speedtest 
Shell :: git bash in cmd 
Shell :: npm install --save-dev shortcut 
Shell :: git with ssh instead of https 
Shell :: git asking for passphrase after restart 
Shell :: wsl2 xserver 
Shell :: NGINX systemd service file 
Shell :: how to install powershell 
Shell :: pip install cookiecutter 
Shell :: sudo: yum: command not found 
Shell :: check ubuntu uptime 
Shell :: makefile 
Shell :: install zipalign kali linux 
Shell :: git config path 
Shell :: delete a folder then git push 
Shell :: how to deploy react and backend to github pages 
Shell :: npm install on Termux 
Shell :: linux extract txz 
Shell :: Create and edit a new file nano 
Shell :: install gitflow 
Shell :: how to install pytesseract in rpi 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =