shell script
Linux

How to write practical shell script

In the last post, we talked about regular expressions and we saw how to use them in sed and awk for text processing, and we discussed before Linux sed command and awk command. During the series, we wrote small shell scripts, but we didn’t mix things up, I think we should take a small step further […]

regex tutorial
Linux

Regex tutorial for Linux

In order to successfully work with the Linux sed editor and the awk command in your shell scripts, you have to understand regular expressions or in short regex. Since there are many engines for regex, we will use the shell regex and see the bash power in working with regex. First, we need to understand […]

shell scripting
Linux

Shell scripting the awesome guide part4

In the previous post, we talked about parameters and options in detail, today we will talk about something very important in shell scripting which are Input, Output, and Redirection. So far, you’ve seen two methods for displaying the output from your shell scripts Displaying output on the screen Redirecting output to a file So how […]