Well, we've pretty much run the gamut with Linux and C. However, there are a few other excellent tools you should know about.
Documenting code is a pain for most people. After months and months of diligent coding, they have to go back and create meaningful descriptions of all their library functions and how they
In modern internet lingo, awk is a synonym for awkward or abnormal. However, the Linux tool awk (and its brethren, gawk and nawk) are anything but awkward.
Awk - the programmable filter
So far, we've looked at a set of filters that perform fairly singular tasks. LESS and MORE are designed to filter output to the
Sed is a powerful editing tool, but difficult for most modern computer users to grasp. We'll cover some of the basics here so that you can understand it when you see it in a script.
Soon we'll talk about perhaps the most powerful programmable filter ever conceived (the scripting language AWK), but first let's look at a few other common filters and their uses.
The filter more is a program that lets us print output one screen at a time. If you've ever run a diff between two files or
Let's revisit filters with a timeless classic - grep.
There are a few programs in Linux which every programmer MUST use at one point or another. Most of these are every-day tools, without which we cannot survive.
There are three basic functions we use to move files around in the Linux terminal. They are, in no particular order:
cp source_location destination_location - Copy a