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.

 

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

 

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.

2 useful bash script to establish whether your host is up or down.

You might going to find yourself in a situation where you need to be able to do an action if a certain host is available or disconnected from the network. 

Here are 2 bash scripts what can help you achieve this

The first script will ping the HOST until it's unavailable on the network.

#!/bin/bash
# Ping until host is down!
UNREACHEABLE=0;
while [ $UNREACHEABLE -ne "2" ]; 
   do ping -q -c 1 pampog.com &> /dev/null; UNREACHEABLE=$?; echo "Establishing connection, host is UP! "$UNREACHEABLE; sleep 1;
done
echo "Host is DOWN!";

The second script will ping the HOST until it's available on the network, and then it exits.

#!/bin/bash
# Ping until host is UP!.
UNREACHEABLE=1;
while [ $UNREACHEABLE -ne "0" ]; 
   do ping -q -c 1 pampog.com &> /dev/null; UNREACHEABLE=$?; echo "Establishing communication with Host..."; sleep 1;
done
echo "Host is UP!";
← Older posts