Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Tiempo de lectura: < 1 minuto Sometimes we want to keep a script running on our Ubuntu or Linux machine, but we don’t have a system service created. With this command, we can keep this script running in the background even if we close the console. The first thing we need to do is install nohup (if it’s not already active … Read more

Adding Commands to a Telegram Bot (Python)

Adding Commands to a Telegram Bot (Python)

Tiempo de lectura: 4 minutos Reading time: 3 minutes Following the previous day’s post How to Make a Telegram Bot (Python), we will complete this Python script to add command functionality to the bot. Commands are used to instruct the bot to perform specific functions. A command is written in the Telegram chat in the following format: /command Let’s make … Read more