NicSpeed.bash v1.1

NicSpeed is a small bash script that I’ve found in my personal script library that was written years ago by who I don’t know but the original script was called net_speed.sh at least that is what is was back in the days.

Just to give an idea how long ago it was the LAN speed representation was on in KB/s or B/s so that was a very long time go.

So in short I’ve added some credit to whoever that may have been the original author and created at some point in the late 20th century.

The script NicSpeed can easily be downloaded and run on most terminals with a single command and the network interface name “NIC”

Here is a screenshot of me running it on all NIC’s

What has been modified is the following, created a header in the script as well as setting it up with bash environment, variable CHECK_MARK, Calculate in MB, updated return characters to display B/s, KB/s & MB/s in a single line in a loop.

All commentary apart from the header are original explaining what each line is doing so it’s easier to understand.

Here are the instructions of 5 little and simple steps to follow…
1) Download the link
2) Save as NicSpeed.bash

3) Check the code for yourself.
4) chmod +x NicSpeed.bash
5) NicSpeed.bash <nic_name>

Example:
$ ./NicSpeed.bash enp5s0

Donate

SMALLTARBKP v4

Yet another version and what is the difference between v3 & v4 well to be honest only a few minor bugs that may or may not happen depending on how the script was being used but the biggest difference is the fact that v4 has a separate config file ${HOME}/.config/.smalltarbkp giving the ability to convert […]

SMALLTARBKP v3.0

This is a small tar backup script (smalltarbkp ) as it says in the name it was written in bash shell scripting designed for simplicity and purposely for Linux systems, this script is easy to use, easy to modify for those that want to improve, change or embed their own custom controls or reports.This is […]