In Bash, it is often necessary to check if a command succeeded or failed. For example, you may want to…
Browsing: script
Reading a file line by line is a common task in many shell scripts, as it allows you to process…
Amazon Simple Storage Service (Amazon S3) is an cloud based object storage device. It is a low cost storage widely…
An array is a data structure consist multiple elements based on key pair basis. Each array element is accessible via…
Bash scripts are very useful for doing work easier. It also helps for task automation. This tutorial will help you…
Question – How to add [Y/n] confirmation in our own shell scripts? How to take input from the user as…
This is good to test a file has enough permission to do read, write or execute operations. For a good…
In Linux, an empty file is a file that has a size of zero bytes. This means that the file…
DOCUMENT ROOT is the path where application is stored on file system. In some application’s we need to use absolute…
Bash scripts are simple text files that contain a collection of commands. Bash scripts can help with administrative tasks, task…