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.
Kubernetes is leading software in container orchestration. Kubernetes works by managing clusters, which is simply a set of hosts meant for running containerized applications. In order to have a Kubernetes cluster, you need a minimum of two nodes – a master node and a worker node. Of course, you can expand the cluster by adding as many worker nodes as you need.
Git is a versioning control system, mainly used by programmers to issue changes to applications and keep track of the revisions. However, it’s also commonly used by everyday users, since they’re able to browse and download the source code and binaries of millions of applications from websites like GitHub and GitLab.
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.
In this tutorial we will see how to use bash arrays and perform fundamental operations on them. Bash, the
Bourne Again Shell, it’s the default shell on practically all major linux distributions: it is really powerful and can be also considered as a programming language, although not as sophisticated or feature-reach as python or other “proper” languages. Furthermore, the Bash scripting is a must skill for any Linux system administration job.
There is no need to install tons of software in order to create a nice and informative presentation. tpp, which stands for Text Presentation Program is a simple to use command line presentation tool which allows you to create a fancy text based slide show presentation and share it with your colleagues or students as an ordinary ASCII text file. tpp utilizes ncurses, and it supports colors, slide-in, source code output, animated command line execution and a real time command executions all available from within your terminal.
Depending on your server room conditions it may be important to be informed about the hard drive temperatures inside of your servers. System administrators may use Bash and cron to write a simple script that can alert them about sudden temperature change. Various command line tools such as
hddtemp can check your HDD temperature and be used inside of a Bash script.
Computer memory is allocated to processes as pages. Usually these pages are rather small, meaning that a process consuming a lot of memory will also be consuming a lot of pages. Searching through a multitude of pages can result in system slow downs, which is why some servers can benefit from enabling huge pages.
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.
The purpose of this tutorial is to configure a static IP address on Ubuntu 22.04 Jammy Jellyfish Linux. When it comes to IP addresses on Ubuntu 22.04, you have two main options for how you configure your network interfaces. You can either obtain an IP address automatically with DHCP, or configure the system to use a static IP address, which never changes.
Conky is a system monitoring program for Linux and BSD that runs on the GUI. It monitors various system resources to report the current usage of CPU, memory, disk storage, temperatures, users logged in, currently playing song, etc. in a sleek little widget on your screen. This way, you’re able to see at a quick glance how your computer’s components are being utilized.