<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with Unix</title>
      <link>http://ask.metafilter.com/tags/Unix</link>
      <description>Questions tagged with 'Unix' at Ask MetaFilter.</description>
	  <pubDate>Mon, 14 Dec 2009 16:14:58 -0800</pubDate> <lastBuildDate>Mon, 14 Dec 2009 16:14:58 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Possibly the most specific -filter in recent memory</title>
	<link>http://ask.metafilter.com/140682/Possibly%2Dthe%2Dmost%2Dspecific%2Dfilter%2Din%2Drecent%2Dmemory</link>	
	<description>GUIDPartitionTableFilter: How can I non-destructively change a partition&apos;s filesystem type ID in OS X? For some reason (which I&apos;ll add at the end so I can get to the point) a partition on my external USB drive is mistakenly flagged as &apos;Microsoft Basic Data&apos; and not &apos;Apple_HFS&apos;, as shown by &lt;code&gt;diskutil&lt;/code&gt;:&lt;br&gt;
&lt;br&gt;
&lt;pre&gt;$ diskutil list&lt;br&gt;
/dev/disk0&lt;br&gt;
   #:                       TYPE NAME                    SIZE       IDENTIFIER&lt;br&gt;
   0:      GUID_partition_scheme                        *500.1 GB   disk0&lt;br&gt;
   1:                        EFI                         209.7 MB   disk0s1&lt;br&gt;
   2:                  Apple_HFS Macintosh HD            402.5 GB   disk0s2&lt;br&gt;
   3:       Microsoft Basic Data Boot Camp               97.1 GB    disk0s3&lt;br&gt;
/dev/disk3&lt;br&gt;&lt;br&gt;
   #:                       TYPE NAME                    SIZE       IDENTIFIER&lt;br&gt;
   0:      GUID_partition_scheme                        *1.0 TB     disk3&lt;br&gt;
   1:                        EFI                         209.7 MB   disk3s1&lt;br&gt;
   2:       Microsoft Basic Data                         999.9 GB   disk3s2&lt;br&gt;
            ^^^^^^^^^^^^^^^^^^^^ Wrong!&lt;br&gt;
&lt;/pre&gt;&lt;br&gt;
&lt;br&gt;
When I plug the disk in or boot up, Snow Leopard complains about not being able to recognize the disk and asking if I want to initialize it. However, if I do &lt;code&gt;mount_hfs /dev/disk3s2 /Volumes/Test&lt;/code&gt; the drive is mounted and I can access the filesystem just fine. &lt;br&gt;
&lt;br&gt;
How can I change the type back to Apple_HFS? I&apos;ve looked at the &lt;code&gt;gpt&lt;/code&gt; and &lt;code&gt;diskutil&lt;/code&gt; man pages but only found info pertaining to creating new partitions, not modifying existing ones.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.140682</guid>
	<pubDate>Mon, 14 Dec 2009 16:14:58 -0800</pubDate>
	<category>commandline</category>
	<category>computers</category>
	<category>gpt</category>
	<category>osx</category>
	<category>sysadmin</category>
	<category>unix</category>
	<dc:creator>The Lurkers Support Me in Email</dc:creator>
	</item>
	<item>
	<title>OS X: How to track down and kill a cron job. Or something.</title>
	<link>http://ask.metafilter.com/138126/OS%2DX%2DHow%2Dto%2Dtrack%2Ddown%2Dand%2Dkill%2Da%2Dcron%2Djob%2DOr%2Dsomething</link>	
	<description>OS X Unix filter: Please help me find and delete an obsolete cron job on an iMac running Leopard. I&apos;m doing tech support for a small office. A previous provider setup a cron job or something to create an rsync backup to a MacMini server every day at the same time. The backup configuration has changed, but this one job keeps trying to run. I can&apos;t find the script to delete it and am getting a bit frustrated.&lt;br&gt;
&lt;br&gt;
I&apos;ve tried&lt;br&gt;
&lt;br&gt;
&lt;code&gt;crontab -e&lt;/code&gt; - which shows an empty crontab.&lt;br&gt;
&lt;br&gt;
I&apos;ve looked in StartupItems, looked in /usr/bin/, usr/sbin/ for a compiled script, looked in the logs to see if I could see the source of the job, but it doesn&apos;t log to system.log or console.log. I did find the log that was set up for the backup, but it doesn&apos;t say the path of the original script. I know it&apos;s running because it was set up to also send an email to the office administrator. She gets a failure message daily.&lt;br&gt;
&lt;br&gt;
I&apos;m pretty sure it&apos;s not a LaunchDaemon, as the job was set up by someone who was using old-style tools, and all of the LaunchDaemons I could find were stock OS X. &lt;br&gt;
&lt;br&gt;
Any idea how I can track this thing down and kill it for good?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.138126</guid>
	<pubDate>Sat, 14 Nov 2009 15:09:39 -0800</pubDate>
	<category>computer</category>
	<category>mac</category>
	<category>osx</category>
	<category>sysadmin</category>
	<category>unix</category>
	<dc:creator>al_fresco</dc:creator>
	</item>
	<item>
	<title>Unix web apps</title>
	<link>http://ask.metafilter.com/137786/Unix%2Dweb%2Dapps</link>	
	<description>A two parter: 1. I remember reading a quote by someone along the lines of &apos;every new &apos;killer web app&apos; is a unix app. google=grep; facebook=wall; etc. Can you help me find this please? 2. Now that you grok the idea, can you tell me more analogs of unix vs web apps? Which unix apps are yet to be made webby? Which have been, but badly implemented? Which are your favorite unix apps? Etc.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.137786</guid>
	<pubDate>Tue, 10 Nov 2009 16:49:38 -0800</pubDate>
	<category>app</category>
	<category>unix</category>
	<category>web</category>
	<dc:creator>yegga</dc:creator>
	</item>
	<item>
	<title>Quality Command Line Graphing?</title>
	<link>http://ask.metafilter.com/134102/Quality%2DCommand%2DLine%2DGraphing</link>	
	<description>Open source, command line, low &quot;impact&quot;, png-producing, full-featured, good-looking graphing on Linux and other Unices? We are using a script (Tcl, if it matters) to generate a script that will be sent in an email.  Right now, we are using gnuplot.  It&apos;s been a source of problems.  No one particular thing, we just often have &quot;issues&quot; generating our graphs, many of them attributable to gnuplot weirdness.  I&apos;d like to rewrite it more robustly and eliminate gnuplot (on a three-strikes basis).&lt;br&gt;
