Tag Archive: bash

Dec 29 2016

Your Own Linux..! series on Linux / Unix Shell (Bash) Scripting

Your Own Linux..! recently published a multi-part series on Unix/Linux shell scripting, that would be useful to anyone desiring to write a bash script. The articles are: Introduction – Linux / Unix Shell (Bash) Scripting Bash Scripting Variables – Environment and Special Shell Variables Bash Scripting – Arithmetic, Logical, Relational and Bitwise Operators Bash Scripting …

Continue reading »

Nov 13 2016

How to Run Bash Script as Root During Startup on Linux – Make Tech Easier

Have you ever wanted to run bash script as a root user during startup? Here’s how you can harness the power of cron and set your scripts to run at startup. Source: How to Run Bash Script as Root During Startup on Linux – Make Tech Easier

Sep 04 2015

Change shell properties with Linux shopt command

Bash shopt command explained  with examples Shopt(SHell OPTions) is a built-in command to change the properties of a shell such as.. Its history behavior Spell check Enable special characters for echo command by default and many more. This is an excellent command which give more control on Shell for you when you are working on bash …

Continue reading »

Apr 13 2015

Link: Bash One-Liners Explained, Part I: Working with files

I love being super fast in the shell so I decided to do a new article series called Bash One-Liners Explained. It’s going to be similar to my other article series – Awk One-Liners Explained, Sed One-Liners Explained, and Perl One-Liners Explained. After I’m done with this bash series, I’ll release an e-book by the …

Continue reading »

Apr 02 2015

Links: Bash by Example, Parts 1-3

You might wonder why you ought to learn Bash programming. Well, here are a couple of compelling reasons: You’re already running it  If you check, you’ll probably find that you are running bash right now. Even if you changed your default shell, bash is probably still running somewhere on your system, because it’s the standard …

Continue reading »

Nov 27 2014

Link: How to set the PATH variable in Bash

So, how do you set the PATH variable in Bash? That’s a very simple task, which should take less than a minute to complete. However, for the benefit of those not familiar with the Bash shell or the PATH variable, let’s start with a very brief introduction. Full article here: How to set the PATH …

Continue reading »

Oct 18 2014

Link: Alien’s Bash Tutorial

First you probably need to read a UNIX command bible to really understand this tutorial, but I will try to make it as clear as possible, there is about 100-150 UNIX commands explained later in this tutorial. You are to have some UNIX experience before starting on this tutorial, so if you feel that you …

Continue reading »

Jul 23 2014

Link: 15 Useful Bash Shell Built-in Commands (With Examples)

Bash has several commands that comes with the shell (i.e built inside the bash shell). When you execute a built-in command, bash shell executes it immediately, without invoking any other program. Bash shell built-in commands are faster than external commands, because external commands usually fork a process to execute it. In this article let us …

Continue reading »

Mar 27 2014

Link: Tutorial: Customizing Your Bash Prompt

In this tutorial I will show you how you can change the look and behavior of the prompt to show more details or use a different coloring style. I will explain how to try all these examples and how to make changes permanently by adding them inside the Bash configuration file. Please note that this …

Continue reading »

Oct 20 2013

Link: Basic Linux Shell Scripting Language : ‘While’ Loops

In the previous article entitled “Basic Linux Shell Scripting Language : Introduction to ‘For’ Loops“, we have observed how a loop works. Loop is nothing but a control flow statement which executes a block of commands repeatedly till certain condition stays true, once the condition becomes false, the loop is terminated. In this article, I …

Continue reading »

Older posts «

%d bloggers like this: