Cramsession Linux Newsletter

Cramsession.com Linux News Archive

Please note that I've stopped writing the Linux News as of January 30, 2003, as Cramsession has cancelled most of their newsletters. You can send any questions or comments about this content to me (sean at ertw . com)
People have been asking for a downloadable version of the archives. [My mbox (one big file, 1.4MB)] [Individual files, text, tarball] [Individual files, html, tarball]
If you're looking for more Linux content, you might like my blog.
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
            RESOURCES & LINKS FROM BRAINBUZZ.COM
                 Thursday, June 21, 2001
         Read By Over 6,000 Linux Enthusiasts Weekly!
===========================================================

-----------------
TABLE OF CONTENTS
-----------------

1) Sean's Notes

2) Linux News

	Red Hat in the Black
	GCC 3.0 Released
	Linux Firewalls
	Linux Comparison...Or is it?

3) Linux Resources

	Diary of a Linux Newbie
	Setting up PostgreSQL
	Linux Newbie Administrator's Guide
	System Maintenance Can be Fun
	GIMP-PERL Debugging

4) App o' the week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~

Cisco CCIE Certification Toolkit, 3 books and 2 CDs -
reference set for Cisco's internetwork operating system, is
now $9.99 -- save over $199! A great resource if you're
preparing for the CCIE exam or want to design networks, move
through any configuration of Cisco IOS-based routers, and
take advantage of test preparation techniques.

http://ad.brainbuzz.com/?RC06&AI294

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For information on how to advertise in this newsletter
please contact mailto:adsales@BrainBuzz.com or visit
http://cramsession.brainbuzz.com/marketing/default.asp

===========================================================
1) Sean's Notes
===========================================================
One of the directories you'll find on your Linux box is known
as /dev.  In it are a bunch of strange filenames, lots of
numbers and the like.  If you do an ls -l on one of them,
you'll notice they look different than normal files:

$ ls -l /etc/passwd /dev/hda1
brw-rw----    1 root     disk    3,   1 Mar 23 22:37 /dev/hda1
-rw-r--r--    1 root     root     976 May 29 21:56 /etc/passwd

The first thing you'll notice is the first character of the
line. passwd has a '-', meaning a normal file (you might also
be familiar with 'd' for Directory), while hda1 has a 'b'.
The 'b' means "block device", which is part of something
central to Unix:

Everything is a file.  (well, almost everything)

hda1 happens to be the first partition of the first IDE hard
drive.  Yea, that's a file.  If you have the rights, you can
cat it, vi it, or send it to your speaker.  It's just a file.
But it's got that 'b'.  Unix knows that /dev/hda1 is your
hard drive because of the "3,1" in the fifth column.  Those
numbers make up the major and minor device numbers
respectively.  Numbers are reserved within the kernel, so
when the kernel is doing an operation on a file marked as a
block device with id 3,1, it knows where to look.

A block device is one that reads and writes in blocks, usually
disk drives, RAM disks, and the like.  On a similar vein are
character devices, which read and write a character at a time,
like your keyboard, memory, or serial devices.  Surprisingly
enough, they have a 'c' in the beginning.

Like other files, devices have an owner and a group,
timestamps, and a name.  (That's a Good Thing -- you don't
want anyone to be able to read and write directly to a hard
drive!)  You create devices with the "mknod" command (but the
kernel has to understand the numbers you assign), and delete
them with the "rm" command (but deleting the file doesn't
destroy the device, just your link to it).

Some of the more popular devices are IDE drives: hdXN, where
X is a letter and N is either nothing (meaning the disk itself),
or a non-zero, positive integer (meaning the Nth partition).
SCSI drives look the same, except instead of hd you have sd.
Serial ports are ttySN, so COM1 is ttyS0, COM2 is ttyS1, etc.

One common device is /dev/null, otherwise known as the bit
bucket.  Anything sent there is lost, so if you mv a file
there, say goodbye.  This is a great place to redirect output
that you don't care about, especially in crontabs or scripts:

myprog > /dev/null   # output suppressed

/dev/zero will spit out 0's until the cows come home,
/dev/urandom will do the same thing with pseudo-random numbers,
and /dev/random does much the same thing except that it'll
pause every so often to collect entropy from the computer.

Some devices (things) that aren't devices (files) are your
network cards (eth0), though PPP devices (ppp0) have a
corresponding file (/dev/ppp).  This is nothing to worry
about, as there are ways to do it if you want to be able to
read and write packets to your NIC by a file.