&lt;br&gt;
The &quot;open source&quot; and &quot;command line&quot; are pretty self explanatory.  BTW, I don&apos;t really consider gnuplot to be command line, because it has its own shell.  Yes, you can script it, but I&apos;m looking for something that will take everything (except the actual data) as command line options.  &lt;br&gt;
&lt;br&gt;
&quot;Low impact&quot; means &quot;not a lot of extra libs required&quot; and is on the list because we have to manage, build and ship this stuff.  &lt;br&gt;
&lt;br&gt;
&quot;full-featured&quot; means that something that just draws a squiggle isn&apos;t enough.  The particular graph we are sending out is actually a multiplot, i.e. two graphs in the same image file.  We need to be able to label axes, change colors, set ranges, etc.&lt;br&gt;
&lt;br&gt;
&quot;png-producing&quot; I think is non-negotiable.  Personally, I would be happy to switch image formats (or better yet, go with SVG), but this email has to meet certain other requirements and I dasn&apos;t mess with the format.&lt;br&gt;
&lt;br&gt;
&quot;Other Unices&quot; include Solaris and Irix.  It doesn&apos;t have to ship with those OSes, though, as long as it will compile there painlessly.&lt;br&gt;
&lt;br&gt;
As for &quot;good-looking&quot;: &lt;a href=&quot;http://www.gnu.org/software/plotutils/&quot;&gt;Plotutils&lt;/a&gt; is actually perfect, except for one problem: The font rendering (actually, rasterizing) is complete ass.  As in nearly unreadable even at reasonable sizes.  I actually confirmed this with the maintainer that there is no way to make them look better at the present time.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.134102</guid>
	<pubDate>Tue, 29 Sep 2009 06:41:19 -0800</pubDate>
	<category>graphing</category>
	<category>linux</category>
	<category>unix</category>
	<category>utility</category>
	<dc:creator>DU</dc:creator>
	</item>
	<item>
	<title>How to centralize adminsitration of multiple Unix machines (and others)?</title>
	<link>http://ask.metafilter.com/132383/How%2Dto%2Dcentralize%2Dadminsitration%2Dof%2Dmultiple%2DUnix%2Dmachines%2Dand%2Dothers</link>	
	<description>I&apos;m curious as to what are the current &quot;best practices&quot; when it comes to centralized administration of a network of Unix (primarily Linux, but not necessarily so) machines? Essentially, what is the equivalent of Active Directory for a network with one or more Unix hosts? The immediate answer I come up with would be something like &lt;a href=&quot;http://www.howtoforge.com/linux_ldap_authentication&quot;&gt;OpenLDAP plus PAM&lt;/a&gt; but what I&apos;m looking for is the suite of tools (GUI and CLI apps) for managing the directory, deploying software, centralizing sign-on and security, managing printers, etc. 

In a perfect world, I would like to centralize administration of Windows, Unix, and OS X machines via a single directory service, though I imagine such a solution would be expensive and/or cumbersome if it even existed. Or is this something &lt;a href=&quot;http://wiki.samba.org/index.php/Samba4&quot;&gt;Samba 4&lt;/a&gt; will do?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.132383</guid>
	<pubDate>Wed, 09 Sep 2009 11:45:34 -0800</pubDate>
	<category>ActiveDirectory</category>
	<category>administration</category>
	<category>LDAP</category>
	<category>linux</category>
	<category>OSX</category>
	<category>Samba</category>
	<category>unix</category>
	<category>windows</category>
	<dc:creator>Imhotep is Invisible</dc:creator>
	</item>
	<item>
	<title>Color laser printer with Linux/UNIX drivers available</title>
	<link>http://ask.metafilter.com/131556/Color%2Dlaser%2Dprinter%2Dwith%2DLinuxUNIX%2Ddrivers%2Davailable</link>	
	<description>Could anyone recommend a color laser printer for ca. 500 GBP for a small office? Compatibility with Linux and Solaris---essential.

