How-To Geek on MSN
A gentle introduction to Bash functions
Bash functions are essentially reusable wrappers around commands. You can use them to define complex command pipelines or to perform some detailed work and echo the result. They accept arguments and ...
If you are a traditional programmer, using bash for scripting may seem limiting sometimes, but for certain tasks, bash can be very productive. It turns out, some of the limits of bash are really ...
Even if you're already familiar with the printf command, if you got your information via "man printf" you may be missing a couple of useful features that are provided by bash's built-in version of the ...
While Linux systems install with thousands of commands, bash also supplies a large number of “built-ins”—commands that are not sitting in the file system as separate files, but are part of bash itself ...
How-To Geek on MSN
A beginner's introduction to Bash parameter expansions
At a basic level, parameter expansion means changing Bash syntax into a value—expanding it. For example: echo "$foo" This simple variable turns into its assigned value. However, ...
It’s quite easy to get bash to concatenate strings and do simple math on Linux, but there are a number of options for you to use. This post focusses on concatenating strings, but also shows how one of ...
and only files matching my_test_here would make it onto do_something. I love the while-read pattern, but it just doesn't feel right that there's no simpler, built-in, idiomatic way to write a function ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results