Kubernetes allows administrators to create a cluster and deploy containerized applications into it. Kubernetes makes it easy to scale your applications, keep them up to date, and provide fault tolerance across numerous nodes. One of the easiest ways to get started with Kubernetes is by installing minikube.
How to join line on Linux
When working with text on the command line, it is sometimes useful to join multiple lines together. Rather than going through text files and manually shifting lines around to be on the same line, our Linux system provides us with multiple tools to simplify this task for us. Log files are a good example of text that is usually split up onto multiple lines, and sometimes it is easier to visualize the data when some lines are joined together. In this tutorial, we will show you several ways to join lines of a file together on a Linux system.
How to run JAR file on Linux
JAR files are those that have been coded and compiled using the Java programming language. In order to run these files on a Linux system, the Java Runtime Environment (JRE) software must be installed first. This is just a software package that allows the system to understand JAR files, and therefore gives it the ability to open and run them. Usually, the JRE package is not installed on most Linux distros by default, so we must first install Java, and then we can open the JAR file(s).
How to query NTP server
NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. Client systems can be configured to query an NTP server on a consistent basis, to make sure that its configured time is always kept in sync. There are NTPD servers available over the internet to which you can sync, or you can run your own NTPD server and configure client computers to sync their times to it. Having an array of computers in perfect sync with each other can be important for critical tasks that require perfect coordination between multiple systems.
How to format USB with exFAT on Linux
exFAT stands for Extensible File Allocation Table and is a format made by Microsoft for use on devices like USB flash drives. In general, you do not hear a lot about exFAT these days, but it remains a viable format that is compatible with Windows, MacOS, and Linux, so it is a good choice for a flash drive that you plan on using with a variety of different systems. Some manufacturers even use exFAT as the default format for their SD cards or other products.
How to Check Kubernetes Version on Linux
Checking the installed version of Kubernetes is an important part of system administration, since it will allow you to keep on top of the latest updates and security patches that are released for your software. It is also important to ensure that your various Kubernetes components are updated alongside each other, as much variance in the version number could cause problems.
How to Disable Swap in Linux for Kubernetes
Part of the official requirements for Kubernetes is to disable swap space completely before attempting to launch Kubernetes. In some recent patch notes, Kubernetes has begun implementing support for swap space in some scenarios, but it is not fully supported. The official reason for not supporting swap space is because it is hard to predict how a pod might utilize memory when swap is enabled.
How to check what shell I’m using on Linux
The shell on a Linux system is the layer that interprets the commands being executed by the user, and translates them into a language that the operating system can understand. The Bash shell is the default one in Linux, and typically what all users become familiar with first. But there are a lot of other shells that can be used, too; like sh, zsh, ksh, csh, and tcsh, to name a few.
How to open file explorer from terminal on Linux
Have you ever been in the middle of using your command line terminal, and suddenly needed to open the file explorer? In some cases, it can be easier or more convenient to visualize the contents of a directory from a graphical file explorer, rather than using the ls command or others to sift through the files. Fortunately, Linux gives us an easy way to open a file explorer and have it navigate directly to the directory we are currently viewing in the terminal.
How to quit telnet
The telnet utility, a once common protocol that graced the terminal of every system administrator and power user, was a precursor for the SSH protocol. Since telnet sends all data, including usernames and passwords, over the network in clear text, it is not often used anymore. Despite the other protocols that have come to replace it, telnet remains an ideal utility to test the connection to a certain port of a device, and can be handy in other niche scenarios, or even send an email.
How to paste into terminal
Linux users that are new to using the command line terminal will quickly realize that the typical and well known Ctrl + C
and Ctrl + V
keyboard shortcuts do not work for copying and pasting. Instead, Ctrl + C
will interrupt a running command, so users must quickly make new habits and learn the proper way to copy and paste into the terminal. In this tutorial, we will show you all the ways to paste your clipboard into the terminal on a Linux system. We will also go over a few ceveats that you may need to know.
How to pipe output to a file on Linux
When using the Bash shell on a Linux system, we can send the output of a command to somewhere else, by passing it to another command or a file, for example. This is called Bash shell redirection. It is useful in many different scenarios, and is one of the most basic and essential components of learning to use the Bash shell and Bash scripting.