|
Jan 30, 2003 Linux News - Issue #117 Jan 23, 2003 Linux News - Issue #116 Jan 16, 2003 Linux News - Issue #115 Jan 9, 2003 Linux News - Issue #114 Jan 2, 2003 Linux News - Issue #113 Dec 19, 2002 Linux News - Issue #112 Dec 12, 2002 Linux News - Issue #111 Dec 5, 2002 Linux News - Issue #110 Nov 28, 2002 Linux News - Issue #109 Nov 21, 2002 Linux News - Issue #108 Nov 14, 2002 Linux News - Issue #107 Nov 7, 2002 Linux News - Issue #106 Oct 31, 2002 Linux News - Issue #105 Oct 24, 2002 Linux News - Issue #104 Oct 17, 2002 Linux News - Issue #103 Oct 10, 2002 Linux News - Issue #102 Oct 3, 2002 Linux News - Issue #101 Sep 26, 2002 Linux News - Issue #100 Sep 19, 2002 Linux News - Issue #99 Sep 12, 2002 Linux News - Issue #98 Sep 5, 2002 Linux News - Issue #97 Aug 29, 2002 Linux News - Issue #96 Aug 22, 2002 Linux News - Issue #95 Aug 15, 2002 Linux News - Issue #94 Aug 8, 2002 Linux News - Issue #93 Aug 1, 2002 Linux News - Issue #92 Jul 25, 2002 Linux News - Issue #91 Jul 18, 2002 Linux News - Issue #90 Jul 11, 2002 Linux News - Issue #89 Jul 4, 2002 Linux News - Issue #88 Jun 27, 2002 Linux News - Issue #87 Jun 20, 2002 Linux News - Issue #86 Jun 13, 2002 Linux News - Issue #85 Jun 6, 2002 Linux News - Issue #84 May 30, 2002 Linux News - May 30, 2002 May 23, 2002 Pearl In The Shell May 16, 2002 Linux Filesystems - Part Two May 9, 2002 Inside The Linux Filesystem May 2, 2002 CD Burning Under Linux Apr 25, 2002 Star Office Vs. Open Office Apr 18, 2002 Surfing With Mozilla Apr 11, 2002 "We Don't Support Linux..." Apr 4, 2002 Visit The UNIX Library Mar 28, 2002 Linux and World Domination Mar 21, 2002 Working With Keyservers Mar 14, 2002 A Look At Public Key Cryptography Mar 7, 2002 Monitoring Systems With "vmstat" Feb 28, 2002 Star Office 6 Not to be Free for Linux? Feb 21, 2002 How Can Programming Benefit a Systems Administrator? Feb 14, 2002 Alias: It's Not Just a TV Show Feb 8, 2002 Using The diff and patch Utilities Jan 31, 2002 How To Detect Cracks Jan 24, 2002 Using Razor to Shave Away Spam Jan 17, 2002 Stomping Spam Jan 10, 2002 Sair Linux Courseware Review Jan 3, 2002 2002: The Year of the Penguin! Dec 27, 2001 UNIX Apps on a Windows Box? Dec 20, 2001 Directory Assistance Dec 13, 2001 How Do You Kill Zombies? Dec 6, 2001 Using Hard and Soft Symlinks Nov 29, 2001 Change Terminal-Based Apps Into Network Apps Nov 22, 2001 Adventures In Booting Nov 15, 2001 Getting To Know PAM Nov 8, 2001 Know Your Enemy Nov 1, 2001 Do Mulder and Scully Use X-Windows? Oct 25, 2001 A Quick Look at the RHCE Certification Oct 18, 2001 What's Up With Linux Certification? Oct 11, 2001 Express Yourself Regularly Oct 4, 2001 Advice For Lazy Penguins? Sep 27, 2001 NVIDIA Jumps On Linux Bandwagon Sep 20, 2001 Understanding DNS in a Linux Environment Sep 13, 2001 Be Careful With Binaries Sep 6, 2001 Party Like It's 999,999,999 Aug 30, 2001 Rooting Out Memory Hogs Aug 23, 2001 Spin Your 'Top' Aug 16, 2001 Keeping Time With NTP Aug 9, 2001 Supporting True Type Fonts Aug 2, 2001 Getting Perl To Fetch Jul 26, 2001 Who's The Man?! Jul 19, 2001 Adobe Cracks The DMCA Whip Jul 12, 2001 Due Processes Jul 5, 2001 Going Adobe Free Jun 28, 2001 Don't Send Mixed SIgnals Jun 21, 2001 Everything is a File. (almost) Jun 14, 2001 Know Your Partitions Jun 7, 2001 Where it's "at"! May 31, 2001 A Sneak Peek at RedHat 7.1 May 24, 2001 Scheduling Tasks With cron - Part 2 May 17, 2001 Scheduling Tasks With cron May 10, 2001 Open Source - Seeing Through The FUD May 3, 2001 A Look At Ximian's New Release Apr 26, 2001 Rev Up Your X-Windows Session Apr 19, 2001 Wrangling With GNU Cash Apr 12, 2001 Tame the syslogd Daemon Apr 5, 2001 Test Your Admin Skills At Honeynet Mar 29, 2001 Software RAID on Your Linux Box Mar 22, 2001 Prevent Disasters: Back It Up Mar 15, 2001 Notes From Underground! Mar 8, 2001 SuSE 7.1 - A First Look Mar 1, 2001 Certification Boot Camp Feb 22, 2001 Understanding Runlevels Feb 15, 2001 What Are The Advantages of Joining a LUG? Feb 8, 2001 Diving For Perls Feb 1, 2001 How To Secure Your Linux Installation Jan 25, 2001 Linux Problem Solving Jan 18, 2001 Stand up and Be Counted! Jan 11, 2001 2.4.0 is Here! Jan 4, 2001 When will Mom use Linux? Dec 28, 2000 The Year in Review Dec 21, 2000 The SourceForge Solution Dec 15, 2000 How to Compile and Install the New Kernel Dec 7, 2000 Put Your E-mail Into A Blackberry Basket Nov 30, 2000 Using Perl With Linux Nov 23, 2000 Working With MP3's Under Linux Nov 16, 2000 Apache 2.0 alpha 4 Nov 9, 2000 Dell loves Linux! Nov 2, 2000 What's Up With RedHat 7? |
===========================================================
LINUX NEWS
http://www.Cramsession.com
September 5, 2002 - Issue 97
===========================================================
-----------------
TABLE OF CONTENTS
-----------------
1) Sean's Notes
2) Linux News
Verisign in Hot Water
Doc Searls Reviews Gnomedex
Dell To Build Cluster
HP Sets EOL Date for PA-RISC, Alpha
3) Linux Resources
Dual Booting XP and Linux
Mozilla Laziness
Load Balancing With LVS
Automate Installs With Kickstart
The SCSI System in Action
4) App o' the Week
~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~
Free Quizzer for all Cramsession subscribers. Your choice of
Win2K Professional, A+, Network+, CCNA, CCNP, or MetaFrame.
Hundreds of Free multiple-choice questions/answers and detailed
explanations, and lots of free reference material in our
adaptive simulation test engine. Limit one per Cramsession
subscriber. Download your FREE Quizzer at:
http://ad.brainbuzz.com/?RC06&AIV13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For information on how to advertise in this newsletter
please contact mailto:adsales@CramSession.com or visit
http://cramsession.com/marketing/default.asp
===============================================================
1) Sean's Notes
===============================================================
Now where did I put that file?
That's a question I've asked myself many times. There's another
version of that question, namely:
Now where did he put that file?
The latter question is often asked when the file name is
"fix_database", the database is down, and the person referred to
as "he" is unavailable (or asking himself the first question).
The Unix filesystem is big, and with hard drive sizes ever
increasing, odds are you're going to misplace a file every so
often. Fear not! There are some utilities out there that can
help you find that lost file and save the day.
The first command is "which". The purpose of this command is to
tell you the full path to the command you type. Thus:
# which sendmail
/usr/sbin/sendmail
lets me know that if I type "sendmail", then "/usr/bin/sendmail"
will be executed. If it turns out to be an alias, it'll let you
know that too:
# which ls
alias ls='ls --color=tty'
/bin/ls
The problem with "which" is that it only searches $PATH. If
/usr/sbin wasn't in my path, it would have said:
# which sendmail
/usr/bin/which: no sendmail in
(/spool/adabas/bin:/spool/adabas/pgm:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)
So, a helpful command, but not always the answer.
The next one is "locate". Every night, your system should run a
command called "updatedb" which traverses your filesystem and
stores the location of every file. When you type "locate foo",
it searches through this database for "foo". Note, it's a
partial match, so it'll match:
food
/usr/food/blah
aaafooaaa
More caveats -- the index is only updated nightly. If, for some
reason, the index doesn't run, your database won't be updated
(if it goes for longer than a week, you'll get a warning when
you run locate). If the file was created after updatedb was
run, you won't find it either.
Later versions of the locate package actually use "slocate",
which is a secure version. It used to be that anyone could look
at the whole database, so you could see the contents of people's
directories even if permissions denied it (since updatedb
usually ran as root). slocate keeps track of permissions, so
you only see files you normally could.
# locate fix_database
/usr/scripts/fix_database.pl
Well, that's where he stored it.
If locate doesn't turn it up, or you want to be really flexible,
"find" is what you want. Find traverses the filesystem every
time you run it, so there is a penalty associated with running
it. The general form of the command is:
find starting_points options
So...
find / -name fix_database.pl
...will start at the root directory, and find a file with the
name "fix_database.pl" (note it's not partial match). Since
you think it'll probably be in /usr or /home, you can give
that hint:
find /usr /home -name fix_database.pl
But maybe it wasn't "fix_database.pl". It started with fix,
and was a perl script...
find /usr /home -name fix\*.pl
Note that I used \* instead of *. That was because I'd be
typing it at the shell prompt, and I wanted to pass "*" to find,
and not have the shell try to expand the wildcard before passing
to find. The use of the backslash is called "escaping", or
"protecting from the shell".
Find is also a very versatile command. You can return files
owned by a certain person, or that were accessed or modified
between certain periods of time, or that have a certain size
range. It's commonly used in cron to clean up temporary
directories. For example, if you wanted to find all the "core"
files in /home that were a month old:
find /home -name core -atime +30
or, even have it delete them:
find /home -name core -atime +30 -exec rm {} \;
(note the ; must also be protected from the shell)
So, between "find", "which", and "locate", you should be able to
find the file you're looking for!
Long live the Penguin,
Sean
mailto:swalberg@cramsession.com
===============================================================
2) Linux News
===============================================================
------------------------------------
Verisign in Hot Water
------------------------------------
Everyone's favourite domain registrar *cough*not*cough* is
in trouble because their customer information is not up to date.
People like "Toto", living on "Yellow Brick Road" are able to
register domains, and ICANN doesn't like it.
http://news.com.com/2100-1023-956433.html?tagı_top
------------------------------------
Doc Searls Reviews Gnomedex
------------------------------------
Gnomedex was just the other week, and the senior editor
of Linux Journal gave his review of the event.
http://www.linuxjournal.com/article.php?sidc10
------------------------------------
Dell To Build Cluster
------------------------------------
Dell is getting into the cluster market, building a 2,000 node
cluster to help the University at Buffalo with their scientific
research. At 5.6 terraflops, it'll end up on the top 500 most
powerful computers in the wold.
http://news.com.com/2100-1001-956153.html
------------------------------------
HP Sets EOL Date for PA-RISC, Alpha
------------------------------------
Now that HP owns both the PA-RISC and Alpha lines of processors, they've
set the End of Life dates to be the same. No news on what will happen
after that, though.
http://www.theinquirer.net/?articleR56
===============================================================
3) Linux Resources
===============================================================
------------------------------------
Dual Booting XP and Linux
------------------------------------
Getting your regular Windows OS and Linux to coexist on one
machine can be a chore. If you really want this kind of
punishment, here's the page for you.
http://www.redhat.com/advice/tips/
------------------------------------
Mozilla Laziness
------------------------------------
My brother showed me this trick with Mozilla that you can use to
create shortcuts to almost anything. For example, if I wanted to
do a google search for "linux", I could type "gg linux" in the
URL bar. Here's a page showing how this time-saving feature can
be implemented.
http://surfmind.com/lab/moz/
------------------------------------
Load Balancing With LVS
------------------------------------
The Linux Virtual Server project is often used to front end a
web server farm so that the load gets spread out over the
cluster, and so a downed machine doesn't cause service to be
affected. This article shows another use, namely load balancing
X-Windows sessions across a farm of HP-UX machines.
http://www.samag.com/documents/su53/sam0209a/0209a.htm
------------------------------------
Automate Installs With Kickstart
------------------------------------
Features like this are why I love Red Hat. Kickstart lets you
script an install of Red Hat, such that you can boot from a
single floppy or CD and install a box (hands free) over the
network. An old friend, njcajun, has put together a great
article on getting this software up and running.
http://www.linuxlaboratory.org/modules.php?op=modload&name=Sections
&file=index&req=viewarticle&artid=4
------------------------------------
The SCSI System in Action
------------------------------------
SCSI, as it pertains to the kernel, is implemented as a series
of smaller parts, each of which serves a distinct function. This
article unravels the whole thing; it's very informative,
especially if you've wrestled with SCSI before.
http://www.linuxplanet.com/linuxplanet/reports/4416/1/
===============================================================
4) App o' the Week
===============================================================
802.1x is an authentication protocol used on both wireless and
wired networks. Its purpose is to only allow authorized people
on the network, and Cisco even uses it to assign predefined
VLANs to users. This is a Linux implementation of the client.
http://www.wohnheim.uni-mainz.de/~rw/802.1x/
===============================================================
(C) 2002 BrainBuzz.com, Inc. All Rights Reserved.
===============================================================
_______________________________________________________
This message is from CramSession
You are currently subscribed to the following list
Hottest Linux News and Resources
as: sean@ertw.com
To un-subscribe from this newsletter by e-mail,
send a blank email message to:
mailto:leave-linuxnews-3825955Y@list.cramsession.com
To subscribe to this newsletter and many others visit
our site at:
http://newsletters.cramsession.com/signup/default.asp
-------------------------------------------------------
|