Friends, I've tested the 'proof of concept', the file I'm wanting is easy to make. I'm hoping the readers have been programming and can do this assignment. If you want to work on it, but are embarrassed or not confident, PM me and I'll post it synonymously.

Filenane: checkdiff

Description: using the find command it searches the /parent directories and makes a text database of all files, symlinks and directories in a /parent directory. e.g. /usr and /root

We want to learn about changes in the directory from time to time. We use the find command a second time, merge the two files and pipe the test file to sort | uniq -u.

uniq only works right on a list of sorted files, the uniq -u swich will print only the differences.

Thus we can get a report on files which have been added or deleted.

Fun practical and I have an even more useful similar utility up my sleeve, but I want to see how we do on this.

#....Sheldon says this begins the friendship, but I prefer to do a worthiness evaluation
Xdialog --stdout --yesno "Is "$person" worthy?" 0 0
[ $? == 0 ] && Xdialog --msgbox "Congratulations, "$person" is now your friend" 0 0 && exit
$0 `Xdialog --stdout --inputbox "Unfortunately "$person" is not going to work out as a friend,
Enter the name of another person you would like to be friends with." 0 0`

First off let me say this is a great tutorial. Just happened across it and am loving it. But, on the first page you talked about loading a newer version of bash, but the file has been removed. Do you have any plans to put this bash.zip back up or is there some place else I might find it? So far, I'm doing okay following along with the 3.00.16 that came with Dpup, but would like to see how the newer one compares.

Thanks for the hard work that obviously went into this. I've already picked up some new skills and I'm just on chapter 7. This is going to keep me entertained for quite some time to come. _________________I carefully plan ALL my random acts!

Years ago I made simple color changing C source code to use in DOS batch programming.

The basic idea is: it was easier to type in the first three characters of a color than calling a batch file or running the full escape sequence.

If I want text to change to magenta, I enter the command 'mag' then when I want to change the text output again, I enter another color command.

The command itself doesn't insert a line break or change cursor position, it just makes to the text after the command the color I want.

I'm pasting a picture of the C source rather than posting the code as text, because the escape character usually doesn't transfer.

I think it would be very easy to make Linux code by using its escape and color sequences and the printf function.

If you are interested in the project and sharing your work

Thanks for the compliment Bruce.

Actually I had already implemented something similar in the latest SCLISS revision. It now reads a config file and any script can actually read that file.
I will post a snippet, its way too large to put it all in one post, but I'll attach the full file. I put it in /etc, which as I understand is a usual place for system
wide settings. I could have made it a hidden file in $HOME too I guess.

For instance: if you link against X11, regular ldd will also list libXau, libxdmcp and others because they are a dependency of X11

this may only be useful for someone building a small/embedded distro around proprietary software like skype, opera and flashplugin etc... but maybe other uses?

this can tell you if it is possible to statically link a dependent library directly into the shared library that is actually linked against ... or maybe even configure the shared library that is linked against without the unused libs if possible - you'd be surprised how many are really unnecessary_________________Check out my github repositories. I may eventually get around to updating my blogspot.

Here is a little script I wrote to download and allow older versions of flash to work on websites that require a newer version unnecessarily (by faking the version number)
Flash7 will work on non-gtk2 browsers
Flash9 is smaller, has much fewer dependencies (no mozilla libs) and is still being updated (for enterprise linux distros)
Flash10.X default is to install the latest version in case of a site that actually requires features that are only in 10.x.

This was my only word came out from my mouth when I clicked through page numbers to find over 90 chapters.
This is amazing lecture for people who want to learn about Linux like me. I'm going to start from the Chapter 1 now.

This was my only word came out from my mouth when I clicked through page numbers to find over 90 chapters.
This is amazing lecture for people who want to learn about Linux like me. I'm going to start from the Chapter 1 now.

Thank you very much for sharing this valuable knowledge.

I would like to second this notion. I'm still on the first page, but I will be making my way to the rest of the chapters in due time.

Thank you so much for taking the time to teach us linux newbies the TUI!

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum