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