Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
I want to send a list of the contents of my home folder to a friend. Since this stuff has a 'tree' type heirarchy, I thought an xml file would be the best way to represent my filesystem. Each directory could be collapsable and the entries at each node could be my files.
Is there a utility to do this, or something else that will give the same result. I just want him to be able to see the contents of my filesystem from what ever pc I mail him this attachment to.
Mix up the switches as needed. You could pipe it into a file, and write a script to wrap each line in xml as needed, or just pass it around as a text file.
Glad to hear it.
Outputting to xml would basically just be a script that loops through the tree output and wraps it in tags. The problem is I'm not sure what tags you would use, or what header info would be needed to make it a valid xml file.
Another option would be just plain html, again wrapping it in tags (maybe an unordered list, or a table).
Just dumping it to a file is probably easiest though
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.