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.

 

How to activate WOBBLY windows in Linux Mint Cinnamon 19

I have always loved Compiz effects especially WOBBLY windows.

Let me show you how to activate this on your Linux Mint cinnamon installation, as by default it does not work properly.

First of all you need to download an extension called "Wobby Windows" so serach for "Extension" and click on Download

undefined

Once you have it, you'll need to open your Terminal and edit the file called /etc/environment - as sudo - and insert this line:

CLUTTER_PAINT=continuous-redraw

undefined

Now you can go back to your extensions and activate WOBBLY Windows by clicking on Manage and the "+" sign on the bottom of the window.

undefined

And here we go, you should be able to move around your wobbly windows without any issues like shadows, redraws etc.

undefined

How to check / test your Internet Speed via Terminal?

speedtest-cli is available from the Ubuntu repositories.

sudo apt install speedtest-cli

After the installation is completed, simply run speedtest-cli
Here is an example of my mobile connection speeds

➜  janostech speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Vodafone Limited (85.***.***.***)...
Selecting best server based on latency...
Hosted by Vodafone UK (London) [5.34 km]: 74.778 ms
Testing download speed........................................
Download: 10.68 Mbit/s
Testing upload speed..................................................
Upload: 12.68 Mbit/s
➜  janostech

 

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 

Linux commands - cheat sheet 2018 v2

Click here to download your own copy of the cheat sheet we have created for you guys.

undefined

Download Linux_Cheat_Sheet_v2 

Download Linux Cheat Sheet 1 page small

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.

← Older posts