Share your files / folders easily in Linux (Mint / Debian / Redhat / Suse etc) NitroShare

Nitroshare is a Cross-platform Network File Transfer Application. Official website ( https://nitroshare.net/ )

NitroShare is included in the Debian and Ubuntu archives and can be easily installed with the following command:

sudo apt-get install nitroshare

If you need to, you can add the PPA

sudo apt-add-repository ppa:george-edison55/nitroshare
sudo apt-get update
sudo apt-get install nitroshare

 ARCH linux

wget https://aur.archlinux.org/cgit/aur.git/snapshot/nitroshare.tar.gz
tar xf nitroshare.tar.gz
cd nitroshare
makepkg -sri

 

Wormhole in Linux Mint - It's new, fast, free and secure way to send files in Linux!

How to install WORMHOLE secure file transfer in Linux Mint

undefined

First step is to install "snapd" by the following command:

sudo apt install snapd

Once it's completed, go ahead and install "wormhole"

sudo snap install wormhole

and set the PATH variable

PATH=$PATH:/snap/bin

now you can run wormhole by simply typing the command. (You need to install WORMHOLE on all PC's you'd like to transfer files between!)

Let's send a file (example.jpg):

wormhole send /home/janostech/example.jpg

Sending 89.1 kB file named 'example.jpg'

Wormhole code is: 4-truncated-tempest

On the other computer, please run:

wormhole receive 4-truncated-tempest

 

...on your other computer, please run:

wormhole receive 4-truncated-tempest

This should be it, you should start receiving the file if your computers are on the same network.

 

Simple server information script V1.0

Here is a simple server info script, displaying information of services, memory usage, free space and open ports.

It's an example script, please feel free to change it as you see fit ex: adding more services for FTP etc.

clear
echo ---- Simple server information script v1.0 ----
echo

# Free memory
echo ---------- Memory ----------
free -h

# Disk space
echo ---------- Disk Space ----------
df -h

#Checking for running services - Green if service is running, red if service is stopped.
echo ----------- Services ---------------
service=apache2

if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
tput setaf 2; #green
echo "$service is RUNNING"
else
tput setaf 1; #red
echo "$service is STOPPED"
fi
tput sgr 0; #normal color

service=ssh

if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
tput setaf 2; #green
echo "$service is RUNNING"
else
tput setaf 1; #red
echo "$service is STOPPED"
fi
tput sgr 0; #normal color

service=fail2ban

if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
tput setaf 2; #green
echo "$service is RUNNING"
else
tput setaf 1; #red
echo "$service is STOPPED"
fi
tput sgr 0; #normal color

# Directory size WWW
echo ------------- WWW size -------------
du -sh /var/www/html/

# Open ports
echo ------------- Open Ports --------------
netstat -ntlp |grep LISTEN
echo ------------------------------------
echo 

How to install Cisco Packet Tracer 7 in Linux Mint / Ubuntu

Ready to learn about Cisco ? Let me show you how to install Packet Tracer in Linux.

Cisco Packet Tracer is an awesome and free application where you can simulate Cisco networking environment without a need of a physical network infrastructure.

First you need to download the latest version from the netacad website by clicking on the link below, and following the instructions.

You will need to register and enroll (all for free) before you can download Packet Tracer

https://www.netacad.com/courses/packet-tracer

At this time the latest version is 7.1.1, the file I've downloaded is : Packet Tracer 7.1.1 for Linux 64bit.tar.gz

Create a temp folder within you Download directory, let's call it ptracer ( /home/yourprofile/Downloads/ptracer/

Copy the tar.gz file into this folder and extract it.

Make sure the file "install" is executable (chmod +x install - in case it's not) and run it either from your terminal :  sudo bash install or by double clicking on it and run it from terminal.

You will be greeted by the installation message, press Enter

"Welcome to Cisco Packet Tracer 7.1.1 Installation

Read the following End User License Agreement "EULA" carefully. You must accept the terms of this EULA to install and use Cisco Packet Tracer.
Press the Enter key to read the EULA."

After reading the EULA, accept it by typing Y

The next step will ask you if you're happy to install it into /opt/pt

"Enter location to install Cisco Packet Tracer or press enter for default [/opt/pt]:"

press Enter here and your installation should complete ( you can create symbolic link here if you want just accept the defaults.)

To create a desktop icon (demonstrating it on Cinnamon) right click on your desktop, "Create new launcer", you can set the name to anything, in my case it's "Cisco Packet Tracer", command should point to /opt/pt/packettracer

undefined

 

Once your icon is created, launch it, log in with your Cisco registration and enjoy.

How to check for Spectre / Meltdown vulnerability in Linux Mint / Ubuntu

Launch your terminal and type in the following commands

mkdir ~/sm
cd ~/sm
wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh
chmod +x ./spectre-meltdown-checker.sh
sudo ./spectre-meltdown-checker.sh

In case your system is ok and is not vulnerable you'll get a similar screen like this in your terminal

undefined

Simple Shutdown Scheduler - how to shutdown your PC automatically from Linux Mint / Ubuntu

Have you ever wondered how would you go about turning your computer off automatically?
You watch movies in bed or listen to some music before you go to sleep and would like to be able to shutdown your computer after a specified amount of time?
ShutdownScheduler is for you.
You can set your computer to automatically shut down after a specified amount of time (from 5 minutes to 5 hours). You can easily launch the application from your Desktop after installation, and can only use your mouse to control your timer, no keyboard input required, (tested in Mint/Ubuntu Cinnamon, Gnome desktops, and KDE/plasma, feel free let me know if you have managed to test it on other environments as well, and I will update my description )
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under GNU General Public License.

SHA256SUM for the .TAR.GZ file is :
00afd83f93276946855e57b8c1269fa8277cf783d260bdef612a1e21f99fcba4 Shutdown_Scheduler_v1_2.tar.gz

SHA256SUM for the .DEB installation package is :
480690a4da64f6de7a65e451537bd4f1e3c076f33a498722a339c31ed19e195f shutdownscheduler_1.2-1_amd64.deb

Click here to download Shutdown Scheduler version 1.2 for Linux (.DEB - 11,748 bytes)

 

Vivaldi asking for keyring password in Linux? Here is how to fix it! (same fix applies to google chrome)

To fix the Keyring issue for Vivaldi (same for Google Chrome)


Add this to the end of the command line in your launcher :

--password-store=basic

undefined

Screen flickering when using Vivaldi browser? Let's fix it!

Lets fix screen flickering issues in Vivaldi under Linux.

undefined

Launch your Vivaldi browser, then

click on Tools/Settings/Appearance
tick a box for "Use Native Window"

undefined


Restart your browser.

This has been tested under Ubuntu 16.04 and Linux Mint Cinnamon 18.3