Parameter expansion requires a bit of practice, but it can be very useful once you’ve become familiar with its many applications. Parameter expansion on a Linux system is a feature in the bash shell ...
In this article, I want to cover a more fundamental aspect of shell scripting: working with command arguments. I suspect that most shell scripts go through an evolution with their command flags, ...
If you use bash you already know what Parameter Expansion is, although you may have used it without knowing its name. Anytime you use a dollar sign followed by a ...
This post covers some well-known Linux commands that, when used with particular options and arguments, can save you some time or ensure that what you are doing is what you intended. The first “trick” ...
The cp command on Linux has some cool options that extend its usage. Most users only do vanilla copying and never bother to explore the flags that come with it. After trying out a few, I realized that ...
This article is reprinted from the book A Practical Guide to Linux Commands, Editors, and Shell Programming 3rd edition, with permission of the author and publisher ...
Much to the chagrin of those who would like to malign the Linux operating system, it's actually quite easy to use. Thanks to modern GUI desktop environments and applications, anyone can jump into the ...