Welcome to my Linux box!

Tux ready for action
I  am a Linux user - I use Ubuntu, White Box Linux, Debian and CentOS at present, but always have other distros ready to try.  This web site will contain notes of my adventures and (hopefully) solutions to problems that I have found as I go along.

I attended all of Clive Gould's Linux Courses at Bromley College, Kent, UK.  These were the best you can get, but sadly they are no longer held.

On Page 2 are listed some of  the problems I have come up against over the years and solved.  Note: these were earlier unpatched distros and as time goes on many of these problems have ceased to exist.

It was relatively easy to set up a system which does all I need for daily use with Fedora and a little Biostar box.  I love it and the experience was great!

Now I am using Ubuntu boxes and running many virtual Windows machines on them!

Ready for action




Why put up with the stress of worrying about viruses, trojans, etc when you go online
Let the Penguin take the strain!

Remember to ensure that the built-in firewall is running on your new Linux system before you go on the Internet.  Although Linux is immune to Windows viruses, hackers can still see you if you don't take steps to stop them.

A good test for all machines, Linux or Windows, is to go to Steve Gibson's "Shields Up" website (http://www.grc.com) and take the Shields Up test.  If it replies with your machine name, you need to take action - fast!

If you are using Linux, ensure that the iptables service is running.

If you must use Windows, make sure the Windows firewall is on.  If you want more protection, Zone Alarm offer a good free firewall.


In any event, download and use the Firefox browser, and the Thunderbird email client, both are excellent, from this web address http://www.mozilla.org/product/firefox/
How to avoid downloading emails you don't want.

If your ISP is Freeserve/Orange, you can sign up for webmail and then sign in to your email account from their home page.  You put in your username, which is in the form fred.freeserve.co.uk or fred.fsnet.co.uk etc, and your password.  This takes you into your inbox where you can read mail, delete it, reply to it or mark it as spam so that it is added to the spam filters.

Other ISPs offer a similar service.  If yours doesn't, try Mail2Web.

This offers the same service, you just need your username
(in the form of bloggs@fredco.com) and password from your email account .  A little practice may be needed to get it right, but it is worth the effort.

In this way, you can delete the spam and viruses before they reach you.  Obviously you must be careful not to open any viruses as they could still infect you this way.  Mail2Web opens the emails in text form by default, which is very useful as any urls (web addresses) can be seen in full.  If it pretends to be your bank but the web address looks wrong, it IS wrong!  Delete the email at once.


A Linux Solution to a Windows Problem

I had to clean out a filesystem in order to start again for a new year.  These folders were a main folder for a Branch Office, with nested subfolders for various safety test certificates that had to be scanned and stored.  I needed to remove the files but leave the directories intact.

The files were kept on a Windows box but I  copied them over to one of my WB Linux servers.  A posting to the White Box Linux mailing list and the Bromley College mailing list provided useful answers - thanks to all who replied!

I finally chose this solution, based on those provided by these wonderful people:


cd to top level directory of file tree to be "cleaned out".
 
find . -type f -exec rm -vf {} \;
 
 I added -v so that I could see that it was doing its job.   There were thousands of sub-directories to be dealt with and it took less than a minute on the Xeon server.  I then renamed the empty top directory and copied the whole tree back to my Windows box where I now have a new start to the new year without losing last year's hard work!

A further use for this command:  list all files in a Linux directory tree (so as to create a contents list for a CD):

Go into the top level directory.

find . -type f | sort > file

Once the file is created you can open it in Open Office or Word etc, add a heading and there you are, a list of contents.

*****************************************************

TEST CERTIFICATES - SEPTEMBER

./ASHFORD, Kent, Bank St/FIRE ALARM/qtr3 22-09-05 1of1.jpg
./BARNET, High St/ELECTRICAL TEST/5yr21-07-05 1of1.JPG
./BECKENHAM/FIRE ALARM/qtr2 09-08-05 1of1.jpg
./BECONTREE/FIRE ALARM/qtr3 15-09-05 1of1.jpg

..............etc

*****************************************************

Find a specific word in a directory:

Example:
grep -r 'word' /home/fran/Emails

If you want to find directories, use:
find . -type d | grep directory name

*******************************************
Add a directory to subdirectories of a tree:

A folder on a Windows machine consists of a list of 400 buildings where various electrical etc tests are made (see above).  Under the main folder each building has a subfolder, which in turn has subfolders for each item tested, e.g. Fire Alarms, Emergency Lighting etc.  A folder for Induction Loop testing had to be added to each building record.  How to do this on Windows?

??????????

Steve of DGA wrote this script for me.

The folder in question was rsync'd to a Linux server, the script was run and the result put back onto Windows.

Job done - it took around 5 seconds to run the script.

**************************************

Delete Windows-type "cruft" from a fileserver:

find . -type f -name *.tmp -exec rm -vf {} \;

find . -type f -name Thumbs.db -exec rm -vf {} \;

********************************************

The incredible power of the *NIX command line never ceases to amaze me!


Page 2: Some weird Linux problems and their solutions

Page 3: The Epson Experience - printing

Page 4: Epson Stylus Color 1160 and Samba

Page 5: The Windows Corner - for my friends who haven't made the switch - yet!

Page 6 - Migrate a White Box Enterprise Linux 4 box to CentOS 4

Page 7 - Oddments - Various Windows and Linux stuff I have learned as I go along! Includes MailScanner

For SysAdmins - A useful link: Liz's Domino 6 on Fedora Setup:
http://www.sangster.freeuk.com/domino

There is hope.
Computer Hope's free computer help
Linus Torvalds
Linus Torvalds
creator of Linux 

Have fun!  Francies


Help save the wondrous Redsand Seafort

Home  |  Problems Solved | Printing  | Samba | Windows Corner  | WBEL to CentOS  |  Oddments