BONUS question: should I also buy a monochrome laser for B&amp;amp;W printouts or is an unnecessary overkill when one has a color laser?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.131556</guid>
	<pubDate>Mon, 31 Aug 2009 07:23:08 -0800</pubDate>
	<category>laser</category>
	<category>linux</category>
	<category>printer</category>
	<category>resolved</category>
	<category>unix</category>
	<dc:creator>noztran</dc:creator>
	</item>
	<item>
	<title>Case-Insensitive LS on Mac OS X?</title>
	<link>http://ask.metafilter.com/130292/CaseInsensitive%2DLS%2Don%2DMac%2DOS%2DX</link>	
	<description>Unix mavens: is there a way for &lt;a href=&quot;http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/ls.1.html&quot;&gt;ls&lt;/a&gt; on a Mac OS X install to alphabetize its listing case-&lt;b&gt;in&lt;/b&gt;sensitively, while still preserving any other ls flags you may be using?  If not, does another &lt;tt&gt;ls&lt;/tt&gt; variant offered by anybody offer case-insensitivity, and if so, how can I supplant one with the other, &lt;i&gt;without&lt;/i&gt; risk of any harm to anything else on my system?  (If it matters, my shell of choice is &lt;tt&gt;tcsh&lt;/tt&gt;.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.130292</guid>
	<pubDate>Sun, 16 Aug 2009 11:03:27 -0800</pubDate>
	<category>alphabetize</category>
	<category>case</category>
	<category>caseinsensitive</category>
	<category>Darwin</category>
	<category>insensitive</category>
	<category>ls</category>
	<category>macosx</category>
	<category>stumped</category>
	<category>Unix</category>
	<dc:creator>WCityMike</dc:creator>
	</item>
	<item>
	<title>Attending a Seminar 101</title>
	<link>http://ask.metafilter.com/129551/Attending%2Da%2DSeminar%2D101</link>	
	<description>I need to pick a seminar/conference/class/training/whatever for work to attend within the next 6 months or so, I have until 10PM to choose, and I have no idea where or what the cool stuff is.  It should be at least tangentially related to my job as a Unix Systems Engineer/Python Guy, and preferably within the Northeast (NYC is where I&apos;m located), although feel free to recommend anywhere in the US. I&apos;m a django/python coder, but mainly a linux engineer.  I&apos;d like anything that is cool and interesting, a la DEFCON/HOPE/etc.  It can be anything related to python, linux, AIX (ugh), solaris, high performance computing, clusters, networking, security, etc.&lt;br&gt;
&lt;br&gt;
So, metafilter, what do ya got for me?  Be forewarned that I fall asleep easily when I am bored, so I need something at least halfway interesting, that will also improve my skills.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129551</guid>
	<pubDate>Fri, 07 Aug 2009 13:38:22 -0800</pubDate>
	<category>class</category>
	<category>conference</category>
	<category>defcon</category>
	<category>hope</category>
	<category>linux</category>
	<category>python</category>
	<category>resolved</category>
	<category>seminar</category>
	<category>training</category>
	<category>unix</category>
	<dc:creator>Mach5</dc:creator>
	</item>
	<item>
	<title>Shell script handling CSV columns</title>
	<link>http://ask.metafilter.com/124463/Shell%2Dscript%2Dhandling%2DCSV%2Dcolumns</link>	
	<description>I&apos;m using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I&apos;m having some difficulty going on with the next part of the script. Some help would be great. :) CURRENT SCRIPT:&lt;br&gt;
#!/bin/sh&lt;br&gt;
ls *.xls&lt;br&gt;
echo &quot;Enter filename for excel input file: &quot;&lt;br&gt;
read filen&lt;br&gt;
xls2csv -x &quot;$filen&quot;&quot;.xls&quot; -b WINDOWS-1252 -c &quot;$filen&quot;&quot;.csv&quot; -a UTF-8&lt;br&gt;
sed &apos;1,3d&apos; &quot;$filen&quot;.csv &amp;gt;&quot;$filen&quot;_temp.csv&lt;br&gt;
cut -d &quot;,&quot; -f 1,4- &quot;$filen&quot;_temp.csv &amp;gt; &quot;$filen&quot;_temp2.csv&lt;br&gt;
awk -F, &apos;{sub($NF, &quot;&quot;);print}&apos; &quot;$filen&quot;_temp2.csv &amp;gt; &quot;$filen&quot;_temp3.csv&lt;br&gt;
sed &apos;s/.$//&apos; &quot;$filen&quot;_temp3.csv &amp;gt; &quot;$filen&quot;_fixed.csv&lt;br&gt;
rm &quot;$filen&quot;.csv&lt;br&gt;
rm &quot;$filen&quot;_temp.csv&lt;br&gt;
rm &quot;$filen&quot;_temp2.csv&lt;br&gt;
rm &quot;$filen&quot;_temp3.csv&lt;br&gt;
echo &quot;$filen&quot;&quot;.xls corrected and saved as &quot;&quot;$filen&quot;&quot;_fixed.csv&quot;&lt;br&gt;
&lt;br&gt;
EXAMPLE OUTPUT (first three lines only):&lt;br&gt;
&quot;Device ID&quot;,&quot;1) S31 Which best describes how you answered the online reading comprehension quiz?&quot;,&quot;2) S32 Which best describes how you answered the online timed retrieval quiz?&quot;,&quot;3) B19. If you want your product to be easy to find in the supermarket then you should make its container&quot;,&quot;4) C19.  So that he can shift attention between the radio and his incessantly talking girl friend when she is in the car, Joe adjusts his radio&quot;,&quot;5) B20.  Early selection is most likely to occur for&quot;,&quot;6) C20.  Early selection for a red target is most likely to occur when there is&quot;,&quot;7) B21. In a lexical decision task, when the target is a bird name, e.g. robin, it is usually preceded by the prime BODY but is sometimes preceded by the prime BIRD.&quot;,&quot;8) C21.  In a lexical decision task, when the target is a dog name, e.g. collie, it is usually preceded by the prime CAR but is sometimes preceded by the prime DOG.&quot;,&quot;9) B23. Suppose that that you see a brief display with 12 colored letters: 4 red, 4 white, and 4 blue.  At the offset of the display you hear tone.  A tone instructs you to report only the letters of a particular color: high for red, medium for white, and low for blue.  About how many letters do you report?&quot;,&quot;10) B22.  Sperling (1960) found that partial report produced the highest estimate of the number of available letters when the tone occurred &quot;,&quot;11) C23.  According to the logic of Sperling&#8217;s (1960) partial report method, an observer who reports three letters from a row in a 4 x 4 display that was cued at the display&#8217;s offset must have seen at least&quot;,&quot;12) C22.  Sperling (1960) found that the greatest difference between full and partial report in the number available of letters was when the tone occurred ____ milliseconds after the offset of the visual display&quot;&lt;br&gt;
96A39,6,4,&quot;4 c&quot;,&quot;4 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;4 i&quot;,&quot;3 c&quot;,&quot;1 c&quot;,&quot;1 i&quot;,&quot;5 i&quot;&lt;br&gt;
1E90A4,5,3,&quot;4 c&quot;,&quot;4 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;2 i&quot;,&quot;5 c&quot;,&quot;3 c&quot;,&quot;1 c&quot;,&quot;4 i&quot;,&quot;4 i&quot;&lt;br&gt;
&lt;br&gt;
First, I need to remove the numbering of the questions from the first line. So &quot;1) S31 Which best describes how you answered the online reading comprehension quiz?&quot; would become &quot;S31 Which best describes how you answered the online reading comprehension quiz?&quot;&lt;br&gt;
&lt;br&gt;
Next I need to remove an entire column if its row header doesn&apos;t begin with either B or C or is the &quot;Device ID&quot; column. For example, column starting with B19 is kept, the C23 is kept, and&quot;Device ID&quot; column is kept. The column with the question starting S31 must be entirely removed.&lt;br&gt;
&lt;br&gt;
Thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124463</guid>
	<pubDate>Wed, 10 Jun 2009 16:30:20 -0800</pubDate>
	<category>bash</category>
	<category>csv</category>
	<category>excel</category>
	<category>grep</category>
	<category>linux</category>
	<category>perl</category>
	<category>regexp</category>
	<category>regularexpression</category>
	<category>script</category>
	<category>shell</category>
	<category>unix</category>
	<dc:creator>fightoplankton</dc:creator>
	</item>
	<item>
	<title>What log file would show when a Mac OSX user was renamed?</title>
	<link>http://ask.metafilter.com/123930/What%2Dlog%2Dfile%2Dwould%2Dshow%2Dwhen%2Da%2DMac%2DOSX%2Duser%2Dwas%2Drenamed</link>	
	<description>on Mac OSX Leopard(10.5.7), which log file, archived or not, would I find when a user account was renamed? Easy as that.  A user account on a machine was renamed.  I&apos;d like to find out when.  I&apos;m currently logged in as the admin but do not have the admin password.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.123930</guid>
	<pubDate>Thu, 04 Jun 2009 18:01:11 -0800</pubDate>
	<category>bsd</category>
	<category>osx</category>
	<category>security</category>
	<category>unix</category>
	<dc:creator>neilkod</dc:creator>
	</item>
	<item>
	<title>How to test if a variable in a Bourne shell script is an integer?</title>
	<link>http://ask.metafilter.com/120943/How%2Dto%2Dtest%2Dif%2Da%2Dvariable%2Din%2Da%2DBourne%2Dshell%2Dscript%2Dis%2Dan%2Dinteger</link>	
	<description>I&apos;m being tasked with creating a simple integer calculator, which I have effectively done, up to the point of it being a calculator, however, even after hours of searching I cannot get any scripts to work correctly. Here is my code so far:&lt;br&gt;
