Tag: bash script

In this article, I will show you how to create a file containing ssh tunnel information. This file will contain information to help you connect to servers inside your system. The script file contains ssh tunnel commands First, create a script file named tunnel-info.sh and place it in the directory you want. For example, I

This article will provide to you a script automatically frees up memory in Linux. This script is for Linux servers. Commands to clear cache in Linux You know, most of the memory in Linux will turn into cache during operation. Linux provides the following three commands to clear the cache at different levels. 1. Command

Now is the last step in 3 steps how to write a bash script file. This article will learn about the script file location and script execution. The execution of the script sounds very simple, but sometimes, you don’t understand why it doesn’t work as expected. Script file location Normally, when you write and assign the

After you’ve read the steps to write a bash script file, what’s in that bash script file? What is the format of a bash script file? “Hello World” script To keep things simple and familiar, I’ll start with a script called “Hello World”. This is probably a type of file that you will probably encounter

How to write a bash script? What steps does it include? And how will we do it? This article will show you an overview of how to write a bash script. To create and run a shell/bash script, we will do the following 3 steps. Write an bash script Essentially, bash scripts are just a