Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.
Are you currently learning Bash? Have you seen things like $0 and $EUID and wondered what they mean? Or what the difference is between $UID and $EUID? I'll cover ...
It is easy to dismiss bash — the typical Linux shell program — as just a command prompt that allows scripting. Bash, however, is a full-blown programming language. I wouldn’t presume to tell you that ...
In this post, we examine a bash script that takes a string of letters, rearranges them in every possible way and checks each permutation to identify those that are English words. In the process, we’ll ...
Here are some of the more popular bash options to control how scripts work on Linux and how to list the available options, including seeing which ones are turned on. Bash provides a large number of ...
Bring your GitHub repository to the next level of functionality. For the past year since Microsoft has acquired GitHub, I've been hosting my Git repositories on a private server. Although I relished ...
I am writing a bash script that will accept multiple arguments. My goal is to loop thru all the arguments and display them one by one. If I have a $counter ...
I'm writing a bash script to be used in a automated shutdown sequence. Basically I have a SmartUPS with a network card. In the event of a powerfailure it will send a message to all my servers that ...