&lt;br&gt;
-----------------------------------------------&lt;br&gt;
#!/bin/sh&lt;br&gt;
echo &quot;Please enter your first number&quot;&lt;br&gt;
read a&lt;br&gt;
echo &quot;What operation would you like to perform? (+,-,/,x)&quot;&lt;br&gt;
read orp&lt;br&gt;
echo &quot;Please enter your second number&quot;&lt;br&gt;
read b &lt;br&gt;
echo $op&lt;br&gt;
if [ $opr = &quot;+&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a + $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;-&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a - $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;/&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a / $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;X&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a \* $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
fi &lt;br&gt;
-----------------------------------------------&lt;br&gt;
&lt;br&gt;
Thanks for any assistance!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.120943</guid>
	<pubDate>Thu, 30 Apr 2009 13:26:15 -0800</pubDate>
	<category>bourne</category>
	<category>calculator</category>
	<category>integer</category>
	<category>program</category>
	<category>script</category>
	<category>unix</category>
	<dc:creator>InsaneRhino</dc:creator>
	</item>
	<item>
	<title>Help me administer Mac OSX Mail Server</title>
	<link>http://ask.metafilter.com/120228/Help%2Dme%2Dadminister%2DMac%2DOSX%2DMail%2DServer</link>	
	<description>Help me administer a mail server on OS X. Some friends and I have run a small web / database / email server for several years.  Originally it was Linux, which I&apos;m relatively familiar with; a while back we moved to OS X (Server) at the behest of one of the guys.  Now for various reasons his availability for server admin duties is severely curtailed, and I&apos;d like to pick up the slack rather than pestering him with questions.&lt;br&gt;
&lt;br&gt;
Most pressing is the email server.  I have no idea how to run it.  I&apos;ve tracked down pages &lt;a href=&quot;http://www.apple.com/server/macosx/features/mail.html&quot;&gt;like this&lt;/a&gt;, and I&apos;ll continue to search the Apple website, but any third-party FAQs or HOWTOs would be very appreciated.  Even the really basic stuff, like: what is the name of the mail server process / executable(s), and where are their config files?  What logs should I check when there are errors?  Basically, help me approach the OSX server utilities with my Linux-based brain.&lt;br&gt;
&lt;br&gt;
An additional level of difficulty is presented by the fact that I&apos;ll be doing any admin 100% at the command line; I don&apos;t have a Mac and so I lack the GUI server tools.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.120228</guid>
	<pubDate>Wed, 22 Apr 2009 13:18:40 -0800</pubDate>
	<category>email</category>
	<category>mac</category>
	<category>macos</category>
	<category>mailserver</category>
	<category>osx</category>
	<category>osxserver</category>
	<category>sysadmin</category>
	<category>unix</category>
	<dc:creator>rkent</dc:creator>
	</item>
	<item>
	<title>No reserved blocks in ext2 on Aspire One?</title>
	<link>http://ask.metafilter.com/118827/No%2Dreserved%2Dblocks%2Din%2Dext2%2Don%2DAspire%2DOne</link>	
	<description>Why is it OK to have no reserved blocks in ext2 on the Acer Aspire One? &lt;a href=&quot;http://macles.blogspot.com/2008/07/reclaiming-disk-space-on-acer-aspire.html&quot;&gt;This guide to recovering space on the Acer Aspire One&lt;/a&gt;  gives as one suggestion: &lt;br&gt;
&lt;em&gt;By default the ext2 filesystems reserves 5% of all blocks for the superuser. You can safely set this to 0% and gain additional 325MB, or 375MB if you also remove the swap partition.&lt;br&gt;
sudo tune2fs -m0 /dev/sda1&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Now, I think I understand what reserved blocks are and why. Basically, it&apos;s because to avoid a situation where the free disk space drops close to zero, root doesn&apos;t have room in /var to do even the most basic things and the whole system starts falling apart. Please correct me if that&apos;s wrong or incomplete.&lt;br&gt;
&lt;br&gt;
So why is it OK to unreserve these blocks on the Aspire One? Is there something about the way Linpus is set up that makes the above scenario impossible?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.118827</guid>
	<pubDate>Mon, 06 Apr 2009 20:32:42 -0800</pubDate>
	<category>acer</category>
	<category>aspire</category>
	<category>aspireone</category>
	<category>ext2</category>
	<category>fedora</category>
	<category>filesystem</category>
	<category>linpus</category>
	<category>linux</category>
	<category>one</category>
	<category>reserved</category>
	<category>resolved</category>
	<category>unix</category>
	<dc:creator>Busy Old Fool</dc:creator>
	</item>
	<item>
	<title>UNIX PDP-11 Riddle Filter: help me outsmart my computery friend...</title>
	<link>http://ask.metafilter.com/118699/UNIX%2DPDP11%2DRiddle%2DFilter%2Dhelp%2Dme%2Doutsmart%2Dmy%2Dcomputery%2Dfriend</link>	
	<description>UNIX PDP-11 Riddle Filter: help me outsmart my much-beloved but smug computery friend... he&apos;s giving me the business, and thinks I can&apos;t figure out the following statement:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;if a hacker at MIT running UNIX on a PDP-11 were looking at the time&lt;br&gt;
when i was born, it would look like this:&lt;br&gt;
&lt;br&gt;
336451500&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Obviously, I can&apos;t. I don&apos;t even know how to google to begin to figure out the answer! I tried! But, I do know how to harness the power of collective intelligence. So, what time was he born? And, also, since I&apos;m no slouch, I&apos;d love to learn how I&apos;d figure out such a thing if I ever had to again in the future...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.118699</guid>
	<pubDate>Sun, 05 Apr 2009 20:06:46 -0800</pubDate>
	<category>geeklove</category>
	<category>unix</category>
	<dc:creator>lalalana</dc:creator>
	</item>
	<item>
	<title>Joining MP3 Files Together Based on Date in Filename?</title>
	<link>http://ask.metafilter.com/117747/Joining%2DMP3%2DFiles%2DTogether%2DBased%2Don%2DDate%2Din%2DFilename</link>	
	<description>I have a podcast that downloads as multiple segments over multiple days.  Its format arrives as YYYYMMDD_showcode_segment.mp3; so, for example, one download might result in files as 20090323_goofa_01.mp3 through 20090323_goofa_21.mp3, and also &lt;i&gt;within the same download&lt;/i&gt; 20090324_goofa_01.mp3 through 20090324_goofa_21.mp3.  What I&apos;m looking for is a Unix script (shell, perl, what have you) that would look at a directory and look at what dates are represented there, and let me join all of the segments together by day.  I can use mpgtx -j to do the actual joining; I&apos;m looking for the code that would let the script determine what dates are in the directory and then get each day&apos;s segments united into a single MP3 for that day&apos;s show.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117747</guid>
	<pubDate>Wed, 25 Mar 2009 16:08:55 -0800</pubDate>
	<category>bash</category>
	<category>csh</category>
	<category>day</category>
	<category>group</category>
	<category>join</category>
	<category>mp3</category>
	<category>perl</category>
	<category>resolved</category>
	<category>script</category>
	<category>segment</category>
	<category>tcsh</category>
	<category>unix</category>
	<dc:creator>WCityMike</dc:creator>
	</item>
	<item>
	<title>Granular volume data from MP3 files?</title>
	<link>http://ask.metafilter.com/116333/Granular%2Dvolume%2Ddata%2Dfrom%2DMP3%2Dfiles</link>	
	<description>I&apos;m looking for a command-line tool that can return a volume value for specific points of time in an MP3 file. Basically, I need an array of volume values for an MP3 file. Preferably, one value for every 1/30th of a second of audio. The data will be used for visualization, so the values don&apos;t have to be extremely accurate or in any particular unit of measurement.&lt;br&gt;
&lt;br&gt;
In a perfect world, this would be an open source python-based tool.&lt;br&gt;
&lt;br&gt;
Any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116333</guid>
	<pubDate>Tue, 10 Mar 2009 10:13:54 -0800</pubDate>
	<category>audio</category>
	<category>mp3</category>
	<category>python</category>
	<category>resolved</category>
	<category>unix</category>
	<category>volume</category>
	<dc:creator>joe vrrr</dc:creator>
	</item>
	<item>
	<title>Hardware question about installing *BSD on old Sun equipment as a SOHO firewall/router. </title>
	<link>http://ask.metafilter.com/113110/Hardware%2Dquestion%2Dabout%2Dinstalling%2DBSD%2Don%2Dold%2DSun%2Dequipment%2Das%2Da%2DSOHO%2Dfirewallrouter</link>	
	<description>Can someone give me any pointers, tips, or caveats about installing BSD on sun hardware for use as a firewall/router? I&apos;ve been pondering a while about installing OpenBSD on an old Sun Netra T1.  I plan to use it as a firewall/router using pf and maybe squid and Proxy on it.  I used to have an old Netra X1 with no CDROM drive, and while memory escapes me, I don&apos;t think I had much luck trying to get a different OS on there, as I couldn&apos;t even get to the OK prompt, ultimately resorting to &quot;jumper tricks&quot; suggested by some folks.  I suppose I&apos;m just doing it for the hell of it, and I know I&apos;m going out of my way for an unorthodox use of a Sun machine, but its really something that&apos;s tickled my fancy for a while.&lt;br&gt;
&lt;br&gt;
For those who have worked with Sun hardware, what are those config cards for?  Any tips or caveats when doing this kind of project?  I still plan to have a wireless router that&apos;ll merely serve as a wireless ap. I think I can just hang that off a switch.&lt;br&gt;
&lt;br&gt;
I&apos;ve thought about getting something from Soekris Engineering or PC Engines, but last time I looked, getting a used Sun machine on ebay is actually cheaper, so I don&apos;t wanna spend too much. :)  The Sun Netra PSU is loud though.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.113110</guid>
	<pubDate>Sun, 01 Feb 2009 11:25:51 -0800</pubDate>
	<category>BSD</category>
	<category>computers</category>
	<category>firewall</category>
	<category>linux</category>
	<category>PC</category>
	<category>router</category>
	<category>unix</category>
	<dc:creator>Myles</dc:creator>
	</item>
	<item>
	<title>WE HAVE COMPUTERS</title>
	<link>http://ask.metafilter.com/107821/WE%2DHAVE%2DCOMPUTERS</link>	
	<description>Found an old computer in the basement. What steps should I go through to get it up and running? Seems a previous tenant left a computer tower in the basement. It&apos;s from, at the newest, 2003.&lt;br&gt;
