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 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

← Older posts