Đỗ Thu Hiền
New member
How do I run an rc file?
Answer
Method 1 – Using rc.
local
Answer
Method 1 – Using rc.
local
- $ sudo chmod +x /etc/rc.local. Next we will add the script to be executed in the file,
- $ sudo vi /etc/rc.local. & at the bottom of file, add the entry.
- sh /root/script.sh & Now save the file & exit. …
- $ which shutter.
- /usr/bin/shutter. …
- $ crontab -e. …
- @reboot ( sleep 90 ; sh /location/script.sh )