Skip to content

Instantly share code, notes, and snippets.

View mohdjishin's full-sized avatar
🎯
Focusing

Muhammed Jishin Jamal TCP mohdjishin

🎯
Focusing
View GitHub Profile

Creating a Service in Linux

This guide provides step-by-step instructions on creating a service in Linux. Services are essential for running programs or processes in the background, enabling them to start automatically during system boot or be managed with common service commands.

Prerequisites

Before proceeding with the service creation process, ensure you have the following:

  • A Linux distribution (e.g., Ubuntu, CentOS, Fedora)
  • Root or sudo access to your Linux system

To install Robo3T on Linux, you can follow these steps:

Download the package from the Robo3T Github using wget. For example:
wget https://github.com/Studio3T/robomongo/releases/download/v1.4.4/robo3t-1.4.4-linux-x86_64-e6ac9ec.tar.gz
@mohdjishin
mohdjishin / dynamic_print.go
Last active July 22, 2021 08:05
This is a demonstration of dynamic printing in Golang
package main
import "fmt"
func main() {
var i int = 1
var t bool = true
var a int = 1
for t {
i = i + 1
fmt.Print("\rHello World : ", i)
if i == 1000000 || i%1000000 == 0 {
import random
import time
for x in range(20):
symbol = ['W', 'h', 'o', 'I', 'i', 's', 'T', 'C', 'P', '~', 'P', '*', 'H', 's', 'q', 'O', 'l', 'v', 'd', 'm', 'L', '0']
for s in range(9):
print(random.choice(symbol), end='')
time.sleep(0.12)
print(end='\r')