By habit, device files live in /dev (because it would suck
if you accidentally cleaned up your hard drive and lost it
in the process).  So, tread carefully in /dev!

Long Live the Penguin,

Sean
mailto:swalberg@brainbuzz.com

Visit the Linux News Board at
http://boards.brainbuzz.com/boards/vbt.asp?b–2

===========================================================
2) Linux News
===========================================================

--------------------
Red Hat in the Black
--------------------
Even with IT budgets shrinking, Red Hat managed to post a
profit for the first quarter, a sign that Open Source
software is great value. This press release lists some big
customers that even surprised me, someone who likes to
follow what this company is up to.

http://www.redhat.com/about/presscenter/2001/press_Q12002.html

----------------
GCC 3.0 Released
----------------
Formerly the GNU C Compiler, now the GNU Compiler Collection,
this ubiquitous piece of software has reached a milestone,
Version 3.0. Look forward to better optimization and more
targets, not to mention a slew of fixes and features.

http://gcc.gnu.org/gcc-3.0/gcc-3.0.html

---------------
Linux Firewalls
---------------
I found this book to be a solid text on using ipchains in
many different firewalling situations. If you thought that
firewalling meant setting up masquerading and walking away,
you are in for a surprise!

http://itresources.brainbuzz.com/tutorials/tutorial.asp?t=S1TU1328

-----------------------------
Linux Comparison... Or is it?
-----------------------------
I initially thought that this was another benchmark showing
Linux on top, but after a while it turned into a prime
example of how benchmarks can be skewed. The test in
question is a UNIX application that was ported to Windows,
so WIN32 performance suffers off the hop. Add to it some bad
assumptions, and you can make the data look almost any way
you want. Validity of the data aside, there is some good info
on how sockets work, not to mention a couple of nuggets about
tuning.

http://www.sysadminmag.com/articles/2001/0107/0107a/0107a.htm


===========================================================
3) Linux Resources
===========================================================

-----------------------
Diary of a Linux Newbie
-----------------------
In ten installments, this fellow chronicles his trek from a
Linux newbie to... er... non newbie, I guess. It is pretty
interesting reading, even for folk that have been down this
path.

http://www.linuxdot.org/diary/

---------------------
Setting up PostgreSQL
---------------------
PostgreSQL is one of the more popular Open Sourced SQL
engines out there. Compared to the ever famous MySQL, it
offers transactions, sub-selects, and a whole whack more
stuff. However, it's not quite as friendly as it's lean and
mean cousin, which is why this article will come in handy.

http://phpbuilder.com/columns/kevin20010314.php3

----------------------------------
Linux Newbie Administrator's Guide
----------------------------------
This guide is designed to help you out after you've installed
your system. Everything from X, to devices, to networking
seems to be covered here, so you'll want to bookmark this one!

http://sunsite.dk/linux-newbie/

-----------------------------
System Maintenance Can be Fun
-----------------------------
Are your users sucking up CPU and memory? Blast 'em with the
BFG! Oh yea, I forgot to mention, I'm talking about a version
of Doom where processes are represented by monsters, and you
can kill them (or just knock down their priority) with
various weaponry. Who said UNIX isn't user friendly?

http://www.cs.unm.edu/~dlchao/flake/doom/

-------------------
GIMP-PERL Debugging
-------------------
If you've used the GIMP, an awesome graphics editor, you'll
know that there are a lot of plugins available. If you've
ever wanted to try your hand at writing one, perhaps to
automate a task you regularly perform, you'll need a way to
debug as you go. This tutorial covers the making of a simple
script, and the way to debug it.

http://www.gimp.org/~sjburges/perl_debug/intro.html


===========================================================
4) App o' the week
===========================================================
For those of us who can't live without our Palm Pilots, this
is a pretty handy app to have around. Abacus is a spreadsheet
for the pilot that...here's the Linux connection...syncs up
with Linux. The format you'll see is Lotus 1-2-3, which
should be readable by StarOffice and Gnumeric, so you can
work on those numbers wherever you go!

http://www.pmdc.pt/abacus/

===========================================================
(C) 2001 BrainBuzz.com. All Rights Reserved.
===========================================================

_______________________________________________________

         This message is from BrainBuzz.com.

You are currently subscribed to the
   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 by e-mail:
   send a blank email message to:
   mailto:join-linuxnews@list.brainbuzz.com
_______________________________________________________