Welcome!

Dave Taylor

Subscribe to Dave Taylor: eMailAlertsEmail Alerts
Get Dave Taylor via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Dave Taylor

What happens when you turn a perfectly good Apple PowerBook into a tri-boot system with Mac OS X, Yellow Dog Linux, and Ubuntu Linux? Read on to find out. Mac OS X is built of two components: Darwin, the BSD-based Unix underpinnings, and Aqua, the beautiful graphical user interface we Mac heads have all grown to love. However, there are other operating systems and other work environments that can be installed on an Apple system, based on popular open source Linux applications. If you're looking for Intel-based versions of Linux, there are dozens and dozens, but the PowerPC chip cuts those options down quite a bit. I decided it'd be interesting to install the most popular Linux for PowerPC - Yellow Dog 4.0 - and an up-and-coming Debian-based Linux distro that's getting quite a bit of buzz in the community: Ubuntu Linux. Unlike Microsoft's VirtualPC application, thes... (more)

String and Numeric Test Statements

Last month I talked about the file-related options to the test command and how that helps you create smart and sophisticated shell scripts. This time I want to look at the additional conditions available for looping and flow control. String TestsOne common test in shell scripts is to ascertain whether something the user has typed in or something pulled out of a data stream or file matches a specific pattern or string. The first of these tests is -z $string, which returns true if the string is zero length, false otherwise. Consider this snippet: empty="" if [ -z $empty ] ; then e... (more)

Making C Shell Jump Through Hoops

By this point in our discussion you should be comfortable with the idea of the three file descriptors associated with the Linux command line: stdin, stdout, and stderr (pronounced "standard in," "standard out," and "standard error"). If you're using a descendant of the Bourne Shell (such as Bash), you also learned last month how to use the x>&y notation to redirect the different descriptors from the command line, and therefore from within a script too. This time I'll turn my attention to the C shell with its different command-line syntax. My focus here is ultimately on shell scr... (more)

The Worlds of RSS, XML, HTML, and Linux Meet

I'm a rabid Linux fan. I write books about it, I have servers running it, and I even have various flavors of Linux as dual-boot defaults on my PCs. But keeping up with Linux news can be a bit of effort, particularly if I want to have that up-to-date news on a Web page, rather than in an RSS Aggregator. Fortunately, it's a matter of ten minutes of shell script programming to remedy this. In this article, I'll show you step-by-step exactly how to create a cron job that'll automatically create an HTML file that contains the latest headlines from LinuxWorld.com. Just don't tell their W... (more)

Ask the AnswerSquad!

Q:  AnswerSquad, I need your help. Try as I might, I can never seem to keep my users from sucking up all the available disk space. I know I could try using the quota system on my Linux box to keep people in check, but I know my users and know that they'd just get cranky about the system enforcing limits. Instead, I'd like to just have some automated way to send them pestering e-mail if they're using more than their fair share of disk space. But I don't see any existing utility to do this. Help! One of the classic Unix admin tasks is figuring out who is taking up all the disk spa... (more)