Do it your self hobby code

Ubuntu

How to run script continuously even when terminal is closed — Ubuntu

The simple way is to use screen. This program is commonly installed on Ubuntu server. If not installed, enter the command below to install screen: sudo apt-get install screen How to use screen? Let’s use the very simple way. Run this command: screen You will see the screen version and other information. Next, press enter. …

How to run script continuously even when terminal is closed — Ubuntu Read More »

Changing server time zone — Ubuntu

This is very important when you have some programs scheduled to run using cron. Display current timezone cat /etc/timezone Because I’m using New York timezone, this will display:America/New_York How to change the server timezone? I’d like to change the server to Dubai timezone, so I’ll enter: ln -sf /usr/share/zoneinfo/Asia/Dubai /etc/localtime To list other countries timezone …

Changing server time zone — Ubuntu Read More »