&lt;br&gt;
I plugged it into power, hit the on button, and stuff whirred, and green lights came on. It doesn&apos;t have any cables, mouse or a monitor, and my access to a monitor will be limited to what I can borrow off friends for short periods (have a MacBook, if there&apos;s some neat trick to be able to use it as a monitor...).&lt;br&gt;
&lt;br&gt;
What can I do to get this up and running (thinking of installing Linux or BSD) - what bits will I need to scrounge, what should I do to check that everything&apos;s in place hardware-wise etc.?&lt;br&gt;
&lt;br&gt;
And secondly, what flavour of Linux/Unix should I install, and how can I go about making this thing useful beyond being a pretty neat geeky playground?&lt;br&gt;
&lt;br&gt;
Basically, what&apos;s the ABC of going from pile of junk to functional in this situation?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.107821</guid>
	<pubDate>Wed, 26 Nov 2008 16:57:38 -0800</pubDate>
	<category>freepc</category>
	<category>geekchristmascomeearly</category>
	<category>linux</category>
	<category>makenew</category>
	<category>old</category>
	<category>pc</category>
	<category>possiblybroken</category>
	<category>unix</category>
	<dc:creator>djgh</dc:creator>
	</item>
	<item>
	<title>vi / vim editor: Can I paste text inside a colon command?</title>
	<link>http://ask.metafilter.com/104821/vi%2Dvim%2Deditor%2DCan%2DI%2Dpaste%2Dtext%2Dinside%2Da%2Dcolon%2Dcommand</link>	
	<description>vi / vim editor: Can I paste text &lt;em&gt;inside&lt;/em&gt; a colon command? (Long-time emacs user here, having a great time learning vim)  I often want to copy some text and then use it as the match portion of a substitution command, rather than re-typing it.  I&apos;ve looked over the FAQs, the tips, etc. and didn&apos;t see this addressed.  Is it possible?  Or is there some other vi-specific idiom for doing the same thing?&lt;br&gt;
