Dave Taylor

Dave Taylor's picture

Profile

Dave Taylor

Occupation: 
Work the Shell columnist

Dave Taylor has been involved with UNIX since he first logged in to the on-line network in 1980. That means that, yes, he's coming up to the 30-year mark now. You can find him just about everywhere on-line, but start here: www.DaveTaylorOnline.com. In addition to all his other projects, Dave is a film critic for a number of local publications. You can read his reviews at www.DaveOnFilm.com.


Favorites

No favorites yet. Check out what's popular today.

Guestbook

Hello Dave,

I don't know if you remember me. We've talked once or twice before. I'm Kris from http://filmsbykris.com. I currently have over 1,200 Tutorial videos up on Youtube. Many of which are on Shell Scripts.

I've been using Linux now for about 6 or 7 year now, but when I first started I was trying so hard to find a book that would help me learn how to use the shell in Linux because even in my Windows days I used the cmd a lot and was always writing batch files.

Well, the other day I was going through my closet and came across the first book that really helped me get started with shell scripts years ago. It was titled "Wicked Cool Shell Scripts". It was the first book that really helped me make some useful scripts for my machine. But, I didn't realise until the other day that the author of that book had the same name as the guy who writes my favourite Articles in Linux Journal.

So, if you are the same Dave Taylor, I just want to thank you for inspiring me. If you are not the same Dave Taylor, you still inspire me with your articles in LJ.

Thank you.

Hello Dave,

For my profession I need to look at logfiles to troubleshoot customers problems and but the problem is they do not have a standardized format. So no XML tags, CSV or any other neat and nice way to quickly dump this into a readable format.

I know there are some ways around that like searching with REGEX and the like and AWKing them into variables but one this that bothers me is that I haven't been able to find the functionality to search for a particular string, start reading from there until I reach another string and whack this into another file or variable.

Example:

XXXXX
string1
YYYYY
XXXXX
ZZZZZ
string2
LLLLL
PPPPP

What I want is to search for "string1" read lines until I hit "string2" and proceed with the rest of the script to either manipulate or store these 3 lines somewhere.

Any idea??

I've searched my * off with sed,grep,tr and all the other regex tools you can think of but I must be overlooking something really simple.

Thanks in advance.

hello dave am new can u please explain in detail about work the shell

I do enjoy your articles.

Recently I came across an old article about calculating the distance between two latitude/longitude points where you state that you gave up on bc because it lacked atan2() function. I think you forgot about sc (spreadsheet calculator), as a command tool alternative to perform calculations. It can be used in scripts and fulfill a lot of important functions.

A nice series of articles covering how sys admins can use sc to work with tabulated data garnered from everyday work would be nice.

Badiane.

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions