Variables often look like $var, but they also look like $1, $*, $? and $$. Let's take a look at what all these $ values can tell you. A lot of important values are ...
One of the common tasks you'll encounter when scripting in Bash is performing arithmetic operations on variables, particularly division. This process might seem straightforward, but it requires ...
In our first tutorial on command line wizardry, we covered simple redirection and the basics of sed, awk, and grep. Today, we’re going to introduce the concepts of simple variable substitution and ...
We often read (including in the book Advanced Bash-Scripting Guide by Mendel Cooper) that if we pass variable names as parameters to functions, they will be treated as string literals and cannot be ...
How-To Geek on MSN
This Bash script automated my messy downloads folder
Bulky, assorted files filling up my Downloads folder are no more.
Hosted on MSN
How to work with arrays in Bash scripts
If you're working with a large amount of data in your Bash scripts, arrays will make your life a lot easier. Some people get intimidated by the syntax. But once learned, it will make your scripts more ...
Linux 101: What are environment variables? Your email has been sent Jack Wallen introduces you to Linux environment variables. What are they and how are they set and ...
I'm working on some scripts that execute on various servers, and I'm trying to consolidate them into one. The problem is that I need to run remote commands but can't ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results