&lt;br&gt;
Bonus question: As I&apos;m still getting my head around the vim terminology and resources, what/where could I have searched to find this answer myself?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.104821</guid>
	<pubDate>Tue, 21 Oct 2008 12:19:35 -0800</pubDate>
	<category>editor</category>
	<category>linux</category>
	<category>unix</category>
	<category>vi</category>
	<category>vim</category>
	<dc:creator>alb</dc:creator>
	</item>
	<item>
	<title>How do I tell my Mac that I&apos;m me?</title>
	<link>http://ask.metafilter.com/104310/How%2Ddo%2DI%2Dtell%2Dmy%2DMac%2Dthat%2DIm%2Dme</link>	
	<description>Question about changing my terminal prompt (and other matters) in an OS X Bash shell. I&apos;m not the most experienced Unix guy, but I can usually figure things out. But this one has me stumped: I just got a slightly-used Macbook Pro. The previous ower -- Michael -- gave me his admin password. So I went into System Preferences, Accounts and created a new admin, grumblebee. Then I deleted Michael.&lt;br&gt;
&lt;br&gt;
All went well until I opened terminal, where I saw that the prompt looked like this:&lt;br&gt;
&lt;br&gt;
michaels-mackbook-pro: ~Grumblebee&lt;br&gt;
&lt;br&gt;
(I know that ~Grumblebee isn&apos;t part of the prompt. I just wanted to show you that I&apos;m logged in as me and it&apos;s finding my home directory. It&apos;s just the prompt that&apos;s wrong.)&lt;br&gt;
&lt;br&gt;
I tried to edit etc/baschrc, but it said I didn&apos;t have permission.&lt;br&gt;
&lt;br&gt;
How can I change the prompt and is it likely I&apos;ll encounter any other problems connected to changing users?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.104310</guid>
	<pubDate>Wed, 15 Oct 2008 07:17:27 -0800</pubDate>
	<category>accounts</category>
	<category>apple</category>
	<category>bash</category>
	<category>linux</category>
	<category>mac</category>
	<category>macbook</category>
	<category>osx</category>
	<category>prompt</category>
	<category>resolved</category>
	<category>shell</category>
	<category>unix</category>
	<category>users</category>
	<dc:creator>grumblebee</dc:creator>
	</item>
	<item>
	<title>Restricting access to a symbolically-linked path using htaccess</title>
	<link>http://ask.metafilter.com/104202/Restricting%2Daccess%2Dto%2Da%2Dsymbolicallylinked%2Dpath%2Dusing%2Dhtaccess</link>	
	<description>Can I restrict access to a symbolically-linked path using htaccess? I have a Solaris file system that my Apache web server accesses through a symbolic link. I need to restrict access to those files to a select group of users. The rules for access are in a MySQL db, so I&apos;m thinking I can run a cron to regularly generate an htpasswd file. An htaccess file won&apos;t work on the remote file system (which isn&apos;t running apache), though, will it? Can I add something to my httpd.conf file which will make users authenticate before accessing content on the other side of that symlink?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.104202</guid>
	<pubDate>Tue, 14 Oct 2008 07:13:25 -0800</pubDate>
	<category>apache</category>
	<category>htaccess</category>
	<category>solaris</category>
	<category>unix</category>
	<dc:creator>jpoulos</dc:creator>
	</item>
	<item>
	<title>What is the linux command &apos;dt&apos;?</title>
	<link>http://ask.metafilter.com/103537/What%2Dis%2Dthe%2Dlinux%2Dcommand%2Ddt</link>	
	<description>Obscure linux/unix text processing command: what is &apos;dt&apos;? I&apos;m trying to figure out what one of my boss&apos;s data analysis scripts is doing, and I&apos;m hung up on this weird little command called dt.  There aren&apos;t any man or help pages for it, and googling around hasn&apos;t come up with anything.  &lt;br&gt;
&lt;br&gt;
The script I&apos;m looking at reads in a formatted data file (&apos;tmp&apos;) with X numbers of columns.  Each row is a consecutive point in time.  The line I&apos;m stuck on reads as follows:&lt;br&gt;
&lt;br&gt;
cat tmp | dt t 1 t 2 t 3 d 12&lt;br&gt;
&lt;br&gt;
The numbers specify columns, but I&apos;m not entirely sure what the &apos;t&apos; and &apos;d&apos; arguments are doing there.  I suspect the script is sorting the data in some fashion, and I could figure it out eventually (or, god forbid, ask the boss), but I&apos;d like to know what the command is and where I can find more information about it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.103537</guid>
	<pubDate>Mon, 06 Oct 2008 10:05:17 -0800</pubDate>
	<category>analysis</category>
	<category>command</category>
	<category>data</category>
	<category>linux</category>
	<category>script</category>
	<category>text</category>
	<category>unix</category>
	<dc:creator>logicpunk</dc:creator>
	</item>
	<item>
	<title>How can I grant user access to one directory only, so they can edit a file?</title>
	<link>http://ask.metafilter.com/103349/How%2Dcan%2DI%2Dgrant%2Duser%2Daccess%2Dto%2Done%2Ddirectory%2Donly%2Dso%2Dthey%2Dcan%2Dedit%2Da%2Dfile</link>	
	<description>How can I grant user access to one directory only, so they can edit a file? I&apos;m sure there&apos;s a way to do this.  I&apos;m hosting a site and I want to allow a person access to one directory, so that he can edit the php file in it whenever he wants.  What&apos;s the best way to do this?&lt;br&gt;
&lt;br&gt;
It seems to me that my options are: 1) set up a new user in my hosting and give him FTP access to the folder (I&apos;m on Dreamhost - not sure how to do it, or how to stop him from seeing the entire domain).  Problem with this is that then I won&apos;t own the files, right?&lt;br&gt;
2) There might be some kind of user management system that can a) let the person log in.  b) Give them a web front-end with an editor so they can edit the file.  I&apos;ve looked at hotscripts.com but they don&apos;t seem to be quite what I want.&lt;br&gt;
&lt;br&gt;
Unfortunately I can&apos;t put the script in a database in joomla etc because it is feeding information to a shockwave application.  So it needs to be a separate file.  Which I think rules out number 2.  Am I missing something?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.103349</guid>
	<pubDate>Fri, 03 Oct 2008 12:02:20 -0800</pubDate>
	<category>access</category>
	<category>hosting</category>
	<category>php</category>
	<category>privileges</category>
	<category>unix</category>
	<dc:creator>media_itoku</dc:creator>
	</item>
	<item>
	<title>Per VHost Apache Bandwidth Stats</title>
	<link>http://ask.metafilter.com/101824/Per%2DVHost%2DApache%2DBandwidth%2DStats</link>	
	<description>Linux/Unix Admin Filter: What is your preferred method for monitoring bandwidth use per virtual host in Apache? I could just log everything and run AWStats/Webalizer/whatever, but that seems overkill when all I really want is a MRTG or RRD Tool graph for each virtual host to indicate bandwidth used the last day, week, month and year. Do you use the impossible to find mod_watch or something else?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.101824</guid>
	<pubDate>Tue, 16 Sep 2008 06:56:14 -0800</pubDate>
	<category>apache</category>
	<category>bandwidth</category>
	<category>cacti</category>
	<category>graph</category>
	<category>graphing</category>
	<category>linux</category>
	<category>mrtd</category>
	<category>rrdtool</category>
	<category>statistics</category>
	<category>stats</category>
	<category>unix</category>
	<dc:creator>Brian Puccio</dc:creator>
	</item>
	<item>
	<title>Just need a folder of my own, that&apos;s all!</title>
	<link>http://ask.metafilter.com/100682/Just%2Dneed%2Da%2Dfolder%2Dof%2Dmy%2Down%2Dthats%2Dall</link>	
	<description>Would anyone care to comment on the most practical way, given access to a command line Fedora box, I can obtain a copy of a folder and its contents?  The box is connected to the net but I don&apos;t know enough Unix to, for example, get a tar of the folder and have the machine email me a copy. Although thinking about it, the folder is probably just a little too big for that. I have SSH and physical access but FTP isn&apos;t working, which is the whole problem in a nutshell, really. If anyone is interested in 10 minutes&apos; brainstorming feel free to mefi mail me!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.100682</guid>
	<pubDate>Tue, 02 Sep 2008 05:04:10 -0800</pubDate>
	<category>fedora</category>
	<category>ftp</category>
	<category>linux</category>
	<category>sendmail</category>
	<category>ssh</category>
	<category>unix</category>
	<dc:creator>dance</dc:creator>
	</item>
	
	</channel>
</rss>

