<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- if you want the source of this file the use ftp not http. The file contains ssi and you will see the wrong code if you use http --> <HTML> <HEAD> <META name="generator" content="HTML Tidy, see www.w3.org"> <META http-equiv="Content-Type" content= "text/html; charset=iso-8859-1"> <LINK rel="StyleSheet" href="../../common/style_issue.css" type= "text/css"> <TITLE>LinuxFocus Magazine, September 2001</TITLE> </HEAD> <BODY bgcolor="#ffffff" text="#000000"> <!-- 2pdaIgnoreStart --> <!-- top navegation bar --> <TABLE cellspacing="0" cellpadding="0" border="0" align="center" width="90%"> <TR bgcolor="#2e2292"> <TD class="top"> <TABLE cellspacing="0" cellpadding="0" border="0" width= "100%"> <TR> <TD width="144"><IMG src= "../../common/images/logolftop.gif" alt= "[LinuxFocus-icon]" width="350" height="45" align="left" border="0"></TD> <TD class="top"> <TABLE width="100%"> <TR align="right"> <TD class="top"><A class="nodec" href="../index.shtml"><FONT color= "#DDDDDD">Home</FONT></A> | <A class= "nodec" href="../map.html"><FONT color= "#DDDDDD">Map</FONT></A> | <A class= "nodec" href="../indice.html"><FONT color= "#DDDDDD">Index</FONT></A> | <A class="nodec" href="../Search/index.html"><FONT color= "#DDDDDD">Search</FONT></A> </TD> </TR> <TR align="right"> <TD class="top"> <HR width="100%" noshade size="1"> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <!-- end top navegation bar --> <!-- blue bar --> <TABLE cellspacing="0" cellpadding="0" border="0" align="center" width="90%"> <TR bgcolor="#00ffff"> <TD><IMG src="../../common/images/transpix.gif" width="1" height="2" alt=""></TD> </TR> </TABLE> <!-- end blue bar --> <!-- bottom navegation bar --> <TABLE cellspacing="0" cellpadding="0" border="0" align="center" width="94%"> <TR bgcolor="#000000"> <TD> <TABLE cellspacing="0" cellpadding="1" border="0" width= "100%"> <TR align="center"> <TD><A class="nodec" href="../News/index.html"><FONT color= "#FFFFFF">News</FONT></A> </TD> <TD><FONT color="#FFFFFF">|</FONT> </TD> <TD><A class="nodec" href="../Archives/index.html"><FONT color= "#FFFFFF">Archives</FONT></A> </TD> <TD><FONT color="#FFFFFF">|</FONT> </TD> <TD><A class="nodec" href="../Links/index.html"><FONT color= "#FFFFFF">Links</FONT></A> </TD> <TD><FONT color="#FFFFFF">|</FONT> </TD> <TD><A class="nodec" href="../aboutus.html"><FONT color= "#FFFFFF">AboutLF</FONT></A> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <!-- end bottom navegation bar --> <!-- 2pdaIgnoreStop --> <!-- start content --> <!-- PALM DOC --> <TABLE border="0" hspace="2" vspace="2" width="100%"> <TR> <TD><!-- 2pdaIgnoreStart --> <FONT size="1"><IMG src="../../common/images/2doc.gif" width= "34" align="left" border="0" height="22" alt= "convert to palm"><A href= "http://cgi.linuxfocus.org/cgi-bin/2ztxt">Convert to GutenPalm</A><BR> or <A href="http://cgi.linuxfocus.org/cgi-bin/2pda">to PalmDoc</A></FONT> <!-- 2pdaIgnoreStop --> </TD> <TD> <CENTER> <H1>Welcome to the LinuxFocus September/October 2001 issue</H1> </CENTER> </TD> </TR> </TABLE> <!-- END PALM DOC --> <BR> <P><A href="http://www.eff.org/br/"><IMG src= "../../common/images/coverSeptember2001.gif" width="112" height= "76" alt="[Online Free Speech]" align="right" vspace="10" hspace= "10"></A> Democracy, government by the people? At least this is what the Greek word originally meant but where are we today? For the USA we should probably say that Democracy is where money rules. It looks like the "right" to make profit becomes increasingly more important than the freedom to exchange ideas and information. <A href="http://freesklyarov.org/">Dmitry Sklyarov</A> is facing charges higher than armed robbers and child molesters. What did he do? He wrote a piece of software that had the potential to reduce the profit of Adobe and other companies. The device is still legal in most countries and was legal until one year ago in the US.<BR> It would allow you to do with E-books what you can do today with paper books in any print-shop around the corner: copy pages from a book.<BR> <BR> Big corporations are managing to get laws in place that have the potential to severely restrict everybody's freedom and allow a few individuals to make enormous profits.<BR> <BR> Just a few centuries ago people, science and the whole society was suffering because a few monarchs and dictators had everything and could do anything. Are we heading back in that direction?<BR> <BR> How is it possible that laws which restrict the freedom to exchange digital speech are being put in place?</P> <UL> <LI>It increases extremely the profit of very few individuals and they are very eager to push such laws through.</LI> <LI>Computers are fairly new and most people still can't relate to thoughts written down as software and digital information and speech.</LI> </UL> Speakup, it's time to make everybody aware of the damages that this will do to the society and everybody's freedom. It is very likely that you will not be making any profit on stricter copyright, patent ... etc laws. <BR> <BR> <BR clear="all"> <HR width="65%" noshade size="1"> <!-- content --> <CENTER> <H2>LinuxFocus.org Articles</H2> </CENTER> <H4>Software Development</H4> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article198.shtml">Avoiding security holes when developing an application - Part 5: race conditions</A> , by Frédéric Raynal, Christophe Blaess, Christophe Grenier<BR> <BR> This article focuses on problems related to multitasking and exclusive access of resources. </LI> </UL> <H4>UNIX Basics</H4> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article216.shtml">Shell Programming</A> , by Katja Socher and Guido Socher<BR> <BR> The shell has its own quite powerful programming language. This article explains how to write shell programs also known as shell scripts. </LI> </UL> <H4>System Administration</H4> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article214.shtml">Psionic Portsentry 1.1, the defender of the ports</A> , by Georges Tarbouriech<BR> <BR> Portsentry is a Intrusion Detection System for monitoring TCP/UDP ports. </LI> </UL> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article215.shtml">E-mail over UUCP</A> , by Guido Socher<BR> <BR> UUCP is an old protocol but it is very good to handle E-mail over dialup connections. </LI> </UL> <H4>Graphics</H4> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article139.shtml">XMRM : Morphing with Linux</A> , by Yves Ceccone<BR> <BR> XMRM (Multi Resolution Morphing for X) is a morphing program that allows one to create an mpeg video based on the the transformation from one image into another one. </LI> </UL> <H4>Applications</H4> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article213.shtml">Analyzing your internet applications' log files</A> , by Egon Willighagen<BR> <BR> This article describes a new log file analyzer by LogReport.org : Lire. </LI> </UL> <UL> <LI type="circle"> <IMG src="../../common/images/frame.gif" alt="point" align= "middle"> <A href="article206.shtml">Using XML and XSLT to build LinuxFocus.org</A> , by Egon Willighagen<BR> <BR> This article describes a XML based database system </LI> </UL> <!-- LG sidebar --> <TABLE cellspacing="3" cellpadding="3" border="0" summary="sidebar" width="40%" align="RIGHT"> <TR> <TD> <TABLE cellspacing="2" cellpadding="0" border="0" align= "center" bgcolor="#BEBEBE" width="100%" summary="sidebar"> <TR> <TD> <TABLE cellspacing="2" cellpadding="2" border="0" bgcolor="#FFFFFF" width="100%" summary= "sidebar second part"> <TR> <TD bgcolor="#113366"><FONT color="#FFFFFF"> <!-- TABLE HEAD --> <B><A href="http://www.linuxgazette.com"><FONT color="#ffffff">Articles at Linux Gazette</FONT></A></B> <!-- END TABLE HEAD --> </FONT> </TD> </TR> <TR> <TD><!-- TABLE BODY --> <SMALL> <!-- tr_staticssi include virtual --> <ul> <li><a href="http://www.linuxgazette.com/issue71/lg_mail71.html">The MailBag</a><br></li> <li><a href="http://www.linuxgazette.com/issue71/lg_bytes71.html">News Bytes</a><br></li> <li><a href="http://www.linuxgazette.com/issue71/lg_answer71.html">The Answer Gang</a><br></li> <li><a href="http://www.linuxgazette.com/issue71/lg_tips71.html">More 2-Cent Tips</a><br></li> <li><a href="http://www.linuxgazette.com/issue71/arndt.html">A Need for Documentation</a><br>By Matthias Arndt</li> <li><a href="http://www.linuxgazette.com/issue71/joshi.html">Code Optimization Using the GNU C Compiler</a><br>By Rahul U Joshi</li> <li><a href="http://www.linuxgazette.com/issue71/orr.html">The Foolish Things We Do With Our Computers</a><br>By Mike "Iron" Orr</li> <li><a href="http://www.linuxgazette.com/issue71/qubism.html">Qubism</a><br>By Jon "Sir Flakey" Harsem</li> <li><a href="http://www.linuxgazette.com/issue71/spiel.html">Numerical Workbenches, part III</a><br>By Christoph Spiel</li> <li><a href="http://www.linuxgazette.com/issue71/lg_backpage71.html">The Back Page</a><br></li> </ul> </SMALL> <!-- END TABLE BODY --> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <!-- end LG sidebar --> <a name="tip"> </a> <H4>The LinuxFocus Tip</H4> <P>How to copy a whole tree of files and directories?<BR> Apart from using a filemanager (like e.g mc, ...) you can use the following commands. All of them copy the current directory ("."), including subdirectories, into a destination directory:</P> <UL> <LI>cp -Rpv . /some/destdir<BR> Disadvantage: It fails on special files such as the files in /dev</LI> <LI>find . -print | cpio -dump -V /some/destdir<BR> Disadvantage: None.<BR> You can even copy softlinks on directories including their content if you use:<BR> find . -follow -print | cpio -dump -V /some/destdir<BR> To not copy files ending in ".bak" use egrep as a filter:<BR> find . -follow -print | egrep -v "\.bak$" | cpio -dump -V /some/destdir<BR> </LI> <LI>tar -cvf /tmp/t.tar .<BR> cd /some/destdir<BR> tar -xvf /tmp/t.tar<BR> rm /tmp/t.tar<BR> Disadvantage: A temporary file is created.</LI> <LI>tar cf - . | (cd /some/destdir ; tar xf -)<BR> or to a remote host:<BR> tar cf - . | ssh host "(cd /some/destdir ; tar xf -)"<BR> Disadvantage: It does not work if you use tcsh as a shell.</LI> </UL> All of the commands above "try" to preserve permissons and owners where possible. Only root can make "perfect" copies of directory trees where files belong to several people. <BR> <BR> <!-- end content --> <!-- start of footer --> <BR clear="all"> <CENTER> <HR width="95%" noshade size="1"> </CENTER> <P class="foot">© 2001 LinuxFocus<BR> <A href="../../common/lfteam.html">Click here to get to the LinuxFocus contact persons list</A></P> <!-- you should remove the following line if you translate this text. It is just there to make it easy for you to download the .meta.html files --> <P class="trans"><A href="dir.html">Directory index</A> for persons translating this issue.</P> <!-- vim: set sw=2 ts=2 et textwidth=78: --> </BODY> </HTML>