Mike Chirico on 12 Sep 2004 23:27:02 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Linux Articles

The following are a few how-to articles. If you find anything
interesting, I would be up for giving a talk on it.

Virtual Filesystem: Building a
Linux Filesystem from an Ordinary File 


You can take a disk file, format it as ext2, ext3, or reiser
filesystem and then mount it, just like a physical drive. Yes,
it then possible to read and write files to this newly mounted
device. You can also copy the complete filesystem, since it is
just a file, to another computer. If security is an issue, read
on. This article will show you how to encrypt the filesystem, and
mount it with ACL (Access Control Lists), which give you rights
beyond the traditional read (r) write (w) and execute (x) for the
3 user groups file, owner and other.

90+ Linux Tips 

There are over 90 Linux tips and tricks from using encryption, tar,
cpio, setting up multiple IP addresses on one NIC, tips for using
man, putting jobs into the background, using shred, watch who is
doing what on your system, listing system settings, IPC status, how
to make a file immutable so that even root cannot delete, ssh key
pair generation, keeping 12 months of backups in the system logs,
low level tap commands (mt), mount an ISO image as a filesystem,
getting information on the hard drive, setting up cron jobs, look
command, getting a bigger word dictionary, find out if a command is
aliased, ASCII codes, using elinks, screen commands, FTP auto-login,
Bash brace expansion, Bash string operators, for loops in Bash,
diff and patch, script, change library path (ldconfig), monitor
file usage, --parents option in commands, advance usage of the find
command, cat tricks, guard against SYN flood attacks and ping,
special shell variables, RPM usage, finding IP and MAC address,
DOS to UNIX conversion, PHP as command line scripting language,
Gnuplot, POVRAY and making animated GIFs, plus a lot more.

NTP, UTC, and Working with Time on Linux 

This article defines what is meant by UTC, shows you how to use
the date command to calculate the date for any timezone including
with or without dst. Plus you will see how to setup and confirm
that NTP is working. There is also a program to calculate sunrise
and sunset given longitude and latitude in degrees.

How to Compile 2.6 kernel for RedHat 9 and 8.0 and get
Fedora Updates Upgrading Redhat 9 or 8.0 to the 2.6.x kernel. 


This is a step by step approach on how to compile the kernel from
source, then, get yum updates for all your other packages. There
is also information and examples on writing a 2.6 kernel module.
MySQL Tips and Tricks Find out who is doing what in MySQL and how
to kill the process, create binary log files, connect, create and
select with Perl and Java, remove duplicates in a table with the
index command, rollback and how to apply, merging several tables
into one, updating foreign keys, monitor port 3306 with the tcpdump
command, creating a C API, complex selects, and much more.

Email on Home Linux Box 

Suppose you have accounts on your home Linux system that differ
from the name of your email accounts from your ISP. For instance,
my email account (from Comcast) is mchirico but the account I
have on my Linux box is chirico. What I wanted to do, is use the
local chirico account to get, create, send, email automatically as
mchirico@comcast.net. This article will show you how to do that.

Common Scripts 


Automating FTP, generating email alerts, sending GPG encrypted
email from the command prompt with the appropriate "pgp-encrypted"
mime types, and running MySQL from the command without exposing
passwords, are all detailed in this article.

Sorry for the long listing. Hopefully, it will display correctly.


Mike Chirico
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug