Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.
Showing posts with label bash script. Show all posts
Showing posts with label bash script. Show all posts

Split a string in shell and get the last field

Split a string in shell and get the last field
How to split a string in shell and get the last field. in this tutorial, i written a small program use bash script split string /www/huu/pha...

Bash script arguments from a file content

Bash script arguments from a file content
In this tutorial, how to change string content of file as arguments. I written  Bash script arguments from a file content as below: Input f...

Bash script argument default value and takes optional input arguments

Bash script argument default value and takes optional input arguments
In this tutorial, I have written bash script Bash script argument default value and takes optional input arguments. Using $# argument to i...

Bash script Change folder Permissions Recursively

Bash script Change folder Permissions Recursively
In my post, How to use Bash script Change to folder Permissions Recursively. For example, To change all folder and file under huuphan.com fo...

reverse dns lookup script

reverse dns lookup script
How to use bash script check check reverse dns lookup. You can check online reverse dns lookup with https://mxtoolbox.com/ or http://www.dn...

Bash script while loop case statement example

Bash script while loop case statement example
How to create "Menu Lists" use Bash script while loop case statement. I'm use while loop with case statement create "Menu...

conditional expression bash script

conditional expression bash script
Conditional expression in bash script.For example, check file exists with Conditional expression Bash script checkfile.sh  [[email protected] s...

Bash script allign the output

Bash script allign the output
How to use bash script allign the output. To use printf command the format of strings. Many method to allign the ouput use bash script. The ...

bash script use IFS in context of for looping

bash script use IFS in context of for looping
How to use bash script IFS in context of for looping. what does IFS meaning? The IFS stands for "internal Field separator", Tha...

Bash script list all IP addresses connected to Server

Bash script list all IP addresses connected to Server
Running to bash script list all IP addresses connected to Server ./studyscript.sh  >/dev/null 2>&1 The bash script list all...

bash script check file and directory

bash script check file and directory
How to check file and directory in directory, I use bash script if file exists. To write simple bash script check folder /home/huupv/Deskto...