How to Use ls Command in Linux/Unix
When using Linux, you are going to almost always be hooked to the terminal. And one of the common commands that you’ll have at the back of your hand will be the “ls” command. Also read: The mkdir command in…
When using Linux, you are going to almost always be hooked to the terminal. And one of the common commands that you’ll have at the back of your hand will be the “ls” command. Also read: The mkdir command in…
In this tutorial, we’ll learn how to set environment variables in Linux manually. When using Linux, the Kernel sets up the environment with default values for a lot of variables that we would need to use. This includes the default…
After learning the basics in our previous tutorials about if-else statements, switch-case statements, etc, it’s time to create functions in shell scripts. Functions help us divide scripts into different sections and make the code more portable as well as reusable.…
PING (Packet INternet Groper) is a network administration utility used to check the connectivity status between a source and a destination computer/device over an IP network. It also helps you assess the time it takes to send and receive a…
When you use the sudo command for the first time, you see the message “With great power, comes great responsibility.” And rightly so. “Sudo” is short for Superuser Do. With this command, any user who has been granted permissions has…
A DNS cache (sometimes called a DNS resolver cache) is a temporary database, maintained by a computer’s operating system, that contains records of all the recent visits and attempted visits to websites and other internet domains. You may want to…
Continuing our series, in today’s article, we’ll go over the until loop in shell scripts. We’ve already covered for loops and while loops in shell scripts in our previous tutorials. You’ll find a lot of similarities in the while and…
The chmod (change mode) command in Linux is used to change the access mode of a file, based on the type of user accessing the file and the type of permission associated with accessing the file. File Permissions and User…
When you buy a new home appliance, it is accompanied by a user manual that explains the functions of the appliance. Similarly, when you download and install a new package for Linux, the user manual for the program is automatically…
CouchDB is a free and open-source fault-tolerant database made and maintained by the Apache Software Foundation. It is a very good choice for a NoSQL type database, where you do not want a relational database. In this tutorial, we shall…