msg - Send a message to users RDP’d to server

Send a message to users RDP’d to server

There are already 2 users logged on a server via remote desktop protocol (RDP) and We want to ask them nicely to logout so that We can join. We will be using a buil-in utility in Windows called MSG. It is a utility to send a message to a user...

image 9 540x198 - Format a USB drive from the Command Line

Format a USB drive from the Command Line

Although we have applications to format USB drives like “gparted” in Linux, knowing the process in the command line is useful when working remotely or working on computers with few resources. The steps as well as the process is...

404 broken link check bash 540x304 - Bash script to check broken links in a website or 404 messages

Bash script to check broken links in a website or 404 messages

I needed to check a website , because some links doesn’t exist and when you open some web pages  you get a “404”. #!/bin/bash echo "Checking broken links on " $1 echo "Extract all links in the main page..." wget --spider -r ...

mysql backup script 540x304 - Shell Script to Backup All MySQL databases

Shell Script to Backup All MySQL databases

Here is a simple bash script that I use to backup all mysql databases from the server: #! / bin / bash TIMESTAMP = $ (date + "% F") //backups will be stored in /backup/mysql BACKUP_DIR = "/ backup / mysql" MYSQL = / usr / bin / mysql MYSQLDUMP = /...

netdata local 540x304 - Netdata - Easy web system monitor setup

Netdata – Easy web system monitor setup

In many infrastructures it is possible that we need to control the performance of a computer or server. Performing this task manually is very complicated as we will most likely have to use several different tools, one to control each aspect...

dmidecode command 540x304 - 4 Commands to show Memory info in Linux

4 Commands to show Memory info in Linux

How much RAM does your computer have? and better, how can you get detailed information about your RAM? If you wanna upgrade your computer’s memory this information will be useful I found a command that gave me all the necessary information and...

remove script 540x304 - Remove shell script after usage

Remove shell script after usage

Here is a small script that does two things: Determinate script’s locationDelete the file #!/usr/bin/env bash // determinate where the script is SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) //...