Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to run a command on startup in linux ubuntu or centos

sudo nano /etc/rc.local   ## add your command 
 #!/bin/bash     ## add this in head file and your any command
 sudo chmod +x /etc/rc.local  ##for change accses file
 sudo init 6    ## for reboot 
Comment

PREVIOUS NEXT
Code Example
Shell :: get file size in bash 
Shell :: how to run verilog files in linux 
Shell :: export import all vscode extensions 
Shell :: angular-cli 
Shell :: conda install jupyter notebook 
Shell :: linux remove all from current directory 
Shell :: ubuntu install lib usb 
Shell :: curl request print response 
Shell :: how to disable password for ssh sudo users only 
Shell :: generate patch file git 
Shell :: reset bash_profile 
Shell :: how to check file size in linux 
Shell :: configuration file is group-readable. This is insecure linux 
Shell :: install brew on linux 
Shell :: powershell to string 
Shell :: install snap change in progress ubuntu 
Shell :: powershell on linux 
Shell :: ubuntu start pycharm 
Shell :: pterodactyl installer 
Shell :: bash read file into variable 
Shell :: git reflog 
Shell :: git set origin 
Shell :: tar.gz files 
Shell :: show internet password 
Shell :: spaceship zsh 
Shell :: install redux npm 
Shell :: how to install docker on Debian 10 
Shell :: ssh config 
Shell :: linux subsystem for windows file location 
Shell :: conda install camelot py 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =