Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

debian buster 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 :: linux wsl on window space used 
Shell :: terminal go back one directory mac 
Shell :: powershell open folder 
Shell :: git check differences between two projects 
Shell :: windows how to kill localhost:3000 
Shell :: git move tag position 
Shell :: how to integrate bash with vscode 
Shell :: linux remove environment variable 
Shell :: mkdir -p shell 
Shell :: powershell get-verb sorted by verb 
Shell :: install vercel 
Shell :: how to disable ssh in linux 
Shell :: automatically clean package cache in Arch Linux 
Shell :: windows server 2016 install chrome 
Shell :: Files by size 
Shell :: git get back to most recent commit 
Shell :: vim convert tabs to spaces 
Shell :: npm i postgresql 
Shell :: ubuntu 18.04 get public ip address 
Shell :: args in shell 
Shell :: set permissions linux for drive chmod group 
Shell :: where should gitignore file be 
Shell :: where to store env file in firebase functions 
Shell :: ubuntu restart systemctl 
Shell :: git cherry pick many commits 
Shell :: zip folder ssh 
Shell :: wget 
Shell :: powershell to connect to remote computer 
Shell :: macos terminal delete file 
Shell :: ubuntu essential commands 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =