Posts

Showing posts from July, 2023

Terminal tricks adding & excuting a custom bash script

Image
Introduction: In the world of Linux, the power of customization is at your fingertips. One of the most powerful tools available to Linux users is the ability to create custom bash scripts. These scripts enable you to automate tasks, improve efficiency, and enhance your overall Linux experience. In this guide, we will explore the process of creating a custom bash script step by step, empowering you to harness the full potential of your Linux system. Here we are going to excute a command in script file on current directory. Understanding Bash: Bash, short for "Bourne Again SHell," is a command language interpreter that is widely used in Linux and Unix systems. It provides a command-line interface for users to interact with the operating system and execute commands. Bash scripts are simply text files containing a series of commands that can be executed as a single unit. Example :  Choosing a Text Editor: Before we dive into creating a bash script, it's essential to choose a