Skip to content

Tag Archives: Shell Script

Printing lines that contain a particular string at the beginning is quite annoying to manually deal with, so we can make use of bash to… Read More
An archive is a simple process of storing a group of files or folders into one file. Sometimes we may need to create a compressed… Read More
In Linux most of the time, we automate things using the bash scripts. Some script has only one functionality, but some script can do more… Read More
Comments are quite a crucial part of a program or a code-base. It helps in understanding the code, improves code-readability, and also helps in enhancing… Read More
Linux provides users a great cool feature of the command-line tool along with a graphical user interface where they can perform tasks via ruining command.… Read More
Linux is popular amongst developers and in the computer science world for its ability to provide the terminal/command-line interface (CLI) functionality. Through CLI a user… Read More
Linux is a very popular operating system especially among developers and in the computer science world, as it comes along with its powerful ability to… Read More
Here given a list of numbers, our task is to find the odd position from the given number. Example: Input: 123456 Output: 135 Explanation: 1,… Read More
Shell Function Library is basically a collection of functions that can be accessed from anywhere in the development environment. It actually makes shell scripting a… Read More
Every operating system provides a feature of multiple user accounts. Linux-based operating systems have some commands or functionalities to check user accounts’ details and change… Read More
A string is made of many substrings or can say that if we delete one or more characters from the beginning or end then the… Read More
Linux provides users a great cool feature of the command-line tool along with a graphical user interface where they can perform tasks via ruining command.… Read More
Temporary files in a linux environment are world-writable and world-readable which means that any user in the system can read and write to the temporary… Read More
A zero-sized file is a file that contains no data and has a length of 0. It is also called a zero-byte file. Incomplete transfers… Read More
Here we are going to discuss how to create a menu-driven shell script. Let’s first understand what does menu-driven means and why should we learn… Read More