New Post awk In Bash Scripting Up until now, we have covered a couple of text processing, from sed to grep to sort, and now we have the big daddy, which is awk. awk (which stands for Aho, Weinberger, and Kernighan – its creators) is a […]View Full Post
(Bash Script) Automate Multiple ClassicPress & Wordpress Installation + [Caching and SSL] If you are tired of using control panels (I am because they are mostly not secure, and most comes loaded with bundles of useless stacks), and want to do everything on the server level, I wrote a menu-driven bash program […]View Full Post
Understanding The Four (4) Ways Command-Line Runs Shell Script Sometimes we need to think like the command line shell in order to understand how things are done in the background, this would make debugging a breeze. In this guide, you would learn all the various ways the shell script can […]View Full Post
Text Processing (Filters) In Bash Scripting Ever wondered if you could quickly do some text processing in a bash script, for example, you can analyze a text or sort the output of a text, and provide it in a more meaningful way. The good thing about […]View Full Post
Sort in Bash Scripting We recently just looked at grep in bash scripting, and another commonly used program in bash scripting is the program called sort. Sort is a simple filter that is used to sort lines of text from its input, input can […]View Full Post
sed (Stream Editor) In Bash Scripting Another powerful filter in GNU/Linux is sed (stream editor), which is a program for performing basic editing tasks on the output of another program or on a file. sed or stream editor can be used to perform basic text modification […]View Full Post
grep (Regular Expression) In Bash Scripting We recently discussed filters in bash scripting, in this guide we would look more into the practical usage of using a filter program, and an example of such a program is grep. grep, in its simplest form, is a filter […]View Full Post
Functions in Bash Functions are modular building blocks for creating powerful and modular scripts, using function makes it easy to isolate a code since it would be in a single building block, which would be isolated from the rest of the script. To […]View Full Post
Returning Values From Functions in (Bash) In the guide function in bash, we dive deep in bash functions and we also pass some information into the functions to carry out a certain operation. In this guide, I’ll show you how to get information back out of […]View Full Post
Using Case Statements in Bash We previously looked at looping in bash, and creating conditional statements using if and else but there are cases where using case statements makes the logic simpler, and clearer. This is the basic layout of a case statement: We can use […]View Full Post