Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Legendary clubmaker Roger Cleveland raised the bar once again with the new X-Forged Wedges. Designed with input from Tour players, they are constructed from soft 1020 carbon steel for incredible feel. The clubs also feature a tighter heel-toe radius that provides increased versatility from anywhere around the green. </td>
Price: $109.00 <a href="">Buy/More Info</a>
I would love to learn how to separate important information, I want to determine how many categories there are, I tried using grep but I couldn't get it to work.
Couldn't grep be used with a wild card to identify all of the categories within this large file? something like "<category>*</category>"
I would also like to identify products that are less then $100, how can both of these things be done?
Otherwise this looks strongly like an xml-file. I'd suggest to use a scripting language like perl which comes with a package for scanning xml-files (http://xml.coverpages.org/perl-xml-faq11.html). This will help you if you have to do something more elaborate than simply find lines in such a file.
WoW!! You guys are really helpful, by any chance, could someone help me figure out how to write a perl script that will help me with these large data files?
I need a perl script that can determine...
1. How many different categories there are, I need a number. And also display all the different categories on the terminal, not displaying any category more then once.
2. Extract all of the categories I specify along with the product associated with the categories (all of the xml) into a separate file.
I'm seriously not a programmer, I've used linux for years, but still I can't program, I don't think this script would be that hard? Can someone help me with it?