In this tutorial, we will provide a few Bash scripts to scan and monitor the network using combination of commands such as ping
. Obviously, these scripts are no match to a full monitoring dedicated software like nagios, but they could be useful for small home brand networks, where implementing sophisticated monitoring systems can become too much overhead.
programming
C++ : Understanding pointers
This tutorial is intended for all programing enthusiasts on all levels that wish to understand pointers in the C++ language. All code presented here is not compiler-specific, and all examples will be written in plain ANSI C++. Debates about pointers can stretch for miles, and you would need to go really far to master it all.
Write first bash script
After reading this short shell scripting tutorial, you will be able to to create and execute your own Bash shell script. No previous knowledge of shell scripting is required. However, you are expected to have some knowledge of how to start a command line terminal and how to edit text files with some text editor of your choice.
How to install Arduino IDE on Ubuntu 22.04 Jammy Jellyfish
The Arduino IDE is free software that allows you to create “sketches.” It integrates with the official website to allow you to upload your work. In this tutorial, you will see the step by step instructions to install the Arduino IDE on Ubuntu 22.04 Jammy Jellyfish Linux.
Eclipse IDE for C/C++ Developers installation on Ubuntu 22.04
Eclipse is a free C and C++ IDE that can be installed on Ubuntu 22.04 Jammy Jellyfish. In this tutorial, we will take you through the step by step instructions to install the Eclipse C/C++ IDE on Ubuntu 22.04 Jammy Jellyfish as well as the Java prerequisites, via command line. Then, you can use the application to import your current C and C++ projects or develop new ones.
Show Bash script usage
Is it best practice to include usage in every Bash script that you create. This gives the user an idea of what options the script is expecting, so they can use it as intended. It also gives the script some error checking ability to make sure that the user has supplied arguments in the expected way.
Bash script: While loop examples
The while
loop in a Linux Bash script is a type of loop that continues to execute as long as the programmed condition remains true.
Bash Scripting: Operators
Using operators in a Bash script is how you determine whether a condition is true or not. And testing for conditions is how we program a Bash script to be dynamic by giving it the ability to respond differently depending on a scenario.
Bash Scripting: Command line arguments
In some Bash scripts, there is an option to pass arguments to the script when you are executing it. This allows the user to specify more information in the same command used to run the script.
Bash Scripting Cheat Sheet
The ability to automate tasks with Bash scripts in Linux is one of the operating system’s most powerful components.
Bash scripting vs Python
Bash scripting and Python are two different ways to program and automate tasks on a Linux system. Many Linux users choose to learn one or the other, and some even learn both.
Bash scripting vs PowerShell
In this article we will talk about differences between Bash scripting vs PowerShell. Bash is the command interpreter for Linux systems and is well known as a tool that can be used for automation and repetitive tasks via Bash scripts. PowerShell serves the same purpose, but for Windows systems.