<?xml version="1.0" encoding="utf-8"?>
<comments>
  <row Id="1" PostId="9" Score="2" Text="There's apt-build. http://packages.debian.org/search?keywords=apt-build" CreationDate="2010-08-10T19:47:54.907" UserId="18" />
  <row Id="2" PostId="29" Text="lsof rocks my world!  grep on IPv4 as well to find various IP based things." CreationDate="2010-08-10T19:48:34.590" UserId="80" />
  <row Id="3" PostId="9" Text="Oh, 'build the system', I'm not sure if it will do the whole system for you." CreationDate="2010-08-10T19:48:55.573" UserId="18" />
  <row Id="4" PostId="32" Score="2" Text="If you use ZSH you can do something like `bindkey -s '\e[12~' &quot;+ !!\n&quot;` to bind (in this case) F2 to run that command. I have that binding, so when I run something and see the &quot;you forgot 'sudo', fool&quot; error message, I can just stab at F2 in annoyance" CreationDate="2010-08-10T19:50:34.617" UserId="73" />
  <row Id="5" PostId="21" Text="It doesn't mean symbolic link on Linux either--symbolic links are denoted by an l in the first column of permissions, or broken links by a @ at the end of the path, not at the end of the permissions string." CreationDate="2010-08-10T19:51:08.640" UserId="69" />
  <row Id="6" PostId="33" Score="3" Text="+1 on the swap partition.  Actually, the theory behind swap and boot being separate is that if you make those partitions close to the zero cylinder, they'll be on the disk tracks closest to the spindle, and will be slightly faster on disk seeks.  So having your page file space and your boot loader closest to center can mean performance increases.&#xA;&#xA;Unless you're using solid-state, then never mind." CreationDate="2010-08-10T19:53:08.247" UserId="9" />
  <row Id="7" PostId="21" Text="Got it, edited." CreationDate="2010-08-10T19:53:56.980" UserId="26" />
  <row Id="8" PostId="32" Text="Poor F2 key... .)" CreationDate="2010-08-10T19:55:25.200" UserId="78" />
  <row Id="10" PostId="33" Text="I was going to write that in my answer and then totally forgot about it! Thanks for pointing it out." CreationDate="2010-08-10T19:56:27.537" UserId="84" />
  <row Id="11" PostId="57" Score="7" Text="I don't mean to keep plugging ZSH features, but I keep thinking of them as other people answer :). In ZSH you can do =foo to invoke `which` automatically, so `vi =scriptname`" CreationDate="2010-08-10T19:58:14.227" UserId="73" />
  <row Id="12" PostId="59" Score="2" Text="I have already maximum RAM. I would like to know some tweak that make swapping more efficient than it is." CreationDate="2010-08-10T19:58:21.993" UserId="5" />
  <row Id="13" PostId="43" Score="1" Text="Can you post your dmesg output?" CreationDate="2010-08-10T20:00:58.353" UserId="89" />
  <row Id="15" PostId="38" Score="1" Text="distro's tend to put quite a few things in /opt (usually proprietary packages) [/opt](http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES) doesn't say that the distro can't touch it. however it does say that about [/usr/local](http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY)" CreationDate="2010-08-10T20:04:22.680" UserId="29" />
  <row Id="16" PostId="27" Text="Why do you need -f (I assume it's force) on Debian based distros?" CreationDate="2010-08-10T20:05:46.157" UserId="13" />
  <row Id="17" PostId="80" Text="with your experience only reading kernel source would help .)" CreationDate="2010-08-10T20:06:32.490" UserId="78" />
  <row Id="18" PostId="69" Score="9" Text="You can also use !$ to refer to the last arg in the previous command.   This is useful because it works in scripts as well as interactively.  (Works in bash &amp; zsh)" CreationDate="2010-08-10T20:07:47.527" />
  <row Id="19" PostId="38" Score="1" Text="I've never seen a distro put stuff in `/opt`, however I've seen many times where `/usr/local` is littered with junk that does come from the distro" CreationDate="2010-08-10T20:07:49.663" UserId="88" />
  <row Id="20" PostId="9" Text="Both of those are interesting. I'll definitely try those out. Thanks!" CreationDate="2010-08-10T20:10:33.493" UserId="28" />
  <row Id="21" PostId="38" Text="distro's I use like to put java in /opt I've seen acrobat reader in there too. if they are putting stuff in /usr/local they are ignore FHS which say it needs to be safe from being overwritten in system updates." CreationDate="2010-08-10T20:10:48.953" UserId="29" />
  <row Id="22" PostId="80" Score="1" Text="RTFS is always best, but sometimes a little lite reading makes the source a little easier to understand." CreationDate="2010-08-10T20:11:00.480" UserId="27" />
  <row Id="23" PostId="38" Text="To each their own, I guess.  FHS is nice, but I think it gets ignored sometimes." CreationDate="2010-08-10T20:12:23.053" UserId="88" />
  <row Id="24" PostId="33" Text="Having /boot separate, and small, also means that there is less chance of corrupting it and not being able to boot.  Some people even go so far as to have it mounted read-only normally, and remount read-write when installing a new kernel." CreationDate="2010-08-10T20:12:27.607" UserId="31" />
  <row Id="25" PostId="63" Text="I agree. There's a few DNLA/Xbox360 apps. I've used some (though not on Unix) and I'm yet to find one where HD streams really look HD.&#xA;&#xA;Essentially when you get this hooked up it will show up as a video source in your library that you can connect to." CreationDate="2010-08-10T20:12:29.090" UserId="28" />
  <row Id="26" PostId="15" Text="But user configuration (and thus home) should stay around between installs.  Or do you reconfigure everything after a OS install?  Some of my files (.emacs, .cshrc) have bits that have been around for 15 years." CreationDate="2010-08-10T20:14:41.847" UserId="31" />
  <row Id="27" PostId="38" Text="The only stuff I've ever seen distro packages place in `/usr/local` was directory hierarchies that paralleled those in the standard tree, and maybe index files for things like TeX." CreationDate="2010-08-10T20:14:55.637" UserId="54" />
  <row Id="28" PostId="38" Text="The problem is that it gets ignore IMO. Standards exist for a reason. my `/usr/local` has a directory hierarchy but nothing is in those directories. but my `/opt` has 2 programs in it. java and Osmos (a game) both are proprietary." CreationDate="2010-08-10T20:17:01.513" UserId="29" />
  <row Id="29" PostId="38" Text="In openSUSE 11.3 KDE 64 bit, for example in /opt has been installed the following: gnome  google  icecream  kde3 &#xA;&#xA;All of them we're automatically installed using YaST GUI. So distros put stuff in /opt" CreationDate="2010-08-10T20:20:36.153" UserId="125" />
  <row Id="30" PostId="103" Score="4" Text="on some systems find dont have -exec option there you can use &#xA;find . | xargs &lt;Command&gt;" CreationDate="2010-08-10T20:22:29.907" UserId="57" />
  <row Id="31" PostId="79" Score="3" Text="A good tip! Worth noting that this doesn't actually reorder the arguments to the command. Instead it pipes the file into the process' STDIN, as grep now has no file argument it defaults to reading from STDIN.  Understanding this will open many opportunities to use this technique with other commands and also help people to understand what's going on when things don't work as expected.  For more info look up pipes and redirectors: http://www.dsj.net/compedge/shellbasics1.html" CreationDate="2010-08-10T20:23:39.763" UserId="99" />
  <row Id="32" PostId="51" Score="1" Text="Definitely, using your home directory is the best option. IMO." CreationDate="2010-08-10T20:24:19.933" UserId="125" />
  <row Id="33" PostId="26" Text="+1 for Arch (though you could give a link to the Arch front page, and maybe the AUR)" CreationDate="2010-08-10T20:25:42.553" UserId="29" />
  <row Id="34" PostId="48" Text="why so much? I have a 10G / and 2.8G to spare. But I suppose it can be so small because I have a 10G /var and a 1G /tmp" CreationDate="2010-08-10T20:28:32.110" UserId="29" />
  <row Id="35" PostId="101" Text="How does that tweak the Linux system? Hardware change or improvement is not the issue here." CreationDate="2010-08-10T20:28:41.547" UserId="5" />
  <row Id="36" PostId="109" Score="2" Text="Your answer is great. One thing to mention though, chroot is not a secure mechanism (a process can break out of the jail if it becomes root and sometimes even if not). Real jails can be enforced with freebsd jails and the like. See this http://en.wikipedia.org/wiki/FreeBSD_jail#Similar_technologies" CreationDate="2010-08-10T20:30:13.463" UserId="98" />
  <row Id="37" PostId="53" Text="I use `space` for page down, `b` for back a page (page up).  `g` for beginning, `G` for the end as well.  " CreationDate="2010-08-10T20:31:59.417" UserId="80" />
  <row Id="38" PostId="13" Text="imo in this kind of question it would definitely be good to tag with distro and mention it. I know this varies by distribution." CreationDate="2010-08-10T20:34:01.067" UserId="29" />
  <row Id="39" PostId="79" Text="@chill Good points; the tip was actually phrased so poorly as to be essentially wrong. I rewrote it based on your comment" CreationDate="2010-08-10T20:34:35.073" UserId="73" />
  <row Id="40" PostId="103" Score="4" Text="Indeed, and if you need to filter by something, try `-name &quot;*.c&quot;` or for example `-type d` for directories..." CreationDate="2010-08-10T20:37:18.233" UserId="119" />
  <row Id="41" PostId="27" Score="2" Text="There are two sets of files in play here.  You've got the actual init script in /etc/init.d/ and you have the links to it in your runlevel directory /etc/rcrunlevel.d/.  These guys point to the script in /etc/init.d/&#xA;&#xA;If you don't use -f update-rd.d will fail UNLESS the script in /etc/init.d/ is already deleted.&#xA;&#xA;If you do use -f update-rc.d will properly delete the link files regardless of whether or not the /etc/init.d/ script is deleted.&#xA;&#xA;" CreationDate="2010-08-10T20:38:08.670" UserId="45" />
  <row Id="42" PostId="109" Score="1" Text="The Gentoo install process uses a chroot so you can setup your new OS before you have installed GRUB and the Linux kernel etc." CreationDate="2010-08-10T20:38:12.773" UserId="150" />
  <row Id="43" PostId="116" Text="while this answer may hold sway in Barrens chat, I don't think it's appropriate." CreationDate="2010-08-10T20:44:22.383" UserId="135" />
  <row Id="45" PostId="26" Text="Gentoo is my favorite distro +1 " CreationDate="2010-08-10T20:54:33.090" UserId="150" />
  <row Id="46" PostId="26" Text="I would've given more links, but I thought I was required to have more than &lt;x&gt; rep (more than 100 anyway) to add more than 1 link, as that was the case on StackOverflow. I see it's not the case here, so links are added!" CreationDate="2010-08-10T20:56:42.120" UserId="69" />
  <row Id="47" PostId="125" Score="4" Text="It helps if you summarize the source here, so people can see what it says without having to click through (and in case the site ever goes down)" CreationDate="2010-08-10T20:57:54.377" UserId="73" />
  <row Id="48" PostId="64" Text="+1 : This is the only answer which actually shows the ntpd process (which listens on UDP by default)." CreationDate="2010-08-10T20:58:27.967" UserId="4" />
  <row Id="49" PostId="64" Text="For the humans: Your flags are equivalent to `netstat --listen --programs --udp --tcp`" CreationDate="2010-08-10T20:58:48.150" UserId="4" />
  <row Id="50" PostId="109" Text="If you want to see chroot in action I suggest testing Meego on your machine, see http://tinyurl.com/34jqwdn and http://tinyurl.com/2w4p43k" CreationDate="2010-08-10T20:59:04.937" UserId="125" />
  <row Id="51" PostId="51" Text="+1 Agreed.  I like ~/sbin for bash/ruby/python scripts, and ~/opt/... for compiled installs, with aliases in ~/bin." CreationDate="2010-08-10T20:59:28.697" UserId="135" />
  <row Id="52" PostId="128" Text="On Linux, you pass the --disabled-password flag to adduser. Maybe OS X has something similar in its command line repertoire?" CreationDate="2010-08-10T21:00:21.563" UserId="69" />
  <row Id="53" PostId="93" Text="How do you ensure that the MBR is copied to both drives?  do you have a link to instructions?" CreationDate="2010-08-10T21:02:29.860" UserId="135" />
  <row Id="54" PostId="64" Text="FreeBSD does not support the '-p' (&quot;Show Programs&quot;), which is why people use LSOF. It also does not support the -l (&quot;Show Listening Sockets&quot;) flags, but I think you can do that with `| grep LISTEN`, but that excludes the UDP connections. But otherwise, I think the equivalent flags on FreeBSD are: `netstat -p udp -p tcp -a`, but `netstat -a` might be simpler." CreationDate="2010-08-10T21:05:25.657" UserId="4" />
  <row Id="55" PostId="112" Score="1" Text="There is another book about virtual memory manager of linux. It includes source code explanations. URL: http://ptgmedia.pearsoncmg.com/images/0131453483/downloads/gorman_book.pdf (Legal to download)" CreationDate="2010-08-10T21:05:40.787" UserId="107" />
  <row Id="56" PostId="29" Text="&quot;apologies to everyone who already knew this&quot; -- Don't apologize. One purpose of this site is to provide good answers to common questions. The purpose of this early beta is to provide content." CreationDate="2010-08-10T21:06:46.103" UserId="4" />
  <row Id="57" PostId="107" Score="2" Text="Vim itself. Maybe you are not using the correct plugins/scripts for the job. It depends on what kind of programming you're doing, what language, what other tools you need and so forth. " CreationDate="2010-08-10T21:08:02.340" UserId="125" />
  <row Id="58" PostId="128" Text="Did you mean; user can log in without a password or can't log in at all because no password is set?" CreationDate="2010-08-10T21:08:34.400" UserId="150" />
  <row Id="59" PostId="117" Text="Yes. I slowly come to the same conclusion. I seems to me that the the way the Linux kernel swaps is not very efficient for desktops (on servers all of this work fine). Hence, maybe the recommendation should be to disable all swap space on desktops. Btw. I use 8GB RAM :)" CreationDate="2010-08-10T21:11:40.383" UserId="5" />
  <row Id="60" PostId="137" Score="4" Text="This should be a community wiki, since there is not one particular answer, but a list of subjective answers." CreationDate="2010-08-10T21:13:45.470" UserId="5" />
  <row Id="61" PostId="108" Text="Install Linux 2nd.  Is always the key point to remember for an easier life! " CreationDate="2010-08-10T21:14:19.463" UserId="150" />
  <row Id="62" PostId="13" Text="That's exactly why I didn't tag it... I'm looking for all the variations as I work with quite a few different distros." CreationDate="2010-08-10T21:15:27.763" UserId="13" />
  <row Id="63" PostId="147" Text="Kudos to @Dennis Williamson for the answer. See http://superuser.com/questions/146182/colorizing-your-terminal-and-shell-environment" CreationDate="2010-08-10T21:17:55.410" UserId="4" />
  <row Id="64" PostId="27" Text="Ah, that makes a lot of sense, I'd forgotten that the runlevel scripts were just links to the init scripts. Thanks for the extra explanation." CreationDate="2010-08-10T21:18:09.670" UserId="13" />
  <row Id="65" PostId="148" Score="1" Text="I am shamelessly copying this question from [superuser.com](http://superuser.com/questions/146182/colorizing-your-terminal-and-shell-environment), because I never got a good response there, and Superuser isn't specific to Un*x." CreationDate="2010-08-10T21:21:51.327" UserId="4" />
  <row Id="67" PostId="120" Score="1" Text="I think the question was more asking how to get a list of installed apps on one box/distro and install them on another box/distro, rather than an automated way of doing installs." CreationDate="2010-08-10T21:22:39.390" UserId="13" />
  <row Id="68" PostId="103" Text="Find can do surprisingly complex things - you might want to check the man page - http://unixhelp.ed.ac.uk/CGI/man-cgi?find - for the full option list." CreationDate="2010-08-10T21:23:52.623" UserId="165" />
  <row Id="69" PostId="125" Text="Please provide answers, not just links to answers. It's very  good to provide links which support your answer, however. Imagine I was Googling for this question--- a good answer at StackExchange will quickly find it's way to the first page of results." CreationDate="2010-08-10T21:27:17.133" UserId="4" />
  <row Id="72" PostId="137" Text="@txwikinger Agreed, I just didn't want to be the first of the CW police here :). Or the one to create the [subjective] tag, which needs to die a painful death" CreationDate="2010-08-10T21:42:35.530" UserId="73" />
  <row Id="73" PostId="107" Text="I'm not specifying any language so as not to influence the responses I'll get. I'm not really looking for Vim plugins, although they are useful." CreationDate="2010-08-10T21:47:50.850" UserId="84" />
  <row Id="74" PostId="130" Text="I did mention in my question I was using ctags, but thanks for the answer anyway! :)" CreationDate="2010-08-10T21:48:43.190" UserId="84" />
  <row Id="76" PostId="135" Score="1" Text="Just for reference - the man page: http://linux.die.net/man/1/lockfile. :)" CreationDate="2010-08-10T21:50:30.757" UserId="165" />
  <row Id="78" PostId="83" Text="Linux kernel in a nutshell is about how to build and install the kernel, not really about the internals of Linux/Unix.  Not to say it's not a good book, but I'm a bit biased.&#xA;&#xA;Oh, both of these books are free online if you want to look at them there." CreationDate="2010-08-10T21:54:50.177" UserId="91" />
  <row Id="79" PostId="137" Text="There are already community wikis there. So no excuse :) And I have created the subjective tag , so all your worries are gone. Please check the community wiki now :)" CreationDate="2010-08-10T22:00:46.693" UserId="5" />
  <row Id="80" PostId="121" Text="Well, turns out this interface had a loose Ethernet cable. I tightened the cable, and the &quot;No buffer space available&quot; error has gone away. Now, I need to figure out if I need to worry about the 'mbuf' number, or will it clear on it's own?" CreationDate="2010-08-10T22:01:02.747" UserId="4" />
  <row Id="81" PostId="120" Text="The latter is correct, and was exactly what I needed." CreationDate="2010-08-10T22:06:50.030" UserId="93" />
  <row Id="82" PostId="151" Text="? /pattern/ - search backwards (also used with n)&#xA;&#xA; F - Follow like tail -f " CreationDate="2010-08-10T22:16:22.563" UserId="185" />
  <row Id="83" PostId="165" Score="2" Text="Two things:&#xA;- It's JFS. &#xA;- Do you just want a comparison of arbitrary filesystems? Or is your choice limited to these three? I'm asking because if you're thinking about ext3, you should really think about ext4. Most people also throw XFS in the mix when they consider JFS. AFAIK, ResierFS has an uncertain future." CreationDate="2010-08-10T22:23:18.377" UserId="26" />
  <row Id="84" PostId="94" Text="If you didn't explicitly tell the installer of that distro where to install Grub it should be in MBR now. It also depends whether you installed Windows first or Linux first. For more info, see http://tinyurl.com/jha3s and http://tinyurl.com/ycyr2ms" CreationDate="2010-08-10T22:30:17.527" UserId="125" />
  <row Id="86" PostId="64" Text="@Stefan: My answer will show UDP sockets as well." CreationDate="2010-08-10T22:34:17.120" UserId="26" />
  <row Id="87" PostId="47" Text="@kbyrd : For me, this doesn't seem to show udp packets. I'm testing on an Ubuntu box which is running rsyslogd, listening on port 514/udp. " CreationDate="2010-08-10T22:51:47.503" UserId="4" />
  <row Id="88" PostId="64" Text="@kbyrd : Interesting. It doesn't show UDP packets for me. See my comment to your post." CreationDate="2010-08-10T22:52:14.087" UserId="4" />
  <row Id="89" PostId="47" Text="I need to do `sudo lsof |grep UDP` to see UDP packets." CreationDate="2010-08-10T22:53:30.700" UserId="4" />
  <row Id="90" PostId="29" Text="I know, but I wanted to make sure the person asking knew I wasn't trying to talk down to them. " CreationDate="2010-08-10T22:56:37.293" UserId="22" />
  <row Id="91" PostId="137" Text="@txwikinger It's actually [discouraged](http://blog.stackoverflow.com/2010/08/the-death-of-meta-tags/) now, so I removed it from all the posts that had it" CreationDate="2010-08-10T22:59:40.550" UserId="73" />
  <row Id="93" PostId="58" Text="+1 for stating your rationale and how the OP may apply it, including versioning." CreationDate="2010-08-10T23:07:50.660" UserId="200" />
  <row Id="94" PostId="158" Text="there is nothing like just 'code'. For example if you get Java code you probably will build it using maven or ant, if you get Python a good choice is setuptools. There are not standard ways to compile anything. Maybe you should reformulate the question." CreationDate="2010-08-10T23:25:44.767" UserId="139" />
  <row Id="95" PostId="121" Text="Unfortunately, bouncing the interface didn't fix it (there are multiple interfaces on this machine, I tried each one in sequence, and then  all at once, hoping that something would free the space). I rebooted the box, and hopefully this problem won't happen again after we fix the cable." CreationDate="2010-08-10T23:31:31.153" UserId="4" />
  <row Id="96" PostId="72" Score="3" Text="there is pkill command for the last one   " CreationDate="2010-08-10T23:34:29.790" UserId="139" />
  <row Id="97" PostId="158" Text="Good point. I'm actually coding in C# with mono, but my question applies to C/C++ as well. " CreationDate="2010-08-10T23:35:15.017" UserId="84" />
  <row Id="98" PostId="164" Score="1" Text="Portability is not the problem since Python is now virtually everywhere. The main complaint about SCons so far is that it is unacceptably slow. There are some tweaks to sacrifice build accuracy in favour of speed, but I'm not sure if it's still on par with Make." CreationDate="2010-08-10T23:43:21.507" UserId="210" />
  <row Id="99" PostId="181" Score="1" Text="Do you mean Darwin has 'killall' and other Unix variants don't? That's not true.&#xA;" CreationDate="2010-08-10T23:44:34.017" UserId="26" />
  <row Id="100" PostId="175" Text="Why is autogen.sh used when getting the latest, but configure/make is used for an official release?" CreationDate="2010-08-10T23:55:12.967" UserId="84" />
  <row Id="101" PostId="193" Text="+1 for using Bees knees in context!" CreationDate="2010-08-11T01:05:16.757" UserId="80" />
  <row Id="102" PostId="192" Text="Plus symlinks to keep the binary names constant and consistent." CreationDate="2010-08-11T01:05:58.223" UserId="80" />
  <row Id="103" PostId="194" Text="Does oracle have any real motivation to back both ZFS and btrfs? It seems to be logical just to merge the 2 or relicense ZFS which is the more mature product.  " CreationDate="2010-08-11T01:18:52.017" UserId="207" />
  <row Id="104" PostId="193" Text="I'll accept this for now, but it may need to be revisited in a year or so " CreationDate="2010-08-11T01:20:09.753" UserId="207" />
  <row Id="105" PostId="194" Text="Note, you should expand this with the non-fuse linux github fork, albeit that is even more risky, it does not even work against the latest kernels at the moment. " CreationDate="2010-08-11T01:21:11.293" UserId="207" />
  <row Id="106" PostId="181" Text="show me in any BSD system or hp/ux, solaris KILLALL command =)&#xA;" CreationDate="2010-08-11T01:37:38.023" UserId="201" />
  <row Id="108" PostId="169" Score="2" Text="You may also want to make offerings to whatever deity you believe in before beginning this process. " CreationDate="2010-08-11T02:10:28.803" UserId="22" />
  <row Id="109" PostId="177" Score="1" Text="What FTP software are you use? What authentication methods?" CreationDate="2010-08-11T02:12:01.717" UserId="39" />
  <row Id="110" PostId="185" Text="Out of curiosity, did you slide down an order of magnitude by accident, meaning you have 2.4TB with 5*600GB drives? " CreationDate="2010-08-11T02:14:16.173" UserId="22" />
  <row Id="111" PostId="175" Score="1" Text="Typically people who want the &quot;bleeding edge&quot; software will pull the release from the version control software (like git, subversion, or CVS). This is &quot;bleeding edge&quot; because it's probably untested, unlike a released tarball, which has (probably) been vouched for as working (at least mostly). Make sense?" CreationDate="2010-08-11T02:30:25.667" UserId="22" />
  <row Id="112" PostId="185" Text="@Matt ... big oops on my side :) " CreationDate="2010-08-11T02:38:44.790" UserId="207" />
  <row Id="113" PostId="185" Score="3" Text="No worries...if you didn't, I was going to ship you an 8GB flash drive keychain out of mercy :-) " CreationDate="2010-08-11T02:39:54.880" UserId="22" />
  <row Id="114" PostId="213" Text="I'm happy to give up the reliability for the ability to access updated software packages, mostly desktop based (i.e. Firefox). The machine(s) are local desktops, not servers, so the reliability issue is entirely irrelevant. Fedora is also used by the labs in the building, so when I hand off control of the machines to the IT guy, I'm more comfortable knowing he will be comfortable with the setup." CreationDate="2010-08-11T02:47:09.433" UserId="93" />
  <row Id="115" PostId="181" Score="2" Text="this answer is suspect of trolling.  It is not necessary to be so defamatory in your statements about *nix other than os X.  Also, last time I EVER USED *NIX killall was absolutely present in my PATH.  Also also, linux has system profilers.&#xA;&#xA;Do your homework.  Don't be a déuche.&#xA;&#xA;edit:  I use and am very fond of OS X." CreationDate="2010-08-11T02:53:51.790" UserId="183" />
  <row Id="116" PostId="181" Score="2" Text="I have killall on linux, so it's not unique to darwin" CreationDate="2010-08-11T03:08:34.593" UserId="29" />
  <row Id="117" PostId="209" Text="This isn't really using `/home` as the mountpoint for the new partition.  It's just symlinking it." CreationDate="2010-08-11T03:47:03.767" UserId="224" />
  <row Id="118" PostId="181" Score="1" Text="This answer is vague and inaccurate.  What useful features does fdisk lack?  Linux RAID (mdadm) *does* have concatenation (LINEAR), striping (RAID0) and mirroring (RAID1), among others.  Linux also supports both HFS and HFS+." CreationDate="2010-08-11T04:13:46.793" UserId="224" />
  <row Id="119" PostId="33" Score="1" Text="+1 separate /home. You can encrypt all your personal files (entire /home partition), and not unnecessarily slowing down access to non-private system files and libraries." CreationDate="2010-08-11T04:54:03.070" UserId="210" />
  <row Id="120" PostId="226" Text="This will work. Thanks!" CreationDate="2010-08-11T05:03:07.517" UserId="78" />
  <row Id="121" PostId="194" Text="btrfs is way less mature than ZFS, which works excellently today, particularly on distributions like Nexenta which, with the Ubuntu/Debian style server-oriented userland, are more usable for those familiar with Linux (IMO)." CreationDate="2010-08-11T05:06:37.323" UserId="246" />
  <row Id="122" PostId="228" Text="I'm on a Z Shell, although there should be no problems in adapting this." CreationDate="2010-08-11T05:14:39.307" UserId="78" />
  <row Id="123" PostId="117" Score="1" Text="@txwikinger: may I ask why it is fine on servers?" CreationDate="2010-08-11T06:09:09.647" UserId="250" />
  <row Id="124" PostId="217" Score="1" Text="Personally I think this question is more programming related than unix related." CreationDate="2010-08-11T06:18:41.860" UserId="250" />
  <row Id="125" PostId="71" Text="just a side note in case you don't know it already: you can get the list of programs to install on the new system, then copy over the settings in your home folder (files and directories whose names start with a `.`)" CreationDate="2010-08-11T06:25:31.330" UserId="250" />
  <row Id="126" PostId="152" Text="oh great, thanks. Do you know of any option to have it take the passphrase as a linux password where it doesn't show the characters?" CreationDate="2010-08-11T06:36:47.953" UserId="58" />
  <row Id="127" PostId="108" Text="Yes, I've learned that, Chris. :)" CreationDate="2010-08-11T06:38:20.557" UserId="58" />
  <row Id="128" PostId="102" Text="So the System Reserved Partition is not on the mbr?" CreationDate="2010-08-11T06:40:42.343" UserId="58" />
  <row Id="129" PostId="78" Text="Great. That's exactly what I was looking for." CreationDate="2010-08-11T06:41:36.790" UserId="58" />
  <row Id="130" PostId="192" Text="and we have what's called `multilib` http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib" CreationDate="2010-08-11T06:41:53.183" UserId="250" />
  <row Id="131" PostId="93" Text="Thanks for noting the possible problem." CreationDate="2010-08-11T06:43:05.880" UserId="58" />
  <row Id="132" PostId="116" Text="-1, as you can see, many people do" CreationDate="2010-08-11T07:02:08.807" UserId="250" />
  <row Id="133" PostId="41" Text="I wonder why the down votes? +1 to kind of &quot;balance off&quot;" CreationDate="2010-08-11T07:04:11.827" UserId="250" />
  <row Id="134" PostId="49" Score="6" Text="thanks a lot for `Ctrl+L`, I have always used 'clear'" CreationDate="2010-08-11T07:08:44.623" UserId="250" />
  <row Id="135" PostId="767" Text="I know its not the correct answerer for you question but why cant you try synaptic? its very user frindly and does download and install dependencies automatically.  &#xA;Is gnome is not present on your system?" CreationDate="2010-08-11T07:12:26.020" UserId="57" />
  <row Id="136" PostId="41" Text="I am also wondering why :-).  &#xA;I have used same solution for using cscope where i don't have install permissions." CreationDate="2010-08-11T07:14:24.330" UserId="57" />
  <row Id="137" PostId="160" Text="thanks for the `bg`, when I have a program running in the background and accidentally press `fg` I don't know how to push it back :D" CreationDate="2010-08-11T07:15:23.657" UserId="250" />
  <row Id="138" PostId="213" Text="As long as you know what you're getting yourself into. You've checked the support lifetime of the Fedora releases, right? Also, stability /does/ have a place on the desktop, I would argue." CreationDate="2010-08-11T07:38:44.333" UserId="22" />
  <row Id="139" PostId="209" Text="It's effectively the same thing. Just because /home/username is a symlink doesn't mean that it won't work. If you want to put all user accounts on the other partition, just change the 'cp -R' line to do /home instead of /home/username" CreationDate="2010-08-11T07:40:26.390" UserId="22" />
  <row Id="140" PostId="123" Text="Can't you place an extra file in the apparmor directory containing the profiles with your profile for [g|n]nscd in it?" CreationDate="2010-08-11T08:27:03.907" UserId="272" />
  <row Id="141" PostId="51" Score="2" Text="+1 for using your home directory as it makes things simpler; -1 for the suggestion to avoid $PATH -- there are actually directories there &quot;reserved for local installs&quot; according to the standards (e.g., `/usr/local`).  " CreationDate="2010-08-11T08:34:10.503" UserId="274" />
  <row Id="142" PostId="254" Text="They are pretty similar, I can switch between them easy enough." CreationDate="2010-08-11T08:48:16.273" UserId="261" />
  <row Id="143" PostId="194" Text="*shrug*  My ZFS adventure included a trip into Nexenta land, which I couldn't get running on a perfectly standard new PC I built for the purpose of testing out the ZFS options.  I tried both the stable and the beta versions available at the time.  FreeBSD ran on it just fine, so I went with that." CreationDate="2010-08-11T09:11:43.173" UserId="138" />
  <row Id="145" PostId="199" Score="4" Text="You can do this in bash with the &lt;()" CreationDate="2010-08-11T09:45:04.407" UserId="25" />
  <row Id="146" PostId="71" Text="Just be careful about version mismatches. I've wrecked settings due to configuration incompatibilities in my home directory doing that. Typically it works ok migrating to newer versions, but there are occasional difficulties. " CreationDate="2010-08-11T10:17:02.770" UserId="22" />
  <row Id="147" PostId="237" Text="Minor quibble: clang was developed for use in xcode from the start. See http://clang.llvm.org/clang_video-05-25-2007.html" CreationDate="2010-08-11T10:26:27.087" UserId="18" />
  <row Id="149" PostId="238" Text="Shouldn't this be on SO?" CreationDate="2010-08-11T10:39:31.410" UserId="78" />
  <row Id="150" PostId="79" Text="Something I found out recently: you can redirect input to loops (for, while, etc.). See http://www.faqs.org/docs/abs/HTML/redircb.html." CreationDate="2010-08-11T10:41:55.027" UserId="165" />
  <row Id="151" PostId="175" Score="1" Text="@Matt, sure it makes sense but I think the comment was directed more at the fact that Sandy now made it appear as if there's an autogen.sh in every git'd/svn'd trunk." CreationDate="2010-08-11T10:42:06.553" UserId="280" />
  <row Id="152" PostId="251" Text="Lol. Brilliant. :)" CreationDate="2010-08-11T10:45:21.997" UserId="165" />
  <row Id="153" PostId="175" Score="1" Text="And a chicken in every pot...or something like that. Heck, every once in a while, I come across software without a configure script, too. If there were an easy, unified way of doing it, we wouldn't need packages ;-) " CreationDate="2010-08-11T11:04:53.213" UserId="22" />
  <row Id="154" PostId="255" Text="@Neal if vim is among the 50 text editors I'll be happy ;)" CreationDate="2010-08-11T11:18:06.080" UserId="48" />
  <row Id="155" PostId="238" Text="I believe it actually belongs on books.stackexchange.com... ;-) There will always be overlapping topics." CreationDate="2010-08-11T11:20:23.783" UserId="258" />
  <row Id="156" PostId="243" Text="Thanks, I just bought the book. It looks like a good read and isn't huge :)" CreationDate="2010-08-11T11:48:26.683" UserId="254" />
  <row Id="157" PostId="262" Score="10" Text="There are also historical reasons for having a separate `/boot`: in older times, the BIOS could only access part of a large disk, so all files needed by the OS bootloader had to be kept in the BIOS-accessible zone. Hence a separate `/boot` partition.  This does no longer apply, though." CreationDate="2010-08-11T11:58:50.580" UserId="274" />
  <row Id="158" PostId="243" Text="gr8. All the best :-)" CreationDate="2010-08-11T12:04:46.463" UserId="57" />
  <row Id="159" PostId="239" Text="sorry for the confusion. I'd like to separate my home into a partition" CreationDate="2010-08-11T12:16:32.837" UserId="50" />
  <row Id="160" PostId="256" Text="My Ubuntu 8.04 came from Dell with a /boot partition.  It wasn't my choice.  When I installed 10.04 fresh, it didn't try to create one." CreationDate="2010-08-11T12:28:49.630" UserId="289" />
  <row Id="161" PostId="206" Text="You could always repartition and then restore /home from backup.  You do have backups, don't you? " CreationDate="2010-08-11T12:35:34.297" UserId="31" />
  <row Id="162" PostId="256" Text="When I tried to install Arch Linux for the first time, this was *highly* recommended, and it even failed to install the first time I didn't do this. Never had problemes in other distros, though." CreationDate="2010-08-11T12:55:19.170" />
  <row Id="163" PostId="51" Text="My suggestion to avoid /usr/local was based on the original poster's (somewhat vague) desire to not interfere with packaged software.  Since there is plenty of packaged software that will &quot;help&quot; by looking in /usr/local or in $PATH, I figured that qualifies as interfering.&#xA;&#xA;But it really depends on a person's individual needs and goals.  /usr/local can be a perfectly fine choice in many situations." CreationDate="2010-08-11T13:05:16.137" UserId="85" />
  <row Id="164" PostId="103" Text="You might also want to watch out for filenames with spaces, which may break the -exec and xargs approach. See http://tinyurl.com/ygvgmw5 " CreationDate="2010-08-11T13:06:21.827" UserId="292" />
  <row Id="165" PostId="175" Text="Matt is absolutely right, this is why I said &quot;for the most part&quot;, and first advocated looking up the project's website.&#xA;&#xA;The autogen.sh/configure advice will hold for pretty much every GNOME module, and a ton of other projects, too.&#xA;&#xA;Some projects don't use automake, and will only have Makefile, and you will just run `make &amp;&amp; sudo make install`.  Some Python projects will only have a setup.py, which you will call to install (since there is no real compile setup).  There are plenty of other build/install systems out there, too.  Hopefully README or INSTALL files will explain exactly what to do." CreationDate="2010-08-11T13:11:21.393" UserId="85" />
  <row Id="167" PostId="262" Text="Ah yes, I had long forgotten about this requirement. Thanks for the reminder!" CreationDate="2010-08-11T13:15:11.213" UserId="263" />
  <row Id="168" PostId="153" Score="2" Text="+1 for mentioning ack. Don't forget to include the --pager=&quot;less -R&quot; option to maintain maintain highlighting for paginated results. Might also be worth mentioning that on Ubuntu, it is referred to as &quot;ack-grep&quot; since &quot;ack&quot; is taken." CreationDate="2010-08-11T13:19:16.820" UserId="292" />
  <row Id="169" PostId="175" Text="I had added a comment here about what autogen.sh does, but I think it's much better answered by Miguel in Louis's question here: http://unix.stackexchange.com/questions/158/is-automake-and-autoconf-the-standard-way-to-compile-code" CreationDate="2010-08-11T13:19:54.557" UserId="85" />
  <row Id="170" PostId="158" Text="Small note: autogen.sh does not execute make for you, just configure." CreationDate="2010-08-11T13:21:44.613" UserId="85" />
  <row Id="171" PostId="284" Text="Should be a community wiki" CreationDate="2010-08-11T13:30:52.020" UserId="5" />
  <row Id="175" PostId="151" Text="As i recall it, `&amp;pattern` shows ONLY lines that contain /pattern/ ?" CreationDate="2010-08-11T13:36:15.843" UserId="292" />
  <row Id="176" PostId="122" Score="4" Text="I never realized you could do `builtin foo` to get around having a function defined `cd`; I've been using `chdir` in my functions. Handy" CreationDate="2010-08-11T13:39:07.023" UserId="73" />
  <row Id="179" PostId="277" Score="3" Text="I would add you can use  -r option with scp to recursively copy an entire directory&#xA;&#xA;scp -r source desthost:/path/to/dest/&#xA;" CreationDate="2010-08-11T13:48:32.443" UserId="171" />
  <row Id="180" PostId="237" Text="Hi Daniel, that might be true, but it wasn't included in xCode until recently (or at least not in the bundle I downloaded from Apple)" CreationDate="2010-08-11T13:48:32.553" UserId="250" />
  <row Id="181" PostId="107" Text="I found this presentation very useful: http://zmievski.org/2010/06/vim-for-programmers-on-slideshare" CreationDate="2010-08-11T14:26:26.847" UserId="298" />
  <row Id="182" PostId="289" Text="Yeah, I know about xbuild, but I'm trying to wean myself from IDEs that just want to hold my hand. Plus, Mono is compiled using Mono and uses autoconf, so I wanted to know a bit more. Thanks!" CreationDate="2010-08-11T14:26:28.407" UserId="84" />
  <row Id="184" PostId="219" Text="dmalloc is not very performant as expected in very large systems. valgrind is a better bet, and even there you will hit bottlenecks..." CreationDate="2010-08-11T14:33:11.400" />
  <row Id="185" PostId="101" Text="It's possible that your linux install isn't using all of the hardware available to it. This is a performance issue and you've stated in a previous comment that you're at your max RAM limit. Without knowing more details about your configuration an easy route to take is better hardware." CreationDate="2010-08-11T14:38:45.740" UserId="89" />
  <row Id="187" PostId="101" Score="1" Text="the &quot;Linux system&quot; is composed of hardware and software.  Adding memory is &quot;tweaking&quot; the system." CreationDate="2010-08-11T14:48:53.250" UserId="111" />
  <row Id="189" PostId="59" Text="I've found that disabling swap entirely tends to make a system respond faster.  Apps get notified by the kernel that they don't have memory and respond accordingly." CreationDate="2010-08-11T14:58:19.610" UserId="111" />
  <row Id="190" PostId="64" Text="@Stefan: That seems so...backwards. :-/ (Re: BSD netstat not supporting -p or -l)" CreationDate="2010-08-11T15:11:28.843" UserId="69" />
  <row Id="191" PostId="64" Text="@B : I agree. But I think the original BSD `netstat` didn't support the flags, therefore the current netstat doesn't introduce that change either. It's very *BSD!" CreationDate="2010-08-11T15:29:45.657" UserId="4" />
  <row Id="192" PostId="306" Score="1" Text="I think what he meant is to get tiling with GNOME's default window manager, i.e. metacity or compiz…" CreationDate="2010-08-11T15:47:24.813" UserId="102" />
  <row Id="193" PostId="306" Text="@Marcel Oh, perhaps" CreationDate="2010-08-11T15:56:19.207" UserId="73" />
  <row Id="194" PostId="307" Score="1" Text="This is definitely a question that belongs on [SO](http://stackoverflow.com); it's a programming question that involves a Linux compiler/environment" CreationDate="2010-08-11T15:58:30.797" UserId="73" />
  <row Id="195" PostId="151" Text="@lsc:  Yes, that's right.  I've updated." CreationDate="2010-08-11T16:07:12.977" UserId="160" />
  <row Id="196" PostId="194" Score="4" Text="Frankly, between ZFS and DTrace, the licensing issue is something that I'm hoping will push more people to consider using FreeBSD." CreationDate="2010-08-11T16:29:51.193" UserId="160" />
  <row Id="197" PostId="305" Text="please make your question a bit more specific..." CreationDate="2010-08-11T16:36:10.533" UserId="102" />
  <row Id="198" PostId="205" Text="Seconding--I use Apache + mod_mono, and it performs very well once it gets started. The only time I see slowness is during the initial page load, but this is common with pretty much everything (Rails, etc.)." CreationDate="2010-08-11T16:44:04.797" UserId="69" />
  <row Id="199" PostId="308" Text="X-tile works pretty fine if you are using just one monitor (if using two or more monitors, it gets tricky to configure it correctly)" CreationDate="2010-08-11T16:48:49.910" UserId="66" />
  <row Id="200" PostId="306" Text="@Michael, or perhaps not ;) The question is really vague..." CreationDate="2010-08-11T17:00:31.500" UserId="102" />
  <row Id="201" PostId="277" Score="1" Text="@Steve_ Good point.  Also -C will compress the files as they are being transferred, which can help over slow links." CreationDate="2010-08-11T17:01:27.550" UserId="31" />
  <row Id="202" PostId="63" Text="Thanks. I looked it up and uShare looks promising. " CreationDate="2010-08-11T17:02:51.013" UserId="32" />
  <row Id="203" PostId="234" Text="I love that one!" CreationDate="2010-08-11T17:05:53.487" UserId="178" />
  <row Id="204" PostId="305" Text="I edited your tags.  This is not a linux-specific question, but an X Window System specific question." CreationDate="2010-08-11T17:13:37.953" UserId="183" />
  <row Id="205" PostId="320" Text="You want to test your program on other platforms with having them installed? Or am I misunderstanding that part" CreationDate="2010-08-11T17:16:05.063" UserId="73" />
  <row Id="206" PostId="314" Text="Doesn't this require something like 'sx' or 'sz' on the source host?" CreationDate="2010-08-11T17:19:30.267" UserId="304" />
  <row Id="207" PostId="316" Text="ahh yes.. I remember doing that but in this case kermit isn't install on the source host." CreationDate="2010-08-11T17:21:40.827" UserId="304" />
  <row Id="208" PostId="289" Score="1" Text="Interestingly, lots of Mono projects are trying to migrate to msbuild now that xbuild is working so well.  It makes Windows/Mac support a bit easier.  Mono has so much C code that I'm not sure how practical it would be for them to move to xbuild.  But autoconf works great, so do whatever works for you. :-)" CreationDate="2010-08-11T17:31:37.643" UserId="85" />
  <row Id="209" PostId="320" Score="3" Text="This question is phrased very general and hence not easy to answer. It would help if you could specify a little closer what exactly you want to do. It might be that certain platforms are supported by one solution, but not all possible platforms. Furthermore, do you accept VMs?" CreationDate="2010-08-11T17:32:23.553" UserId="5" />
  <row Id="210" PostId="314" Score="3" Text="Nope, minicom handles its own file xfers. sx,sy,sz and rx,ry,rz are separate programs, usually found in packages aptly named lszrz or something.&#xA;Though I would suggest using sz and rz. Small, simple and it does what it does. Minicom is a whole terminal emulator." CreationDate="2010-08-11T17:34:25.377" UserId="280" />
  <row Id="211" PostId="322" Score="1" Text="Should possibly be a community wiki." CreationDate="2010-08-11T17:36:11.177" UserId="5" />
  <row Id="212" PostId="318" Score="1" Text="Might I suggest a big red warning sign above your first idea? Some lonely soul with the heart to learn might execute something like that in the hopes of copying just files, without reading the following paragraph first of course :)" CreationDate="2010-08-11T17:36:17.027" UserId="280" />
  <row Id="214" PostId="326" Text="I am not that advanced of a Linux user to be any kind of nazi :)&#xA;It may be just my lack of understanding that Monodevelop cannot be used on KDE. Though I started with GUI on Linux I quickly switched to text because I was always connecting using my Linux servers using SSH and didn't want waste resources on GUI. Never got around learning GUI stuff on Linux. " CreationDate="2010-08-11T18:06:47.077" UserId="32" />
  <row Id="216" PostId="29" Text="@Matt : I asked the question, and you weren't talking down to me. I also know the answer, but I figure it's a good question for the beta. And your answer was much better then anything I would write ;)" CreationDate="2010-08-11T18:15:22.350" UserId="4" />
  <row Id="217" PostId="305" Text="@its : Isn't this a Gnome(and it's WM)-specific question, not an X-specific question? It's a fine question (but maybe flesh it out a bit), and I think it's fine to ask questions in a simple way, since that's how many people will ask this question in the future." CreationDate="2010-08-11T18:17:50.113" UserId="4" />
  <row Id="219" PostId="328" Text="I used to have troubles with mod_proxy, but I might try this again." CreationDate="2010-08-11T18:22:33.690" UserId="5" />
  <row Id="220" PostId="327" Text="I don't think I can use rewrite to the ip-address since this would prevent me to use multiple domains in one VM, however, I probably can rewrite into local sub domains." CreationDate="2010-08-11T18:25:51.157" UserId="5" />
  <row Id="221" PostId="277" Text="It's either `scp` or `rsync` for me." CreationDate="2010-08-11T18:34:54.570" UserId="163" />
  <row Id="222" PostId="305" Text="@Stefan : doi, yeah, that is more accurate. My brain tried to replace classification with classification where there was no need for either." CreationDate="2010-08-11T18:35:06.257" UserId="183" />
  <row Id="223" PostId="326" Text="The more you know :)" CreationDate="2010-08-11T18:37:53.863" UserId="183" />
  <row Id="224" PostId="326" Score="2" Text="Monodevelop is THE Mono IDE. If you really don't want to use GTK libraries, you could also use EMACS with it's Mono mode: http://www.cybercom.net/~zbrad/DotNet/Emacs/ but I really recommend Monodevelop as you IDE." CreationDate="2010-08-11T18:44:42.413" UserId="313" />
  <row Id="225" PostId="211" Score="1" Text="@wmat What I meant to say, is the sftp interface where your &quot;cd&quot;, &quot;ls&quot;, etc commands are run on the remote server allowing you to get/put files without having to explicitly type each path everytime." CreationDate="2010-08-11T19:18:56.370" UserId="190" />
  <row Id="226" PostId="123" Text="Nah, gnscd and unscd binaries need to be called &quot;nscd&quot;, for various esoteric reasons. Not helpful, is it? o_o" CreationDate="2010-08-11T20:16:35.607" UserId="140" />
  <row Id="227" PostId="335" Score="2" Text="As somebody who's worked on Giver in the past, I can say it's a neat app, but it's totally unmaintained and has plenty of bugs, especially when it comes to transferring large files.  Don't expect much from it." CreationDate="2010-08-11T20:20:30.090" UserId="85" />
  <row Id="228" PostId="46" Score="1" Text="I'm just a distro geek and enjoy installing and trying out all the different ones. Gentoo was always my fav, but with a wife, kids and a business to run the amount of time I have to spend taking good care of a gentoo install has lowered greatly." CreationDate="2010-08-11T20:37:40.500" UserId="28" />
  <row Id="229" PostId="339" Text="@zerocrates Ideally I would like to have a centralize user database, hence my question. I don't want to create the same user accounts on all computers." CreationDate="2010-08-11T20:46:07.237" UserId="48" />
  <row Id="230" PostId="338" Text="@wzzrd Thanks for the nice answer. Actually I am more interested in centralized authentication." CreationDate="2010-08-11T20:47:33.707" UserId="48" />
  <row Id="231" PostId="181" Text="System V, Linux and Solaris have killall - http://linux.die.net/man/1/killall" CreationDate="2010-08-11T21:21:10.613" UserId="60" />
  <row Id="232" PostId="308" Text="I didn't know X-tile. Seem what I need now." CreationDate="2010-08-11T21:34:02.477" UserId="301" />
  <row Id="233" PostId="181" Text="BTW: Linux-killall and Solaris-killall are quite different" CreationDate="2010-08-11T21:36:29.140" UserId="258" />
  <row Id="235" PostId="313" Text="This is exactly what I mean but I'd prefer to avoid completely avoid ASP.NET&#xA;I'd like to write a &quot;plain old FastCGI&quot;, but with C#." CreationDate="2010-08-11T21:39:38.173" UserId="301" />
  <row Id="236" PostId="307" Text="I do not agree since this Q&amp;A site is targeted to &quot;advanced&quot; users. Most Unix / Linux advanced users are programmers." CreationDate="2010-08-11T21:42:36.393" UserId="301" />
  <row Id="237" PostId="203" Text="This is exactly what I was looking for. Thank you very much!" CreationDate="2010-08-11T22:10:28.960" UserId="190" />
  <row Id="238" PostId="252" Text="I'm trying to use gparted, but I can't resize the / partition. Do you have any recommendations on how to resize the root partition? I might use Parted Magic to do it from a live cd." CreationDate="2010-08-11T23:23:09.337" UserId="50" />
  <row Id="240" PostId="193" Text="Fair enough.  Btrfs had better be out of testing in a years time, agreed!  I'm really looking forward to some of the new &quot;features&quot;, especially the checksumming (I have an older home server with old, tired drives...)" CreationDate="2010-08-12T00:41:36.927" UserId="56" />
  <row Id="241" PostId="348" Text="Three words: add more RAM.  There's also another variant of this: add more swap.  Pushing your machine to the limit of its abilities will always cause grief, regardless of what the OS running happens to be." CreationDate="2010-08-12T01:02:41.843" UserId="56" />
  <row Id="242" PostId="234" Text="Kicking!  That is awesome!" CreationDate="2010-08-12T01:03:48.783" UserId="80" />
  <row Id="243" PostId="262" Score="1" Text="well... iirc the bootloader can only access primary partitions still... so it can be useful if you've quite a few extended partitions." CreationDate="2010-08-12T01:07:22.490" UserId="29" />
  <row Id="244" PostId="303" Text="D'oh!  Beat me to it :)" CreationDate="2010-08-12T01:10:12.267" UserId="56" />
  <row Id="245" PostId="338" Text="Kerberos would give you centralized authentication.  And it's the core protocol used for authentication in AD anyways :)" CreationDate="2010-08-12T01:12:24.260" UserId="56" />
  <row Id="246" PostId="181" Text="@EricSchaefer very true - Solaris `killall` = Linux `shutdown -h`.  Not something you just want to take for granted." CreationDate="2010-08-12T01:15:15.953" UserId="56" />
  <row Id="247" PostId="283" Text="For quick-n-dirty *nix-to-*nix transfers, nothing comes close to NFS.  A good admin can crank up both boxes and do transfers in less than 5 minutes, it's near-transparent to the rest of the system, and it's well-known and stable.  +1 for something that doesn't require banging out a command line every time to transfer something." CreationDate="2010-08-12T01:18:14.793" UserId="56" />
  <row Id="248" PostId="173" Score="1" Text="&quot;Comparatively to Windows, it's easy. You're (pretty much) required to use an installer application that does all of the work in a Wizard. With Linux... not so much.&quot;  There's the weak point in the question.  With Windows, you *rarely* get the source code, so you're at the mercy of whomever made the package.  If you think about this, it's not that much different from saying &quot;there was no Linux package, so I have to build from source&quot;, ie. there wasn't a way to get it to begin with.  Building from source is usually a last resort in *nix-land, but rarely an option in Windows-ville." CreationDate="2010-08-12T01:22:49.430" UserId="56" />
  <row Id="249" PostId="173" Text="That being said... +1 bump for asking a common question that should be answered for all newcomers to *nix systems. :)  Building from source sometimes means the difference between fixing a nasty bug and just suffering until the next software release.  It's really not that bad, and as many here have pointed out, once you know what to look for and how to do it, fairly painless." CreationDate="2010-08-12T01:24:36.367" UserId="56" />
  <row Id="250" PostId="255" Text="@pablo, `vim` is a knock-off of `vi`, which should universally be available on the majority of *nix platforms.  You should be fine." CreationDate="2010-08-12T01:27:07.453" UserId="56" />
  <row Id="251" PostId="144" Text="+1, swap is a band-aid that we hope to not use..." CreationDate="2010-08-12T01:28:34.503" UserId="56" />
  <row Id="253" PostId="367" Score="4" Text="That's freaking awesome!" CreationDate="2010-08-12T03:09:22.980" UserId="160" />
  <row Id="255" PostId="343" Text="Case 3: The script didn't produce any output, therefore no email was sent." CreationDate="2010-08-12T03:37:22.427" UserId="4" />
  <row Id="256" PostId="100" Text="Well, once you figure this out it will answer my question at http://ubuntu.stackexchange.com/questions/1733/what-reason-could-prevent-console-output-from-virsh-c-qemu-system-console-gu ." CreationDate="2010-08-12T03:41:31.820" UserId="4" />
  <row Id="257" PostId="326" Text="not that I don't like Vim or Emacs but seriously those are the next runners up? no love for Kate or Kdevelop? Oh well those were my answers being that they are KDE specific and very featureful,I can't speak for Mono support though, I suspect that Monodevelop is the best for developing Mono." CreationDate="2010-08-12T07:16:57.183" UserId="29" />
  <row Id="258" PostId="377" Text="I really wish they had never turned this off by default.&#xA;&#xA;oh, and apt-get doesn't work on my system ;) apparently we haven't packaged dontzap either. oh well." CreationDate="2010-08-12T07:20:33.290" UserId="29" />
  <row Id="259" PostId="377" Text="did you try first solution ?" CreationDate="2010-08-12T07:28:13.037" UserId="57" />
  <row Id="260" PostId="377" Text="`setxkbmap -option terminate:ctrl_alt_bksp`&#xA;&#xA;by itself that didn't work :( apparently you need to do this too." CreationDate="2010-08-12T07:29:43.827" UserId="29" />
  <row Id="261" PostId="369" Score="7" Text="I would advise against the suggestion to allow passing of the script as a command line argument, as that essentially gives anyone who can execute the program the ability to run any script as that defined user." CreationDate="2010-08-12T08:05:10.077" UserId="263" />
  <row Id="262" PostId="165" Text="Assuming Linux, you might also want to look at btrfs which is gaining traction lately, and is now an (unsupported) option on openSUSE." CreationDate="2010-08-12T09:15:29.593" UserId="179" />
  <row Id="263" PostId="379" Text="Samba is trying to make there server be capable of being an AD server... I don't know the status of that project though... also OpenLDAP." CreationDate="2010-08-12T09:15:44.163" UserId="29" />
  <row Id="264" PostId="202" Text="Any Kerberos-enabled network service - from NFS to Apache and from SSH to FTP - will work just fine with any Kerberos implementation. For this functionality it does not matter whether you use stock Winbind, Likewise's version of Winbind, pam_krb5 with MIT Kerberos or Heimdal, Vintella, Centrify, it's all the same: Kerberos single sign-on.&#xA;&#xA;Using a hashed SID as the basis for UID's and GID's (I think that is what they do) has it's downside too: I don't think cross-realm trusts work very well with this. &#xA;&#xA;What *is* cool about this, is that it transparant: AD does not have to be changed for this." CreationDate="2010-08-12T09:26:20.147" UserId="272" />
  <row Id="265" PostId="149" Text="Or if you want to use ZSH, Phil Gold's prompt at http://aperiodic.net/phil/prompt/ is a work of art." CreationDate="2010-08-12T09:27:42.690" UserId="179" />
  <row Id="267" PostId="377" Text="@Hermant of course but it seems to be only 1/2 of it. I actually have it working now... there's a way to configure the xsetkbd option in xorg.conf. like so `Section &quot;InputClass&quot;&#xA;    Identifier      &quot;Keyboard Defaults&quot;&#xA;    MatchIsKeyboard &quot;yes&quot;&#xA;    Option          &quot;XkbOptions&quot; &quot;terminate:ctrl_alt_bksp&quot;&#xA;EndSection` there are several other places it could be done too." CreationDate="2010-08-12T09:55:02.783" UserId="29" />
  <row Id="268" PostId="377" Text="It will be gr8 if you can put your solution as Answer. So that others facing same issue can get help :-).&#xA;" CreationDate="2010-08-12T10:06:46.147" UserId="57" />
  <row Id="270" PostId="266" Score="3" Text="THIS IS NOT HARMLESS AND BREAKS THINGS!" CreationDate="2010-08-12T10:11:43.477" UserId="272" />
  <row Id="271" PostId="388" Score="1" Text="That is very near to what I want, but I need to be in Emacs or Vim already. +1" CreationDate="2010-08-12T10:25:57.223" UserId="220" />
  <row Id="272" PostId="387" Text="Ok. I just learned that a 'Terminal Multiplexer' is probably what I need. Thanks. Also, thanks for the 'script' command hint." CreationDate="2010-08-12T10:28:57.297" UserId="220" />
  <row Id="274" PostId="329" Score="1" Text="Alternative useful websites:&#xA;1) http://alternativeto.net/ &#xA;2) http://www.osalt.com/&#xA;3) http://www.linuxalt.com/&#xA;4) http://linuxappfinder.com/alternatives&#xA;5) http://ubuntuguide.org/wiki/Alternatives&#xA;6) http://www.similarsites.com/" CreationDate="2010-08-12T10:54:56.003" UserId="125" />
  <row Id="276" PostId="343" Text="@Stefan: thanks, I edited the text and added it :-)" CreationDate="2010-08-12T11:48:04.483" UserId="274" />
  <row Id="277" PostId="355" Text="Note that this requires root privileges on both the laptop and the gateway host." CreationDate="2010-08-12T11:50:47.987" UserId="274" />
  <row Id="278" PostId="384" Text="they will be removed before or during the migration" CreationDate="2010-08-12T12:20:15.227" UserId="252" />
  <row Id="279" PostId="165" Text="and ZFS please. Since everybody's crazy about it." CreationDate="2010-08-12T13:02:47.077" UserId="10" />
  <row Id="280" PostId="326" Text="@xenotarracide: dully noted.  It's a question of taste, I guess.  It hardly ever occurs to me to suggest those options because I've never used them.  To be fair, they are the KDE Way of doing things." CreationDate="2010-08-12T13:22:55.130" UserId="183" />
  <row Id="281" PostId="400" Text="Interestingly, replacing text streams (or actually, byte streams) by data object streams would not go against the general principles formulated in the book. It even seems to play better with the &quot;rule of representation&quot;. It's just that unix has chosen text streams as the interface between programs. " CreationDate="2010-08-12T13:32:27.587" UserId="281" />
  <row Id="282" PostId="374" Text="+1 Nginx is perfect for this as it doesn't use much memory and was designed to handle large numbers of requests. It's pretty easy to setup on most distros." CreationDate="2010-08-12T13:32:27.667" UserId="13" />
  <row Id="283" PostId="252" Text="Yes you would need to do it from a Live CD because the filesystem is mounted by the running OS. Ubuntu Live CD, Knoppix or Parted Magic will all work." CreationDate="2010-08-12T14:00:35.943" UserId="261" />
  <row Id="284" PostId="403" Score="1" Text="That's the project I was trying to remember the name off! Last commit in trunk: two years ago... " CreationDate="2010-08-12T14:03:44.517" UserId="272" />
  <row Id="285" PostId="400" Score="1" Text="But by 'data object' do you mean an actual Python / Ruby / C++ object or something like a C struct?" CreationDate="2010-08-12T14:04:57.493" UserId="272" />
  <row Id="286" PostId="67" Score="5" Text="You, sir, are a command-line God. Even I (as if that matters ;-)) didn't know about the !:h stuff :-)" CreationDate="2010-08-12T14:14:56.160" UserId="272" />
  <row Id="287" PostId="400" Text="By data object I mean a collection of name value pairs, where the values can be of some primitive type, another data object, or a list of data objects . Come to think of it, the JSON format could work to implement this on top of text streams, so it's not incompatible with &quot;the unix way&quot;. The shell could present output in a friendlier format to the user when it detects JSON. But like you said, tool support would be needed." CreationDate="2010-08-12T14:29:09.073" UserId="281" />
  <row Id="288" PostId="405" Score="2" Text="This should be a community wiki" CreationDate="2010-08-12T14:31:10.303" UserId="5" />
  <row Id="290" PostId="411" Text="sed is allowed?" CreationDate="2010-08-12T15:11:08.613" UserId="76" />
  <row Id="291" PostId="102" Text="No it isn't.  The system reserved partition is a partition that is created by Windows, similar in nature to the `/boot` partition you have in Linux.  That partition and the MBR are two different things." CreationDate="2010-08-12T15:18:43.267" UserId="88" />
  <row Id="292" PostId="411" Text="@elmarco:  no :(" CreationDate="2010-08-12T15:20:48.917" UserId="57" />
  <row Id="293" PostId="411" Text="I am trying using vi but no luck till now" CreationDate="2010-08-12T15:21:20.507" UserId="57" />
  <row Id="294" PostId="374" Text="+1 Apache is definitely overkill.  A simple Nginx proxy will get the job done." CreationDate="2010-08-12T15:38:13.137" UserId="88" />
  <row Id="295" PostId="107" Text="I made this a community wiki. I realized there is no single best answer to my question. Thanks to all for your answers!" CreationDate="2010-08-12T15:47:12.717" UserId="84" />
  <row Id="296" PostId="376" Text="not yet. will give it a try." CreationDate="2010-08-12T15:48:01.920" UserId="32" />
  <row Id="297" PostId="413" Text="thanks that worked :).&#xA;I think its a very portable solution." CreationDate="2010-08-12T16:06:59.693" UserId="57" />
  <row Id="298" PostId="369" Text="I would add some sanity checking if you implement that C solution: ensure that the script being run is owned by the right user+group, is not world-writable, and not of the directories in its path are world- or group-writable (essentially the same checks that suPHP performs) - this will reduce the chance of your tool becoming a security problem through other users being able to somehow edit or replace the script." CreationDate="2010-08-12T16:14:11.780" UserId="116" />
  <row Id="299" PostId="231" Score="1" Text="Most systems monitors just drag down a slow system more it's Schrödinger's cat.  Without increasing memory he has to fix memory leaks or trim unnecessary programs that are running." CreationDate="2010-08-12T16:49:29.467" UserId="328" />
  <row Id="300" PostId="423" Text="Yeah, this is really important.  The subversion book is the best reference there is, and it's wonderfully well-written, and totally accessible to people who have never heard of VCS before." CreationDate="2010-08-12T16:59:15.863" UserId="85" />
  <row Id="301" PostId="424" Text="That was my first thought as well.  However, my daily cron jobs run at 1:00 pm local time.  There are a few jobs being run by the app, but they either start at 6:00 pm or 2:00 am." CreationDate="2010-08-12T17:10:50.337" UserId="154" />
  <row Id="302" PostId="312" Text="Given some of the comments you've left about availability of utilities, it would help if you could name the platform and/or outline the environment you're in.  Otherwise, you're going to get the stock Kermit/XMODEM/YMODEM/ZMODEMk via terminal answers..." CreationDate="2010-08-12T17:11:58.370" UserId="56" />
  <row Id="303" PostId="400" Score="1" Text="+1 &quot;Do not try to bend the spoon, that's impossible. Instead only try to realize the truth... there is no spoon.&quot;  It's not so much text-as-an-interface, but *streams of data* as an interface.  Objects are nice for programming, but sometimes they become a little tiny prison to put your mind into..." CreationDate="2010-08-12T17:16:54.757" UserId="56" />
  <row Id="304" PostId="418" Text="I will give it a try. With phpvirtualbox I can probably continue to connect remotely (I don't connect a monitor unless I need to troubleshoot locally.)" CreationDate="2010-08-12T17:23:59.287" UserId="32" />
  <row Id="305" PostId="425" Text="Right now my servers do not have a GUI desktop. That may mean no Virtualbox for now. On OpenSuSE, Xen is another option. I have sometime this weekend to read on these options and possibly make a choice. Thanks." CreationDate="2010-08-12T17:42:25.467" UserId="32" />
  <row Id="306" PostId="312" Text="I spend most of my day behind Solaris box. So in those terms,  if all you had was SUNCreq (or perhaps SUNWCuser) what would you the answer?" CreationDate="2010-08-12T17:51:47.570" UserId="304" />
  <row Id="307" PostId="405" Text="When you ask uses to contribute to a list of answer, please mark the question as [community wiki](http://meta.stackoverflow.com/questions/11740/what-are-community-wiki-posts). I converted this post." CreationDate="2010-08-12T18:03:31.913" UserId="337" />
  <row Id="308" PostId="266" Score="2" Text="This is a good use for Virtualization. Get a guest running on your KVM/Virtualbox instance, and try this-- you can always reboot.  It's an educational opportunity." CreationDate="2010-08-12T18:18:54.270" UserId="4" />
  <row Id="309" PostId="424" Score="2" Text="If you're going down the regular `ps` route, the &quot;HowTo: Profile Memory in a Linux System&quot; HOWTO goes into a bit more detail: http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html" CreationDate="2010-08-12T18:23:09.037" UserId="315" />
  <row Id="310" PostId="232" Score="6" Text="Harmless for them? Or harmless for you when they come find their revenge?" CreationDate="2010-08-12T18:32:56.737" UserId="4" />
  <row Id="311" PostId="429" Text="http://guichaz.free.fr/iotop/" CreationDate="2010-08-12T18:56:42.010" UserId="76" />
  <row Id="312" PostId="433" Text="Not sure if this would be better asked in webmasters... but since it's all using unix utils, and the command line... I figured here would be more appropriate. " CreationDate="2010-08-12T19:00:19.083" UserId="298" />
  <row Id="313" PostId="413" Score="4" Text="You can also use sed to do the same thing w/out having to vim the file:  sed -e '%s/^V^M//g' filename  &#xA;That also will show on the screen as sed e '%s/^M//g' filename&#xA;In general, if you can search/replace it in vim, the command is virtually the same in sed.  " CreationDate="2010-08-12T19:09:34.523" UserId="298" />
  <row Id="314" PostId="394" Text="tmux is the coolest! " CreationDate="2010-08-12T19:21:21.890" UserId="298" />
  <row Id="315" PostId="434" Score="1" Text="That's a pretty interesting project that I wasn't aware of, thanks.  At the same time, I don't want to install anything on the log server that doesn't need to, and it's easy enough to do what I'm already doing.  I'm just looking for suggestions on improvements.  Thanks!" CreationDate="2010-08-12T19:39:33.327" UserId="298" />
  <row Id="316" PostId="434" Text="This looks really cool, and GPL too." CreationDate="2010-08-12T19:50:06.843" UserId="183" />
  <row Id="317" PostId="93" Score="1" Text="You might want to fix the 'md' typo in your snippet there. Also, any specific reason you mention the first 446 bytes, whereas I think to remember an mbr being 512 bytes?" CreationDate="2010-08-12T20:46:46.787" UserId="272" />
  <row Id="319" PostId="50" Text="A retagged your question 'software-raid' because you explicitly asked for that." CreationDate="2010-08-12T20:47:55.597" UserId="272" />
  <row Id="320" PostId="413" Score="2" Text="@gabe: the sed solution is actually even more portable +1 :)" CreationDate="2010-08-12T20:54:12.850" UserId="272" />
  <row Id="321" PostId="433" Text="@gabe : Seems fine here. It's unix based, and isn't specific to web stuff (This could possibly apply to many different things in the Apache or firewall logs IPs)" CreationDate="2010-08-12T21:15:45.853" UserId="4" />
  <row Id="322" PostId="423" Score="1" Text="You can get the printed version (or digital download) from the O'Reilly website: http://oreilly.com/catalog/9780596510336/" CreationDate="2010-08-12T21:27:54.303" UserId="68" />
  <row Id="323" PostId="396" Text="For a mono or python app I would just need to make the package dependent on the relevant mono/python packages, or am I missing something?" CreationDate="2010-08-12T21:52:52.993" UserId="334" />
  <row Id="324" PostId="50" Text="since you'll be using mdadm you might want to consider using [raid10,f2](http://serverfault.com/questions/139022/explain-mds-raid10-f2) which can work on 2 drives and should offer a read performance benefit." CreationDate="2010-08-12T22:13:32.200" UserId="29" />
  <row Id="325" PostId="400" Score="2" Text="zsh &gt; bash. My opinion but really if you haven't tried zsh you should" CreationDate="2010-08-12T22:19:10.650" UserId="29" />
  <row Id="326" PostId="429" Text="worth noting that iotop is linux only. (at least I'm 99% sure it is)" CreationDate="2010-08-12T22:23:29.010" UserId="29" />
  <row Id="327" PostId="402" Text="I'm not familiar without what you're talking about. I always liked fluxbox better and it seemed to do more... maybe it can do what you want? I haven't been minimalist in years now... I finally succumbed to the call of KDE." CreationDate="2010-08-12T22:25:26.120" UserId="29" />
  <row Id="328" PostId="439" Text="use logrotate, then `rm -f *.tar.gz.*`" CreationDate="2010-08-12T23:03:41.613" UserId="39" />
  <row Id="329" PostId="93" Text="@wzzrd: fixed, thanks. While the whole 512 is properly called the MBR, the first 446 bytes contain everything BUT the partition table. Copying the partition table is sometimes not what people want You could make a RAID1 out of partions on different devices that aren't the same drive and would have different partition info." CreationDate="2010-08-12T23:10:03.647" UserId="26" />
  <row Id="330" PostId="264" Score="3" Text="I'm not sure sending them to an error page that says IE will work on a *nix user." CreationDate="2010-08-12T23:30:12.537" UserId="29" />
  <row Id="331" PostId="416" Text="woww... that's kinda funny and kinda cruel..." CreationDate="2010-08-12T23:31:52.223" UserId="29" />
  <row Id="332" PostId="422" Score="2" Text="not to be grammar/spelling police, but it's *inexperienced*." CreationDate="2010-08-13T00:06:15.030" UserId="29" />
  <row Id="333" PostId="422" Text="I also recommend **git** the [progit](http://progit.org/book/) book can be read free online." CreationDate="2010-08-13T00:07:39.440" UserId="29" />
  <row Id="334" PostId="6" Score="14" Text="You say &quot;command prompt&quot;, but do you really mean &quot;command line&quot;?" CreationDate="2010-08-13T01:10:14.120" UserId="4" />
  <row Id="335" PostId="171" Text="I would add Linux Performance Counter (https://perf.wiki.kernel.org/index.php/Main_Page) and/or Oprofile (http://oprofile.sourceforge.net/news/) to that list." CreationDate="2010-08-13T01:28:21.957" UserId="339" />
  <row Id="336" PostId="232" Score="2" Text="Harmless to the system." CreationDate="2010-08-13T03:34:30.193" UserId="78" />
  <row Id="337" PostId="171" Text="I just made it a community wiki, so you can add those in there however you feel is appropriate.  Performance Counter is looks to be Linux only?  I'll look to confirm/deny this, but if so this should at least be noted in it's suggestion." CreationDate="2010-08-13T03:42:23.923" UserId="183" />
  <row Id="338" PostId="61" Score="6" Text="`alias mk=make` Faster to type and less likely to get wrong. Or compile from your editor using a hotkey..." CreationDate="2010-08-13T05:29:46.693" UserId="211" />
  <row Id="339" PostId="447" Text="have you checked if your keyboard mapping is correct, with xev or xinput?" CreationDate="2010-08-13T08:21:58.817" UserId="76" />
  <row Id="340" PostId="402" Text="This is minimalist in a purely aesthetic sense. I linked to the themes I mentioned in the SU question..." CreationDate="2010-08-13T10:22:03.073" UserId="12" />
  <row Id="341" PostId="153" Text="I use ack as well, but sometime you don't have it available.." CreationDate="2010-08-13T11:06:18.183" UserId="76" />
  <row Id="342" PostId="439" Score="1" Text="Is there any particular reason why you don't want to rotate the log, or use logrotate?  Exactly what do you want to happen?  Archive the old log at 1M and start a new one?  The start of your question isn't quite compatible with the end." CreationDate="2010-08-13T12:27:21.670" UserId="289" />
  <row Id="343" PostId="264" Score="1" Text="@xenoterracide:  That's part of the prank." CreationDate="2010-08-13T12:34:45.867" UserId="289" />
  <row Id="344" PostId="68" Text="Funny, my /bin/bash shell does filename expansion with tab just fine." CreationDate="2010-08-13T12:53:29.977" UserId="289" />
  <row Id="345" PostId="455" Text="can download movie uploaded in facebook like IDM with this downloader?" CreationDate="2010-08-13T13:05:07.973" UserId="184" />
  <row Id="346" PostId="442" Text="Yeah, I realized the issue with uniq as well, hence my first sort to put all IPS in order so that duplicates will be next to each other.  The tail tip is nice, as well since parsing the whole log at around 4GB's can take some time.  Good stuff, thanks.  " CreationDate="2010-08-13T13:54:00.217" UserId="298" />
  <row Id="347" PostId="429" Text="sar is also available on all unix versions that I ever worked with." CreationDate="2010-08-13T13:58:30.643" UserId="5" />
  <row Id="348" PostId="448" Score="2" Text="I am relatively sure that once you &quot;overwrite the file&quot; the logging will not resume automatically on the new file." CreationDate="2010-08-13T14:41:24.283" UserId="27" />
  <row Id="349" PostId="455" Text="Not familiar with IDM, but I suspect this would be possible.  Its just a matter of knowing the correct URL of the video, which FlashGot should take care of for you" CreationDate="2010-08-13T15:19:50.177" UserId="286" />
  <row Id="350" PostId="465" Score="1" Text="Default word-movement is awkward, but found a nice article on configuring it: http://iamzed.com/2009/04/15/word-movement-in-iterm-on-os-x/" CreationDate="2010-08-13T17:31:41.283" UserId="85" />
  <row Id="351" PostId="467" Score="1" Text="Cheers.. with your question we have our first century. :-).&#xA;sorry but i don't know the answer for you question :-)." CreationDate="2010-08-13T17:45:16.330" UserId="57" />
  <row Id="352" PostId="467" Text="@hemant : What do you mean? Our first century?" CreationDate="2010-08-13T18:13:18.193" UserId="4" />
  <row Id="353" PostId="467" Text="@stefan not sure why he said 'century' but he means this is question 100." CreationDate="2010-08-13T18:30:53.447" UserId="29" />
  <row Id="354" PostId="447" Text="no... because I had it working in 4.4, and I know it didn't change. I really wish KDE would get around to fixing this massive fail that is it's keyboard shortcuts. This thing has been buggy since 4.1, it's about the only thing that worked in 4.0." CreationDate="2010-08-13T18:33:25.487" UserId="29" />
  <row Id="355" PostId="467" Text="@xeno: Oh, well I thought it was question 467 (See http://unix.stackexchange.com/questions/467/ )" CreationDate="2010-08-13T18:42:42.143" UserId="4" />
  <row Id="356" PostId="445" Text="They seriously disabled this by default?  No wonder it hasn't been working!  " CreationDate="2010-08-13T18:47:20.027" UserId="298" />
  <row Id="357" PostId="467" Score="1" Text="Questions and answers take numbers from the same pool. Hence the number does not represent the count of questions." CreationDate="2010-08-13T18:51:59.677" UserId="5" />
  <row Id="358" PostId="445" Text="yes and it happened like 5 years ago." CreationDate="2010-08-13T18:54:13.323" UserId="29" />
  <row Id="359" PostId="377" Text="@Hemant I did... I was giving you a chance to modify yours ;)" CreationDate="2010-08-13T18:54:55.503" UserId="29" />
  <row Id="360" PostId="471" Text="@gabe. Yes, my question wasn't as specific as it should have been. That is a realization that happened very quickly when I started to use StackOverflow and like sites :( However, for my particular situation, while in a shell, and I type `sftp user@my.router.domain` I get a `sh: /user/libexec/sftp-server: not found` error.&#xA;&#xA;Filezilla is fantastic suggestion, however I was looking for a command line &quot;interface&quot;. I will update the question accordingly." CreationDate="2010-08-13T18:56:02.460" UserId="190" />
  <row Id="361" PostId="467" Text="Great. Thanks everyone. I also asked the first question on this site ;) I swear asking question 100 wasn't intentional." CreationDate="2010-08-13T19:01:22.807" UserId="4" />
  <row Id="362" PostId="202" Text="@Matt Simmons - Thank you for that excellent answer. On a side question, have you ever heard of, or used, this http://www.quest.com/authentication-services/ ?" CreationDate="2010-08-13T19:03:59.227" UserId="190" />
  <row Id="363" PostId="467" Text="I mean 100th question on unix.stackexchange.com community. &#xA;In Cricket we call first 100 runs as century.&#xA;Sorry for going off the topic here :-)" CreationDate="2010-08-13T19:09:55.407" UserId="57" />
  <row Id="364" PostId="377" Text="@xenoterracide: opps I missed it :-). thanks for chance." CreationDate="2010-08-13T19:24:35.123" UserId="57" />
  <row Id="365" PostId="472" Text="No... i didn't *already* know the answer... I just decided to start digging into the source, since I couldn't find this specified in the docs. " CreationDate="2010-08-13T19:25:47.007" UserId="298" />
  <row Id="366" PostId="471" Text="No worries.  It's cool to learn about fish...  hadn't seen that before. " CreationDate="2010-08-13T19:39:53.167" UserId="298" />
  <row Id="367" PostId="474" Text="lol... nevermind... just re-read your question." CreationDate="2010-08-13T19:46:17.037" UserId="298" />
  <row Id="368" PostId="474" Text="there... now it actually answers your question." CreationDate="2010-08-13T19:48:45.890" UserId="298" />
  <row Id="369" PostId="472" Text="Bonus points for source-sleuthing." CreationDate="2010-08-13T20:02:12.053" UserId="183" />
  <row Id="370" PostId="473" Text="Thanks, I didn't realize that those were shell-specific commands!" CreationDate="2010-08-13T21:09:14.607" UserId="85" />
  <row Id="371" PostId="458" Text="Ya I familiar with DownThemALL but It don't do what I mean" CreationDate="2010-08-13T21:16:46.507" UserId="184" />
  <row Id="372" PostId="476" Text="Ahhh ok. I see. Thanks very much!" CreationDate="2010-08-13T21:28:34.347" UserId="119" />
  <row Id="373" PostId="458" Score="3" Text="I read DownTheMall" CreationDate="2010-08-14T01:53:37.460" UserId="29" />
  <row Id="374" PostId="480" Text="tmux is a modern analogue of screen." CreationDate="2010-08-14T02:21:20.127" UserId="10" />
  <row Id="375" PostId="477" Text="let me see if I understand this.. you want stuff to be in both memory and swap? I don't think that's possible..." CreationDate="2010-08-14T02:24:56.310" UserId="29" />
  <row Id="376" PostId="482" Text="By the way, I've intentionally left this question vague as to which specific *nix I mean, to test how well this sort of question works. If folks decide to close it and think a separate question for each *nix is more appropriate, that is fine.  It would be kind of cool to have one resource that answers the question for all distros and OS's, though. :-)" CreationDate="2010-08-14T03:06:39.300" UserId="85" />
  <row Id="377" PostId="480" Text="I don't know about modern, but default key prefix of tmux (Ctrl + b) helps if you're used to bash/emacs keys." CreationDate="2010-08-14T04:15:01.360" UserId="44" />
  <row Id="378" PostId="487" Text="This question belongs on http://ubuntu.stackexchange.com/." CreationDate="2010-08-14T05:02:05.830" UserId="183" />
  <row Id="379" PostId="477" Text="Not possible with the Linux kernel, or not possible at all? The latter is certainly not true, since that is how HP-UX swapping used to work. You could never run an HP-UX kernel without any swap." CreationDate="2010-08-14T05:04:23.847" UserId="5" />
  <row Id="380" PostId="487" Text="In fact, you might be interested in http://ubuntu.stackexchange.com/questions/1807/how-can-i-strip-down-ubuntu" CreationDate="2010-08-14T05:05:05.310" UserId="183" />
  <row Id="381" PostId="487" Score="2" Text="@itsmyown: I disagree with &quot;this question belongs on ubuntu.stackexchange&quot;. Why would an ubuntu-specific question not be accepted on unix.stackexchange?  We accept specific questions for every other *nix variant." CreationDate="2010-08-14T05:20:52.413" UserId="85" />
  <row Id="382" PostId="487" Text="In fact, I'd expect that this question is not very Ubuntu-specific at all, and depending on the answers that tag might be something we could remove." CreationDate="2010-08-14T05:21:48.217" UserId="85" />
  <row Id="383" PostId="487" Text="@Sandy: fair enough.  I'm just worried about this question causing redundancies because it's so specific.  Perhaps jjclarkson could re frays it to make it more easily found for future enquirers?" CreationDate="2010-08-14T06:05:51.833" UserId="183" />
  <row Id="384" PostId="489" Text="You, ma'am/sir, get extra goody points from me for your questions.  Wish I could up-vote twice." CreationDate="2010-08-14T06:19:27.017" UserId="183" />
  <row Id="385" PostId="437" Text="This might actually be a good idea. psacct usually is used to record, report or even limit via quota of CPU usage or clock ticks. It was the old way of making sure the customer/user of the UNIX server was paying the usage he/she/it did.&#xA;One note on this though, psacct turned on to at least log everything is a massive disk-hogger in disk space usage." CreationDate="2010-08-14T11:16:57.647" UserId="280" />
  <row Id="386" PostId="477" Text="There should be at least reservations of most of the running processes in swap, yes. That's what I've always seen as well, but I'm not sure the current linux kernels do that anymore.&#xA;&#xA;This here (http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space) seems a bit informative about the 2.6 linux kernel swapping ways and some control." CreationDate="2010-08-14T11:19:04.727" UserId="280" />
  <row Id="388" PostId="488" Score="3" Text="This is it. No need to install screen or tmux. This is actually the good old way to do it.&#xA;Sure 'screen' or 'tmux' are both wonderous apps and should be used when needed, but as simple as running a process in the background from which you can log out, go for the above." CreationDate="2010-08-14T11:40:50.400" UserId="280" />
  <row Id="389" PostId="483" Text="A couple of rules in WireShark would be able to help you with filtering the output to what you really want to see as well." CreationDate="2010-08-14T11:42:51.863" UserId="280" />
  <row Id="390" PostId="500" Text="Since we're in the private-beta, I'll ask. Is this question appropriate here, or should I move this to ServerFault?" CreationDate="2010-08-14T17:35:19.503" UserId="4" />
  <row Id="391" PostId="484" Text="WebScarab is a fantastic tool." CreationDate="2010-08-14T19:59:56.547" UserId="190" />
  <row Id="393" PostId="487" Text="@itsmyown personally I don't agree with the distro specific forums... they aren't different from other distro's, too much redundancy by having those in general." CreationDate="2010-08-14T20:25:02.150" UserId="29" />
  <row Id="394" PostId="447" Text="Have you checked to see if the correct keyboard is selected in the keyboard settings of KDE? You may just need to verify it has the correct keyboard selected, and an upgrade didn't inadvertantly detect an incorrect one." CreationDate="2010-08-15T01:51:16.620" UserId="239" />
  <row Id="395" PostId="505" Text="Nvidia makes my brain scream.  I only ever use intel GPUs these days." CreationDate="2010-08-15T04:16:38.807" UserId="183" />
  <row Id="397" PostId="227" Score="1" Text="The separate `ascii` [program](http://packages.ubuntu.com/karmic/ascii) is also useful.  Besides printing a table, it lets you query for one or more individual characters." CreationDate="2010-08-15T05:24:45.207" UserId="224" />
  <row Id="398" PostId="447" Text="@codewright @elmarco does the fact that I can create a shortcut and set it to the print key suggest that my keyboard settings are correct? it's a bug in kde that preventing it from working. Probably the same bug that was supposedly fixed in 4.4." CreationDate="2010-08-15T05:38:38.870" UserId="29" />
  <row Id="399" PostId="447" Text="@codewright @elmarco I'll be honest that it's more likely that i'm missing a package than it is a problem with how my keyboard is set up. But really I just think it's that bug that was around from 4.1 'till they closed it in 4.4. I think it's not fixed." CreationDate="2010-08-15T05:49:49.363" UserId="29" />
  <row Id="400" PostId="169" Text="So it's possible to do without a 4th hard drive, thanks." CreationDate="2010-08-15T07:22:06.083" UserId="150" />
  <row Id="401" PostId="454" Text="There is an emacs one, but that wasn't your question ;-)" CreationDate="2010-08-15T07:24:42.630" UserId="150" />
  <row Id="402" PostId="488" Text="is nohup like disown?" CreationDate="2010-08-15T09:12:35.867" UserId="111" />
  <row Id="403" PostId="344" Text="@vwduder tried to reply, but he's not part of the closed beta yet" CreationDate="2010-08-15T09:13:46.007" UserId="111" />
  <row Id="404" PostId="126" Score="2" Text="Yes! alias u=pushd; alias o=popd" CreationDate="2010-08-15T09:57:41.540" UserId="351" />
  <row Id="405" PostId="422" Text="@xenoterracide: thanks, I've corrected the spelling" CreationDate="2010-08-15T11:28:39.120" UserId="274" />
  <row Id="408" PostId="488" Score="3" Text="They have similar purposes, but they differ in many ways. `nohup` intercepts SIGHUP so that when the shell that ran it quits and sends SIGHUP to all its still-running children, `long-running-process` doesn't die. `disown` simply removes the specified job from Bash's child list, so it won't try to send SIGHUP at all. `nohup` is a program separate from the shell, so it works with all shells, whereas `disown` is a Bash builtin. `nohup` accepts the command to run, whereas `disown` only works after the job is started and you've backgrounded it so you can get back to the shell." CreationDate="2010-08-15T14:00:04.123" UserId="138" />
  <row Id="409" PostId="497" Score="1" Text="+1 to Kevin. I learnt scripting the same way. The scenario typically being that I would need to process these COBOL data files (yeah, that far back ... but this is COBOL on UNIX, not on Mainframes!!). Instead of cranking COBOL code, I would fire up awk (not even perl since it was not installed on our server), and do things like top 50 customers report :-)" CreationDate="2010-08-15T14:05:16.667" UserId="352" />
  <row Id="410" PostId="481" Text="Hi Miguel, thanks for that, shame I can't accept two answers because that complements the above nicely. +1 from me, excellent link too, thanks again!" CreationDate="2010-08-15T14:22:01.837" UserId="119" />
  <row Id="411" PostId="335" Text="@Sandy yes, I'm aware of bugs. In my case, 1.4G files were transferred successfully. Anyway, using Giver still looks much easier than NFS/rsync/nc/whatever." CreationDate="2010-08-15T15:51:36.490" UserId="104" />
  <row Id="412" PostId="512" Text="To clarify, I have superuser access on these boxes, and access to the private keys." CreationDate="2010-08-15T16:02:48.700" UserId="4" />
  <row Id="413" PostId="203" Text="hmm any idea how I can install this in ubuntu? when I search for the package I find &quot;A friendly interactive shell. Fish is a shell geared towards interactive use.  Its features are focused on user friendliness and discoverability.  The language syntax is simple but incompatible with other shell languages.&quot;. Is that the one you are talking about?" CreationDate="2010-08-15T16:20:35.253" UserId="250" />
  <row Id="414" PostId="500" Text="I think it could go here. It is something that an end user could well run across, and does not relate to the administration of a server. But if I'd found this on SF originally, I would make the case that it belongs there because it deals with delivering appropriate technical smackdowns to end users. So this is one of those questions that doesn't really matter." CreationDate="2010-08-15T18:04:56.063" UserId="195" />
  <row Id="415" PostId="513" Score="11" Text="Tidy up the root directory? Really? *REALLY?* ***sob***" CreationDate="2010-08-16T03:54:28.437" UserId="210" />
  <row Id="416" PostId="482" Text="This question should at least pick a distro, if not talk more about a specific problem. It's subjective by 'popular codecs'." CreationDate="2010-08-16T04:04:37.933" UserId="29" />
  <row Id="417" PostId="482" Text="Also this user started a [meta discussion](http://meta.unix.stackexchange.com/questions/34/should-a-general-question-with-very-distro-os-specific-answers-be-split-into-dist) about this" CreationDate="2010-08-16T04:10:59.303" UserId="29" />
  <row Id="418" PostId="519" Score="1" Text="This seems like a SO question...or [game development](http://area51.stackexchange.com/proposals/2825/game-development) I'm voting to close, this is offtopic." CreationDate="2010-08-16T04:43:51.703" UserId="29" />
  <row Id="419" PostId="519" Text="[meta discussion](http://meta.unix.stackexchange.com/questions/40/opengl-question-offtopic)." CreationDate="2010-08-16T04:50:39.463" UserId="29" />
  <row Id="420" PostId="524" Score="1" Text="This should be a community wiki question." CreationDate="2010-08-16T08:31:54.207" UserId="261" />
  <row Id="421" PostId="513" Score="29" Text="TRWTF is they were running as root, at a nuclear sciences research facility!" CreationDate="2010-08-16T08:37:06.020" UserId="261" />
  <row Id="422" PostId="524" Text="@KeyboardMonkey: sure, what should I do?" CreationDate="2010-08-16T08:37:57.873" UserId="76" />
  <row Id="423" PostId="238" Score="1" Text="also see http://unix.stackexchange.com/questions/80/recommended-readings-batter-understating-of-unix-linux-internals" CreationDate="2010-08-16T09:21:51.700" UserId="125" />
  <row Id="424" PostId="504" Score="18" Text="There is a classic story on this exact topic: http://lug.wsu.edu/node/414" CreationDate="2010-08-16T10:19:54.913" UserId="210" />
  <row Id="425" PostId="526" Text="@wzzrd: thanks for your reply. I am working on HP-UX and its not have bash installed and I dont have permission to install it :(." CreationDate="2010-08-16T10:51:15.890" UserId="57" />
  <row Id="426" PostId="525" Text="@xenoterracide: I cant install screen. its not even compiling on my server." CreationDate="2010-08-16T10:51:52.283" UserId="57" />
  <row Id="427" PostId="518" Score="3" Text="Of course, MacOSX has a functional unix layer, so ssh is always an option." CreationDate="2010-08-16T11:28:05.127" UserId="188" />
  <row Id="428" PostId="33" Score="1" Text="You have a swap*file* on a separate partition?? Don't you mean you have a swap*partition*?" CreationDate="2010-08-16T11:54:45.590" UserId="272" />
  <row Id="429" PostId="394" Text="Thanks. Now using tmux and living in terminal heaven." CreationDate="2010-08-16T12:10:40.330" UserId="220" />
  <row Id="430" PostId="488" Text="Hey that's cool, I didn't know you could do that. Very useful in cases where you can't use screen for whatever reason." CreationDate="2010-08-16T13:11:38.223" UserId="85" />
  <row Id="431" PostId="525" Text="I'm not sure how screen would give you that capability anyway" CreationDate="2010-08-16T13:26:45.690" UserId="73" />
  <row Id="432" PostId="521" Text="The NeHe tutorials do not teach modern OpenGL. They are mostly out of date, and shouldn't really be recommended to an OpenGL newbie." CreationDate="2010-08-16T13:35:42.127" UserId="356" />
  <row Id="433" PostId="524" Score="1" Text="This isn't a proper question, not even CW. Compare two distros, maybe. Tell me about one, sure. *&quot;Give me a giant list that are sure to have many duplicates and knockoff answers&quot;* – No." CreationDate="2010-08-16T14:10:44.320" UserId="163" />
  <row Id="435" PostId="535" Text="+1: same thing that I would recommend" CreationDate="2010-08-16T14:25:17.453" UserId="250" />
  <row Id="436" PostId="535" Text="This is almost exactly the approach I have taken so far - started with RPM for Redhat/Fedora/CentOS, now providing Ubuntu/Debian .deb files, but hadn't yet decided if making a tar.gz would still be useful and needed.   Sounds like it would be good for allowing users with less popular distros to at least get the software working themselves rather than not even having an option.  Thanks." CreationDate="2010-08-16T14:27:53.110" UserId="357" />
  <row Id="437" PostId="535" Score="2" Text="Making a portable binary tarball may be a lot more work than you imagine.  Just one potential trap is that the g++ ABI has changed several times over the years, so you may have to ship binary versions of any C++ libraries you use rather than use the platform versions to achieve wide enough compatibility.  This is one reason a single binary RPM doesn't install and run everywhere.  There just seems to be a cultural acceptance of this fact with RPM, though, whereas tarballs -- probably because they're an ancient standard -- are expected to work everywhere." CreationDate="2010-08-16T14:37:40.700" UserId="138" />
  <row Id="438" PostId="477" Text="I resisted making this comment when your question first appeared, but since it's gone two days without an answer, I've gotta ask: why?  What end behavior are you trying to achieve with this?" CreationDate="2010-08-16T15:28:22.093" UserId="138" />
  <row Id="439" PostId="513" Score="3" Text="cool screenshot!  makes me all nostalgic." CreationDate="2010-08-16T16:17:22.030" UserId="298" />
  <row Id="441" PostId="394" Text="How is pasting working for you in Vi copy mode?" CreationDate="2010-08-16T17:22:49.333" UserId="10" />
  <row Id="442" PostId="33" Text="Good point, wzzrd. I corrected my answer." CreationDate="2010-08-16T18:06:08.547" UserId="84" />
  <row Id="443" PostId="477" Text="See at my update to the question. Keeping all pages in swap reduces swap times because only dirty pages need to be swapped out, hence there is less competing for io between swapping in and swapping out. This was the only option of swapping that a lot of older versions of Unix had, and it seemed to work far better than the Linux swapping I experience." CreationDate="2010-08-16T18:33:06.573" UserId="5" />
  <row Id="444" PostId="532" Score="4" Text="Since it is impossible to track the number of installations, there can only be speculation on this issue." CreationDate="2010-08-16T18:34:44.463" UserId="5" />
  <row Id="445" PostId="263" Text="A lot of usages for desktop don't give this option since they are lapbooks, or netbooks which do not allow a second drive." CreationDate="2010-08-16T18:38:11.897" UserId="5" />
  <row Id="446" PostId="101" Text="Linux is software that runs on hardware. Hardware is not included inside Linux :p" CreationDate="2010-08-16T18:39:33.393" UserId="5" />
  <row Id="447" PostId="144" Text="I have extensively tried out different settings for swappiness with no success. I have also noticed, that the opinions about the value of swappiness are not unified at all. For desktops some recommend 10, others 100, meaning they suggest they suggest the total opposite effect." CreationDate="2010-08-16T18:43:47.393" UserId="5" />
  <row Id="448" PostId="203" Score="2" Text="@Phunehehe - No, this is not the one he is talking about. What he is referring to is a Protocol. Some applications implement it, some don't. For my scenario, I happened to use the `lftp` program. `lftp fish://username@host.name`." CreationDate="2010-08-16T19:15:24.817" UserId="190" />
  <row Id="449" PostId="540" Score="3" Text="Those numbers only reflect Virtual Private Servers at a single provider. It's a big leap to assume that this single sample represents the world. Perhaps Linode provides better support for Ubuntu. Likewise, it's debatable weather the LJ survey represents the installation base at large. The results may just mean that Ubuntu Desktop users are more likely to respond to that particular survey. " CreationDate="2010-08-16T19:37:18.767" UserId="4" />
  <row Id="450" PostId="532" Text="The numbers will probably be very different when comparing Desktop vs. Server. Is there much point in lumping those together?" CreationDate="2010-08-16T19:37:57.907" UserId="4" />
  <row Id="451" PostId="525" Text="@Michael you can have different sessions with screen and screen has it's  own history. I dunno someone told me to solve my problem with screen... I didn't like screen. lame that this got downmodded when my second answer is essentially the same as the other ones that got upmodded. @Hemant ... and I was supposed to know that? I don't use screen to do this on my system. I just know it allows for a similar effect done right." CreationDate="2010-08-16T19:39:08.713" UserId="29" />
  <row Id="452" PostId="542" Score="1" Text="Sorry, forgot about the zsh.  You might have to add this keybinding to your ~/.zshrc:&#xA;&#xA;bindkey '^R' history-incremental-search-backward" CreationDate="2010-08-16T19:49:18.143" UserId="363" />
  <row Id="453" PostId="445" Score="4" Text="When you don't have to zap your xwindows very often, sometimes its easy to miss a change that happened 5 years ago..." CreationDate="2010-08-16T20:08:19.317" UserId="361" />
  <row Id="454" PostId="486" Text="In Ubuntu in particular, you have the ubuntu-restricted-extras package which will automatically include support for most of the codecs you miss in a vanilla install." CreationDate="2010-08-16T20:34:59.720" UserId="68" />
  <row Id="455" PostId="525" Text="@xeno I think I know what you're describing, but it's not a screen feature, it's just a side effect of the way shells work. If you open two shells, the commands typed in one won't show up in the history of the other unless the shell specifically supports it (for example, ZSH does, but you need to explicitly enable it). It doesn't keep separate histories, they both write to the main history file, you just can't see the changes from each shell because typically shells don't check for history file changes once they've loaded" CreationDate="2010-08-16T20:49:09.467" UserId="73" />
  <row Id="456" PostId="543" Text="how do you make the 'ctrl+r' look like that?" CreationDate="2010-08-16T21:23:46.957" UserId="29" />
  <row Id="458" PostId="543" Score="3" Text="@xen `&lt;kbd&gt;Ctrl+R&lt;/kbd&gt;`. [answer source](http://unix.stackexchange.com/revisions/8e7e4562-2c1e-4a39-aea7-e10de7eec667/view-source)" CreationDate="2010-08-16T22:01:31.023" UserId="73" />
  <row Id="459" PostId="477" Score="2" Text="I find your logic faulty.  Total swap-out means *all* dirty pages have to be swapped out, soonest.  I could see doing it for some kind of obscure data backup or unexpected reboot recovery reason, but speed?  No, I don't buy it." CreationDate="2010-08-16T22:01:56.467" UserId="138" />
  <row Id="460" PostId="545" Text="I was also looking for a comprehensive answer and I found this article on the wayback machine that explains MP3 install for a few distros.  http://web.archive.org/web/20061117024517/http://linuxmint.com/content/view/200/51/" CreationDate="2010-08-16T22:03:57.873" UserId="328" />
  <row Id="461" PostId="545" Text="On Debian follow use: http://debian-multimedia.org/" CreationDate="2010-08-16T22:10:56.147" UserId="185" />
  <row Id="462" PostId="80" Text="Someone who has editing privileges really ought to edit that title." CreationDate="2010-08-16T22:31:10.533" UserId="328" />
  <row Id="463" PostId="543" Text="@Michael I didn't realize SE engine accepted any html thanks." CreationDate="2010-08-16T22:37:53.843" UserId="29" />
  <row Id="464" PostId="344" Text="http://www.opensc-project.org/opensc/wiki/SupportedHardware" CreationDate="2010-08-16T23:39:45.373" UserId="111" />
  <row Id="465" PostId="344" Text="http://pcsclite.alioth.debian.org/section.html" CreationDate="2010-08-16T23:40:56.603" UserId="111" />
  <row Id="466" PostId="487" Text="@xenoterracide:  I agree with you.  I've had nothing to do with the Ubuntu proposal, because I think it's too specific, and I'd rather see Ubuntu questions here." CreationDate="2010-08-16T23:48:40.660" UserId="289" />
  <row Id="467" PostId="522" Text="I would very much like to know why I got downmodded" CreationDate="2010-08-17T01:01:03.717" UserId="29" />
  <row Id="468" PostId="527" Text="Right, but that only covers XQuartz, which is just a program that talks to their real windowing system.   The question was about how do apps like XQuarts or Finder talk to this windowing system" CreationDate="2010-08-17T02:34:13.010" UserId="228" />
  <row Id="469" PostId="555" Score="1" Text="I should mention that I have no idea what Dirvish is or how it works." CreationDate="2010-08-17T03:24:47.263" UserId="29" />
  <row Id="470" PostId="555" Text="I think it might be GUI-less so I miss that bonus... but since you said 'Ideally'" CreationDate="2010-08-17T03:27:11.463" UserId="29" />
  <row Id="471" PostId="484" Text="@miguel - You win, was hoping for some more answers.  It would be nice if somebody created a tool similar to say, &quot;Fiddler&quot; with Mono and GTK#." CreationDate="2010-08-17T03:28:46.627" UserId="47" />
  <row Id="472" PostId="555" Text="A GUI does not a good UI make." CreationDate="2010-08-17T03:32:19.827" UserId="183" />
  <row Id="473" PostId="556" Score="1" Text="And since you may not want to look up the PID every time, try something like `top -p `pgrep -f /usr/bin/kvm``." CreationDate="2010-08-17T03:33:15.960" UserId="4" />
  <row Id="474" PostId="556" Text="I use Cacti to monitor some individual processes, but installing a full blown Cacti installation sounds too complex for the simple situation asked here." CreationDate="2010-08-17T03:34:59.953" UserId="4" />
  <row Id="475" PostId="556" Text="@Stefan: I'm assuming I would have to run that remotely?" CreationDate="2010-08-17T04:00:55.367" UserId="163" />
  <row Id="476" PostId="559" Text="It's currently *experimental* but, works quite well.  I've been able to do full restores from arbitrary meta files and recover information that I needed, and have had 0 problems with it in ~1 year of use. " CreationDate="2010-08-17T05:01:31.700" UserId="298" />
  <row Id="477" PostId="89" Text="`tcsh` is hard to use for those who are used to Bourne shell as it is descendant of `csh` and behaves differently then Bourne shell descendants (like bash, zsh etc.)." CreationDate="2010-08-17T10:43:11.453" UserId="305" />
  <row Id="478" PostId="371" Score="1" Text="It will work. Horribly as you stated. SETUID bit allows execution with the owner right. Setuid shell (unless it was designed to work with setuid) will run as root for any user. I.e. anyone can run `rm -rf /` (and other commands from series **DON'T DO IT AT HOME**)." CreationDate="2010-08-17T10:52:18.447" UserId="305" />
  <row Id="479" PostId="369" Text="I voted down for suggestion of passing as parameter. **IT WOULD MEAN ANY SCRIPT CAN BE RUN WITH ROOT PRIVILAGES. YES - ONE CONTAINING `rm -rf /` AS WELL**." CreationDate="2010-08-17T10:54:28.523" UserId="305" />
  <row Id="480" PostId="504" Text="Thanks for the link!  I had not seen that." CreationDate="2010-08-17T11:17:22.823" UserId="203" />
  <row Id="481" PostId="369" Text="@Maciej:  your point is valid.  &#xA;My assumption was from original Q. &quot;Assuming I'm willing to accept those risks, is there any way to tell Linux to treat the setuid bit the same on shell scripts as it does on executables?&quot;" CreationDate="2010-08-17T11:50:11.317" UserId="57" />
  <row Id="482" PostId="89" Text="@Maciej You are right.  I wouldn't recommend switching to anyone already used to a Bourne shell descendant.  I started out with csh, and haven't found a good reason to switch.  " CreationDate="2010-08-17T12:45:07.897" UserId="31" />
  <row Id="483" PostId="564" Text="Excellent!, thanks." CreationDate="2010-08-17T13:03:01.263" UserId="279" />
  <row Id="484" PostId="570" Score="1" Text="PKGBUILD is and tar.xz are the pkg formats for arch... off the top of my head you're also missing ebuild." CreationDate="2010-08-17T14:07:20.350" UserId="29" />
  <row Id="485" PostId="579" Text="Key based authentication, sure. However writing a script that starts with `ssh user@host` leaves me dropped into the host, blocking execution of the script. I need to remotely execute code. " CreationDate="2010-08-17T17:10:37.020" UserId="163" />
  <row Id="486" PostId="566" Text="btw.. and some Linux distros this would be ssh -Y" CreationDate="2010-08-17T17:55:42.747" UserId="5" />
  <row Id="487" PostId="579" Text="@Josh The next argument to ssh is the command, so `ssh user@host ls /` will list the root directories on that host. See [Keith's answer](http://unix.stackexchange.com/questions/578/write-a-remote-managing-script/581#581)" CreationDate="2010-08-17T17:56:29.000" UserId="73" />
  <row Id="488" PostId="445" Text="@Redbeard eh... xorg (and drivers) and kwin have been doing enough screwing around that I occasionally have to do it, and half the time I find out it's been disabled and I haven't re-enabled since my last reinstall." CreationDate="2010-08-17T18:30:05.923" UserId="29" />
  <row Id="489" PostId="585" Score="1" Text="I think [cfengine](http://www.cfengine.org/) falls in this class too" CreationDate="2010-08-17T18:38:53.533" UserId="29" />
  <row Id="490" PostId="535" Text="I have seen the mix approach to be best one: that you can reach a lot of people and the effort is not that much." CreationDate="2010-08-17T19:13:33.900" UserId="313" />
  <row Id="491" PostId="566" Score="2" Text="@txwikinger: -X and -Y are supported by Linux ssh. -Y does trusted forwarding." CreationDate="2010-08-17T19:22:44.177" UserId="26" />
  <row Id="492" PostId="202" Text="I haven't, though several people have recommended their powershell CLI commands to me. " CreationDate="2010-08-17T19:27:15.037" UserId="22" />
  <row Id="493" PostId="558" Score="3" Text="Ctrl+r works a little differently in ksh than Bash. Press Ctrl+r then type the string you're looking for *and press enter*. To search for the same thing, press Ctrl+r and enter without having to re-type the string. This is in `set -o emacs` mode, by the way." CreationDate="2010-08-17T19:32:14.637" UserId="382" />
  <row Id="494" PostId="503" Score="3" Text="heh, ownage! Confused Deputy :P" CreationDate="2010-08-17T19:33:37.283" UserId="373" />
  <row Id="495" PostId="555" Score="1" Text="i've been using rsnapshot for years" CreationDate="2010-08-17T19:35:59.340" UserId="17" />
  <row Id="496" PostId="572" Text="+1 I do something very similar to this. --link-dest for the win." CreationDate="2010-08-17T19:37:51.953" UserId="26" />
  <row Id="497" PostId="369" Text="@Hemant: The problem is that passing script as parameter means that I can execute any script (i.e. effectively giving any user root rights). Giving setuid to one program does not involve such risk." CreationDate="2010-08-17T19:47:08.907" UserId="305" />
  <row Id="498" PostId="586" Text="Thanks. I've browse the website and I couldn't find it." CreationDate="2010-08-17T19:48:43.613" UserId="305" />
  <row Id="499" PostId="528" Text="Conversely, if you want keys without passphrases, as the OP does, grep for: &quot;Encryption: none&quot;&#xA;" CreationDate="2010-08-17T19:56:46.713" UserId="396" />
  <row Id="500" PostId="593" Text="Oh, that's quite obviously in the man page; I'm blind. Thanks" CreationDate="2010-08-17T20:03:15.653" UserId="73" />
  <row Id="501" PostId="472" Text="Caveat: if the files are stored on FAT filesystems, the resolution is 2 seconds (a limitation of the filesystem). Use --modify-window=1 to avoid odd behavior, which allows for the 2 second discrepancy." CreationDate="2010-08-17T20:05:13.310" UserId="396" />
  <row Id="502" PostId="153" Text="Since ack is just a perl script, you *can* make it available anywhere you have perl installed, which isn't a high bar." CreationDate="2010-08-17T20:37:08.427" UserId="169" />
  <row Id="505" PostId="586" Score="1" Text="damn... now I want to try tmux... just because screen didn't work for me due ot lack of vi keybindings." CreationDate="2010-08-17T20:43:45.900" UserId="29" />
  <row Id="507" PostId="556" Text="@Josh : Yes you would need to run Cacti (Which requires MySQL, Apache and few other packages) on another server. On most distros, it's pretty simple to install using Yum or apt-get." CreationDate="2010-08-17T20:48:59.180" UserId="4" />
  <row Id="508" PostId="577" Text="Not to get your hopes down, but i don't think that is possible... Why not just use dhcpd on Linux?" CreationDate="2010-08-17T20:59:58.093" UserId="444" />
  <row Id="510" PostId="577" Text="I use dhcpd at home. I heard that at work some DHCP servers were added and they are Windows based. I don't know how they implemented security. Could they have used certificates instead of keys?" CreationDate="2010-08-17T21:19:13.793" UserId="32" />
  <row Id="511" PostId="605" Text="@jkerian : Text-searching and buffering aside, could you show a practical example of where these two differ in terms of command implementation?" CreationDate="2010-08-17T21:26:19.290" UserId="446" />
  <row Id="512" PostId="605" Text="@Zaid:  I could if I could get hold of one of the systems I was using fifteen years ago.  It really doesn't matter any more." CreationDate="2010-08-17T21:31:58.463" UserId="289" />
  <row Id="513" PostId="324" Text="You may want to remember that Apple only licenses MacOSX to run on Apple-brand computers.  Or you could disregard that, depending on how you feel about shrink-wrap licenses." CreationDate="2010-08-17T21:45:13.487" UserId="289" />
  <row Id="514" PostId="519" Text="http://gamedev.stackexchange.com/questions/1128/what-is-the-best-way-to-learn-open-gl" CreationDate="2010-08-17T21:51:07.587" UserId="305" />
  <row Id="515" PostId="608" Score="1" Text="The reason you see this behavior is that one of the parameters a program gets on startup is the name it was called by.  If you take the &quot;less&quot; binary and copy or link it to &quot;more&quot;, then running it through &quot;more&quot; changes its behavior because it knows it should be running in compatibility mode.&#xA;&#xA;There's actually a fair bit of this going on in a modern Unixy system.  On some systems, for instance, mv, cp and rm are all the same binary, just changing behavior depending on how it was called.  An extreme example of this is the Busybox project, popular in embedded Linuxes." CreationDate="2010-08-17T21:54:32.813" UserId="138" />
  <row Id="516" PostId="605" Score="5" Text="I don't see that it's historical I've never seen a 'more' that allowed you to move in both directions. you can only move forward in more. the historical point would be that more was written before less, meaning 'see more than 1 page' and less's command name is more of a joke on less is more and more is less, basically saying less could do more things." CreationDate="2010-08-17T21:55:29.380" UserId="29" />
  <row Id="517" PostId="605" Text="@jkerian which systems have a more that is the same binary as less? (other than busybox based systems)" CreationDate="2010-08-17T22:05:37.563" UserId="29" />
  <row Id="518" PostId="324" Text="Right, you could of course use OS X as your host OS and run Linux and Windows with VMware Fusion." CreationDate="2010-08-17T22:14:35.653" UserId="85" />
  <row Id="519" PostId="610" Score="3" Text="If you need anything more advanced, you could make your own VM in SUSE Studio, which is probably the coolest thing on the planet." CreationDate="2010-08-17T22:16:57.023" UserId="85" />
  <row Id="520" PostId="605" Text="FreeBSD has them hardlinked, for one." CreationDate="2010-08-17T22:19:30.017" UserId="455" />
  <row Id="521" PostId="472" Text="good call... that could definitely cause a problem.  " CreationDate="2010-08-17T22:47:52.297" UserId="298" />
  <row Id="522" PostId="620" Text="And something that does not require sources?" CreationDate="2010-08-17T22:57:00.583" UserId="305" />
  <row Id="524" PostId="535" Text="Making a simple, binary tarball is still good. Specially if that tarball stores all game files at one self-contained directory. It will allow some users to unpack and run it without installing; and it will also make the life easier for other distros (like Gentoo, Arch, and so on), because it will be easier for them to unpack/repackage that tarball." CreationDate="2010-08-17T23:24:35.330" UserId="474" />
  <row Id="525" PostId="516" Score="8" Text="If you can't see it, notice the space character between `*` and `.o`" CreationDate="2010-08-17T23:32:19.497" UserId="474" />
  <row Id="526" PostId="33" Score="1" Text="`/swp` ? A swap partition is not mounted anywhere, so your answer is somewhat misleading." CreationDate="2010-08-17T23:49:05.520" UserId="474" />
  <row Id="527" PostId="497" Text="I use `xterm` (or any terminal, if that matters) as my main file manager. Thus, I kinda forced myself into using shell ALL the time, which made me learn and develop some tricks over time." CreationDate="2010-08-17T23:52:10.163" UserId="474" />
  <row Id="528" PostId="612" Text="serverfault is probably better place for asking such questions." CreationDate="2010-08-18T00:20:05.083" UserId="305" />
  <row Id="529" PostId="179" Text="I ended up going to the SuseGallery[1] and did a quick search for Mono and found JEOS Mono ASP.net[2] which was already setup for what I wanted. I have just started using for some ASP.net migration trials on Windows with VirtualBox. I just needed to start Apache and set up port forwarding.  [1]: http://susegallery.com/ [2]: http://susegallery.com/a/0uPadf/jeos-mono-aspnet" CreationDate="2010-08-18T01:07:12.790" UserId="203" />
  <row Id="530" PostId="605" Text="AIX defaults to `more` instead of `less`.  I alias them to each other since I keep typing less, when on AIX." CreationDate="2010-08-18T01:35:43.443" UserId="80" />
  <row Id="531" PostId="631" Text="I do it mainly for backporting patches. I tend to do it with version control system but I wondered if there is easier way." CreationDate="2010-08-18T01:47:17.627" UserId="305" />
  <row Id="532" PostId="637" Text="Michael thanks!  being curious I also tried it adding test in front of $char &#xA;&#xA;      for char in {A..Z}; do&#xA;    mkdir test$char&#xA;done&#xA;&#xA;   which gave me directories test[A-Z], always good to learn &#xA;" CreationDate="2010-08-18T01:48:00.993" UserId="171" />
  <row Id="533" PostId="640" Text="Oh, that's spectacular. This is a much better answer" CreationDate="2010-08-18T01:58:34.870" UserId="73" />
  <row Id="536" PostId="605" Text="In Mac OS X they are also hard-linked." CreationDate="2010-08-18T02:33:49.060" UserId="220" />
  <row Id="537" PostId="650" Text="What's a relay log?" CreationDate="2010-08-18T03:13:33.650" UserId="394" />
  <row Id="538" PostId="569" Text="&quot;X11 thin clients&quot; were usually called &quot;X terminals&quot; in fact.&#xA;&#xA;" CreationDate="2010-08-18T03:16:34.680" />
  <row Id="539" PostId="605" Text="On Ubuntu 10.04, /bin/less and /bin/more have different file sizes. And `more --help` shows completely different output then `less --help` They are not the same." CreationDate="2010-08-18T04:33:58.380" UserId="4" />
  <row Id="540" PostId="605" Score="1" Text="I have a Solaris 10 system here where `more` acts like the old fashioned `more`--- you can't move back a page. And it's the default PAGER. Drives me mad..." CreationDate="2010-08-18T04:34:59.953" UserId="4" />
  <row Id="541" PostId="608" Text="The file sizes for /bin/more and /bin/less are different, and they each show a single hardlink (The column contains a `1`)." CreationDate="2010-08-18T04:36:49.657" UserId="4" />
  <row Id="542" PostId="558" Text="@Dennis: +1 :-)" CreationDate="2010-08-18T05:18:43.993" UserId="57" />
  <row Id="545" PostId="605" Score="1" Text="So in other words it's the FreeBSD (maybe all BSD?) based systems... since OS X is based FreeBSD... @Stefan Solaris's default shell without tab completion (enabled?) drove me mad." CreationDate="2010-08-18T05:57:50.010" UserId="29" />
  <row Id="546" PostId="617" Text="At the time of the test these were the only two devices on the network, nothing else was on." CreationDate="2010-08-18T07:21:40.783" UserId="460" />
  <row Id="547" PostId="667" Text="Alas there are no TX/RX errors at all after 100MB and the number of resets has been consistently 4 from the beginning to end of test" CreationDate="2010-08-18T07:24:11.883" UserId="460" />
  <row Id="548" PostId="540" Text="Agreed. I've never worked with nothing but SuSE or RedHat on servers." CreationDate="2010-08-18T07:32:48.993" UserId="461" />
  <row Id="549" PostId="668" Text="I tried Ubuntu 32 bit version and it showed 2038 problems but running Ubuntu 64 bit version showed no sign of 2038 problem. I haven't tried any other Unixes. " CreationDate="2010-08-18T07:43:11.823" UserId="548" />
  <row Id="550" PostId="668" Text="Yes on most 32 bit version you will see the problem but not on 64 bit version. You can expect to have no longer any 32 bit OS in 2038." CreationDate="2010-08-18T07:58:49.633" UserId="381" />
  <row Id="552" PostId="263" Text="@txwikinger obviously true, but I considered the question's title which reads &quot;desktop&quot;, otherwise I would not have suggested this if a laptop was specifically mentioned :-)" CreationDate="2010-08-18T08:54:40.403" UserId="261" />
  <row Id="553" PostId="605" Text="More or less the correct answer." CreationDate="2010-08-18T09:25:05.583" UserId="261" />
  <row Id="554" PostId="640" Text="I didn't know this, great tip!" CreationDate="2010-08-18T09:34:06.087" UserId="261" />
  <row Id="555" PostId="622" Score="2" Text="kill sends a signal to a process, with -9 indicating a 'kill' signal. You can see a list of all signals with `man kill` or http://unixhelp.ed.ac.uk/CGI/man-cgi?kill - +1 for the evil laughter :-)" CreationDate="2010-08-18T09:42:53.670" UserId="261" />
  <row Id="556" PostId="672" Score="1" Text="Can't reproduce. Please show one input file which exhibits this problem. Are you sure it says `'text'` and not e.g. `ťexť`?" CreationDate="2010-08-18T10:25:20.150" UserId="481" />
  <row Id="557" PostId="632" Text="Thanks! I didn't know about this command. :)&#xA;&#xA;However, that's the only account on this computer and the man says this:&#xA;&#xA;           « You must make certain that the named user is not executing any&#xA;           processes when this command is being executed if the users numerical&#xA;           user ID, the users name, or the users home directory is being changed.&#xA;           usermod checks this on Linux, but only check if the user is logged in&#xA;           according to utmp on other architectures. »&#xA;Would you suggest using a live cd to do this or creating a temp account that I will delete once it's done?" CreationDate="2010-08-18T10:30:23.077" UserId="475" />
  <row Id="558" PostId="672" Text="i just tested it with a new file and it worked! it looks like it only happened in one particular file (a ruby file). maybe its concerned with encoding?" CreationDate="2010-08-18T11:04:28.400" />
  <row Id="559" PostId="678" Text="whoa! thanks for the very informative answer! will definitely try it out." CreationDate="2010-08-18T12:21:48.837" />
  <row Id="560" PostId="690" Text="I guess I can understand /var and /tmp, but since the installer offered to partition a *single* disk, the utility of a separate `/usr` is quite limited then?" CreationDate="2010-08-18T12:56:55.693" UserId="210" />
  <row Id="561" PostId="690" Text="It allows you to share `/usr` through NFS to other systems. But you could share it even if it is not a separate partition, that's true ... *thinking aloud* ... Is read-only mount a good enough reason?" CreationDate="2010-08-18T13:14:20.743" UserId="559" />
  <row Id="562" PostId="628" Score="4" Text="On Solaris 'killall' is used by the shutdown scripts to kill (nearly) all the processes on the server. &quot;It does what it says on the tin.&quot;" CreationDate="2010-08-18T13:19:53.460" UserId="571" />
  <row Id="563" PostId="692" Text="Thanks for reply. But apropos not available." CreationDate="2010-08-18T13:24:48.113" UserId="57" />
  <row Id="564" PostId="263" Text="Well.. I meant desktop in order to distinguish from servers, where I believe the swapping works reasonably well. :)" CreationDate="2010-08-18T13:28:01.820" UserId="5" />
  <row Id="565" PostId="679" Text="I'm typing vim." CreationDate="2010-08-18T13:29:27.743" UserId="305" />
  <row Id="566" PostId="664" Text="We're already gzipping them :)" CreationDate="2010-08-18T13:59:35.020" UserId="394" />
  <row Id="567" PostId="652" Score="3" Text="Calling RPMs &quot;proprietary&quot; is a bit strong.  There are some additional headers and such, but the core of an RPM is a gzip-compressed cpio archive.  There's a tool that comes with RPM called rpm2cpio that lets you extract this core so you can play with it just like you can with a .deb file." CreationDate="2010-08-18T14:08:25.623" UserId="138" />
  <row Id="568" PostId="673" Score="1" Text="The biggest problem I see are file formats and filesystens, However date range for ext4 is 2514, vfat is 2107. Problem is with reiserfs (2038)." CreationDate="2010-08-18T14:08:26.513" UserId="305" />
  <row Id="569" PostId="700" Text="Probably noone (well practically noone) is storing date is such format (i.e. DCD or string) now. Time are usually handling by objects or ints (so only display code would need to be updated)." CreationDate="2010-08-18T14:11:04.883" UserId="305" />
  <row Id="570" PostId="700" Text="Yes, my point exactly.  Y2K effectively killed the idea of representing dates as fixed length strings." CreationDate="2010-08-18T14:14:52.660" UserId="27" />
  <row Id="571" PostId="652" Score="1" Text="Rubbish. RPM's are not proprietary binary files. They used to be built around cpio (which is old, yes, but not proprietary), while newer versions of RPM use xz, which is available as open source, too." CreationDate="2010-08-18T14:15:10.660" UserId="272" />
  <row Id="572" PostId="689" Score="1" Text="+1 for &quot;The Art of UNIX Programming&quot;. However while API is defined around C there is no technical problem with implementing whole system in Haskell (with bits of assembly ;) ) or something like that." CreationDate="2010-08-18T14:40:08.137" UserId="305" />
  <row Id="573" PostId="192" Text="Could you name any program on Linux that can be compiled but only on 32-bits?" CreationDate="2010-08-18T14:47:17.293" UserId="305" />
  <row Id="574" PostId="193" Score="1" Text="What is a really cool upcoming feature, is to be have an automatic snapshot of your root filesystem before each update, so rollbacks become instant &amp; super safe :)" CreationDate="2010-08-18T14:52:43.300" UserId="272" />
  <row Id="576" PostId="673" Text="ReiserFS has other issues still as well.   I still think there are many more hidden places than people think of that store time in CTIME.  It is a darn easy and useful time format.  Of course, unsigned CTIME does not have the 2037 problem.  I think that is the 2107 timestamp case. " CreationDate="2010-08-18T14:54:43.733" UserId="80" />
  <row Id="577" PostId="670" Text="Good one!  I did not think of that example!  What does the PKI standard use as a time syntax inside certificates?  I have never looked!" CreationDate="2010-08-18T14:55:15.197" UserId="80" />
  <row Id="579" PostId="192" Text="@Maciej Piechotka: don't think there are a lot of those left. I think I remember OpenOffice.org being tricky, but that was way back when the conversion to 64-bit started. Other than that: apparently Flash Player is tricky :P" CreationDate="2010-08-18T14:56:47.473" UserId="272" />
  <row Id="580" PostId="702" Text="It is not the 'system' or 'OS'.  Most any previous 32 bit OS (heck even 16 bit OS's) could do 64 bit math.  The 64 bit depth at the OS level is basically a reference to memory model, not ability to do math.  And time is all about math." CreationDate="2010-08-18T14:56:49.173" UserId="80" />
  <row Id="582" PostId="700" Text="@Stephen:  Not in the COBOL world, but there are fortunately few COBOL implementations on Unix/Linux." CreationDate="2010-08-18T15:01:46.960" UserId="289" />
  <row Id="583" PostId="707" Text="Thank you so much! :D" CreationDate="2010-08-18T15:04:56.017" UserId="394" />
  <row Id="584" PostId="675" Text="Speaking as somebody who was working on the issue at the time, Y2K fizzled because of a lot of work and planning beforehand.  The damp squib perception was reinforced by all the exaggerated doomsaying in the media.  I expect there to be a lot of planning and work done starting in 2035 or so, but if we're lucky we'll miss the media blitz." CreationDate="2010-08-18T15:06:41.833" UserId="289" />
  <row Id="585" PostId="201" Score="2" Text="There was a lot of debate in the Unix world, also.  One of the arguments in favor of adding &quot;long long&quot; was that there was far too much code out there that assumed that &quot;long&quot; was 32 bits.  (At least in the particular argument I got into on comp.std.c not too long before the C99 standard.)" CreationDate="2010-08-18T15:14:05.770" UserId="289" />
  <row Id="586" PostId="632" Score="2" Text="Since you're using Ubuntu and can't login as root, I would create another account called, say, admin that you use for just this type of task.  A temporary account will work just as well but you might as well keep it since you could be doing similar things in the future. " CreationDate="2010-08-18T15:23:23.107" UserId="160" />
  <row Id="587" PostId="532" Text="Probably the most flamewar magnet question of all time :)" CreationDate="2010-08-18T15:26:29.897" UserId="272" />
  <row Id="589" PostId="677" Text="What keymap are you using on the Linux box?" CreationDate="2010-08-18T15:31:12.380" UserId="160" />
  <row Id="590" PostId="707" Score="1" Text="This is basic stuff. Reading the manpage of the ls command is always a good idea." CreationDate="2010-08-18T15:46:35.270" UserId="125" />
  <row Id="591" PostId="142" Text="-1 Won't work for filenames containing spaces. Better use find -print0 | xargs -0." CreationDate="2010-08-18T15:55:42.550" UserId="592" />
  <row Id="593" PostId="688" Score="1" Text="Why man -a doesn't work? Install a proper version of man. &#xA;Try to debug it: &#xA;strace man -a term 2&gt; strace.out&#xA;and echo $LANG&#xA;&#xA;Try to add your user to the man group." CreationDate="2010-08-18T16:03:37.337" UserId="125" />
  <row Id="594" PostId="700" Text="@David: COBOL programs were the Y2K problem for the most part. Did Linux/Unix systems, from a users standpoint, ever have a Y2K issue?&#xA;The simple answer to the original question is no." CreationDate="2010-08-18T16:08:35.973" UserId="27" />
  <row Id="595" PostId="165" Text="There is no reason to take ZFS into account when talking about ext4 in the same thing, since that implies Linux and Linux will not have ZFS as a first-class filesystem any time soon. Thank you, Sun. Thank, you Oracle." CreationDate="2010-08-18T16:09:44.037" UserId="272" />
  <row Id="596" PostId="707" Text="So many man pages, so many switches. Sometimes the mind just glosses." CreationDate="2010-08-18T16:12:43.927" UserId="394" />
  <row Id="597" PostId="701" Score="3" Text="To correct you on Debian packaging, the `debian` directory exists in the directory into which the upstream source was extracted into, and Debian does value the concept of a pristine upstream source tarball very much. When a source package is built, there are three (two for native packages) files that together are called the source package: the upstream tarball (preferably pristine, Debian policy requires some projects to be repackaged), a tarball of the debian dir for the new 3.0 format, (a diff for the old 1.0 format) and a .dsc. " CreationDate="2010-08-18T16:17:19.540" UserId="595" />
  <row Id="598" PostId="701" Score="2" Text="The debian directory doesn't go into the upstream tarball, it remains in the `.diff.gz` or the `.debian.tar.gz` files of the source package, although the `debian` directory is inside the source tree when the source package is extracted. BTW: when policy doesn't require repackaging, the tarball's MD5 has to match with the upstream tarball's. Also, to clarify, patches made my the maintainer to the upstream source are stored in the debian directory (source format 3.0) and in the `.diff.gz` (format 1.0)." CreationDate="2010-08-18T16:18:39.833" UserId="595" />
  <row Id="599" PostId="701" Text="Umang, thanks for your correction. I will remove the part about altering upstream's tarball to make sure no-one gets the wrong idea." CreationDate="2010-08-18T16:26:49.657" UserId="272" />
  <row Id="600" PostId="695" Score="3" Text="The title of this question should really be &quot;Where does Mac OS X come from&quot;, as all versions of Mac OS prior to X are a completely different non-unix-based operating system." CreationDate="2010-08-18T16:27:00.577" UserId="85" />
  <row Id="601" PostId="679" Text="In a terminal use: type -a vi and type -a vim&#xA;After that: ls -ld /usr/bin/vi and ls -ld /usr/bin/vim to see if there's a symbolic link." CreationDate="2010-08-18T16:27:33.070" UserId="125" />
  <row Id="602" PostId="668" Score="2" Text="@radius: This is a ridiculous assumption.  We still use 16(and even 8 bit) microprocessors in todays world, what is to say 32 bit microprocessors will magically disappear in the future?  It is fair to say this will not impact the average user, but in edge cases it could continue to be a problem." CreationDate="2010-08-18T16:30:30.743" UserId="183" />
  <row Id="603" PostId="701" Score="1" Text="Looks fine now, except you've still got a &quot;For RPM's it is important to use the exact same tarball as the one the upstream project releases, up to the timestamp.&quot; Because of my total lack of experience with RPMs, I don't know whether the difference in policy is huge, but like I said, a Debian Developer will insist on it being exact to the timestamp unless the upstream tarball violates Debian policy and needs to be repackaged." CreationDate="2010-08-18T16:33:00.460" UserId="595" />
  <row Id="604" PostId="48" Score="1" Text="I always have at least 14G used on / alone. It's a consequence of instaling a lot of -devel and -debug packages, basically. My /var is taking only 1.2G out of that, and /tmp takes up a few measly 100Mb. With hard drive sizes these days, no use restricting the size of /,you never know when you suddenly need to install something big." CreationDate="2010-08-18T16:36:39.617" UserId="74" />
  <row Id="605" PostId="700" Text="linux:~ # date 081814012037&#xA;Tue Aug 18 14:01:00 UTC 2037&#xA;&#xA;linux:~ # date 081814012038&#xA;date: invalid date `081814012038'&#xA;&#xA;&#xA;I am sure, once 2038 approaches this will no longer give me an error.  Not being able to set the current time to the far future is not an error.&#xA;&#xA;More to the point&#xA;SELECT 'Wed Aug 18 14:01:00 UTC 2010'::date + '30 years'::interval AS future;&#xA;       future        &#xA;---------------------&#xA; 2040-08-18 00:00:00&#xA;&#xA;So, no issue!" CreationDate="2010-08-18T16:50:34.183" UserId="27" />
  <row Id="606" PostId="584" Score="1" Text="what Mike Gray said." CreationDate="2010-08-18T17:05:28.047" UserId="601" />
  <row Id="607" PostId="702" Text="Yes and no. It is true that 32 bit and 64 bit OS can perform 64 bit arithmetic (you can emulate any arithmetic). However `time_t` (or equivalent) on 32 bit OS happens to have 32 bits while `time_t`(or equivalent) on 64 bit OS happens to have 64 bits. I thought it was sufficiently clear even if with certain simplification." CreationDate="2010-08-18T17:13:44.740" UserId="305" />
  <row Id="608" PostId="528" Text="@jmanning2k : I just created an RSA private key with no passphrase, and it does not contain the string 'Encryption: none'." CreationDate="2010-08-18T17:22:45.180" UserId="4" />
  <row Id="609" PostId="632" Text="I will do that, thanks. :)" CreationDate="2010-08-18T17:41:21.653" UserId="475" />
  <row Id="610" PostId="700" Text="The poster is not asking about the y2k problem; they're asking about the y2k38 problem, which is an entirely different beast. Check http://en.wikipedia.org/wiki/Y2K38 for a description." CreationDate="2010-08-18T17:47:17.323" UserId="195" />
  <row Id="611" PostId="707" Text="Don't read all the man pages and try to memorize everything at once. That's impossible. Instead, only try to read the man pages of commands you're having problems with, such as ls in this case." CreationDate="2010-08-18T17:50:25.960" UserId="195" />
  <row Id="612" PostId="590" Text="Thanks! That got me on the right track. There's also some really useful info here if anyone's looking at a RedHat based set up: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/sso-ov.html" CreationDate="2010-08-18T17:51:48.843" UserId="315" />
  <row Id="613" PostId="344" Text="Thanks cjac! Combined with vwduder's contribution I think I've got this one licked." CreationDate="2010-08-18T17:53:22.303" UserId="315" />
  <row Id="614" PostId="652" Text="Right, I quoted it, because of course it's not truly proprietary and that's exactly what I mean: additional headers, etc. so it's not quite a straight ar file like a deb. Not a huge deal, just a minor thing." CreationDate="2010-08-18T18:01:25.250" UserId="493" />
  <row Id="615" PostId="633" Text="I think that will kill *all* processes by that user, not just their shell, but if that's what you want then this is definitely simpler" CreationDate="2010-08-18T18:35:17.023" UserId="73" />
  <row Id="616" PostId="713" Text="It was my understanding that the main reason Stallman at FSF pursued Mach was not performance but ease of using a debugger: he could use the debugger to debug Mach servers far more easily than debugging code running in kernel space.&#xA;&#xA;Although maybe it was the performance that convinced him this was a viable way to implement." CreationDate="2010-08-18T18:47:19.790" UserId="610" />
  <row Id="617" PostId="668" Text="Well - the 16-bit and 8-bit computers can 1. move date 0 (from 1970-01-01 to for example 2010-01-01) - however it would break certain API/ABI conventions 2. extend the timer field (which may in certain cases break 'only' ABI)." CreationDate="2010-08-18T19:31:27.653" UserId="305" />
  <row Id="618" PostId="679" Text="`which vim` --&gt; `/usr/local/bin/vim`, `which vi` --&gt; `/usr/bin/vi`. I don't have `type` --&gt; no such command. None is symlink." CreationDate="2010-08-18T19:42:26.660" UserId="305" />
  <row Id="619" PostId="677" Text="uk (set in /etc/conf.d/keymaps). In X11 uk + some customization. I use gnome-terminal." CreationDate="2010-08-18T19:43:03.177" UserId="305" />
  <row Id="620" PostId="679" Text="&quot;type&quot; is a Bash builtin.  &quot;type -p&quot; is the same thing as &quot;which&quot;, and &quot;type -a&quot; just extends that.  Can you post the output of &quot;vim --version&quot;?" CreationDate="2010-08-18T20:03:29.260" UserId="138" />
  <row Id="621" PostId="731" Score="3" Text="Just to be clear, they are case-preserving and not case-sensitive by default.  So the case of your filename will be preserved, but you can access it through any variation of case.&#xA;This can be changed to be case-sensitive when the filesystem is created.  " CreationDate="2010-08-18T20:38:13.093" UserId="31" />
  <row Id="622" PostId="679" Text="posted in main post" CreationDate="2010-08-18T21:04:10.910" UserId="305" />
  <row Id="623" PostId="732" Text="As stated it is not pointing. I don't have any `vimrc` or similar file." CreationDate="2010-08-18T21:05:28.097" UserId="305" />
  <row Id="624" PostId="732" Text="@Maciej but does freebsd set any defaults. If I had a nickel for every distro that screwed up vim defaults... have you read the :h compatible? have you checked the vimrc file that freebsd probably has?" CreationDate="2010-08-18T21:11:00.440" UserId="29" />
  <row Id="625" PostId="732" Text="@Maciej: did you check for .vimrc ?" CreationDate="2010-08-18T21:18:09.647" UserId="57" />
  <row Id="626" PostId="728" Text="Thanks for the alternate tool recommendations. I'll have to decide if I want to buy a drive specifically for Time Machine or use on of these other tools.  Do you happen to know if Time Machine will let my Macbook back up a hard drive that is always connected to my iMac?" CreationDate="2010-08-18T21:38:46.703" UserId="85" />
  <row Id="627" PostId="454" Score="2" Text="Are you kidding right? Why would you use that editor for C# programming. &#xA;&#xA;Try [MonoDevelop][1], if you're serious about learning C# in Linux, it's WAY BETTER, in my humble opinion.&#xA;&#xA;  [1]: http://monodevelop.com/" CreationDate="2010-08-18T21:45:33.710" UserId="125" />
  <row Id="628" PostId="707" Score="1" Text="Unix koan: How many lowercase letters are *invalid* switches to ls ?" CreationDate="2010-08-18T21:52:20.680" UserId="2282" />
  <row Id="629" PostId="732" Text="I don't have .vimrc" CreationDate="2010-08-18T21:59:40.223" UserId="305" />
  <row Id="630" PostId="670" Text="@geoffc, Actually it was a proprietary format and had its internal date/time structures, which themselves were big enough to fit dates past 2038, but it used GLIBC functions for date/time conversion. If I recall correctly, `mktime` call was silently failing." CreationDate="2010-08-18T23:36:53.823" UserId="210" />
  <row Id="631" PostId="742" Text="I used Gentoo from 2003 to 2009. I now use Arch Linux." CreationDate="2010-08-19T00:34:45.923" UserId="29" />
  <row Id="632" PostId="742" Text="I also was a developer on Funtoo for a time" CreationDate="2010-08-19T00:41:32.683" UserId="29" />
  <row Id="633" PostId="365" Text="Hm. So, based on this information and the answer by Alex below, does that really mean there's such a significant variation in sound event management across window managers?" CreationDate="2010-08-19T00:43:10.620" UserId="327" />
  <row Id="634" PostId="740" Text="Out of curiousity what other questions do you think would benefit from a 'rolling-release' tag. I can't think of others. Well nothing that would get past more than a dozen or so questions." CreationDate="2010-08-19T00:48:52.900" UserId="29" />
  <row Id="635" PostId="682" Text="wow this question would take so long to answer comprehensively... like several books. There are very few OS's (embedded space aside and windows being the notable exception) that aren't a Unix." CreationDate="2010-08-19T00:57:48.733" UserId="29" />
  <row Id="636" PostId="685" Score="3" Text="Another good reason for keeping `/home` separate is that it lets you reinstall your system and/or switch distros freely without losing your personal files." CreationDate="2010-08-19T01:06:50.680" UserId="621" />
  <row Id="637" PostId="747" Text="I've never had the names change... but I have had the switches change. I recall once finding out that a linux didn't have gpasswd -a." CreationDate="2010-08-19T01:52:03.633" UserId="29" />
  <row Id="638" PostId="745" Score="1" Text="also `groupmod`. I'm not going to make this an answer.... but the most standard way is probably to use your text editor... remember the files affected are just delimited text." CreationDate="2010-08-19T01:53:32.303" UserId="29" />
  <row Id="639" PostId="689" Score="2" Text="The bits of assembly can be written in Haskell, too. Have a look at [Potential](http://intoverflow.wordpress.com/2010/05/21/announcing-potential-x86-64-assembler-as-a-haskell-edsl/)" CreationDate="2010-08-19T02:11:22.683" UserId="54" />
  <row Id="640" PostId="747" Score="1" Text="If memory serves-- RedHat once used 'adduser' instead of 'useradd', and it behaved differently (I think useradd was more Debianish). They later made 'adduser' a symlink to 'useradd'. See some old references at http://www.redhat.com/docs/manuals/linux/RHL-5.2-Manual/install-guide/doc077.html" CreationDate="2010-08-19T03:17:04.273" UserId="4" />
  <row Id="641" PostId="755" Text="It was a Linux question but the information is appreciated anyway. It would be great if Linux had something like this." CreationDate="2010-08-19T03:19:10.343" UserId="621" />
  <row Id="643" PostId="560" Score="1" Text="I used daemontools for years. It's great as a supervisor/watchdog for other processes. How does it help you monitor CPU/memory usage for one process?" CreationDate="2010-08-19T04:05:40.127" UserId="4" />
  <row Id="644" PostId="561" Score="2" Text="I was hoping for something a bit less linkish and a bit more explanatory. I like to know how things work." CreationDate="2010-08-19T06:29:30.567" UserId="29" />
  <row Id="645" PostId="749" Text="i think that is it. i havent tried it yet, but my machine on which the problem is, has 1GB Ram and java is allocating 512 MB." CreationDate="2010-08-19T06:43:57.370" UserId="566" />
  <row Id="646" PostId="769" Score="11" Text="No! `aptitude` has more. You forgot to put the endless `-v` flags to `moo`. (You can go upto `-vvvvvv`)" CreationDate="2010-08-19T06:51:55.450" UserId="595" />
  <row Id="647" PostId="681" Text="Does Oracle backing both zfs and btrfs make any difference? Will they relicense zfs now that sun is no longer? " CreationDate="2010-08-19T07:10:06.610" UserId="207" />
  <row Id="648" PostId="703" Text="@Maciej note by zfs, I mean openbsd / solaris + zfs, not the fuse solution ... " CreationDate="2010-08-19T07:11:52.253" UserId="207" />
  <row Id="649" PostId="767" Text="I'm biased, but I think [this question on the Ubuntu SE site](http://ubuntu.stackexchange.com/questions/76/whats-the-difference-between-ubuntus-package-managers) might be relevant." CreationDate="2010-08-19T07:38:21.160" UserId="621" />
  <row Id="650" PostId="745" Text="Interestingly, prior to asking this question, I had never once seen so much as a mention of directly editing the files. (Somehow I had the impression that `/etc/passwd` was just one part of a complex system)" CreationDate="2010-08-19T07:41:05.647" UserId="621" />
  <row Id="651" PostId="767" Score="2" Text="duplicate: http://unix.stackexchange.com/questions/244/apt-get-or-aptitude ." CreationDate="2010-08-19T08:13:26.490" UserId="281" />
  <row Id="653" PostId="536" Score="1" Text="Would You be so kind to explain what it does? I can't figure it out and I don't want to try it ;)" CreationDate="2010-08-19T08:54:19.340" UserId="649" />
  <row Id="655" PostId="56" Score="3" Text="This might cause issues. See http://www.softpanorama.org/Scripting/Shellorama/cdpath.shtml &quot;If $CDPATH is set, the cd built-in will not implicitly append the current directory to it. This means that cd will fail if no valid directory name can be constructed from any of the entries in $CDPATH, even if a directory with the same name as the name given as an argument to cd exists in the current directory.&quot; I have been bitten by this, some Makefile's stopped working. Appending . explicitly might help though, but there are some issues with that as well." CreationDate="2010-08-19T09:22:20.580" UserId="652" />
  <row Id="656" PostId="778" Text="not really useful unfortunately... I know gentoo had a log that wasn't enabled by default for logging this kind of stuff... though basically whatever was put out to the screen... which might not have been from a daemon... the apache rc script for example does not have a seperate log file... the apache daemon has one though... the rc script simply starts that daemon... but the daemon can start and the script still fail." CreationDate="2010-08-19T09:28:58.543" UserId="29" />
  <row Id="657" PostId="536" Score="16" Text="Look's like a fork bomb. **Don't try this unless you really know what you're doing.** " CreationDate="2010-08-19T09:29:13.520" UserId="446" />
  <row Id="658" PostId="784" Text="and the latter reason is a good reason to `su -` and make sure root has a different umask... but oh... ubuntu doesn't believe in root..." CreationDate="2010-08-19T09:41:41.010" UserId="29" />
  <row Id="659" PostId="781" Text="permissions seems more like it than 'umask' for tags... imo" CreationDate="2010-08-19T09:42:47.500" UserId="29" />
  <row Id="660" PostId="769" Text="o.O! Brilliant." CreationDate="2010-08-19T09:52:25.893" UserId="558" />
  <row Id="661" PostId="740" Text="Perhaps something more generic then, relating to release cycles? That distros tag is just sitting there awfully lonely." CreationDate="2010-08-19T09:57:44.363" UserId="391" />
  <row Id="663" PostId="536" Score="3" Text="Yup. It's a forkbomb. And a nice one :) It seems to fork bash interpreter as it endlessly tries to parse it. If You skip the last `:` it does nothing.&#xA;And it doesn't use memory at all, just forks a lot. [Yes, I did try it:)]. Effects can be blocked with a quota on number of processes per user. " CreationDate="2010-08-19T10:16:31.310" UserId="649" />
  <row Id="664" PostId="776" Text="Awesome. So would the Slicehost example be good enough for production on a mundane LAMP site? The more advanced tutorials left me feeling like I was missing out on something important, though my reading of the Slicehost example looked fine to my layman eyes." CreationDate="2010-08-19T10:17:01.420" UserId="639" />
  <row Id="667" PostId="365" Text="First of all, there is a difference between a Window Manager and a Desktop Enviroment (Wikipedia has some nice articles about both).&#xA;And yes there's such a significant variation between WMs and DEs, because they might use different sound frameworks or sound system architectures, and they have different GUIs (ways) to handle Events, Sounds, etc. Example Fluxbox Event Management: http://is.gd/eoy7R&#xA;For a glimpse in the Linux Audio topic, read http://www.tuxradar.com/content/how-it-works-linux-audio-explained and see this graph http://linuxgeek.ro/img/linuxaudio.png" CreationDate="2010-08-19T10:44:03.093" UserId="125" />
  <row Id="668" PostId="536" Score="8" Text="http://www.cyberciti.biz/faq/understanding-bash-fork-bomb/" CreationDate="2010-08-19T10:51:39.263" UserId="649" />
  <row Id="669" PostId="772" Score="2" Text="This used to be true, but I know my apt-get has an `apt-get autoremove` command for removing packages installed only as dependencies. I don't know when this feature was added, but one website suggests it might have happened with Debian Lenny (June 2010)." CreationDate="2010-08-19T10:55:27.947" UserId="558" />
  <row Id="670" PostId="766" Score="4" Text="...and /etc/shadow, since most systems will croak if i is inconsistent with /etc/passwd" CreationDate="2010-08-19T11:03:46.450" UserId="188" />
  <row Id="671" PostId="780" Text="What do you mean by 'grid view'?" CreationDate="2010-08-19T11:06:38.957" UserId="272" />
  <row Id="672" PostId="674" Text="If I understand you correctly, that will only give me the opportunity to boot a LiveCD from a USB stick. Which would not appear on boot menu without rEFIt installed. That does not really answer my question.&#xA;&#xA;I would like to have a normal Linux install on an external harddrive and at best without install rEFIt and an internal hard disc based grub." CreationDate="2010-08-19T11:16:39.580" UserId="90" />
  <row Id="673" PostId="784" Text="@xenoterracide:  `sudo su -` works fine.  Ubuntu, like MacOSX, doesn't believe in a root you can just log into.  Personally, I like having to say something like &quot;Simon Says&quot; for root commands most of the time." CreationDate="2010-08-19T11:21:16.220" UserId="289" />
  <row Id="674" PostId="126" Score="1" Text=".. and what do `u` and `o` stand for here?" CreationDate="2010-08-19T11:32:08.637" UserId="658" />
  <row Id="675" PostId="536" Score="2" Text="+1 for the above comment. It's far easier to understand than it looks." CreationDate="2010-08-19T11:54:55.303" UserId="595" />
  <row Id="676" PostId="625" Score="4" Text="That's more of an Easter Egg than a painful moment. I read about it before I came across it, but I've never found myself mistyping that, so no +1." CreationDate="2010-08-19T11:56:55.737" UserId="595" />
  <row Id="677" PostId="703" Text="From what I head about solaris implementation it is rock-stable. But I'm not specialist." CreationDate="2010-08-19T12:56:49.763" UserId="305" />
  <row Id="678" PostId="781" Text="You can have up to 5 tags for a question, so why fight about it? :)  Added the umask tag." CreationDate="2010-08-19T13:13:33.427" UserId="138" />
  <row Id="679" PostId="750" Text="Your first sentence doesn't make sense to me.  `stdout` is file descriptor 1, `stderr` is 2.  So, &quot;error&quot; comes before &quot;output&quot;." CreationDate="2010-08-19T13:15:39.447" UserId="138" />
  <row Id="680" PostId="682" Text="not sure whether to cry or laugh" CreationDate="2010-08-19T13:17:03.577" UserId="10" />
  <row Id="681" PostId="755" Text="Noun and verb, you mean." CreationDate="2010-08-19T13:19:18.470" UserId="138" />
  <row Id="682" PostId="754" Score="1" Text="Knowing how to *read* /etc/passwd is useful, but modifying it directly is a bad practice.  On some *ixes I've used (modern SysV, OS X...) these files aren't the primary place the user and group data is stored.  They're either shadow copies for compatibility, or they are primary sources but there is a database or index that needs to be updated whenever they change.  On those systems, if you don't update the files through the official tools, the changes won't immediately take effect, if ever they do." CreationDate="2010-08-19T13:21:48.557" UserId="138" />
  <row Id="684" PostId="755" Text="D'oh!  Fixed it." CreationDate="2010-08-19T13:44:06.133" UserId="160" />
  <row Id="685" PostId="707" Text="@Kevin,Alex thanks for the help, but man pages are long, even for simple commands (on my screen, man ls is 5 screens -- is there a way to search in them?), and at the moment I need it, I don't want to learn the ins and outs of a command I'm having problems with, I just need to solve an immediate problem. Thus you scan, and sometimes you miss something. " CreationDate="2010-08-19T13:49:59.863" UserId="394" />
  <row Id="686" PostId="707" Text="In any case, from my `ls` man page, it says this for `-d`: `list directory entries instead of contents, and do not dereference symbolic links` -- now if you aren't applying your critical thinking skills, isn't the phrase &quot;directory entries&quot; a synonym for &quot;directory contents&quot;? In other words it's ambiguous, and the d switch is not *clearly* what I want, according to the man page. This entry was poorly written. Sometimes, sometimes, it's just better to ask someone than to look it up :)" CreationDate="2010-08-19T13:51:58.890" UserId="394" />
  <row Id="687" PostId="750" Text="That sentence is a mnemonic to remember which file descriptor `stdout` and `stderr` refer." CreationDate="2010-08-19T13:53:17.903" UserId="160" />
  <row Id="688" PostId="787" Score="2" Text="Is that ad copy?" CreationDate="2010-08-19T13:54:34.283" UserId="160" />
  <row Id="689" PostId="750" Text="Okay, but it still seems confusing, since the original question is about trying to remember the order of the characters in the &quot;2&gt;&amp;1&quot; incantation." CreationDate="2010-08-19T13:56:42.810" UserId="138" />
  <row Id="690" PostId="796" Score="1" Text="So part of the instructions were to make a file `.ssh/id_rsa.pub`, and upload it to the remote server. When I made it, it ended with localusername@localsystem. That should be changed to remoteusername@remotesystem, right? Both locally and remotely?" CreationDate="2010-08-19T14:05:22.523" UserId="394" />
  <row Id="693" PostId="760" Text="True, but not all Unix/Linux users are Ubuntu users.  The Ubuntu SE site was in public beta first too..." CreationDate="2010-08-19T14:16:34.540" UserId="286" />
  <row Id="694" PostId="454" Text="Oh I have MonoDevelop set up too, but sometimes I need to work over a console-only SSH session" CreationDate="2010-08-19T14:17:14.120" UserId="286" />
  <row Id="695" PostId="796" Score="3" Text="No.  Just append the contents of your local `id_rsa.pub` to `authorized_keys` on the remote system.  It'll work." CreationDate="2010-08-19T14:33:18.557" UserId="138" />
  <row Id="696" PostId="726" Text="+1: specifically for mentioning dynamic linkage. I got caught out thinking it would be very similar. The joy of install_name and how the OSX dynamic link editor, `dyld`, resolves depdendencies!" CreationDate="2010-08-19T14:53:32.330" UserId="669" />
  <row Id="697" PostId="772" Score="3" Text="`apt-get autoremove` doesn't remove packages installed only as dependencies, it removes orphaned dependencies, which is a subtle difference; it can't tell whether a 'leaf' package was installed with intent or as a dependency so it leaves it, where aptitude would know and remove it." CreationDate="2010-08-19T15:05:12.647" UserId="2282" />
  <row Id="698" PostId="796" Text="alternately, many systems have ssh-copy-id to solve this problem: &quot;ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote-machine&quot;" CreationDate="2010-08-19T15:12:16.623" UserId="22" />
  <row Id="699" PostId="796" Text="Unfortunately, many do not, and it seems this is not a standard part of OpenSSH, so there are at least a couple of different implementations of this script floating around." CreationDate="2010-08-19T15:29:56.747" UserId="138" />
  <row Id="700" PostId="804" Score="12" Text="awesome! I could have voted you +1000 if allowed. Very detailed and helpful answer. " CreationDate="2010-08-19T15:32:59.023" UserId="515" />
  <row Id="702" PostId="804" Score="3" Text="um, wow.  that's incredibly interesting." CreationDate="2010-08-19T15:48:51.867" UserId="673" />
  <row Id="704" PostId="192" Text="Since when Flash Player is compiled ;) gnash/lightspark works on 64-bits but Adobe Flash Player is propertary." CreationDate="2010-08-19T16:17:31.957" UserId="305" />
  <row Id="705" PostId="796" Text="If you are using gnome seahorse have automated deployment of keys." CreationDate="2010-08-19T16:29:43.333" UserId="305" />
  <row Id="706" PostId="707" Score="1" Text="@user394: &quot;is there a way to search in them?&quot; Yes. Press `/`, then enter a search term, then press return and man will jump to the first occurrence of the term in the manpage. You can then press `/` and return without a search term in between to jump to the next occurrence." CreationDate="2010-08-19T16:51:08.613" UserId="481" />
  <row Id="707" PostId="771" Text="I was hoping there is a way to see more of the command within ksysguard." CreationDate="2010-08-19T16:54:09.267" UserId="325" />
  <row Id="708" PostId="739" Text="Something staying with ksysguard would be prefered." CreationDate="2010-08-19T16:54:55.537" UserId="325" />
  <row Id="709" PostId="754" Text="Just don't [munge /etc/passwd](http://unix.stackexchange.com/questions/502/what-are-your-favorite-painful-unix-moments/761#761)" CreationDate="2010-08-19T17:02:17.130" UserId="4" />
  <row Id="710" PostId="522" Score="1" Text="I've been witness to this as well. I'm amazed that a system can survive without /etc --- just don't restart anything." CreationDate="2010-08-19T17:06:21.977" UserId="4" />
  <row Id="711" PostId="806" Text="The &quot;cat&quot; command above is the core of the common but nonstandard `ssh-copy-id` script mentioned above.  I recognize it because not all the systems I use come with `ssh-copy-id`, so I've typed something like that more than a few times. :)" CreationDate="2010-08-19T17:06:50.493" UserId="138" />
  <row Id="712" PostId="797" Score="5" Text="+1 for you for such a gr8 question. :-)" CreationDate="2010-08-19T17:14:15.643" UserId="57" />
  <row Id="713" PostId="695" Text="@Sandy: fixed the Xes" CreationDate="2010-08-19T17:16:46.840" UserId="138" />
  <row Id="714" PostId="728" Score="1" Text="nope, unless you have a timecapsule time machine has no idea what networking is. so if your idea is to share that iMac drive and mount it on the macbook, it won't work." CreationDate="2010-08-19T17:24:29.230" UserId="141" />
  <row Id="715" PostId="806" Text="I've never heard about `ssh-copy-id`. I usually use `vim` or `seahorse` ;)" CreationDate="2010-08-19T17:40:44.213" UserId="305" />
  <row Id="716" PostId="739" Text="I don't think it's possible to achieve what you want from the GUI you mention. The ksysguard GUI is limited. From the command-line you can control everything, hence the power. And the commands I provided are extremely basic, IMHO." CreationDate="2010-08-19T17:49:33.340" UserId="125" />
  <row Id="717" PostId="514" Text="+1 for The Unix Programming Environment. After reading this, suddenly Unix made an awful lot more sense to me. A bit of a revelation :-)" CreationDate="2010-08-19T17:52:20.993" UserId="571" />
  <row Id="718" PostId="810" Score="3" Text="This is probably a question for [SO](http://stackoverflow.com/)" CreationDate="2010-08-19T18:01:39.087" UserId="73" />
  <row Id="719" PostId="674" Text="What I described above lets you create a Bootable Live USB. After you have done all those steps, restart your computer and boot from USB. &#xA;&#xA;If the distro allows Live mode you can boot into that if not there will be an installer. Either way you can install it on your hard drive, like you would from an CD. " CreationDate="2010-08-19T18:03:48.147" UserId="125" />
  <row Id="720" PostId="811" Text="I know about this document but it speaks about a) ports and b) updating between patchfixes. Not from x.y to x.y+1" CreationDate="2010-08-19T18:05:49.920" UserId="305" />
  <row Id="721" PostId="761" Score="2" Text="Surely &quot;J&quot; is the &quot;Join&quot; (as in join lines together) command?" CreationDate="2010-08-19T18:07:37.733" UserId="571" />
  <row Id="722" PostId="784" Text="@xenoterracide eh? what's your point? both sudo and su allow for root having a different umask.&#xA;@David you can use sudo -i instead of sudo su -" CreationDate="2010-08-19T18:34:25.137" UserId="651" />
  <row Id="723" PostId="344" Text="Cool!  One more while I'm thinking of it.  My dad gets credit for finding these.&#xA;&#xA;http://www.smartcardworld.com/" CreationDate="2010-08-19T19:30:56.170" UserId="111" />
  <row Id="724" PostId="810" Text="yes, this is a programming question" CreationDate="2010-08-19T19:47:42.057" UserId="701" />
  <row Id="725" PostId="821" Text="I would have added the tag `terminal-emulator` here..." CreationDate="2010-08-19T20:11:02.267" UserId="690" />
  <row Id="726" PostId="821" Text="A list of the specific features you're missing would help." CreationDate="2010-08-19T20:12:52.543" UserId="481" />
  <row Id="727" PostId="819" Score="1" Text="This is useful if you've downloaded snapshot releases but if you just want to update to the latest STABLE branch release, you can also just call `freebsd-update upgrade -r X.n-RELEASE`.&#xA;" CreationDate="2010-08-19T20:26:07.207" UserId="160" />
  <row Id="728" PostId="821" Text="@sepp2k: Thanks for pointing this out. I updated the question accordingly." CreationDate="2010-08-19T20:40:57.453" UserId="690" />
  <row Id="729" PostId="730" Score="1" Text="+1 for this. My home NAS (the QNAP 239) has built-in support for TimeMachine based on the same solution! It works really sweet, and MacOS detected the timemachine drive without any problems." CreationDate="2010-08-19T20:53:53.413" UserId="728" />
  <row Id="731" PostId="784" Text="@David if you're doing an `su ...` you're logging in as root. @zarkdav My point is actually using the root account helps with things like this. I don't agree with the whole 'no root' thing, it provides a false sense of security. ya'll can like it all you want, though." CreationDate="2010-08-19T21:03:29.863" UserId="29" />
  <row Id="732" PostId="816" Text="I don't know that I would agree with &quot;level it an reimage&quot; this is unix not windows... I don't really have this problem... I was just asking." CreationDate="2010-08-19T21:17:55.713" UserId="29" />
  <row Id="733" PostId="811" Text="Good point @Maciej" CreationDate="2010-08-19T21:22:35.733" UserId="4" />
  <row Id="736" PostId="810" Text="should we delete the question?" CreationDate="2010-08-19T21:42:45.087" UserId="32" />
  <row Id="737" PostId="784" Text="@xenoterracide:  Actually using the root command means I'm likely to type something into the wrong window.  Using &quot;sudo&quot; means I have to specify I want this to be executed by root.  I know perfectly well there's a root account, so I don't see where the false sense of security comes from.  It's just one more little ritual (like sitting on my hands) that makes it less likely that I'll do something fatally stupid as root." CreationDate="2010-08-19T22:03:27.107" UserId="289" />
  <row Id="738" PostId="674" Text="Maybe I am dumb, but I do not understand how this helps. I have tested this on a Macbook. You cannot boot from the so generated USB stick without rEFIt installed. The whole point of my question is that I want to install Linux on an external USB drive and boot from there. I know this solution to the problem http://ubuntuforums.org/showthread.php?t=869324 , but was hoping for something simpler." CreationDate="2010-08-19T22:03:52.770" UserId="90" />
  <row Id="739" PostId="536" Score="1" Text="had a friend run the formk-bomb while we were in the labs, doing assignments, completely messed all of my days unsaved work *sob*" CreationDate="2010-08-19T23:04:04.950" UserId="766" />
  <row Id="740" PostId="814" Text="Using a text editor to edit configuration files that tools can, and should edit for you is not a standard.&#xA;&#xA;You should never use a text editor to change a configuration file, when the operating system, or application provides a utility to do this for you. This is especially true for `/etc/passwd`, `/etc/shadow`, `/etc/group`, and `/etc/gshadow`. This is what the tools are for.&#xA;&#xA;Humans are prone to error, whereas tools have been tested and are (hopefully) bug-free." CreationDate="2010-08-19T23:04:23.607" UserId="646" />
  <row Id="741" PostId="513" Text="@Alex - well there was this big VMUNIX file that I wasn't using ....&#xA;" CreationDate="2010-08-20T00:10:21.510" UserId="783" />
  <row Id="742" PostId="798" Text="Interesting, but an answer that only applies on a machine which gets its user info from LDAP is of very limited use to me." CreationDate="2010-08-20T01:06:57.057" UserId="621" />
  <row Id="743" PostId="790" Text="Thanks, but I'm looking for an answer that applies just as well to non-networked systems." CreationDate="2010-08-20T01:07:42.610" UserId="621" />
  <row Id="744" PostId="784" Text="@David please tell me that you weren't aware of `su -c` but really I don't feel like getting into the long drawn out argument of why sudo offers little to no advantages on a single administrator system." CreationDate="2010-08-20T01:27:31.160" UserId="29" />
  <row Id="745" PostId="848" Score="2" Text="It's true that TrueCrypt supports full-disk encryption with Linux, but it can only do that on the boot disk with Windows.  I suspect the original poster is wanting to encrypt their boot disk, rather than a secondary disk that can be mounted after the system boots far enough that you can get a password to TrueCrypt." CreationDate="2010-08-20T03:44:33.657" UserId="138" />
  <row Id="746" PostId="850" Text="Removed &quot;can't use hardware AES&quot; for TrueCrypt.  No longer true as of v7, released recently: http://www.truecrypt.org/docs/?s=version-history" CreationDate="2010-08-20T03:47:36.050" UserId="138" />
  <row Id="747" PostId="761" Text="Thank you for the correction, Dr. @dr-jan." CreationDate="2010-08-20T04:02:36.420" UserId="4" />
  <row Id="748" PostId="728" Text="So, this is actually incorrect, I've found out.  Time Machine over AFP is supported, as long as the machine serving AFP is running OS X.  For details, see: http://docs.info.apple.com/article.html?path=Mac/10.6/en/15139.html .  You don't have to enable any secret preferences; it works out-of-the-box (I just tried it)." CreationDate="2010-08-20T04:23:53.530" UserId="85" />
  <row Id="749" PostId="850" Score="2" Text="But as far as I know TrueCrypt can only encrypt windows drives if I want to boot my OS from it. So that would make dm-crypt the only solution." CreationDate="2010-08-20T05:03:35.510" UserId="759" />
  <row Id="750" PostId="682" Score="7" Text="How does a unix or linux system work? Very well, thank you :-)." CreationDate="2010-08-20T06:04:07.643" UserId="558" />
  <row Id="751" PostId="851" Score="2" Text="Hehe. This question has your name written all over it ;-)" CreationDate="2010-08-20T06:48:28.287" UserId="272" />
  <row Id="752" PostId="516" Text="I feel your pain, happened to all of us at some point :)" CreationDate="2010-08-20T07:32:07.137" UserId="659" />
  <row Id="753" PostId="833" Text="Thanks, this definitely looks interesting." CreationDate="2010-08-20T08:21:50.307" UserId="690" />
  <row Id="754" PostId="830" Text="This seems nice, too. The missing zoom is a disadvantage, though." CreationDate="2010-08-20T08:23:08.340" UserId="690" />
  <row Id="755" PostId="836" Text="I was aware of this feature. But is there also a possibility to display the current directory in the new tab? I'll definitely check this out, though." CreationDate="2010-08-20T08:24:38.617" UserId="690" />
  <row Id="756" PostId="838" Text="Just out of curiosity, why?&#xA;BTW, usually those kind of long piped instructions won't work on cron. You'll need a single script to be called." CreationDate="2010-08-20T08:28:47.060" UserId="461" />
  <row Id="757" PostId="836" Text="I took a quick look at the Perl extensions for urxvt (I was not aware of those before). I should be able to change it to my needs. Thanks to all who answered!" CreationDate="2010-08-20T08:32:39.563" UserId="690" />
  <row Id="758" PostId="864" Score="2" Text="And the -1 is because?" CreationDate="2010-08-20T08:35:57.327" UserId="461" />
  <row Id="759" PostId="682" Text="yeah i know guys, but in a nutshell? please? :-) :-) :-)" CreationDate="2010-08-20T09:49:16.930" UserId="570" />
  <row Id="760" PostId="856" Text="lovely answer, i know it's really hard to explain in short! thanks! ;-)" CreationDate="2010-08-20T09:52:38.667" UserId="570" />
  <row Id="761" PostId="852" Text="I have a similar question on  another site http://ubuntu.stackexchange.com/questions/787/how-can-i-find-out-what-is-causing-my-gnome-panel-to-freeze &#xA;" CreationDate="2010-08-20T10:27:45.560" UserId="279" />
  <row Id="762" PostId="875" Score="1" Text="Your command would miss all dotfiles." CreationDate="2010-08-20T12:21:57.637" UserId="606" />
  <row Id="763" PostId="866" Text="awesome stuff! couldn't stop reading! thanks! ;-)" CreationDate="2010-08-20T12:25:03.437" UserId="570" />
  <row Id="764" PostId="883" Score="2" Text="well, I wouldn't exactly trust generating passwords to an online app. thanks for your reply tho'" CreationDate="2010-08-20T12:26:17.350" UserId="665" />
  <row Id="765" PostId="837" Text="This only stores diffs?" CreationDate="2010-08-20T12:40:03.030" UserId="394" />
  <row Id="766" PostId="396" Text="No, but if you make those dependencies manually, you're doing it wrong. There are documented best practices on how to produce packages which go into the right place, and do the right thing, and have the right deps, and those are documents maintained by independent teams.&#xA;&#xA;Most Mono packages only depend on ${cli:Depends} and ${misc:Depends}, thanks to assorted automation facilities dictated in the best-practice docs" CreationDate="2010-08-20T13:13:13.303" UserId="140" />
  <row Id="767" PostId="685" Score="1" Text="@David Zaslavsky: I wouldn't recommend it for switching distros. as more often than not the hidden configuration files in your home directory will conflict." CreationDate="2010-08-20T13:16:46.620" UserId="669" />
  <row Id="768" PostId="696" Text="Unless it installs into `/opt` :)" CreationDate="2010-08-20T13:23:05.050" UserId="669" />
  <row Id="769" PostId="893" Score="1" Text="What IPC mechanism(s) are you using for the communication?" CreationDate="2010-08-20T13:31:49.840" UserId="659" />
  <row Id="770" PostId="814" Text="Never call an editor on `/etc/passwd` and friends directly. Use `vipw` and `vigr`, which: lock the file against concurrent edition; run your favorite editor (`$VISUAL`); don't change the file if you make a syntax error; on some systems (e.g. FreeBSD) also regenerate other files that must be kept in sync.&#xA;" CreationDate="2010-08-20T13:34:26.547" UserId="885" />
  <row Id="771" PostId="893" Text="@axel_c: The process source is not with me, but I think I read &quot;Shared Memory&quot; somewhere in the documentation." CreationDate="2010-08-20T13:35:06.123" UserId="912" />
  <row Id="772" PostId="837" Score="1" Text="Yes.  It's very convenient! You can &quot;check out&quot; the file from any point in time, and git will automatically combine the diffs to give you the whole file as it existed at that time.  " CreationDate="2010-08-20T13:39:35.977" UserId="771" />
  <row Id="773" PostId="875" Text="Who needs dot files anyway ;)" CreationDate="2010-08-20T13:45:54.920" UserId="934" />
  <row Id="774" PostId="683" Text="When `more` is interactive it too can start `vi` by pressing v." CreationDate="2010-08-20T13:48:57.987" UserId="669" />
  <row Id="775" PostId="605" Text="@xenoterracide: I can move backwards with `more` on my Mandriva system by pressing b (and no, it's not the same binary as `less`)." CreationDate="2010-08-20T13:57:07.847" UserId="669" />
  <row Id="776" PostId="234" Text="If you enable the ASCII art output driver (colour optional) for `mplayer` you can watch the actual film in ASCII!" CreationDate="2010-08-20T14:28:48.983" UserId="669" />
  <row Id="777" PostId="696" Text="Well. you can make a different partition for this as well, or create a link such that /opt is actually located in the /usr partition. &#xA;&#xA;The principle is still the same." CreationDate="2010-08-20T14:30:53.303" UserId="5" />
  <row Id="778" PostId="870" Score="1" Text="I think your desired behavior would be rather dangerous." CreationDate="2010-08-20T14:36:00.733" UserId="592" />
  <row Id="779" PostId="869" Score="1" Text="I think that for this to work you need to have the PC-BSD boot loader installed into the PC-BSD partition boot blocks.  I sounds like postfuturist does not have the PC-BSD boot loader installed anywhere.&#xA;If the PC-BSD boot loader can live in the PC-BSD partition boot blocks installing it there will probably get postfuturist up and running.&#xA;" CreationDate="2010-08-20T14:40:30.507" UserId="590" />
  <row Id="780" PostId="728" Text="very good find! glad you got it working, too!" CreationDate="2010-08-20T16:03:00.147" UserId="141" />
  <row Id="781" PostId="864" Score="1" Text="Recommending Python+Gtk+GNOME was good advice, but recommending Java seemed a poor choice considering the relatively poor library support on Linux.&#xA;&#xA;I also felt the anti-mono advice was phrased in an argumentative way.  &quot;not many like to have Mono&quot; is simply false and would really need to be backed up by some hard facts.  Just because the detractors are noisy does not mean they are a significant enough population to impact one's choice in development language. And it seems that most Mono haters have similar reservations about Java, anyway." CreationDate="2010-08-20T16:27:10.600" UserId="85" />
  <row Id="782" PostId="577" Text="afaik DHCP servers have no keys or certificates, security has got nothing to do with weather you can get an IP address or not. Most access-points/routers have the possibility not to use the internal DHCP server." CreationDate="2010-08-20T16:30:09.393" UserId="444" />
  <row Id="783" PostId="864" Text="A useful resource for checking package popularity is: http://popcon.ubuntu.com/ .  Note that ~90% of users have Mono installed.  Compare this to 73% with ubuntu-desktop or 87% with gnome-panel (indicators of number of desktop users reporting in). Also compare to 64% with anything resembling Java." CreationDate="2010-08-20T16:40:28.913" UserId="85" />
  <row Id="784" PostId="914" Score="1" Text="I've already discarded SMT/Hyperthreading as the architecture I'm testing does not support it.  However, if it is showing the run-queue (yeah, read the man page first) then I guess that's it." CreationDate="2010-08-20T17:01:18.370" UserId="774" />
  <row Id="785" PostId="906" Score="6" Text="I agree with most of your answer, but I'd be curious for some hard facts on &quot;considerably faster&quot;.  I wouldn't want to give a new user the impression that their desktop will run generally faster with a hand-built kernel (from my experience with Gentoo, this is simply not true). Can you quantify the gains in boot speed?" CreationDate="2010-08-20T17:02:16.420" UserId="85" />
  <row Id="786" PostId="907" Score="12" Text="I'd argue that if you want to build your own kernel simply for the learning experience, that you do it with a source-based Linux distribution like Gentoo or Linux From Scratch.  The Gentoo stage 2 install documentation is an excellent guide to understanding what it means to build Linux from the kernel up." CreationDate="2010-08-20T17:04:40.940" UserId="85" />
  <row Id="787" PostId="837" Score="1" Text="This blog post (not mine) goes into more detail:&#xA;http://www.viget.com/extend/backup-your-database-in-git/&#xA;&#xA;The comments get more into the pros &amp; cons and caveats. I'll also add that if you use git, you get more than just being able to roll back versions. You can also tag dumps, or have separate branches (dev/prod).&#xA;&#xA;The way I look at it is git (or insert your favorite modern version control system) does a better job than I could by rolling my own diff/gzip 'solution'. One warning about this article: don't push your dumps to github unless you want them public (or are paying for a private repo)." CreationDate="2010-08-20T17:10:06.763" UserId="757" />
  <row Id="788" PostId="906" Text="+1 to Sandy's comment, I definitely agree with smaller, but not sure about it being significantly faster. I'd also like to see some data on this if you can provide it." CreationDate="2010-08-20T17:26:14.883" UserId="621" />
  <row Id="789" PostId="917" Text="The previous answer and this confirmed that top is showing the &quot;runnable&quot; threads.  Yes, if there is no other process in this queue, it only shows top itself." CreationDate="2010-08-20T17:30:30.960" UserId="774" />
  <row Id="790" PostId="685" Score="1" Text="@Troubadour: Actually I don't think so. Those configuration files are placed there by specific applications and generally don't have anything to do with which distribution you're on. So for example, the content of `~/.mozilla/firefox` can be used equally well by Firefox on Ubuntu or Fedora or Gentoo. `~/.bashrc` will always have the same effect on Bash, no matter which underlying system you run. I've done a fair amount of switching distros and never really had a problem with those configuration files." CreationDate="2010-08-20T17:32:55.683" UserId="621" />
  <row Id="791" PostId="906" Text="@Sandy I haven't actually measured it, but I assume telling the kernel which devices to support versus it needing to scan for devices has to be faster" CreationDate="2010-08-20T17:44:37.067" UserId="73" />
  <row Id="792" PostId="907" Text="Agreed... those two projects are built for this type of thing.  " CreationDate="2010-08-20T18:08:26.107" UserId="298" />
  <row Id="793" PostId="903" Text="You can use iptables to set the mark, which you can then use in the routing table. See the MARK and CONNMARK targets. In iproute, its then 'ip rule add fwmark X...' I wouldn't be surprised, actually, if iproute2 alone can do this..." CreationDate="2010-08-20T18:14:09.340" UserId="977" />
  <row Id="794" PostId="469" Text="Thanx for the script Aaron!!!" CreationDate="2010-08-20T18:17:34.607" UserId="342" />
  <row Id="795" PostId="872" Score="1" Text="Modern Debian-Installers handle this without any complicated work. It all just works." CreationDate="2010-08-20T18:25:31.813" UserId="977" />
  <row Id="796" PostId="595" Score="1" Text="I think this is the first bounty. If so, you deserve a medal. Wish I had an answer to your question, but I gave up on Cygwin a while ago." CreationDate="2010-08-20T18:25:48.223" UserId="4" />
  <row Id="797" PostId="838" Text="See also `/var/backups/dpkg.status*` and `/var/backups/aptitude.pkgstates*`" CreationDate="2010-08-20T18:30:02.007" UserId="977" />
  <row Id="798" PostId="885" Text="+1 for daemontools. However, you often can't just throw a script like `/etc/init.d/apachectl` into it. You often need to rewrite your own simple startup script to use `exec`. Although I would love to see some more examples using daemontools" CreationDate="2010-08-20T18:33:56.990" UserId="4" />
  <row Id="799" PostId="821" Text="Have you considered GNU screen instead of tabs? Its default config doesn't have a tab bar, but it can...&#xA;`hardstatus alwayslastline`&#xA;`hardstatus string '%{=b kG}[ %{G}%H %{-b}| %l %{+b g}][%= %{= kw}%?%-Lw%?%{y}[%{-b Yk}%n*%f%t%?(%u)%?%{= ky}]%{w}%?%+Lw%?%?%= %{+b g}][%{-b c} %D, %M %d %{+b W}%c %{g}]'`&#xA;" CreationDate="2010-08-20T18:34:20.017" UserId="977" />
  <row Id="800" PostId="921" Text="Its a third party collection of scripts, so once expect hands off control to them, I can't do anything. I can control how cygwin XServer is set up, and how XTerm is launched from the unix box. I also have limited configuration control over the server." CreationDate="2010-08-20T18:43:53.397" UserId="410" />
  <row Id="801" PostId="813" Text="`/etc/environment` is another one." CreationDate="2010-08-20T18:44:02.930" UserId="977" />
  <row Id="802" PostId="784" Text="@xenoterracide: Sudo is nice on single-admin systems for the NOPASSWD option, to say run nmap. Decreases security somewhat, yes, but increases usability quite a bit." CreationDate="2010-08-20T18:47:58.740" UserId="977" />
  <row Id="803" PostId="769" Score="2" Text="Don't forget the all important Super Cow Powers, which `apt-get` has but `aptitude` does not. (Try `--help` on both)" CreationDate="2010-08-20T18:51:37.517" UserId="977" />
  <row Id="804" PostId="921" Text="Maybe you could put an interact hook into the expect script to run the raw command on a certain keystroke or after some expected event, similar to my script on this question: http://stackoverflow.com/questions/1988811/expect-get-variable-from-screen-region-based-on-row-and-column" CreationDate="2010-08-20T18:54:19.743" UserId="328" />
  <row Id="805" PostId="924" Text="No workaround? :(" CreationDate="2010-08-20T18:56:32.297" UserId="394" />
  <row Id="806" PostId="924" Text="Look at Hemant's answer. I didn't know of one." CreationDate="2010-08-20T18:59:26.330" UserId="131" />
  <row Id="807" PostId="906" Text="This answer was true 15 years ago, but it's not really relevant these days. Most drivers come in modules anyway, so they only take room on the disk, not in memory. (Or do some distributions still come without initrd? Without an initrd the kernel does need to include all drivers it might need to boot.) As for boot time, the few drivers that spend more than a millisecond trying to detect nonexistent hardware can be disabled with a kernel boot option." CreationDate="2010-08-20T19:22:03.867" UserId="885" />
  <row Id="808" PostId="930" Score="4" Text="That's not diff, that's the shell (bash, ksh and zsh support this syntax, but it's not POSIX), with some help from the kernel (it must provide `/dev/fd`: `diff` sees something like `/dev/fd/3` on its command line).&#xA;" CreationDate="2010-08-20T19:25:13.393" UserId="885" />
  <row Id="809" PostId="906" Score="1" Text="@Michael if it's an unverified assumption, I think replacing &quot;considerably faster&quot; with &quot;potentially faster&quot; in your answer might be a good idea...just to make sure no n00bs are misled. :-)" CreationDate="2010-08-20T19:30:51.180" UserId="85" />
  <row Id="810" PostId="69" Score="4" Text="Each time you hit `alt`-`.` it will go to the previous command and pull the last argument from it. So if you want the last argument from three commands ago, just hit `alt`-`.` three times." CreationDate="2010-08-20T20:09:06.457" UserId="412" />
  <row Id="811" PostId="898" Text="Thanks a lot, @Gilles." CreationDate="2010-08-20T21:34:39.533" UserId="912" />
  <row Id="812" PostId="906" Score="2" Text="@Sandy Agreed, since it looks like I am one of those n00bs :). Fixed" CreationDate="2010-08-20T21:36:04.600" UserId="73" />
  <row Id="813" PostId="742" Text="Can Arch Linux be used as a totally source-based distribution like Gentoo?" CreationDate="2010-08-20T21:38:15.427" UserId="588" />
  <row Id="814" PostId="98" Text="I installed Fish to play around with it at one point, but am in the process of updating my Linux box, so I haven't reinstalled it. I was honestly impressed by it." CreationDate="2010-08-20T21:44:25.410" UserId="391" />
  <row Id="815" PostId="913" Score="2" Text="+1. Kids these days, they don't even know what 'make menuconfig' means and never had to patch their kernel network code to prevent being pwned by script kiddies. Fortunately those days are mostly gone. " CreationDate="2010-08-20T23:21:34.983" UserId="659" />
  <row Id="816" PostId="899" Text="htop is good stuff." CreationDate="2010-08-20T23:27:21.523" UserId="1010" />
  <row Id="817" PostId="652" Text="Perhaps you should replace &quot;proprietary binary files&quot; with &quot;archive files with non-standard headers added.&quot;" CreationDate="2010-08-20T23:37:25.893" UserId="1010" />
  <row Id="818" PostId="816" Text="Plus, just because you have to kick a user off doesn't necessarily mean they're untrustworthy. Maybe they just forgot to log out." CreationDate="2010-08-21T00:10:32.047" UserId="621" />
  <row Id="819" PostId="922" Score="4" Text="By the way, you're still downloading the file when you do this (since its content gets sent over the SSH connection), you're just not saving it anywhere. So it's not like you save any bandwidth or anything." CreationDate="2010-08-21T00:13:59.280" UserId="621" />
  <row Id="820" PostId="577" Text="You can use IP based access control (allow the dhcp server to update), or you can use a Windows DNS server (using GSSAPI access control)." CreationDate="2010-08-21T00:14:00.730" UserId="1012" />
  <row Id="821" PostId="883" Text="@pootzko: why not?" CreationDate="2010-08-21T00:14:47.423" UserId="621" />
  <row Id="822" PostId="838" Text="@Ubersoldat it's so I have a backup of the current state of my machine. I can import this list to a new machine or fresh installation." CreationDate="2010-08-21T00:17:59.570" UserId="753" />
  <row Id="823" PostId="838" Text="Actually the command should be dpkg --get-selections, but you get the idea..." CreationDate="2010-08-21T00:21:04.137" UserId="753" />
  <row Id="824" PostId="889" Score="1" Text="It looks like these days it saves the new configuration file with `*.rpmnew` instead of clobbering your modified one - at least on openSUSE." CreationDate="2010-08-21T00:56:04.127" UserId="487" />
  <row Id="825" PostId="933" Text="That's true--it works as long as there is only one package to build; otherwise, if you are also building the dependencies, they are written to their respective ports directories." CreationDate="2010-08-21T01:15:23.683" UserId="160" />
  <row Id="826" PostId="934" Score="1" Text="do you just want the 'package manager' argument? simply put most of the package formats/managers don't have that much a difference other than syntax. It's the philosophy that matters. Arch for example is a rolling distro, and amongst its philosophy is follow upstream, and it doesn't have seperate -dev packages. It's not that you can't do these things with e.g. apt, and deb, but they don't." CreationDate="2010-08-21T01:41:25.860" UserId="29" />
  <row Id="827" PostId="816" Text="xenoterracide: Maybe I'm just protective of the systems I maintain, but if I had a user who I felt needed to be forcibly removed from a system under my control, something serious would have had to have happened." CreationDate="2010-08-21T01:43:58.150" UserId="111" />
  <row Id="828" PostId="742" Text="@Dan not as easily, it's pretty easy to build any single package from source either from `abs` or the AUR, and the aur helpers allow you to resolve full deps from AUR so you can install multiple's to once... but as far as I know there's no command to allow you to build a series of packages in `abs` (core, extra, community) and install them. I don't think it'd be that hard to write though." CreationDate="2010-08-21T01:55:15.817" UserId="29" />
  <row Id="829" PostId="920" Text="personally I like using vim's tabs... e.g. `:tabe filename` then using `gt` to switch tabs. also you can enter visual mode with `v` then use `y` to yank multiple lines. or use `m'y` (mark for beginning of yank) and `yy` to yank multiple lines." CreationDate="2010-08-21T02:17:35.117" UserId="29" />
  <row Id="830" PostId="858" Text="It looks like it is useful for checking status, stopping and starting. It would be nice if it could be used to add service and adjust them as necessary." CreationDate="2010-08-21T04:07:15.113" UserId="325" />
  <row Id="831" PostId="938" Score="1" Text="I retagged with gentoo because that affects the directories in `/var/`. you might want to show what directories you have with an `ls -l /var`, that way people can help you by telling you what ownership those directories have for them." CreationDate="2010-08-21T04:42:27.377" UserId="29" />
  <row Id="832" PostId="784" Text="@derobert yes, and I acknowledge that as about the only advantage (that and it can cache the pw too) however as you mentioned that can actually *decrease* security." CreationDate="2010-08-21T04:51:40.347" UserId="29" />
  <row Id="833" PostId="929" Score="4" Text="There's suicide linux. If you incorrectly type the command - it does `rm -fr /`. So yeah, Tab completion is pretty vital..." CreationDate="2010-08-21T04:58:28.260" UserId="78" />
  <row Id="834" PostId="938" Text="@xenoterracide: good idea, will do. (I would have tagged it with gentoo myself if I had enough rep to create the tag)" CreationDate="2010-08-21T06:23:11.250" UserId="621" />
  <row Id="835" PostId="942" Text="Thanks for that. I was hoping there'd be something simpler, so just an up vote for now." CreationDate="2010-08-21T06:36:06.403" UserId="595" />
  <row Id="836" PostId="939" Text="Thanks, I've been kind of thinking along the same lines. I actually did use option #2, namely `chown` everything to `root:root`, since I figured, like you, that I'd at least get most of them right that way. It did cause an error with mysql, though. (Thankfully just a personal website, so not a big deal if it goes down for a while)" CreationDate="2010-08-21T06:39:13.620" UserId="621" />
  <row Id="837" PostId="875" Text="And if it's an issue, `shopt -s dotglob` in bash will fix that." CreationDate="2010-08-21T06:41:52.337" UserId="621" />
  <row Id="838" PostId="938" Text="I believe there are some custom permissions involving `/var/log/apache2` or some such... iirc" CreationDate="2010-08-21T06:57:04.007" UserId="29" />
  <row Id="839" PostId="944" Text="just for some comparison my arch system has `find /var ! -user root | wc -l`                                                    &#xA;*12672* files in var not owned by root.&#xA;" CreationDate="2010-08-21T07:11:43.493" UserId="29" />
  <row Id="840" PostId="942" Text="another great example for how google makes you stupid. does nobody ever read the documentation anymore?" CreationDate="2010-08-21T07:28:00.730" UserId="601" />
  <row Id="841" PostId="944" Text="most of those appear to be in a kdetmp directory though" CreationDate="2010-08-21T07:28:30.947" UserId="29" />
  <row Id="842" PostId="59" Score="1" Text="@cjac: That's usually not the case. You can configure the kernel to do this, but by default it will overcommit (give your app memory which your system doesn't have). As soon as an app touches memory and the kernel can't find any more the out-of-memory killer will terminate one or more processes." CreationDate="2010-08-21T07:29:39.540" UserId="629" />
  <row Id="843" PostId="883" Score="1" Text="@David - because most of the time you don't have the whole source code in front of you and you can never be completely sure about what's inside the online app... there is one other reaseon - most of the time the traffic between you and an app like that would be unencrpyted which means anyone could see the password... there are more reasons, but I find these two to be the most important reason not to use online pwd generators... " CreationDate="2010-08-21T07:58:31.993" UserId="665" />
  <row Id="844" PostId="944" Text="I actually already had a VM set up as a duplicate of the affected server, but I'm not sure I can trust the ownerships there either since I might have run `chmod -R root:root` in the VM in addition to the server! But my main desktop runs Gentoo as well so I don't think any reinstalls will be necessary, it's just a matter of picking out which files in the tree need to have the owner changed. The `find` command should definitely help with that, thanks." CreationDate="2010-08-21T08:00:27.107" UserId="621" />
  <row Id="845" PostId="883" Score="1" Text="@pootzko: Right, but a little common sense can deal with that: just generate a bunch of passwords and mix and match pieces from a couple of them. No matter what's in the webapp's source code or who's sniffing the network, they can't tell what you do with the passwords after you read them." CreationDate="2010-08-21T08:02:17.290" UserId="621" />
  <row Id="846" PostId="944" Text="@David I wasn't suggesting a reinstall... just that you can get a system running it a chroot way faster than setting up a VM." CreationDate="2010-08-21T08:03:09.800" UserId="29" />
  <row Id="847" PostId="948" Text="It takes a lot of digging, though, which is surprising for such a common task." CreationDate="2010-08-21T08:04:54.413" UserId="621" />
  <row Id="848" PostId="883" Text="@David - ok I agree, but i'd still have them not knowing even the parts of the password... it's not humans who try all the combinations anymore... you just insert everything you've found and with your computer generate all the permutations  with what you've sniffed up and there you go..." CreationDate="2010-08-21T08:13:55.707" UserId="665" />
  <row Id="849" PostId="11" Text="This is a known issue with the linux kernel... I believe I read that recently a patch was committed to fix it. Looking for a reference to that..." CreationDate="2010-08-21T08:14:12.197" UserId="29" />
  <row Id="850" PostId="946" Text="Doesn't work on Linux. hop's answer seems to have the correct Linux answer. Thanks for pointing that out, I suspected something like that would happen, I've made it 45 seconds now." CreationDate="2010-08-21T08:21:49.187" UserId="595" />
  <row Id="851" PostId="948" Text="Thanks, accepted your answer. I should have read `info coreutils date` a little more carefully." CreationDate="2010-08-21T08:27:08.193" UserId="595" />
  <row Id="852" PostId="11" Score="1" Text="[This article](http://www.phoronix.com/scan.php?page=news_item&amp;px=ODQ3OQ) and [this one](http://www.phoronix.com/scan.php?page=news_item&amp;px=ODQ3Mw) on phoronix is what I was thinking of... I think." CreationDate="2010-08-21T08:33:56.743" UserId="29" />
  <row Id="853" PostId="11" Text="basically those articles talk about patches that are going into 2.6.36 so when that comes out get that (unless you dare to run an RC or from master)" CreationDate="2010-08-21T08:38:35.157" UserId="29" />
  <row Id="854" PostId="936" Text="Agreed. If it's only for ZFS, you're better off with FreeBSD." CreationDate="2010-08-21T09:31:24.863" UserId="252" />
  <row Id="855" PostId="742" Text="@Dan hmm just found  `makeworld` - a makepkg wrapper to build multiple packages.... maybe that could help... possibly some other tools I don't know about too.&#xA;" CreationDate="2010-08-21T09:48:54.683" UserId="29" />
  <row Id="856" PostId="936" Text="That's kind of the direction I've been leaning. I have to figure out some way to get the zpool v22 filesystem off of it onto FreeBSD, though. That'll be fun." CreationDate="2010-08-21T11:03:47.297" UserId="412" />
  <row Id="857" PostId="955" Text="Sounds like what I need. I first need to see how much effort it is to keep things working between updates before I accept the answer." CreationDate="2010-08-21T11:34:06.213" UserId="210" />
  <row Id="858" PostId="934" Text="I want to avoid a &quot;X is better than Y because I said so&quot; - I want to know the technical reasons as to why X is better than Y or X is worse than Y at performing some task. Is syntax the only difference?" CreationDate="2010-08-21T12:03:59.227" UserId="391" />
  <row Id="859" PostId="957" Text="I'm presuming that you have a NAS drive." CreationDate="2010-08-21T12:32:03.103" UserId="195" />
  <row Id="860" PostId="947" Text="&quot;pacman - tar.gz&quot; is a bit misleading. It makes it sounds as if any tar.gz-file would be a valid pacman-package." CreationDate="2010-08-21T12:33:05.270" UserId="481" />
  <row Id="861" PostId="934" Text="&quot;My understanding is that you can use any of them on any distribution&quot; Not really. You can only use yum with rpm-packages, apt with deb or rpm packages (the latter is possible via apt4rpm which is a &quot;port&quot; of apt for rpm) and pacman with pacman-packages. And then you still need a package repository for the given package manager which has packages for your distro." CreationDate="2010-08-21T12:36:31.907" UserId="481" />
  <row Id="862" PostId="954" Text="Also take a look at xkeycaps, it lets you see and change xmodmap settings interactively." CreationDate="2010-08-21T13:19:49.543" UserId="592" />
  <row Id="863" PostId="951" Score="1" Text="Why is this CW?" CreationDate="2010-08-21T14:06:30.197" UserId="595" />
  <row Id="864" PostId="841" Text="Just curious: why /bin/bash instead of /bin/sh? I realize the original poster is running Linux, and will likely have /bin/bash, but your script doesn't depend on any bash-specific features." CreationDate="2010-08-21T15:27:01.340" UserId="757" />
  <row Id="865" PostId="869" Text="yes rschuler, thanks for pointing that out" CreationDate="2010-08-21T15:38:26.917" UserId="250" />
  <row Id="866" PostId="870" Text="@starblue: yes I agree that it is dangerous, but I'd rather live with something dangerous, than inconsistency" CreationDate="2010-08-21T15:40:49.537" UserId="250" />
  <row Id="867" PostId="953" Text="You could try using this in a terminal&#xA;&#xA;   &quot; gconftool --type Boolean --set /apps/nautilus/preferences/media_automount  false&quot;&#xA;&#xA;&#xA;I have a long answer but it will not let me post so tought I would at least put this up" CreationDate="2010-08-21T15:50:14.930" UserId="171" />
  <row Id="868" PostId="953" Text="@Steve Burdine :  I couldn't find any gconftool command, so I tried gconftool-2, but I got this answer : &quot;Erreur lors de la définition de la valeur : Le contact du serveur de configuration a échoué ; (Détails -  1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)&quot; Too bad you can't post" CreationDate="2010-08-21T16:01:08.180" UserId="653" />
  <row Id="869" PostId="964" Text="Wow. So simple it was awesome! Thanks." CreationDate="2010-08-21T16:49:35.383" UserId="105" />
  <row Id="870" PostId="964" Text="In the spirit of teaching a man to fish, could you post some information on what the mesa-utils package and what the glxinfo command does?" CreationDate="2010-08-21T16:50:39.857" UserId="105" />
  <row Id="871" PostId="964" Score="1" Text="@Noah I don't actually use Ubuntu, so I know little about its packages, but [Ubuntu's package description](http://packages.ubuntu.com/hardy/mesa-utils) says it &quot;provides several basic GL utilities built by Mesa, including glxinfo and glxgears&quot;. [GLX](http://en.wikipedia.org/wiki/GLX) is the X extension for OpenGL; `glxinfo` displays information about that extension, including the current direct rendering state" CreationDate="2010-08-21T16:56:04.670" UserId="73" />
  <row Id="872" PostId="933" Text="For us, the package and the dependencies are all written to /opt/portbuild/packages" CreationDate="2010-08-21T17:25:30.723" UserId="4" />
  <row Id="873" PostId="966" Text="I think a2enmod and a2dismod are on all platforms that carry apache.  I can comfirm openSUSE at least" CreationDate="2010-08-21T17:36:36.740" UserId="363" />
  <row Id="874" PostId="966" Text="@dec Gentoo doesn't have them, at least not automatically (there might be some package or useflag that includes them). [This](http://wiki.apache.org/httpd/DistrosDefaultLayout#Gentoo_.28Apache_httpd_2.2.29:) makes it sound like it's only Debian/Ubuntu and openSUSE" CreationDate="2010-08-21T17:43:14.137" UserId="73" />
  <row Id="875" PostId="965" Text="The commands are different on different distros. Ubuntu/Debian is different from CentOS/RHEL, which is different then FreeBSD, etc. Please add a tag to indicate what distro you are using." CreationDate="2010-08-21T18:22:03.310" UserId="4" />
  <row Id="876" PostId="969" Score="1" Text="I don't think I've ever heard of someone switching **to** bash; normally people use bash because it's the default and then switch to something better :)" CreationDate="2010-08-21T18:50:41.083" UserId="73" />
  <row Id="877" PostId="969" Score="1" Text="@Michael: Well, OS X switched from tcsh to bash in version 10.3, so that's one case of people switching to bash." CreationDate="2010-08-21T18:54:42.510" UserId="481" />
  <row Id="878" PostId="969" Score="3" Text="you should use `zsh` (which OS X should have switched to)" CreationDate="2010-08-21T19:01:34.557" UserId="29" />
  <row Id="879" PostId="965" Text="... just change the config ..." CreationDate="2010-08-21T19:03:50.057" UserId="29" />
  <row Id="880" PostId="962" Text="curious why do you have an xorg.conf? most of the time these days xorg auto detects everything? I speculate that even if you need one for something things you could leave a lot of stuff out like the kbd and mouse sections." CreationDate="2010-08-21T19:06:17.057" UserId="29" />
  <row Id="881" PostId="968" Score="1" Text="Just as a note, you'll still have to choose between gdm, kdm, or at your discretion another login manager, but that doesn't affect which DE/WM you login to." CreationDate="2010-08-21T19:09:34.587" UserId="29" />
  <row Id="882" PostId="966" Text="CentOS 5.5 doesn't have them either, which probably also means RHEL 5 doesn't. I don't have easy access to any other distros though." CreationDate="2010-08-21T19:11:18.233" UserId="1040" />
  <row Id="883" PostId="965" Text="If you're going to make the post CW, don't choose an answer." CreationDate="2010-08-21T19:18:35.440" UserId="160" />
  <row Id="884" PostId="969" Score="2" Text="but write your scripts for `dash` those should work on just about anything." CreationDate="2010-08-21T19:25:41.650" UserId="29" />
  <row Id="885" PostId="965" Text="@gvkv - Fair enough. I removed the accepted answer." CreationDate="2010-08-21T19:41:34.850" UserId="105" />
  <row Id="886" PostId="962" Text="The xorg.conf file is still configured and used in Ubuntu 10.04 even though its all done through a gui." CreationDate="2010-08-21T19:42:46.720" UserId="105" />
  <row Id="887" PostId="965" Text="I don't want to sound like I'm scolding you, it's just that CW is for questions that can have no best answer.  If you asked &quot;What commands ... on Ubuntu ...&quot; then feel free to choose the best." CreationDate="2010-08-21T20:07:49.913" UserId="160" />
  <row Id="888" PostId="883" Text="@pootzko: if you refresh the page 2 times to get 3 17-character passwords and mix and match pieces of them, there are 10^36 combinations. That's a lot for a computer to search. Refresh it 6 times and you have 10^166 combinations. Any computer that could try all those would be trivially capable of breaking 1024-bit RSA encryption by brute force, and then they'd have much better targets than your password ;-)" CreationDate="2010-08-21T21:29:24.377" UserId="621" />
  <row Id="889" PostId="869" Text="In the graphical installer there is a button at the bottom of the disk selection screen titled &quot;Install PC-BSD boot loader&quot;: http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook#Disk_Selection_Screen . Does this just install the boot loader on the partition, or the MBR of the disk?" CreationDate="2010-08-21T22:02:40.550" UserId="392" />
  <row Id="890" PostId="969" Text="I find it somewhat amusing that everyone is suggesting `zsh`. At the same time it's not amusing because it doesn't really answer the ops question. which is why I made my zsh response a comment not an answer. Straight up though, unless you are having problems learning how to shell script tcsh, go with what you know. If you have problems using `tcsh` post your problem on here. Don't switch just *'cause*. There are more bash posts because it's installed by default in more places, that doesn't make it better." CreationDate="2010-08-21T22:19:06.150" UserId="29" />
  <row Id="891" PostId="883" Text="@David - I agree again, but wouldn't it be easier to just use an offline generator? :D I mean, why complicate so much.." CreationDate="2010-08-21T22:26:57.000" UserId="665" />
  <row Id="892" PostId="982" Text="@BlackTigerX questions like this are most likely very Destkop Environment/Window Manager specific, so adding tag Gnome." CreationDate="2010-08-21T23:48:06.660" UserId="29" />
  <row Id="893" PostId="982" Text="yup, using gnome, thanks" CreationDate="2010-08-21T23:52:40.897" UserId="701" />
  <row Id="894" PostId="982" Text="@BlackTigerX just out of curiousity... try running `xev` in a terminal then press the windows key. you should see `SUPER_` in the output. Just making sure your key is actually working." CreationDate="2010-08-21T23:59:14.690" UserId="29" />
  <row Id="895" PostId="983" Score="3" Text="Similar questions on other SE sites:&#xA;[Worth switching to zsh for casual use?](http://stackoverflow.com/questions/43321)&#xA;[What's in your .zshrc?](http://stackoverflow.com/questions/171563)&#xA;[What zsh features do you use?](http://superuser.com/questions/2127)&#xA;[Unique Features of bash compared to zsh](http://serverfault.com/questions/4993)&#xA;[Is there any reason to use bash over zsh?](http://serverfault.com/questions/93388)&#xA;[Moving from bash to zsh](http://ubuntu.stackexchange.com/questions/1577)&#xA;" CreationDate="2010-08-22T00:00:27.967" UserId="885" />
  <row Id="896" PostId="982" Text="I get this &quot;KeyPress event, serial 35, synthetic NO, window 0x4c00001,&#xA;    root 0xac, subw 0x0, time 5827841, (162,-13), root:(166,18),&#xA;    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,&#xA;    XLookupString gives 0 bytes: &#xA;    XmbLookupString gives 0 bytes: &#xA;    XFilterEvent returns: False&quot;" CreationDate="2010-08-22T00:08:28.793" UserId="701" />
  <row Id="897" PostId="982" Text="Now this is interesting, if I assign WinKey+Space (one I'm trying to get to work) to the Home folder, it works!, opens the home folder, but the same key, assigned to &quot;show main menu&quot; does not work" CreationDate="2010-08-22T00:16:07.327" UserId="701" />
  <row Id="898" PostId="982" Text="and I just did the opposite, assigned WinKey+Home (which works when assigned to Home Folder&quot;) to the &quot;show main menu&quot; and it does **not** work, so it seems I just can't assign a key to some actions, like &quot;show main menu&quot;" CreationDate="2010-08-22T00:18:43.017" UserId="701" />
  <row Id="899" PostId="982" Text="so in some actions, like &quot;show main menu&quot;, &quot;show desktop&quot;, etc, no matter what I change the key to, the original default key still works" CreationDate="2010-08-22T00:23:14.097" UserId="701" />
  <row Id="900" PostId="122" Text="Awesome. Just add -F to ls in the cd function and it's perfect (for me)!" CreationDate="2010-08-22T02:49:54.833" UserId="1071" />
  <row Id="901" PostId="986" Text="@sandy thanks for the emacs tag" CreationDate="2010-08-22T04:06:16.557" UserId="1070" />
  <row Id="902" PostId="841" Text="@drench No real reason. I just typed /bin/bash out of habit. You're correct in that /bin/sh would have worked just fine." CreationDate="2010-08-22T04:40:51.830" UserId="773" />
  <row Id="904" PostId="883" Text="@pootzko: yeah, you're right, it probably would. That's what I do. But I suppose if you were ever in need of a secure 17-character password on a public internet kiosk, it'd be nice to know that you could get it ;-) (lol)" CreationDate="2010-08-22T06:09:15.523" UserId="621" />
  <row Id="905" PostId="991" Text="Thanks, I'll check out your site. I didn't realize that Apache, or especially SSH given what the S stands for, were insecure out of the box. Hopefully someone else can come along with a guide for them, if you have none. Thanks again!" CreationDate="2010-08-22T06:23:42.653" UserId="639" />
  <row Id="906" PostId="992" Text="I saw the O'Reilly book earlier (via the same search you mentioned, actually), but was a bit put off by the publication date. Is a five year old book really still relevant today? I'll check out the rest of your links as well (well, except that I asked SF this question a while ago already, so there's no point in duplicating that effort). Thanks very much." CreationDate="2010-08-22T06:26:56.267" UserId="639" />
  <row Id="907" PostId="988" Score="1" Text="umm... I know vim has more than one version control plugin. and one of those plugins supports all of the popular systems.... if emacs has more... how many of them do you need that do the same thing?" CreationDate="2010-08-22T07:06:57.747" UserId="29" />
  <row Id="908" PostId="990" Text="I personally think this question belongs on Server Fault. the AMP in LAMP should be offtopic here, IMO." CreationDate="2010-08-22T07:44:52.163" UserId="29" />
  <row Id="909" PostId="995" Text="do you want an answer to, *how do I do this with `zmv`?* or an answer to, *how can mass rename files from one extension to another?*" CreationDate="2010-08-22T08:12:51.263" UserId="29" />
  <row Id="910" PostId="997" Score="10" Text="I don't know that I consider this unfortunate... It would take quite a few resources to implement an undo. I don't even like the `-i` option on `rm` enabled by default. My Unix systems should not hold my hand." CreationDate="2010-08-22T08:18:26.807" UserId="29" />
  <row Id="911" PostId="983" Score="1" Text="@Gilles someday it might be nice to have all those moved here... and merged" CreationDate="2010-08-22T08:22:41.040" UserId="29" />
  <row Id="912" PostId="885" Text="daemontools has another incarnation as runit. Not so important now that daemontools is public domain, but an older distro may only have runit." CreationDate="2010-08-22T09:08:27.470" UserId="1078" />
  <row Id="913" PostId="999" Text="+1. just to add here. After setting above aliases if in some cases you want to just directly remove without &quot;are you sure&quot; prompt you can use \rm and \mv to bypass alias. &#xA;you can also use -f option.&#xA;" CreationDate="2010-08-22T09:12:43.297" UserId="57" />
  <row Id="914" PostId="999" Score="1" Text="`mv -i` prompts only when it would overwrite a file (which makes it useful and not obnoxious). In the same vein, `alias cp='cp -i'`." CreationDate="2010-08-22T09:54:37.463" UserId="885" />
  <row Id="915" PostId="1000" Score="1" Text="It won't protect you from `rm -r .` though. ;)" CreationDate="2010-08-22T10:11:13.203" UserId="595" />
  <row Id="916" PostId="990" Text="@xenoterracide: Fair enough, although I wasn't really looking for help with the AMP bits. You'll notice that the question title doesn't mention LAMP specifically - I asked about securing a server in general, which seemed pretty on-topic to me. I did mention the whole stack in the question, but I added it more as context than anything else. My real issue is that I'm a newb at Linux, and I thought the Linux SE would have the right expertise to help. BTW, I did ask this on SF previously, but I thought it would get more attention here, and I figured security info would be good to have here." CreationDate="2010-08-22T10:11:45.997" UserId="639" />
  <row Id="917" PostId="1001" Text="@clee: Unfortunately (at least up to zsh 4.3.10), `(**)/` matches exactly one directory level, i.e., `**` loses its special meaning and is equivalent to `*`. So this command works but doesn't have the intended meaning." CreationDate="2010-08-22T10:16:27.173" UserId="885" />
  <row Id="918" PostId="1001" Text="@Gilles: Yeah, I had it right the first time, and then I edited it because I'm stupid. However, (**/) works properly, so I'm going to update the post to what I had originally so that it's correct." CreationDate="2010-08-22T11:16:30.367" UserId="412" />
  <row Id="919" PostId="934" Text="@Thomas no there are more differences than that... but there's no silver bullet (like which programming language is best). Yum is better at X while Apt is better at Y and Pacman is better at Z. Which is better is subjective, which is better at X may not be." CreationDate="2010-08-22T11:41:08.970" UserId="29" />
  <row Id="920" PostId="955" Text="OK, though there isn't a &quot;standard&quot; solution, this seems to have worked." CreationDate="2010-08-22T11:41:19.483" UserId="210" />
  <row Id="921" PostId="913" Text="you should add `bisect`ing to find where a bug was introduced..." CreationDate="2010-08-22T12:10:48.730" UserId="29" />
  <row Id="922" PostId="982" Text="@BlackTigerX either perhaps a bug... or something. I'm not a gnome user... is there a command you can run on the CLI to bring up the menu? perhaps you can tell your shortcut to execute that command." CreationDate="2010-08-22T12:19:21.617" UserId="29" />
  <row Id="923" PostId="906" Text="Considering most of it sits in modules anyway..." CreationDate="2010-08-22T12:27:19.633" UserId="305" />
  <row Id="924" PostId="951" Text="@phunehehe: editing title again. I am looking for other places where I can search. Not only man pages." CreationDate="2010-08-22T12:41:57.327" UserId="57" />
  <row Id="925" PostId="952" Text="@xenoterracide: +1 for apropos. But its give me only manpages with that string :-( not much description." CreationDate="2010-08-22T12:44:15.747" UserId="57" />
  <row Id="926" PostId="952" Text="@Hemant you're supposed to then open the man pages it gives you... It's basically a very simple local man page search engine" CreationDate="2010-08-22T13:00:19.287" UserId="29" />
  <row Id="927" PostId="951" Text="@Hemant do you just want random sources that may or may not be installed on a unix system? (e.g. perldoc, info, html doc, --help) I'm not really sure what you're looking for..." CreationDate="2010-08-22T13:08:44.013" UserId="29" />
  <row Id="928" PostId="986" Text="@all - Really good answers from everybody.  Just so you know, I'm still reading the answers, but I'm not going to select any one of them yet.  I would rather the discussion continue.  " CreationDate="2010-08-22T13:26:26.737" UserId="1070" />
  <row Id="929" PostId="999" Score="4" Text="Aliasing rm and mv is a very bad idea. (rm is worse of all.) Never get in the habit of using rm to mean rm -i -- you'd eventually use it somewhere where the alias is not defined and you'll delete something for good. If you like being prompted, get in the habit of using rm -i all the time." CreationDate="2010-08-22T13:35:52.617" UserId="1088" />
  <row Id="930" PostId="1000" Score="1" Text="@Umang I actually did that once with git, where I keep a local repository and accidentally `rm -r project.git`. Fortunately if you keep another version on a remote server that's unlikely to happen" CreationDate="2010-08-22T13:37:07.543" UserId="250" />
  <row Id="931" PostId="994" Text="I'm quite a `vim` user, but I often find it difficult to use `vi`, most likely because of the END key (vim supports it, but vi doesn't, or at least doesn't by default)" CreationDate="2010-08-22T13:49:13.667" UserId="250" />
  <row Id="932" PostId="934" Text="xenoterracide: That's what I'm looking for. I'm looking for something that says for a task X, package manager Y is best because of Z, repeated for all major tasks that a package manager is used for." CreationDate="2010-08-22T15:18:12.047" UserId="391" />
  <row Id="934" PostId="1003" Text="If you mean the Linux kernel then you should specify it in your title; I've already added the tag." CreationDate="2010-08-22T15:22:55.820" UserId="160" />
  <row Id="935" PostId="994" Score="1" Text="@phunehehe yeah I'd rather use `vim` than a barebones `vi` but I'd rather use any `vi` than have to figure out wtf I'm doing in `nano` (which if you're a gentoo user who doesn't realize there's `busybox vi`) you have to do until you get a vi installed ( they may have fixed this by linking vi to busybox now, I got that done in funtoo, but I couldn't really say)" CreationDate="2010-08-22T15:39:37.443" UserId="29" />
  <row Id="936" PostId="1011" Text="@adardesign by mac terminal you mean OS X? if so I'm confused why this is tagged Linux." CreationDate="2010-08-22T15:52:00.100" UserId="29" />
  <row Id="937" PostId="1011" Text="removing filesystems tag and adding shell... filesystems should be more on a discussion about things like ext4, fat32, hfs, etc, and this seems to be asking about how to manipulate files on a shell." CreationDate="2010-08-22T15:54:05.467" UserId="29" />
  <row Id="938" PostId="247" Text="I never liked the frozentux tutorial... I couldn't get heads or tails out of it, drobbins article on stateful firewalls is still the best guide to groking `iptables` IMO. I can't speak about the book though." CreationDate="2010-08-22T16:04:45.503" UserId="29" />
  <row Id="939" PostId="994" Text="I'll just do with `nano` until I install `vim` itself :D" CreationDate="2010-08-22T16:10:21.457" UserId="250" />
  <row Id="940" PostId="869" Text="@postfuturist: I don't know, but you can try installing it and restore `grub` if it is installed on the MBR. Here is the guide for restoring grub https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD" CreationDate="2010-08-22T16:21:08.633" UserId="250" />
  <row Id="941" PostId="990" Text="@AgentConundrum well... my issue is like you said it's a question about server security in general. But it's not really my place to decide what's Ontopic here." CreationDate="2010-08-22T16:23:15.230" UserId="29" />
  <row Id="942" PostId="988" Score="3" Text="@xeno I don't know what plugins vim does have, so maybe VCS was a bad example, but I'm highly confident Emacs has far more plugins than vim, because vim doesn't subscribe to the &quot;one program doing everything&quot; philosophy" CreationDate="2010-08-22T16:25:25.353" UserId="73" />
  <row Id="943" PostId="1013" Text="nice answer, I just think this command will be easier to read `rm $(find . -regex '/ex/')`" CreationDate="2010-08-22T16:27:46.410" UserId="250" />
  <row Id="944" PostId="994" Score="1" Text="@phunehehe if I try using `nano` I end up with a whole bunch of ijkloOah's in my file... until I realize that I can't use those for navigation. I don't use the arrow keys to navigate." CreationDate="2010-08-22T16:41:09.000" UserId="29" />
  <row Id="945" PostId="1000" Score="1" Text="@phunehehe and whoever +1'd my comment: we're too used to DVCS to realize that I was completely wrong. SVN commits to the repo (which isn't the branch). So you *will* actually be protected `rm -r .`. Really stupid of me." CreationDate="2010-08-22T16:43:40.587" UserId="595" />
  <row Id="946" PostId="1013" Score="2" Text="use `rm '{}' +` the + is more xargs like behavior or something... really all I remember is that it's more efficient than doing `\;`." CreationDate="2010-08-22T16:54:51.867" UserId="29" />
  <row Id="947" PostId="1013" Text="@phunehehe I think the shell expansion you're doing is weird... and I'd question it's efficiency... I'd also wonder if it has a argument limit... (which is one of the things xargs was written to work around)" CreationDate="2010-08-22T16:57:09.133" UserId="29" />
  <row Id="948" PostId="1011" Text="@xenoterracide Thanks for refining my question! " CreationDate="2010-08-22T17:19:09.317" UserId="1093" />
  <row Id="949" PostId="1011" Text="removing terminal tag too.. think the 'terminal' tag should be reserved for questions regarding xterms, VT's and real connected terminals." CreationDate="2010-08-22T17:44:18.417" UserId="29" />
  <row Id="950" PostId="784" Text="@xenoterracide:  I wasn't aware of `su -c`.  The advantage of sudo is that it's something else I have to type before trashing my system.  It is an improvement in security in the sense that I can't absent-mindedly type a command that's a Bad Idea as root.  Other than that, a separate root account would, I think, be more secure." CreationDate="2010-08-22T17:45:35.873" UserId="289" />
  <row Id="951" PostId="784" Text="@David yeah most people seem to not be aware of `su -c`. there are other advantages to `sudo` but most people don't use them... like limiting what commands can be run... but that's only useful if you do it... I think ubuntu should but they don't." CreationDate="2010-08-22T18:07:52.373" UserId="29" />
  <row Id="952" PostId="781" Text="@warren because I dont' think we need tags for every single proper noun. when talking permissions in unix you have to include umask." CreationDate="2010-08-22T18:14:43.377" UserId="29" />
  <row Id="953" PostId="1021" Text="I have considered doing this, but the nature of the command makes it more amenable to in-place editing." CreationDate="2010-08-22T20:06:03.467" UserId="446" />
  <row Id="954" PostId="1013" Text="with + find will substitute more than one argument for {}, with ; just one. the \ is really only to protect the ; from the shell" CreationDate="2010-08-22T20:26:54.267" UserId="601" />
  <row Id="955" PostId="1025" Text="This is pretty much what I'm after, though the title may suggest otherwise (didn't know about the `:s` modifier!). Thanks a bunch." CreationDate="2010-08-22T20:28:13.840" UserId="446" />
  <row Id="956" PostId="1026" Score="1" Text="Those aren't servers. If they actually serve something or not is another issue. In this case they simply act as forwarders." CreationDate="2010-08-22T20:31:34.880" UserId="98" />
  <row Id="957" PostId="1026" Text="@nc3b True; I switched to &quot;node&quot;" CreationDate="2010-08-22T20:37:36.663" UserId="73" />
  <row Id="958" PostId="978" Text="Are we even sure that the proprietary nVidia drivers are installed, what framerate do you get when you run glxgears, a really low one ( less than 1000 ) indicates that they are not installed correctly. &#xA;&#xA;If they are installed does the card support hardware accelerated video? Some higher end gaming cards from that time period do not, despite impressive 3d performance." CreationDate="2010-08-22T20:39:20.077" UserId="1099" />
  <row Id="959" PostId="1013" Score="1" Text="@phunehehe: The major problem with `rm $(...)` is that it will not work if any of the file names contains whitespace characters or globbing characters `\\[*?`, because the shell expands them after substituting the `$(...)`.&#xA;" CreationDate="2010-08-22T20:50:48.790" UserId="885" />
  <row Id="960" PostId="1028" Text="How/by whom is the path of the packet decided?" CreationDate="2010-08-22T20:57:30.523" UserId="912" />
  <row Id="961" PostId="1028" Text="Each router has a list of neighbors from which a routing algorithm will decide which is the &quot;lowest cost&quot; path if multiple paths are available." CreationDate="2010-08-22T21:27:49.363" UserId="5" />
  <row Id="962" PostId="991" Text="Well, the &quot;Secure&quot; in SSH only means that it sends your data in encrypted form, so that people can't snoop on an existing connection. But creating a secure SSH configuration is more about making sure that nobody can connect in the first place unless they're _really_ authorized to do so. The encryption doesn't protect against that." CreationDate="2010-08-22T21:46:32.700" UserId="621" />
  <row Id="963" PostId="1027" Text="What exact version of Konsole are you using?" CreationDate="2010-08-22T23:43:32.793" UserId="265" />
  <row Id="964" PostId="1027" Text="&quot;uses&quot; or &quot;supports&quot;? it should support any of those encodings." CreationDate="2010-08-23T00:06:11.600" UserId="601" />
  <row Id="965" PostId="1030" Score="1" Text="What are your requirements? do you need windows file sharing? do you want an http server? ftp? etc?" CreationDate="2010-08-23T03:13:01.333" UserId="29" />
  <row Id="966" PostId="1013" Text="They added the -delete action to GNU find in October 2004, which wraps up the common &quot;-exec rm {} \;&quot; incantation.  There's a section in the docs (http://www.gnu.org/software/findutils/manual/html_mono/find.html#Deleting-Files) where they walk through the reasons it's a better idea to use this than the old portable way, if you can get away with it. It answers the comment immediately above, having to do with whitespace, among many other concerns.  Good reading." CreationDate="2010-08-23T03:53:41.587" UserId="138" />
  <row Id="967" PostId="1030" Score="2" Text="when you say &quot;the information that is stored only in a single place&quot;, are you thinking of home directories, or shared folders with pictures/video/documents/whatever, or ..?&#xA;&#xA;It's easy to set up a server to share files, but the tighter the integration between the server and your personal machines, the less useful your machines will be if the server is ever unavailable for some reason. " CreationDate="2010-08-23T05:05:07.953" UserId="637" />
  <row Id="968" PostId="978" Text="@Sqeaky: his xorg.conf is hardcoded to work with the binary driver:&#xA;&#xA;`    Driver         &quot;nvidia&quot;`" CreationDate="2010-08-23T05:45:56.297" UserId="1002" />
  <row Id="969" PostId="999" Text="If you like being prompted, use an alias under a different name.  I use move='mv -i', copy='cp -i', symlink='ln -si', and install a trash command to use instead of rm.  I still use mv, cp, and rm directly when scripting, but for interactive use these aliases are handy." CreationDate="2010-08-23T05:49:15.417" />
  <row Id="970" PostId="986" Text="&quot;This is not a flame war&quot; in titles will more often incite a flame war than help prevent one." CreationDate="2010-08-23T05:54:31.167" />
  <row Id="971" PostId="968" Text="@sepp2k: thanks! I will try it out today and then post here." CreationDate="2010-08-23T06:00:43.527" UserId="912" />
  <row Id="972" PostId="973" Text="@Abhishek: thanks! will try it out!" CreationDate="2010-08-23T06:14:47.280" UserId="912" />
  <row Id="973" PostId="1039" Score="1" Text="`nohup` will actually write stdout to `nohup.out` by default, but definitely `screen` is better for interactive programs" CreationDate="2010-08-23T06:16:12.817" UserId="73" />
  <row Id="974" PostId="1034" Text="This system is good... but you might want to check to see if your video chip supports KMS (most common in Intel, and ATI, but I won't say it's not in others) if it does you should try enabling it at boot, it will autoresize your VT." CreationDate="2010-08-23T06:19:24.433" UserId="29" />
  <row Id="975" PostId="994" Score="1" Text="This goes double for connecting to slow servers across dodgy connections: the one editor they're guaranteed to have (it is in the Unix spec, I think?) is vi, and vi's command mode makes it much easier to edit files with fewer keystrokes when each keystroke takes several seconds to appear on your screen. Of course, step #1 is usually installing `vim` :)" CreationDate="2010-08-23T06:22:00.590" UserId="558" />
  <row Id="977" PostId="999" Text="@mahmoudsakr You're completely right, I missed that point. I don't have these commands aliased either. Aliasing them as a different command seems like the most sane option!" CreationDate="2010-08-23T07:29:05.557" UserId="728" />
  <row Id="983" PostId="1049" Text="the first one is my default TERM setting... I just tried the other 2 and my prompt still doesn't show colors once I enter tmux. (I would like to note that tmux does show colors at the bottom)... it seems that when I enter tmux that it resets the TERM to TERM=screen... perhaps theres a way to override this in a config?" CreationDate="2010-08-23T09:17:54.287" UserId="29" />
  <row Id="984" PostId="1049" Text="nvm... I guess putting it in a my shell's rc does work... how annoying that it ignores the TERM env variable that's set when I execute tmux... I guess I'll have to put a conditional in my rc." CreationDate="2010-08-23T09:21:39.760" UserId="29" />
  <row Id="985" PostId="1048" Score="1" Text="yeah I was hoping for something a little bit cleaner... I could just have FOO='...' BAR='...' then PS1=&quot;$FOO $BAR&quot; or some such." CreationDate="2010-08-23T09:27:19.227" UserId="29" />
  <row Id="986" PostId="1046" Score="6" Text="Don't we have an 'evil' tag? :P" CreationDate="2010-08-23T09:45:49.850" UserId="659" />
  <row Id="987" PostId="1030" Text="@xeno I don't know enough yet to know my requirements.  I would definitely want each person to be able to reach the same file system via a GUI, windowed display.  (Although it doesn't need to be MSWindows file sharing.)" CreationDate="2010-08-23T10:28:15.123" UserId="1070" />
  <row Id="988" PostId="1030" Text="@gbroiles That's a really good point.  I guess when I take my computer to work and my files would no longer be available.  That's bad.  Would it be possible to mirror all files on all computers rather than having a server?" CreationDate="2010-08-23T10:32:25.337" UserId="1070" />
  <row Id="989" PostId="1031" Text="At first glance that looks very interesting.  I'll look into it." CreationDate="2010-08-23T10:33:22.323" UserId="1070" />
  <row Id="990" PostId="1053" Text="I understand completely about security reason. but linux is about freedom, including freedom to destroy your own data, privacy and security. if you do make a mistakes under root, that will be something you will highly remember as an experience, and you will learn most from that.&#xA;&#xA;is there any reason other than security?" CreationDate="2010-08-23T12:03:26.110" UserId="317" />
  <row Id="991" PostId="986" Text="@Roger - ha! I guess that's true.  Although everyone here seemed to have respected the disclaimer." CreationDate="2010-08-23T12:37:57.233" UserId="1070" />
  <row Id="992" PostId="1053" Text="Some program refuses to run as root (BECAUSE OF SECURITY). Also /root should be on main partition instead of separate /home" CreationDate="2010-08-23T12:52:38.560" UserId="305" />
  <row Id="993" PostId="1050" Score="4" Text="@phunehehe I don't know why you'd think he'd need this. He didn't ask you to make it passwordless. why reduce the security of the system more than necessary if you're doing anyting like this it should be `user localhost = NOPASSWD: /usr/bin/passwd` which would limit the security accesss to just that." CreationDate="2010-08-23T13:03:11.737" UserId="29" />
  <row Id="994" PostId="1060" Text="I have tomato on an old Linksys wireless router.  Also not terribly old (from around 2005), but it's interesting to use `vi`, `ash`, etc in such a limited environment.." CreationDate="2010-08-23T13:07:28.733" UserId="569" />
  <row Id="995" PostId="1046" Score="2" Text="Can't resist.  Why?" CreationDate="2010-08-23T13:12:56.960" UserId="31" />
  <row Id="996" PostId="1052" Score="2" Text="why run as root? if you really just don't want to type `sudo` I'd suggest editing `/etc/sudoers` and adding some commands as nopasswd (not all of them) then in your `~/.bashrc` (or alias file) add `alias`es to `sudo command`. This is still probably not a good idea but it will limit the damage you can do, or have done to you." CreationDate="2010-08-23T13:13:06.053" UserId="29" />
  <row Id="997" PostId="1060" Text="I have it routing native IPv6 as well, yeah the power is amazing for such a small machine, but the 4MB of flash is a little small to do anything else" CreationDate="2010-08-23T13:14:32.603" UserId="1126" />
  <row Id="998" PostId="922" Text="Yeah, I just don't want to muck up my file system with one-shot files hanging around." CreationDate="2010-08-23T13:29:19.687" UserId="394" />
  <row Id="999" PostId="1068" Score="2" Text="Try KDE SC 4.5, it has a tiling feature... oh... you said lightweight..." CreationDate="2010-08-23T13:46:03.897" UserId="29" />
  <row Id="1000" PostId="1050" Text="thanks, xenoterracide. I fixed it" CreationDate="2010-08-23T13:47:12.897" UserId="250" />
  <row Id="1001" PostId="1069" Text="you forgot `/home`" CreationDate="2010-08-23T13:52:33.387" UserId="29" />
  <row Id="1002" PostId="1070" Text="Thank you for reply. Qtile very interesting. Never hear about it. Now i try it" CreationDate="2010-08-23T13:54:52.243" UserId="1091" />
  <row Id="1003" PostId="1071" Text="+1. just to add here. within the process you can use pthread_kill() to send signals to individual thread. may be you can add some signal handler which do it." CreationDate="2010-08-23T13:59:11.063" UserId="57" />
  <row Id="1004" PostId="1041" Text="thanks, that guide is just what I need" CreationDate="2010-08-23T14:00:16.537" UserId="250" />
  <row Id="1005" PostId="1041" Text="@phunehehe glad it helped. This site http://www.panticz.de/MultiBootUSB has grub.cfg with quite a few entries, it has some good examples." CreationDate="2010-08-23T14:05:51.503" UserId="171" />
  <row Id="1006" PostId="1061" Score="2" Text="The IP block will not survive a reboot unless they are saved on update and restored on boot. look up `iptables-save` and `iptables-restore`. On Redhat like systems, you can get away with a simple &quot;`/etc/init.d/iptables save`&quot;." CreationDate="2010-08-23T14:13:34.793" UserId="292" />
  <row Id="1007" PostId="1069" Text="hu, no, I wrote &quot;The user-based applications have their configuration in your home directory&quot;." CreationDate="2010-08-23T14:59:20.723" UserId="850" />
  <row Id="1008" PostId="1081" Text="Hm, that works only for common lines that are at the same line number in both files." CreationDate="2010-08-23T15:02:16.163" UserId="1131" />
  <row Id="1009" PostId="1081" Score="1" Text="comm seems to be for sorted files only and not to give that useful output for the usecase of the OP. His example:&#xA;$ comm -12 a b &#xA;Hello&#xA;World&#xA;comm: file 1 is not in sorted order&#xA;comm: file 2 is not in sorted order" CreationDate="2010-08-23T15:04:14.847" UserId="102" />
  <row Id="1010" PostId="1077" Text="Technically computer with root as main user can be theoretically secured..." CreationDate="2010-08-23T15:04:29.027" UserId="305" />
  <row Id="1011" PostId="1081" Text="@maxschlepzig: you should sort your files before passing them to comm." CreationDate="2010-08-23T15:05:30.057" UserId="57" />
  <row Id="1012" PostId="1077" Score="1" Text="@Maciej the only secure computer is unplugged, encased in concrete at the bottom of a lake." CreationDate="2010-08-23T15:07:25.747" UserId="29" />
  <row Id="1013" PostId="1081" Text="By sorting you get rid of all information on the position of the common lines, though. You wouldn't sort files before comparing them with diff, either." CreationDate="2010-08-23T15:17:44.707" UserId="102" />
  <row Id="1014" PostId="1077" Text="As Mitnick pointed out someone can get it outside the lake, break concrete and plug in (oh. he only said that someone can plug in unplugged computer using sociotechniques but the principle is the same). I tried to be careful to use 'technically' and 'theoretically' - also bad lock is better then no lock. For example I consider my current system enough secure despite lack of SELinux on it ;)" CreationDate="2010-08-23T15:25:35.683" UserId="305" />
  <row Id="1015" PostId="995" Text="@xenoterracide - yes ,)" CreationDate="2010-08-23T16:11:37.733" UserId="78" />
  <row Id="1016" PostId="1090" Text="I always find goal oriented learning more productive than abstract learning for me.  The LDD book gave me a chance to bite off a small enough chunk to make progress." CreationDate="2010-08-23T16:12:31.007" UserId="203" />
  <row Id="1018" PostId="1046" Text="giving a user the right to change the root password is the same as giving them full root access, so why bother giving them &quot;only&quot; password-changing access?" CreationDate="2010-08-23T16:35:45.283" UserId="601" />
  <row Id="1019" PostId="1055" Score="5" Text="This should probably be a community wiki" CreationDate="2010-08-23T16:39:46.497" UserId="39" />
  <row Id="1020" PostId="1077" Text="@Marciej well security is all about cost/risk analysis. you never put more security around something than that something is worth." CreationDate="2010-08-23T17:22:19.420" UserId="29" />
  <row Id="1021" PostId="1093" Text="might I ask, if the server was installed once and never modified, why don't you just reinstall with the latest version?" CreationDate="2010-08-23T17:22:57.953" UserId="250" />
  <row Id="1022" PostId="1077" Score="1" Text="@Marciej and if it's worth nothing then there's no point in putting any security on it, at that point no vulnerability matters." CreationDate="2010-08-23T17:24:30.260" UserId="29" />
  <row Id="1023" PostId="1070" Score="1" Text="The ability to program your own layouts seems strangely absent from most tiling WMs; that's a nice feature of Qtile" CreationDate="2010-08-23T17:47:58.770" UserId="73" />
  <row Id="1024" PostId="1093" Text="@jorelli I will respond to your question with another question. What work is it that you are doing /on/ the server? Server's are for serving things... you do work on a workstation. Outside of a config file edit here, a mv there... why are you tweaking the server out like it's your workstation?" CreationDate="2010-08-23T17:49:36.770" UserId="29" />
  <row Id="1025" PostId="1077" Text="Yes I know. However while I understend that DVL was a joke I wanted to poiny out that there is huge difference between running a server with known problems and not using sufficient preventions. " CreationDate="2010-08-23T17:57:04.543" UserId="305" />
  <row Id="1026" PostId="1106" Score="8" Text="useless us of cat" CreationDate="2010-08-23T18:35:47.627" UserId="601" />
  <row Id="1027" PostId="1093" Score="1" Text="poor widdle admin :`-(" CreationDate="2010-08-23T18:38:15.937" UserId="601" />
  <row Id="1028" PostId="1093" Text="It's a staging server, so I work remotely, and then push to another server.  Why do I work remotely?  My personal machine is a MacBook, and the one I'm given at work is a Windows box.  I don't have a Linux desktop and I'd rather work on an actual Linux box than deal with putting Cygwin on the Windows machine or getting everything on my MacBook through MacPorts.  I installed Ubuntu on my MacBook but I didn't really enjoy my experience with Linux as a desktop OS.  I love using it as a server OS, but on the desktop I found it frustrating." CreationDate="2010-08-23T18:38:21.270" UserId="1094" />
  <row Id="1029" PostId="1103" Text="sad that such an obvious answer is necessary. it would take less time to rebuild the server than it takes to post this question." CreationDate="2010-08-23T18:40:29.240" UserId="601" />
  <row Id="1030" PostId="1103" Text="they host the dev environment and the production environment on the same server and it's off site.  No, I did not set it up." CreationDate="2010-08-23T18:42:07.020" UserId="1094" />
  <row Id="1031" PostId="1055" Score="5" Text="This should probably be on a discussion forum." CreationDate="2010-08-23T19:36:47.613" UserId="392" />
  <row Id="1032" PostId="1116" Text="if that so, lets just take only for linux kernel for example, is there any structured documentation for kernel API instead of just list of man pages? is there any way we can search for a topic or follow a guide on a document of more like &quot;developer guide&quot;" CreationDate="2010-08-23T19:40:01.973" UserId="317" />
  <row Id="1033" PostId="1105" Text="wow, nice one :)" CreationDate="2010-08-23T19:43:20.517" UserId="102" />
  <row Id="1034" PostId="1094" Text="Its been awhile since I've run compiz.  If I remember right it over rides the gnome settings which can be really annoying, I think." CreationDate="2010-08-23T19:45:25.270" UserId="363" />
  <row Id="1035" PostId="1118" Text="so they (the system/lib/distro developer) is very good at making thousands of little piece to work together than to agree about how to standardize a document in order to make app developer create better apps faster. no wonder *nix apps are less compared to windows or even osx" CreationDate="2010-08-23T19:49:30.003" UserId="317" />
  <row Id="1036" PostId="1119" Text="does directFB supported by GPU manufacturer in order to get hardware acceleration?" CreationDate="2010-08-23T19:52:21.277" UserId="317" />
  <row Id="1037" PostId="1116" Text="Added recommendation paragraph for the Stevens book." CreationDate="2010-08-23T20:10:32.957" UserId="138" />
  <row Id="1038" PostId="1104" Text="+1 on the “you damn kids”. I mean, [RedHat 4](ftp://archive.download.redhat.com/pub/redhat/linux/4.2) had vim 4, not vim 6! (And it had `tree`, too.)&#xA;" CreationDate="2010-08-23T20:17:43.350" UserId="885" />
  <row Id="1039" PostId="1118" Text="@uray, there are a lot of different ways to program for GNU/Linux.  If you use comprehensive libraries like GNOME, KDE, or Qt, you may find that most of the documentation you need is in fact in one place." CreationDate="2010-08-23T20:22:05.353" UserId="224" />
  <row Id="1040" PostId="1100" Score="4" Text="This is more complicated than it should be! `sed 's/;.*//'`" CreationDate="2010-08-23T20:43:47.773" UserId="885" />
  <row Id="1041" PostId="1121" Text="In theory you're right, but there's two problems with that.  One: I work at an agency, and I have no authority to do shit like that.  Two: if I was freelance, and this was the only person that was paying me, I'd just do it anyway.  I'm extremely aware of how faulty their setup is.  It's so messed up that there are over a dozen copies of the website, all with inconsistent names, each with a copy of phpMyAdmin inside of it.  Oh and this project *is* under source control, but I have no idea *why*, since they obviously didn't use it." CreationDate="2010-08-23T22:19:47.307" UserId="1094" />
  <row Id="1042" PostId="1119" Text="DirectFB seems to have hardware acceleration for some [embeded SoC](http://www.directfb.org/wiki/index.php/Embedded_DirectFB_Hardware)s, as well as for some (mainly older) [desktop GPUs](http://www.directfb.org/index.php?path=Support%2FGraphics).  Probably mostly 2D &amp; video decoder acceleration." CreationDate="2010-08-23T22:27:37.763" UserId="1002" />
  <row Id="1043" PostId="1110" Text="I don't see why you include tor. If I understend the question it is about proxifing the software (otherwise - good answer)." CreationDate="2010-08-23T23:04:29.463" UserId="305" />
  <row Id="1044" PostId="1138" Text="Something's not right: &quot;mv: missing destination file operand after 'image0001.png'&quot;" CreationDate="2010-08-24T00:06:16.820" UserId="753" />
  <row Id="1045" PostId="1136" Score="3" Text="This is one of the top Unix command line FAQs, and I can't find it on this site already, so should we make this Community Wiki?" CreationDate="2010-08-24T00:08:27.923" UserId="885" />
  <row Id="1046" PostId="1138" Text="@Ivan: There are many problems with your code. Parsing the output of `ls` is just calling for trouble. `read` should be `read -r`. all variable substitutions should be within double quotes." CreationDate="2010-08-24T00:20:56.997" UserId="885" />
  <row Id="1047" PostId="1140" Score="2" Text="you really should explain that this is a perl programm that might have to be installed and that it takes regular expressions as the argument." CreationDate="2010-08-24T00:30:05.467" UserId="601" />
  <row Id="1048" PostId="1140" Text="Ah, I was not aware of that. I'll give credit to the canonical answer, when I identify it :)" CreationDate="2010-08-24T00:33:16.177" UserId="753" />
  <row Id="1049" PostId="1091" Score="1" Text="Ratpoison is both rediculously light weight, and very easy to configure.  StumpWM is, of course, for customizability the winner here, but Lisp gives it both a slight over-head and a higher barier-to-entry for people unfamiliar with Lisp.  That being said, StumpWM is still very light-weight to modern standards." CreationDate="2010-08-24T00:44:37.073" UserId="183" />
  <row Id="1050" PostId="1136" Score="2" Text="I don't see why. It's a specific question with a verifiable answer." CreationDate="2010-08-24T00:45:42.797" UserId="753" />
  <row Id="1051" PostId="1118" Text="@uray GNU/Linux is a living breathing environment going through a lot of changes. Writing it off as having a porely developed userland is very subjective. For most of it's history it has been the platform of power-users, people who spend most of their time in text, shunning the world of Desktop Environments and other hoo-ey. This has been changing lately as GNU/Linux gains wider exceptence/use. If you embrace the Unix side of linux, it is much more rich and well developed than OSX or Windows. If you're looking for shiny mouse-bait, you'll have to wait for it to catch up." CreationDate="2010-08-24T00:50:54.207" UserId="183" />
  <row Id="1052" PostId="1144" Score="4" Text="Most versions of `ls` do `-1` automatically when the output is to a pipe." CreationDate="2010-08-24T01:01:43.297" UserId="382" />
  <row Id="1053" PostId="1133" Text="Do you really want to create 13,923 positional parameters? And you should make your local variable `local` or eliminate it: `eval $1=$#` or just use `echo $#` and do `number_of_files=$(count_words *)`." CreationDate="2010-08-24T01:16:23.610" UserId="382" />
  <row Id="1054" PostId="1097" Score="4" Text="useless use of `cat`." CreationDate="2010-08-24T01:18:03.963" UserId="382" />
  <row Id="1055" PostId="1085" Text="Try this: `diff --width=155 --left-column --side-by-side a b | grep -n -v '|' | sed 's/ *($//'`" CreationDate="2010-08-24T02:48:20.257" UserId="382" />
  <row Id="1056" PostId="1150" Text="hehe just asked a similar question, I'm struggling to understand all the desktop/desktop environment/ window managers/etc http://unix.stackexchange.com/questions/1151/what-are-the-user-interface-subsystems-their-components-and-responsibilities" CreationDate="2010-08-24T02:50:59.300" UserId="701" />
  <row Id="1057" PostId="1105" Text="You can avoid embedding a literal newline like this: `...%df'$'\n''%&lt;'...`" CreationDate="2010-08-24T02:54:36.390" UserId="382" />
  <row Id="1058" PostId="1105" Text="You can also do it like this: `... --unchanged-group-format=&quot;@@ %dn,%df%c'\012'%&lt;&quot; ...` (Note the double quotes.)" CreationDate="2010-08-24T03:12:02.363" UserId="382" />
  <row Id="1059" PostId="854" Score="3" Text="While that has burned me in the past, many versions of `rm` won't do that now. I tried on Darwin and got the error `rm: &quot;.&quot; and &quot;..&quot; may not be removed`." CreationDate="2010-08-24T03:43:17.083" UserId="4" />
  <row Id="1060" PostId="1100" Text="I beg to differ. perl -pe 's/;.*//' some_file_name is just as easy, and arguably up to 1500% faster when operating in large files." CreationDate="2010-08-24T03:59:56.197" UserId="188" />
  <row Id="1061" PostId="1097" Text="Second Dennis there. And under linux and BSD that -F=&quot;;&quot; does not work as intended. And you might want to quote that $1, too: awk -F&quot;;&quot; '{print $1}' a.file" CreationDate="2010-08-24T04:05:15.957" UserId="188" />
  <row Id="1062" PostId="1071" Text="@gvkv, @hemant: Suppose MS Word uses a seperate thread for spell check. Killing that thread should not bring the whole thing down, unless it is designed that way. Why cannot the process exist without that thread in situations like these?" CreationDate="2010-08-24T04:27:13.933" UserId="912" />
  <row Id="1063" PostId="1144" Score="3" Text="@Dennis that's interesting I didn't know that an application could tell its output was going to a pipe." CreationDate="2010-08-24T05:35:49.273" UserId="29" />
  <row Id="1064" PostId="1098" Text="I like the way to set it in the .tmux.conf best... using the shell to set it just doesn't seem right" CreationDate="2010-08-24T05:38:43.637" UserId="29" />
  <row Id="1065" PostId="1162" Text="You probably don't have X11 Installed. Which OS? Which Package?" CreationDate="2010-08-24T05:47:16.977" UserId="381" />
  <row Id="1066" PostId="1153" Text="`echo $DESKTOP_SESSION`  `default` I guess this returns whatever gdm/kdm/etc had put into it? which might be useful... also `uname -a` is ok... but take my arch string `Linux slave-iv 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 20 22:49:24 CEST 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux` you'll note the minor kernel version is not present due to the way it was compiled&#xA;" CreationDate="2010-08-24T05:52:56.950" UserId="29" />
  <row Id="1067" PostId="1162" Text="OS - fedora 13. package GPicView" CreationDate="2010-08-24T06:03:27.323" UserId="1091" />
  <row Id="1068" PostId="1056" Text="@Daniel, thanks! What does SPID stand for?" CreationDate="2010-08-24T06:06:00.173" UserId="912" />
  <row Id="1069" PostId="1126" Score="4" Text="`wc` is a &quot;word count&quot; program. The `-l` switch causes it to count lines.  In this case, it's counting the lines in the output from `ls`.  This is the always the way I was taught to get a file count for a given directory, too." CreationDate="2010-08-24T06:07:15.477" UserId="85" />
  <row Id="1070" PostId="1110" Text="accepting your answer under the proxy via proxychains" CreationDate="2010-08-24T06:20:27.210" UserId="250" />
  <row Id="1071" PostId="112" Text="+1. book on &quot;virtual memory manager&quot; ?? seems very interesting. thanks :-)." CreationDate="2010-08-24T06:37:30.577" UserId="57" />
  <row Id="1072" PostId="1133" Text="@Dennis: part of the point was to avoid forking. I guess that's not a 21st century concern. Ok, I admit I don't care about non-POSIX shells any more, so I could have avoided the temporary variable." CreationDate="2010-08-24T07:14:37.943" UserId="885" />
  <row Id="1073" PostId="1140" Score="1" Text="@Max: This `rename` program came from a Perl examples distribution. Debian and Ubuntu ship it as `/usr/bin/rename`. Other Unix variants may not provide it, or may provide a completely different `/usr/bin/rename`." CreationDate="2010-08-24T07:17:00.250" UserId="885" />
  <row Id="1074" PostId="1139" Score="3" Text="You're missing double quotes around the variable substitutions, so your command will fail if any of the file names contains whitespace or `\\[*?`. The loop body should be `mv &quot;$f&quot; &quot;${f#image}&quot;;`." CreationDate="2010-08-24T07:18:15.347" UserId="885" />
  <row Id="1075" PostId="1085" Text="that looks better -- but you have to include &lt; and &gt; in the grep to get also rid of added lines in either file." CreationDate="2010-08-24T07:46:31.573" UserId="102" />
  <row Id="1076" PostId="1071" Text="Well, I suppose you could design a threading model to be independent of a parent process, but allowing outside processes to kill intra-process threads but that opens up a can of worms with respect to security, process management and system integrity that I don't think any system designer would willingly submit themselves to. Threading is hard enough without those kind of headaches. Killing a thread from the inside isn't a problem because the work is done by the parent process which is held responsible if any issues arise and can be killed--automatically or otherwise." CreationDate="2010-08-24T09:16:13.320" UserId="160" />
  <row Id="1077" PostId="1123" Score="1" Text="@Elke: if random 12 year olds with laptops can break into his home to hack his network, he has bigger security issues to worry about than losing word documents ;) +1 though for thorough discussion" CreationDate="2010-08-24T09:38:00.683" UserId="659" />
  <row Id="1078" PostId="1139" Score="1" Text="@Giles you are right. That's a good upgrade. I only addressed the problem presented." CreationDate="2010-08-24T10:00:35.867" UserId="1157" />
  <row Id="1079" PostId="962" Text="This really belongs on ubuntu.stackexchange.com, not here." CreationDate="2010-08-24T10:06:12.177" UserId="412" />
  <row Id="1080" PostId="1165" Text="There are occasional discussions of rewriting X.org itself, or inventing an &quot;X12&quot; successor protocol, but these blue-sky projects keep failing.  There's just too much inertia behind the way things are currently being done." CreationDate="2010-08-24T10:23:14.600" UserId="138" />
  <row Id="1081" PostId="1123" Text="@Axel: It could be his own kid, or his kid's friend. Because it's quite simple, it might be tempting just to try it.   " CreationDate="2010-08-24T12:53:52.507" UserId="1103" />
  <row Id="1082" PostId="1123" Text="@Elke: I know, I know, I was kidding ;)&#xA;" CreationDate="2010-08-24T13:01:51.117" UserId="659" />
  <row Id="1083" PostId="1174" Text="This only works if you include the glob in the command; `env GLOBIGNORE=&quot;. ..&quot; ls -a` returns `.` and `..` but `... ls -ad .*` doesn't." CreationDate="2010-08-24T13:04:11.893" UserId="160" />
  <row Id="1084" PostId="1173" Score="1" Text="Can be further shortened: `.[[:alnum:]] [[:alnum:]]` will match any of the files your command would match." CreationDate="2010-08-24T13:07:14.647" UserId="195" />
  <row Id="1086" PostId="1173" Text="Actually, I forgot to include underscores too; fixed." CreationDate="2010-08-24T13:16:50.377" UserId="160" />
  <row Id="1087" PostId="1173" Text="I don't see how this answers the question... The OP wants a *glob* that matches hidden files but not the . and .. directories. ls -A lists all files (including non-hidden), and your commands are very specific for files starting with letters, numbers or underscore. Please try his examples..." CreationDate="2010-08-24T13:30:26.893" UserId="102" />
  <row Id="1088" PostId="1174" Text="I don't get this comment... The question was not about the ls command, but about a **glob** -- &quot;including the glob in the command&quot; is exactly what the OP wanted to do..." CreationDate="2010-08-24T13:31:38.920" UserId="102" />
  <row Id="1089" PostId="1174" Text="It's informational not critical." CreationDate="2010-08-24T13:48:44.240" UserId="160" />
  <row Id="1090" PostId="1174" Text="No problem, I'm not afraid of criticism. It's just that I didn't understand the connection between the comment and my answer. But as I did also not understand your the connection between your answer and the original question that's consistent at least ;)" CreationDate="2010-08-24T13:55:24.580" UserId="102" />
  <row Id="1091" PostId="1173" Text="You're right, it doesn't." CreationDate="2010-08-24T13:55:50.340" UserId="160" />
  <row Id="1092" PostId="1174" Text="Yeah, I got caught up with trying to make extended globbing patterns work with `.` the way I think it should using `ls` as a canonical command and forgot about the details of the post." CreationDate="2010-08-24T14:03:13.053" UserId="160" />
  <row Id="1093" PostId="1174" Text="I should add, this is a great answer and you've solved more than one problem that I've had in the past and have resorted to hacks to make work. I never knew about GLOBIGNORE before now.  BTW--edit your post in some inconsequential way.  For some reason my up-vote is not showing and when I try to add it, I get a dialog telling me that my vote's locked in unless the post is edited." CreationDate="2010-08-24T14:04:41.573" UserId="160" />
  <row Id="1094" PostId="1174" Text="Thanks -- actually I found out about GLOBIGNORE only for this answer ;) I edited my post slightly, thanks in advance for voting." CreationDate="2010-08-24T14:28:38.837" UserId="102" />
  <row Id="1095" PostId="1178" Text="@pootzko how do you force the intel module to load before the usb one? also although distro isn't the problem distro might matter because different distro's handle that stuff differently." CreationDate="2010-08-24T14:52:54.840" UserId="29" />
  <row Id="1096" PostId="1178" Text="I use Arch and I put snd_hda_intel to be the first one in rc.conf (it's a basic conf file in Arch Linux and one of things you can do with rc.conf is that you can set additional modules to load through that)" CreationDate="2010-08-24T15:27:52.993" UserId="665" />
  <row Id="1097" PostId="1174" Text="@MarcelStimberg you can disable dotglob after setting GLOBIGNORE. that will then have the effect i want. please add that to your answer." CreationDate="2010-08-24T15:58:31.363" UserId="1170" />
  <row Id="1098" PostId="1126" Text="@JamesRoth please add note that `ls` does `ls -1` if the output is a pipe." CreationDate="2010-08-24T16:47:41.057" UserId="1170" />
  <row Id="1099" PostId="1154" Text="@JanClaeys why not `lsb_release -a`?" CreationDate="2010-08-24T16:49:48.030" UserId="1170" />
  <row Id="1100" PostId="1174" Text="@lesmana you are completely right, I corrected my answer. Wonder why dotglob is automatically set in the first place..." CreationDate="2010-08-24T16:53:00.633" UserId="102" />
  <row Id="1101" PostId="1181" Text="not out of the box on unix I think... but it maybe be possible if you're doing some advanced authentication with ldap, or kerberos or something... or perhaps even with SELinux. I don't really know for sure though, so this is not a real answer." CreationDate="2010-08-24T16:56:27.620" UserId="29" />
  <row Id="1102" PostId="1183" Score="1" Text="I don't believe that this question belongs here because at best it's parochial and worst chauvinistic. UaL is also **Unix**; FreeBSD and OpenBSD in particular are important versions of Unix even if they lack the mindshare of Linux." CreationDate="2010-08-24T17:01:57.750" UserId="160" />
  <row Id="1103" PostId="1184" Text="I don't have an OSX box handy to test on though, so... it may not!" CreationDate="2010-08-24T17:06:53.020" UserId="298" />
  <row Id="1104" PostId="1184" Text="@gabe: This doesn't seem to work." CreationDate="2010-08-24T17:32:33.490" UserId="163" />
  <row Id="1105" PostId="1185" Text="actually this method could be adapted to linux. One way of locking an account is by setting the ... second to last field in /etc/shadow to an earlier date. The fields specification is &quot;Days since Epoch when account expires&quot; so you could change that back and forth via cron." CreationDate="2010-08-24T17:32:58.400" UserId="29" />
  <row Id="1106" PostId="1183" Score="5" Text="@gvkv I think he's just trying to advertise on his website that he uses Linux, not that he uses Linux and feels Unix and FreeBSD should die in a fire" CreationDate="2010-08-24T17:38:07.163" UserId="73" />
  <row Id="1107" PostId="1184" Text="Tried it on a mac, and seems like the general case works... if you do the ls -l version above, what output do you get? " CreationDate="2010-08-24T17:44:59.493" UserId="298" />
  <row Id="1108" PostId="1183" Text="@gvkv Well if you have a good guide to generic unix... that meets his criteria I'd bet he'd go for it." CreationDate="2010-08-24T17:48:05.433" UserId="29" />
  <row Id="1109" PostId="1182" Score="2" Text="&quot;this doesn't work&quot; translates to? nothing happening? an error message? your computer catching fire?" CreationDate="2010-08-24T17:59:18.050" UserId="601" />
  <row Id="1110" PostId="1183" Text="I have nothing against FreeBSD, and other unix-like systems, etc. I just have almost no personal experience with them, and so it would be odd to advertise them.&#xA;&#xA;I'd be fine with a site that covered both linux and other open source unix-like operating systems at the same time, definitely, so long as it was beginner-friendly." CreationDate="2010-08-24T18:03:22.380" UserId="1071" />
  <row Id="1111" PostId="1184" Text="@gabe's suggestion totally works on OS X 10.6.  I suspect you typed it wrong or something." CreationDate="2010-08-24T18:09:13.933" UserId="85" />
  <row Id="1112" PostId="1144" Text="I +'ed this version since it is more explicit.  Though, yes ls does use -1 if it's piped (try it:  ls | cat), I find the -1 syntax more explicit. " CreationDate="2010-08-24T18:13:14.533" UserId="298" />
  <row Id="1113" PostId="1105" Text="Great stuff! I did not know these options, because I just looked at the diff man page ..." CreationDate="2010-08-24T18:17:49.107" UserId="1131" />
  <row Id="1114" PostId="1182" Text="removed the &quot;unix&quot; tag, isn't everything unix already?" CreationDate="2010-08-24T18:34:19.023" UserId="250" />
  <row Id="1115" PostId="1165" Score="1" Text="what X11 lack of is simplicity, performance, and up to date codes, I can't imagine how the 20 years old codes to cope with current hardware technology, its must full of patch and workaround" CreationDate="2010-08-24T18:38:30.250" UserId="317" />
  <row Id="1116" PostId="1183" Score="1" Text="@frabjous I don't know any... but maybe you're looking for the wrong thing... maybe try looking for a KDE, or Gnome advocacy site... true beginners will want to use a GUI and they won't know how to make the choice (or care)." CreationDate="2010-08-24T18:43:51.520" UserId="29" />
  <row Id="1117" PostId="933" Text="Make sure the PACKAGES directory exists before running the make." CreationDate="2010-08-24T19:04:37.663" UserId="628" />
  <row Id="1118" PostId="1183" Text="@MM That made me laugh.  I've had a busy day and I'm trying to do too many things at once." CreationDate="2010-08-24T19:12:55.333" UserId="160" />
  <row Id="1119" PostId="1184" Text="use `'{}' +` not `'{}' \;` the + has better optimization..." CreationDate="2010-08-24T19:14:37.647" UserId="29" />
  <row Id="1120" PostId="1183" Text="After reorienting my interpretation, have you thought about breaking your advertising up into sections with relevant links for each of your desired goals?  Maybe you can build what you're looking for.  If you can't do it directly on the page your post refers to maybe link to a page that you make your chosen references and personal commentary." CreationDate="2010-08-24T19:17:09.490" UserId="160" />
  <row Id="1121" PostId="1183" Text="Also, I assume you looking for links without the obnoxious inline advertising too." CreationDate="2010-08-24T19:18:52.083" UserId="160" />
  <row Id="1122" PostId="1197" Text="I'll be honest when I say I think this is more of a programming task... and thus should be on SO. I'd use Perl to do it, esp since I bet there's a perl module designed to parse, and modify apache configs. " CreationDate="2010-08-24T19:22:48.520" UserId="29" />
  <row Id="1123" PostId="1198" Text="awesome... this is just what I was looking for.  " CreationDate="2010-08-24T19:29:47.960" UserId="298" />
  <row Id="1124" PostId="1197" Score="1" Text="Thanks, but it's a task that should be easy to accomplish with simple unix tools, hence asked here.  Thanks for your comment, though.  " CreationDate="2010-08-24T19:30:52.343" UserId="298" />
  <row Id="1125" PostId="825" Text="Awesome thanks!" CreationDate="2010-08-24T19:50:30.147" UserId="123" />
  <row Id="1126" PostId="1195" Score="3" Text="+1 for vivid and good analogy" CreationDate="2010-08-24T19:53:32.110" UserId="29" />
  <row Id="1127" PostId="1083" Score="3" Text="@Neal does using a web browser constitute as doing something stupid?" CreationDate="2010-08-24T19:54:37.100" UserId="29" />
  <row Id="1128" PostId="1076" Score="1" Text="Not just malicious programms, buggy ones too (eg there was a bug in the kernel build system at one point that hosed your system if you did your kernel compiles as root)" CreationDate="2010-08-24T20:00:04.560" UserId="373" />
  <row Id="1129" PostId="1053" Score="4" Text="@uray, buggy programs. Sometimes a bug is completely harmless if you're not root, but if you are it hoses your system (the kernel build system had one of these at one point for example, so the user didn't screw up, but they still wound up with thoroughly hosed system, Linus joked about leaving it in to discourage people from doing kernel compiles as root...)" CreationDate="2010-08-24T20:04:20.943" UserId="373" />
  <row Id="1130" PostId="1052" Text="GTK+ developers have talked about making it so that the library refuses to work if it detects that the app using it has root permissions..." CreationDate="2010-08-24T20:05:41.527" UserId="373" />
  <row Id="1131" PostId="1077" Text="@Marciej the op isn't running a server" CreationDate="2010-08-24T20:09:59.580" UserId="29" />
  <row Id="1132" PostId="1046" Text="He probably heard the story about the San Francisco network admin. It's not that stupid, if he can be trusted to use this power only in such an emergency." CreationDate="2010-08-24T20:11:42.400" UserId="592" />
  <row Id="1133" PostId="1023" Text="You can copy and paste text in Linux, no need to use a picture." CreationDate="2010-08-24T20:16:46.680" UserId="592" />
  <row Id="1134" PostId="1055" Score="1" Text="Agree with @postfuturist. This is neither a problem nor an advice request." CreationDate="2010-08-24T20:17:44.147" UserId="313" />
  <row Id="1135" PostId="1204" Score="3" Text="system76 and zareason seem to be highly regarded linux laptop vendors.&#xA;" CreationDate="2010-08-24T20:18:13.363" UserId="590" />
  <row Id="1136" PostId="1208" Text="Hmm... I never thought about that. Just compiz and a dock would be perfectly adequate for me!  edit: well, so long as I can have a functioning tray on my dock for wireless control and whatnot." CreationDate="2010-08-24T20:29:19.457" UserId="375" />
  <row Id="1137" PostId="735" Text="As mentioned by elmarco there is some work going on to change that" CreationDate="2010-08-24T20:30:55.760" UserId="373" />
  <row Id="1138" PostId="365" Text="@Alex GStreamer and Phonon don't really belong in that list... that's like comparing DirectShow to DirectSound, they aren't audio APIs in the way that ALSA/libpulse/libjack/OSS/etc are, it's a media playback framework with codecs and things, also IIRC pulseaudio can do firewire audio output... and bluetooth, and whatever else. That article isn't terribly accurate. For a better explanation see http://0pointer.de/blog/projects/guide-to-sound-apis.html" CreationDate="2010-08-24T20:38:38.510" UserId="373" />
  <row Id="1139" PostId="1176" Text="I see your edit. I happened to have pointed you to the right part of the documentation file. A *&quot;Primary Domain Controller&quot;* is a central instance that stores login information for Windows computers (IMHO). " CreationDate="2010-08-24T20:57:04.523" UserId="1103" />
  <row Id="1140" PostId="1203" Score="3" Text="This question should be closed, as it will be quickly out of date." CreationDate="2010-08-24T21:22:15.380" UserId="31" />
  <row Id="1141" PostId="1204" Text="Last I looked, [www.dell.com/ubuntu](http://www.dell.com/ubuntu) still worked.  I don't have any idea how you're supposed to find it, but it listed some machines.  (Not that I'll guarantee that they're still current....)" CreationDate="2010-08-24T21:26:12.570" UserId="289" />
  <row Id="1142" PostId="1058" Text="+1 for reminding me of a few old experiences.  Or should that be -1 for bringing them back up?" CreationDate="2010-08-24T21:27:32.130" UserId="289" />
  <row Id="1143" PostId="1077" Text="I think thermite is an excellent computer security tool for the person who just can't risk a security breach." CreationDate="2010-08-24T21:28:41.117" UserId="289" />
  <row Id="1144" PostId="723" Text="Are you going to be developing more conventional Unix/Linux apps, or Mac OSX apps?" CreationDate="2010-08-24T21:39:07.520" UserId="289" />
  <row Id="1145" PostId="1203" Text="@KeithB most of the answers so far aren't very model specific, more vendor. I don't think they'll be out of date that quickly." CreationDate="2010-08-24T21:42:52.133" UserId="29" />
  <row Id="1146" PostId="1052" Score="4" Text="The level of hostility in this thread is a little worrisome; it's a legitimate question. Yes, running as root all the time is a bad idea, but there's no need to flip out about it" CreationDate="2010-08-24T21:52:06.357" UserId="73" />
  <row Id="1147" PostId="1182" Text="@phu Well, there are [24 other posts tagged [unix\]](http://unix.stackexchange.com/questions/tagged/unix). It might end up getting blacklisted if it's so abused as to become useless, but we probably won't discuss that for a little while" CreationDate="2010-08-24T21:54:33.357" UserId="73" />
  <row Id="1148" PostId="1052" Score="2" Text="@Mrozek:  Agreed.  Now, I'd never give the OP root password to any system I had control over, but trashing one's system by typing the wrong thing can be very educational.  Perhaps the OP writing &quot;So far I've never had any problem with it&quot; will learn something useful, like the fact that things can happen for the first time." CreationDate="2010-08-24T21:58:38.580" UserId="289" />
  <row Id="1149" PostId="1133" Text="Why did you subtract one from `$#` (you hadn't done that prior to the edit)?" CreationDate="2010-08-24T22:12:22.123" UserId="382" />
  <row Id="1150" PostId="410" Text="Don't forget:&#xA;alias gerp='grep --color=tty'&#xA;&#xA;I do that one all the time ;-)" CreationDate="2010-08-24T22:19:56.587" UserId="178" />
  <row Id="1151" PostId="1205" Text="The problem I have with the site you linked to is that you need to know what you want before you can check it. Otherwise, it's a good resource." CreationDate="2010-08-24T22:35:14.103" UserId="84" />
  <row Id="1152" PostId="1210" Text="I understand there is no &quot;best&quot; laptop. I know quite a few people who use Thinkpads, though, and wondered if they had the typical issues I'm constantly experiencing." CreationDate="2010-08-24T22:37:07.660" UserId="84" />
  <row Id="1153" PostId="1133" Text="@Dennis: I'm still avoiding a fork (well, it does make a difference on machines with a slow CPU such as routers) and passing a variable name as `$1`. So what I want to count is the number of parameters that aren't the first parameter. (I can't use `shift` because I need to keep the variable name around.) (Umm, now if you'd asked about the *first* line...)" CreationDate="2010-08-24T22:42:34.687" UserId="885" />
  <row Id="1154" PostId="1133" Text="@Dennis: come to think of it, I can use `shift` if I time it right." CreationDate="2010-08-24T22:50:03.680" UserId="885" />
  <row Id="1155" PostId="1157" Text="I have not used Dropbox with Linux, but I have used it extensively with Windows machines and have had excellent results." CreationDate="2010-08-24T23:53:56.750" UserId="203" />
  <row Id="1156" PostId="723" Text="At least at first more conventional Unix/Linux apps, I just use the OS X PC as a workstation." CreationDate="2010-08-25T00:03:58.803" UserId="452" />
  <row Id="1157" PostId="1203" Text="While the question is specific some ansers are not: &quot;buy computer with preinstalled Linux&quot;, &quot;check http://www.linux-laptop.net/&quot; etc." CreationDate="2010-08-25T00:04:59.443" UserId="305" />
  <row Id="1158" PostId="1154" Text="Because it also lists which LSB-modules are (supposed to be) supported on the machine, and most people don't really care about that.  But of course it works too..." CreationDate="2010-08-25T00:43:25.790" UserId="1002" />
  <row Id="1159" PostId="1182" Text="@hop: It doesn't perform as expected, nothing gets opened." CreationDate="2010-08-25T01:00:58.443" UserId="163" />
  <row Id="1160" PostId="1184" Text="@Sansy: &quot;typed it wrong or something&quot; – Please define the &quot;or something&quot; because I'm not typing it wrong. Nothing gets opened, nothing gets outputted. Nothing gets outputted when running `find . -name cover\.jpg` either." CreationDate="2010-08-25T01:03:32.260" UserId="163" />
  <row Id="1161" PostId="1224" Score="1" Text="Instead of a flag file, you could use ISO week numbers.  (E.g. strftime's %V.)" CreationDate="2010-08-25T01:25:43.607" />
  <row Id="1162" PostId="1048" Text="@xenoterracide I really think the way you describe here is the best way to do it. A few clearly defined variables on their own lines, then string them together when defining $PS1.  I'm not sure how you could get more readable than that." CreationDate="2010-08-25T02:15:08.023" UserId="85" />
  <row Id="1163" PostId="1226" Score="1" Text="That would wind up skipping a week if there's a month with 3 Thursdays, though." CreationDate="2010-08-25T02:34:46.797" UserId="621" />
  <row Id="1164" PostId="1207" Text="Oops, I can say that Slackware is not for beginers. I have used it quite sometime and although I have experience with Ubuntu beforehand, Slackware was a steep learning curve." CreationDate="2010-08-25T03:50:20.043" UserId="250" />
  <row Id="1165" PostId="1233" Score="4" Text="f course, sed and awk can do this, but I'm having a little trouble understaning exactly what your question is. What exactly is causing you trouble? Inserting new lines? Replacing them? " CreationDate="2010-08-25T04:46:51.130" UserId="1071" />
  <row Id="1166" PostId="1207" Text="Yeah, I'm afraid this really isn't what I had in mind; it wouldn't much different than linking to the Arch pages. It sounds like a great resource, and a great way to learn about linux, but I'm targetting a much wider, more casual, audience here. " CreationDate="2010-08-25T04:50:19.100" UserId="1071" />
  <row Id="1168" PostId="1052" Score="2" Text="I think this sums up why not: http://unix.stackexchange.com/questions/502/what-are-your-favorite-painful-unix-moments/513#513" CreationDate="2010-08-25T08:38:13.130" UserId="210" />
  <row Id="1169" PostId="1231" Text="That I have to modify the udev rule I suspected. But what attribute should I set to what? (PS. I had modify the rules in past so I know what should go where)" CreationDate="2010-08-25T09:43:29.310" UserId="305" />
  <row Id="1170" PostId="1203" Text="PS. You mentioned 'typical issues'. What problems do you have?" CreationDate="2010-08-25T10:06:56.503" UserId="305" />
  <row Id="1171" PostId="1196" Text="yes, *jot* was that command, thanks! Again,I appreciate further suggestions of more advanced sequence generating tools." CreationDate="2010-08-25T10:13:28.260" UserId="1131" />
  <row Id="1172" PostId="1241" Text="The gPXE support is very limited, as that commit message says. There's a framework in place to recognize the authentication packets and pass them off to any functions that might be able to handle them -- but there aren't any such functions provided, so the *actual* .1x support is nil." CreationDate="2010-08-25T10:24:55.827" UserId="1215" />
  <row Id="1174" PostId="1177" Text="+ 1 For the link. Thanks, I will try and return with my feedback." CreationDate="2010-08-25T12:14:33.767" UserId="1175" />
  <row Id="1175" PostId="1135" Text="That's what I figured. At the moment the script we use commits the changes to git, uploads firewall rules to the specified firewall server and runs in the changes so it's all fairly robust. Just seems like it could be better?" CreationDate="2010-08-25T12:34:17.700" UserId="315" />
  <row Id="1176" PostId="968" Text="The sessions menu typically doesn't appear until you enter (or select) your user name, but before you enter your password." CreationDate="2010-08-25T12:42:34.167" UserId="571" />
  <row Id="1177" PostId="596" Text="+1 for BackupPC I use it to backup a group of servers regularly. It also has a good web-based UI." CreationDate="2010-08-25T13:00:31.237" UserId="571" />
  <row Id="1178" PostId="718" Text="Surely you want the initial copy to be expensive, otherwise you don't have a backup, just another link to a single file? Of course, it's also possible that I'm missing some crucial point which makes this comment pointless :-)" CreationDate="2010-08-25T13:05:28.093" UserId="571" />
  <row Id="1179" PostId="1244" Text="common, you will need to tell us more (at least where you see it) if you want an answer" CreationDate="2010-08-25T13:08:40.257" UserId="250" />
  <row Id="1180" PostId="1121" Text="@Jorelli:  Weigh the risks.  There is a danger that you will do something, intelligent or not, that breaks the system, and a likelihood you will be blamed for it if that happens, and a danger that this blame will affect your career.  Figure risks and make an informed decision.  If you have a good supervisor, make sure he or she understands the situation.  " CreationDate="2010-08-25T13:50:10.067" UserId="289" />
  <row Id="1181" PostId="1227" Text="I did ask, thanks! Typical issues are graphics, wireless and/or power saving features. For example, my current laptop, an HP pavilion crashes if I plug in the power cord during boot up. Or if I just close the lid and unplug the laptop, it won't come back." CreationDate="2010-08-25T13:53:01.513" UserId="84" />
  <row Id="1182" PostId="1203" Text="I answered your comment inside your response, Maciej." CreationDate="2010-08-25T13:54:45.930" UserId="84" />
  <row Id="1183" PostId="1182" Text="@Josh K:  Can you give us an ls -l of one of the directories that has the files you are looking for in please?  I'm curious to find out why this isn't working.  " CreationDate="2010-08-25T14:04:15.823" UserId="298" />
  <row Id="1184" PostId="1139" Text="This is one of the parameter substitution methods shown in Mendel Coopers Advanced Bash-scripting guide http://tldp.org/LDP/abs/html/&#xA;" CreationDate="2010-08-25T14:15:01.170" UserId="1157" />
  <row Id="1185" PostId="1052" Score="1" Text="To bring in a car analogy: It's like driving without a seat belt. Possible, but potentially deadly." CreationDate="2010-08-25T14:35:28.040" UserId="261" />
  <row Id="1186" PostId="1243" Score="6" Text="No cautionary tales... but I can imagine your biggest problem would be from heat, laptops suffer from heat problems naturally and aren't really designed to run 24/7" CreationDate="2010-08-25T14:41:21.127" UserId="29" />
  <row Id="1187" PostId="454" Text="Ugh... this really makes me hope [my proposal](http://area51.stackexchange.com/proposals/18782/developer-tools?referrer=-bI3FcA1Z2M1Ef1WF8pECg2) gets some traction because I kinda feel that this has no business here.... this is a site about unix not development environments." CreationDate="2010-08-25T14:43:48.370" UserId="29" />
  <row Id="1189" PostId="1228" Text="can you explain what does this line do : `cat &quot;200 ssh&quot; &gt;&gt; /etc/iproute2/rt_tables` ?" CreationDate="2010-08-25T15:03:15.020" UserId="317" />
  <row Id="1190" PostId="1126" Text="that doesn't get everything in a directory - you've missed dot files, and collect a couple extra lines, too. An empty directory will still return 1 line. And if you call `ls -la`, you will get three lines in the directory. You want `ls -lA | wc -l` to skip the `.` and `..` entries. You'll still be off-by-one, however." CreationDate="2010-08-25T15:14:23.143" />
  <row Id="1191" PostId="1255" Score="1" Text="[Post on another question](http://unix.stackexchange.com/questions/6/what-are-your-favorite-command-line-features-or-tricks/69#69) that discusses Alt+." CreationDate="2010-08-25T15:36:55.820" UserId="73" />
  <row Id="1192" PostId="1255" Text="I was looking for `cd !$`. &quot;Classic history expansion or Readline processing&quot; I don't exactly understand what you mean..." CreationDate="2010-08-25T15:37:25.410" UserId="912" />
  <row Id="1193" PostId="1203" Score="3" Text="(see [this meta discussion](http://meta.unix.stackexchange.com/questions/69/date-specific-questions/70#70))" CreationDate="2010-08-25T15:38:45.443" UserId="73" />
  <row Id="1194" PostId="1251" Text="thanks, exactly.&#xA;I didn't find the link" CreationDate="2010-08-25T15:47:35.610" UserId="250" />
  <row Id="1195" PostId="1179" Text="Thanks for pointing out this utility. I found it in Debian, Ubuntu and Cygwin repositories. I had trouble with the man page, but found some web pages and this Stack Overflow question that helped explain how you were using it. http://stackoverflow.com/questions/417916/how-to-do-a-mass-rename" CreationDate="2010-08-25T16:12:49.737" UserId="1157" />
  <row Id="1196" PostId="1257" Text="@Umang: How did you get the fancy box around Alt?  I didn't see it in the help guide." CreationDate="2010-08-25T16:51:01.113" UserId="689" />
  <row Id="1197" PostId="1227" Text="No. I have both suspend &amp; hibernation. I had minor issues with graphics (sometimes blonks) on 2.6.34/35 but the long term support kernel (2.6.32) works." CreationDate="2010-08-25T16:51:41.813" UserId="305" />
  <row Id="1198" PostId="1203" Text="Thanks, I edited the question" CreationDate="2010-08-25T16:52:05.513" UserId="84" />
  <row Id="1199" PostId="1228" Text="Explained in edit. `/etc/iproute2/rt_tables` is a file which names routing tables by user-readable names." CreationDate="2010-08-25T16:56:04.030" UserId="305" />
  <row Id="1200" PostId="1255" Score="2" Text="@Lazer `!$` is a [history expansion](http://unix.stackexchange.com/questions/6/what-are-your-favorite-command-line-features-or-tricks/67#67); the shell processes it as it parses your command. M-. is a readline keystroke; readline is the library that handles each key you press, and it sees that you pressed M-. and types in the last argument of the last command for you automatically" CreationDate="2010-08-25T17:00:17.447" UserId="73" />
  <row Id="1201" PostId="1241" Text="It's a commit message from a year ago, but I don't know how it works now.  According to the wiki it supposedly works with [some wireless adapters &amp; WPA-Enterprise](http://www.etherboot.org/wiki/wirelessboot/implementation#encrypted_networks_support)." CreationDate="2010-08-25T17:00:37.413" UserId="1002" />
  <row Id="1202" PostId="1247" Text="Now that does look interesting! I'll be giving this one a good read. Thanks!" CreationDate="2010-08-25T17:17:55.907" UserId="315" />
  <row Id="1203" PostId="1257" Score="2" Text="@Banjer: use `&lt;kbd&gt;&lt;/kbd&gt;` tags to surround the key." CreationDate="2010-08-25T17:28:57.870" UserId="912" />
  <row Id="1204" PostId="1257" Text="@Banjer [`&lt;kbd&gt;`](http://unix.stackexchange.com/revisions/2d868206-49e3-4483-9bfe-bf190ec7929d/view-source)" CreationDate="2010-08-25T17:30:16.810" UserId="73" />
  <row Id="1205" PostId="1257" Text="Also, this is the same as [jmb's answer](http://unix.stackexchange.com/questions/1254/how-to-access-the-history-on-the-fly-in-unix/1255#1255)" CreationDate="2010-08-25T17:34:12.820" UserId="73" />
  <row Id="1206" PostId="1188" Text="This works better, but appending `-print0` gives me an output of `binary file matches` in grep. " CreationDate="2010-08-25T17:37:52.243" UserId="163" />
  <row Id="1207" PostId="1231" Text="I managed to &quot;hide&quot; a partition with a rule like: `ENV{ID_FS_UUID}==&quot;6b7f8268-c6a2-4265-9563-78f808b3c1cd&quot;, ENV{UDISKS_PRESENTATION_HIDE}:=&quot;1&quot;` (of course, use the UUID of your partition)." CreationDate="2010-08-25T19:03:51.857" UserId="1002" />
  <row Id="1208" PostId="1231" Text="(This was a rule in a new file 81-* I added to /etc/udev/rules.d/)" CreationDate="2010-08-25T19:05:08.043" UserId="1002" />
  <row Id="1209" PostId="1250" Text="Most internal WiFi are mini-PCI cards that you can replace easily, so you don't really need an external USB dongle that gets in your way..." CreationDate="2010-08-25T19:11:44.930" UserId="1002" />
  <row Id="1210" PostId="1179" Text="Thanks, I added some more information to the answer to make it clearer." CreationDate="2010-08-25T19:28:59.637" UserId="102" />
  <row Id="1211" PostId="1264" Score="1" Text="I've heard that before, although I've personally never heard anyone use the slang &quot;big wheel&quot;. I've also heard that it refers to a &quot;wheel of trust&quot;, but that seems equally dubious, and I've seen [this mailing list question](http://kerneltrap.org/node/17089) that pretty much concludes nobody knows for sure" CreationDate="2010-08-25T19:34:57.270" UserId="73" />
  <row Id="1212" PostId="1264" Text="Find out which unix system first used it... and then try to find the people working there at that time and ask them." CreationDate="2010-08-25T19:51:55.300" UserId="29" />
  <row Id="1213" PostId="1204" Text="@David some models were removed from that... though I don't know which ones. I know the Dell I bought was, but it's a desktop, thought I read a couple months ago that another model was removed from it." CreationDate="2010-08-25T19:53:39.887" UserId="29" />
  <row Id="1214" PostId="1234" Text="This won't work (at least with `crontab` on CentOS 5).  It will run every Thursday, as well as the 1st-7th and 15th-21st days.&#xA;&#xA;From `man 5 crontab`: `Note:  The  day  of a command’s execution can be specified by two fields — day of month, and day of week.  If both fields are restricted (ie, aren’t *), the command will be run when __either__ field matches the current time.  For example, ‘‘30 4 1,15 * 5’’ would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.`" CreationDate="2010-08-25T19:56:43.867" UserId="469" />
  <row Id="1215" PostId="1048" Text="@Sandy can't blame a guy for hoping for some sort of switch like perls regex switch." CreationDate="2010-08-25T19:59:52.013" UserId="29" />
  <row Id="1216" PostId="1226" Score="1" Text="Is there a month that has only 3 Thursdays?  Although I can see it skip a week if there are 5 Thursdays.  It can be updated to `1-7,15-21,29-31`, but then it would run back-to-back if there were any matches for the last set..." CreationDate="2010-08-25T20:01:09.937" UserId="469" />
  <row Id="1217" PostId="1226" Text="By 3 Thursdays, did you mean 3 Thursdays that the script would run and not 3 total Thursdays?  I may have misread it the first time." CreationDate="2010-08-25T20:02:29.397" UserId="469" />
  <row Id="1218" PostId="1264" Score="1" Text="I've always tought it is as in steering wheel - people who have access to steering wheel and therefore can influence the direction of system." CreationDate="2010-08-25T20:55:56.230" UserId="305" />
  <row Id="1219" PostId="1270" Text="Frankly this story seems more plausible to me than the &quot;big wheel&quot; theory. If I had to guess, &quot;big wheel&quot; might have been slang that was used by some of the early UNIX crowd, but probably as a consequence of the wheel group, not the cause thereof. But who knows?" CreationDate="2010-08-25T20:57:17.963" UserId="1071" />
  <row Id="1220" PostId="1258" Score="4" Text="WHOA! This is *actually* going to change my life. Screw you `history | grep ...`!" CreationDate="2010-08-25T21:04:09.783" UserId="880" />
  <row Id="1221" PostId="1271" Score="2" Text="I think you meant agrees with [Jan Claeys](http://unix.stackexchange.com/questions/1262/where-did-the-wheel-group-get-its-name/1264#1264)" CreationDate="2010-08-25T21:19:11.203" UserId="73" />
  <row Id="1222" PostId="1136" Score="1" Text="If you're running X it doesn't get much easier than `thunar -B *.png` for thunar's bulk-rename gui tool." CreationDate="2010-08-25T21:26:23.233" UserId="1235" />
  <row Id="1223" PostId="1266" Text="The exact command upon experimentation, with limiting enabled since we are ignoring robots.txt&#xA;&#xA;wget -e robots=off --limit-rate=80k --recursive --domains=bugzilla.gnome.org --level=5 https://bugzilla.gnome.org/buglist.cgi?product=banshee&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_severity=blocker&amp;bug_severity=critical&amp;bug_severity=major&amp;bug_severity=normal&amp;bug_severity=minor&amp;bug_severity=trivial&amp;gnome_version=" CreationDate="2010-08-25T21:40:00.387" />
  <row Id="1224" PostId="1083" Score="1" Text="@xenoterracide:  It constitutes doing something stupid if you're logged in as root, I'd say." CreationDate="2010-08-25T21:51:28.100" UserId="289" />
  <row Id="1225" PostId="1083" Text="@David I know that ;) that's kinda the point" CreationDate="2010-08-25T22:04:30.913" UserId="29" />
  <row Id="1226" PostId="1203" Text="I'd like to state that I don't actually agree with closing this..." CreationDate="2010-08-25T22:13:06.137" UserId="29" />
  <row Id="1227" PostId="1144" Text="@xenoterracide: In Bash: `[[ -p /dev/stdin ]] &amp;&amp; echo &quot;stdin is from a pipe&quot;`" CreationDate="2010-08-25T22:42:28.243" UserId="382" />
  <row Id="1228" PostId="1133" Text="*facepalm* - I overlooked the fact that you were passing a variable reference and needed to deduct for that. /renews *Weekly Reader* subscription" CreationDate="2010-08-25T22:45:29.630" UserId="382" />
  <row Id="1229" PostId="1260" Text="If you use an abbreviated prompt it makes posts more readable. (I'm referring to removing the user and hostnames. I understand that showing the PWD instead of just `$` is useful when demonstrating `pushd`, etc.)" CreationDate="2010-08-25T22:49:33.780" UserId="382" />
  <row Id="1230" PostId="1224" Text="@Roger: I presume you mean in a conditional within the script." CreationDate="2010-08-25T23:47:39.417" UserId="382" />
  <row Id="1231" PostId="1184" Text="@Josh: if you do `touch xyzzy; find . -name xyzzy -ls; rm xyzzy` do you get any output?" CreationDate="2010-08-26T00:03:52.800" UserId="382" />
  <row Id="1232" PostId="1140" Text="On some systems it may be called `prename`. There is also more than one version of it, regardless of how it's named." CreationDate="2010-08-26T00:13:08.213" UserId="382" />
  <row Id="1233" PostId="1264" Text="It seems like the original source of Wikipedia is [FOLDOC](http://foldoc.org/wheel+bit)." CreationDate="2010-08-26T07:13:43.773" UserId="1002" />
  <row Id="1234" PostId="1273" Score="1" Text="`Note: Time-based session selection is a Debian addition.` ==&gt; are you using the default `screen` from Debian or did you compile one yourself?&#xA;" CreationDate="2010-08-26T07:52:22.550" UserId="1002" />
  <row Id="1235" PostId="208" Text="Very nice. Thanks for this one." CreationDate="2010-08-26T09:08:02.053" UserId="220" />
  <row Id="1236" PostId="162" Score="2" Text="Also check vcprompt: http://vc.gerg.ca/hg/vcprompt/ The same idea, and supports git, mercurial and subversion." CreationDate="2010-08-26T09:13:31.033" UserId="220" />
  <row Id="1237" PostId="1231" Text="Thanks. All I needed was `ENV{UDISKS_PRESENTATION_HIDE}:=&quot;1&quot;` :D" CreationDate="2010-08-26T09:53:10.883" UserId="305" />
  <row Id="1238" PostId="1234" Text="Unfortunately, you are right ... :-(" CreationDate="2010-08-26T10:13:29.860" UserId="678" />
  <row Id="1239" PostId="1285" Score="1" Text="Thanks for your response. &#xA;I prefer to edit file in place to save disk space.&#xA;If nothing helps I will use dd :-)." CreationDate="2010-08-26T10:28:31.837" UserId="57" />
  <row Id="1240" PostId="1283" Text="Ah, cheers! I presumed that the file name would have to appear next anyway so this -f was doing something more special!" CreationDate="2010-08-26T10:45:58.740" UserId="625" />
  <row Id="1242" PostId="1270" Text="Eh, the &quot;big wheel theory&quot; says that it originates in the TENEX OS, which was the predecessor of TOPS-20, so the &quot;big wheel theory&quot; actually *includes* this &quot;BSD theory&quot; (TENEX -&gt; TOPS-20 -&gt; UNIX)." CreationDate="2010-08-26T11:01:35.817" UserId="1002" />
  <row Id="1243" PostId="1263" Score="1" Text="I'm nearly sure it is asked specifically to NOT do this on live.gnome.org. I may be wrong but probably you should doublecheck." CreationDate="2010-08-26T11:07:10.737" UserId="305" />
  <row Id="1244" PostId="1224" Text="@Dennis: Doesn't have to be (e.g. see how my answer checks outside the script), but my main point is it would be much simpler and require no state in the filesystem. However, I realized it has a similar drawback as checking day of the month: some years have 53 weeks and some have 52." CreationDate="2010-08-26T11:07:12.747" />
  <row Id="1245" PostId="1279" Text="I think `vim` has a 4G limit (could be wrong) but I don't think it does it in place (could be wrong)." CreationDate="2010-08-26T11:59:58.290" UserId="29" />
  <row Id="1246" PostId="1251" Text="it wasn't in the top search results either, but some light digging found it okay." CreationDate="2010-08-26T13:15:12.310" UserId="261" />
  <row Id="1247" PostId="1273" Text="@Jan Claeys: I first tried the Debian lenny binary, then building screen from the latest source at git://git.savannah.gnu.org/screen.git. The behaviour was the same." CreationDate="2010-08-26T13:19:09.767" UserId="281" />
  <row Id="1248" PostId="1165" Text="X.org is tried and tested. We might see a new paradigm in the X Window Server when quantum computers appear, but there's no point before then ;)" CreationDate="2010-08-26T13:29:23.157" UserId="261" />
  <row Id="1250" PostId="1254" Score="1" Text="Use TAB-completion for commands and directories not in your recent history list. `cd this&lt;TAB&gt;`" CreationDate="2010-08-26T13:37:04.060" UserId="261" />
  <row Id="1251" PostId="1288" Text="I know zsh handles the first point fine, but I've never seen anything handle the second point. What do you mean by the last one? I'm not sure I understand what you want." CreationDate="2010-08-26T13:38:48.070" UserId="137" />
  <row Id="1252" PostId="1288" Score="1" Text="I can see the advantage of that, but personally i would HATE that in my shell. I usually keep 3 or 4 tabs open in my terminal for very specific uses: one for running 'make', one with vi, one to run stuff, etc. So when I compile, I go to tab 1, hit up and 'make' comes up, and so on. This is extremely productive to me. So if suddenly I go to my 'make' tab and hit up and some random grep command shows up, I'd get really pissed off! Just a personal note though&#xA;" CreationDate="2010-08-26T13:42:00.837" UserId="659" />
  <row Id="1253" PostId="1286" Text="I don't have truncate installed :(." CreationDate="2010-08-26T13:56:39.293" UserId="57" />
  <row Id="1254" PostId="1286" Text="It is in coreutils (at least 8.5)." CreationDate="2010-08-26T14:02:11.163" UserId="305" />
  <row Id="1255" PostId="1286" Text="Also according to http://packages.ubuntu.com/ it is present in ubuntu 9.10 and 10.04" CreationDate="2010-08-26T14:08:16.857" UserId="305" />
  <row Id="1256" PostId="1288" Text="@axel_c that's true enough. I can't think of an intelligent way to do it where existing terminals only see their own history but new ones see a chronologically accurate list of commands." CreationDate="2010-08-26T15:01:52.097" UserId="880" />
  <row Id="1257" PostId="1253" Text="Yes, backup is an other really important topic. In my opinion the most neglected topic by home users. " CreationDate="2010-08-26T15:02:14.407" UserId="1103" />
  <row Id="1258" PostId="1286" Score="3" Text="@Maciej He says he's using HP-UX, not Ubuntu." CreationDate="2010-08-26T15:38:39.937" UserId="1071" />
  <row Id="1260" PostId="1255" Text="@Michael Mrozek: thanks!" CreationDate="2010-08-26T15:43:25.270" UserId="912" />
  <row Id="1262" PostId="1296" Text="No, that yanks line numbers 4 to 12." CreationDate="2010-08-26T16:00:50.230" UserId="912" />
  <row Id="1263" PostId="1296" Text="I meant copy and paste line 4, to line 12." CreationDate="2010-08-26T16:01:40.947" UserId="912" />
  <row Id="1264" PostId="1296" Text="Edited. Is this what you wanted?" CreationDate="2010-08-26T16:10:11.407" UserId="595" />
  <row Id="1265" PostId="1295" Text="I answered your question base on the fact that &quot;yank me!&quot; is on line 4. In your 2nd screenshot, it appears on line 5." CreationDate="2010-08-26T16:29:34.067" UserId="84" />
  <row Id="1266" PostId="365" Text="@spudd86&#xA;&#xA;Agreed. The article I provided it's not that accurate. Thanks for providing another link." CreationDate="2010-08-26T16:35:53.700" UserId="125" />
  <row Id="1267" PostId="1294" Text="wow ... this is what I am looking for. Will be usful in future as well :-). Thanks." CreationDate="2010-08-26T17:07:26.400" UserId="57" />
  <row Id="1268" PostId="718" Text="@Dr-jan : I agree with you. However, I think some users expect the initial copy to be fast." CreationDate="2010-08-26T17:11:16.127" UserId="4" />
  <row Id="1269" PostId="1298" Text="Thanks for your response. I prefer to edit file in place to save disk space and memory. " CreationDate="2010-08-26T17:31:16.600" UserId="57" />
  <row Id="1270" PostId="1279" Score="1" Text="@xenoterracide:  I don't have vim here :-( and vi gives &quot;Tmp file too large&quot; Error." CreationDate="2010-08-26T17:39:17.507" UserId="57" />
  <row Id="1271" PostId="144" Text="After further tests, I recommend not to use either swapiness 100 nor 0. Both have created situations in which the desktop got into a swapping craze which even had the panel clock stop for more than 20 mins." CreationDate="2010-08-26T17:56:35.787" UserId="5" />
  <row Id="1272" PostId="1295" Text="Thanks @Louis for the answer. I have updated the screenshot." CreationDate="2010-08-26T18:23:38.700" UserId="912" />
  <row Id="1273" PostId="1165" Score="1" Text="An example for lack of &quot;modern&quot; approach, is the non-standard hell that maintaining different language inputs in an X is. It's straightforward to do that in Windows, and there's no way any program would reverse the capslock behavior in Windows. In 2010, this bug happens with X http://www.barregren.se/blog/openoffice-reverse-caps-lock" CreationDate="2010-08-26T18:31:45.343" UserId="1262" />
  <row Id="1274" PostId="1184" Text="@Dennis: Yes, I get the xyzzy file." CreationDate="2010-08-26T19:41:42.807" UserId="163" />
  <row Id="1275" PostId="1288" Text="@durin42 actually... zsh handles the second point to if you set up the history stuff right." CreationDate="2010-08-26T20:27:34.783" UserId="29" />
  <row Id="1276" PostId="1055" Text="@Hugo, could be useful as a reference to which old device is still usable today. (Say, I'm wondering if I can do something with my old 486)." CreationDate="2010-08-26T20:38:53.380" UserId="1262" />
  <row Id="1277" PostId="1184" Text="@JoshK: Then if `find . -name cover\.pdf` doesn't output anything then there's no file by that name under that directory." CreationDate="2010-08-26T22:23:35.540" UserId="382" />
  <row Id="1278" PostId="1292" Score="3" Text="here is a more elaborate way to share history between bash sessions: http://stackoverflow.com/questions/103944/real-time-history-export-amongst-bash-terminal-windows/3055135#3055135" CreationDate="2010-08-27T00:19:06.220" UserId="1170" />
  <row Id="1279" PostId="1288" Text="related: http://stackoverflow.com/questions/103944/real-time-history-export-amongst-bash-terminal-windows" CreationDate="2010-08-27T00:19:22.757" UserId="1170" />
  <row Id="1281" PostId="1207" Text="I agree that Slackware has a steep learning curve but still, I think it is a good distro for a beginner if (s)he mind to put the effort for that it demands but, although, I get what you mean with a &quot;wider, more casual, audience&quot;." CreationDate="2010-08-27T05:38:51.953" UserId="313" />
  <row Id="1282" PostId="1165" Text="@Elazar Leibovich: i don't know about that specific bug, but are you sure it's an X issue? i can't see it in the launchpad page... anyway, my point is that, although we agree xorg is a mess, rewriting it would be even messier." CreationDate="2010-08-27T06:14:48.103" UserId="659" />
  <row Id="1285" PostId="1304" Score="1" Text="Right. What goes wrong then, because the iPod I have just shows itself as a USB device and Rhythmbox seems perfectly able of handling it. Of course, I run Rockbox on it, which is a lot less picky of where MP3 files should be stored and what they should be named..." CreationDate="2010-08-27T06:24:56.437" UserId="272" />
  <row Id="1286" PostId="1310" Text="Ah... Thank you. New to linux..." CreationDate="2010-08-27T06:25:42.827" UserId="1270" />
  <row Id="1287" PostId="1260" Text="I'have fixed, thank you." CreationDate="2010-08-27T07:14:03.723" UserId="1186" />
  <row Id="1288" PostId="198" Text="+1 for mentioning `CMake`. " CreationDate="2010-08-27T09:57:45.220" UserId="515" />
  <row Id="1289" PostId="1263" Text="to late I was already banned.. for attempting to increase my productivity. I even observed every kindness recommended by wget to specifically not put an undue load on the server.&#xA;&#xA;Regardless putting such a warning on a separate website just won't cut it. &#xA;&#xA;There should be a way to do this, it is simply not realistic to expect everyone to be online at all times. All I want to do is continue to be able to review the some 600 bugs left in Banshee while I am travelling.&#xA;&#xA;I guess those bug reviews will be left to other people again since I am now entirely without tools to do so." CreationDate="2010-08-27T11:01:35.233" />
  <row Id="1290" PostId="1266" Text="Doing so gets your IP banned, just for reference." CreationDate="2010-08-27T11:02:34.700" />
  <row Id="1291" PostId="1286" Score="1" Text="GNU Coreutils for HP-UX&#xA;&#xA;http://hpux.connect.org.uk/hppd/hpux/Gnu/coreutils-8.5/&#xA;" CreationDate="2010-08-27T13:20:11.160" UserId="1147" />
  <row Id="1292" PostId="1314" Text="Isn't that controlled by the user creating the new file/folder, and his umask?" CreationDate="2010-08-27T15:02:53.030" UserId="1278" />
  <row Id="1293" PostId="1315" Score="1" Text="Yay for the sticky bit!" CreationDate="2010-08-27T15:11:37.567" UserId="298" />
  <row Id="1294" PostId="1314" Text="umask does relate to permissions but I do not believe it does anything with setting a default group that is not the user him/herself. " CreationDate="2010-08-27T15:31:14.903" UserId="1253" />
  <row Id="1295" PostId="1270" Text="I'm sure people have asked this question before. If the &quot;Wheel in the sky&quot; theory was true, there would be some discussion of this in the [Usenet archives from 1981-1990](http://groups.google.com/groups/search?safe=off&amp;q=unix+%22wheel+in+the+sky%22&amp;as_mind=1&amp;as_minm=1&amp;as_miny=1981&amp;as_maxd=1&amp;as_maxm=1&amp;as_maxy=1990&amp;as_drrb=b&amp;sitesearch=). But there is zero discussion of this theory." CreationDate="2010-08-27T15:38:45.837" UserId="4" />
  <row Id="1296" PostId="1271" Text="This theory is backed up by this Usenet posting from Oct 5, 1987: [JARGON part 2 of 2  ](http://groups.google.com/group/comp.doc/browse_thread/thread/44211ab71573ee8c/dbd1849448e8e6d8?q=TWENEX++wheel#dbd1849448e8e6d8)" CreationDate="2010-08-27T15:45:48.363" UserId="4" />
  <row Id="1297" PostId="1315" Text="&quot;Finding&quot; the answer and answering your own question 97 seconds after you asked it makes it seem somewhat like you already had the answer at the start. You're completely allowed to post questions you already know the answer to, if you think other people will have similar problems (and this is definitely a good question to have on the site), although it's usually considered polite to give other people a chance to answer if you already knew the answer going in" CreationDate="2010-08-27T16:15:21.053" UserId="73" />
  <row Id="1298" PostId="1320" Score="1" Text="Nice. You can use `echo -n` to omit the newline at the end so `od` doesn't pick it up and turn it into `0a`" CreationDate="2010-08-27T17:07:28.363" UserId="73" />
  <row Id="1299" PostId="1315" Text="I see your point, but in this case I just did some looking around after posting assuming an answer would be posted by the time I came back.  Sure enough I found a great forum post summing it up in a nutshell so I thought I would save everyone the trouble.  Sorry for the problem." CreationDate="2010-08-27T17:21:44.440" UserId="1253" />
  <row Id="1300" PostId="178" Text="+1 for IRSSI :-) " CreationDate="2010-08-27T17:25:34.807" UserId="1253" />
  <row Id="1301" PostId="1315" Text="@Chris No problem, you're apparently just really fast at searching :). Good question either way" CreationDate="2010-08-27T18:06:46.910" UserId="73" />
  <row Id="1302" PostId="1321" Score="1" Text="Do you want to whitelist certain sites to not be proxied, or do you want a switch you can flip to turn the proxy on and off at will? If you just want a whitelist your browser probably has an option for that already, and you can use a normal SSH proxy" CreationDate="2010-08-27T18:20:36.107" UserId="73" />
  <row Id="1303" PostId="1293" Text="Maybe you should also mention what SSD are you using. Not all SSDs are equal." CreationDate="2010-08-27T18:36:26.900" UserId="1174" />
  <row Id="1304" PostId="1284" Score="1" Text="&gt; *If you oppress the -f parameter, output is passed to stdout*.&#xA;&#xA;This is true with GNU tar, but I remember that on Solaris the default was a tape device (`/dev/rmt0` or something like this)." CreationDate="2010-08-27T18:42:29.807" UserId="1174" />
  <row Id="1305" PostId="1323" Text="Did you do this at `/` or another directory?" CreationDate="2010-08-27T19:09:44.897" UserId="160" />
  <row Id="1306" PostId="1323" Text="@gvkv: Not `/`, a directory completely owned by me." CreationDate="2010-08-27T19:12:46.437" UserId="59" />
  <row Id="1307" PostId="1324" Text="Unfortunately, that's not useful for me, because this directory is less than a day old and not on backup yet. It may help someone else though." CreationDate="2010-08-27T19:46:49.427" UserId="59" />
  <row Id="1308" PostId="1325" Text="I'm not worried so much about false positives as false negatives. There are binaries that I don't think start with `#!`." CreationDate="2010-08-27T19:48:49.347" UserId="59" />
  <row Id="1309" PostId="1324" Score="2" Text="Rollback is not possible but fixing this is." CreationDate="2010-08-27T20:19:31.890" UserId="29" />
  <row Id="1310" PostId="1248" Text="Not so sure about this Apple imposed stuff. Actually some you can boot without rEFIt or anything installed as described in the link to the Ubuntu Forums below. But this is pretty complicated and kills graphics performance. But I have not given up hope for simpler ways. :-)" CreationDate="2010-08-27T20:20:15.167" UserId="90" />
  <row Id="1311" PostId="1323" Score="1" Text="@Larry in the future you should probably use some variant of +x rather than raping all permissions, and possibly causing writes on all files." CreationDate="2010-08-27T20:38:38.900" UserId="29" />
  <row Id="1313" PostId="1323" Text="@xenoterracide: Agreed. What I really wanted was to give group same permissions as me (which did end up happening!), I just didn't do enough thinking before I typed." CreationDate="2010-08-27T20:48:40.333" UserId="59" />
  <row Id="1315" PostId="473" Text="Sadly, terminal.app does steal the meta- characters, so commands like (M-f and M-b)[http://www.gnu.org/software/bash/manual/bashref.html#Readline-Movement-Commands] don't work." CreationDate="2010-08-27T20:53:27.313" UserId="4" />
  <row Id="1317" PostId="1283" Text="@Toby:  I suspect this is for historical reasons.  &quot;tar&quot; is short for &quot;tape archive&quot;, and presumably the original versions didn't envision people using disk files for archives all that often." CreationDate="2010-08-27T21:10:17.777" UserId="289" />
  <row Id="1318" PostId="1326" Score="1" Text="I don't know but the best source of SELinux info is probably the book (amazon link) [SELinux by Example: Using Security Enhanced Linux](http://www.amazon.com/gp/product/0131963694?ie=UTF8&amp;tag=xenotsblog-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0131963694)" CreationDate="2010-08-27T21:19:29.737" UserId="29" />
  <row Id="1319" PostId="1327" Score="1" Text="Make that `grep -L '^#!'` at least (the quotes are necessary, and `^` restricts to matching at the beginning of the line), but it's still too permissive as it matches `#!` on any line. Using `xargs` will fail with file names containing spaces or quoting characters; use `xargs -d '\n'` (requires GNU `xargs`)." CreationDate="2010-08-27T21:30:01.690" UserId="885" />
  <row Id="1320" PostId="1328" Text="Thanks! Fortunately, I think everything falls into these two categories. If this misses anything, I can deal with it later." CreationDate="2010-08-27T21:35:12.987" UserId="59" />
  <row Id="1321" PostId="1323" Text="How many files are we talking about?  How many should be executable?  Is there any way to tell from the file names?" CreationDate="2010-08-27T21:48:28.950" UserId="289" />
  <row Id="1322" PostId="1279" Text="@Hernant:  That message tells you all you need to know about editing in place:  vi is trying to copy it over to /tmp to work on.  I think vim will do the same thing, and it does like to create a backup in the same directory." CreationDate="2010-08-27T21:50:58.323" UserId="289" />
  <row Id="1323" PostId="1293" Text="@Cristian: Added. It's an OCZ Agility." CreationDate="2010-08-27T22:31:51.123" UserId="880" />
  <row Id="1324" PostId="1323" Text="@David: About 10k files, with about 300 or so that were supposed to be executable. Only indication in the file name is shell scripts end with .sh and perl scripts end in .pl, but those I could tell from the `#!` at the start anyways." CreationDate="2010-08-27T22:40:45.683" UserId="59" />
  <row Id="1325" PostId="855" Score="15" Text="+1 for quotable &quot;Only with root can true pain (and thus enlightenment) be achieved.&quot;" CreationDate="2010-08-27T22:49:44.323" UserId="4" />
  <row Id="1326" PostId="1331" Score="1" Text="not sure what XBMC is but I would not recommend ext2, use ext3 or ext4. If you're sharing via network it doesn't matter what the local fs is. The network fs will abstract that." CreationDate="2010-08-27T23:48:30.767" UserId="29" />
  <row Id="1328" PostId="1331" Text="@xeno [XBMC](http://xbmc.org/about/)" CreationDate="2010-08-27T23:51:16.603" UserId="73" />
  <row Id="1329" PostId="1331" Text="@xenoterracide Sorry I should have linked to it. It is basically a media center platform. If you would not recommend ext2, ext3, or ext4 what would you suggest or are you saying it doesn't really matter?" CreationDate="2010-08-27T23:52:45.003" UserId="1282" />
  <row Id="1330" PostId="1316" Score="3" Text="See [my answer](http://stackoverflow.com/questions/3585765/convert-ascii-code-to-hexadecimal-in-unix-shell-script/3587553#3587553) to this question which you cross-posted on Stack Overflow." CreationDate="2010-08-27T23:53:48.947" UserId="382" />
  <row Id="1331" PostId="1331" Text="@jschoen no I'm saying I would not recommend ext2 (I only use it for /boot ). Use ext3 or ext4. The recovery capabilities are worth it..." CreationDate="2010-08-28T00:10:08.687" UserId="29" />
  <row Id="1332" PostId="1331" Text="@xenoterracide Oh, how did I misread that. Thanks for the the suggestions. Will probably do ext3 now. The process was not the bad." CreationDate="2010-08-28T00:38:37.730" UserId="1282" />
  <row Id="1333" PostId="1332" Text="@jschoen fdisk is such a pita. I avoid it if I can... cfdisk is much nicer on cli." CreationDate="2010-08-28T01:05:56.770" UserId="29" />
  <row Id="1334" PostId="994" Text="@phunehehe I've been using Vim for 3 years now and don't think I've ever hit the End key.  What do you use it for?" CreationDate="2010-08-28T04:52:35.213" UserId="1287" />
  <row Id="1335" PostId="1201" Text="What is the R way to get x random numbers from a given interval? E.g. 100 random numbers between 10 and 200 (e.g. from the normal distribution)?" CreationDate="2010-08-28T07:33:23.927" UserId="1131" />
  <row Id="1336" PostId="986" Text="`M-! emacs RET` It's like search google for &quot;google&quot;" CreationDate="2010-08-28T09:14:52.550" UserId="12" />
  <row Id="1337" PostId="784" Text="sudo and su, are tools, like any command. No need to mix feelings with utility. sudo brings flexible configuration, auditing, and usability to su. Of course one needs to know about the various possibilities and actually need them in order to recognize the benefits.&#xA;&#xA;I think this &quot;false sense of security&quot; you're talking about should be more appropriately targeted at Ubuntu &quot;root account disabled&quot; policy.&#xA;&#xA;That's the difference between a tool and a policy. One can make good arguments against a policy. Denying the usefulness of a tool because one does not agree with a policy is plain wrong." CreationDate="2010-08-28T10:48:50.073" UserId="651" />
  <row Id="1338" PostId="994" Text="@Joe to move to the end of a line in edit mode. I know I could have hit Esc then A but that's 2 key strokes. Is there anyway faster?" CreationDate="2010-08-28T13:03:12.050" UserId="250" />
  <row Id="1339" PostId="1300" Text="If I understand correctly, patches for this should go into [linux 2.6.37](http://www.phoronix.com/scan.php?page=news_item&amp;px=ODU0OQ)." CreationDate="2010-08-28T13:39:18.420" UserId="1002" />
  <row Id="1340" PostId="1303" Text="Using `anacron` is clearly the cleanest solution IMO (unless it has some unwanted consequences for some people)." CreationDate="2010-08-28T14:07:42.260" UserId="1002" />
  <row Id="1341" PostId="1340" Text="I couldn't find or create any tags such as `archive`, `compression` etc. Could someone else add the correct one?" CreationDate="2010-08-28T15:43:39.557" UserId="131" />
  <row Id="1342" PostId="1339" Text="I put `-stop-xscreensaver` in `~/.mplayer/config` when trying to play a video I got this error: `Option -stop-xscreensaver needs a parameter at line 2` ideas?&#xA;" CreationDate="2010-08-28T15:47:51.203" UserId="29" />
  <row Id="1343" PostId="1341" Text="It does depend on the version of tar which formats it can autodetect but other than that it works well... IIRC `star` is actually a more standardized way, where GNU's tar is a non standard extension." CreationDate="2010-08-28T17:05:56.050" UserId="29" />
  <row Id="1344" PostId="1343" Score="6" Text="probably using a `curses` interface... but I think this is more heavily a programming question and belongs on SO" CreationDate="2010-08-28T17:21:55.533" UserId="29" />
  <row Id="1345" PostId="1339" Score="2" Text="@xeno Every option in the config file needs to have a value; if it's just a boolean flag, set it equal to `true`, `yes`, or `1`. You also shouldn't include the `-` when you're using the config file, so you'll get a warning about an unknown option (it sees your entry for `-stop-xscreensaver` and looks for the flag `--stop-xscreensaver`); it should read `stop-xscreensaver=true` instead" CreationDate="2010-08-28T18:03:01.310" UserId="73" />
  <row Id="1346" PostId="1283" Text="@David - Very interesting, cheers!" CreationDate="2010-08-28T18:17:42.010" UserId="625" />
  <row Id="1347" PostId="1333" Text="@maxschlepzig Thanks for the info and the easier process. I did end up going ahead and using ext3 as everyone seemed to suggest." CreationDate="2010-08-28T19:49:14.413" UserId="1282" />
  <row Id="1348" PostId="1137" Text="me too. 16 MHz turbo, 8 MHz normal" CreationDate="2010-08-28T19:53:03.593" UserId="1298" />
  <row Id="1349" PostId="994" Text="@phunehehe hitting either of those keys requires me to remove my hands from the home row. I'd prefer to hit 2 keys than doing that." CreationDate="2010-08-28T20:36:04.410" UserId="29" />
  <row Id="1350" PostId="1201" Text="I added info on mimicking lcpriani's `jot` command to the above answer. As for limiting values for `rnorm()`, that's not the way the normal distribution works.  If you take the default mean of 0 and SD of 1, then 1000 is still a possible return value, it's just exceedingly unlikely.  R would let you write something that would clamp the values to remove things outside a given range, but then you'd probably be misusing the normal distribution." CreationDate="2010-08-28T21:13:31.507" UserId="138" />
  <row Id="1351" PostId="389" Text="Another good reason was that GRUB didn't support *ext4*, only *ext3*, so if you wanted to use ext4 for `/` you had to have a separate `/boot` partition." CreationDate="2010-08-29T01:15:34.917" UserId="1174" />
  <row Id="1352" PostId="359" Text="Regarding the size, &quot;for Fedora 13 the default /boot partition size was increased to 500 MiB to avoid these problems in the future&quot;. (from http://fedoraproject.org/wiki/Common_F13_bugs#Preupgrade_doesn.27t_work_with_default-sized_.2Fboot_partition)" CreationDate="2010-08-29T01:28:57.430" UserId="1174" />
  <row Id="1353" PostId="1291" Text="Hmm. whylinuxisbetter.net is close to what I'm after, though there's still something less than fully professional about it, but perhaps I'm being too picky." CreationDate="2010-08-29T02:37:11.257" UserId="1071" />
  <row Id="1354" PostId="1236" Text="+1 for the `sed` multiliner." CreationDate="2010-08-29T06:36:02.863" UserId="912" />
  <row Id="1356" PostId="1355" Score="4" Text="Bear in mind this is shell-specific. ZSH builds it in, BASH does not." CreationDate="2010-08-29T10:11:21.270" UserId="179" />
  <row Id="1360" PostId="1350" Text="Could you please at least check before you answer something? It is about Intel Macs. They have no bios and what you propose just won't work." CreationDate="2010-08-29T11:35:39.073" UserId="90" />
  <row Id="1361" PostId="854" Score="6" Text="I do that all the time, on all kinds of platforms. Works as intended on OpenBSD, NetBSD, Linux, and OpenSolaris." CreationDate="2010-08-29T13:47:13.627" UserId="1290" />
  <row Id="1362" PostId="1339" Text="@Michael now if only I could do the same thing with flash/&lt;video&gt;" CreationDate="2010-08-29T14:12:05.340" UserId="29" />
  <row Id="1363" PostId="994" Text="@xenoterracide but reaching Esc requires quite some movement of the left hand, doesn't it? Hitting End looks more comfortable to me. Anyway I don't feel the need to argue about this :)" CreationDate="2010-08-29T14:33:01.893" UserId="250" />
  <row Id="1364" PostId="994" Score="1" Text="@phunehehe I don't use esc. I use ctrl+[ it does the same thing ;)" CreationDate="2010-08-29T14:57:49.867" UserId="29" />
  <row Id="1366" PostId="1363" Text="Thanks for the pointer, but I can't find any relevant info on how to set termcap to allow this, and -a doesn't help." CreationDate="2010-08-29T19:42:24.393" UserId="179" />
  <row Id="1367" PostId="1355" Score="5" Text="@tsv: `echo` most certainly *is* a Bash builtin. In fact, it's a builtin in every major modern shell." CreationDate="2010-08-29T20:19:01.790" UserId="382" />
  <row Id="1368" PostId="1367" Text="Are there any messages in `kern.log` at the time of the segfaults? A message about `oom-killer` would indicate that your system doesn't have enough virtual memory, which could mean that swap isn't being used. Is this a virtualized server (and what kind)?" CreationDate="2010-08-29T20:24:09.850" UserId="885" />
  <row Id="1369" PostId="1321" Text="This question is also interesting in the context of using *Tor* `http://en.wikipedia.org/wiki/Tor_(anonymity_network)`. Tor *exit nodes* can spy data, such as passwords, and can potentially perform man in the middle attacks. Therfore Tor users need a way for routing only part of the traffic through Tor." CreationDate="2010-08-29T20:46:29.107" UserId="1103" />
  <row Id="1370" PostId="1368" Text="Thanks, that worked well to gobble up memory and start swapping. I guess my segfaults are caused by something else... probably hardware :/" CreationDate="2010-08-30T00:40:39.047" UserId="1314" />
  <row Id="1371" PostId="1367" Text="There are no oom-killer entries in the log just stuff like `segfault at 54 ip b7619ba8 sp bf9c3380 error 4` I'm thinking it's a hardware problem which is going to be a pain to track down. This is a physical server with dual Athlon MP 2000+ processors and 1.5GB of RAM. It runs fairly stably but segfaults during compiles." CreationDate="2010-08-30T00:45:08.603" UserId="1314" />
  <row Id="1372" PostId="1367" Text="Well, turned out that the case fans were not plugged in which was causing issues when the server would start doing anything processor intensive causing it to overheat." CreationDate="2010-08-30T01:35:23.700" UserId="1314" />
  <row Id="1373" PostId="1375" Text="Does chsh permanently change the shell or just for the current session?" CreationDate="2010-08-30T02:35:37.433" UserId="58" />
  <row Id="1374" PostId="1374" Text="Could you be more specific about how to edit /etc/passwd to make the change permanent?" CreationDate="2010-08-30T02:36:09.117" UserId="58" />
  <row Id="1375" PostId="1375" Score="4" Text="@mouche Permanently; it changes your entry in `/etc/passwd`" CreationDate="2010-08-30T02:36:13.237" UserId="73" />
  <row Id="1376" PostId="1374" Score="8" Text="You probably want to use `chsh` instead of manually editing `passwd`" CreationDate="2010-08-30T02:38:20.253" UserId="73" />
  <row Id="1377" PostId="1378" Text="I was just thinking of how to answer it using watch." CreationDate="2010-08-30T02:51:47.097" UserId="195" />
  <row Id="1378" PostId="1377" Score="3" Text="Random note: `awk` takes a filename, so you can skip the pipe and just do `awk -F: '{print $1}' /etc/passwd`" CreationDate="2010-08-30T02:56:12.690" UserId="73" />
  <row Id="1379" PostId="1373" Score="4" Text="Just because `$` came up rather than `username@computername:~$` doesn't mean it wasn't bash. The exact formatting of the prompt is set by the PS1 variable, which can be set up or customized differently for different users." CreationDate="2010-08-30T02:58:27.557" UserId="1071" />
  <row Id="1380" PostId="1379" Text="Wow, that's pretty slick. Thanks." CreationDate="2010-08-30T03:34:45.877" UserId="58" />
  <row Id="1381" PostId="1377" Text="Works for me, thanks." CreationDate="2010-08-30T03:36:01.027" UserId="58" />
  <row Id="1382" PostId="1359" Text="thanks @Warren!" CreationDate="2010-08-30T05:32:30.700" UserId="912" />
  <row Id="1383" PostId="1387" Text="Is there a way to lock scrolling between the two windows?" CreationDate="2010-08-30T09:37:39.850" UserId="446" />
  <row Id="1384" PostId="1388" Text="Not quite what I had in mind, but is an interesting alternative." CreationDate="2010-08-30T09:50:46.567" UserId="446" />
  <row Id="1385" PostId="290" Text="Awesome!  I needed that feature and did not know it existed!" CreationDate="2010-08-30T10:13:05.390" UserId="80" />
  <row Id="1386" PostId="1387" Text="Yes, check out http://vimdoc.sourceforge.net/htmldoc/options.html#%27scrollbind%27 - with vimdiff it is the default." CreationDate="2010-08-30T10:17:59.287" UserId="1131" />
  <row Id="1387" PostId="1361" Text="I believe he is asking how to write an app that polls at regular intervals not about top or htop specifically." CreationDate="2010-08-30T10:18:33.767" UserId="1253" />
  <row Id="1388" PostId="1311" Text="Apple doesn't really play cat and mouse games.  However, they're very clear on what they do or do not support, and pay no attention to what they don't.  For example, they don't support jailbreaking iOS, so all such is done through security holes, which Apple fixes when it finds them, and Apple doesn't care what updates may do to jailbroken iDevices.  Bear in mind that current iTunes should work with most iP*s out there, and current iP*s should work with lots of generations of iTunes, so they don't have all that much flexibility." CreationDate="2010-08-30T12:25:49.667" UserId="289" />
  <row Id="1389" PostId="1374" Text="@Michael there are about 5 (POOMA) different ways to change the shell in `/etc/passwd` I didn't feel like listing any of them, because I always do it manually. chsh and usermod can both do it." CreationDate="2010-08-30T12:27:08.227" UserId="29" />
  <row Id="1390" PostId="1319" Text="thx a lot, it works perfectly " CreationDate="2010-08-30T12:32:10.930" UserId="275" />
  <row Id="1391" PostId="1374" Text="@mouche I updated my answer." CreationDate="2010-08-30T12:35:29.173" UserId="29" />
  <row Id="1392" PostId="1391" Text="I don't want to see how my hdd has been partitioned. I want to see the partition table &quot;itself&quot;." CreationDate="2010-08-30T12:40:27.303" UserId="1289" />
  <row Id="1393" PostId="1373" Score="1" Text="@mouche Re: @frabjous `echo $SHELL` to find out what your current shell is." CreationDate="2010-08-30T12:41:25.850" UserId="29" />
  <row Id="1394" PostId="1373" Score="1" Text="@mouche @frabjous and beginning with a $ is actually common for bash, some non bash shells like zsh use the % out of the box, I believe other shells use other things." CreationDate="2010-08-30T12:48:43.917" UserId="29" />
  <row Id="1396" PostId="1339" Text="@xenoterracide you can use mplayer to watch flash videos, load the video, look in /tmp and play the video with mplayer :P" CreationDate="2010-08-30T12:56:14.913" UserId="1135" />
  <row Id="1401" PostId="1377" Text="I always seem to forget that awk takes a filename, I always seem to use it in a pipeline...something like sed | awk etc..." CreationDate="2010-08-30T14:39:15.677" UserId="1322" />
  <row Id="1402" PostId="1393" Score="1" Text="The original poster's tests don't support the hypothesis that `/bin/echo` doesn't exist.  They just show that the builtin takes precedence over any `echo` program in the PATH." CreationDate="2010-08-30T14:54:31.883" UserId="138" />
  <row Id="1403" PostId="1383" Text="Hmm they're talking about making illumos into a distribution at some point, so I guess we have to wait and see.&#xA;Aside of Nexenta, are there other OSOL &quot;clones&quot;?" CreationDate="2010-08-30T16:04:11.327" UserId="1290" />
  <row Id="1404" PostId="1373" Text="@xeno it was /bin/sh and something I tried to do didn't work like it would in BASH." CreationDate="2010-08-30T16:15:41.523" UserId="58" />
  <row Id="1405" PostId="1373" Score="1" Text="@mouche being `/bin/sh` often doesn't mean much that's usually a symlink to something else. I'd type `ls -l /bin/sh` to see what it's a symlink to. In some cases being a symlink to something changes its behavior, I don't think bash is that way." CreationDate="2010-08-30T16:22:59.730" UserId="29" />
  <row Id="1406" PostId="1394" Text="Do you mean solely X-based or simply a GUI app?  If you need X-only, then ignore my answer below." CreationDate="2010-08-30T16:54:25.610" UserId="1207" />
  <row Id="1408" PostId="1388" Text="What is wrong with this answer?" CreationDate="2010-08-30T17:48:30.943" UserId="1253" />
  <row Id="1411" PostId="31" Text="For the record `v` opens `$EDITOR` with local file - not necessary vi/vim." CreationDate="2010-08-30T18:06:10.163" UserId="305" />
  <row Id="1412" PostId="1383" Score="1" Text="OS/Net was not completely open source, there were components that were still closed.  As a result, until Illumos rewrites those missing components they won't have a full distro.  Nextenta)S, BeleniX, SchilliX are all OS/Net based distros." CreationDate="2010-08-30T19:32:42.320" UserId="1184" />
  <row Id="1413" PostId="31" Text="Edited in that change!  Thanks Maciej!  I did not know that one!" CreationDate="2010-08-30T20:04:34.197" UserId="80" />
  <row Id="1414" PostId="1402" Score="2" Text="If you use that `dd` command, be very careful not to type `of=` instead of `if=`. `if=` means input file, while `of=` means output file, i.e. overwrite your disk." CreationDate="2010-08-30T20:54:18.210" UserId="885" />
  <row Id="1415" PostId="1377" Text="@Matthew: almost everything that works with files take a filename (`tr` and `at` are a couple examples of the few things that don't)." CreationDate="2010-08-30T22:04:27.597" UserId="382" />
  <row Id="1416" PostId="255" Score="1" Text="For the described &quot;odd&quot; behavior of `su`: `su` alone only gives you root privileges, the current environment and PWD stays the same. `su -` puts you in a fresh environment and into root's home directory.  " CreationDate="2010-08-30T22:21:32.083" UserId="1103" />
  <row Id="1417" PostId="1388" Score="1" Text="+1 for keeping it simple." CreationDate="2010-08-30T22:59:36.493" UserId="4" />
  <row Id="1418" PostId="1394" Score="1" Text="I want something very simple which can read the mail from cron jobs only.&#xA;&#xA;" CreationDate="2010-08-30T23:32:49.233" />
  <row Id="1419" PostId="1399" Text="@Maciej is it mounted when this is happening? are there any errors in dmesg? what have you updated? I would like to say it's possible the drive is going wonky... I've seen hardware do some crazy things (phantom clicks was my favorite for a mouse going bad)" CreationDate="2010-08-31T00:03:33.927" UserId="29" />
  <row Id="1420" PostId="1383" Text="I wonder how seamless (if at all) the transition from OS/Net to illumos will be. BelleniX is kinda out dated right now, so I'd opt for NexentaOS. Hmm, I wonder if things will get broken once they switch to illumos..." CreationDate="2010-08-31T01:00:45.460" UserId="1290" />
  <row Id="1421" PostId="33" Score="1" Text="I think you should just write `swap` instead of `/swp` in order to prevent any confusions as others have already mentioned." CreationDate="2010-08-31T01:07:51.700" UserId="1174" />
  <row Id="1422" PostId="106" Text="Even if you use LVM, you still have to decide what logical volumes (LVs) to create. As a side note I still remember the disappointment I had last year when I discovered that the desktop Ubuntu installer didn't have support for LVM." CreationDate="2010-08-31T01:11:58.477" UserId="1174" />
  <row Id="1424" PostId="1374" Text="Great, @xenoterracide! That's super helpful. I like knowing how things work, but `chsh` is certainly quicker. " CreationDate="2010-08-31T01:58:08.420" UserId="58" />
  <row Id="1425" PostId="1373" Text="Oh, I never knew @xenoterracide. On my machine, `/bin/sh` is a symlink to `/bin/dash`." CreationDate="2010-08-31T01:59:51.690" UserId="58" />
  <row Id="1426" PostId="1384" Text="+1 Works for me." CreationDate="2010-08-31T02:01:46.267" UserId="58" />
  <row Id="1427" PostId="1414" Text="I'm assuming you mean vim 7.3?" CreationDate="2010-08-31T06:24:32.177" UserId="252" />
  <row Id="1428" PostId="1372" Text="yeah, tr is a good work-around. And yes, I have some weird log files with very long lines (several MB). Don't ask." CreationDate="2010-08-31T10:29:35.260" UserId="1131" />
  <row Id="1430" PostId="1418" Text="3 problems: `eval` instead of a simple `sh -c`; -i, which will change your working dir; running the whole command as root, which might change it's behaviour or may introduce an unnecessary risk. why did this ever get an upvote?" CreationDate="2010-08-31T10:38:02.523" UserId="601" />
  <row Id="1431" PostId="1350" Text="@ovidius: Every computer has a BIOS (basic input-output system), even Apple computers. And if it doesn't work, then that means you didn't manage to mark the USB partition as 'ACTIVE' (=boot) [or your BIOS doesn't support booting from USB or has disabled it]. &#xA;u start the system and be4 display comming press F2 or F3 or Esc or Delete hold any key for a second then it will show u &#xA;other wise go to apple website and ask help they help u. New Apple computers use EFI , so you need to know the shortcut-key combination." CreationDate="2010-08-31T10:59:06.490" UserId="1298" />
  <row Id="1432" PostId="1414" Text="Of course, silly me..." CreationDate="2010-08-31T12:12:46.363" UserId="1290" />
  <row Id="1433" PostId="1420" Text="Yup, there's not much info about Lua scripting out there, but I can transfer from the Python guides." CreationDate="2010-08-31T12:15:43.353" UserId="1290" />
  <row Id="1435" PostId="1431" Text="Hmm. While it might be a good answer in future I don't think btrfs or zfs are stable on Linux right now." CreationDate="2010-08-31T16:20:34.807" UserId="305" />
  <row Id="1436" PostId="1425" Score="2" Text="but ulimit will change the resource limit to all the process strted by that shell not just on pid. it limits the use of system-wide resources." CreationDate="2010-08-31T16:28:08.667" UserId="57" />
  <row Id="1437" PostId="1207" Text="I'd say that you may either love or hate Slackware. Personally I cannot imagine how anyone could use so hard distro (speaking as Gentoo user who does not consider himself beginner and like to tune kernel etc.) - i.e. how to have package manager without dependencies handling (it is the only pakage manager that do it I ever heard of)." CreationDate="2010-08-31T16:29:03.880" UserId="305" />
  <row Id="1438" PostId="1431" Text="I've had btrfs recommended to me by kernel users. Last I knew the Mercurial maintainer was running it on at least one machine full-time.&#xA;&#xA;I use ZFS via FUSE daily and it's rock solid, if a bit slow because of FUSE." CreationDate="2010-08-31T16:43:03.590" UserId="137" />
  <row Id="1439" PostId="1418" Text="I don't know why you seem to be annoyed by the upvote. Sure there can be bugs in my answers, I didn't say mine is the best, did I?" CreationDate="2010-08-31T16:47:31.577" UserId="250" />
  <row Id="1440" PostId="1432" Score="2" Text="&quot;arrange to temporarily accept traffic for the sleeping machine&quot; - as in ARP poisoning? Cool." CreationDate="2010-08-31T16:53:45.780" UserId="281" />
  <row Id="1441" PostId="1431" Text="btrfs on disk format isn't stable yet... I wouldn't recommend it until that has changed. Kernel programmers can run all kinds of crazy things." CreationDate="2010-08-31T17:01:01.173" UserId="29" />
  <row Id="1442" PostId="1434" Text="I count it as ext3" CreationDate="2010-08-31T17:11:46.780" UserId="305" />
  <row Id="1443" PostId="1432" Score="3" Text="This is no more a use of ARP poisoning than is NIC fail-over.  The term ARP poisoning carries intent with it, for one: no one is trying to attack anything with this technology.  For another, the Sleep Proxy Service is a way for the sleeping PC to explicitly authorize the proxy to watch for traffic while it's asleep.  You might as well indict phone message services for identity theft as call this ARP poisoning." CreationDate="2010-08-31T17:13:19.027" UserId="138" />
  <row Id="1445" PostId="1431" Text="ZFS might be stable... but due to the FUSE thing I wouldn't bother with it." CreationDate="2010-08-31T17:28:58.077" UserId="29" />
  <row Id="1446" PostId="1428" Text="Gentoo. Talk about problems. Took me 3-4 times to get a install not messed up. I also reinstalled a few times when I messed things up. But wow, talk about learning. I learned so much. " CreationDate="2010-08-31T17:38:15.453" UserId="124" />
  <row Id="1447" PostId="1381" Text="For those of us who weren't aware of the demise of OpenSolaris, see this [Register article](http://www.theregister.co.uk/2010/08/23/opensolaris_board_dead/) , which links back to the authoritative [OpenSolaris Governing Board meeting minutes](http://wiki.genunix.org:8080/wiki/index.php/2010_08_23_OGB_Agenda)." CreationDate="2010-08-31T17:45:52.160" UserId="4" />
  <row Id="1448" PostId="1436" Text="What about changes in fcrontab?" CreationDate="2010-08-31T17:57:07.993" UserId="305" />
  <row Id="1449" PostId="1430" Text="How much data are you backing up daily, weekly, monthly? How much data do you plan to retain, and for how long?" CreationDate="2010-08-31T18:33:18.490" UserId="4" />
  <row Id="1450" PostId="1431" Text="ZFS on FUSE is a hack. It might be a good hack, I wouldn't trust it for your critical business data. Also, ZFS on FUSE has some speed issues, and speed is critical when you are backing up terabytes of data." CreationDate="2010-08-31T18:33:58.627" UserId="4" />
  <row Id="1451" PostId="1430" Text="Does it have to be Linux? Have you considered ZFS (An older, stable version 14) on FreeBSD 8.1?" CreationDate="2010-08-31T18:35:55.940" UserId="4" />
  <row Id="1452" PostId="1425" Text="@Hemant: then `ulimit` is not going to be as useful as I thought. Is there some other option?" CreationDate="2010-08-31T18:44:12.970" UserId="912" />
  <row Id="1453" PostId="1430" Text="It is temporary backup storage for laptop - untill it will be sent to external harddrive. As of FreeBSD - while it is wonderful system it does not suit me in this application." CreationDate="2010-08-31T19:43:23.750" UserId="305" />
  <row Id="1454" PostId="1440" Text="based on my answer I would like to note that XFS is extents based and carries many the same advantages as ext4. However I'd like to mention that it carries the same issues with dealloc that ext4 can have, which can result in data loss in a pull the plug scenario. I don't know whether dealloc can be disabled in XFS." CreationDate="2010-08-31T20:12:01.897" UserId="29" />
  <row Id="1455" PostId="1441" Text="@Maciej Does this mean my CPU is doing the rendering atm instead of my video chip?" CreationDate="2010-08-31T20:17:51.037" UserId="29" />
  <row Id="1456" PostId="1418" Score="1" Text="you didn't, but it is misleading, generally bad and maybe even dangerous." CreationDate="2010-08-31T20:24:50.020" UserId="601" />
  <row Id="1457" PostId="1440" Text="Yeah, I am not sure if you can disable the feature, but the xfs_freeze utility ensures a stable disk image. From the man page:&#xA;&#xA;The -f flag requests the specified XFS filesystem to be frozen from new modifications. When this is selected, all ongoing transactions in the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are halted, and all dirty data, metadata, and log information  are  written  to  disk. Any process attempting to write to the frozen filesystem will block waiting for the filesystem to be unfrozen." CreationDate="2010-08-31T20:25:17.257" UserId="263" />
  <row Id="1458" PostId="1441" Score="2" Text="No. In both cases the GPU does the drawing if you have acceleration - however there is additional overhead. Not accelerated drawing is extreamly slow and no effects which would require `LIBGL_ALWAYS_INDIRECT=1` would work with it (i.e. indirect rendering workaround is usually needed for advanced use of OpenGL such as composite wm)." CreationDate="2010-08-31T20:43:20.400" UserId="305" />
  <row Id="1459" PostId="1440" Text="I'm less concerned with mid-writing corruption of files as long as flush works." CreationDate="2010-08-31T20:48:22.587" UserId="305" />
  <row Id="1460" PostId="33" Text="Great idea, I've updated the answer. Thanks!" CreationDate="2010-08-31T22:23:34.803" UserId="84" />
  <row Id="1461" PostId="1419" Text="You don't give enough information to get a meaningful answer. Generally speaking, you need to give enough detail for someone to be able reproduce your attempt. Does it happen in a particular program or everywhere? only with a particular file or all the time? How did you configure printing?" CreationDate="2010-08-31T22:54:00.913" UserId="885" />
  <row Id="1463" PostId="33" Text="Actually IIRC as on average head is near middle the seek to anywhere is about the same independent of position on disk. This assuming the physical layout of disk is the same as logical which in XXI c. is not necessary true even for plain old magnetic disks." CreationDate="2010-08-31T22:57:48.093" UserId="305" />
  <row Id="1464" PostId="1425" Score="3" Text="@Lazer: start the program with something like `(ulimit -v 400; exec myprogram)` or `bash -c 'ulimit -v 400; myprogram'`." CreationDate="2010-08-31T22:58:12.987" UserId="885" />
  <row Id="1465" PostId="1426" Text="making questions cw doesn't magically make them better questions. either a question is ok or it isn't.&#xA;this question, i find acceptable." CreationDate="2010-08-31T23:06:12.050" UserId="601" />
  <row Id="1466" PostId="1383" Text="That's a question I think everyone is avoiding... Nexenta has made a statement about NextenaStor being &quot;ok&quot; because they've been &quot;planning for this&quot; but with the tap turned off access to the closed bits should disappear.  That would be problematic for anything downstream I'd expect." CreationDate="2010-08-31T23:25:06.707" UserId="1184" />
  <row Id="1467" PostId="1448" Score="3" Text="@Brendan personally I would tell your Host that CentOS 4.8 is not an option and you must have 5.0, generally speaking it's a giant no no for a host to change your version on you like that, esp if you have CLI access which usually means you're dedicated or VPS, they need to put you on the proper version. Outside of that would Mercurial or Git serve  your purposes?" CreationDate="2010-09-01T00:39:39.610" UserId="29" />
  <row Id="1468" PostId="1449" Text="@FlappySocks So this means I can't suggest using `postfix` 'cause it's awesome?" CreationDate="2010-09-01T00:58:23.200" UserId="29" />
  <row Id="1469" PostId="1449" Text="I removed the linux tag because I'm pretty sure that's not relevant ( I think all smtp servers that work on unix work on all unices )... but I could be wrong." CreationDate="2010-09-01T01:01:19.823" UserId="29" />
  <row Id="1470" PostId="688" Text="What Unix are you exactly using: Solaris, HP-UX, AIX, *BSD? Also what does it mean &quot;doesn't work&quot;: the `-a` option isn't recognized and man doesn't show anything or man shows only the first page? One more thing: could you give examples of `&lt;xyz&gt;` just to be sure that there are multiple sections on that subject?" CreationDate="2010-09-01T02:26:22.723" UserId="1174" />
  <row Id="1471" PostId="1350" Score="1" Text="Look here: http://en.wikipedia.org/wiki/Extensible_Firmware_Interface . If you do not have an Intel Mac and can check that your advice is really appropriate, I'd recommend that you do not claim to know what works." CreationDate="2010-09-01T06:31:03.243" UserId="90" />
  <row Id="1472" PostId="1433" Text="Where could I find `ethertool`?" CreationDate="2010-09-01T07:07:26.803" UserId="252" />
  <row Id="1473" PostId="1291" Text="Perhaps it's the light cyan color scheme? ;) Don't let the index page fool you though, the details in each section are clear enough for the average user, and covers enough for power users." CreationDate="2010-09-01T07:42:36.517" UserId="261" />
  <row Id="1474" PostId="1426" Text="Perhaps rephrase it to something like, &quot;What do you look for when choosing a distribution?&quot;, or &quot;Which distribution would best suit scenario X?&quot;" CreationDate="2010-09-01T08:06:38.453" UserId="261" />
  <row Id="1476" PostId="1421" Text="Excellent. I struggled to find any explanation for this error message, and wanted confirmation that it is a generic and not-terribly-useful message. Thanks for the diagnostic links! I have clarified the question to this end." CreationDate="2010-09-01T08:42:24.773" UserId="269" />
  <row Id="1477" PostId="1419" Text="I asked because a simple search didn't return useful results on how to investigate the problem. I've clarified the question accordingly. Thanks!" CreationDate="2010-09-01T08:45:33.913" UserId="269" />
  <row Id="1478" PostId="1452" Text="I have a whole bunch of servers in the cloud, and I really wanted each to have their own outgoing SMTP servers, rather than rely on anything external.  In that way, if my remote SMTP server is down, it's not effecting every server." CreationDate="2010-09-01T10:09:22.870" UserId="346" />
  <row Id="1479" PostId="1455" Text="Looks like the kind of thing I am after, thanks." CreationDate="2010-09-01T10:15:50.917" UserId="346" />
  <row Id="1480" PostId="1425" Text="@Lazer: please check Gilles comment." CreationDate="2010-09-01T10:30:21.593" UserId="57" />
  <row Id="1481" PostId="864" Score="1" Text="&quot;Java seemed a poor choice considering the relatively poor library support on Linux&quot; &#xA;You're joking right? Java stack on Linux is a thousand times bigger than what Microsoft's .Net would ever dream of.&#xA;Of course you would get those high numbers for Mono, since at least three apps that are default on Ubuntu are based on Mono." CreationDate="2010-09-01T10:59:40.727" UserId="461" />
  <row Id="1482" PostId="1452" Text="1) if you let PHP or Python do the smtp part, you have to do all the work (queueing, error handling) that an MTA would handle.&#xA;2) at the end you contradict what you say in the beginning" CreationDate="2010-09-01T11:16:30.990" UserId="601" />
  <row Id="1484" PostId="1451" Text="+1 for ssmtp, -1 for the unnecessary comment at sendmail, as well as recommending using a full mta, which is _way_ harder to do right. badly configured and maintained mail servers make the life of us mail admins hell." CreationDate="2010-09-01T11:27:55.380" UserId="601" />
  <row Id="1485" PostId="1460" Score="1" Text="Just to clarify your answer:&#xA;&#xA;ssh user@some.serv.er 'for i in /tmp/foo* ; do echo $i; done'&#xA;&#xA;Thanks!" CreationDate="2010-09-01T11:48:39.753" UserId="461" />
  <row Id="1486" PostId="1448" Text="I agree with xenoterracide. Ask to go back to the previous version or change hosting. This version of CentOS is so old they won't make bazaar work without a lot of hack and slash. " CreationDate="2010-09-01T11:53:07.527" UserId="461" />
  <row Id="1487" PostId="1426" Text="&quot;Debian ubuntu fedora arch and opensuse&quot; I would suggest out of that list fedora, ubuntu, or opensuse in no particular order.  Arch after you get your feet wet.  Also there is chakra which is a step up from arch but still similar and documentation for arch can apply to chakra as well." CreationDate="2010-09-01T12:10:39.200" UserId="1253" />
  <row Id="1488" PostId="1463" Score="1" Text="Surprised to see linux mint on there.  I love it geez it came out of no where and went right to the top." CreationDate="2010-09-01T12:12:38.947" UserId="1253" />
  <row Id="1489" PostId="1457" Score="1" Text="+1 for distrowatch.  " CreationDate="2010-09-01T12:12:56.670" UserId="1253" />
  <row Id="1490" PostId="1465" Text="wow that worked. I will check :help paste :-). Thanks alot." CreationDate="2010-09-01T13:36:09.050" UserId="57" />
  <row Id="1491" PostId="1461" Score="1" Text="you. have. got. to. be. kidding. me." CreationDate="2010-09-01T13:36:17.687" UserId="601" />
  <row Id="1492" PostId="1448" Text="Support for RHEL4 (and thus CentOS 4) will stop in Q1 of 2012. That seems a long time but it is not. Move to RHEL5 / CentOS5 and save yourself some pain in the not-too-distant future." CreationDate="2010-09-01T13:36:57.730" UserId="272" />
  <row Id="1493" PostId="1464" Text="why negative vote?" CreationDate="2010-09-01T13:59:45.063" UserId="57" />
  <row Id="1494" PostId="1464" Text="Probably because your question is not strictly Unix related. VIM runs just about any platform known to mankind." CreationDate="2010-09-01T14:24:33.987" UserId="272" />
  <row Id="1495" PostId="503" Score="25" Text="you could have entered a mismatch password at the 2nd confirmation prompt, so nothing would have been affected then and passwd would exit." CreationDate="2010-09-01T14:53:17.493" UserId="1278" />
  <row Id="1496" PostId="1456" Text="I use MSMTP for this, works great and the configuration is very simple." CreationDate="2010-09-01T15:16:28.493" UserId="263" />
  <row Id="1498" PostId="1467" Text="don't do that. why would you do that?" CreationDate="2010-09-01T16:11:24.860" UserId="601" />
  <row Id="1500" PostId="1433" Text="Sorry, this was a typo--the tool is ethtool.  I've corrected the typo and added a link to ethtool." CreationDate="2010-09-01T16:22:34.740" UserId="1207" />
  <row Id="1501" PostId="1472" Score="1" Text="i found it first ;)" CreationDate="2010-09-01T16:26:37.920" UserId="601" />
  <row Id="1502" PostId="1473" Text="In what ways does this ZSH feature differ from doing:&#xA;     echo hi&gt; /tmp/test;export t=/tmp; cat $t/test&#xA;At least on my machine, this works just fine.  The only difference is the character you have to type." CreationDate="2010-09-01T16:37:13.267" UserId="1207" />
  <row Id="1503" PostId="1464" Text="@wzzrd: I thought its something to do with putty and unix terminal. " CreationDate="2010-09-01T16:46:21.380" UserId="57" />
  <row Id="1504" PostId="1473" Text="referring the op to zsh is the right thing to do. i've not missed that feature once in 15 years. seems like the kind of thing some people get really obsessed about while others don't care. that's why there is more than one shell." CreationDate="2010-09-01T17:06:44.877" UserId="601" />
  <row Id="1505" PostId="1467" Score="4" Text="Is this a Unix question? Apache's &quot;/&quot; is not a Unix-dependent feature, correct? I believe this question belongs on Serverfault." CreationDate="2010-09-01T17:26:43.743" UserId="4" />
  <row Id="1506" PostId="1464" Text="@wzzrd, really? I mean, there are a lot of unix related tools that run on non-unix systems as well. Including Windows versions of sed/grep for example ... And besides, what would be a better stackexchange site for vim questions?" CreationDate="2010-09-01T17:30:19.840" UserId="1131" />
  <row Id="1507" PostId="1473" Score="1" Text="@Steven It's pretty similar, but ZSH knows it's a named directory in this case so it can treat it specially in prompt expansions and shell built-in commands" CreationDate="2010-09-01T18:34:41.550" UserId="73" />
  <row Id="1508" PostId="1464" Score="1" Text="Guys, guys, guys: I did not downvote this question. I am merely guessing what *might* be the reason for the downvote. As a matter of fact: I just upvoted it :)" CreationDate="2010-09-01T18:56:05.973" UserId="272" />
  <row Id="1509" PostId="1477" Text="Can you list some features of Keynote you're particularly attached to? I'm not really familiar with it" CreationDate="2010-09-01T20:45:27.640" UserId="73" />
  <row Id="1510" PostId="1467" Text="@Stefan: probably, but do you have enough points to close a question yet?&#xA;unix.stackexchange is depressing as it is… no need to bicker about one of the least problems." CreationDate="2010-09-01T21:17:13.223" UserId="601" />
  <row Id="1511" PostId="1480" Text="if you have not actually used kpresenter, you are not qualified to say something like &quot;probably pretty comparable.&quot; also, it is not." CreationDate="2010-09-01T21:20:17.497" UserId="601" />
  <row Id="1512" PostId="1477" Text="1) this probably belongs on superuser, 2) if you are a real fan of keynote, there probably is nothing to replace it." CreationDate="2010-09-01T21:22:23.327" UserId="601" />
  <row Id="1513" PostId="1477" Score="5" Text="Keynote is arguably the best application of its kind.  You're going to have to accept some loss of functionality by moving away from OS X.  I'm curious about why you're doing that anyway.  In the past few years, I'd say the trend on the desktop is decidedly the other way: Linux people finding that OS X finally delivers on the &quot;Linux on the Desktop&quot; promise.  Real Unix underneath, and a sweet Apple frosting on top.  What's not to like?" CreationDate="2010-09-01T21:22:40.643" UserId="138" />
  <row Id="1514" PostId="1470" Text="thanks for your answer.&#xA;actually I want to use mod_rewrite to catch everything so I think it'll be ok" CreationDate="2010-09-01T21:28:45.043" />
  <row Id="1515" PostId="1480" Text="Fair enough, just trying to provide a list of alternatives." CreationDate="2010-09-01T21:51:05.687" UserId="50" />
  <row Id="1516" PostId="1479" Text="This is a really good idea" CreationDate="2010-09-01T22:38:45.430" UserId="73" />
  <row Id="1517" PostId="1458" Text="@echox I guess I'm not sure why the system is remounting my FS's like this... I'm certainly not setting it to anything, and before I moved to mdadm raid I never saw this. 5 is something like what ext3 uses where I think the default for ext4 is something like 600" CreationDate="2010-09-01T22:49:21.710" UserId="29" />
  <row Id="1518" PostId="1487" Text="Xcfe == Xfce ? Sorry I am not able to edit your post." CreationDate="2010-09-01T23:40:39.377" UserId="57" />
  <row Id="1519" PostId="1473" Text="[I'd mostly be doing this using emacs M-x shell (since that's when I use the terminal), I guess that rules out ZSH solutions]..." CreationDate="2010-09-02T00:13:54.820" UserId="12" />
  <row Id="1520" PostId="1203" Text="@Louis [this article](http://www.techdrivein.com/2010/09/7-providers-of-pre-installed-linux.html) talks about providers of preinstalled." CreationDate="2010-09-02T02:28:54.183" UserId="29" />
  <row Id="1521" PostId="1484" Text="@Uray : Please change the subject to include the word 'binary', which is key to answering your question." CreationDate="2010-09-02T03:43:28.000" UserId="4" />
  <row Id="1522" PostId="1461" Text="@hop: i. am. not. kidding. you." CreationDate="2010-09-02T04:20:05.247" />
  <row Id="1523" PostId="1475" Text="Then it goes on to give only four differences and does not mention aqua or fuchsia aren't in the list.&#xA;" CreationDate="2010-09-02T04:20:54.280" />
  <row Id="1524" PostId="1494" Text="I'd say use `find -type f -executable -exec sh -c &quot;file -i '{}' | grep -q 'x-executable; charset=binary'&quot; \; -print`. It will only give you files (and thus can be passed to the next command he wants to run)&#xA;" CreationDate="2010-09-02T06:56:11.300" UserId="252" />
  <row Id="1525" PostId="1491" Score="6" Text="Then the *Microsoft Windows Services* make Windows an UNIX, too ... ;)" CreationDate="2010-09-02T08:21:10.790" UserId="1131" />
  <row Id="1526" PostId="1489" Text="does it really matter?" CreationDate="2010-09-02T08:28:31.623" UserId="601" />
  <row Id="1527" PostId="1394" Text="Of course the easiest solution is to let cron send mail to a mail account that you already use, or let the local mailserver forward it to one..." CreationDate="2010-09-02T09:08:33.370" UserId="1002" />
  <row Id="1528" PostId="1489" Text="A very similar question has been answered on superuser: http://superuser.com/questions/49434/how-unix-is-mac-os-x" CreationDate="2010-09-02T09:16:51.457" UserId="1383" />
  <row Id="1529" PostId="1498" Text="I placed it in my script, but it's still not working. Same error." CreationDate="2010-09-02T10:29:44.540" UserId="446" />
  <row Id="1530" PostId="1477" Score="5" Text="@Warren Young: for some of us, the fact that it is not open, matters. It does for me. The fact that it is a Unix, it has a shell, and all that, it means *nothing* to me without openness. In terms of vendor lock-in Apple is probably worse than Microsoft these days. So what's not to like: that is." CreationDate="2010-09-02T13:38:13.720" UserId="272" />
  <row Id="1531" PostId="749" Score="1" Text="(Loooong delay on this comment...) If you're developing Java, 1 Gig of ram is pretty much not going to cut it.  Bite the bullet and upgrade to at least 2, shoot for 4+." CreationDate="2010-09-02T13:45:30.877" UserId="19" />
  <row Id="1532" PostId="1473" Text="@Seamus Not at all, `M-x shell` just spawns your default shell inside an emacs buffer; you interact with it just like if it were in a terminal window. `M-x eshell`, on the other hand, is a shell written entirely in emacs" CreationDate="2010-09-02T14:00:00.440" UserId="73" />
  <row Id="1533" PostId="1447" Text="@Gilles this sounds like a PITA, you'd think someone would just do it so it doesn't have to be done on an individual system level." CreationDate="2010-09-02T14:25:04.377" UserId="29" />
  <row Id="1534" PostId="1426" Text="Personally, I'd think it a better question if you'd tell us what you want to do with your old laptop, how much time you want to devote to using it as a Unixy laptop rather than fiddling with the system (both are worthwhile, but very different), that sort of thing." CreationDate="2010-09-02T15:15:17.723" UserId="289" />
  <row Id="1535" PostId="1467" Score="1" Text="@hop being offtopic doesn't make it less depressing. IMO the real problem is we have a broken community, with ubuntu having its own SE. I really hope the ultimate vote is to merge." CreationDate="2010-09-02T15:31:11.307" UserId="29" />
  <row Id="1537" PostId="1467" Text="@Stefan ubuntu se should merge with superuser. have you seen the questions tehre?" CreationDate="2010-09-02T15:49:24.723" UserId="601" />
  <row Id="1538" PostId="1504" Text="i don't think &quot;no decorations around the windows&quot; is what the op meant by &quot;lightweight.&quot; also, if it compiles on linux it is available on linux…" CreationDate="2010-09-02T15:53:12.877" UserId="601" />
  <row Id="1539" PostId="1477" Score="1" Text="@Warren Young:  Mac OSX  is very nice, I agree, but it has a thick graphics and UI layer on top that doesn't play well with more traditional Unix graphics and UI.  This means that programs that will run reasonably well on any normal Unix will look out of place on the Mac, and may have other problems.  Ports of traditional programs are often out of date.  Fundamentally, there are things Mac OSX does better, and things Linux does better.  Take your pick.  I work mostly on Linux, myself, but also like my Mac." CreationDate="2010-09-02T16:23:33.217" UserId="289" />
  <row Id="1540" PostId="1511" Text="@Dennis I removed the 'Fedora' tag because this isn't really specific to your distro" CreationDate="2010-09-02T17:43:13.697" UserId="29" />
  <row Id="1541" PostId="1503" Text="@Tristan I'm going to start with the fact that I think that perhaps your keyboard layout was not properly detected by xorg. If the keyboard as special keys I think there's a logitech-daemon of some kind that will allow you to use them. Barring anyone else's help those might be things you search for." CreationDate="2010-09-02T17:52:50.507" UserId="29" />
  <row Id="1542" PostId="1489" Text="@OscarRyz In the [APUE2e](http://www.apuebook.com/) I seem to recall it saying something like &quot;if it walks like a duck, and quacks like a duck, it's probably a duck&quot; it was referring to Linux which is not Certified UNIX but regardless I think this applies here too." CreationDate="2010-09-02T17:55:54.837" UserId="29" />
  <row Id="1545" PostId="1512" Text="Thanks. Reason why we use ext2 is because it came from the vendor this way. It's a custom distro based on Fedora for embedded systems. You solution worked. " CreationDate="2010-09-02T18:25:40.350" UserId="1392" />
  <row Id="1546" PostId="1432" Text="I upvoted this because even though it does not provide a general solution it explains the nature of that solution well in the last paragraph." CreationDate="2010-09-02T18:30:20.237" UserId="1399" />
  <row Id="1547" PostId="1454" Text="@Adam this doesn't seem to me that it has anything to do with unix... this seems like a Ruby question... SO? I've no clue what this has to do with bash" CreationDate="2010-09-02T19:07:17.640" UserId="29" />
  <row Id="1548" PostId="1487" Text="@Eric just as an FYI you can now put images on StackExchange sites" CreationDate="2010-09-02T19:18:25.840" UserId="29" />
  <row Id="1549" PostId="1520" Text="I knew it was something very simple like this..." CreationDate="2010-09-02T19:37:08.170" UserId="361" />
  <row Id="1550" PostId="1424" Text="Some Unixes (Solaris, for example) do support more fine-grained control of resources on processes, process groups, project groups, etc. But I mention this only as a comment because you've tagged this 'linux' although you say 'in unix'." CreationDate="2010-09-02T20:11:01.007" UserId="1405" />
  <row Id="1551" PostId="228" Score="1" Text="or /bin/kill $(ps ax | awk '$5 ~ /'&quot;$1&quot;'/ { print $1 }') &#xA;for a more faithful pgrep (process name only, not args. I use /bin/kill out of habit because it reliably takes more than one PID to kill. There are other tricks, if you're in control of the regexp to never have to 'grep -v grep' - that way you can pkill greps!)" CreationDate="2010-09-02T20:25:06.247" UserId="1405" />
  <row Id="1552" PostId="106" Text="Yes the default Ubuntu installer is a pain in this regard, but you can get a LVM and/ro RAID setup out of the alternate (text based) installer. And while you still have to make some choices to start with when using LVM, changing you mind later and shuffing space allocations and/or creating new volumes is easier." CreationDate="2010-09-02T20:25:59.877" UserId="116" />
  <row Id="1553" PostId="242" Text="and the nice thing about kexts is that, certain compatibility caveats aside, a kext can work across minor kernel updates and often even major ones. Mac OS X APIs are more &quot;stable&quot; and defined." CreationDate="2010-09-02T20:26:47.807" UserId="1405" />
  <row Id="1554" PostId="820" Text="Darwin isn't really based upon FreeBSD, though it borrows some userland things from it. Other comments here explain that better. bpf(4) isn't solely Darwin and FreeBSD/NetBSD/OpenBSD, and I've got a feeling that someone might have even implemented it for earlier Linux kernels. SCO (in-)famously had it in their Unixware offering." CreationDate="2010-09-02T20:32:41.173" UserId="1405" />
  <row Id="1555" PostId="359" Score="1" Text="500M ? wtf are they storing in there? I have never needed even 100M I'm using 13M on `/boot` right now." CreationDate="2010-09-02T20:51:45.730" UserId="29" />
  <row Id="1556" PostId="1519" Score="1" Text="Would be great if this question was renamed to &quot;How to delete a file whose name starts with --&quot;." CreationDate="2010-09-02T21:04:41.797" UserId="85" />
  <row Id="1557" PostId="1522" Score="1" Text="Re X11 apps not looking good: In my experience, they look pretty much like on any other *ix.  What they don't do is take on an Aqua-like theme, which Apple could do for some apps by customizing Gnome and KDE, but I guess they figure it's more work than it's worth." CreationDate="2010-09-02T21:26:36.847" UserId="138" />
  <row Id="1558" PostId="1522" Score="3" Text="Re manually starting X: The need for that seems to have gone down over the years.  I'm guessing they're getting more clever about detecting when X is needed." CreationDate="2010-09-02T21:27:09.750" UserId="138" />
  <row Id="1559" PostId="1522" Score="1" Text="Re Linux-like userland: No, not really.  OS X gets a lot of its userland from FreeBSD, and it shows.  One biggie I miss on OS X from Linux is GNU find, which assumes &quot;-print&quot; if given no other action, and &quot;.&quot; if not given a directory.  So, you can just say &quot;find&quot; on Linux to get a recursive file list from the CWD, or &quot;find /somedir&quot; to do the same elsewhere.  Traditional Unix find, including BSD find, makes you say &quot;find . -print&quot; or &quot;find /somedir -print&quot;.  Yes, I know you can install GNU findutils, coreutils, etc. via Fink or MacPorts, but you can't count on having them." CreationDate="2010-09-02T21:29:18.943" UserId="138" />
  <row Id="1561" PostId="1477" Score="1" Text="@wzzrd Agreed. One of the reasons I am preparing to migrate to GNU/Linux is because of its openness, and that it is free. I am getting tired of Apple's attempts to lock me in, despite their products' ease of use and extreme polish (which I do appreciate, that's why I used it in the past)." CreationDate="2010-09-02T21:41:36.310" UserId="1375" />
  <row Id="1562" PostId="1525" Text="[Parsing the output of ls is a bad idea](http://mywiki.wooledge.org/ParsingLs), though I admit it's a tempting case. It's still risky if `ls` mangles file names containing non-ASCII characters. If you want one-liners, use zsh:-)" CreationDate="2010-09-02T21:42:24.717" UserId="885" />
  <row Id="1563" PostId="1525" Text="@Gilles It is, but I've yet to run into a problem doing it; I suppose because my filenames don't contain non-ASCII characters. Your answer is better though" CreationDate="2010-09-02T21:45:52.950" UserId="73" />
  <row Id="1564" PostId="1519" Text="@Sandy Agreed; I normally dislike changing a question's meaning, but in this case the accepted answer is specific to this problem" CreationDate="2010-09-02T21:52:05.240" UserId="73" />
  <row Id="1566" PostId="1482" Text="@Maciej IIRC it is possible... but damn near impossible to get right. I think I tried it once, I don't recall if I could. +1 for advice or 'reinstall'" CreationDate="2010-09-02T22:04:58.637" UserId="29" />
  <row Id="1567" PostId="1481" Text="@Tom seriously your best bet is to unpack a 64-bit tarball and start building. Doing this requires extreme knowledge of the system. I can't recall if I did this successfully or gave up. All I know is it's not worth the time even if you can." CreationDate="2010-09-02T22:06:33.683" UserId="29" />
  <row Id="1568" PostId="1506" Text="The way I understand [the knotify API listing](http://api.kde.org/4.x-api/kdebase-runtime-apidocs/knotify/html/classKNotify.html), this should work: `qdbus org.kde.knotify /Notify event &quot;warning&quot; &quot;origin&quot; '(' ')' &quot;title&quot; &quot;text&quot; 0 0 0 0`. But it produces no visible effect when I test it." CreationDate="2010-09-02T22:09:16.640" UserId="885" />
  <row Id="1569" PostId="1527" Text="I think what I meant by &quot;aliasing&quot; is should be &quot;indirection&quot; in bash" CreationDate="2010-09-02T22:17:19.030" UserId="317" />
  <row Id="1570" PostId="1508" Text="Nice little utility! The package on archlinux is &quot;kdebase-kdialog&quot;" CreationDate="2010-09-02T23:40:49.503" UserId="1416" />
  <row Id="1571" PostId="1509" Text="@ixtmixiix might I ask where you got the package from?" CreationDate="2010-09-03T00:04:36.490" UserId="29" />
  <row Id="1573" PostId="1526" Text="The commands work (I used the Linux ones) but it's not working recursively. I ran it in my root folder (/media/media/MP3s) and no such luck with the rest of the artist directories in there.&#xA;&#xA;Thank you for your help so far." CreationDate="2010-09-03T01:01:44.167" UserId="1410" />
  <row Id="1574" PostId="1454" Text="@xenoterracide RVM is a Ruby version manager written in bash, and entirely specific to unix systems. It manipulates your shell environment to allow you to use multiple versions &amp; gemsets in one environment." CreationDate="2010-09-03T02:09:49.820" UserId="458" />
  <row Id="1575" PostId="1454" Text="@xenoterracide I was going to add `rvm` and `ruby` as tags but I'm not allowed." CreationDate="2010-09-03T02:14:42.863" UserId="458" />
  <row Id="1576" PostId="1454" Text="@Adam so it's perlbrew for ruby..." CreationDate="2010-09-03T02:43:14.597" UserId="29" />
  <row Id="1578" PostId="1519" Score="2" Text="i find it a bit ironic that `rm --help` actually explains how to delete filenames beginning with a `-`. good question nevertheless." CreationDate="2010-09-03T06:44:40.790" UserId="1170" />
  <row Id="1579" PostId="1526" Text="@MonkeyWrench32: I answered your question as I understood it. Do you want to apply the command to every directory underneath `/media/media/MP3s`? Then in zsh: `for d in /media/media/MP3s/**/*(/); do touch -r $d/*(Dom[1]) $d; done`. Without zsh (but really, use zsh, it's just simpler): put the command in a script and run `find /media/media/MP3s -type d -execdir /path/to/the/script \;`." CreationDate="2010-09-03T07:10:12.587" UserId="885" />
  <row Id="1580" PostId="1541" Text="The first command cut off a lot of paths in the output but the zsh command worked perfectly! Thank you so much!" CreationDate="2010-09-03T07:26:40.230" UserId="1410" />
  <row Id="1582" PostId="1543" Score="2" Text="that was very good, but then I may have problems with chromium, as it spawns a new process for each browser tab, anyway to resolve?" CreationDate="2010-09-03T09:02:14.530" UserId="250" />
  <row Id="1584" PostId="1501" Text="Thanks everyone for helping out, all the answers are great. I'm marking this one as accepted for the &quot;absolute minimum&quot;." CreationDate="2010-09-03T09:05:56.480" UserId="250" />
  <row Id="1586" PostId="1543" Text="Edited my post to answer you.&#xA;" CreationDate="2010-09-03T09:49:29.407" UserId="1432" />
  <row Id="1587" PostId="1416" Text="Answer for a similar question from StackOverflow http://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wri/82278#82278" CreationDate="2010-09-03T11:22:42.203" UserId="1174" />
  <row Id="1588" PostId="1487" Text="@xenoterracide: I read the blog post about it but didn't think Jeff and those guys had rolled those changes out to Stack Exchange. Thanks for the edits and fixing my dyslexic Xfce spelling... :D" CreationDate="2010-09-03T12:20:46.510" UserId="1380" />
  <row Id="1589" PostId="1492" Text="Yeah, I spent a few hours on those sites trying to do exactly that, just didn't have any luck. Figured I was missing something simple. :(" CreationDate="2010-09-03T12:21:24.823" UserId="1380" />
  <row Id="1590" PostId="359" Score="6" Text="There are still lots of modern reasons for having a /boot partition, and they all boil down to &quot;The boot loader can't read the root filesystem&quot;.  The historic use-case is, as you said, drives too large, but the modern cases are encryption, new filesystems (such as ext4), LVM, or any esoteric setup that is simply not supported by GRUB." CreationDate="2010-09-03T12:33:15.293" UserId="1399" />
  <row Id="1591" PostId="285" Text="Wouldn't it require that at least part of the / partition be uncorrupted?  Sure, the kernel image is on /boot, but the drivers are in /lib and the init or sh is in /bin." CreationDate="2010-09-03T12:34:09.013" UserId="1399" />
  <row Id="1592" PostId="1473" Text="This works nicely, but how do I make the change permanent? If I close, and then restart the shell, it seems to forget the shortcut I made... (This might be because I haven't properly set it to be the default shell)" CreationDate="2010-09-03T14:06:44.247" UserId="12" />
  <row Id="1593" PostId="1546" Score="1" Text="that is acceptable, except for the fact that I'll have to remember to type `nohup`" CreationDate="2010-09-03T14:07:47.110" UserId="250" />
  <row Id="1594" PostId="1546" Score="4" Text="@phu On zsh at least you can put `setopt nohup` in your `.zshrc` and it will nohup everything you run; I'm not sure about other shells" CreationDate="2010-09-03T14:27:29.990" UserId="73" />
  <row Id="1595" PostId="1546" Text="yes, great, I like it this way!" CreationDate="2010-09-03T14:41:42.533" UserId="250" />
  <row Id="1596" PostId="1448" Text="You might consider changing hosting companies anyway.  A hosting company that will arbitrarily switch to an older OS version that will be out of support in a year and a half doesn't sound reliable to me." CreationDate="2010-09-03T15:07:17.310" UserId="289" />
  <row Id="1597" PostId="1526" Text="Perfection! You are a zsh master! :D" CreationDate="2010-09-03T15:30:58.527" UserId="1410" />
  <row Id="1598" PostId="1473" Text="@Seamus Exports are temporary and go away when the shell ends; you want to put the `export` commands in a file that gets auto-loaded when your shell begins, like `~/.bashrc`" CreationDate="2010-09-03T16:43:11.710" UserId="73" />
  <row Id="1600" PostId="1548" Text="Are you using `gnome-terminal`?" CreationDate="2010-09-03T17:54:54.340" UserId="382" />
  <row Id="1601" PostId="1493" Text="It would not work IMHO as it would require 64-bits glibc. But then patch wouldn't work which is required to build practically anything. And m4, make, sed, binutils and rest of system set." CreationDate="2010-09-03T18:01:37.397" UserId="305" />
  <row Id="1602" PostId="1482" Text="@xenoterracide: IIRC the official FAQ/Handbook/something like that said it is not possible. Probably it is possible but it is not streightforward. It is much quicker to just reinstall the system." CreationDate="2010-09-03T18:05:34.143" UserId="305" />
  <row Id="1603" PostId="1548" Text="xterm, I believe. Is that the same thing?" CreationDate="2010-09-03T18:11:35.460" UserId="12" />
  <row Id="1604" PostId="1473" Score="1" Text="Added it to my .zshrc and that worked." CreationDate="2010-09-03T18:14:35.097" UserId="12" />
  <row Id="1605" PostId="1334" Text="That was exactly what I was looking for." CreationDate="2010-09-03T18:21:49.183" UserId="1253" />
  <row Id="1606" PostId="1548" Text="@Seamus no `xterm` is a program (which practically ships as part of xorg), so is `gnome-terminal`. `gnome-terminal` is an X Terminal however, and that's often abbreviated as *xterm*. Just to clarify any confusion" CreationDate="2010-09-03T18:34:09.487" UserId="29" />
  <row Id="1607" PostId="1509" Text="From the Google website several days ago." CreationDate="2010-09-03T19:54:29.270" UserId="1389" />
  <row Id="1608" PostId="1551" Text="I couldn't add/create appropriate tags because my rank is still rather low..." CreationDate="2010-09-03T19:58:00.140" UserId="1389" />
  <row Id="1609" PostId="1550" Text="What do mean by &quot;theme&quot;? a prompt theme?" CreationDate="2010-09-03T20:17:01.383" UserId="606" />
  <row Id="1610" PostId="1456" Text="I'm so glad you recommended this. I've been looking for something like that for quite a while now. sendmail's configuration is just way too differentiated for my needs." CreationDate="2010-09-03T20:33:50.360" UserId="1389" />
  <row Id="1611" PostId="1557" Text="please don't forget to take backup before trying above commands :-)." CreationDate="2010-09-03T21:06:26.930" UserId="57" />
  <row Id="1612" PostId="1558" Score="1" Text="why, ehm, sudo?" CreationDate="2010-09-03T21:07:26.970" UserId="1131" />
  <row Id="1613" PostId="1557" Score="2" Text="Btw, for the first -print0 for find and -0 for xargs should be used as possible, to avoid whitespace in filename problems." CreationDate="2010-09-03T21:10:23.467" UserId="1131" />
  <row Id="1614" PostId="1454" Text="@xenoterracide Yes, same idea but with the added capability of being able to define multiple independent gemsets in addition to Ruby installations." CreationDate="2010-09-03T21:10:31.300" UserId="458" />
  <row Id="1615" PostId="1557" Text="@maxschlepzig: good point. I will edit." CreationDate="2010-09-03T21:13:58.923" UserId="57" />
  <row Id="1616" PostId="1558" Score="1" Text="I swear I have no idea why I included that there :(" CreationDate="2010-09-03T21:20:56.387" UserId="822" />
  <row Id="1617" PostId="1558" Text="+1 for honesty :-)" CreationDate="2010-09-03T21:28:45.623" UserId="57" />
  <row Id="1618" PostId="1557" Score="2" Text="I strongly suggest using `mv -i` here, so you don't risk overwriting files if something unexpected happens." CreationDate="2010-09-03T21:41:45.733" UserId="885" />
  <row Id="1619" PostId="1557" Text="@Gilles: thanks :). This is the reason I love stackexchange. Not only we help others but learn also :). one more edit." CreationDate="2010-09-03T21:49:24.550" UserId="57" />
  <row Id="1620" PostId="1559" Score="1" Text="What output do you get from the `alias` command?" CreationDate="2010-09-03T22:09:04.347" UserId="138" />
  <row Id="1621" PostId="1559" Text="just one &quot;alias ls='ls --color=auto'&quot;. Its an new colinux installation. " CreationDate="2010-09-03T22:13:31.800" UserId="57" />
  <row Id="1622" PostId="1559" Score="1" Text="Does saying `/bin/sh -l` fix it?  If not, what about switching to another shell, like `tcsh -l`?" CreationDate="2010-09-03T22:17:13.337" UserId="138" />
  <row Id="1623" PostId="359" Text="@xenoterracide, when you find out, let me know...I too have noticed this &quot;bigger is better&quot; trend with /boot partitioning.  Does the Tux graphic really need 100Mbyte of storage? :)" CreationDate="2010-09-03T22:17:17.693" UserId="56" />
  <row Id="1624" PostId="1557" Score="1" Text="with mv from gnu core utils you can use `mv -t &lt;targetdir&gt;` and + instead of \;" CreationDate="2010-09-03T22:29:35.823" UserId="601" />
  <row Id="1625" PostId="359" Text="RE @Mr. Shiny ++ I always use ext2 that way if i screw up any part of my grub.conf or whatever I can use any cdrom going back 10 years to fix it." CreationDate="2010-09-04T00:25:13.303" UserId="29" />
  <row Id="1626" PostId="1559" Score="1" Text="this is a weird problem +1 because I've no clue." CreationDate="2010-09-04T00:39:43.010" UserId="29" />
  <row Id="1627" PostId="1454" Text="@Adam so it's App::perlbrew + local::lib ... at least if I'm guessing correctly at Ruby terminology." CreationDate="2010-09-04T01:02:55.737" UserId="29" />
  <row Id="1628" PostId="1550" Text="@qbi is my meaning ambiguous in some way I don't realize? is there another kind of theme that I might be referring to?" CreationDate="2010-09-04T03:11:31.890" UserId="29" />
  <row Id="1629" PostId="1564" Text="I've been having the same issues and this is how I've been getting around it.  I saved it as a script so I can quickly run it from gnome-do after I wake back up." CreationDate="2010-09-04T04:26:31.530" UserId="1000" />
  <row Id="1630" PostId="1559" Text="@Warren Young: After restarting ubuntu this problem solved. But I dont know what caused it. " CreationDate="2010-09-04T04:31:03.993" UserId="57" />
  <row Id="1631" PostId="1565" Text="@Rajasekar There are already distributions that you can pay for with full support" CreationDate="2010-09-04T05:41:56.957" UserId="29" />
  <row Id="1632" PostId="1565" Score="1" Text="Assuming that Linux ever becomes the most popular OS, I still think it's highly unlikely the kernel would ever go non-free" CreationDate="2010-09-04T05:42:57.713" UserId="73" />
  <row Id="1633" PostId="453" Text="@Am1rr3za I realize now that this doesn't say *which* browser you are using... that's actually quite important to this question since what works for one may not work for another." CreationDate="2010-09-04T06:00:04.257" UserId="29" />
  <row Id="1634" PostId="1534" Text="Please contact the system administrator if the problem persists" CreationDate="2010-09-04T06:11:22.063" UserId="29" />
  <row Id="1635" PostId="1549" Text="I'm not +1'ing just because I don't think that LaTeX is really a solution for someone who specifically mentioned 'ease of use.'  But LaTeX is well worth learning and the Beamer class is the only thing I have found produces presentations that are as good (and usually better) than keynote or powerpoint." CreationDate="2010-09-04T06:59:40.540" UserId="1207" />
  <row Id="1636" PostId="1543" Text="Look like I'll need to redirect the output before the child processes are created?&#xA;Thanks for the knowledge, but regarding the complexity I'd just go with `nohup` :)" CreationDate="2010-09-04T10:23:23.447" UserId="250" />
  <row Id="1637" PostId="1550" Text="@xenoterracide actually I was thinking about colors and bolds and underlines when I read your question. I also thought &quot;This might be another fancy feature of zsh&quot;. Am I being too much of a noob?" CreationDate="2010-09-04T10:26:12.723" UserId="250" />
  <row Id="1638" PostId="1539" Text="That was the one!" CreationDate="2010-09-04T10:55:03.173" UserId="210" />
  <row Id="1639" PostId="1571" Score="2" Text="file=&quot;/dir/subdir/file-1.0.tar.bz2&quot;; &#xA;echo ${file##*.}&#xA;&#xA;prints '.bz2' here. What is the output that you're expecting?&#xA;" CreationDate="2010-09-04T12:01:15.577" UserId="659" />
  <row Id="1640" PostId="1572" Text="not work for `.tar.gz` extension" CreationDate="2010-09-04T12:02:53.607" UserId="317" />
  <row Id="1641" PostId="1571" Text="i need `.tar.bz2`" CreationDate="2010-09-04T12:03:21.357" UserId="317" />
  <row Id="1642" PostId="458" Text="Is there a chrome version ?" CreationDate="2010-09-04T12:04:20.547" UserId="1253" />
  <row Id="1643" PostId="458" Text="I haven't found a good chrome extension for downloading, that's why I still have Firefox with DownThemAll" CreationDate="2010-09-04T12:06:42.380" UserId="250" />
  <row Id="1644" PostId="1563" Text="So stop suspending it and use hibernate or shut down? Fedora 13 is just out recently and still ironing the kinks out, we sleep in the bed we lay and picking a distribution is no different." CreationDate="2010-09-04T12:07:06.593" UserId="1253" />
  <row Id="1645" PostId="1573" Text="Does not work for all cases. Try with 'foo.7z'" CreationDate="2010-09-04T12:19:00.463" UserId="659" />
  <row Id="1646" PostId="1573" Text="You need quotes, and better use `printf` in case the file name contains a backslash or begins with `-`: `&quot;${filename#$(printf %s &quot;$filename&quot; | sed 's/\.[^[:digit:]].*$//g;')}&quot;`" CreationDate="2010-09-04T12:20:24.033" UserId="885" />
  <row Id="1647" PostId="1573" Text="@axel_c: right, and I've implemented the same specification as Maciej as an example. What heuristic do you suggest that's better than “begins with a letter”?" CreationDate="2010-09-04T12:22:09.737" UserId="885" />
  <row Id="1648" PostId="1574" Text="that should be solved, by checking if the string before last `.` token is archive type, for example `tar`, if its not archive type like `0` iteration should end." CreationDate="2010-09-04T12:41:12.343" UserId="317" />
  <row Id="1649" PostId="1573" Score="1" Text="@Gilles: i just think there's not a solution unless you use a precomputed list of known extensions, because an extension can be anything. " CreationDate="2010-09-04T12:42:53.090" UserId="659" />
  <row Id="1650" PostId="1574" Score="2" Text="@uray: that works in this particular case, but it's not a general solution. Consider [Maciej's example of `.patch.lzma`](http://unix.stackexchange.com/questions/1571/bash-get-file-extension/1573#1573). A better heuristic would be to consider the string *after* the last `.`: if it's a compression suffix (`.7z`, `.bz2`, `.gz`, ...), continue stripping." CreationDate="2010-09-04T13:15:10.547" UserId="885" />
  <row Id="1651" PostId="1570" Score="5" Text="`wheel` is typically the group with sudo rights (see [this question](http://unix.stackexchange.com/questions/1262/where-did-the-wheel-group-get-its-name))" CreationDate="2010-09-04T14:28:08.283" UserId="73" />
  <row Id="1652" PostId="1572" Text="Well a .tar.gz is actually a tar inside a gzip file so it does work in the sense that it removes a gz extension from a gzip file." CreationDate="2010-09-04T15:24:39.607" UserId="1253" />
  <row Id="1653" PostId="1576" Text="Hello @Chandru1 you will need to run it with sudo,  sudo chcon -t textrel_shlib_t '/usr/lib/vlc/plugins/codec/libdmo_plugin.so'  also make sure you have the single ' at the end of the line." CreationDate="2010-09-04T16:05:27.170" UserId="171" />
  <row Id="1654" PostId="1579" Score="1" Text="Questions: (1) Is this device being managed by network-manager? (2) What is the output of `cat /etc/resolv.conf" CreationDate="2010-09-04T16:31:13.000" UserId="1207" />
  <row Id="1657" PostId="1578" Score="1" Text="can you check if you are using Grub Legacy or Grub 2? If you have a file named `/boot/grub/menu.lst` then it's Grub Legacy, else if you have a file named `/boot/grub/grub.cfg` then it's Grub 2." CreationDate="2010-09-04T17:24:20.710" UserId="250" />
  <row Id="1659" PostId="1550" Text="@phunehehe themes seem to basically be a way of encapsulating things like colors bolds in a redistributable way. But all in all it's just that. I'm thinking about turning my fancy-ish vim behavior into such a theme... but I need to know more about what's required and why/how." CreationDate="2010-09-04T17:38:09.033" UserId="29" />
  <row Id="1662" PostId="1580" Text="@Warren doesn't ubuntu have a way of saying add this by dhcp but keep this other stuff static. Arch has resolv.conf.head and resolv.conf.tail that you can add which will insert those settings before and after the dhcp generated settings respectively." CreationDate="2010-09-04T17:52:35.817" UserId="29" />
  <row Id="1663" PostId="1583" Score="7" Text="The whatever is probably a movie playing plugin. As far as I know, it's a global X server setting that any client can change (`xset dpms …`) on the command line." CreationDate="2010-09-04T18:22:22.287" UserId="885" />
  <row Id="1664" PostId="1580" Text="Edited above to answer this comment" CreationDate="2010-09-04T19:02:22.737" UserId="138" />
  <row Id="1667" PostId="1589" Score="2" Text="Try this command: `man split cat md5sum`" CreationDate="2010-09-04T19:13:28.123" UserId="195" />
  <row Id="1668" PostId="1583" Text="@Gilles maybe... though I usually leave my browser on Google Reader." CreationDate="2010-09-04T19:21:15.137" UserId="29" />
  <row Id="1669" PostId="1567" Text="@Steven this is awesome unfortunately I don't think the app (`kdialog`) that I'm using (which I don't/didn't think would matter) supports input from  file." CreationDate="2010-09-04T19:47:08.230" UserId="29" />
  <row Id="1670" PostId="1583" Text="I know mplayer will do that, and it seems to be permanent; once I've played a video in mplayer my DPMS is disabled until I reenable it or restart. Gilles is probably right, but you'd have to experiment" CreationDate="2010-09-04T20:26:27.247" UserId="73" />
  <row Id="1671" PostId="1583" Text="@Michael For me mplayer only keeps the screen disabled while playing... my screen will still shut off if it's not playing... well when I'm not using it I always leave smplayer minimized to systray" CreationDate="2010-09-04T20:31:29.527" UserId="29" />
  <row Id="1672" PostId="1583" Text="@xeno Interesting; must just be something I messed up with my configuration" CreationDate="2010-09-04T20:52:38.210" UserId="73" />
  <row Id="1673" PostId="1583" Text="@Gilles @Michael doesn't `xset dpms` disable the screensaver too? my screensaver kicks in, my screen just doesn't power off, it keeps running the screensaver." CreationDate="2010-09-04T20:58:43.597" UserId="29" />
  <row Id="1674" PostId="1567" Text="Perhaps try something like `kdialog `cat /proc/self/fd/0``?" CreationDate="2010-09-04T21:05:08.613" UserId="1207" />
  <row Id="1676" PostId="1583" Text="`xset dpms` controls the X server feature that powers the screen off. `xset s` controls the X server's built-in screen saver (floating “x” or blanking). It seems that whatever only knows about the X server's built-in feature and not your third-party screensaver. As for your first comment, whatever has to enable dpms again (typically when it exits), I don't think it matters whether it's focused or visible." CreationDate="2010-09-04T21:19:46.867" UserId="885" />
  <row Id="1677" PostId="1583" Text="@Michael Mrozek perhaps you have a buggy mplayer version; another case where DPMS settings are mixed up is, when mplayer or a similar program crashes before being able to restore the settings. @xenoterracide *xset +dpms* ... @all why is nobody posting an answer?!?" CreationDate="2010-09-04T21:21:45.600" UserId="1131" />
  <row Id="1678" PostId="1583" Text="@max how am I supposed to use that command to my advantage? I certainly want mplayer to continue to be able to block dpms while playing... it's simply browsers that I'd rather didn't... although tbh, I wish they would block the screensaver while playing (html5/flash)" CreationDate="2010-09-04T21:57:10.630" UserId="29" />
  <row Id="1679" PostId="1598" Score="1" Text="Just because root is disabled doesn't mean stuff doesn't get run as root ;) I actually need to run this as a script that's running as root." CreationDate="2010-09-04T22:18:27.147" UserId="29" />
  <row Id="1680" PostId="1598" Text="@xenoterracide, right.  All I meant was that I couldn't test it under all possible circumstances.  That is, I only tested it as root using `sudo -i` and couldn't be sure if the results would be different than running it after logging in as root directly.  :-)" CreationDate="2010-09-04T22:21:33.477" UserId="1207" />
  <row Id="1681" PostId="1598" Text="I had to modify the who a bit. This `who | grep xeno| awk '{print $5}' | sed 's/[(|)]//g' | grep -v ^$  ` seems to work..." CreationDate="2010-09-04T22:38:03.280" UserId="29" />
  <row Id="1682" PostId="1599" Text="Specifically, the code is in `/usr/share/acpi-support/power-funcs`. It calls `fgconsole` to find the active Linux vt, then looks for an X server displaying on this console, and finds out the user from there. Then it uses `~/.Xauthority` as the X cookie, which unless there's something I'm missing means that it won't actually be able to connect to the X server (Ubuntu's default setup, using gdm, doesn't store the X cookies in the user's home directory)." CreationDate="2010-09-04T23:06:44.073" UserId="885" />
  <row Id="1683" PostId="1592" Text="@Michael yes by globally I meant all users." CreationDate="2010-09-04T23:46:45.817" UserId="29" />
  <row Id="1684" PostId="1601" Score="1" Text="I'am not asking if it is worth or not, safe or not, or why we shouldn't do this, what I'am asking is the fact, does it really produce bugs in real application?, does it ever occurred?, does it proved so.." CreationDate="2010-09-05T01:16:43.553" UserId="317" />
  <row Id="1685" PostId="577" Text="Does this question need to be clarified or is there actually an answer contained in the comments?" CreationDate="2010-09-05T01:36:35.913" UserId="1299" />
  <row Id="1686" PostId="1576" Text="if I we're u, I would disable and remove SELinux, ofcourse it is not the answer to your problem, but it will solve your problem, just for your consideration." CreationDate="2010-09-05T02:13:35.617" UserId="317" />
  <row Id="1687" PostId="1605" Text="See also: [What is the benefit of compiling your own linux kernel?](http://unix.stackexchange.com/questions/905/what-is-the-benefit-of-compiling-your-own-linux-kernel)" CreationDate="2010-09-05T02:31:55.807" UserId="73" />
  <row Id="1688" PostId="1607" Text="Ooo. Handy utility" CreationDate="2010-09-05T02:36:53.130" UserId="73" />
  <row Id="1689" PostId="1606" Score="4" Text="@uray if they don't work you should yell at the author and tell him that the #! line should be `#!/bin/bash` and that his scripts aren't posix compliant and thus need to be specified to run with the proper interpreter" CreationDate="2010-09-05T03:00:21.437" UserId="29" />
  <row Id="1690" PostId="1611" Score="1" Text="Interesting.  I was under the impression that recent versions of dash are POSIX compliant.  A quick check using `dash -n` didn't come up with any errors when run against bootstrap, but that is the most naive of tests." CreationDate="2010-09-05T06:54:22.317" UserId="1207" />
  <row Id="1691" PostId="1599" Text="@Gilles lid.sh for example does not call getXconsole. Thus, fgconsole is not used. I updated the answer with the snippet I've had in mind. And it actually works on Ubuntu. Screen is blanked when I close the lid." CreationDate="2010-09-05T07:57:15.767" UserId="1131" />
  <row Id="1692" PostId="1607" Score="1" Text="but scripts with /bin/sh in the the shebang are not intended for bash, are they now?" CreationDate="2010-09-05T08:36:26.123" UserId="601" />
  <row Id="1693" PostId="1598" Text="why anyone uses grep and sed when there is already awk in the chain is beyond me." CreationDate="2010-09-05T08:40:26.447" UserId="601" />
  <row Id="1694" PostId="1607" Text="True, but the question specifically mentioned that the scripts were intended to use bash." CreationDate="2010-09-05T09:16:06.370" UserId="1207" />
  <row Id="1695" PostId="1598" Text="yeah...&quot;learn awk&quot; has been on my todo list for a while now." CreationDate="2010-09-05T09:18:11.017" UserId="1207" />
  <row Id="1696" PostId="1478" Score="1" Text="+1 for getting it working again" CreationDate="2010-09-05T09:49:18.530" UserId="1327" />
  <row Id="1697" PostId="1612" Text="I'm thinking about _some_ performance improve? Is there any at all?" CreationDate="2010-09-05T10:23:24.343" UserId="250" />
  <row Id="1698" PostId="1612" Score="1" Text="In the past people have went to great lengths to produce the smallest possible kernel with only what is *required*. Today this has largely changed. In fact, whenever you first load a module you will suffer a small performance hit. That is not to say you should compile everything in the kernel :-) See this: http://www.articleinput.com/e/a/title/The-Linux-Kernel-module-code-and-and-kernel-boot-up-measurements/" CreationDate="2010-09-05T11:10:16.417" UserId="98" />
  <row Id="1700" PostId="1612" Text="for not-vital driver or functionality is there any benefit? for example if I just want to use terminal and bunch of network utility without other need or functionality. is there any benefit if I just compile all needed module and driver inside kernel without loadable module?" CreationDate="2010-09-05T11:19:26.720" UserId="317" />
  <row Id="1702" PostId="1607" Score="1" Text="@hop: They might not be intended for bash but they still may be tested only on bash." CreationDate="2010-09-05T12:06:28.957" UserId="305" />
  <row Id="1703" PostId="1609" Score="3" Text="However please note that -O3 is often filtered out by ebuilds." CreationDate="2010-09-05T12:19:53.747" UserId="305" />
  <row Id="1704" PostId="1615" Score="9" Text="It seems that any such attempt would just lead to yet another distro?" CreationDate="2010-09-05T12:28:33.930" UserId="1327" />
  <row Id="1705" PostId="1615" Text="that's what I was thinking about" CreationDate="2010-09-05T12:41:01.357" UserId="250" />
  <row Id="1706" PostId="1619" Text="ok. I was debating on whether I should make the change in `/etc/profile.d/somefile` or something. Which would mean less maintenance if arch update `/etc/profile` but if there's an order specified in LSB for PATH it might not conform." CreationDate="2010-09-05T14:09:01.880" UserId="29" />
  <row Id="1707" PostId="1625" Text="I use `git` for this purpose. [my repo](http://github.com/xenoterracide/dot_etc) for `~/.etc` I also have a `~/.usr` and a `~/.var` I wish that these directories were standard so KDE would stop throwing all tmp/var/config/etc files under .kde. so hard to know where what I want is in my home directory." CreationDate="2010-09-05T14:18:43.463" UserId="29" />
  <row Id="1708" PostId="1623" Text="There's also [chef](http://github.com/opscode/chef) but these tools are really for managing a large number of machines, probably overkill for 2 or 3 systems" CreationDate="2010-09-05T14:20:52.797" UserId="29" />
  <row Id="1709" PostId="1611" Text="@Steven IIRC there's one variable that `dash` doesn't support. Possibly more things, but the list is very small." CreationDate="2010-09-05T14:24:17.753" UserId="29" />
  <row Id="1710" PostId="453" Text="@xenote I use firefox, but the main question is that I want a good download manager independent of my browser" CreationDate="2010-09-05T14:59:56.923" UserId="184" />
  <row Id="1711" PostId="1631" Text="thanx -- it works!" CreationDate="2010-09-05T15:17:06.310" UserId="1501" />
  <row Id="1712" PostId="1628" Text="it seems they didn't go anywhere, but good to know anyway" CreationDate="2010-09-05T15:48:09.230" UserId="250" />
  <row Id="1713" PostId="1633" Text="still, you are supposed to &quot;build&quot; the software specifically for each distro (unless they use the same kind of package). apps are not much of a problem because, say, on Slackware I can install an app from Ubuntu, right?" CreationDate="2010-09-05T15:54:08.580" UserId="250" />
  <row Id="1714" PostId="1629" Text="great point about minifying, at some point there should be a universal package format that can be installed on all distributions" CreationDate="2010-09-05T15:59:41.753" UserId="250" />
  <row Id="1715" PostId="1629" Text="@phunehehe I've yet to see distro's that don't have ways of handling rpm's and tar.gz's." CreationDate="2010-09-05T16:10:27.650" UserId="29" />
  <row Id="1716" PostId="1633" Text="I'm tempted to vote down over the (well it practically is), &quot;It's GNU/Linux, not just Linux&quot;, statement. I use KDE, X.org, and Zsh which are not made by GNU. sure I have to have Bash installed (cause my distro requires it) but it's not my interactive shell. If I had an alternative to GNU Coreutils I might install those too. Really how much of my system is GNU? " CreationDate="2010-09-05T16:14:49.327" UserId="29" />
  <row Id="1717" PostId="1628" Score="4" Text="@phunehehe sure they did... they went away" CreationDate="2010-09-05T16:20:02.177" UserId="29" />
  <row Id="1718" PostId="453" Text="@Am1rr3zA unfortunately this is mostly plugin based... and plugins for one browser do not work on another." CreationDate="2010-09-05T16:24:49.067" UserId="29" />
  <row Id="1719" PostId="458" Text="@phunehehe not one that works on linux anyways. there are some chrome extensions that are similar but they seem to be windows only." CreationDate="2010-09-05T16:44:48.937" UserId="29" />
  <row Id="1720" PostId="453" Text="@Am1rr3zA It may be a good idea to update your question with a more specific set of features that you are looking for in a download manager." CreationDate="2010-09-05T17:17:24.633" UserId="1207" />
  <row Id="1721" PostId="1637" Text="Usually I find &quot;reinstall&quot; direction not so helpful, but in this case I agree and the directions are very clear.  You may consider trying chromium-browser rather than google-chrome if you aren't attached to the google branding and such.  chromium-browser is the open-source core of google-chrome and I haven't had a problem with either the packages in the Ubuntu repository or the packages in the beta ppa." CreationDate="2010-09-05T17:21:49.647" UserId="1207" />
  <row Id="1722" PostId="1637" Text="yes Steven I'm running chromium-browser actually :) so my instructions may contain some naming difference, shouldn't be a problem though" CreationDate="2010-09-05T17:35:17.810" UserId="250" />
  <row Id="1723" PostId="1629" Score="1" Text="http://sta.li/ - It is GNU/Linux but I find they ideas... well... how to say it..." CreationDate="2010-09-05T17:47:09.063" UserId="305" />
  <row Id="1724" PostId="1624" Text="+1. but is it possible to disable this warning ? it fill my terminal where I start X application. " CreationDate="2010-09-05T19:05:10.423" UserId="57" />
  <row Id="1725" PostId="1627" Score="1" Text="i tagged it 'command-line', but thanks for the answer :)" CreationDate="2010-09-05T19:25:04.967" UserId="1327" />
  <row Id="1726" PostId="997" Score="2" Text="-i is enabled by default?! not my distro, no sir!" CreationDate="2010-09-05T19:36:14.943" UserId="1327" />
  <row Id="1727" PostId="1057" Score="2" Text="you could really shorten that to mv $1 ~/deleted/$1" CreationDate="2010-09-05T19:37:39.847" UserId="1327" />
  <row Id="1728" PostId="1612" Score="1" Text="Bull. A system will boot fine with a SCSI driver as a module in an initrd. That's what they are for." CreationDate="2010-09-05T20:35:53.147" UserId="272" />
  <row Id="1729" PostId="767" Text="@Wim because of the wajig portion of this question I decided to merge 244 into this question instead of the other way around" CreationDate="2010-09-05T20:44:05.427" UserId="29" />
  <row Id="1730" PostId="1641" Text="@Joon does kile use kwrite_part?" CreationDate="2010-09-05T20:55:37.200" UserId="29" />
  <row Id="1731" PostId="1641" Text="@Joon also out of curiousity did you find a dark theme for kate somewhere?" CreationDate="2010-09-05T21:19:05.747" UserId="29" />
  <row Id="1732" PostId="1266" Text="Sorry to hear you got banned. Maybe --wait 1 instead of --limit-rate=80k would've worked better." CreationDate="2010-09-05T21:31:36.183" UserId="991" />
  <row Id="1733" PostId="1643" Text="seems I found a [bug](https://bugs.kde.org/show_bug.cgi?id=250319)... the toolbar labels shouldn't be that dark." CreationDate="2010-09-05T22:16:27.013" UserId="29" />
  <row Id="1734" PostId="1502" Text="Keynote produces incredibly high quality output. OO.o Impress is ok, but not even close to the level of polish the Keynote brings. Think of it as comparing an awesome typesetting solution like LaTeX to OO.o writer or MS Word. " CreationDate="2010-09-06T01:33:41.857" UserId="1014" />
  <row Id="1735" PostId="1649" Text="It's nice to know I'm not the only person that uses the `grep &quot;^d&quot;` hack" CreationDate="2010-09-06T02:10:34.957" UserId="73" />
  <row Id="1736" PostId="1649" Score="3" Text="As far as I know, the behavior he describes is not a bug and is the same if one is using GNU ls.  The -d option displays the listing for the directory and not the contents.  To see why this can be useful see the difference between: `ls -l /home` and `ls -dl /home`" CreationDate="2010-09-06T02:11:24.793" UserId="1207" />
  <row Id="1737" PostId="1651" Text="Nice.  I never considered that directories have an implicit `/` on the end--but now that I see you answer it makes sense.  After all, tab-completion always adds it." CreationDate="2010-09-06T03:46:24.147" UserId="160" />
  <row Id="1738" PostId="1654" Score="2" Text="Gah!  Immediately upon reading your response did I realize that &amp;&gt; is a bashism and was never going to work with #!/bin/sh.&#xA;" CreationDate="2010-09-06T07:14:19.360" UserId="1207" />
  <row Id="1740" PostId="1654" Text="@Steven Oh, good call. I tried it in `sh` to make sure, but `sh` is symlinked to `bash` on my computer" CreationDate="2010-09-06T07:17:04.437" UserId="73" />
  <row Id="1741" PostId="1529" Text="Not that it matters but this seems the most &quot;proper&quot;." CreationDate="2010-09-06T09:10:24.077" UserId="268" />
  <row Id="1742" PostId="401" Text="-1: -p does not preserve extended ACLs, so this answer is wrong. I recommend testing solutions before posting answers :)" CreationDate="2010-09-06T10:09:05.003" UserId="97" />
  <row Id="1743" PostId="1585" Text="This looks like what I seek, I will have to take a look on that. Now I need to buy some more hours per day ;)" CreationDate="2010-09-06T10:29:45.090" UserId="97" />
  <row Id="1744" PostId="1629" Text="@phunehehe: i think that is Makefile" CreationDate="2010-09-06T11:20:09.310" UserId="317" />
  <row Id="1745" PostId="1663" Score="1" Text="There is GNU/kFreeBSD which is FreeBSD kernel with GNU userland as opposed to FreeBSD which is kernel + userland." CreationDate="2010-09-06T14:08:46.123" UserId="305" />
  <row Id="1746" PostId="1661" Text="or kernel goes picnic.." CreationDate="2010-09-06T14:53:00.477" UserId="317" />
  <row Id="1747" PostId="1669" Text="so if disk is filled up, do we need to defrag it?" CreationDate="2010-09-06T16:04:00.893" UserId="317" />
  <row Id="1748" PostId="1671" Score="5" Text="But you call your car a &quot;Ford&quot; because most of it is made by Ford. That's why RMS wants your OS, most of which is GNU, to include the name &quot;GNU&quot;. Calling it &quot;Linux&quot; is more like calling your car a &quot;Michelin&quot;." CreationDate="2010-09-06T16:35:02.783" UserId="1529" />
  <row Id="1749" PostId="1672" Text="is there any mechanism such as: files that often be used while booting is placed near each other to gain benefit of locality? so faster boot?" CreationDate="2010-09-06T17:00:49.627" UserId="317" />
  <row Id="1750" PostId="1673" Text="if they finish Hurd, I would love to call it GNU/Hurd. but that &quot;asking for credit&quot; is one of thing that made the controversy" CreationDate="2010-09-06T17:16:42.747" UserId="317" />
  <row Id="1751" PostId="1671" Text="if this is all about who make most contribution, why there are no one calling it Linux/GNU, there will be no OS without kernel (and probably viceversa), naming it GNU/Linux is like saying this is GNU OS with some &quot;litle bonus&quot; of Linux inside it" CreationDate="2010-09-06T17:20:47.903" UserId="317" />
  <row Id="1752" PostId="1670" Text="Special thanks to @StevenD for accommodating the new tags." CreationDate="2010-09-06T17:24:55.000" UserId="633" />
  <row Id="1753" PostId="1672" Text="Not that I know of. You could use `ureadahead`, as recent Ubuntu builds do by default (see http://ubuntuforums.org/showthread.php?t=1434502 for more info), to achieve a similar effect. Some of the delay in the Linux boot sequence can be reduced by asking it to start services more concurrently where possible if your disro's boot setup supports this (set CONCURRENCY=shell in /etc/defaults/rc on Debian) and similar tweaks. To check you are making any difference with changes that you make use http://www.bootchart.org/ to show what happens before you tweak things compared to afterwards." CreationDate="2010-09-06T18:15:49.573" UserId="116" />
  <row Id="1754" PostId="1676" Text="there are about 2600 terminfo database, I can pick one based on `infocmp` of terminal that I'am currently used, but just to be safe, I just want to know is there any info or reference for commonly used terminfo for regular PC or SSHclient" CreationDate="2010-09-06T18:32:08.410" UserId="317" />
  <row Id="1755" PostId="1657" Text="Perhaps this isn't a unix SE question and I should try my luck on SU?" CreationDate="2010-09-06T20:17:09.287" UserId="12" />
  <row Id="1756" PostId="1648" Score="1" Text="Showing `+` to indicate an ACL that goes beyond the traditional unix bits is common (at least FreeBSD, Linux and Solaris also do it; I don't know who did it first)." CreationDate="2010-09-06T20:37:47.127" UserId="885" />
  <row Id="1757" PostId="1683" Text="interesting, is it possible to use function names instead of numbers?" CreationDate="2010-09-06T20:43:01.100" UserId="1131" />
  <row Id="1758" PostId="1653" Text="Replace `$1` by `&quot;$@&quot;`. The quotes are needed to pass file names containing spaces and other special characters, and `&quot;$@&quot;` will pass all arguments to `emacsclient` in case you ever want to edit several files at once or pass `+LINE FILENAME` to open a file at a certain line number." CreationDate="2010-09-06T20:44:48.103" UserId="885" />
  <row Id="1759" PostId="1683" Text="@max In the `syscall` interface? No, `syscall` takes an integer to represent the appropriate call to make, just like on the C side. There are a bunch of `#define` s in `/usr/include/asm/unistd.h`, like `#define __NR_mkdir 39` to make it easier for people calling the C function, but I don't think there's any way to automatically import those into Java, you'd have to define them all yourself " CreationDate="2010-09-06T20:55:14.213" UserId="73" />
  <row Id="1760" PostId="1648" Text="@Gilles Oh, thanks. Edited" CreationDate="2010-09-06T20:56:50.573" UserId="73" />
  <row Id="1761" PostId="1683" Score="1" Text="Please beware - the numbers on x86 and x86-64 are different on Linux." CreationDate="2010-09-06T21:00:05.063" UserId="305" />
  <row Id="1762" PostId="1683" Text="@Maciej Good point, added a warning in the answer" CreationDate="2010-09-06T21:14:00.887" UserId="73" />
  <row Id="1763" PostId="1652" Score="1" Text="@gvkv: you're missing a step here: tmux is a text mode program, it reads key sequences, not X keysyms. So it's actually possible, by configuring both the terminal emulator and tmux properly." CreationDate="2010-09-06T21:15:13.660" UserId="885" />
  <row Id="1764" PostId="1677" Text="@Matthew: don't post [the same question](http://superuser.com/questions/185345/why-wont-my-xmodmap-command-run-on-startup-login) on multiple Stack Exchange sites (unless the question is on-topic on both sites *and* you've waited a long time and not had any good answer on the first site; but then include a link to the original question)." CreationDate="2010-09-06T21:32:02.360" UserId="885" />
  <row Id="1765" PostId="1685" Text="What unix variant does your laptop run? The commands will be different on different variants. If it's Linux, specify your distribution: there may be a distribution-specific way that's a lot simpler than the simplest distribution-agnostic way." CreationDate="2010-09-06T21:52:53.823" UserId="885" />
  <row Id="1767" PostId="1685" Text="I am running archlinux, but I think more people could benefit from a &quot;distribution-agnostic&quot; answer... " CreationDate="2010-09-06T22:09:07.197" UserId="1327" />
  <row Id="1768" PostId="1657" Text="@Seamus: this question isn't unix-specific (even down to the zsh part: there's a zsh port for Windows, or at least for Cygwin), so it should be on SU. But, well, it's here now, so I answered it here." CreationDate="2010-09-06T22:16:20.697" UserId="885" />
  <row Id="1769" PostId="1684" Text="How does it look for that path? The pkgconfig contains the correct target path so from where does it try to take it?" CreationDate="2010-09-06T22:23:39.047" UserId="1289" />
  <row Id="1770" PostId="1689" Text="The `games` group is not for who can play games, it's for the game administrators (they get the right to install games and manage things like high score files). In the old days, when people didn't worry about trojans, “serious” administrators would sometimes delegate game administration to volunteers (for example a student team on a university system)." CreationDate="2010-09-06T22:37:14.883" UserId="885" />
  <row Id="1771" PostId="1689" Text="I'am puzzled here, is this &quot;games&quot; is the &quot;games&quot; as in a program for entertainment &amp; fun? or what?" CreationDate="2010-09-06T23:02:34.957" UserId="317" />
  <row Id="1772" PostId="1691" Text="is this ok if I delete all `games` directories? or there will be compatibility issue?" CreationDate="2010-09-06T23:05:31.940" UserId="317" />
  <row Id="1773" PostId="1689" Score="1" Text="@Gilles Are you sure? At least on my system (Gentoo), all the executables in the games folders are owned by `root:games` and set to 750, so people not in the `games` group can't run them" CreationDate="2010-09-06T23:53:03.557" UserId="73" />
  <row Id="1774" PostId="1689" Text="@Michael: Ok, then Gentoo is doing things differently from Debian, Ubuntu, Fedora, and several non-Linux systems I've seen. By the way, on these systems, games that keep high score files are setgid `games` (mode 2755), with high score files writable by the games group only. @uray: yes, that's games as in computer games and more generally entertainment software (but games can be in `/usr/bin` like other programs too)." CreationDate="2010-09-07T00:13:05.470" UserId="885" />
  <row Id="1775" PostId="1691" Score="3" Text="@uray: If you want to delete games, uninstall them through your distribution's package management system." CreationDate="2010-09-07T00:13:37.620" UserId="885" />
  <row Id="1776" PostId="1683" Text="Great Answer brother! Thanks for your help. From here i have another question. I'll ask it in a minute." CreationDate="2010-09-07T00:54:42.780" UserId="1531" />
  <row Id="1778" PostId="1695" Text="dirs -l -p gives me `/home/phunehehe`, and running L=\`dirs -l -p\`; echo $L always gives me `/home/phunehehe`. Why are you using it to test &quot;multiline output&quot;?" CreationDate="2010-09-07T02:23:58.643" UserId="250" />
  <row Id="1779" PostId="1700" Score="1" Text="Cygwin runs on Windows; this probably belongs on [SU](http://superuser.com/)" CreationDate="2010-09-07T02:36:51.407" UserId="73" />
  <row Id="1780" PostId="1700" Score="1" Text="Urgh. Cygwin is a version of Unix." CreationDate="2010-09-07T02:45:56.800" />
  <row Id="1781" PostId="1700" Score="1" Text="I know a good number of people that would cry hearing &quot;Cygwin is a version of Unix&quot;, but I guess we'll go with it" CreationDate="2010-09-07T02:55:43.193" UserId="73" />
  <row Id="1782" PostId="1699" Text="Aliases are intentionally disabled in non-interactive scripts: &quot;aliases are not expanded when the shell is not interactive, unless the expand_aliases shell option is set&quot;. Which you should probably never do as it would be a great vector for exploits." CreationDate="2010-09-07T03:31:58.740" UserId="1294" />
  <row Id="1783" PostId="1695" Score="1" Text="@phunehehe, sorry, you have to push (`pushd &lt;dir&gt;`) some directories on the stack to have more than one line." CreationDate="2010-09-07T03:38:01.230" UserId="210" />
  <row Id="1784" PostId="1695" Text="Is it the `dirs` command that you specifically need in your script? If so, you'll need to better explain what you need as `dirs` (and `$DIRSTACK`) are treated specially in non-interactive shells. Bash in general tries to make built-ins behave like external commands, except in cases where there is affirmative reason not to." CreationDate="2010-09-07T03:43:14.727" UserId="1294" />
  <row Id="1785" PostId="1695" Text="Autojump may do what you need or at least have ideas worth stealing: http://github.com/joelthelion/autojump/wiki" CreationDate="2010-09-07T03:48:29.507" UserId="1294" />
  <row Id="1786" PostId="1695" Text="@msw I specifically need `dirs` output, since I am writing a bash function to `cd` based on regex (since I am already using pushd/popd, I'd like to keep it integrated with directory stack). But I think your remark warrants a separate answer if you can explain why bash treats `dirs` differently." CreationDate="2010-09-07T03:52:48.263" UserId="210" />
  <row Id="1787" PostId="1712" Score="2" Text="Indeed the pragmatic solution which I may wind up using after I brick the machine ;) All useful data has already been dumped, I'm wary of getting the case back together, and I'd also like to like to learn the fiddly boot steps if possible." CreationDate="2010-09-07T05:36:43.140" UserId="1294" />
  <row Id="1788" PostId="1714" Text="Bah, of course! I was writing a function for `~/.bashrc`, but was testing it... ***drum roll***... in a script." CreationDate="2010-09-07T05:46:56.093" UserId="210" />
  <row Id="1790" PostId="1355" Score="3" Text="why tag both unix and linux on the &quot;unix and linux&quot; site?" CreationDate="2010-09-07T06:03:34.380" UserId="1327" />
  <row Id="1791" PostId="1715" Score="2" Text="#2's wrong.  You'd close unwanted handles *after* the fork, not before. The parent still needs them." CreationDate="2010-09-07T07:06:35.080" UserId="138" />
  <row Id="1794" PostId="1719" Score="1" Text="Do you have `libuuid.a` library installed?" CreationDate="2010-09-07T07:34:42.377" UserId="305" />
  <row Id="1795" PostId="1719" Score="2" Text="If you don't the debian/ubuntu package that contains it is called `uuid-dev`" CreationDate="2010-09-07T07:45:35.330" UserId="1294" />
  <row Id="1797" PostId="1719" Text="I have libuuid.so in /usr/lib but not libuuid.a. How to install it." CreationDate="2010-09-07T07:49:22.240" UserId="1542" />
  <row Id="1799" PostId="1719" Text="I am using Fedora 13." CreationDate="2010-09-07T07:51:53.440" UserId="1542" />
  <row Id="1800" PostId="1684" Text="I think it's compiled in. The ./configure script generates a config.h header file, which should contain the prefix path." CreationDate="2010-09-07T08:23:59.297" UserId="629" />
  <row Id="1801" PostId="1724" Score="1" Text="I think &quot; date cd ~;&quot; should be    &quot;date ;cd ~;&quot;.  :)" CreationDate="2010-09-07T08:36:29.313" UserId="57" />
  <row Id="1802" PostId="1697" Text="I don't understand the second half of your question: `unistd.h` is a C header file; what has it got to do with Java?" CreationDate="2010-09-07T09:34:04.840" UserId="274" />
  <row Id="1803" PostId="1691" Text="I'am messing up with something like LFS, I don't use distro and package management" CreationDate="2010-09-07T09:58:06.747" UserId="317" />
  <row Id="1804" PostId="1724" Text="yeah, you're right. I did correct it :-)" CreationDate="2010-09-07T11:17:40.487" UserId="1339" />
  <row Id="1805" PostId="1726" Score="1" Text="For current games your best bet is to natively boot into windows.  " CreationDate="2010-09-07T11:40:59.613" UserId="1253" />
  <row Id="1806" PostId="1675" Text="&quot;cutting at exactly 10 minutes for each clip&quot; is a good point. " CreationDate="2010-09-07T11:42:11.403" UserId="1253" />
  <row Id="1807" PostId="1697" Text="@Riccardo I would like to make some System Calls, that are defined in that file." CreationDate="2010-09-07T11:48:56.177" UserId="1531" />
  <row Id="1808" PostId="1697" Text="@user1531 Header files are included as the very first step of compilation, so they are not needed at runtime (you can run code on a system that has no compiler or development environment installed).  Calling C functions from Java is a topic for an [entirely different question](http://unix.stackexchange.com/questions/1681/invoke-syscalls-from-java) - that you seem to have already asked :-)" CreationDate="2010-09-07T12:28:26.287" UserId="274" />
  <row Id="1809" PostId="1318" Text="Why a -1 with no comment?  Is there something wrong about this post?" CreationDate="2010-09-07T12:49:29.510" UserId="1253" />
  <row Id="1810" PostId="1616" Text="can we change kernel scheduler on the fly, just like cpu_governor?" CreationDate="2010-09-07T12:51:34.843" UserId="317" />
  <row Id="1811" PostId="1733" Text="If CrossOver games is anywhere near as good as Crossover Office, I highly recommend it." CreationDate="2010-09-07T15:11:57.350" UserId="1207" />
  <row Id="1812" PostId="1738" Score="2" Text="as a side note, if you use Ubuntu, by default has the root password locked, so you may not know the root password https://help.ubuntu.com/community/RootSudo" CreationDate="2010-09-07T15:12:20.627" UserId="250" />
  <row Id="1813" PostId="1741" Score="4" Text="[This SO question](http://stackoverflow.com/questions/1300392/what-does-the-yy-in-lex-yy-c-stand-for) seems to agree" CreationDate="2010-09-07T15:44:53.503" UserId="73" />
  <row Id="1814" PostId="1741" Score="3" Text="Quoting @peterb's response in the SO post linked by Michael, &quot;there's no apparent meaning discussed beyond simply desiring a namespace. The &quot;yy&quot; in lex.yy.c indicates that the lex output is intended for a yacc parser.&quot; Thanks guys!" CreationDate="2010-09-07T15:55:51.500" UserId="1555" />
  <row Id="1815" PostId="1732" Text="It's fine; you can even link to your own products, as long as they answer the question" CreationDate="2010-09-07T16:12:17.000" UserId="73" />
  <row Id="1816" PostId="1733" Score="1" Text="Wine can say they're not an emulator but by many definitions of the word emulator they do emulate Windows." CreationDate="2010-09-07T16:30:17.937" UserId="1399" />
  <row Id="1817" PostId="1616" Text="you cannot change kernel scheduler like CFS or BFS. However you CAN change scheduling properties by `schedtool` on the fly (priority, make process as interactive/batch etc.)" CreationDate="2010-09-07T17:30:43.483" UserId="305" />
  <row Id="1818" PostId="1737" Score="3" Text="It is recommended to do that last bit as `sudo su -` where the dash means set the environment according the the user's (in this case root's) login profile. This usually affords a slight increase in PATH security but still doesn't protect against `echo hi &gt; /dev/my_critical_filesystem`" CreationDate="2010-09-07T17:44:59.227" UserId="1294" />
  <row Id="1819" PostId="1695" Text="Your example works fine for me. After using `pushd`, `$L` contains multiple lines." CreationDate="2010-09-07T17:46:02.243" UserId="382" />
  <row Id="1820" PostId="1744" Text="I'm not sure I take &quot;Chris [somewhere on the planet]'s&quot; word for what happened in that Q&amp;A column. &quot;I used Ubuntu's virus scanner and it found one virus in the Wine folder, one virus in the Apt folder, and one in the Root folder.&quot; Unfortunately, that's as specific as he gets. If there really was a &quot;virus&quot; in '/' was it a windows executable that can only sit there? I'm not in the &quot;Linux virus, impossible!&quot; camp, but that report is pretty dubious." CreationDate="2010-09-07T18:06:55.807" UserId="1294" />
  <row Id="1821" PostId="1737" Text="aaah forgot this one :-) thx for the addition!" CreationDate="2010-09-07T18:13:42.177" UserId="1339" />
  <row Id="1824" PostId="1737" Text="@echox: Then, is there any difference between `$ script` and `$ sudo script`? The user is the same in both the cases." CreationDate="2010-09-07T19:42:26.903" UserId="912" />
  <row Id="1825" PostId="291" Text="Nice one, didn't know about it.  However, it's apparently Linux-specific..." CreationDate="2010-09-07T19:52:55.413" UserId="274" />
  <row Id="1826" PostId="1760" Score="3" Text="Ubuntu doesn't only have a wubi installer; there are other ways of installing it too. In fact, using the wubi installer ends up installing Ubuntu to an existing Windows partition. That way you are stuck with the inferior filesystems like FAT-32, rather than making full use of something like EXT4. This may be &quot;easier&quot;, but it's technically inferior. Even if I were using Ubuntu I wouldn't use the Wubi installer. " CreationDate="2010-09-07T20:37:34.070" UserId="1071" />
  <row Id="1827" PostId="1737" Text="`sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file.` - from man sudo. Usually the script will be invoked with root privileges. That is the difference." CreationDate="2010-09-07T20:52:25.287" UserId="1339" />
  <row Id="1828" PostId="1763" Text="what are you trying to achieve? btw. calling a script with ~/foo.sh will expand ~ into my home directory for $0 with my bash version (GNU bash, version 4.1.5(2)-release-(x86_64-unknown-linux-gnu))" CreationDate="2010-09-07T21:19:45.573" UserId="1339" />
  <row Id="1831" PostId="1760" Score="2" Text="I down-voted this becuase I think it is too argumentative.  For instance, I find that the Fedora installer is much easier to use than the Ubuntu installer depending on your needs.  I often use LVM (a way to manage disk space that can abstract from individual disks), which the standard Ubuntu installer doesn't even support and is very user-unfriendly in the alternate installer." CreationDate="2010-09-07T21:51:03.080" UserId="1207" />
  <row Id="1832" PostId="1770" Score="1" Text="Nice answer. It really is more fruitful to also make this a small lesson in the unix philosophy. +1" CreationDate="2010-09-07T21:52:01.720" UserId="1207" />
  <row Id="1833" PostId="1769" Score="4" Text="Beware when using `${...##...}` and friends rather than `dirname` and `basename` that they don't work in all cases. For example both `${0##*/}` and `${0%/*}` expand to the same as `$0` if `$0` doesn't contain a `/`." CreationDate="2010-09-07T22:11:32.897" UserId="885" />
  <row Id="1834" PostId="1760" Score="1" Text="@Steven D: Note the OP's &quot;(if I am correct)&quot;. It isn't argumentative, it is admittedly ignorant of the alternatives, which is why we're here, to patch our collective ignorances. That oughtn't be penalized (but thanks for explaining why)." CreationDate="2010-09-07T22:15:40.370" UserId="1294" />
  <row Id="1835" PostId="1760" Text="Good point. Down vote removed. Edit: Gah!  For some reason it won't allow me to remove my down vote.    " CreationDate="2010-09-07T22:16:29.870" UserId="1207" />
  <row Id="1836" PostId="1760" Text="I added the tag &quot;boot&quot; which may unlock the downvote, but I wouldn't worry about it much." CreationDate="2010-09-07T22:22:08.503" UserId="1294" />
  <row Id="1837" PostId="1760" Text="@Steven Votes are [locked in](http://meta.stackoverflow.com/questions/6460/if-you-just-witnessed-tactical-downvoting-is-it-a-reportable-offense/18046#18046) after five minutes to help prevent strategic downvoting. msw is right, now that the post has been edited you can retract your vote" CreationDate="2010-09-07T22:24:47.577" UserId="73" />
  <row Id="1838" PostId="1710" Text="Turning off Application Cursor Keys mode doesn't seem to help." CreationDate="2010-09-07T22:37:03.827" UserId="210" />
  <row Id="1839" PostId="1764" Text="How do I tell what escape sequence is sent?" CreationDate="2010-09-07T22:37:30.037" UserId="210" />
  <row Id="1840" PostId="1764" Text="@Alex: I've tried to clarify my explanation, complain if you still don't understand my first sentence." CreationDate="2010-09-07T22:43:50.403" UserId="885" />
  <row Id="1841" PostId="1760" Text="@Michael Thanks for the information.  @msw: Thanks for editing. Vote removed." CreationDate="2010-09-07T23:06:09.710" UserId="1207" />
  <row Id="1842" PostId="1737" Text="I dont like &quot;su -&quot; as it changes my cwd.  " CreationDate="2010-09-07T23:15:22.570" UserId="1253" />
  <row Id="1843" PostId="1764" Text="You can also run `od -a` or `od -c` if you dig octal and then type the keys in question. See &quot;added&quot; in my answer for an example." CreationDate="2010-09-08T00:14:12.573" UserId="1294" />
  <row Id="1844" PostId="1665" Score="3" Text="More correct a BSOD is a KP with a really bad error message screen." CreationDate="2010-09-08T05:28:22.830" UserId="29" />
  <row Id="1845" PostId="1738" Score="1" Text="&quot;The sudo command always asks for your password.&quot; Actually that's configurable. It may also be configured to ask for the root password or the password of the target user (or for no password at all)." CreationDate="2010-09-08T09:33:24.270" UserId="481" />
  <row Id="1846" PostId="1737" Score="1" Text="@Chris: unfortunately, that's required if you want to inherit the entire root user environment, including its PATH.  Incidentally, I just found out that &quot;sudo -s&quot;, which I commented on above but have now removed, is more equivalent to &quot;sudo su&quot;, without the dash: no change to CWD, no change to PATH." CreationDate="2010-09-08T10:18:17.477" UserId="138" />
  <row Id="1847" PostId="1695" Text="@Dennis, yes, I've figured out what my problem was, see comment to accepted answer." CreationDate="2010-09-08T11:04:40.633" UserId="210" />
  <row Id="1848" PostId="291" Score="1" Text="@Riccardo, FreeBSD has a similar command: `lockf(1)`." CreationDate="2010-09-08T11:08:09.467" UserId="210" />
  <row Id="1849" PostId="1756" Text="+1 Very nice!!! Don't mind I copy this to my bashrc :)" CreationDate="2010-09-08T12:05:41.520" UserId="461" />
  <row Id="1850" PostId="1778" Text="That's a great analysis. In fact, I've come to the same conclusion so far. I read over the nfs sourceforge page again after you posted that link, and I've finally found what I'm looking for! Here is an in-depth analysis directly from the horse's mouth!" CreationDate="2010-09-08T12:49:32.227" UserId="1574" />
  <row Id="1851" PostId="1778" Text="oops, I hit enter... go to http://nfs.sourceforge.net, section D10 towards the bottom discusses this issue in detail." CreationDate="2010-09-08T12:50:20.013" UserId="1574" />
  <row Id="1852" PostId="1756" Text="@Ubersoldat. Not at all." CreationDate="2010-09-08T13:14:06.740" UserId="1257" />
  <row Id="1853" PostId="1723" Score="1" Text="Henry is an amazingly knowledgeable guy about space stuff too!  Very eclectic fellow!" CreationDate="2010-09-08T14:08:29.107" UserId="80" />
  <row Id="1854" PostId="1658" Text="[Meta discussion](http://meta.unix.stackexchange.com/questions/105/holy-wars-questions)" CreationDate="2010-09-08T14:14:40.450" UserId="73" />
  <row Id="1855" PostId="453" Text="These types of questions belong on Superuser. " CreationDate="2010-09-08T15:32:17.220" UserId="1278" />
  <row Id="1856" PostId="1003" Text="@Stefan by kernel I'm going to assume you mean the 'linux kernel' because different unices have different kernels." CreationDate="2010-09-08T16:12:00.480" UserId="29" />
  <row Id="1857" PostId="1003" Score="1" Text="@Stefan is [this question about a good linux kernel beginners tutorial](http://unix.stackexchange.com/questions/1003/linux-kernel-good-beginners-tutorial) what you needed? (e.g is it a duplicate?) or are you looking for something more in depth that's not covered by beginner resources, or might be different in some other way." CreationDate="2010-09-08T16:13:32.363" UserId="29" />
  <row Id="1858" PostId="1003" Text="@xeno, i'm not sure, i'll let you decide :) Im looking for a resource specifically focused on drivers and the creation of drivers. The other question seems to be about the kernel in general. what do you think?" CreationDate="2010-09-08T16:18:53.027" UserId="1327" />
  <row Id="1859" PostId="1003" Text="however... one of the answers to that question was what i was looking for http://unix.stackexchange.com/questions/1003/linux-kernel-good-beginners-tutorial/1090#1090" CreationDate="2010-09-08T16:19:54.413" UserId="1327" />
  <row Id="1860" PostId="1756" Text="Use `\$` to automatically switch between root and non-root indication." CreationDate="2010-09-08T16:36:12.137" UserId="382" />
  <row Id="1861" PostId="1003" Text="@Stefan well it was slightly different but I don't think different enough, and since you didn't have any reason to call it as different I merged it." CreationDate="2010-09-08T16:48:39.800" UserId="29" />
  <row Id="1862" PostId="1783" Score="1" Text="Not just scripts but complicated programs. Look at busybox for an example of a complicated program that matters what you call it as." CreationDate="2010-09-08T16:56:42.780" UserId="29" />
  <row Id="1863" PostId="1137" Score="1" Text="what does it do?" CreationDate="2010-09-08T17:04:46.073" UserId="317" />
  <row Id="1864" PostId="577" Score="3" Text="I think this question belongs to ServerFault, as it involves knowledge of both the Windows and the Linux side." CreationDate="2010-09-08T17:15:51.110" UserId="274" />
  <row Id="1865" PostId="1787" Text="would this method work if the ssh connection was only a sshfs mount?" CreationDate="2010-09-08T19:51:58.260" UserId="1327" />
  <row Id="1866" PostId="1787" Text="I'm not sure, but I don't think sshfs will open a login shell, so this won't work with sshfs." CreationDate="2010-09-08T20:06:22.260" UserId="1339" />
  <row Id="1867" PostId="1758" Score="9" Text="http://greyfa.de/Makefile" CreationDate="2010-09-08T20:38:03.260" UserId="1534" />
  <row Id="1869" PostId="577" Text="@Source Lab: The security in question was about DHCP server being able to update the DNS that is secured. " CreationDate="2010-09-08T21:21:25.523" UserId="32" />
  <row Id="1870" PostId="577" Text="@moberley: I could not find an answer in the comments. As @Riccardo Murri said, it may be a ServerFault question. " CreationDate="2010-09-08T21:22:44.167" UserId="32" />
  <row Id="1871" PostId="1791" Score="1" Text="@Michael don't forget the main package repo's have links on Arch's main page, AUR is just the user repository and not the canonical one." CreationDate="2010-09-08T21:44:14.350" UserId="29" />
  <row Id="1872" PostId="1791" Text="@xeno Oh, thanks, I misunderstood what AUR is (I don't use Arch)" CreationDate="2010-09-08T22:00:15.173" UserId="73" />
  <row Id="1873" PostId="1776" Text="Exactly, something like this usually works:  MYDIR=&quot;$(cd $(dirname &quot;$0&quot;); pwd)&quot;" CreationDate="2010-09-08T22:33:40.393" UserId="614" />
  <row Id="1875" PostId="88" Score="1" Text="I have [2nd ed](http://www.amazon.com/gp/product/0201433079?ie=UTF8&amp;tag=xenotsblog-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0201433079) which is also very good IMO" CreationDate="2010-09-09T00:17:34.910" UserId="29" />
  <row Id="1876" PostId="1724" Text="gasp? what's gasp?" CreationDate="2010-09-09T00:21:45.870" UserId="29" />
  <row Id="1877" PostId="1801" Text="That GeForce2 was pretty underpowered for 2002, 2.7GB/sec of maximum data transfer may be too little for your video desires." CreationDate="2010-09-09T01:50:36.367" UserId="1294" />
  <row Id="1878" PostId="1802" Text="Thanks. That's exactly what I was looking for." CreationDate="2010-09-09T04:09:44.747" UserId="1571" />
  <row Id="1879" PostId="1797" Text="+1: Nice research." CreationDate="2010-09-09T05:54:35.773" UserId="1107" />
  <row Id="1880" PostId="1803" Text="The LinuxMCE wiki has a section with details from users of different setups (including hardware info) that might be helpful to determine requirements. http://wiki.linuxmce.org/index.php/Category:User_Setups" CreationDate="2010-09-09T06:06:10.183" UserId="1299" />
  <row Id="1881" PostId="1805" Text="That's fantastic!" CreationDate="2010-09-09T06:33:40.070" UserId="160" />
  <row Id="1884" PostId="1806" Score="1" Text="This actually seems like a really good idea, and fuse could do this pretty trivially if I remember the interface correctly" CreationDate="2010-09-09T06:54:35.367" UserId="73" />
  <row Id="1885" PostId="1804" Text="Thanks a lot! I was hoping for responses like this one!" CreationDate="2010-09-09T07:52:57.937" UserId="1585" />
  <row Id="1887" PostId="1793" Text="Sorry, I don't agree with you and I have no idea why you see this as an offense. 1) So you go to the project page and download the source. Fine. Where do you find it? A short google search, sf or freshmeat. Why should I want to use any mirrored repository? This would be inefficient. Btw. I did talk about the pkg mngt, not the stock repository. 2) Where did I assume using &quot;small and unpopular&quot; pkgs makes you a fool? You are IMHO if you install them regulary by hand and don't create a buildscript/pkg for your system. Other users could benefit and beside that its a common practice." CreationDate="2010-09-09T08:05:40.867" UserId="1339" />
  <row Id="1888" PostId="1724" Score="4" Text="gasp is an assembly preprocessor (Gnu ASsembly pre Processor)" CreationDate="2010-09-09T08:33:57.370" UserId="1339" />
  <row Id="1889" PostId="1810" Text="I ask for the vfs tool: http://unix.stackexchange.com/questions/1811/is-there-a-linux-vfs-tool-that-allows-bind-a-directory-in-different-location-lik" CreationDate="2010-09-09T08:43:13.043" UserId="550" />
  <row Id="1890" PostId="1812" Score="1" Text="`objdump -T libgcc_s.so` gives you the shared object linker points. Presuming you know what `__gttf2` and the like mean, you should have no problem. (I expect that libgcc_s.so is atypically cryptic for an in this regard)" CreationDate="2010-09-09T12:18:52.840" UserId="1294" />
  <row Id="1891" PostId="1813" Text="Simple, yet probably effective: page forward/back with ^F and ^B, respectively. Depending on your terminal mode, each `j`can force an entire screen re-paint." CreationDate="2010-09-09T12:23:37.430" UserId="1294" />
  <row Id="1892" PostId="1813" Text="@msw : That's my current workaround, but it's still quite laggy in `vimdiff` mode." CreationDate="2010-09-09T12:52:15.710" UserId="446" />
  <row Id="1893" PostId="1816" Text="the title is wrong, but i have no idea what else to title this question" CreationDate="2010-09-09T13:36:41.777" UserId="1327" />
  <row Id="1894" PostId="1814" Text="+1 dumb old me, sometimes one just doesn't look in the obvious place" CreationDate="2010-09-09T14:32:35.240" UserId="1289" />
  <row Id="1895" PostId="1814" Text="do you happen to know if a specific processor's EABI(e.g. ARM EABI) is implemented in that lib?" CreationDate="2010-09-09T14:33:54.023" UserId="1289" />
  <row Id="1896" PostId="1813" Text="How big are the files?" CreationDate="2010-09-09T16:33:12.837" UserId="195" />
  <row Id="1897" PostId="1501" Text="also LXDE http://lxde.org/" CreationDate="2010-09-09T17:35:29.727" UserId="373" />
  <row Id="1898" PostId="1821" Text="works like a charm" CreationDate="2010-09-09T17:47:32.543" UserId="1327" />
  <row Id="1899" PostId="1549" Text="Ease of use is important to me, because I want to focus on the output, not the technicalities of putting slides together. But if Beamer really produces great slides, that might be worth the learning curve. Will check it out, thanks!" CreationDate="2010-09-09T18:44:08.250" UserId="1375" />
  <row Id="1900" PostId="1178" Text="do you use pulseaudio?" CreationDate="2010-09-09T18:50:41.290" UserId="373" />
  <row Id="1901" PostId="1826" Text="@Steven: yeah this does not answer my question because it's Solaris... but thank you for the ideia and posting :)" CreationDate="2010-09-09T20:20:58.197" UserId="1578" />
  <row Id="1902" PostId="1827" Text="I don't have root access, neither compiler and libraries... In fact it's a server, and I have only user access. I think I'll have to build a function in awk... " CreationDate="2010-09-09T20:57:57.273" UserId="1578" />
  <row Id="1903" PostId="1791" Text="@Michael: anyone for Fedora?" CreationDate="2010-09-09T21:14:14.117" UserId="912" />
  <row Id="1904" PostId="1813" Text="@Kevin M : Not that big, 3000 lines max." CreationDate="2010-09-09T21:19:55.247" UserId="446" />
  <row Id="1905" PostId="1791" Text="@Lazer Added what looks like the equivalent thing for Fedora" CreationDate="2010-09-09T21:28:05.990" UserId="73" />
  <row Id="1906" PostId="1829" Text="I didn't. Someone edited my post and tagged &quot;gawk&quot;..." CreationDate="2010-09-09T22:37:15.867" UserId="1578" />
  <row Id="1908" PostId="1715" Text="They could be asking to see how you stand up for yourself when you're right but being challenged." CreationDate="2010-09-09T23:41:25.887" UserId="614" />
  <row Id="1909" PostId="1814" Text="@celavek I'm not sure what you mean. AFAIK, current platform's ABI would be implemented, same as in other GCC runtime libs: http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html" CreationDate="2010-09-10T00:14:03.127" UserId="210" />
  <row Id="1910" PostId="1828" Text="Hey, you typoed the end of the FAQ url." CreationDate="2010-09-10T00:25:12.893" UserId="1535" />
  <row Id="1911" PostId="1721" Score="1" Text="@Warren - I went back and found the original of this quote on Usenet &amp; it is actually as I've edited it." CreationDate="2010-09-10T00:45:06.563" />
  <row Id="1912" PostId="1793" Text="If you edit your answer to make your position more clear and to take into account the fact that packages aren't suitable for every situation, I'll remove my downvote.  I can't do that until the answer's edited.  (StackExchange rule.)" CreationDate="2010-09-10T02:52:23.650" UserId="138" />
  <row Id="1913" PostId="1832" Text="I understand that this might have something to do with cross-platform applications, but I am curious if there are any other reasons" CreationDate="2010-09-10T04:32:06.470" UserId="1465" />
  <row Id="1914" PostId="1822" Text="I did not knwon that program, parrot. I will mail them." CreationDate="2010-09-10T06:54:23.193" UserId="550" />
  <row Id="1915" PostId="1817" Text="Well imagine this situation: I have a precompiled program, that I can not recompile. This program access to a fixed path, like '~/.program-data' and I need to launch several instances of the program as user, without doing chroot. Of course I could create a chrooted environment and use fakechroot, but it is too complex." CreationDate="2010-09-10T06:56:17.963" UserId="550" />
  <row Id="1916" PostId="1832" Score="3" Text="Reality is worse than you describe: many commands have full documentation in `info` format." CreationDate="2010-09-10T08:22:01.757" UserId="1383" />
  <row Id="1917" PostId="1832" Score="2" Text="you should totally make this a [feature-request]..." CreationDate="2010-09-10T08:52:14.800" UserId="863" />
  <row Id="1918" PostId="1835" Score="1" Text="on ubuntu it is in the `manpages-posix` package, and thanks for the bit about `/bin/echo` as well" CreationDate="2010-09-10T08:53:50.157" UserId="250" />
  <row Id="1919" PostId="1793" Text="The downvote is not the point, I'm just interested if we had a missunderstanding or a total different POV. I added an addition which will hopefully clearify my point." CreationDate="2010-09-10T09:35:56.720" UserId="1339" />
  <row Id="1920" PostId="1837" Text="for bash builtins you can also use `help export`, etc." CreationDate="2010-09-10T10:03:16.580" UserId="601" />
  <row Id="1921" PostId="1839" Score="1" Text="Is this a question from some kind of exam or what is the context?" CreationDate="2010-09-10T10:17:09.303" UserId="1339" />
  <row Id="1923" PostId="688" Text="@cristian: I just updated my original question. " CreationDate="2010-09-10T11:22:40.997" UserId="57" />
  <row Id="1924" PostId="1824" Text="Moreover, about hard links, you can only use them for plain files, not directories (unless you work with latest HFS+ filesystem)" CreationDate="2010-09-10T15:10:08.083" UserId="1383" />
  <row Id="1925" PostId="1846" Score="3" Text="On most systems you can check out `man man` to see a full description of the various sections." CreationDate="2010-09-10T15:30:15.187" UserId="1207" />
  <row Id="1926" PostId="1850" Score="1" Text="What are you currently using in emacs to store contacts? bbdb?  Also, what do you use for your calendar program in emacs? My answer will differ for say org-mode vs diary mode." CreationDate="2010-09-10T15:37:43.397" UserId="1207" />
  <row Id="1927" PostId="1847" Score="1" Text="`man -k` == `apropos`, isn't it?" CreationDate="2010-09-10T15:49:11.473" UserId="250" />
  <row Id="1928" PostId="1832" Text="@Tobias: tagging something feature-request is for requests to add functionality to the site, and belongs on meta." CreationDate="2010-09-10T16:14:10.780" UserId="195" />
  <row Id="1929" PostId="688" Text="@Hemant: what happens when you run `man printf`?" CreationDate="2010-09-10T17:46:00.247" UserId="1174" />
  <row Id="1930" PostId="1850" Text="Actually I am just starting, and am planning to use bbdb for contacts. I was planning to use diary mode for calendar, but now that I know of and read about org-mode that might be a good option, too. Thanks!!" CreationDate="2010-09-10T18:08:05.287" UserId="1375" />
  <row Id="1931" PostId="1856" Score="1" Text="Do you mean &quot;Free as in Freedom?&quot;  Free as in beer refers to price, and as far as I know, Ubuntu is still provided without charge." CreationDate="2010-09-10T18:17:00.290" UserId="1207" />
  <row Id="1933" PostId="1847" Text="`apropos` is what I use all the time when looking for something that has not man page for itself." CreationDate="2010-09-10T18:51:15.947" UserId="1290" />
  <row Id="1934" PostId="1860" Score="1" Text="The last example doesn't make too much sense, I give you that. It's just used as a valid example." CreationDate="2010-09-10T19:15:52.987" UserId="1290" />
  <row Id="1935" PostId="1850" Score="1" Text="[Also asked at Super User](http://superuser.com/questions/187050). Don't do this! (Exception: when the question hasn't had any good answer at a site, and then link to the original question.)" CreationDate="2010-09-10T20:23:33.943" UserId="885" />
  <row Id="1936" PostId="1863" Text="It might be useful to include a description of what this actually does.  As far as I know, you would still be getting the same kernel with non-free blobs in it,  which some may care about." CreationDate="2010-09-10T20:40:46.473" UserId="1207" />
  <row Id="1937" PostId="1856" Score="1" Text="Huge typo, YES I meant Free as in Freedom. :p" CreationDate="2010-09-10T21:07:03.150" UserId="1375" />
  <row Id="1938" PostId="1863" Text="Yes if there is a link to such information that would be great!" CreationDate="2010-09-10T21:11:10.947" UserId="1375" />
  <row Id="1939" PostId="1850" Text="I had no idea, sorry! Still looking for a good answer, though." CreationDate="2010-09-10T21:12:32.367" UserId="1375" />
  <row Id="1940" PostId="1648" Text="Mac OS also puts ACLs on key directories in the home directory. For example, Pictures has group:everyone deny delete. This actually makes it very difficult for the user to delete these directories, even if he doesn't want them." CreationDate="2010-09-10T21:33:29.543" UserId="1620" />
  <row Id="1941" PostId="731" Score="1" Text="@KeithB: However, many mainstream Mac apps will not run on a case-sensitive filesystem, eg Adobe CS refuses even to install, and World of Warcraft won't run. I got burned by this and the only way to recover was to back up and restore my system onto a reformatted disk." CreationDate="2010-09-10T21:42:05.490" UserId="1620" />
  <row Id="1942" PostId="416" Score="4" Text="I once had an IM conversation with my wife in which she typed her messages into IM and I typed my replies into an ssh shell which spoke them to her. She nearly died laughing. It started when she was afk and I was trying to get her attention. She thought the computer had a virus. For a while I was pretending my replies were coming from the computer itself, as if she was having a conversation with it." CreationDate="2010-09-10T21:55:21.507" UserId="1620" />
  <row Id="1943" PostId="1766" Text="I think you mean realpath, not readlink. readlink won't work in the common situation, ie when the link uses a relative path and you are not in the same dir as the link." CreationDate="2010-09-10T23:03:04.187" UserId="1620" />
  <row Id="1944" PostId="1856" Score="1" Text="I'm always suspicious of sentences that begin &quot;I heard that...&quot;.  For every &quot;heard that&quot; there is usually an equal and opposite &quot;heard that&quot; waiting down the pub or lurking on the intertubes somewhere.    I heard that you couln't even cite a source for that remark ;-)" CreationDate="2010-09-11T01:10:21.417" UserId="1626" />
  <row Id="1945" PostId="1877" Score="1" Text="rcs is pretty dated now, and git does everything rcs does and a lot more besides. I used to use rcs for anything local where I didn't want the overhead of setting up a repository on a server, but I've completely switched over to git now for that type of usage. I even wrote a script that wraps cvs2git to convert an existing directory hierarchy with rcs files in it to git." CreationDate="2010-09-11T04:09:07.720" UserId="1620" />
  <row Id="1946" PostId="1840" Text="ya exactly what i was looking for....i just wants a list of Filter commands which are being used in shell-script becoz i was confused about the total Filter commands...in some books i found some and in another i found some other..but this link provides All filter commands...thanx" CreationDate="2010-09-11T05:01:13.070" UserId="1608" />
  <row Id="1947" PostId="1839" Text="@echox no it was not for any exam...but i just wants a list of Filter commands which are being used in shell-script because i was confused about the total Filter commands...in some books i found some and in another i found some other" CreationDate="2010-09-11T05:02:19.447" UserId="1608" />
  <row Id="1948" PostId="416" Score="4" Text="`dd if=/dev/sda of=/dev/dsp` - oh, thos happy days..." CreationDate="2010-09-11T06:38:46.407" UserId="1290" />
  <row Id="1949" PostId="1766" Text="@Neil `realpath` is better, but `readlink` seems to work when I try it; do you know of an example where it fails?" CreationDate="2010-09-11T08:44:01.517" UserId="73" />
  <row Id="1950" PostId="1880" Text="nice response time :)" CreationDate="2010-09-11T09:19:32.717" UserId="1327" />
  <row Id="1951" PostId="1721" Text="There are so many versions of it floating around....  I just went with the most common one, as determined by the top Google web hits.  Could you add a Google Groups link to the post containing the original quote?" CreationDate="2010-09-11T10:55:51.037" UserId="138" />
  <row Id="1952" PostId="1864" Text="i love this one" CreationDate="2010-09-11T11:07:26.890" UserId="1327" />
  <row Id="1953" PostId="1847" Text="'man man' says that 'man -k' is equivalent to 'apropos -r'. I think apropos is a little more powerful. I generally use 'man -k' as it's slightly shorter." CreationDate="2010-09-11T11:25:42.847" UserId="629" />
  <row Id="1954" PostId="1890" Text="@wormintrude: thanks, I'll try this out and get back. Also, the machine is a laptop, so it is not a USB keyboard." CreationDate="2010-09-11T17:19:10.987" UserId="912" />
  <row Id="1955" PostId="1893" Text="All solutions that I investigated a while back had a latency issue.... so probably not so good for movies..." CreationDate="2010-09-11T18:21:49.367" UserId="29" />
  <row Id="1956" PostId="1892" Text="Also, found Back in Time (http://backintime.le-web.org/), will decide which one to use. Thanks a lot!!" CreationDate="2010-09-11T18:35:23.817" UserId="1375" />
  <row Id="1957" PostId="1686" Text="@Gilles would this only work in X then? e.g. if I shelled into my system remotely without X forwarding it wouldn't work." CreationDate="2010-09-11T19:30:54.013" UserId="29" />
  <row Id="1959" PostId="1884" Text="Maybe you have *core.excludesfile* = `~/.gitignore`. Without such a configuration, the file is not applied to any repository except one stored in `~/.git` (even then it would not apply to sub-repositories). I use *core.excludesfile* = `~/.git-user-excludes` to avoid the conflict between the excludes I want applied to all my Git repositories (regardless of location) and the excludes I want applied to the repository that holds (parts of) my home directory." CreationDate="2010-09-11T20:23:36.133" UserId="1107" />
  <row Id="1960" PostId="1896" Text="I tried audio streaming over the network with JACK some time ago and didn't have any problems." CreationDate="2010-09-11T20:49:40.090" UserId="1339" />
  <row Id="1961" PostId="1884" Text="@Chris: I know extremely little about git. I may have misunderstood this sentence in the `gitignore` man page: “Patterns read from a .gitignore file in the same directory as the path, or in any parent directory (…)” Does it in fact stop at the root of the checkout (i.e. where the `.git` directory is)?" CreationDate="2010-09-11T20:57:09.823" UserId="885" />
  <row Id="1962" PostId="1686" Text="@xenoterracide: either I don't understand your question or you don't understand my answer. `Super_L` is an X keysym, so you presumably have an X server somewhere (if you were logging in from Windows, I suppose you'd call the key the left Windows key). Tmux runs in a terminal, and reads its input as bytes, with function keys translated into escape sequences. A remote login is transparent, ssh just transmits the bytes that make up the escape sequence." CreationDate="2010-09-11T21:04:37.243" UserId="885" />
  <row Id="1963" PostId="1895" Text="I'm not sure if You're adressing my case... I was asking about sending sound over network, not setting up a server with a player. And Yes - MPD would be my choice too." CreationDate="2010-09-11T21:16:13.377" UserId="649" />
  <row Id="1964" PostId="1891" Text="@penyuan you may want to read [this similar thread](http://unix.stackexchange.com/questions/553/easy-incremental-backups-to-an-external-hard-drive) (I considered making this a duplicate of it)." CreationDate="2010-09-11T21:16:48.507" UserId="29" />
  <row Id="1965" PostId="1893" Text="You guys are great! I'll have a project for a few weeks of my after-work-and-no-wife-in-range-free-time :D" CreationDate="2010-09-11T21:17:54.770" UserId="649" />
  <row Id="1966" PostId="1891" Score="4" Text="vote this up if you think I should merge the 2 questions" CreationDate="2010-09-11T21:24:12.957" UserId="29" />
  <row Id="1967" PostId="1888" Text="@Edwin KDE, or Gnome? and does it affect a non windowed environment (e.g. a virtual terminal &lt;kbd&gt;Ctrl+Alt+F1&lt;/kbd&gt;)? also any chance you've tried another distro's livecd (failing hardware should fail in that env too)?" CreationDate="2010-09-11T21:37:08.857" UserId="29" />
  <row Id="1968" PostId="1832" Score="1" Text="@Tobias++ @Kevin I'm pretty sure Tobias is making a joke ;)" CreationDate="2010-09-11T21:43:21.530" UserId="29" />
  <row Id="1969" PostId="1888" Text="KDE and doesn't affect non-windowed." CreationDate="2010-09-11T21:52:07.163" UserId="1418" />
  <row Id="1971" PostId="1888" Text="I reinstalled SUSE and the problem stopped, but after applying all updates, the problem has returned. " CreationDate="2010-09-11T22:04:37.250" UserId="1418" />
  <row Id="1972" PostId="1888" Text="I don't know if the following notification is relevant, or another issue, but I get the following notification: &quot;Nepomuk was not able to find the configured database 'redland.' Existing data thus cannot be accessed." CreationDate="2010-09-11T22:05:25.130" UserId="1418" />
  <row Id="1973" PostId="1890" Text="@Lazer - Got a make and model ? Maybe there's a BIOS specific setting affecting it." CreationDate="2010-09-11T22:10:28.427" UserId="1074" />
  <row Id="1974" PostId="1884" Text="Yes, the upwards search for `.gitignore` files is bounded by the root of the working tree. The sentence you quoted continues: “(up to the toplevel of the work tree)”." CreationDate="2010-09-11T22:15:41.180" UserId="1107" />
  <row Id="1975" PostId="1888" Text="I found the Nepomuk message in the openSUSE support database, and corrected it. Now the missing character after delay is fixed, too." CreationDate="2010-09-11T22:57:04.063" UserId="1418" />
  <row Id="1976" PostId="1888" Text="Please close this post." CreationDate="2010-09-11T22:58:15.417" UserId="1418" />
  <row Id="1977" PostId="1888" Score="2" Text="@Edwin instead of closing you could post how you fixed it as an answer so other people can find the solution." CreationDate="2010-09-11T23:23:34.753" UserId="29" />
  <row Id="1978" PostId="1766" Score="1" Text="`cd /tmp; touch foo; ln -s foo bar; cd; readlink /tmp/bar`. This returns `foo` and `realpath` returns `/tmp/foo`, which is what you want." CreationDate="2010-09-11T23:47:47.330" UserId="1620" />
  <row Id="1979" PostId="1766" Text="@Neil Ah, so it does. Fixed, thanks" CreationDate="2010-09-12T00:14:26.590" UserId="73" />
  <row Id="1980" PostId="1884" Text="@Chris: my version of the man page doesn't have these words — it looks like the wording has been clarified. I've corrected my answer. Thanks!" CreationDate="2010-09-12T00:28:04.393" UserId="885" />
  <row Id="1981" PostId="1895" Text="Yes. &quot;Sending Sound&quot; means streaming music. If you're adamant about streaming from laptop to desktop: Install MPD and GMPC on your laptop. Enable a network stream on MPD. Start playing music and start mplayer on the desktop, that plays the stream you create with MPD on your laptop." CreationDate="2010-09-12T01:03:05.857" UserId="1290" />
  <row Id="1982" PostId="1883" Score="1" Text="0. Have a backup. :-)" CreationDate="2010-09-12T05:44:38.217" UserId="1207" />
  <row Id="1983" PostId="688" Text="@Cristian: man printf opens man page for printf(1)" CreationDate="2010-09-12T08:25:31.097" UserId="57" />
  <row Id="1988" PostId="1904" Text="Dropbox provides backups, it doesn't provide source control. Source control means, amongst other things, that you have change logs, that you can commit individual files and see differences between commits, that the version history is kept forever..." CreationDate="2010-09-12T11:22:46.033" UserId="885" />
  <row Id="1989" PostId="1873" Text="I like the hackishness of this but presumably it would run into problems it the process changes the current directory.  I'd like a /proc/PID/iwd for initial working directory.   " CreationDate="2010-09-12T11:26:42.733" UserId="1588" />
  <row Id="1990" PostId="1873" Text="...and for that matter a /proc/PID/home" CreationDate="2010-09-12T11:32:48.400" UserId="1588" />
  <row Id="1992" PostId="1910" Score="2" Text="I'd  invest in the extra lines of code..." CreationDate="2010-09-12T12:51:33.907" UserId="1327" />
  <row Id="1993" PostId="1873" Text="@Lerc, if it's going in a config file it needs to be `/proc/self` not `/proc/PID`, since you can't know in advance what the PID is going to be." CreationDate="2010-09-12T13:53:26.390" UserId="1620" />
  <row Id="1994" PostId="1873" Text="@Lerc, yes, if the process changes directory then it would fail, but typically programs read the config file once when they start up, and then cache the values in memory. It all depends on the program you are working with, and if the program doesn't offer enough flexibility, either on the command line or in the config file syntax, then you are stuck." CreationDate="2010-09-12T13:56:53.660" UserId="1620" />
  <row Id="1995" PostId="1926" Text="@Lazer have you set up fetchmail (or something) to pull stuff in? mail is typically for mail on your system... for the days when your email was tied to your unix account." CreationDate="2010-09-12T14:22:53.697" UserId="29" />
  <row Id="1996" PostId="1924" Score="2" Text="@SjB How services start up is very conditional on the Linux distro. Please tell us what you are trying to accomplish (and on what distro and maybe Desktop Environment) , because right now I think you're probably not thinking about the problem right." CreationDate="2010-09-12T14:24:28.763" UserId="29" />
  <row Id="1997" PostId="1926" Text="@xeno: no, I havent. I'll read about fetchmail and post here." CreationDate="2010-09-12T14:25:43.583" UserId="912" />
  <row Id="1998" PostId="1923" Text="When I was with Slackware, I used to type `startx` after logging in, so I think that was me who start the X server (and not root). Is that what you are asking for?" CreationDate="2010-09-12T15:42:13.233" UserId="250" />
  <row Id="1999" PostId="1918" Text="It might be helpful for you to post the contents of your wpa_supplicant.conf file.  Be sure to remove any secret information (like your network key) before posting." CreationDate="2010-09-12T15:47:25.597" UserId="1207" />
  <row Id="2001" PostId="1923" Score="2" Text="@phunehehe: No, it doesn't matter whether the X server is started by a display manager or by `startx`. In most cases, the X server binary is setuid root (i.e. runs as root no matter who invoked it), and needs to be in order to access the video card. The question is about not needing the X server to *run* as root." CreationDate="2010-09-12T15:52:00.580" UserId="885" />
  <row Id="2002" PostId="1918" Text="`10.0.0.2` vs `192.168.0.2` - it looks like 2 different networks? It looks like somehow non-standard configuration. Would you mind to describe the architecture?" CreationDate="2010-09-12T15:52:51.593" UserId="305" />
  <row Id="2003" PostId="1926" Score="1" Text="@Lazer You should consider rephrasing (or deleting this and reposting) as &quot;How do you set up local mail retrieval and delivery&quot; -- that would be a really good question to have here" CreationDate="2010-09-12T15:58:06.247" UserId="73" />
  <row Id="2004" PostId="1929" Text="@Steven Intel Graphics has supported KMS the longest IIRC ;)." CreationDate="2010-09-12T16:04:07.290" UserId="29" />
  <row Id="2006" PostId="1904" Text="The other problem with this is that I am going to want to pull some of these configurations to production machines, and I would not want to install dropbox on a production server." CreationDate="2010-09-12T17:09:03.103" UserId="1395" />
  <row Id="2007" PostId="1930" Text="Does this apply to all startups, or just reboots?" CreationDate="2010-09-12T18:34:00.650" UserId="1644" />
  <row Id="2008" PostId="1929" Text="So does nouveau (the open source nvidia driver), though only recently." CreationDate="2010-09-12T18:36:49.817" UserId="1644" />
  <row Id="2009" PostId="1809" Text="How would you find his home directory after you know what user it is?" CreationDate="2010-09-12T18:47:30.090" UserId="1644" />
  <row Id="2010" PostId="1895" Score="1" Text="MPD allows for remote control of a music player, not remotely stream music." CreationDate="2010-09-12T19:13:42.477" UserId="1644" />
  <row Id="2011" PostId="1930" Text="It applies ONLY to fcron - not vixie-cron or any other cron AFAIK." CreationDate="2010-09-12T20:04:54.713" UserId="305" />
  <row Id="2012" PostId="1809" Text="Using `getpwuid` or `getpwuid_r`." CreationDate="2010-09-12T20:20:13.153" UserId="305" />
  <row Id="2013" PostId="1933" Text="Note that while start, stop, and restart are usually sufficient for simple init scripts. You probably also want to include a 'status' action, which is easy in Debian and other distros that include status_of_proc() in its init-functions package.  Well managed packages will include all of the functions required by the LSB (http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html).  The init script distributed with tomcat in Ubuntu contains all of these actions, it is probably bet to just use that." CreationDate="2010-09-12T20:32:12.540" UserId="1207" />
  <row Id="2014" PostId="1580" Text="Fixed my problem, thanks." CreationDate="2010-09-12T20:51:32.590" UserId="289" />
  <row Id="2015" PostId="1935" Text="How do you want to extend it? By default, it does search entries in the history. If it doesn't work for you, post a minimal `.zshrc` and `.zsh_history` and Ctrl+R search that doesn't work." CreationDate="2010-09-12T20:55:32.460" UserId="885" />
  <row Id="2016" PostId="1935" Text="I've edited post." CreationDate="2010-09-12T21:12:53.300" UserId="305" />
  <row Id="2017" PostId="1938" Text="I've edited post with command that is not found despite being in `.zsh/history`." CreationDate="2010-09-12T21:14:04.563" UserId="305" />
  <row Id="2018" PostId="1935" Text="I used your .zshrc, created the history entry and afterwards it is found via &lt;kbd&gt;CTRL+R&lt;/kbd&gt;. So this should work. My zsh version is 4.3.10." CreationDate="2010-09-12T21:32:44.620" UserId="1339" />
  <row Id="2019" PostId="1935" Text="I use exact same version of zsh and I had repetidly. It takes some time (like day). " CreationDate="2010-09-12T21:35:34.847" UserId="305" />
  <row Id="2020" PostId="1947" Score="2" Text="awk is overkill. Use grep instead: `| grep 'image'`. Also, different versions of `file` (eg on different types of Unix) may not return a MIME type, so `image/` is incorrect, and the filename comes first so `^` is also inappropriate." CreationDate="2010-09-12T21:35:40.057" UserId="1620" />
  <row Id="2021" PostId="1947" Text="As of awk - yes as if the overhead really matter comparing to starting the new process ;) You can use grep if you like. As of MIME type - I used `-i` which asks to print MIME type - I assume others will return error [I don't think there is ultra-portable way]. As of filename - note the `-b` flag which disables printing the file (you haven't check the command I posted, have you?)." CreationDate="2010-09-12T21:52:49.453" UserId="305" />
  <row Id="2022" PostId="1904" Text="Dropbox does do basic version control. It keeps records of all uploads and you can revert to previous versions or undelete deleted folders or files. The OP never said that he needed the features of version control, just that he'd like to share settings across machines." CreationDate="2010-09-12T22:14:17.057" UserId="1571" />
  <row Id="2023" PostId="1958" Text="@DoomStone Have you tried replacing the cable? bad cables can cause a system to be flaky as opposed to just not working... also make sure you buy a 'high quality cable' as cheap cables can cause problems" CreationDate="2010-09-12T22:15:33.513" UserId="29" />
  <row Id="2024" PostId="1958" Text="@DoomStone this sounds like a pure Hardware issue maybe ask on http://superuser.com I'm not sure what this would have to do with *nix. I'm considering closing but I'm not 100% on that" CreationDate="2010-09-12T22:18:13.023" UserId="29" />
  <row Id="2025" PostId="1958" Text="@xenoterracide Yes i have tryed with another cable that i know works, and also it is a verry high quality." CreationDate="2010-09-12T22:22:32.367" />
  <row Id="2026" PostId="1958" Text="@xenoterracide I am a bit unsure where the problem liest that why i tryed here. as it dose run ubuntu :D but i could also try over there to be safe" CreationDate="2010-09-12T22:23:27.980" />
  <row Id="2027" PostId="1957" Text="I've thought about it but what if filename contains ' image/'. It is valid filename. Better is possibly `for f in files; do file -ib $file | grep '&quot;^image/&quot; &amp;&amp; echo $file; done`" CreationDate="2010-09-12T22:26:17.803" UserId="305" />
  <row Id="2028" PostId="1947" Text="Oops, yes, you are right. I forgot to use the -ib when I tested it.  However, using -b loses the file name, so how do you know which files matched?" CreationDate="2010-09-12T23:09:02.693" UserId="1620" />
  <row Id="2029" PostId="1930" Text="@Maciej It definitely works for vixie-cron; that's what I use" CreationDate="2010-09-12T23:10:24.937" UserId="73" />
  <row Id="2030" PostId="1930" Text="@Hugo All startups" CreationDate="2010-09-12T23:10:54.077" UserId="73" />
  <row Id="2031" PostId="1957" Text="@Maciej: The sed script only matches lines where the text after the *last* colon is `image/FOO` (`FOO` is not allowed to contain a `:`). So it's not a problem if the file names contain `image/`." CreationDate="2010-09-12T23:12:25.293" UserId="885" />
  <row Id="2032" PostId="1947" Text="@Neil: Given that most versions of file don't produce anything close to parsable output (for example they might print `Netboot image` or `4 images/screen`), what do you propose that's better than installing a `file` that can print mime types?" CreationDate="2010-09-12T23:17:06.623" UserId="885" />
  <row Id="2033" PostId="1932" Score="1" Text="You need to mark this question as answered, ie accept your own answer. Or delete it altogether." CreationDate="2010-09-12T23:25:50.053" UserId="1620" />
  <row Id="2034" PostId="1478" Score="4" Text="A friend did this, and I helped him restore the table. Unfortunately, we didn't have the previous values for the partition sizes and offsets, so we used a bash loop with `dd` reading the first 4k block of every cylinder piped into `file -` to find the superblock and thus the start of the filesystem. This was on a live CD and there wasn't enough RAM to do everything we needed to do (which included installing a package or two) so we piped into a process running in ssh on another machine." CreationDate="2010-09-12T23:37:38.827" UserId="1620" />
  <row Id="2035" PostId="1947" Text="@Gilles: I don't really have an alternative solution. I was simply unaware of `-i` and had failed to notice that @Maciej had used it. I see that `file` supports `-i` on Mac OS, so probably it's supported on the BSDs, too." CreationDate="2010-09-13T00:03:40.653" UserId="1620" />
  <row Id="2036" PostId="1959" Text="I agree, but the filename is part of a command string, and instead of parsing out the command string to append to the filename (at the end), I'd just like to append it." CreationDate="2010-09-13T01:02:30.017" UserId="1571" />
  <row Id="2037" PostId="1963" Text="http://www.mplayerhq.hu/DOCS/codecs-status.html - The first part of the list is the complete listing of 'working' codecs. I'll try to compile a list like the one you've mentioned over the course of the next few days and will get back to you- &gt;D Good question. Cheers." CreationDate="2010-09-13T02:20:18.670" UserId="1074" />
  <row Id="2038" PostId="1875" Text="Out of curiosity, why GIT and not SVN?" CreationDate="2010-09-13T03:09:56.600" UserId="1644" />
  <row Id="2039" PostId="1839" Score="1" Text="@Paresh: you need to work on your English a bit." CreationDate="2010-09-13T04:05:58.977" />
  <row Id="2040" PostId="1964" Text="&quot;It's very slow because it uses a great deal of bandwidth. The X11 protocol is very complex and often involves sending large pixmaps back and forth across the connection.&quot; - this is wrong, the X11 protocol isn't very complex and it doesn't involve sending large pixmaps back and forth across the connection. Come and join this proposal to learn more about the X Window System: http://area51.stackexchange.com/proposals/20129/the-x-window-system" CreationDate="2010-09-13T04:09:04.720" />
  <row Id="2041" PostId="1964" Score="1" Text="@Sherlock: Well, the fact remains that it uses a lot of bandwidth. I deleted the offending sentence." CreationDate="2010-09-13T04:19:29.930" UserId="1534" />
  <row Id="2042" PostId="1883" Text="But this is a pending read error, so shouldn't it be enough to just read all sectors?" CreationDate="2010-09-13T06:24:08.243" UserId="1623" />
  <row Id="2043" PostId="1905" Text="Also a good idea. Thanks." CreationDate="2010-09-13T06:28:47.513" UserId="1623" />
  <row Id="2044" PostId="1959" Score="1" Text="@Falmarri: You can't just append a file name to a command string! A command string will be parsed by the shell, so special characters in file names need to be quoted. So you do need to construct the file name, then quote it properly to put it into the command string." CreationDate="2010-09-13T07:19:51.760" UserId="885" />
  <row Id="2045" PostId="1959" Text="This is a really specific project that I'm pretty much just going to be using myself. I probably haven't been clear enough to justify not being robust about this. I'm getting this file path string from a class that gives me a correctly escaped file path and such. And I'm appending it to a command line argument" CreationDate="2010-09-13T07:38:56.657" UserId="1571" />
  <row Id="2046" PostId="1918" Text="Looks like 2 successes on 10.0.0.2 and 2 fails on 192.168.0.2. Show us your ifconfig, the contents of your wpa_supplicant.conf, and describe your network" CreationDate="2010-09-13T07:45:53.627" UserId="1571" />
  <row Id="2047" PostId="1970" Text="Is using the USB a requirement? You could use dropbox http://www.dropbox.com/ . Also, are doing this so often that writing the the drive so often is actually going to kill it? You could just make backups and wait for it to die and buy another one, USB drives are cheap." CreationDate="2010-09-13T07:50:23.847" UserId="1571" />
  <row Id="2048" PostId="1918" Text="@Maciej, the `10.0.0.2` is just a ip outside of my wireless network. I replaced it with `google.com`" CreationDate="2010-09-13T08:45:15.667" UserId="1327" />
  <row Id="2049" PostId="1883" Text="@dkagedal: No, the firmware of the HD already detected that it can't read this one sector. It has no way to recover it (on its own, besides perhaps to retry and retry and have luck at some point ... hopefully it is not corrupted data then returned) and thus sets up this SMART error. But if the firmware detects a write on that specific sector, it maps this sector away (and does not use it anymore) and instead maps a spare (working) sector to this address." CreationDate="2010-09-13T09:04:36.477" UserId="1131" />
  <row Id="2050" PostId="1832" Text="@Kevin M: just kidding. I meant as a feature-request to the devs of unix/linux software" CreationDate="2010-09-13T09:46:26.463" UserId="863" />
  <row Id="2052" PostId="1976" Text="I like my questions to remain distro-agnostic, would `echo -e &quot;\007&quot;` work in bash instead of `print &quot;\007` in perl?" CreationDate="2010-09-13T10:35:48.643" UserId="1327" />
  <row Id="2054" PostId="1979" Text="If you're using an X terminal or ssh'd into the machine, this may just cause the terminal to flash, since many xterm/vt100 type programs are configured to do that for BEL characters." CreationDate="2010-09-13T10:52:50.293" UserId="138" />
  <row Id="2055" PostId="1925" Text="If you do that then you've effectively taken the ability to specify a path to the config file away from the user. Might be doable if you get rally fancy with a wrapper exe.  " CreationDate="2010-09-13T11:08:01.943" UserId="1588" />
  <row Id="2056" PostId="1873" Text="Yeah, I meant /proc/PID/home to mean that all proc/PID dirs should support this and thus include /proc/self " CreationDate="2010-09-13T11:09:35.637" UserId="1588" />
  <row Id="2057" PostId="1980" Score="2" Text="The homepage to the `beep` command is: http://johnath.com/beep/  On Ubuntu/Debian, you can install it with `apt-get install beep`." CreationDate="2010-09-13T11:48:53.987" UserId="274" />
  <row Id="2058" PostId="1979" Text="@warren. Good point, will update answer." CreationDate="2010-09-13T13:20:13.357" UserId="292" />
  <row Id="2060" PostId="1723" Score="1" Text="By a coincidence, Henry Spencer is also the name of the lead character in the 1977 film &quot;Eraserhead&quot;, so googling for this name gives lots of images of someone with electric-shock style hair." CreationDate="2010-09-13T13:37:50.393" />
  <row Id="2061" PostId="1973" Text="&quot;should&quot; -&gt; &quot;shouldn't&quot;." CreationDate="2010-09-13T13:39:24.307" />
  <row Id="2062" PostId="1947" Text="@Neil: simply - if `$FILE` is filename then `file -ib $FILE | awk '&quot;^image/&quot; {print}' &amp;&amp; echo $FILE` prints filename iff it's image." CreationDate="2010-09-13T15:04:02.490" UserId="305" />
  <row Id="2063" PostId="1751" Text="I do understand a little bit about real-time application, and I did developed soft-realtime applications for embedded systems, and I understood that it won't give &quot;faster&quot; experience, but in theory it should give more &quot;responsive&quot; user interactions, isn't that true?" CreationDate="2010-09-13T15:36:13.657" UserId="317" />
  <row Id="2064" PostId="1915" Text="I am not sure that is the case. Allowing clients to update the DNS zone directly would be a security nightmare. A rogue client can wreck havoc on the network if it is allowed to update the DNS zones. When I setup the DNS on Linux, I setup who can update the zone and then I have to setup the DHCP with that same information. Here is what Windows does: http://technet.microsoft.com/en-us/library/cc787034(WS.10).aspx. Here is a question at ServerFault: http://serverfault.com/questions/34553/dhcp-failing-to-update-dns." CreationDate="2010-09-13T16:11:41.940" UserId="32" />
  <row Id="2065" PostId="1986" Text="If you don't get a answer here, try the Ubuntu SE, since the more Ubuntu-wise people hang over there... " CreationDate="2010-09-13T17:07:42.433" UserId="1327" />
  <row Id="2066" PostId="1986" Score="1" Text="@Stefan does encouraging people to split their resources really help?" CreationDate="2010-09-13T17:43:31.203" UserId="29" />
  <row Id="2067" PostId="1986" Text="@Stefan do you think is could be a *Ubuntu issue? I thought it would be just my misunderstanding of Linux fstab work-flow. If get no answer after awhile, ill try that." CreationDate="2010-09-13T17:55:58.417" UserId="1663" />
  <row Id="2068" PostId="1986" Text="@xeno, just trying to be helpfull :) the behaviour of the /mnt/share directory does seem a bit odd... unless HAL is involved.. " CreationDate="2010-09-13T18:41:02.817" UserId="1327" />
  <row Id="2069" PostId="1883" Text="@maxschlepzig, @dkagedal: Sometimes just one or two additional reads will bring the sector back. Other times, nothing will bring it back. Also, the drive decides internally whether to remap the sector or to reuse it, based on the severity of the original error, and whether it can read it back successfully after writing to it. The only way you can tell is by looking at the reallocated count for the drive. I believe that drives use fairly extensive checksumming to ensure that when data is read it is not corrupted, so you can be reasonably confident about a sector that wasn't reallocated." CreationDate="2010-09-13T19:05:35.877" UserId="1620" />
  <row Id="2070" PostId="1751" Text="Not necessarily. As far as I understand it, it will give you applications with a predictable response time." CreationDate="2010-09-13T19:06:55.720" UserId="272" />
  <row Id="2071" PostId="1976" Score="1" Text="@Stefan - Beep is pretty much 'universal'. You can, however, remain distro agnostic by using 'echo -e &quot;\a&quot;' or 'echo -e &quot;\07&quot;'. Cheers!" CreationDate="2010-09-13T19:13:55.433" UserId="1074" />
  <row Id="2072" PostId="1604" Text="Maybe you should add some rationale for why this would be a good thing to do? If such a patch exists and hasn't already made its way into the kernel there's probably a good reason." CreationDate="2010-09-13T19:26:25.373" UserId="1620" />
  <row Id="2073" PostId="1928" Text="If you do backups (rsyncing to an internal disk does not count ;)) then all your data is (re-)read in certain time intervals (depending on your full/increment backup schedule). RAID or rsync are not backup substitutes. And btw, I 'believe' that you have too much faith in Hardware-RAID vendors. ;)" CreationDate="2010-09-13T19:32:45.410" UserId="1131" />
  <row Id="2074" PostId="1875" Text="because GIT is cooler.... :P" CreationDate="2010-09-13T19:46:54.470" UserId="1327" />
  <row Id="2075" PostId="1928" Text="@maxschlepzig: You are right. I do have a separate backup regime as well. However, my experience has been that the probability of data loss due to a drive failing far outweighs all other risks put together (theft, fire, etc.). Modern hard drives have such poor reliability that I'm completely paranoid about them nowadays. So my second internal drive is a major part of my strategy." CreationDate="2010-09-13T19:51:08.603" UserId="1620" />
  <row Id="2076" PostId="1958" Text="@DoomStone I'm unsure too... have you checked the monitor? to make sure it works elsewhere? like I said this sounds a lot like a hardware problem" CreationDate="2010-09-13T20:48:38.667" UserId="29" />
  <row Id="2078" PostId="1987" Score="1" Text="@Jon I'd like to see the errors please" CreationDate="2010-09-13T20:57:34.207" UserId="29" />
  <row Id="2079" PostId="1986" Text="@Stefan HAL might be... KDE still uses it." CreationDate="2010-09-13T20:58:23.910" UserId="29" />
  <row Id="2080" PostId="1988" Text="I would mount it in `/home` creating a new root directory outside of the FHS is probably wrong. I also suspect there is a way to tell KDE to mount on login." CreationDate="2010-09-13T21:01:38.493" UserId="29" />
  <row Id="2081" PostId="1986" Text="@mxmissile I think it's something ubuntu is doing that's a little different... but I suspect that it could be done on any linux system..." CreationDate="2010-09-13T21:07:03.260" UserId="29" />
  <row Id="2082" PostId="1996" Text="you have to be more specific: what is the purpose of some_command?" CreationDate="2010-09-13T23:11:40.657" UserId="601" />
  <row Id="2083" PostId="1988" Text="The FHS constraints distributions, not to administrators. Administrators are warned that distributions may like to have ownership of areas described by the FHS, such as `/usr` and `/var`. `/mnt` is explicitly left to the administrator (`/media` was created because people couldn't agree on whether to use `/mnt` as a mount point or as a directory containing mount points). If a distribution doesn't let an administrator create mount points as subdirectories of `/mnt`, it's broken wrt the FHS." CreationDate="2010-09-13T23:23:23.863" UserId="885" />
  <row Id="2084" PostId="1988" Text="@xenoterracide: I just took another quick look at FHS and I don't see anything about not putting additional directories in `/`. The purpose of the standard is to enable different Unix systems to agree on where to put things, and what to provide, not to constrain the inclusion of additional things. Using `/home` doesn't feel right to me, since it's primarily for user's home directories." CreationDate="2010-09-13T23:36:02.310" UserId="1620" />
  <row Id="2085" PostId="1988" Score="1" Text="@Gilles: The FHS says, &quot;This directory is provided so that the system administrator may *temporarily* mount a filesystem as needed&quot; (emphasis mine). Even if the directory is recreated on every startup, the temporary aspect of the FHS is still being respected. A `/mnt` directory is provided and you are free to make subdirectories as desired: &quot;The content of this directory is a local issue and should not affect the manner in which any program is run.&quot; Using `/mnt` or a subdirectory of it as a permanent mount point is clearly out of line with the FHS." CreationDate="2010-09-13T23:38:03.537" UserId="1620" />
  <row Id="2086" PostId="1970" Score="1" Text="@mmonem I'm sorry what's the question here? you know what you need (want) to do; so what's the problem? is the problem that generally aufs (etc) don't sync back? so you're looking for an FS that does? if so what's the portability requirement? (e.g. does whatever have to work on windows)" CreationDate="2010-09-13T23:38:33.053" UserId="29" />
  <row Id="2087" PostId="1988" Score="1" Text="Has anyone been able to find where exactly ubuntu is clearing /mnt?  I did a quick grep through /etc/init/, /etc/init.d/, and /etc/udev/rules.d/ and didn't find any references to &quot;mnt&quot;." CreationDate="2010-09-13T23:40:45.217" UserId="1207" />
  <row Id="2088" PostId="1988" Text="@Neil I occasionally like putting stuff in `/home` that's not a home directory but used as a 'shared resource/dumping ground' by my users. But even I believe `/mnt` is probably more appropriate." CreationDate="2010-09-13T23:53:29.677" UserId="29" />
  <row Id="2089" PostId="1986" Text="I just did the following on my ubuntu (Maverick) system: 1. Made a directory in /mnt 2. Rebooted 3. Confirmed it was still there.  Somehow, I don't think this is normal behavior for Ubuntu." CreationDate="2010-09-14T00:01:45.637" UserId="1207" />
  <row Id="2090" PostId="1986" Text="@mxmissile: The first thing I would do is grep through your init scripts: `grep -r &quot;mnt&quot; /etc/init/*` and `grep -r &quot;mnt&quot; /etc/init.d/*` to make sure some rogue init script isn't messing with mount " CreationDate="2010-09-14T00:05:51.413" UserId="1207" />
  <row Id="2091" PostId="1887" Text="That is the exact type of information I was looking for. Thank you! After several weeks of investigation, it's a very similar resolution that I came to, but it's great to read an article that confirms my suspicions (and suggests others). The link from that page's comments was also a good reference, and a good article about POSIX and its history): http://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html" CreationDate="2010-09-14T02:07:28.093" UserId="1574" />
  <row Id="2092" PostId="1997" Score="2" Text="Keep in mind that `uptime` reports load averages for three different intervals (last minute, last five minutes and last fifteen minutes).  In general load average is only the average number of items in the run queue during that time interval.  On some systems (Linux in particular) processes in &quot;D&quot; state are counted as runnable.  So a system with processes waiting on a slow (or missing) NFS server can appear to have a large load average that has nothing to do with real load on the system." CreationDate="2010-09-14T03:49:23.067" UserId="1036" />
  <row Id="2093" PostId="2006" Text="What is in your smb.conf?" CreationDate="2010-09-14T06:48:14.040" UserId="1673" />
  <row Id="2097" PostId="1860" Text="+1, the last example is kinda like goverments... a lot of effort and boha that goes nowhere... " CreationDate="2010-09-14T07:10:17.090" UserId="1327" />
  <row Id="2098" PostId="1996" Text="from your question it is not clear whether you talk about seti@home or some delayed maintenance script." CreationDate="2010-09-14T07:44:29.147" UserId="601" />
  <row Id="2099" PostId="1996" Text="a script to run when the pc isn't too busy...." CreationDate="2010-09-14T09:09:07.310" UserId="1327" />
  <row Id="2100" PostId="1996" Text="are you being intentionally thick? a one-off thing? a daemon? something that grabs every free cpu cycle it can? something io heavy?" CreationDate="2010-09-14T10:23:10.333" UserId="601" />
  <row Id="2101" PostId="1413" Text="It did not happend before when pooling was enable. *AND* it happends when disk is mounted so I guess there should be no pooling." CreationDate="2010-09-14T10:48:53.620" UserId="305" />
  <row Id="2102" PostId="1875" Text="I've moved from SVN to git because it can actually merge, as well as its distrubuted.  Its my go-to source control" CreationDate="2010-09-14T11:31:01.100" UserId="1395" />
  <row Id="2103" PostId="1996" Score="2" Text="no hop, im not trying to be thick nor am I trying to be rude. I'm going assume my question is clear enough as the 3 answers recieved are all spot-on." CreationDate="2010-09-14T11:47:29.567" UserId="1327" />
  <row Id="2104" PostId="2005" Text="please see the edits I made to the question" CreationDate="2010-09-14T11:52:57.603" UserId="1327" />
  <row Id="2105" PostId="2015" Text="@wazoox: I checked that page but it seems to have only link to live cd and some other Consolidations. Cant find link to source archive. Can you please post the link to source." CreationDate="2010-09-14T12:03:54.307" UserId="57" />
  <row Id="2107" PostId="2017" Text="I just saw following comment. &quot;Source tarballs have been deprecated in favour of the onnv project's Mercurial repository.&quot;  and I cant install Mercurial :(. " CreationDate="2010-09-14T12:19:42.433" UserId="57" />
  <row Id="2108" PostId="2008" Text="@Gilles i know 'who' command is providing the login information of all users , but i wants to have &quot;Login-date&quot; and &quot;Login-time&quot;, and i dont wants the user information for past login but for a username accepted from a user and want to fetch the information about that user" CreationDate="2010-09-14T14:03:28.577" UserId="1608" />
  <row Id="2109" PostId="577" Text="There seems to be enough people that think this belongs on SF, so I'm going to close as OT. We [can't migrate there](http://meta.unix.stackexchange.com/questions/136/migrating-to-other-se-sites/137#137) until we're out of beta though" CreationDate="2010-09-14T14:53:15.560" UserId="73" />
  <row Id="2110" PostId="2014" Text="I heard that OpenSolaris is not &quot;open&quot; anymore? a quick google for &quot;oracle opensolaris&quot; shows a lot of results like this http://blogs.computerworld.com/16741/oracle_dumps_opensolaris" CreationDate="2010-09-14T15:04:37.857" UserId="250" />
  <row Id="2112" PostId="2006" Text="I've put the contents of my smb.conf in. Frankly, I'm unsure if I require all the explicit mode and mask bits." CreationDate="2010-09-14T16:17:10.287" UserId="692" />
  <row Id="2113" PostId="1970" Text="Thanks, all. Check the updated question" CreationDate="2010-09-14T16:50:18.613" UserId="1458" />
  <row Id="2114" PostId="2018" Text="Thanks for your answer. This is what I am currently do but I am not satisfied with it because I feel my idea is more straight forward. It also requires 4 syncing rounds. Please check the updated question." CreationDate="2010-09-14T16:54:37.883" UserId="1458" />
  <row Id="2115" PostId="2004" Text="Thanks for your answer. Please check the updated question." CreationDate="2010-09-14T16:54:57.190" UserId="1458" />
  <row Id="2117" PostId="1972" Text="That's the biggest reason I always use VNC, never direct X window. (I use VNC over a ssh tunnel). When I close the lid on my laptop, the connection is broken. With ssh -X, there is no way to resume -- I have to re-start the application from the beginning. With VNC (both direct and over a ssh tunnel), I can reconnect and continue right where I left off." CreationDate="2010-09-14T17:06:28.067" UserId="1676" />
  <row Id="2118" PostId="2008" Text="? last &quot;$username&quot; provides &quot;Login-date&quot; and &quot;Login-time&quot;. The second part of your sentence is not clear for me, maybe its my English, maybe its yours... &quot;Username accepted from a user[...]&quot; ? " CreationDate="2010-09-14T17:13:32.577" UserId="1339" />
  <row Id="2119" PostId="2008" Text="@Paresh: I've run out of ways to interpret your question. If my answer still doesn't help, try making your question clearer." CreationDate="2010-09-14T17:34:50.783" UserId="885" />
  <row Id="2120" PostId="2024" Text="Awesome. One possible correction: I think that the `find` command needs to end in `\;`" CreationDate="2010-09-14T19:34:51.260" UserId="1207" />
  <row Id="2121" PostId="2024" Text="@Steven: Thanks, I keep forgetting you can only use `+` immediately following `{}`." CreationDate="2010-09-14T19:44:44.093" UserId="885" />
  <row Id="2122" PostId="2025" Text="Oh, good point about just having multiple `AllowUsers` directives" CreationDate="2010-09-14T19:48:00.423" UserId="73" />
  <row Id="2123" PostId="1982" Text="Thanks, gonna try that." CreationDate="2010-09-14T19:59:13.460" UserId="1528" />
  <row Id="2124" PostId="2024" Text="nice list, thx for that. :-)" CreationDate="2010-09-14T20:31:50.110" UserId="1339" />
  <row Id="2125" PostId="2029" Text="`pacman -cc` to clean the entire cache including installed packages I think. Not normally recommended as you may want those as backups later." CreationDate="2010-09-14T21:22:29.117" UserId="29" />
  <row Id="2126" PostId="2027" Text="@Stefan how much RAM does it have? (just wondering if it's feasible to put things like /tmp in ram)" CreationDate="2010-09-14T21:24:03.217" UserId="29" />
  <row Id="2127" PostId="2027" Score="1" Text="@Stefan also... if you're willing to go the experimental route... btrfs supposedly supports a compressed file system (or is going to?) maybe check that out" CreationDate="2010-09-14T21:31:34.507" UserId="29" />
  <row Id="2128" PostId="2027" Text="@stefan also `du -sh /` to see where most of your space is being used." CreationDate="2010-09-14T21:33:07.593" UserId="29" />
  <row Id="2129" PostId="1976" Text="It would be more portable to use `printf '\007'` instead of `echo`." CreationDate="2010-09-14T21:58:37.373" UserId="382" />
  <row Id="2130" PostId="2006" Text="@Jonathon all your `touch` ing seems to be on a *nix system... is the system you are creating the file on windows? or are you creating the file from a windows system? or is this *nix to *nix via samba (in which case why samba and not nfs)" CreationDate="2010-09-14T22:00:41.317" UserId="29" />
  <row Id="2131" PostId="2008" Text="@Paresh : `last $USER_NAME` will show current users as well. It will show something like `username    ttyp0    192.168.1.100 Tue Sep 13 13:09   still logged in`" CreationDate="2010-09-14T22:12:53.817" UserId="4" />
  <row Id="2132" PostId="2027" Text="@xeno, 490MB RAM, and it's `du -sh /*`?" CreationDate="2010-09-14T22:32:35.440" UserId="1327" />
  <row Id="2133" PostId="2029" Text="@xeno, I already mount a diretory on my desktop for `--cachedir`, so I don't need to keep any pkg files." CreationDate="2010-09-14T22:35:09.690" UserId="1327" />
  <row Id="2134" PostId="2006" Text="@xenoterracide, I'm touching a file on the share using a Linux client; I'm going *nix to *nix in this case. There is a mix of Windows, Mac and Linux machines connecting to this samba service." CreationDate="2010-09-14T23:16:27.087" UserId="692" />
  <row Id="2135" PostId="2037" Score="2" Text="In my IANAL opinion, this is completely true.  Although, I'll bet that there is some software in /bin that is so old that any relevant patents have expired." CreationDate="2010-09-15T00:22:06.743" UserId="1207" />
  <row Id="2136" PostId="2040" Text="Except - you know - I don't want to construct pipeline each time I want to play something... (I was aware and I did used gst-launch)." CreationDate="2010-09-15T00:39:15.330" UserId="305" />
  <row Id="2137" PostId="2040" Text="Use playbin2, gst-launch playbin2 uri=file:///path/to/movie.avi suburi=file:///path/to/movie.srt&#xA;&#xA;If you don't want to type the whole thing each time, you could just write a bash script." CreationDate="2010-09-15T00:48:49.067" />
  <row Id="2138" PostId="2040" Text="But, I think keyboard shortcuts are not working when playing movies with gst-launch." CreationDate="2010-09-15T00:58:26.687" />
  <row Id="2139" PostId="2041" Text="You can escape commands as &quot;code&quot; with backticks i.e. `\`mysql -h localhost -u -p -A bigdatabase\`` (see http://unix.stackexchange.com/editing-help).  The link for that guide is at the top right of the answer box." CreationDate="2010-09-15T02:24:35.863" UserId="1382" />
  <row Id="2140" PostId="2043" Score="1" Text="I actually think the third is the reason. I know this is very common on a couple IRC channels I'm in, and it's because of LaTeX" CreationDate="2010-09-15T02:33:32.647" UserId="73" />
  <row Id="2141" PostId="2027" Text="@Stefan so it is... oops... of you can `cd /` and run `du -sh *` and drill down... (you don't really have enough ram to store stuff in it)" CreationDate="2010-09-15T03:13:04.793" UserId="29" />
  <row Id="2142" PostId="2027" Text="@Stefan I'm curious why arch (for this box)? it's not really the trimmest distro... esp given it installs all the header files." CreationDate="2010-09-15T03:14:09.770" UserId="29" />
  <row Id="2144" PostId="2047" Score="2" Text="Do you have a particular criteria to help choose? Otherwise this seems entirely subjective" CreationDate="2010-09-15T05:19:19.270" UserId="73" />
  <row Id="2145" PostId="2021" Text="Thanks a lot. I will get code today." CreationDate="2010-09-15T05:23:36.450" UserId="57" />
  <row Id="2146" PostId="2008" Text="@Gilies let me clear what i want to perform actually, i want to make a shell-script in which i accept user-name as &quot;read $username&quot; and then i want to check whether the user is log-on or not , if yes then i want to fetch their login-time and login-date, thanx for the support" CreationDate="2010-09-15T05:47:29.290" UserId="1608" />
  <row Id="2147" PostId="2021" Text="Will it be possible for you to share tar for that folder? I don't want to over load you server with lots of download request ;)" CreationDate="2010-09-15T05:51:18.547" UserId="57" />
  <row Id="2148" PostId="2047" Score="2" Text="I want it to be easy for a linux user to maintain,I also want to know the differences between linux and BSD" CreationDate="2010-09-15T06:23:10.450" UserId="1707" />
  <row Id="2149" PostId="2047" Text="If you don't already know the differences and have a particular use case in mind, you're likely to be disappointed. The differences between a modern user-oriented Linux distribution and a modern user-oriented BSD distribution are very minor at the desktop level." CreationDate="2010-09-15T06:50:20.387" UserId="502" />
  <row Id="2150" PostId="2035" Text="Not really your question, but you do realize that being a user of software that violates patents does not actually make you (as the user) guilty of anything at all, right?" CreationDate="2010-09-15T06:57:32.507" UserId="502" />
  <row Id="2152" PostId="2055" Text="How can I read local mail with this?" CreationDate="2010-09-15T08:41:05.433" />
  <row Id="2153" PostId="2055" Text="OK I found it: Configuration / Common preferences / Receive / Tick on &quot;Incorporate from local spool&quot;. " CreationDate="2010-09-15T08:49:57.153" />
  <row Id="2154" PostId="1867" Text="That sounds a bit masochistic but maybe I will try it if sylpheed gets annoying." CreationDate="2010-09-15T08:50:46.933" />
  <row Id="2156" PostId="1604" Text="I don't have any rationale as for linux kernel itself, but I'am developing multicore scalable real-time application using those allocator, and I see performance is better and scalable to the number of cores, so I'am asking is there any patch for linux kernel to be used those allocators, so my question is same as yours, if it hasn't ported to linux kernel, what's the reasons?" CreationDate="2010-09-15T11:29:02.877" UserId="317" />
  <row Id="2157" PostId="2021" Score="1" Text="Its not problem ;-) the webserver scales fine ;-)" CreationDate="2010-09-15T11:39:45.197" UserId="1339" />
  <row Id="2158" PostId="2021" Text="ok. Starting now :)." CreationDate="2010-09-15T12:23:47.230" UserId="57" />
  <row Id="2159" PostId="2020" Text="I believe that `mv file1 file2 /path/to/destination` will not do what you want it to do" CreationDate="2010-09-15T12:25:51.027" UserId="250" />
  <row Id="2160" PostId="2035" Text="I don't really understand why this question is so heavily downvoted. Is it because of the patent thing?" CreationDate="2010-09-15T12:32:32.243" UserId="250" />
  <row Id="2163" PostId="2066" Text="I don't know about mono apps, but Ubuntu can run `.exe` files through WINE by double clicking. I think it mono will be just the same." CreationDate="2010-09-15T12:42:38.240" UserId="250" />
  <row Id="2164" PostId="2059" Text="I know you are looking for a linux... but have you considered a BSD?  OpenBSD runs quite nicely (a full install) on a machine like the one you have just described.  You can do a full install in ~1GB of space including X.  Chromium and firefox are available as packages.  " CreationDate="2010-09-15T13:19:34.017" UserId="298" />
  <row Id="2165" PostId="2069" Text="@flipm0de Look in /var/lib/binfmts/cli if you're interested in how it's registered and/or if you want to change which runtime is used to run the app." CreationDate="2010-09-15T13:29:40.060" UserId="53" />
  <row Id="2166" PostId="1817" Score="1" Text="So in that instance you are trying to provide a shared location (like `/var/program-data`) for users to all access as `~/.program-data` when running said program?  Or are you trying to provide separate copies of `~/.program-data` to each instance of a program run by the same user?" CreationDate="2010-09-15T15:35:06.027" UserId="1184" />
  <row Id="2167" PostId="2081" Text="yes... `du -hs /usr/share/locale` is about 300MB... can I just `rm -rf` the unneeded files?" CreationDate="2010-09-15T15:45:52.970" UserId="1327" />
  <row Id="2168" PostId="1696" Score="1" Text="Thanks for the pointers to back to HylaFAX's own site. Users on the mailing list seem reluctant to recommend a modem and the existing compatibility list is a bit out of date, but at this point I'm leaning towards a TRENDnet TFM-560X external serial modem." CreationDate="2010-09-15T15:54:20.427" UserId="1537" />
  <row Id="2169" PostId="2073" Text="You get +1 for being first, but Mahomedalid gets +1 for pointing out the [useless use of cat](http://partmaps.org/era/unix/award.html). :)" CreationDate="2010-09-15T16:05:10.030" UserId="1537" />
  <row Id="2171" PostId="1869" Text="This problem solved itself; the disk started complaining more loudly, so I replaced it." CreationDate="2010-09-15T16:41:46.760" UserId="1623" />
  <row Id="2172" PostId="1964" Text="NX is an efficient way to transmit X11 protocol data over the network. It compresses the data, provides extensive caching and tunnels sessions over SSH." CreationDate="2010-09-15T16:43:24.027" UserId="1762" />
  <row Id="2173" PostId="2074" Score="4" Text="I guess you wanted to post a comment on the first answer instead another answer?" CreationDate="2010-09-15T16:47:11.090" UserId="1131" />
  <row Id="2174" PostId="2046" Text="Could you post an example command line you used for that?" CreationDate="2010-09-15T16:50:01.727" UserId="1131" />
  <row Id="2175" PostId="2050" Score="1" Text="How can you offer advice in one sentence, and then in the next say &quot;I can't speak anything about any of them really?&quot;  Do you use any of the BSD's, or are you just talking about what you've heard?" CreationDate="2010-09-15T16:55:06.673" UserId="298" />
  <row Id="2176" PostId="2043" Text="Just noticed another case, in Rails error messages, like: &quot;#&lt;NoMethodError: undefined method `invokable_worker_methods' for...&quot;." CreationDate="2010-09-15T16:56:20.727" UserId="1696" />
  <row Id="2177" PostId="2092" Text="So if I mount it using utf8 should I also pass utf8 to the open() syscall?" CreationDate="2010-09-15T17:11:04.160" UserId="1759" />
  <row Id="2179" PostId="2092" Text="Also I found this ( http://library.gnome.org/devel/glib/unstable/glib-Character-Set-Conversion.html#g-filename-to-utf8 ) which seems to indicate that the charset encoding of filenames is dependent on what locale is set?" CreationDate="2010-09-15T17:11:45.953" UserId="1759" />
  <row Id="2180" PostId="61" Text="BTW Zsh has built-in spelling correction that is very good at correcting simple typos." CreationDate="2010-09-15T17:14:02.250" UserId="1762" />
  <row Id="2181" PostId="126" Text="@deizel: Nothing specific, just a shortcut to avoid typing." CreationDate="2010-09-15T17:15:06.693" UserId="1762" />
  <row Id="2182" PostId="2083" Text="I've already downloaded FreeBSD,I'll try to experiment with it on virtualbox first,and the differences you mentioned are exactly the things I want to try,specially the ports collection" CreationDate="2010-09-15T17:17:20.137" UserId="1707" />
  <row Id="2183" PostId="2035" Score="2" Text="@phunehehe it's because there's an entire horde of zealots spearding FUD about mono being more unsafe, patent wise, unrelated to any common logic, and depite community promises made by Microsoft to not sue." CreationDate="2010-09-15T17:46:11.930" UserId="1770" />
  <row Id="2184" PostId="2093" Text="Ok so then I should probably check what locale the user is currently using and convert to that for new files so that he will see the filename correctly in Nautilus etc. How can I tell what the current filename charset is for the current user?" CreationDate="2010-09-15T18:28:09.277" UserId="1759" />
  <row Id="2185" PostId="2080" Score="1" Text="yes, I know ppl always talk about UUOC (http://en.wikipedia.org/wiki/Cat_(Unix)%23Useless_use_of_cat) and how it is more costly, but still `cat` is way cleaner and more readable IMO." CreationDate="2010-09-15T18:46:09.670" UserId="912" />
  <row Id="2186" PostId="2088" Score="1" Text="+1 nice, i Like, but its line 20 to 45 :)" CreationDate="2010-09-15T18:53:43.897" UserId="1327" />
  <row Id="2187" PostId="2050" Text="@Gabe I'm mostly talking about what I've heard, really though, the guy gives no criteria thus I make a recommendation based on my equally good opinion ;)." CreationDate="2010-09-15T19:01:32.313" UserId="29" />
  <row Id="2188" PostId="2100" Text="Got distracted when writing my answer. Seems that Adam has beaten me to the punch." CreationDate="2010-09-15T19:07:25.063" UserId="1207" />
  <row Id="2189" PostId="2050" Text="@xenoterracide Fair enough... lol (: " CreationDate="2010-09-15T19:14:53.453" UserId="298" />
  <row Id="2190" PostId="2080" Text="i know im beeing a stickler for detail here, but the first head command won't give lines 20-45, but 45-65.... " CreationDate="2010-09-15T19:27:27.703" UserId="1327" />
  <row Id="2191" PostId="2100" Score="1" Text="But you added to the explanation - the reason I couldn't make it work is that I was escaping only the bar and not the parens." CreationDate="2010-09-15T19:38:57.687" UserId="1773" />
  <row Id="2192" PostId="2100" Text="@Steven D: I didn't know that you can escape these special characters once more to get the same result, so +1 for you!" CreationDate="2010-09-15T20:28:30.457" UserId="1762" />
  <row Id="2193" PostId="2036" Score="2" Text="Downvoters should note that I've just answered the users question and have not intended this to be pro- or anti- mono.  If you think that this answer is wrong (it could be, I am just a happy user of mono, not an expert), then perhaps a comment or an answer of your own is warranted. " CreationDate="2010-09-15T20:57:17.160" UserId="1207" />
  <row Id="2194" PostId="2103" Score="2" Text="What's with all those extra characters?  No need to strip and re-add newlines, flip-flop assumes comparison to line number, and diamond operator runs through arguments if provided.  `perl -ne'print if 20..45' textfile`" CreationDate="2010-09-15T21:09:43.217" UserId="1779" />
  <row Id="2195" PostId="2103" Score="1" Text="Nice. -nle is a bit of a reflex I suppose, as for the rest, I have no excuse save ignorance." CreationDate="2010-09-15T21:17:41.197" UserId="1207" />
  <row Id="2197" PostId="2083" Text="I will note I had forgotten about PCBSD" CreationDate="2010-09-15T21:26:05.843" UserId="29" />
  <row Id="2198" PostId="2047" Text="@Phobia I should have said earlier that it might help to know which Linux Distro you liked the best." CreationDate="2010-09-15T21:27:17.480" UserId="29" />
  <row Id="2199" PostId="2094" Score="6" Text="@Jesse you might get better answers on [StackOverflow](http://stackoverflow.com) as I feel this is more 'bout programming than Linux." CreationDate="2010-09-15T21:30:04.117" UserId="29" />
  <row Id="2200" PostId="2066" Text="@flipm0de idk why not... it's really a matter of just telling your DE to handle the extension by executing it. ( of course the file must be marked executable )" CreationDate="2010-09-15T21:32:02.503" UserId="29" />
  <row Id="2201" PostId="2110" Text="I hope somebody coming from Google will find my answer useful even though the question is relatively old." CreationDate="2010-09-15T21:36:20.250" UserId="1762" />
  <row Id="2202" PostId="2032" Score="1" Text="+1 Yep, and I have a similar answer http://stackoverflow.com/questions/1010808/1122282#1122282 with some more details." CreationDate="2010-09-15T21:51:05.453" UserId="1779" />
  <row Id="2203" PostId="2112" Score="4" Text="Unless there are other reasons for it, I would prefer SIGTSTP over SIGSTOP, as some applications do handle SIGTSTP specially.  For example, if scp is showing a progress bar, SIGTSTP will cause it to clean up the terminal mode before suspending, but if you send SIGSTOP, it will not have a chance to do so." CreationDate="2010-09-15T21:55:09.173" UserId="1779" />
  <row Id="2204" PostId="2047" Text="I'm currently using mandriva,but I enjoyed Arch Linux the most,though it was tedious to maintain something like that on a daily basis,it just wasn't practical" CreationDate="2010-09-15T21:59:57.247" UserId="1707" />
  <row Id="2205" PostId="2080" Text="actually... it gives the lines 41 to 65" CreationDate="2010-09-15T22:06:23.773" UserId="1327" />
  <row Id="2206" PostId="2036" Score="1" Text="On the other hand, that downvote did cause you to hit 1000 exactly; maybe they were going for that ;)" CreationDate="2010-09-15T22:36:14.023" UserId="73" />
  <row Id="2207" PostId="2112" Score="1" Text="@ephemient I tried SIGTSTP, I saw what you were saying about it cleaning up the terminal. Thanks for the explanation of SIGTSTP, alawys good to learn new things :)" CreationDate="2010-09-15T22:38:19.550" UserId="171" />
  <row Id="2208" PostId="2006" Text="Are you sure your masks are good?  create mask, security mask, directory mask.  The docs aren't clear on weather a '0' by itself is valid for the masks.  Other than that... how odd.  " CreationDate="2010-09-15T22:39:25.257" UserId="298" />
  <row Id="2209" PostId="2088" Score="1" Text="ok ok, I edited it to say 20,45 :-)" CreationDate="2010-09-15T23:20:43.597" UserId="1623" />
  <row Id="2210" PostId="2072" Text="Why is this tagged &quot;gnu&quot;? This is just a question about UNIX shell scripting." CreationDate="2010-09-15T23:22:14.343" UserId="1623" />
  <row Id="2211" PostId="1604" Text="I think you should simple investigate how Linux kernel does memory allocation and perhaps you will understand more about it. There are some fundamental differences compared to memory allocation in user-level programs, since there is no underlying OS to help you." CreationDate="2010-09-15T23:28:56.670" UserId="1623" />
  <row Id="2212" PostId="2025" Text="One word of caution, looks like `AllowGroups` and `AllowUsers` do not tolerate each other (multiple entries of the same type are OK).  So, in you configuration stick to either policy, but not both." CreationDate="2010-09-15T23:57:40.780" UserId="1257" />
  <row Id="2213" PostId="2109" Text="Can't you create this directories during installation and just leave it there until the server reboots?" CreationDate="2010-09-16T00:00:21.640" UserId="1257" />
  <row Id="2214" PostId="2006" Text="I'll double check but I'm pretty sure 0 is valid. I vaguely remember having 000 at some point and it not working the way I expected it to." CreationDate="2010-09-16T00:11:39.030" UserId="692" />
  <row Id="2215" PostId="2118" Text="Didn't quite work for me. The configure script doesn't seem to find anything in ~/usr" CreationDate="2010-09-16T00:31:13.547" UserId="392" />
  <row Id="2216" PostId="2117" Text="http://serverfault.com/questions/23734 may be similar enough to help.  Most answers involve installing what is effectively an entire system within your homedir, but that can be worked around in Gentoo Prefix and Rootless Gobo." CreationDate="2010-09-16T01:42:39.397" UserId="1779" />
  <row Id="2217" PostId="2073" Score="1" Text="`awk NR==20,NR==45 textfile` works too, and reads easily." CreationDate="2010-09-16T01:47:11.133" UserId="1779" />
  <row Id="2218" PostId="2067" Text="...because `[]` represents any one of the set of characters within the brackets of which, in this case &quot;s&quot; is the only one..." CreationDate="2010-09-16T01:53:36.620" UserId="382" />
  <row Id="2219" PostId="2043" Score="1" Text="Number 3 is often seen in man pages and error messages." CreationDate="2010-09-16T01:58:47.430" UserId="382" />
  <row Id="2220" PostId="2059" Text="@gabe:  I've read that the BSDs tend not to support as much varied hardware as Linux, which may make it impractical with existing computers." CreationDate="2010-09-16T02:12:49.970" UserId="289" />
  <row Id="2221" PostId="2081" Score="1" Text="@Stefan http://wiki.archlinux.org/index.php/Locale If you edit `/etc/locale.gen` and re-run `locale-gen`, you should have fewer pre-compiled locales.  If you want to free up more space in an automated way, you might want to try http://aur.archlinux.org/packages.php?ID=11975 too.  (But it's unsupported and if it breaks your system, you get to keep the pieces.)" CreationDate="2010-09-16T02:13:03.970" UserId="1779" />
  <row Id="2222" PostId="2087" Score="1" Text="where `/var/log/kern.log` might be a different file. `dmesg` should have the same info." CreationDate="2010-09-16T02:39:37.113" UserId="29" />
  <row Id="2223" PostId="2006" Text="@gabe, writing '0' or '000' makes not difference." CreationDate="2010-09-16T02:45:50.847" UserId="692" />
  <row Id="2224" PostId="2109" Text="Since you are using a process supervisor, you should not need pid files. Can you configure apache2 and postgres not to create them?" CreationDate="2010-09-16T03:15:53.043" UserId="1078" />
  <row Id="2229" PostId="2128" Score="2" Text="This is to prevent more than just brute forcing. but bonus points for knowing where to configure it." CreationDate="2010-09-16T05:33:26.080" UserId="29" />
  <row Id="2230" PostId="2128" Text="I think that the fail_delay is also configurable in `/etc/pam.d/login`. Look for `pam_faildelay.so delay=`" CreationDate="2010-09-16T05:40:14.670" UserId="1207" />
  <row Id="2235" PostId="2132" Text="I'm curious why you DON'T want an X86/ATOM/Intel cpu." CreationDate="2010-07-30T19:47:12.447" />
  <row Id="2236" PostId="2132" Score="1" Text="@warren those would be mostly off topic here as they're not gadgets but standard x86 PCS, really." CreationDate="2010-08-01T03:14:28.423" UserId="331" />
  <row Id="2237" PostId="2133" Text="That looks like an excellent device to play with! Thank you. Apparently it even can run Android which is what I need since I wanted to get MonoDroid (Novell's .NET for Android product) when it comes out and needed a test device anyway. Looks fantastic." CreationDate="2010-07-29T22:31:11.493" />
  <row Id="2238" PostId="2134" Text="The problem with MIPS-based machines from China (I don't know if this is true about Hong Kong) is that Chinese companies have a rather warped view of what a Linux distribution should look like. And then they don't support other distributions." CreationDate="2010-07-30T11:06:08.670" />
  <row Id="2239" PostId="2137" Text="Well, I have a 'dumb' phone with no prospects of upgrading. Also, I like to plug my mp3 player into my stereo while still having my phone in my pocket." CreationDate="2010-08-04T18:06:03.957" />
  <row Id="2240" PostId="2137" Text="Lose one, you don't lose both. Phones are expensive; my refurb Fuze was $20." CreationDate="2010-08-18T16:26:50.293" />
  <row Id="2241" PostId="2138" Score="1" Text="I ran RockBox on my (recently dead) iPod 5g and really enjoyed the experience. Unfortunately there doesn't seem to be support for any of the newer models of portable mp3 players, otherwise I would definitely be going with an iPod classic with RockBox.  " CreationDate="2010-08-04T22:27:27.647" />
  <row Id="2242" PostId="2138" Text="That would depend on your definition of &quot;portable mp3 player&quot; as the Sansa devices are well-supported, even the latest ones. If you're talking about Apple gear, your comment is sound." CreationDate="2010-08-18T16:20:12.017" />
  <row Id="2243" PostId="2139" Text="As an aside, you could alway put linux on an ipod. http://ipodlinux.sourceforge.net/index.shtml" CreationDate="2010-08-19T17:49:46.647" />
  <row Id="2244" PostId="2139" Text="This would require someone to purchase something, then void the warranty with unsupported software (even if it is more useful). I would assume this user wants to buy something that works OOTB." CreationDate="2010-08-23T18:15:59.117" />
  <row Id="2245" PostId="2142" Text="Android may be based on a Linux but you can't make much out of it. There is no realy way to install your own packages, or access the shell etc" CreationDate="2010-08-06T08:18:03.200" />
  <row Id="2246" PostId="2142" Text="What about rooting?" CreationDate="2010-08-06T14:55:59.627" />
  <row Id="2247" PostId="2142" Score="2" Text="@Janusz you can install a full linux distro on android phones, i.e. http://www.talkandroid.com/android-forums/android-development/1091-install-debian-android.html" CreationDate="2010-08-09T05:28:59.457" />
  <row Id="2248" PostId="2142" Score="3" Text="@Nathan Tomkins: Only certain phones - the bootloader needs to be unlocked and the phone rooted. The process to get Debian on the G1 was pretty difficult initially, but it's refined." CreationDate="2010-08-09T16:29:59.447" />
  <row Id="2249" PostId="2142" Text="@Broam I understand that it's difficult, but even still, it's possible if you're willing to make the effort ;)" CreationDate="2010-08-10T01:42:16.670" />
  <row Id="2250" PostId="2143" Text="+1 I've forgot about this one :-)" CreationDate="2010-08-09T09:42:05.170" UserId="1101" />
  <row Id="2251" PostId="2145" Text="How much are you willing to spend?" CreationDate="2010-08-16T16:53:50.643" />
  <row Id="2252" PostId="2145" Text="Also, what are your power requirements?" CreationDate="2010-08-16T17:00:57.450" />
  <row Id="2253" PostId="2087" Text="@xenoterracide: Good point, this morning I thought that I should had mention dmesg as well. ;)" CreationDate="2010-09-16T07:13:35.637" UserId="1131" />
  <row Id="2254" PostId="2035" Text="@phunehehe - Probably downvoted by Microsoft goons for badmouthing C#. :-)" CreationDate="2010-09-16T07:30:36.590" UserId="1655" />
  <row Id="2255" PostId="2037" Score="2" Text="Not only does not answer the question but is dangerous." CreationDate="2010-09-16T07:32:50.143" UserId="1655" />
  <row Id="2256" PostId="2113" Score="1" Text="I'm also happy with i3 since 1-2 years now :-)" CreationDate="2010-09-16T08:14:29.357" UserId="1339" />
  <row Id="2257" PostId="2127" Text="//offtopic *g* its not a bug, its a feature ;-)" CreationDate="2010-09-16T08:18:19.640" UserId="1339" />
  <row Id="2258" PostId="2121" Text="There are currently no startup scripts for the servcies. The supervisor daemon is started by the init.d scripts and then the other services are started by this service, which should not run as root." CreationDate="2010-09-16T08:42:21.663" UserId="13" />
  <row Id="2259" PostId="2067" Text="yea... I really had trouble trying to explain this one in english... it's not my first language :) " CreationDate="2010-09-16T08:50:30.247" UserId="1327" />
  <row Id="2260" PostId="2073" Text="I like the the use of stdin more, it has some global consistancy with the rest of nix" CreationDate="2010-09-16T08:52:02.363" UserId="1327" />
  <row Id="2261" PostId="2072" Text="I feel that it should be removed aswell, but like [xenoterracide](http://unix.stackexchange.com/users/29/xenoterracide) once said, I don't feel strongly enough about it to do it myself" CreationDate="2010-09-16T08:53:28.700" UserId="1327" />
  <row Id="2262" PostId="2146" Text="`tmp=&quot;$(mktemp -t fingerprint-authkeys)&quot;` must be changed to `tmp=&quot;$(mktemp -t fingerprint-authkeys.XXX)&quot;`" CreationDate="2010-09-16T09:03:01.700" UserId="1327" />
  <row Id="2264" PostId="2146" Score="1" Text="@Stefan: Not all versions of `mktemp(1)` need the Xs: [FreeBSD](http://www.freebsd.org/cgi/man.cgi?query=mktemp&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.1-RELEASE&amp;format=html), [Mac OS X](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/mktemp.1.html). But, adding them will not hurt the behavior of those do not need them (they just end up with the Xs before the random suffix)." CreationDate="2010-09-16T09:49:29.603" UserId="1107" />
  <row Id="2265" PostId="2146" Text="oh.. :) cool... i tried running the script on my **arch** box... kept saying `/home/steve/.scripts/key-strength: line 36: $1: unbound variable`" CreationDate="2010-09-16T09:52:01.813" UserId="1327" />
  <row Id="2267" PostId="640" Text="+1 for beauty, +1 for style, +1 for [rcrowley](http://unix.stackexchange.com/users/506/rcrowley)" CreationDate="2010-09-16T10:02:33.897" UserId="1327" />
  <row Id="2269" PostId="126" Score="2" Text="Looks like the second letter of the command, since they both start with p, you can't use that for both." CreationDate="2010-09-16T10:20:31.830" UserId="1078" />
  <row Id="2270" PostId="2146" Text="Thanks, `-l` option is really what I was looking for!  Still it's unbelievable that you cannot pipe anything to ssh-keygen and `MUST` have file on disk." CreationDate="2010-09-16T11:40:25.793" UserId="1257" />
  <row Id="2271" PostId="2151" Score="1" Text="+1. You can omit all temporary files with named pipes. Use `mkfifo` to create `[ab].file.sorted` before using them as output for `sort`. Put both `sort`s with `&amp;` in the background and use the both piped as filenames for diff." CreationDate="2010-09-16T11:45:50.753" UserId="1794" />
  <row Id="2272" PostId="2152" Text="That sounds fine - combined with &quot;Create a file of all directories to be created at startup, then write a program that create all of those files and run it at startup.&quot; it should be perfect for me. I don't need to teardown as /var/run is mounted as tmpfs." CreationDate="2010-09-16T12:17:04.683" UserId="13" />
  <row Id="2273" PostId="2009" Text="This isn't an answer really but for me this turned out to be the network manager applet wanting to get my wifi key." CreationDate="2010-09-16T12:30:58.320" UserId="1799" />
  <row Id="2274" PostId="2155" Text="I don't think adrduino runs with linux?" CreationDate="2010-09-16T13:37:22.683" UserId="1339" />
  <row Id="2275" PostId="2151" Score="8" Text="@krissi You can also accomplish the same effect using this syntax: `diff &lt;(command 1) &lt;(command 2)`" CreationDate="2010-09-16T14:12:24.293" UserId="73" />
  <row Id="2276" PostId="2021" Text="@echox: I am done with the download if you want you can remove the repository. Thanks alot for your efforts to copy and share repository on you server. :)" CreationDate="2010-09-16T14:21:51.610" UserId="57" />
  <row Id="2277" PostId="67" Score="2" Text="And if you're using Bash (could be the same for certain other shells), M-^ (Meta-^) expands the above history expansion operators for you, just in case you'd like to see what you're actually referring to." CreationDate="2010-09-16T14:41:17.590" UserId="1804" />
  <row Id="2278" PostId="2151" Text="Thanks worked. I needed a couple of GB of memory thought but a 16GB Amazon EC2 instance fixed it :)" CreationDate="2010-09-16T15:28:24.097" UserId="1797" />
  <row Id="2279" PostId="2160" Text="It appears you want to do this from a shell. Also, do you want the data to be locked in ram? That is to NEVER get swapped out?" CreationDate="2010-09-16T15:58:40.830" UserId="26" />
  <row Id="2281" PostId="2165" Text="No, `man rsync` puts the filter after the options and before the source/destiinations. I tried this and it didn't work" CreationDate="2010-09-16T16:06:04.447" UserId="12" />
  <row Id="2282" PostId="2165" Text="Your way finds .pdf files in the current folder, but not recursively, as I want. (the `a` option is for archive and among other things it makes the copying recursive." CreationDate="2010-09-16T16:07:51.160" UserId="12" />
  <row Id="2283" PostId="2162" Text="Do you know if you are using the old grub or the new one?" CreationDate="2010-09-16T16:19:21.510" UserId="1327" />
  <row Id="2284" PostId="2160" Text="@kbyrd, updated the question, hope it makes more sense now  :)" CreationDate="2010-09-16T16:31:13.390" UserId="1327" />
  <row Id="2286" PostId="2125" Score="1" Text="a fellow rubyist, you get my vote sir" CreationDate="2010-09-16T16:36:46.367" UserId="1327" />
  <row Id="2287" PostId="2160" Score="1" Text="I'm unclear about how krissi's answer doesn't address this.  His answer provides a mechanism for writing to ram." CreationDate="2010-09-16T16:43:30.733" UserId="1207" />
  <row Id="2288" PostId="2165" Score="1" Text="Ooops, my bad. I updated my answer." CreationDate="2010-09-16T16:43:48.227" UserId="26" />
  <row Id="2289" PostId="2019" Text="Thanks for your answer... How would I `merge modifications from the COW file into the USB stick`" CreationDate="2010-09-16T16:59:40.657" UserId="1458" />
  <row Id="2290" PostId="2114" Text="Thanks for your answer. I like your approach but could you please show an example (down to Linux commands level). This would be great" CreationDate="2010-09-16T17:03:45.990" UserId="1458" />
  <row Id="2291" PostId="67" Text="@Eric Ah, cool. In zsh it's `Tab`" CreationDate="2010-09-16T17:30:45.833" UserId="73" />
  <row Id="2292" PostId="2021" Text="thx for the response, no problem. Since we all are using linux/unix such 'tasks' are no big thing ;-)" CreationDate="2010-09-16T17:37:54.780" UserId="1339" />
  <row Id="2293" PostId="2164" Text="Stefan: this sounds like exactly what you're looking for - /media/ram will act like a device (like /dev/null), and will take up no disk space: any files you create in that directory will only be created &quot;in memory&quot; (i.e. in your RAM), and will be lost when you unmount /media/ram in the last step." CreationDate="2010-09-16T17:50:09.867" UserId="558" />
  <row Id="2295" PostId="2169" Text="Wouldn't that copy all pdfs from somewhere within the current directory *and* everything from ~/LaTeX/ to ~/Output?" CreationDate="2010-09-16T18:35:42.597" UserId="1820" />
  <row Id="2296" PostId="2169" Text="I guess you meant `rsync -avn ~/LaTeX/**/*.pdf ~/Output`, but the solution with `--include` is more scalable anyway." CreationDate="2010-09-16T18:58:33.460" UserId="1762" />
  <row Id="2297" PostId="2164" Text="and thus it has been accepted" CreationDate="2010-09-16T19:04:27.857" UserId="1327" />
  <row Id="2298" PostId="2165" Text="+1 for being so close, and giving me a clue about how to find the relevant material in the manual page. (Hopefully I even got it right. :-)" CreationDate="2010-09-16T19:04:34.103" UserId="1820" />
  <row Id="2299" PostId="2169" Text="Sorry, corrected the command I mistyped in a rush... I agree that the include command (in SamB's version) is better, though it is a bit more complicated and specific to rsync while the `**` might become handy in other situations as well." CreationDate="2010-09-16T19:10:54.583" UserId="102" />
  <row Id="2300" PostId="2163" Score="1" Text="Do you want to navigate to the bookmark while being *within* nautilus or do you want to *open* nautilus at the specific location when you use a keyboard shortcut?" CreationDate="2010-09-16T19:16:05.553" UserId="102" />
  <row Id="2301" PostId="2156" Score="1" Text="On which unix variant is this different from `reboot`? And why wouldn't you want to shut your system down properly, or at the very least unmount disks as cleanly as possible?" CreationDate="2010-09-16T19:36:06.163" UserId="885" />
  <row Id="2302" PostId="1036" Text="Easier: use zsh or bash 4 and `grep -in 'pattern' **/filename`" CreationDate="2010-09-16T19:36:33.433" UserId="885" />
  <row Id="2303" PostId="2171" Score="1" Text="Indeed, sometimes to get audio output you need to set more than one volume control to a large enough value (and sometimes your mixer doesn't show all the necessary controls!). Input is usually simpler, but still, checking the volume(s) can be a nonobvious step." CreationDate="2010-09-16T19:44:19.873" UserId="885" />
  <row Id="2304" PostId="1804" Text="You think DVD playback will stress a P4? DVDs have been on computers for a lot longer than that.... I think it should be ok, even in pure software." CreationDate="2010-09-16T20:10:42.503" UserId="1399" />
  <row Id="2305" PostId="2171" Text="In addition make sure that the module (or whatever it's called I don't mean kernel module) for input is turned on! alsa leaves everything off by default it seems." CreationDate="2010-09-16T21:04:41.683" UserId="29" />
  <row Id="2306" PostId="2171" Text="I use Linux all the time to build software but I seldom use it as a desktop, so I'll try kmix tomorrow when I go back to work. Thanks for the suggestions." CreationDate="2010-09-16T21:34:12.207" UserId="452" />
  <row Id="2308" PostId="2167" Score="1" Text="I also had to remove `&quot;splash vga=769&quot;` from `GRUB_CMDLINE_LINUX` varible." CreationDate="2010-09-16T22:48:20.270" UserId="1806" />
  <row Id="2309" PostId="2166" Text="HP++ HP seems to have the best *nix support there is." CreationDate="2010-09-16T23:00:52.753" UserId="29" />
  <row Id="2310" PostId="2173" Score="2" Text="No offense this is the weirdest request ever... where can you get a nearly silent keyboard?" CreationDate="2010-09-16T23:22:27.157" UserId="29" />
  <row Id="2311" PostId="2146" Text="Stefan: Ahh, the `$1 unbound` error was because the scripts expects the path to an `authorized_keys` file as its argument. I should have made that explicit." CreationDate="2010-09-17T00:16:57.673" UserId="1107" />
  <row Id="2312" PostId="2173" Text="&quot;Nearly silent&quot; was maybe hyperbole or maybe how my keyboard sounds when I'm listening to music. It's just a run of the mill soft-dome keyboard." CreationDate="2010-09-17T00:21:31.737" UserId="392" />
  <row Id="2313" PostId="2174" Text="Good find. Doesn't seem to work in Ubuntu either, unfortunately." CreationDate="2010-09-17T00:27:03.483" UserId="392" />
  <row Id="2315" PostId="2114" Text="@mmonem Pretty straightforward as long as you have the following versions or later: Linux kernel 2.6.33, LVM2 2.02.58." CreationDate="2010-09-17T04:09:26.133" UserId="1779" />
  <row Id="2316" PostId="2135" Text="The Pandora has a resistive touch screen.  http://www.open-pandora.org/index.php?option=com_content&amp;view=article&amp;id=91&amp;Itemid=6&amp;lang=en" CreationDate="2010-09-17T04:16:52.830" UserId="1779" />
  <row Id="2317" PostId="1970" Text="@mmonem you might want to say @name so we know we were replied to." CreationDate="2010-09-17T04:29:31.510" UserId="29" />
  <row Id="2318" PostId="2174" Text="And not in arch :-/" CreationDate="2010-09-17T09:06:56.490" UserId="1339" />
  <row Id="2319" PostId="2019" Text="@mmonem You would do that with `dscow_tool --commit`. Sources for `dscow_tool` are bundled with `cowd`." CreationDate="2010-09-17T09:07:33.560" UserId="274" />
  <row Id="2320" PostId="2173" Text="There are high-end keyboards with speakers to reproduce click sounds? wtf? :-) Anyway maybe you should look for an old IBM M Series Keyboard on Ebay? :-) http://en.wikipedia.org/wiki/Model_M_keyboard" CreationDate="2010-09-17T09:08:20.043" UserId="1339" />
  <row Id="2322" PostId="2170" Text="So this will copy only the PDFs and the directory structure, while kbrd's will copy the files, but ignore the structure?" CreationDate="2010-09-17T09:29:04.567" UserId="12" />
  <row Id="2323" PostId="2170" Text="Hmm. This actually still seems to try and copy everything, I guess because that's what it does without the filter, so `include`ing extra stuff already in there doesn't change anything. If you see what I mean..." CreationDate="2010-09-17T09:33:07.273" UserId="12" />
  <row Id="2325" PostId="2179" Text="There are two types of auto-completion you could mean when you say that an existing shell “cannot generate auto-complete for [the new commands]”:&#xA;&#xA;“command completion”—trying to get the shell to suggest the new command’s name when completing in the command position, and “argument completion”—trying to get the shell to suggest options/arguments for the new command once you have already typed its name.&#xA;&#xA;Which is giving you problems?" CreationDate="2010-09-17T11:00:59.673" UserId="1107" />
  <row Id="2326" PostId="2180" Score="1" Text="Either rehash incantation should enable command-name completion of “new commands” in shells that were previously fully hashed. Setting PATH (or path) will also cause a rehash; thus  `PATH=&quot;$PATH&quot;` would also do the job.&#xA;&#xA;`HASH_LIST_ALL` is shown as a default in my documentation." CreationDate="2010-09-17T11:13:13.160" UserId="1107" />
  <row Id="2327" PostId="2183" Text="no hexdump. :(  `hexdump:  not found`&#xA;" CreationDate="2010-09-17T11:18:15.847" UserId="57" />
  <row Id="2328" PostId="2183" Text="@krissi: BTW can you please explain what above command do ?" CreationDate="2010-09-17T11:20:59.627" UserId="57" />
  <row Id="2329" PostId="2183" Text="sure ;) `find` localizes all files in the directory and executes hexdump. `hexdump -C` shows the ascii-numbers of the filename on the left and the corresponding ascii-chars on the right. An example output is available at http://en.wikipedia.org/wiki/Hex_dump (6th sample). I did not know that HP-UX does not have a hexdump, sorry. Google said, the command `xd` can replace hexdump on HP-UX" CreationDate="2010-09-17T11:35:58.777" UserId="1794" />
  <row Id="2330" PostId="2190" Text="I cannot see the ubuntu options from within YaST-&gt;Boot Loader-&gt;Choose Image " CreationDate="2010-09-17T14:10:28.587" UserId="1836" />
  <row Id="2331" PostId="2179" Score="1" Text="Good question! I'd always just assumed it couldn't be done, I didn't think to check" CreationDate="2010-09-17T14:13:03.753" UserId="73" />
  <row Id="2332" PostId="2174" Text="You're possibly suffering from https://bugs.freedesktop.org/show_bug.cgi?id=24503, as both Ubuntu  Lucid and openSUSE 11.2 use evdev and xserver ≥1.7.0 and &lt;1.7.99.902.  I'm surprised about Arch, because they're more up to date… but maybe you've hit a different bug." CreationDate="2010-09-17T14:20:20.587" UserId="1779" />
  <row Id="2333" PostId="2179" Score="1" Text="offtopic - people are so fickle 4 people favorited but only 2 upvote... I find it odd how few people upvote things." CreationDate="2010-09-17T15:08:57.120" UserId="29" />
  <row Id="2334" PostId="2179" Text="@Chris I mean after typing a few characters of a command's name and press tab, zsh should do the rest and pull up the full name." CreationDate="2010-09-17T15:26:54.363" UserId="250" />
  <row Id="2336" PostId="2173" Score="1" Text="@echox I would use a Model M, but it's a quiet office. Here's a keyboard with a supplemental click sound: http://en.wikipedia.org/wiki/Kinesis_(keyboard)" CreationDate="2010-09-17T16:17:55.673" UserId="392" />
  <row Id="2337" PostId="2147" Text="`eval` is exactly what was needed. I just used the `BUILD_CFLAGS=&quot;\&quot;...\&quot;&quot; ... CONFIG_OPTS=&quot;..$BUILD_CFLAGS&quot; ... eval ../../src/libiconv/configure &quot;$CONFIG_OPTS$&quot;...` version and it works as it should now. Thanks!" CreationDate="2010-09-17T17:07:43.250" UserId="1772" />
  <row Id="2338" PostId="2147" Text="@above: I meant `&quot;...&quot;$CONFIG_OPTS&quot;` without the last `$`" CreationDate="2010-09-17T17:37:20.837" UserId="1772" />
  <row Id="2339" PostId="2179" Text="@xeno I noticed that too; it's pretty unusual to favorite something but not upvote it" CreationDate="2010-09-17T17:43:31.083" UserId="73" />
  <row Id="2340" PostId="2193" Score="1" Text="If you have the ALSA utils installed, what do `aplay -l` and `speaker-test -D plughw:0` say?  The logs indicate that the sound devices are registered in the `udev` database but fail `access(&quot;…&quot;, R_OK|W_OK)` for your user.  This is not a PulseAudio issue." CreationDate="2010-09-17T18:04:25.287" UserId="1779" />
  <row Id="2341" PostId="2073" Text="Reading from command line arguments has consistency with other UNIX utilities too, and my main point was to demonstrate awk's `,` range operator." CreationDate="2010-09-17T18:10:58.040" UserId="1779" />
  <row Id="2342" PostId="2085" Text="One of the Xen founders is behind KVM.  The theory goes, IIRC, that virtualizing Linux on top of Linux sounds, potentially, much more efficient via KVM because of the way driver code can be shared." CreationDate="2010-09-17T18:13:46.170" UserId="614" />
  <row Id="2343" PostId="2192" Score="2" Text="short form for the same: `:set nu`  and `:set nonu`" CreationDate="2010-09-17T18:20:23.600" UserId="57" />
  <row Id="2344" PostId="2125" Score="1" Text="While we're at it, why not `python -c 'import fileinput, sys; [sys.stdout.write(line) for nr, line in enumerate(fileinput.input()) if 19 &lt;= nr &lt;= 44]'` too?  :-P  This is something that Ruby, modeled after Perl, inspired by awk/sed, can do easily." CreationDate="2010-09-17T18:21:40.570" UserId="1779" />
  <row Id="2345" PostId="2192" Score="2" Text="Heck, `:se nu` and `:se nonu` if you really want to shave characters.  But `:set number` and `:set nonumber` are pretty clear, aren't they?" CreationDate="2010-09-17T18:29:18.507" UserId="1779" />
  <row Id="2346" PostId="2035" Score="2" Text="@Adrian: INAL and patent law varies widely from country to country, but in the US at least patent law protects the _use_ of patented 'art'. So if you do not personally have a license to use the patented art you can be sued for the use. Unisys tried to do this with the GIF file format years ago, eventually resulting in PNG http://bit.ly/9fz1mU. Granted the cost to sue an individual outweighs damages that might be awarded for the infringement. Typically the software license agreement that accompanies the software that uses patented art will extend the license to use the patent to the user. " CreationDate="2010-09-17T20:55:39.513" UserId="1854" />
  <row Id="2347" PostId="2195" Text="Is it possible to setup Parallels so that it uses /Volumes/WD (BootCamp) instead of /dev/disk# ?" CreationDate="2010-09-18T09:33:52.933" UserId="1383" />
  <row Id="2348" PostId="2194" Text="I am only able to boot from suse now so help access my ubuntu partition." CreationDate="2010-09-18T09:46:24.520" UserId="1836" />
  <row Id="2350" PostId="2204" Score="1" Text="I you add program links to your answer I'll vote it up ... ;)" CreationDate="2010-09-18T15:22:51.663" UserId="1131" />
  <row Id="2351" PostId="2212" Score="25" Text="really? my unix friends always say &quot;dash&quot;" CreationDate="2010-09-18T17:04:34.177" UserId="250" />
  <row Id="2352" PostId="2166" Text="Thanks! I've also had success with HP, but is this true for wireless printers as well?" CreationDate="2010-09-18T18:28:07.753" UserId="1800" />
  <row Id="2353" PostId="2211" Score="1" Text="in the past there was also a performance benefit. But I think that ended when 2.6 came out." CreationDate="2010-09-18T18:30:59.117" UserId="29" />
  <row Id="2354" PostId="2203" Text="aren't thinks like PIC and stack smashing and stuff supposed to help with apps trying to read an apps memory?" CreationDate="2010-09-18T18:42:58.820" UserId="29" />
  <row Id="2355" PostId="101" Score="1" Text="I think that more ram is more appropriate than faster... RAM speed is limited by the Mobo usually too..." CreationDate="2010-09-18T18:54:00.040" UserId="29" />
  <row Id="2356" PostId="2215" Score="3" Text="I'm pretty fond of &quot;octothorpe&quot; `#` and thanks to INTERCAL I can only think of the Python `%` operator as &quot;mingle&quot;. http://www.jargon.net/jargonfile/a/ASCII.html" CreationDate="2010-09-18T19:31:22.297" UserId="1294" />
  <row Id="2357" PostId="2215" Text="I always call `%` modulus. I rarely call `#` Sha[rp] outside of shabang, usually hash otherwise." CreationDate="2010-09-18T19:33:28.517" UserId="29" />
  <row Id="2358" PostId="1677" Text="@Gilles: Is that the official policy? It seems like if it is on-topic on both sites, then both sites can benefit from it. But if this has already been discussed and decided, I will be careful in the future." CreationDate="2010-09-18T19:48:42.790" UserId="115" />
  <row Id="2359" PostId="2219" Text="@tsudot Good question!, but I think wrong site, this is very much a [StackOverflow](http://stackoverflow.com) question in fact here's a whole [list](http://stackoverflow.com/search?q=buffer+overflow) of questions on buffer overflows." CreationDate="2010-09-18T19:56:22.110" UserId="29" />
  <row Id="2360" PostId="1584" Score="1" Text="It randomly fixed itself. I assume Google updates the browser automatically. It just started working one day." CreationDate="2010-09-18T20:37:36.113" UserId="1389" />
  <row Id="2361" PostId="2222" Score="1" Text="@ixtmixiix this seems like 2 separate questions... why not actually make it 2 separate questions... plus getting the sources for X actually depends highly on what X is." CreationDate="2010-09-18T20:42:16.937" UserId="29" />
  <row Id="2362" PostId="2127" Score="1" Text="Your affiliate link was automatically rewritten to SE's, btw." CreationDate="2010-09-18T20:50:45.470" UserId="1082" />
  <row Id="2363" PostId="1702" Score="1" Text="I'm depressed that 2001 is *vintage*" CreationDate="2010-09-18T20:52:14.667" UserId="29" />
  <row Id="2364" PostId="2127" Text="@Simon yeah I noticed that... very selfish of them when it's me doing the work. I changed the text of the link since it's not really mine... to lazy to actually change the link though" CreationDate="2010-09-18T20:57:34.203" UserId="29" />
  <row Id="2365" PostId="2166" Text="Looks like yes.  This post gives a HP wireless printer how to, http://ubuntuforums.org/showthread.php?t=1576806&amp;highlight=hp+wireless+printers . I do not have any experience with it.&#xA;&#xA;" CreationDate="2010-09-18T20:59:54.510" UserId="171" />
  <row Id="2366" PostId="2194" Score="1" Text="If you type `mount /dev/sda5 /mnt`(either as root or with sudo), then you should be able to access the root of your ubunto partition at /mnt." CreationDate="2010-09-18T21:37:34.200" UserId="195" />
  <row Id="2367" PostId="2215" Score="8" Text="Actually sharp is this character - `♯`, `#` is hash (not that anyone cares ;) )." CreationDate="2010-09-18T21:56:05.930" UserId="305" />
  <row Id="2368" PostId="2225" Text="does it must be &quot;in-kernel&quot; initrd (and what do you actually means by in-kernel) ? what if I have external file of initrd?" CreationDate="2010-09-18T22:00:29.340" UserId="317" />
  <row Id="2369" PostId="2225" Text="I would be very surprised if it used different files. As in what it actually means - you can build-in initrd in kernel just as you can build-in modules. I have / on LVM so I need to have initrd script - and the easiest way for me is to build it into kernel." CreationDate="2010-09-18T22:04:22.690" UserId="305" />
  <row Id="2370" PostId="1922" Text="Good point about watching out for different resolutions and pressure levels. For example, the current Bamboo pen-only model has a lower resolution then Pen+Touch brother tablet." CreationDate="2010-09-18T22:31:04.050" UserId="1131" />
  <row Id="2371" PostId="2229" Text="no, its not working, the file list still expanded." CreationDate="2010-09-18T22:48:39.050" UserId="317" />
  <row Id="2372" PostId="2215" Text="+1 for not caring ;) I'm just pretty sure it's shabang because the sha  is short for sharp in this case." CreationDate="2010-09-18T22:48:55.837" UserId="29" />
  <row Id="2373" PostId="2229" Text="The first one works for me in bash 3.2.48 and both in zsh 4.3.9." CreationDate="2010-09-18T22:59:27.483" UserId="305" />
  <row Id="2374" PostId="2225" Text="sorry but the 'initrd' in this question is actually an initramfs file or a filesystem that initially loaded by kernel, or the file which usually pointed by grub like this `initrd /boot/initramfs-2.6.33.3-85.fc13.i686.img`, maybe I used wrong term (I edited the question)?" CreationDate="2010-09-18T23:04:29.773" UserId="317" />
  <row Id="2375" PostId="2229" Text="oh ok, my fault I should echo using quotes for `array_item` (I use bash 4.1.7 btw)" CreationDate="2010-09-18T23:22:40.240" UserId="317" />
  <row Id="2376" PostId="2229" Text="Good to hear it. I'm on &quot;wrong&quot; system so I needed to test it on shell server - hence not brand new shell ;)" CreationDate="2010-09-18T23:56:21.180" UserId="305" />
  <row Id="2377" PostId="2222" Score="1" Text="@xenoterracide I don't think so..." CreationDate="2010-09-19T00:17:20.077" UserId="1389" />
  <row Id="2378" PostId="2224" Text="I do use Debian, and that's the answer I needed. I wanted a way that did not involve a google search, and that would work for anything on my harddrive. Thanks." CreationDate="2010-09-19T00:17:45.893" UserId="1389" />
  <row Id="2379" PostId="2215" Score="7" Text="@xeno It is, although it's spelled [shebang](http://en.wikipedia.org/wiki/Shebang_\(Unix\)#Etymology)" CreationDate="2010-09-19T00:24:27.517" UserId="73" />
  <row Id="2380" PostId="2212" Score="3" Text="There's an interesting Coding Horror post [about symbol pronunciations](http://www.codinghorror.com/blog/2008/06/ascii-pronunciation-rules-for-programmers.html) (in a programming context, although `-` is one of the ones covered)" CreationDate="2010-09-19T00:27:03.503" UserId="73" />
  <row Id="2381" PostId="2225" Text="As I stated in edit - yes at least in Ubuntu. I'd be very surprised if it hadn't work. You haven't used the wrong term but I said what 1) I have experience with 2) what I found (that Ubuntu do support it) 3) what I expect. Anyway - why not just try it." CreationDate="2010-09-19T00:29:18.387" UserId="305" />
  <row Id="2382" PostId="2195" Score="2" Text="Can you use the UUID instead of the device number?" CreationDate="2010-09-19T00:51:02.157" UserId="1571" />
  <row Id="2383" PostId="1702" Text="I can't help wondering how you installed XP. Did it come bundled?" CreationDate="2010-09-19T00:54:38.273" UserId="250" />
  <row Id="2384" PostId="2229" Score="2" Text="I think `for idx in ${!a[@]}` is preferable to using `seq` since it avoids unnecessarily using an external program and works even if the array is sparse." CreationDate="2010-09-19T04:04:37.493" UserId="382" />
  <row Id="2385" PostId="2212" Score="6" Text="I've always said &quot;minus&quot; in that context, but I started using Unix at System III (not that that in and of itself means anything). It makes perfect sense to me since there are options that start with plus in some programs. Besides, [Crocodile Dundee accent] *that's not a dash, this is a dash* — (em) or this: – (en)" CreationDate="2010-09-19T04:09:42.603" UserId="382" />
  <row Id="2386" PostId="2094" Score="2" Text="You might also want to clarify what you mean by 'mono.'  If you mean the most popular language that runs on mono, C#, then there are many books on Amazon for you--however, I'm not sure how many cover GTK#.." CreationDate="2010-09-19T06:23:04.153" UserId="1207" />
  <row Id="2387" PostId="2225" Text="ok I tried it, it confirmed the kernel can load initramfs with lzma compression, I must compile the kernel using `CONFIG_RD_LZMA=y`. but it will KP if the compression parameter is other than default, for example if i try `lzma -e -9 -z` for initramfs image it will leads to KP." CreationDate="2010-09-19T06:46:10.857" UserId="317" />
  <row Id="2388" PostId="1702" Text="XP was bundled, and it had a floppy/cd-rom sub-unit originally that got left behind somewhere in my travels as it doubles the size and mass of the box." CreationDate="2010-09-19T09:38:09.710" UserId="1294" />
  <row Id="2389" PostId="2141" Text="The iphone could loosely be considered a linux phone too, no? More like a unix phone, but whatever." CreationDate="2010-09-19T10:40:12.367" UserId="1571" />
  <row Id="2390" PostId="1677" Text="@Matthew: I thought there was an official FAQ entry about this, but I can't find it. I've [asked on meta](http://meta.unix.stackexchange.com/questions/146/policy-on-multiposting)." CreationDate="2010-09-19T13:19:02.887" UserId="885" />
  <row Id="2391" PostId="2241" Text="Why are you building gcc &amp; co. Wouldn't it be better to use it from system repositories?" CreationDate="2010-09-19T14:25:22.610" UserId="305" />
  <row Id="2392" PostId="2241" Text="I live on Windows x64, which a) doesn't have system repositories, and b) I'm experimenting and would like to build a x64 MinGW-w64 compiler with GCC 4.6" CreationDate="2010-09-19T14:26:44.700" UserId="1772" />
  <row Id="2393" PostId="1036" Score="1" Text="... or ... `find -iname *filename* -exec grep -in '*pattern to search for*' {} \;`" CreationDate="2010-09-19T15:51:41.063" UserId="1804" />
  <row Id="2394" PostId="2241" Score="1" Text="Despite your saying that you *don't* want to use Make, it seems that what you're doing is exactly what Make is built for --- it's a dependency resolution system ... which it looks like you're wanting to build yourself." CreationDate="2010-09-19T15:56:41.133" UserId="1804" />
  <row Id="2395" PostId="2245" Text="what if there are no spaces, i.e. the field name is surrounded by quotes? e.g. &quot;field&quot;" CreationDate="2010-09-19T16:42:27.147" UserId="698" />
  <row Id="2396" PostId="2241" Text="@Eric, no... I'm trying to create a BASH shell script, which runs a given set of commands, like TDM has for his GCC builds, and many others also use. That's what I want a variation of, not a makefile." CreationDate="2010-09-19T16:44:07.040" UserId="1772" />
  <row Id="2397" PostId="2245" Text="@mythz: Then you replace the quotes with newlines with tr. I'll update the answer." CreationDate="2010-09-19T16:45:13.147" UserId="1131" />
  <row Id="2398" PostId="168" Score="3" Text="+1, why didn't I think of that? (extract)" CreationDate="2010-09-19T16:48:34.000" UserId="1547" />
  <row Id="2399" PostId="2245" Text="yep did the trick :)" CreationDate="2010-09-19T16:52:38.153" UserId="698" />
  <row Id="2400" PostId="2205" Text="We can (and do), but when we distribute a set of RPMs (multiple apps with common dependencies) it's sad to make the user figure out the right install order.  I'll look into the repo-release.rpm model." CreationDate="2010-09-19T17:14:59.083" UserId="1788" />
  <row Id="2401" PostId="2142" Score="2" Text="If you need to &quot;root&quot; something... it kinda defeats the purpose of &quot;freedom&quot;. Might as well rent from Apple." CreationDate="2010-09-19T18:06:33.560" UserId="29" />
  <row Id="2402" PostId="2143" Text="Anyone know when the next iteration is coming?" CreationDate="2010-09-19T18:06:51.407" UserId="29" />
  <row Id="2403" PostId="2247" Text="Great, that's already half of it. I did mention Bash in my questionnot anything CMake/Make/Scons or something like that... Would an `echo &quot;foo\n&quot; &gt; thefile` do the job for creating the file? Will it append &quot;foo&quot; to the file, or create a new one and overwrite the previous? Thanks" CreationDate="2010-09-19T18:27:34.210" UserId="1772" />
  <row Id="2404" PostId="2248" Score="3" Text="Humm... my `clear` is part of the ncurses package, and doesn't clear the history, but only the terminal." CreationDate="2010-09-19T18:34:56.110" UserId="1804" />
  <row Id="2405" PostId="2247" Text="Never mind: I have what I wanted: `echo &quot;foo&quot; &gt;&gt; test` with your magic should do the trick!" CreationDate="2010-09-19T18:35:10.260" UserId="1772" />
  <row Id="2406" PostId="2143" Text="For info, it is running maemo, based on debian. You can even run a full Debian vm on it !" CreationDate="2010-09-19T19:27:46.957" UserId="1894" />
  <row Id="2407" PostId="2236" Text="I have successfully migrated to a new install with this method in the past." CreationDate="2010-09-19T19:31:47.983" UserId="29" />
  <row Id="2408" PostId="2191" Text="Don't forget to commit to the Vim stackexchange: http://area51.stackexchange.com/" CreationDate="2010-09-19T20:13:46.320" UserId="392" />
  <row Id="2409" PostId="2124" Text="+1 Ahh, the classic problem of people not being able to use a text editor on a file." CreationDate="2010-09-20T00:08:17.077" UserId="1899" />
  <row Id="2410" PostId="2094" Text="Mono is an implementation, theres no need for a book on it. It would be like having a book for GCC - We just have a book for C." CreationDate="2010-09-20T00:13:38.207" UserId="1899" />
  <row Id="2411" PostId="2243" Text="CMake and autotools don't fit the same niche... autotools will make the program compile (when used correctly) on any platform with `sh`, wherease CMake will require CMake on all the platforms, which is fine if your not going to want full portability. I would list CMake and autotools as different options for similar tasks." CreationDate="2010-09-20T00:15:55.580" UserId="1899" />
  <row Id="2412" PostId="2009" Text="I have a different question related to auth at http://superuser.com/questions/189204/not-authorized-to-mount-on-persistent-usb-lucid-installation, I'll appreciate a response there if anyone handling this question has any ideas." CreationDate="2010-09-20T04:06:17.183" UserId="1111" />
  <row Id="2414" PostId="2246" Text="perfect, exactly the level of detail I was in need of; many thanks" CreationDate="2010-09-20T06:36:20.020" UserId="1294" />
  <row Id="2415" PostId="2265" Text="@tante, Presently i'm using fedora, Is it possible to use ubuntu  live CD for change password ?" CreationDate="2010-09-20T09:58:49.630" UserId="1903" />
  <row Id="2416" PostId="2265" Score="2" Text="Yeah, it doesn't really matter what distribution you use." CreationDate="2010-09-20T10:11:59.323" UserId="33" />
  <row Id="2417" PostId="2265" Text="@Kumar P: But you should use an 32bit CD for an 32bit system and 64bit CD for 64bit system" CreationDate="2010-09-20T10:26:47.563" UserId="1794" />
  <row Id="2418" PostId="2260" Text="Intel HD Audio with a CX20561 codec" CreationDate="2010-09-20T12:27:12.410" UserId="1848" />
  <row Id="2419" PostId="2260" Text="I think that's different though, because mine isn't fixing on restart, plus I dug deeper and found something is going wrong between pulseaudio and alsa. I'm just gonna wipe and reimage :P" CreationDate="2010-09-20T12:28:16.323" UserId="1848" />
  <row Id="2420" PostId="2260" Text="Probably ture, I have a different codec. But the alsa guys have a full page just dedicated to Intel HDA debugging (http://www.alsa-project.org/main/index.php/Help_To_Debug_Intel_HDA ) and Pulseaudio is known to provoke bugs in the underlaying Alsa driver due to pulseaudio using more features than most other audio things." CreationDate="2010-09-20T12:38:06.490" UserId="33" />
  <row Id="2421" PostId="2265" Text="@krissi: Techincally you need 64bit kernel for 64bit system and any kernel for 32bit system. So SysResCD booted with 64-bit kernel (it has only 32-bit userland) can chroot both into 32 and 64 bit systems." CreationDate="2010-09-20T13:06:54.577" UserId="305" />
  <row Id="2422" PostId="2265" Text="@Maciej Piechotka: Thats right. But I ran into some trouble in the past with mixing 64bit CD and 32bit. Don't ask my why this happend (maybe some tools read the wrong data from /sys or /proc). Maybe it has changed meanwhile, but I keep my pendrive with both, 32bit and 64bit Linux ;)" CreationDate="2010-09-20T13:18:20.153" UserId="1794" />
  <row Id="2423" PostId="2257" Score="2" Text="Dave Airlie wrote vga_switcheroo for Linux, which is the driver software to switch between dual video cards - you can find the current sources http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/gpu/vga/vga_switcheroo.c and some of his writeups http://airlied.livejournal.com/70348.html http://airlied.livejournal.com/70480.html http://airlied.livejournal.com/70828.html http://airlied.livejournal.com/71012.html http://airlied.livejournal.com/71434.html ." CreationDate="2010-09-20T14:07:46.200" UserId="1779" />
  <row Id="2424" PostId="2274" Text="my distro (arch) doesn't have avimerge in the repositories.." CreationDate="2010-09-20T15:21:10.680" UserId="1327" />
  <row Id="2425" PostId="2212" Score="5" Text="I've never heard of `minus` before, but I like the superior feeling that goes with it. I'm switching my lingo to `minus`" CreationDate="2010-09-20T15:29:02.143" UserId="1327" />
  <row Id="2426" PostId="2274" Score="1" Text="@Stefan It appears to be part of [transcode](http://www.archlinux.org/packages/extra/i686/transcode/), if I'm reading [this](http://www.archlinux.org/packages/extra/i686/transcode/files/) correctly" CreationDate="2010-09-20T15:34:03.690" UserId="73" />
  <row Id="2427" PostId="1959" Text="@Falmarri: So use normpath to clean up the command-line value that you don't control, and then use join to put them together." CreationDate="2010-09-20T15:49:30.280" UserId="1620" />
  <row Id="2428" PostId="2019" Text="@Riccardo: What package should I install? I am running Fedora 13" CreationDate="2010-09-20T16:27:12.517" UserId="1458" />
  <row Id="2429" PostId="2278" Score="3" Text="great, I never knew this" CreationDate="2010-09-20T16:44:20.967" UserId="250" />
  <row Id="2430" PostId="2271" Score="1" Text="Do let me stress &quot;secure as your pocket&quot;. Although not used for securing a whole box, I was using a thumb-drive on my (real) key chain as containing part of a key I needed to access a non-critical crypto (virtual) key-ring. I removed the thumb drive in order to take off a key, and *poof*, I need a new strategy (or at least redundancy)." CreationDate="2010-09-20T16:53:59.127" UserId="1294" />
  <row Id="2431" PostId="2263" Score="5" Text="you'll probably get better response on http://serverfault.com/" CreationDate="2010-09-20T16:55:56.453" UserId="1294" />
  <row Id="2432" PostId="2249" Text="If this is a commercial NAS that runs Linux, the GPL may not compel them to give you compiler source (IANALicenseExpert), but it may well predispose them to give you the goods if asked nicely." CreationDate="2010-09-20T17:00:32.530" UserId="1294" />
  <row Id="2433" PostId="2275" Score="1" Text="off-topic: &quot;moeder taal&quot; is now my phrase of the week, thanks." CreationDate="2010-09-20T17:02:37.580" UserId="1294" />
  <row Id="2434" PostId="2263" Text="Indeed, come on over to serverfault. We have network people who speak Cisco and F5 over here." CreationDate="2010-09-20T17:32:57.533" UserId="366" />
  <row Id="2435" PostId="1959" Text="This is actually what I ended up doing =\ I couldn't handle the special case where I was just given `/` very well." CreationDate="2010-09-20T17:44:40.270" UserId="1571" />
  <row Id="2436" PostId="2276" Score="1" Text="Sigh ... so I've inadvertantly shown my age." CreationDate="2010-09-20T18:11:21.043" UserId="1804" />
  <row Id="2437" PostId="2284" Score="1" Text="Whether or not the Compose Key is that key or something else depends on your settings, and is very distro-, locale- and config-specific." CreationDate="2010-09-20T19:59:21.657" UserId="1071" />
  <row Id="2438" PostId="2284" Text="Isn't it Compose + ^ and then e to get this ê character?" CreationDate="2010-09-20T20:08:33.067" UserId="1131" />
  <row Id="2439" PostId="2204" Text="ubuntu install link: apt-get install cheese" CreationDate="2010-09-20T20:21:07.837" UserId="241" />
  <row Id="2440" PostId="2269" Text="Could you be more specific about when you are executing what?" CreationDate="2010-09-20T20:42:13.110" UserId="160" />
  <row Id="2441" PostId="2290" Text="Except that I'm invoking su by su -. Also `echo &quot;$XAUTHORITY&quot;` shows there is no `~`. I'll try `set-enviroment`." CreationDate="2010-09-20T21:47:48.970" UserId="305" />
  <row Id="2442" PostId="2200" Text="su-3.2# sysctl net.inet.ip.fw.one_pass&#xA;net.inet.ip.fw.one_pass: 1&#xA;su-3.2#&#xA;mask is done for different reasons, but for sake of argument i did took it off. rule 200 and 300 covers in last tip that you paste it. not sure what you mean by 4th..." CreationDate="2010-09-20T21:51:06.330" UserId="1187" />
  <row Id="2443" PostId="2263" Score="1" Text="@msw If you think a question should be closed and don't have enough rep, you can flag it for moderator attention. I'm not sure that's strictly speaking a normal use of the flag, but we still only have ~20 people that can close so it'll do until we get more people with sufficient rep" CreationDate="2010-09-20T21:56:38.240" UserId="73" />
  <row Id="2444" PostId="2284" Text="not the best of sollutions, as the compose button seems to be a  very rare occurence on keyboards.. :)" CreationDate="2010-09-20T22:12:42.860" UserId="1327" />
  <row Id="2445" PostId="2286" Text="+1 thanks micheal, really appreciate your efforts with my questions" CreationDate="2010-09-20T22:15:02.240" UserId="1327" />
  <row Id="2446" PostId="2288" Text="If you'd like to print only the filename, not the full path, use `-printf '%f\n'` instead of `-print`." CreationDate="2010-09-20T22:53:33.803" UserId="1762" />
  <row Id="2447" PostId="1996" Score="1" Text="This is a good question @Stefan. At my previous job we ran alot of load-dependent Oracle batch jobs using DBMS_JOB, and it's common to only run jobs when the load falls below a particular level. I often wished we could do this well using cron, but we only came up with hackish solutions." CreationDate="2010-09-20T23:13:29.520" UserId="4" />
  <row Id="2448" PostId="2290" Text="Actually I meant `~` as a shorthand to (what I presumed) was your home directory.  I've edited." CreationDate="2010-09-20T23:26:12.753" UserId="160" />
  <row Id="2449" PostId="2284" Text="When trying to find which physical key produces a keysym (assuming you run X), xev is your friend.  For the &quot;Compose&quot; key, look for &quot;Multi_key&quot;." CreationDate="2010-09-20T23:42:34.897" UserId="1469" />
  <row Id="2450" PostId="2289" Text="Dude, where do you *learn* this stuff?  Awesome!" CreationDate="2010-09-20T23:56:38.900" UserId="160" />
  <row Id="2451" PostId="2288" Score="1" Text="Does the OP want a list of files in the text file or the contents of the files in the text file?  I interpreted the question as the latter." CreationDate="2010-09-20T23:57:55.140" UserId="160" />
  <row Id="2452" PostId="2288" Text="@gvkv good point.  I will update my answer." CreationDate="2010-09-21T00:13:52.760" UserId="1207" />
  <row Id="2453" PostId="2280" Text="What do you want to do with the ubuntu machine? A guest OS? A host OS?" CreationDate="2010-09-21T01:00:45.507" UserId="628" />
  <row Id="2454" PostId="1529" Text="This is the one that I remember. Using &quot;rm -- --help&quot; is something I always have to look up." CreationDate="2010-09-21T04:12:07.397" UserId="603" />
  <row Id="2455" PostId="2293" Score="2" Text="I'm guessing you will get a quicker response over on Stack Overflow." CreationDate="2010-09-21T04:20:51.947" UserId="1207" />
  <row Id="2456" PostId="2294" Text="Yes, that is root cause. Thanks very much!" CreationDate="2010-09-21T05:30:03.087" UserId="1918" />
  <row Id="2457" PostId="2293" Text="Yes, thanks for your editing." CreationDate="2010-09-21T05:32:16.453" UserId="1918" />
  <row Id="2458" PostId="2263" Text="@Michael Mrozek: roger that, thanks for the guidance." CreationDate="2010-09-21T06:14:37.077" UserId="1294" />
  <row Id="2459" PostId="2284" Score="1" Text="If you run GNOME, look at &quot;System -&gt; Preferences -&gt; Keyboard&quot;, in the Layouts tab under the Options... button (phew...). There is a section in that dialog for setting the Compose key position." CreationDate="2010-09-21T06:40:22.903" UserId="1078" />
  <row Id="2460" PostId="2289" Score="2" Text="learn this? micheal writes it down here first, then hacks into YOUR ( and everyone elses ) pc and implements the behaviour there. +1 @micheal" CreationDate="2010-09-21T07:57:26.723" UserId="1327" />
  <row Id="2461" PostId="2299" Text="I forgot to uninstall my old drivers. Thank You!" CreationDate="2010-09-21T09:53:51.487" UserId="1924" />
  <row Id="2462" PostId="2032" Text="needed to install netcat" CreationDate="2010-09-21T10:11:00.120" UserId="1327" />
  <row Id="2464" PostId="2304" Text="@kevin, I tried clarifying my question. please see the updated version" CreationDate="2010-09-21T13:47:46.667" UserId="1327" />
  <row Id="2465" PostId="2249" Text="What distro are you running?  Check the documentation for the distro's package manager.  For me &quot;yum install gcc&quot; would do it.  No need to compile anything." CreationDate="2010-09-21T13:54:13.813" UserId="1927" />
  <row Id="2466" PostId="2307" Score="5" Text="&quot;arr em arr eff slash.&quot;? Unix for pirates? :-))) *scnr* ;-)" CreationDate="2010-09-21T15:00:40.703" UserId="1339" />
  <row Id="2467" PostId="2252" Text="This may even be the only solution as the NAS may not have enough system storage and RAM to build anything. Compiling will also be much faster." CreationDate="2010-09-21T15:06:22.983" UserId="629" />
  <row Id="2468" PostId="2306" Text="Its a commercial NAS with an embedded linux. They usally don't come with any package management." CreationDate="2010-09-21T15:17:25.153" UserId="1339" />
  <row Id="2469" PostId="2280" Text="i use the ubuntu server as a guest os, and i want to put vcenter there." CreationDate="2010-09-21T15:35:56.953" />
  <row Id="2470" PostId="2289" Score="2" Text="Bash 4 will do that if you `shopt -s globstar`." CreationDate="2010-09-21T16:06:17.907" UserId="382" />
  <row Id="2471" PostId="2284" Text="@maxschlepzig: In many cases you can press the keys in either order." CreationDate="2010-09-21T16:07:53.270" UserId="382" />
  <row Id="2472" PostId="2266" Text="What is your backup plan in case you loose your pen-drive?" CreationDate="2010-09-21T16:16:31.920" UserId="1931" />
  <row Id="2473" PostId="2275" Score="1" Text="It's called a circumflex: http://en.wikipedia.org/wiki/Circumflex ! :)" CreationDate="2010-09-21T16:34:27.587" UserId="647" />
  <row Id="2474" PostId="2289" Text="@gvkv: Probably by Reading the Friendly Manual :)" CreationDate="2010-09-21T18:20:52.890" UserId="1762" />
  <row Id="2476" PostId="2249" Text="It is indeed a commercial NAS with embedded linux." CreationDate="2010-09-21T19:03:48.573" UserId="1579" />
  <row Id="2477" PostId="2313" Text="I know it's possible because the Java package used to do exactly this.  It would present the EULA for the user to accept upon install or upgrade, and the installation would fail if the EULA was not accepted.  I'm only commenting because I don't know how it worked." CreationDate="2010-09-21T20:19:37.860" UserId="92" />
  <row Id="2478" PostId="2316" Score="1" Text="I have played around with similar issues and while I have reverted back to a bunch of different got repos for configuration and the stuff I work on I have found that porting too much can also be a burden: My machines are somewhat different, some run Gentoo, at work I have to use Ubuntu, they have some hardware differences that make porting some settings actually contraproductive. Let me give an example:&#xA;&#xA;I have a different Wallpaper on every machine just so I know where I am. Why? Cause some things are different on each distro and I don't want to run into problems.&#xA;" CreationDate="2010-09-21T20:23:07.927" UserId="33" />
  <row Id="2479" PostId="2094" Text="@mathepic: Ermm.  There are plenty of books on GCC (for instance, http://www.amazon.com/Introduction-GCC-Brian-J-Gough/dp/0954161793)." CreationDate="2010-09-22T00:03:13.107" UserId="1207" />
  <row Id="2480" PostId="2269" Text="It's too bad my theory didn't pan out but if you fix it, please post your solution." CreationDate="2010-09-22T02:50:53.137" UserId="160" />
  <row Id="2481" PostId="2311" Text="I think something is wrong with my mplayer. If I run `dd if=/dev/video0 | mplayer tv://device=/dev/stdin` it tells me the resource is busy. Otherwise it works ( I see video ) even when I run `mplayer tv://device=/dev/null` " CreationDate="2010-09-22T08:09:44.187" UserId="1327" />
  <row Id="2482" PostId="2326" Score="2" Text="It might be handy to know the distro and scanner." CreationDate="2010-09-22T09:14:20.420" UserId="252" />
  <row Id="2483" PostId="2275" Text="@Zolomon read the first paragraph from your link, pay special attention to the last word in that paragraph" CreationDate="2010-09-22T09:40:39.110" UserId="1327" />
  <row Id="2484" PostId="2328" Text="ehci_hcd is not loaded and I can't find the module." CreationDate="2010-09-22T09:43:59.330" UserId="1942" />
  <row Id="2485" PostId="2328" Text="Sorry meant to say--ehci_hcd is not loaded and I can't find the module in with the other modules. Same goes for uhci_hcd." CreationDate="2010-09-22T10:00:12.417" UserId="1942" />
  <row Id="2486" PostId="2328" Text="so maybe its built into the kernel. which distribution are you using?" CreationDate="2010-09-22T10:04:55.783" UserId="1339" />
  <row Id="2487" PostId="2328" Text="Mint the Ubuntu based version." CreationDate="2010-09-22T10:15:31.923" UserId="1942" />
  <row Id="2488" PostId="2332" Score="1" Text="Yes, I thought about doing that, like alias ~c=&quot;cd /daten/cvs/plugin_root&quot; but that only helps with cd, while named directories can be used with every command." CreationDate="2010-09-22T11:01:10.377" UserId="1941" />
  <row Id="2489" PostId="2314" Text="The intention of this is not to do any protection against pirates, but protection for the users so they don't get automatically updated to a new version where their license will not work any more. Because the Ubuntu (Debian) update-manager does check for updates and directly offers to install them, my question is more about control over this behavior so the users don't feel &quot;tricked&quot; into buying a new license to continue their normal work." CreationDate="2010-09-22T11:17:14.557" UserId="1746" />
  <row Id="2490" PostId="2296" Text="The file does not appear to be sparse: here is the beginning of the new file (already 23MB): http://pastebin.com/NFtnyUJU&#xA;&#xA;If I understand this correctly, it looks like a bunch of logins? (6=LOGIN_PROCESS).&#xA;&#xA;The machine is a OpenVZ container, running BOINC (distributed computing), so this might be just as expected.&#xA;&#xA;&#xA;There was another machine with a huge wtmp file (phpmyadmin, web server), where the output of `hd` looks more odd: http://pastebin.com/1UtxYudE" CreationDate="2010-09-22T11:21:07.403" UserId="1920" />
  <row Id="2491" PostId="2335" Text="`ffmpeg` is black magic. Most of the time just `ffmpeg -i input-filename output-filename` will work by itself; it figures out the formats and does the right thing automatically" CreationDate="2010-09-22T12:23:36.810" UserId="73" />
  <row Id="2492" PostId="2335" Text="unless you are very very unlucky" CreationDate="2010-09-22T12:28:52.287" UserId="1327" />
  <row Id="2493" PostId="2335" Text="and then it is really really black magic :-)" CreationDate="2010-09-22T15:08:14.693" UserId="1339" />
  <row Id="2494" PostId="2346" Text="Awesome. Thank you." CreationDate="2010-09-22T18:29:29.510" UserId="1777" />
  <row Id="2495" PostId="2344" Score="1" Text="Registered trademarks use the ® symbol." CreationDate="2010-09-22T18:40:18.743" UserId="1558" />
  <row Id="2496" PostId="2344" Text="Thx, you are right, TM is only for unregistered trademarks. I edited my post." CreationDate="2010-09-22T18:48:14.263" UserId="1339" />
  <row Id="2497" PostId="2349" Text="What virtualization software are you using?" CreationDate="2010-09-22T18:52:58.130" UserId="73" />
  <row Id="2498" PostId="2343" Score="2" Text="I heard that it is less the compilance as certified compilance. I.e. *nix have POSIX-like API but it does not have certification (which can be done only for specific version of whole system and is quite costly) [So does describe Linux/*BSD wikipedia]." CreationDate="2010-09-22T23:17:43.077" UserId="305" />
  <row Id="2499" PostId="2356" Text="Yes, it is in fact appropriate to make hand motions intended to ward off evil spirits when mentioning &quot;Xen*x&quot;." CreationDate="2010-09-23T00:17:19.197" UserId="1294" />
  <row Id="2500" PostId="2356" Score="5" Text="This is the correct answer. Trademarks did not really come into it at the time. For people that do not know just how many un*x systems there were, have a look at http://www.levenez.com/unix/ - that timeline at the top of the page. It is truely ginormous." CreationDate="2010-09-23T01:13:12.687" UserId="1078" />
  <row Id="2502" PostId="2354" Text="What distribution are you running? Under Ubuntu 10.04 Wireshark has native support for doing a capture on the USB interfaces." CreationDate="2010-09-23T07:14:02.457" UserId="61" />
  <row Id="2503" PostId="2275" Score="1" Text="Just trying to spread the knowledge. :)" CreationDate="2010-09-23T07:16:02.617" UserId="647" />
  <row Id="2504" PostId="2349" Text="What network setting are you using in VirtualBox? NAT, Bridged, ..." CreationDate="2010-09-23T11:10:06.713" UserId="252" />
  <row Id="2505" PostId="2282" Text="It might be better to use `netstat -nap | grep :7080`. Especially for lower ports it reduces the output a lot." CreationDate="2010-09-23T11:13:08.173" UserId="252" />
  <row Id="2507" PostId="2368" Text="@Bertrand Marron, Can you pls tell about one-way encrypted ?" CreationDate="2010-09-23T11:32:31.577" UserId="1903" />
  <row Id="2509" PostId="2368" Score="2" Text="One-Way encrypted means that you don't store the password but just its hash value. And the special property of the hash is that you cannot recreate the password from it. Think of it like only storing a number like the amount of letters. If i store a &quot;5&quot;, I can then quickly check whether the word &quot;Kumar&quot; can be the password. But from &quot;5&quot; I cannot calculate back to &quot;Kumar&quot; (simplified example, the hash is more complex and collisions are way less common (if not rare) with modern hashing algorithms)" CreationDate="2010-09-23T11:51:26.207" UserId="33" />
  <row Id="2510" PostId="2275" Score="1" Text="damm, now your making me feel bad +1" CreationDate="2010-09-23T13:02:38.413" UserId="1327" />
  <row Id="2511" PostId="1369" Text="wow - this makes gnu screen ridiculously more usable...great answer" CreationDate="2010-09-23T13:39:52.620" UserId="737" />
  <row Id="2512" PostId="2378" Score="3" Text="Nice, I can't believe I forgot about this. There's also a more compact `foo[123]` that will expand into `foo1 foo2 foo3`, but they need to be filenames to work in that case" CreationDate="2010-09-23T14:31:01.167" UserId="73" />
  <row Id="2513" PostId="126" Text="In ZSH you can `setopt autopushd` and all directory changes will push automatically" CreationDate="2010-09-23T14:34:43.677" UserId="73" />
  <row Id="2514" PostId="2307" Score="1" Text="arr em arr starrr, matey! grrrrep!" CreationDate="2010-09-23T15:05:48.403" UserId="1927" />
  <row Id="2515" PostId="2306" Text="OH...okay.  Seems I have much more to learn about &quot;NAS.&quot;" CreationDate="2010-09-23T15:06:43.967" UserId="1927" />
  <row Id="2516" PostId="2356" Score="1" Text="There was a time when there were way more varieties than what we have now: most people think of BSD, GNU/Linux and the rest.  However every hardware company used to have its own version of Unix, even Apple long before OS X (A-UX)." CreationDate="2010-09-23T15:09:30.643" UserId="1927" />
  <row Id="2517" PostId="2385" Text="nice, this is much simpler than I thought ;) I think I only set this on my `rdesktop` run-and-forget shells as with an alias for the command ;)" CreationDate="2010-09-23T16:10:30.580" UserId="1794" />
  <row Id="2518" PostId="2339" Text="I wanted something that works with commands other than `cd` as well..." CreationDate="2010-09-23T16:37:45.250" UserId="12" />
  <row Id="2519" PostId="2319" Text="Thanks for your answer Steve.  Weirdly, every time I've checked the status of the printer since posting this question, it's been enabled!  Maybe that thing where you say to an expert colleague, &quot;Come and look at this error... oh, it seems to work now&quot; :-)" CreationDate="2010-09-23T18:14:17.073" UserId="1190" />
  <row Id="2520" PostId="2390" Text="Good call. From the man page: &quot;This will be the textual user ID, if it can be obtained and the field width permits, or a decimal representation otherwise.&quot;" CreationDate="2010-09-23T19:16:52.983" UserId="73" />
  <row Id="2521" PostId="2391" Text="A downside of using `exec` in this way is that if the command doesn't start for any reason or terminates abruptly, you won't be able to read the error message." CreationDate="2010-09-23T19:19:21.340" UserId="885" />
  <row Id="2522" PostId="2349" Text="Why do you want to use samba instead of using the default file sharing utility in virtualbox?" CreationDate="2010-09-23T19:58:51.543" UserId="1571" />
  <row Id="2524" PostId="2384" Text="IIRC that was bug in gnome-terminal - what version are you using?" CreationDate="2010-09-23T20:50:26.090" UserId="305" />
  <row Id="2527" PostId="2349" Text="the sharing utility in virtualbox is rather slow, compared to samba (when it works)" CreationDate="2010-09-24T01:35:08.723" UserId="250" />
  <row Id="2528" PostId="2350" Score="1" Text="I don't really understand why, but setting network to &quot;Bridged adapter, virbr0&quot; makes the samba server available again. Thanks!" CreationDate="2010-09-24T01:42:16.807" UserId="250" />
  <row Id="2529" PostId="396" Text="ok I see, thanks" CreationDate="2010-09-24T01:48:59.747" UserId="334" />
  <row Id="2530" PostId="2382" Score="1" Text="you might have more success with this question on the sister site http://www.serverfault.com" CreationDate="2010-09-24T02:43:00.300" UserId="1294" />
  <row Id="2532" PostId="2374" Text="@echox, Is there any animation tutorials available for explain  about those things ?" CreationDate="2010-09-24T04:42:36.583" UserId="1903" />
  <row Id="2533" PostId="2382" Text="thanks for the suggestion." CreationDate="2010-09-24T05:26:49.680" UserId="1966" />
  <row Id="2534" PostId="2374" Score="1" Text="Which things? I don't know any, but IMHO the linked resources explain the topics clear enough and I'm sure you will find much more information if you put a little effort in searching/reading." CreationDate="2010-09-24T07:19:08.160" UserId="1339" />
  <row Id="2535" PostId="2246" Text="@msw You should probably award the bounty if this answer helped, or he'll only end up getting half (and there's a [badge](http://unix.stackexchange.com/badges/31/benefactor) in it for you as well)" CreationDate="2010-09-24T07:51:11.780" UserId="73" />
  <row Id="2536" PostId="2379" Text="Haven't found anything on http://distrowatch.com" CreationDate="2010-09-24T09:51:49.293" UserId="559" />
  <row Id="2537" PostId="2246" Text="thanks for the tip, I thought accepting awarded, but I was wrong." CreationDate="2010-09-24T11:34:25.240" UserId="1294" />
  <row Id="2538" PostId="930" Text="It doesn't &quot;must provide&quot; - shells can create temporary named pipes for this feature too." CreationDate="2010-09-24T14:11:09.727" UserId="1779" />
  <row Id="2539" PostId="2394" Text="Here's mine:  `(multiple-frames &quot;%b&quot; (&quot;&quot; invocation-name &quot;@&quot; system-name))`" CreationDate="2010-09-24T16:50:56.777" UserId="1927" />
  <row Id="2540" PostId="2252" Text="I selected this as the answer since cross-compiling is what I need to do, but the link doesn't explain *how*." CreationDate="2010-09-24T18:58:51.160" UserId="1579" />
  <row Id="2541" PostId="2308" Text="Many thanks, thank you!" CreationDate="2010-09-24T19:12:41.407" UserId="1928" />
  <row Id="2542" PostId="2403" Text="This sounds like a winner.  I'll give it a go over the weekend to see how well it works.  Thanks" CreationDate="2010-09-24T21:17:15.147" UserId="1934" />
  <row Id="2544" PostId="2282" Text="why does this produce an answer when lsof -i:7080 doesn't? OR does it?" CreationDate="2010-09-24T22:21:31.193" UserId="1835" />
  <row Id="2545" PostId="2288" Text="use xargs instead of -exec for better process efficiency." CreationDate="2010-09-24T22:22:55.713" UserId="1835" />
  <row Id="2546" PostId="2414" Score="3" Text="You can also use [bindfs](http://code.google.com/p/bindfs), which is more flexible: you don't need to be root to use it, and it can change ownership and permissions on the fly." CreationDate="2010-09-25T00:32:06.573" UserId="885" />
  <row Id="2547" PostId="2288" Score="1" Text="@jmtd: According to the man page, the `+` rather than `\;` should be roughly the same as using xargs." CreationDate="2010-09-25T02:09:59.670" UserId="1207" />
  <row Id="2549" PostId="2426" Text="what do you mean by CDlives some distros" CreationDate="2010-09-25T02:56:13.500" UserId="1990" />
  <row Id="2550" PostId="2426" Text="@baboon I think live CDs (those that let you boot up and try linux without changing anything on your machine) like the Ubuntu live CD http://www.ubuntu.com/desktop/get-ubuntu/download" CreationDate="2010-09-25T12:44:30.703" UserId="250" />
  <row Id="2551" PostId="909" Score="4" Text="I had a friend that was often bragging about compiling to the latest kernel.  I responded that I don't need more reasons to procrastinate; the internet is enough." CreationDate="2010-09-25T14:24:19.350" UserId="1931" />
  <row Id="2552" PostId="2433" Text="That was exactly what had happened! And it was solvable the way you told me. Thanks a lot :)" CreationDate="2010-09-25T14:54:10.947" UserId="1995" />
  <row Id="2553" PostId="2433" Text="@Calle: Good deal, glad that helped!" CreationDate="2010-09-25T15:13:22.690" UserId="1982" />
  <row Id="2554" PostId="2394" Text="How do I change my FQDN? I know how to change `/etc/hostname`, but that doesn't change the fully qualified name..." CreationDate="2010-09-25T17:35:16.143" UserId="12" />
  <row Id="2555" PostId="2417" Text="This'll be very helpful in the future, thanks!" CreationDate="2010-09-25T18:59:01.860" UserId="1928" />
  <row Id="2557" PostId="2394" Text="@Seamus: Simple answer: in `/etc/hosts`, on the line corresponding to your IP address, change or add a name containing at least one dot. True answer: It depends on your network setup and what you want to achieve (there's more than one way to determine the FQDN, and they sometimes give different results)." CreationDate="2010-09-25T19:48:08.920" UserId="885" />
  <row Id="2558" PostId="67" Text="This is crazy ... I think I will have a different kind of respect for question mark from now on. Thanks for this answer, awesome." CreationDate="2010-09-25T21:48:28.687" UserId="2000" />
  <row Id="2559" PostId="2435" Score="3" Text="awk is still very useful for manipulating data piped from other commands. For simple command line usage, I wouldn't consider it obsolete just yet." CreationDate="2010-09-25T21:57:43.840" UserId="1853" />
  <row Id="2560" PostId="2380" Text="Thanks for that. Very useful stuff. Once used it and forgot about it. BTW repoupdate has a command that deletes the package: it will remove both the repo info of that package (packages.gz) and the actual file itself." CreationDate="2010-09-25T22:30:10.843" UserId="688" />
  <row Id="2562" PostId="2434" Text="[You betcha!](http://perldoc.perl.org) :)" CreationDate="2010-09-26T05:23:20.687" UserId="160" />
  <row Id="2563" PostId="2443" Score="1" Text="This does not really answer my question. A lot of projects claim they have 'emphasis on error correction'. But the question is: What tools are superior in doing error correction? And why?  And btw, rubyripper looks like a frontend to cdparanoia." CreationDate="2010-09-26T10:39:37.083" UserId="1131" />
  <row Id="2564" PostId="2443" Score="2" Text="Well, all I can say is that whenever the topic of error correcting ripping is discussed, exactaudiocopy is what people recommend. Whenever there is a possible uncorrected error, it will tell you the position in the file. That means you can check if those are corrected by an other program." CreationDate="2010-09-26T11:17:13.537" UserId="1941" />
  <row Id="2565" PostId="2444" Score="2" Text="I've had the greatest success with cdparanoia over the various other unix tools I've tried. Note that the newness of the reader (both vintage and dirt/wear) makes a big difference. Now I'm looking for a ripper that can extract cleanly from music CDs that were in the car in the sun and have holes in the polycarbonate layer you can see daylight through ;)" CreationDate="2010-09-26T13:18:13.567" UserId="1294" />
  <row Id="2566" PostId="2174" Text="I've never seen `xset c` work on any system ever. I think it may be someone's idea of a joke ;)" CreationDate="2010-09-26T13:20:34.030" UserId="1294" />
  <row Id="2567" PostId="2173" Text="known bug in StackExchange comments, that last URL needs to be written http://en.wikipedia.org/wiki/Kinesis_%28keyboard%29 " CreationDate="2010-09-26T13:22:25.477" UserId="1294" />
  <row Id="2568" PostId="1318" Text="@Chris: I am guessing it's because it's subjective? I'm not sure, I wasn't the downvoter." CreationDate="2010-09-26T17:42:38.303" UserId="1974" />
  <row Id="2569" PostId="2448" Text="I don't think this is true any more. At least with recent Fedora release, parallel ATA disks get /dev/sda etc too." CreationDate="2010-09-26T18:00:56.927" UserId="1941" />
  <row Id="2570" PostId="2448" Text="This is how it is on my Ubuntu machine, but I'm not bleeding edge, so maybe it's different." CreationDate="2010-09-26T18:04:27.633" UserId="1974" />
  <row Id="2571" PostId="2446" Text="Thanks! If a partial file was left by mv or cp not by rsync, will rsync --append correctly resume the file copying?" CreationDate="2010-09-26T19:05:21.853" UserId="674" />
  <row Id="2572" PostId="2446" Text="@Tim In short, `--append` makes `rsync` believe that, if two corresponding files have different length, then the shorter one is identical to the initial part of the longer one.  So, yes, if you start copying a large file with `cp` and interrupt the copy process, then `rsync --append` will copy only the remaining part of the file.  (_Note:_ if `cp` is interrupted by a system crash, there is a small chance that the file contents and metadata are not in sync, i.e., the file is corrupted.  In this case, running `rsync` once more _without_ `--append` should fix the problem.)" CreationDate="2010-09-26T20:05:44.740" UserId="274" />
  <row Id="2573" PostId="2457" Text="@tante, Pls give me configuration of samba for printer ! Am i want to create a smb account for printer ?" CreationDate="2010-09-27T09:31:54.797" UserId="1903" />
  <row Id="2574" PostId="2457" Text="@tante, When i use administration tab, i ask user name and password, What's it ?" CreationDate="2010-09-27T09:45:52.370" UserId="1903" />
  <row Id="2575" PostId="2457" Text="On Ubuntu (and probably other sudo-oriented distributions) it's your user name and password. On other systems it's the root account." CreationDate="2010-09-27T10:03:57.177" UserId="33" />
  <row Id="2576" PostId="2457" Text="And no, you need no samba account for the printer. Cups talks to the Windows host, the samba configuration is only relevant if you want to export your printers on Linux to other systems." CreationDate="2010-09-27T10:04:48.750" UserId="33" />
  <row Id="2578" PostId="2456" Text="No. That would be `:nnoremap`; two `n`s." CreationDate="2010-09-27T10:26:54.283" UserId="160" />
  <row Id="2579" PostId="2454" Score="1" Text="Well, [not according to this](http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_%28Part_2%29) (c.f. second paragraph under Unused Keys)." CreationDate="2010-09-27T10:38:55.903" UserId="160" />
  <row Id="2580" PostId="2453" Text="Thanks Stefan. Here in Brazil **some** employers ask for &quot;UNIX knowledge&quot; no matter if it's system administration or programming. They assume they're almost the same (although I don't agree with this). " CreationDate="2010-09-27T12:08:01.073" UserId="1578" />
  <row Id="2581" PostId="2459" Score="8" Text="While tante's answer should cover your question, one meta-comment to it: It would be much easier to answer if you added your rationale to your question. Maybe there is a work around to your problem not consisting of preventing deletion of the file(s)?" CreationDate="2010-09-27T12:45:12.590" UserId="1941" />
  <row Id="2582" PostId="2457" Text="@tante, thanks by your guidance i did it successfully. I got clear idea about cups." CreationDate="2010-09-27T12:51:02.827" UserId="1903" />
  <row Id="2583" PostId="2435" Text="Also it should be available on many systems because of POSIX." CreationDate="2010-09-27T13:04:40.343" UserId="1339" />
  <row Id="2584" PostId="2460" Text="@tante, This question is asked by an interviewer to me. I don't know the answer. I asked to him for answer. He said it possible and find solution by yourself." CreationDate="2010-09-27T13:05:21.963" UserId="1903" />
  <row Id="2585" PostId="2365" Text="Ok thanks mate." CreationDate="2010-09-27T13:11:59.557" UserId="1578" />
  <row Id="2586" PostId="2460" Score="7" Text="someday you too will be an interviewer and be able to ask nonsensical questions of your own: &quot;can root create a file so large that he can't `mv` it?&quot; (which is a lame joke based on Christian theosophy, and a terrible joke if you you aren't familiar with field)" CreationDate="2010-09-27T13:23:22.357" UserId="1294" />
  <row Id="2587" PostId="2460" Score="1" Text="@msw: One could argue that it's a terrible joke even if you are familiar with the field." CreationDate="2010-09-27T13:48:50.650" UserId="618" />
  <row Id="2588" PostId="2288" Text="It was never about contents, only filenames. That said, thanks for the additional info." CreationDate="2010-09-27T14:12:23.443" UserId="1389" />
  <row Id="2589" PostId="2289" Text="@Michael Mrozek I've never ventured outside of bash in my 8 years on Linux. I've heard good things about zsh, though." CreationDate="2010-09-27T14:13:20.803" UserId="1389" />
  <row Id="2590" PostId="2289" Text="@ixt We seem to have a lot of zsh users here, generic shell questions tend to get zsh answers" CreationDate="2010-09-27T14:16:52.557" UserId="73" />
  <row Id="2594" PostId="1318" Score="3" Text="I suppose, not quite sure how usb 3.0 support is a subjective subject." CreationDate="2010-09-27T15:41:20.387" UserId="1253" />
  <row Id="2595" PostId="2465" Text="Thanks! For rsync command, in &quot;it doesn't care which file is newer&quot;, in terms of which kind of timestamp does it mean by &quot;newer&quot;. Also, on a side note, does the file type that rsync cares about mean only regular file and simlink, not the type such as pdf, jpg, htm, txt etc?" CreationDate="2010-09-27T15:44:53.910" UserId="674" />
  <row Id="2596" PostId="2460" Text="@matthew crumley: guilty as charged :)" CreationDate="2010-09-27T15:45:22.690" UserId="1294" />
  <row Id="2597" PostId="2471" Text="There is a sense behind the reputation limit for comments ;-) Just a small thought-provoking impulse. no flame intended ;-)" CreationDate="2010-09-27T16:37:44.280" UserId="1339" />
  <row Id="2598" PostId="2460" Text="@msw: I just noticed that you even admitted it was a lame joke. And FWIW, I like (some) lame jokes so I actually liked it. This is getting pretty far off topic though :)" CreationDate="2010-09-27T17:08:41.990" UserId="618" />
  <row Id="2599" PostId="2472" Text="I think that find is the most robust solution, but I would opt for either using finds `-exec` option or using `xargs`. Something like: `find LaTeX/ -type f -iname &quot;*.pdf&quot; -print0 | xargs -0 -i rsync -avn {} Output/`" CreationDate="2010-09-27T17:09:56.220" UserId="1207" />
  <row Id="2600" PostId="2465" Score="1" Text="Generally, reference to the time of a file is the &quot;modified&quot; timestamp.  For example, what you see from `ls -l`.  And the file type refers to file vs. symlink (or other types of files like directories or devices).  *Not* what the type of data in the file is (text vs. jpeg, etc)." CreationDate="2010-09-27T18:12:54.487" UserId="1971" />
  <row Id="2602" PostId="2465" Score="1" Text="@Tim In that context it's the modified timestamp; rsync is saying that when it's deciding if it should back up a file, it doesn't check to see if the source file has been modified more recently than the existing backup (which is common with backup programs); it just checks to see if the files have different sizes or different modification times and backs up if so" CreationDate="2010-09-27T18:58:00.237" UserId="73" />
  <row Id="2603" PostId="2466" Text="An initrd might have a small effect on boot times, but it won't affect the performance of your system once it's up and running." CreationDate="2010-09-27T19:05:36.647" UserId="629" />
  <row Id="2604" PostId="2477" Text="Just so everyone knows, I think I have the solution to this, but want to try it out before posting it as a solution and it will likely take a while. I didn't find a source online that inspired confidence, but since I have backups I figured I might as well just take a shot.  If somebody else write a well-written answer that works, I will refrain from posting my own answer." CreationDate="2010-09-27T21:05:32.353" UserId="1207" />
  <row Id="2606" PostId="2481" Text="Sound great, I will give it a try. However, can this be done *during* installation from a CD or other media??" CreationDate="2010-09-27T22:01:00.663" UserId="1375" />
  <row Id="2607" PostId="2481" Score="1" Text="Depends on what packages the CD comes with, I'd have to check myself. But if you install from some text-based medium every distro will provide either one of these (there also is the package `wicd` which does basically what network-manager does but I have no experience with it and don't know any distribution that uses it as standard." CreationDate="2010-09-27T22:10:22.770" UserId="33" />
  <row Id="2608" PostId="2471" Score="4" Text="+1 But that would work." CreationDate="2010-09-27T22:44:25.100" UserId="383" />
  <row Id="2610" PostId="2478" Text="Well thanks for the confirmation, but you miss the part &quot;If not, how can I make the initrd myself?&quot;" CreationDate="2010-09-28T03:52:08.180" UserId="250" />
  <row Id="2611" PostId="2466" Text="oh yes, I actually meant boot time, edited" CreationDate="2010-09-28T03:53:47.100" UserId="250" />
  <row Id="2612" PostId="2478" Text="Added some info and merged my other answer into this one." CreationDate="2010-09-28T07:00:06.117" UserId="33" />
  <row Id="2613" PostId="2478" Score="6" Text="@tante A minor correction: initrd is not used to load the _kernel_: the kernel is loaded by the bootloader (GRUB, LILO, whatever); initrd is a kind of ram-disk that provides the initial root filesystem.  It should contain all binaries (e.g., kernel modules, userspace support programs) needed to actually make the system operational.  This is why it is needed for an LVM root: the LVM subsystem needs to be initialized and its initialization is too complex to be conveniently done with kernel boot parameters alone; thus, the `linuxrc` script in initrd performs this task." CreationDate="2010-09-28T07:29:08.427" UserId="274" />
  <row Id="2614" PostId="2481" Text="@tante small typo: it's `wpa_supplicant`" CreationDate="2010-09-28T07:30:30.567" UserId="274" />
  <row Id="2615" PostId="2481" Text="@Riccardo: Thanks mate, I fixed it" CreationDate="2010-09-28T07:37:07.010" UserId="33" />
  <row Id="2616" PostId="2478" Text="You are of course right, I was somewhat sloppy with my phrasing." CreationDate="2010-09-28T07:38:15.853" UserId="33" />
  <row Id="2617" PostId="2471" Text="This and the answer by @mouviciel is the only correct solution. Even the almighty @root is still bound by the rules set by the hardware." CreationDate="2010-09-28T08:19:22.630" UserId="1989" />
  <row Id="2618" PostId="2478" Score="1" Text="Can't upvote because of pretty big mistake in answer (initrd does not allow kernel to be loaded)." CreationDate="2010-09-28T08:55:40.283" UserId="272" />
  <row Id="2619" PostId="2487" Text="oh, btw, we don't even need awk, you can just use `g++ -x c++ - -o /tmp/prog &amp;&amp; /tmp/prog` and type your commands away. One tool to rule them all! :-)" CreationDate="2010-09-28T09:10:56.193" UserId="1989" />
  <row Id="2621" PostId="2490" Text="&quot;When you are hungry, eat; when you are thirsty, drink; when you are tired, sleep.&quot; is sound advice but I have no food, water, or bed..." CreationDate="2010-09-28T10:30:16.450" UserId="13" />
  <row Id="2622" PostId="2422" Text="You might want to add `size=512MB` or something similar to the options. By default tmpfs takes half your RAM which is more that you might want for a reduced little throw-away filesystem" CreationDate="2010-09-28T12:24:38.200" UserId="33" />
  <row Id="2623" PostId="2481" Text="@tante: OK, thank you!" CreationDate="2010-09-28T13:43:33.610" UserId="1375" />
  <row Id="2624" PostId="2435" Text="Most 'advanced AWK' is probably better done with perl or python or whatever, but the simple stuff is nice to do with just awk." CreationDate="2010-09-28T14:12:39.627" UserId="455" />
  <row Id="2625" PostId="2495" Text="@fschmitt: Can Linux take advantage and activate Turbo Boost??" CreationDate="2010-09-28T14:35:16.593" UserId="1375" />
  <row Id="2626" PostId="2495" Text="If you have a recent kernel (support came at some point in 2009): Yes. If you happen to speak German, there is a nice report at http://www.heise.de/ct/hotline/Turbo-Boost-unter-Linux-861189.html" CreationDate="2010-09-28T15:07:14.433" UserId="1941" />
  <row Id="2627" PostId="2435" Score="1" Text="Awk is still useful to know to understand various answers you might find online when trying to solve a problem. You will often find examples online that use awk statements like `awk '{print $3}'`." CreationDate="2010-09-28T15:30:47.803" UserId="1207" />
  <row Id="2628" PostId="2484" Text="Which OS?  Are you willing to set up a file server with a different OS?" CreationDate="2010-09-28T16:31:54.060" UserId="614" />
  <row Id="2629" PostId="2422" Text="Why would you want to reduce the maximum size of the filesystem even more than the default (which is very conservative: you might want to store files up to your virtual memory size)? (Note that the memory required for the filesystem is the memory required to store the actual data and metadata, plus something like 10–100kB of overhead (measured on a mostly idle Ubuntu 10.04 i386 system).)" CreationDate="2010-09-28T18:14:50.797" UserId="885" />
  <row Id="2630" PostId="2497" Text="@Steven: How exactly did you test? According to my understanding of the documentation and my experimental verification, your command should only copy `*.pdf` in the toplevel directory (but not `~/LaTeX/foo/bar.pdf`)." CreationDate="2010-09-28T19:25:50.607" UserId="885" />
  <row Id="2631" PostId="2472" Text="Yeah... I'd suggest find as well... though I imagine rsync *must* be able to do this.  " CreationDate="2010-09-28T19:49:37.477" UserId="298" />
  <row Id="2632" PostId="2497" Text="@Gilles Crud. You are right. I swore I tested this and it worked, but I can't seem to recreate it.  And now that I actually read the man page that I quoted, it makes sense that it doesn't work.  Grumble." CreationDate="2010-09-28T20:10:59.897" UserId="1207" />
  <row Id="2633" PostId="2497" Score="1" Text="Well, I figured out where my test was wrong.  My &quot;small test&quot; was on a directory that has .tex and .pdf files of my own.  I then created a &quot;test&quot; subdirectory and a test.pdf and test.tex in that subdir.  However, I failed to notice that there was a test.pdf in my top level dir, likely because of some quick one of LaTeX experiment I did." CreationDate="2010-09-28T20:14:32.327" UserId="1207" />
  <row Id="2635" PostId="2170" Score="3" Text="You need --exclude=&quot;*&quot; after the --include=&quot;*.pdf&quot;, or this will transfer everything." CreationDate="2010-09-28T20:25:31.257" UserId="396" />
  <row Id="2636" PostId="2494" Text="Perhaps there is another problem somewhere.  I've run Windows XP as well as Windows 7 on AMD powered computers with far lower specs than the one you've described with very good results.  The only thing I could suggest is that if there were any Linux applications causing a great deal of hard disk activity, that would definitely slow down the the guest OS." CreationDate="2010-09-28T21:17:01.073" UserId="1889" />
  <row Id="2637" PostId="1165" Text="@axel_c, X doesn't cause the bug, open-office does, but X lets you make such bugs, and windows (for instance) don't. If a userland program causes BSOD in Win90, is it its fault for causeing it, or win90's fault for running all apps in ring 0?" CreationDate="2010-09-29T05:39:38.880" UserId="1262" />
  <row Id="2638" PostId="2513" Text="I plan to install kernel26 with bfs and hyper threading enabled, and will try it out. I hope it works well! " CreationDate="2010-09-29T06:39:12.147" UserId="2053" />
  <row Id="2639" PostId="2507" Text="I checked gmrun and like it very much, thanks." CreationDate="2010-09-29T08:30:52.713" UserId="1941" />
  <row Id="2640" PostId="2161" Text="uh, you seem to be right... I think my answer (using zsh's `**` pattern) should work, though. " CreationDate="2010-09-29T09:22:34.897" UserId="102" />
  <row Id="2641" PostId="2485" Text="Thanks for your suggestion. I'm using ext3 right now. Is fsck faster on XFS than ext3?" CreationDate="2010-09-29T11:12:30.720" UserId="2031" />
  <row Id="2642" PostId="2486" Text="Looks promising. I'll give it a try." CreationDate="2010-09-29T11:13:09.827" UserId="2031" />
  <row Id="2643" PostId="2486" Text="I see you use Ext3 now. You can convert ext3 into ext4 trivially (there are boatloads of howtos out there, it's basically just mounting the ext3 partition with a special parameter, then it's ext4 forever)." CreationDate="2010-09-29T11:23:06.050" UserId="33" />
  <row Id="2644" PostId="2495" Text="Ok. So if I get turbo boost working in the Ubuntu host, will the advantage &quot;carry over&quot; into the Windows virtual machine?" CreationDate="2010-09-29T11:42:19.927" UserId="1375" />
  <row Id="2645" PostId="2495" Text="Sure. If the processor clocks higher a core, why shouldn't Windows profit from it?" CreationDate="2010-09-29T11:46:17.080" UserId="1941" />
  <row Id="2646" PostId="2503" Text="In contrast to my solution (using zsh's `**` pattern), this recreates the directory structure in the target dir. I'm not sure whether this is what the OP wants..." CreationDate="2010-09-29T12:08:33.867" UserId="102" />
  <row Id="2647" PostId="2169" Text="I was worried that this solution wouldn't work if you had some pdfs in `foo/` and some in `foo/bar/` and you wanted them all moved that wouldn't work, but it does work. I like this answer, but I do actually want to preserve folder structure as well, so this doesn't work. But I do like the zsh `**` trick, and I'm sure I'll use it in the future!" CreationDate="2010-09-29T12:37:32.650" UserId="12" />
  <row Id="2648" PostId="2503" Text="How important is the order of the filters?" CreationDate="2010-09-29T12:38:50.567" UserId="12" />
  <row Id="2649" PostId="2472" Text="This is a neat solution to a harder problem as well: presumably I could use this to exclude files whose document class is `standalone` or which don't have a `.tex` file with the same name, since these will be images included in some document..." CreationDate="2010-09-29T12:41:23.897" UserId="12" />
  <row Id="2650" PostId="2518" Text="As you said you have no firewall, letting ssh port open on your machine is not a very good idea... and the same is still valid for the vpn port... better using a firewall and allowing his IP to connect on the port you want." CreationDate="2010-09-29T14:10:59.817" UserId="1264" />
  <row Id="2651" PostId="2514" Text="Recognized by both CMOS and Windows install disk." CreationDate="2010-09-29T15:09:13.067" UserId="2049" />
  <row Id="2652" PostId="2514" Text="could it be the SATA 3 that it is connected to?" CreationDate="2010-09-29T15:12:43.290" UserId="2049" />
  <row Id="2654" PostId="2515" Text="I took the liberty of converting it to `$(command)`. If for any reason it is not equivalent please rollback (and in such case I'm really sorry)." CreationDate="2010-09-29T16:36:16.063" UserId="305" />
  <row Id="2655" PostId="2220" Text="Actually, yumex doesn't include repository management." CreationDate="2010-09-29T16:41:24.477" UserId="1788" />
  <row Id="2656" PostId="2124" Text="They don't even need that (they can copy a prewritten .repo file).  But for a consumer application, I think it's reasonable for things named `/etc/a.b.c` to be off-putting." CreationDate="2010-09-29T16:43:09.437" UserId="1788" />
  <row Id="2657" PostId="2515" Text="For future reference, you can just use \\` to escape them" CreationDate="2010-09-29T16:51:09.613" UserId="73" />
  <row Id="2658" PostId="2515" Text="thx Maciej, its the same." CreationDate="2010-09-29T17:27:29.297" UserId="1339" />
  <row Id="2659" PostId="2515" Text="@Michael: yeah, but \` wont work if you try to nest the tics `bar \\`foo\\` bar`or other variants." CreationDate="2010-09-29T17:28:28.670" UserId="1339" />
  <row Id="2660" PostId="2503" Text="@Seamus: Filter order is very important: the first matching rule applies." CreationDate="2010-09-29T17:30:14.253" UserId="885" />
  <row Id="2661" PostId="2169" Text="Bash 4 has adopted the same feature. Oh, and you don't need rsync here, cp will do. On some systems, if there are a lot of files, it helps to do `cd ~/Latex &amp;&amp; cp -p **/*.pdf ~/Output` to avoid a “command line too long” error." CreationDate="2010-09-29T17:34:02.187" UserId="885" />
  <row Id="2663" PostId="2515" Text="@echox Strange, it works in comments but not in posts" CreationDate="2010-09-29T18:34:33.690" UserId="73" />
  <row Id="2665" PostId="2522" Score="3" Text="It's also worth noting that this will not automagically convert existing files to use extents for example. " CreationDate="2010-09-29T19:28:22.370" UserId="629" />
  <row Id="2666" PostId="2378" Text="hehe.. thanks... learn something everyday +1" CreationDate="2010-09-29T20:19:23.357" UserId="1327" />
  <row Id="2667" PostId="2170" Text="@jmanning2k: Ah. Good to know!" CreationDate="2010-09-29T21:18:43.990" UserId="1820" />
  <row Id="2668" PostId="2347" Score="1" Text="Actually, we have a perfectly good term for this class of systems, and that term is *nix. " CreationDate="2010-09-29T21:20:58.777" UserId="1820" />
  <row Id="2669" PostId="2367" Score="2" Text="I don't think SCO actually ever owned the trademark. They certainly don't own it now; see http://www.unix.org/trademark.html (or just do a whois on the domain). Anyway, if The Open Group didn't own that trademark, I'm fairly certain they would have been sued just over the domain name registration; never mind what the page actually says :-)." CreationDate="2010-09-29T21:28:49.627" UserId="1820" />
  <row Id="2670" PostId="2344" Text="I think the real reason is that they can't afford to pay for each and every revision of their *nix products to be re-certified for compliance with the specification(s)..." CreationDate="2010-09-29T21:39:57.237" UserId="1820" />
  <row Id="2671" PostId="2383" Text="That's not going to help; all it does is tell certain applications (such as the shell) that *you* do not want them to beep. It won't effect other users, and it wouldn't really do anything in the case of non-local logins anyway: their terminal bell is on **their** terminal, not the console." CreationDate="2010-09-29T21:43:25.093" UserId="1820" />
  <row Id="2672" PostId="2526" Text="as far as I've read rsync does not do bi directional and when I try to it gives me the error &quot;protocol version mismatch -- is your shell clean?&quot;&#xA;" CreationDate="2010-09-29T22:14:19.223" UserId="2049" />
  <row Id="2673" PostId="2526" Text="http://www.hostanswers.net/linux-hosting/rsync-protocol-version-mismatch/ might help you fix the version mismatch thing.&#xA;&#xA;For the bi-directional thing I updated my answer." CreationDate="2010-09-29T22:24:13.933" UserId="33" />
  <row Id="2674" PostId="2526" Text="Rsync is not adapted to bidirectional synchronization at all. For one thing it won't warn you if there is a conflict. Use Unison instead, it's the right tool for the job." CreationDate="2010-09-29T22:41:05.980" UserId="885" />
  <row Id="2675" PostId="2527" Text="1. Rsync is no good for *bidirectional* synchronization, use Unison instead. 2. Where did FTP come from? the mention of RSA keys in the question rather suggests ssh (and thus sshfs)." CreationDate="2010-09-29T22:42:30.923" UserId="885" />
  <row Id="2676" PostId="2530" Text="I had considered it, but I'm fairly low on free disk space currently even without installing a visualized OS or two. I'd also like to physically isolate this sort of tinkering, just in case I break something in software: if I'm on a different machine there's no chance I can break my Ubuntu install. It's certainly something I'll look into for other things. Thanks." CreationDate="2010-09-29T22:54:32.303" UserId="1381" />
  <row Id="2677" PostId="2530" Score="1" Text="I see your point. Just to clarify, if you work inside a virtual machine you also cannot break anything in software." CreationDate="2010-09-29T22:59:21.857" UserId="1762" />
  <row Id="2678" PostId="2530" Text="@Andy: If you want to build from scratch, you're going to need a bit of disk space anyway. An unclean linux source tree is about 800 meg (plus another gig if it is a git tree), plus you need all of userland. The extra space for a small VM is trivial in comparison (I've built 16meg VMs for embedded simulation)." CreationDate="2010-09-30T01:11:13.370" UserId="1078" />
  <row Id="2679" PostId="2532" Score="3" Text="I think you might consider posting this on Stack Overflow if you don't get an answer after a little while." CreationDate="2010-09-30T02:02:56.363" UserId="1207" />
  <row Id="2681" PostId="2485" Text="Yes, the fsck is faster. But as tante told as well, you should migrate it to ext4." CreationDate="2010-09-30T04:45:08.967" UserId="678" />
  <row Id="2682" PostId="2383" Score="3" Text="Please read the question and my answer: He isn't root and wants to do it for his user account and that it only helps in the local shell is explicitly stated in my answer." CreationDate="2010-09-30T06:58:29.360" UserId="1941" />
  <row Id="2683" PostId="2527" Text="You are right, FTP is not mentioned in the question. To be honest I think it was a combination of &quot;webspace&quot; and &quot;it is just space.&quot; and a bit of my fatigue yesterday." CreationDate="2010-09-30T09:02:01.097" UserId="1339" />
  <row Id="2684" PostId="2533" Score="2" Text="The limit of 4 partitions is valid only in MBR partition scheme. There is no such limit with GPT (see http://en.wikipedia.org/wiki/GUID_Partition_Table)" CreationDate="2010-09-30T11:05:21.073" UserId="1383" />
  <row Id="2685" PostId="2540" Text="so, why did the reiserfs, jfs and xfs get loaded too? I don't have any of those?" CreationDate="2010-09-30T11:16:06.483" UserId="250" />
  <row Id="2686" PostId="2540" Text="I suppose udev loads those as well to be able to mount (external) harddrives. I'm not on a Gentoo box right now, but you could just try adding the filesystem drivers to the blacklist for modules and see if they stay unloaded." CreationDate="2010-09-30T11:42:22.640" UserId="33" />
  <row Id="2687" PostId="2545" Text="Thanks for that one. I should have looked inside that file before asking. Curiously though, is this a new thing? It didn't happen before (but once)." CreationDate="2010-09-30T11:58:27.910" UserId="688" />
  <row Id="2688" PostId="2545" Text="I don't use debian really often at the moment, but maybe they just changed the release file cycles to a shorter date..." CreationDate="2010-09-30T12:03:47.883" UserId="1339" />
  <row Id="2689" PostId="2520" Text="Yes, of cuorse. But what does mean &quot;system segments&quot; and how can I known why are these segments being used?  I am pretty sure that this memory is being used by Veritas Modules, but: how can I check that? is it possible?" CreationDate="2010-09-30T12:18:50.380" UserId="550" />
  <row Id="2690" PostId="2540" Score="2" Text="They could also have been loaded by initrd's `linuxrc` script." CreationDate="2010-09-30T12:24:12.087" UserId="274" />
  <row Id="2691" PostId="2532" Text="This relates to Unix's realloc function specifically. If I wanted performance comparisons between Arrays and Lists, I would post on Stack Exchange. " CreationDate="2010-09-30T12:41:15.700" UserId="1574" />
  <row Id="2692" PostId="2547" Score="2" Text="Excellent answer" CreationDate="2010-09-30T12:54:43.973" UserId="1941" />
  <row Id="2693" PostId="2520" Text="Hmm that I don't know. Can you use some other tools? I don't think there are a lot of `nmon` experts to answer this question." CreationDate="2010-09-30T15:28:02.833" UserId="250" />
  <row Id="2695" PostId="2549" Text="Yes it's Ubuntu 10.4 LTS Lucid Lynx" CreationDate="2010-09-30T16:27:56.637" UserId="2049" />
  <row Id="2696" PostId="913" Score="1" Text="amazing how this comment is up voted when it has nothing to do with the OP's question.  &quot;Most users do not....&quot; c'mon now.  OP's question is very clear about wanting to know benefits; not your opinion of what &quot;most users&quot; do here and there." CreationDate="2010-09-30T18:24:04.460" UserId="2075" />
  <row Id="2697" PostId="2533" Text="@mouviciel: Good point" CreationDate="2010-09-30T18:37:19.560" UserId="1571" />
  <row Id="2698" PostId="2395" Text="I haven't gotten around to test any of your guys' answers so It's hard to pick 1 to select as a solution. So I'll just upvote you all" CreationDate="2010-09-30T18:46:00.993" UserId="1571" />
  <row Id="2699" PostId="1910" Text="Just in case anyone cares, which I'm sure no one does, I DID in fact end up using the python `join` and `abspath` and such commands." CreationDate="2010-09-30T18:51:09.300" UserId="1571" />
  <row Id="2700" PostId="2553" Text="Ooo, good question. This is certainly possible, but I'm not aware of anything that implements it" CreationDate="2010-09-30T19:23:06.817" UserId="73" />
  <row Id="2701" PostId="2556" Text="On which system is this?" CreationDate="2010-09-30T19:32:16.290" UserId="1941" />
  <row Id="2702" PostId="2554" Text="The normal way is: You startx on machineA, open xterm, ssh machineB, start there the applications you want which then run on machineB bit are displayed by machineA's xserver. Could you explain with more detail why this isn't sufficient for you and what you want to achieve instead?" CreationDate="2010-09-30T19:36:50.623" UserId="1941" />
  <row Id="2703" PostId="2554" Text="Because that's absolutely nothing like what I want. I want to have machineA and machineB, and start eclipse on machineA and then drag the eclipse window across to machineB." CreationDate="2010-09-30T19:41:41.007" UserId="1571" />
  <row Id="2704" PostId="2554" Text="Basically what I want is synergy that lets you drag X windows between monitors/computers as well" CreationDate="2010-09-30T19:42:27.683" UserId="1571" />
  <row Id="2705" PostId="2554" Text="This is an interesting question because I'm not sure which would be easier/possible: (a) minimally solving the &quot;dragging windows between monitors on two different computers problem&quot; or (b) creating a linux cluster of sorts that was able to share resources such as video cards." CreationDate="2010-09-30T19:55:44.363" UserId="1207" />
  <row Id="2706" PostId="2556" Text="UBUNTU 10.04 LTS" CreationDate="2010-09-30T20:02:04.297" UserId="1924" />
  <row Id="2707" PostId="2554" Text="That's basically what I was thinking too. I really don't know enough about X to do any kind of high quality research, but it seems like it might be possible with xinerama?" CreationDate="2010-09-30T20:22:53.803" UserId="1571" />
  <row Id="2708" PostId="2554" Text="I think it should be possible to hack [Xephyr](http://www.freedesktop.org/wiki/Software/Xephyr) to do what you want: right now Xephyr can already start several X screens as windows on the same display and merge them with Xinerama; in principle, one could modify it to allow the separate screens to be windows on separate displays: you would have one window on PC A (screen :1.0) and one window on PC B (screen :1.1) via network.  However, no code seems to be available right now to accomplish this." CreationDate="2010-09-30T20:57:33.093" UserId="274" />
  <row Id="2709" PostId="2571" Text="+1: I haven't seen `yes` used in eons" CreationDate="2010-10-01T04:23:37.200" UserId="1294" />
  <row Id="2710" PostId="2560" Text="Thanks!  I've been looking for such an application for years.  With further development an polish, this could really be something." CreationDate="2010-10-01T04:26:21.890" UserId="1889" />
  <row Id="2711" PostId="2557" Text="/usr/bin/tail: cannot open `+0' for reading: No such file or directory - coreutils 7.4" CreationDate="2010-10-01T06:26:06.843" UserId="1131" />
  <row Id="2712" PostId="2520" Text="I tried svmon, and other tools from the AIX toolkit but I was not able to explain this memory consumption... I understand that &quot;System&quot; memory is the memory used for kernel data structures, but I couldn't find any information about it :(" CreationDate="2010-10-01T06:39:00.287" UserId="550" />
  <row Id="2713" PostId="2577" Score="2" Text="[Measure pipe throughput in the shell](http://unix.stackexchange.com/questions/1537/measure-pipe-throughput-in-the-shell/1539#1539) might help, although I don't know if it's possible to easily use those tools when moving a file" CreationDate="2010-10-01T06:42:11.833" UserId="73" />
  <row Id="2714" PostId="2557" Text="Sorry, there was a -c missing. I fixed it in the answer above." CreationDate="2010-10-01T07:22:10.323" UserId="1941" />
  <row Id="2715" PostId="2557" Text="ok, a problem I see with this is that the command does not terminate (-f -&gt; follow ...). One has to issue a sigQUIT or something like that, when you are sure that thefileinquestion is completely written. Btw, depending on your tail version and fs, tail internally does polling  of the file (e.g. every second). " CreationDate="2010-10-01T07:56:10.660" UserId="1131" />
  <row Id="2716" PostId="2571" Text="Michael, thank you for your prompt reply. However, I think I've tried your suggestion whereby I echo Y into the process. When I've done this, the output always spills onto my terminal despite the fact that I've ensured an &amp; is in my" CreationDate="2010-10-01T08:17:28.327" />
  <row Id="2717" PostId="2571" Text="The &amp; doesn't prevent the process output to be written to console. It just starts it in the background." CreationDate="2010-10-01T09:20:30.740" UserId="1941" />
  <row Id="2719" PostId="2580" Text="The `diff_navigator` URL is apparently http://www.vim.org/scripts/script.php?script_id=2361  Emacs has similar features in the [Ediff](http://www.delorie.com/gnu/docs/emacs/emacs_342.html) and SMerge modes" CreationDate="2010-10-01T09:59:12.063" UserId="274" />
  <row Id="2720" PostId="2367" Text="thanks, I thought SCO is owned by The Open Group :)" CreationDate="2010-10-01T10:33:47.977" UserId="1132" />
  <row Id="2721" PostId="2575" Score="1" Text="The question explicitly mentioned login from a GUI session manager." CreationDate="2010-10-01T11:56:46.787" UserId="1762" />
  <row Id="2722" PostId="2571" Text="how has this answer anything to do with the question?" CreationDate="2010-10-01T12:15:27.703" UserId="601" />
  <row Id="2723" PostId="2570" Text="this should work the way it is written in the question (after the first edit made it a bit nonsensical)" CreationDate="2010-10-01T12:37:03.383" UserId="601" />
  <row Id="2724" PostId="2571" Text="@Riccardo I experimented a little, and I think you're right. Fixed, thanks" CreationDate="2010-10-01T14:18:50.100" UserId="73" />
  <row Id="2725" PostId="2571" Text="@hop Er. How does it not? Did I misunderstand something?" CreationDate="2010-10-01T14:20:01.120" UserId="73" />
  <row Id="2726" PostId="2570" Text="@hop I really don't know what you're talking about, the first edit added a newline and formatted the shell parts as code so they would display properly. I changed virtually nothing, the original revision is [here](http://unix.stackexchange.com/revisions/442027f1-1383-4b74-9304-9561ef41cbd2/view-source)" CreationDate="2010-10-01T14:22:23.183" UserId="73" />
  <row Id="2727" PostId="2570" Text="@Michael: you are right and i'm sorry. i misinterpreted the diff and thought, you had added the backticks. makes the question even more nonsensical: the example as given should work." CreationDate="2010-10-01T14:32:07.407" UserId="601" />
  <row Id="2728" PostId="2583" Score="1" Text="why don't you ask your administrator? she's the one who configured it that way (the message implies it's on purpose)" CreationDate="2010-10-01T14:35:19.917" UserId="601" />
  <row Id="2729" PostId="2570" Text="@hop The perl one? I assumed it didn't work without trying as I don't know perl, but I guess he said &quot;I don't know if the following will work&quot;, so maybe it is fine; you should probably just answer that the given example works" CreationDate="2010-10-01T14:46:24.060" UserId="73" />
  <row Id="2730" PostId="2581" Text="I love the &quot;unix&quot;-ness of having a program just to create a progress bar." CreationDate="2010-10-01T15:28:15.040" UserId="1207" />
  <row Id="2731" PostId="2347" Text="I call them &quot;POSIX environments&quot;…" CreationDate="2010-10-01T16:24:58.113" UserId="2098" />
  <row Id="2732" PostId="2589" Text="Sorry for all the editing.  I seem to remember the -print0 xarg -0 pattern failing on other types of whitespace, but I couldn't find an example." CreationDate="2010-10-01T16:35:11.623" UserId="1207" />
  <row Id="2733" PostId="2556" Text="@oneat I merged your answer into your question; in the future you can just [edit](http://unix.stackexchange.com/posts/2556/edit) your question if you need to provide more information" CreationDate="2010-10-01T16:37:58.020" UserId="73" />
  <row Id="2734" PostId="2561" Text="You may want to also look on http://unix.stackexchange.com/questions/618/how-to-merge-patches" CreationDate="2010-10-01T16:40:30.240" UserId="305" />
  <row Id="2735" PostId="2590" Text="I didn't even manage to run CUDA programs let alone debug them in a virtual Windows. However, my try is like 18 month old, maybe today things are better." CreationDate="2010-10-01T17:03:15.817" UserId="1941" />
  <row Id="2736" PostId="2561" Text="BTW, how come that people answer the question but do not find it useful/clear enough to up-vote it ?!? ;)" CreationDate="2010-10-01T17:06:22.683" UserId="1131" />
  <row Id="2737" PostId="2589" Text="oh yes that works! but I still wonder why `mpg321 $(find /music -iname &quot;*\.mp3&quot; -print0)` doesn't?" CreationDate="2010-10-01T17:13:49.353" UserId="250" />
  <row Id="2738" PostId="2589" Score="1" Text="Well, I believe that doesn't work for two reasons: (1) the file names are separated by null characters, which is not what mpg321 is expecting at all and (2) xargs is doing the work of escaping the other whitespace, not find." CreationDate="2010-10-01T17:18:20.577" UserId="1207" />
  <row Id="2739" PostId="2593" Score="1" Text="what mail delevery agent and mail transfer agent are you using?" CreationDate="2010-10-01T17:45:19.343" UserId="1339" />
  <row Id="2740" PostId="2347" Text="But only some Unices are POSIX compliant, right? (Or so I thought, but I see many many Unices at http://en.wikipedia.org/wiki/POSIX#POSIX-oriented_operating_systems )" CreationDate="2010-10-01T18:47:50.020" UserId="4" />
  <row Id="2741" PostId="2589" Score="2" Text="@phunehehe, @Steven: `mpg321` has nothing to do with it, it's the shell that's breaking up the output of `find` into separate arguments. And `-print0 | xargs -0` will work with every possible file name." CreationDate="2010-10-01T18:53:56.437" UserId="885" />
  <row Id="2742" PostId="2597" Text="thanks, and btw the test is handy :)" CreationDate="2010-10-01T19:10:43.330" UserId="250" />
  <row Id="2743" PostId="2599" Text="This depends on the distribution you are using and the xorg it ships. Could you add these informations?" CreationDate="2010-10-01T20:55:55.920" UserId="1941" />
  <row Id="2744" PostId="2601" Score="2" Text="can you provide more information please. How do you try to hibernate? And what happens when you do?" CreationDate="2010-10-01T21:35:32.483" UserId="1327" />
  <row Id="2745" PostId="2601" Text="I select hibernate from the menu, it gives a cursor, cursor disappears, then act just as if the screen was locked.  Sorry much more to add by way of details." CreationDate="2010-10-01T21:53:15.207" UserId="2049" />
  <row Id="2746" PostId="2600" Text="It appears that since MAPI is disabled, is there an Exchange ActiveSync option that would work like mobil phones." CreationDate="2010-10-01T22:22:45.563" UserId="2049" />
  <row Id="2747" PostId="2599" Text="It's also hard to know what's wrong with your `xorg.conf` unless you at least tell us why it's not proper or, better yet, show us." CreationDate="2010-10-01T23:41:59.117" UserId="160" />
  <row Id="2748" PostId="2599" Text="gvkv: I know nothing about xorg.conf, how should I know what part of it is not proper? :)" CreationDate="2010-10-02T00:10:41.577" UserId="2103" />
  <row Id="2749" PostId="2607" Text="Thanks! Great info. Please edit your answer to add some LVM link (I had to google it)." CreationDate="2010-10-02T01:28:29.127" UserId="2103" />
  <row Id="2750" PostId="2607" Score="1" Text="@Toto - I added the links. Sorry I didn't add them initially; for some reason I was convinced I was too new a user to be able to add more than one link. Oops :)" CreationDate="2010-10-02T01:45:04.927" UserId="327" />
  <row Id="2751" PostId="2598" Text="+1 to this, &quot;find -print0&quot; is an ugly hack." CreationDate="2010-10-02T06:04:13.703" UserId="2080" />
  <row Id="2752" PostId="2601" Score="1" Text="Try running `sudo /sbin/hibernate` from your console. And copy-paste the results in your question ( if it doesn't work )." CreationDate="2010-10-02T06:17:00.333" UserId="1327" />
  <row Id="2753" PostId="2596" Text="@Gilles, Yes specifically I would like to run a single Windows installation in both hardware configurations: bare metal &amp; a virtual machine.  So my question, two part, is this: (1) Is this possible -- hard maybe, but possible?  (2) How would I go about doing it?  As to your other point, yes it was my goal to run CUDA code within a Linux only environment, but what I've found is that the only good profiling software requires Windows 7 or Vista (man I hate Vista) and VS 2008 / 2010.  So my plan is to profile my code in Windows and then switch back to Linux to do final testing &amp; production. " CreationDate="2010-10-02T08:53:27.653" UserId="2094" />
  <row Id="2754" PostId="2610" Text="@HandyGandy, I am not attempting to delve into licensing issues within this post.  I can pursue these questions in a more appropriate forum, but for the purposes of my question(s):  Should I need a second or third legal license for Windows 7, etc this is not a problem.  As for the client software, I'm using VS 2008 / 2010 through the DreamSpark initiative -- so it's already free to me." CreationDate="2010-10-02T08:57:34.780" UserId="2094" />
  <row Id="2756" PostId="2555" Text="fair enough, one should do some calculations about the resolution, realistic magnification of input one could need, available pen tip widths, human capabilities etc. - btw, the pen-only is even more expensive than the pen+touch (where I looked), besides the different resolution specifications" CreationDate="2010-10-02T09:30:14.330" UserId="1131" />
  <row Id="2757" PostId="2596" Text="@M. Tibbits: For the Windows questions, this isn't an appropriate forum (and I don't know the answers anyway); I suggest [Super User](http://superuser.com)." CreationDate="2010-10-02T10:06:38.983" UserId="885" />
  <row Id="2758" PostId="2619" Score="1" Text="As asked, this is awfully general. I suggest restricting to specific kinds of problems (e.g. can't log in, an application won't start, etc.). Ask several questions if you like. And they should probably be community wiki." CreationDate="2010-10-02T10:14:32.903" UserId="885" />
  <row Id="2759" PostId="2608" Text="hey that actually looks great, I've got to try out!" CreationDate="2010-10-02T10:16:28.130" UserId="250" />
  <row Id="2760" PostId="2617" Score="1" Text="@p-static: For a question like this, posting the results of a google search is not useful. You've cited some LVM tutorials, but are they *good* LVM tutorials? (When I learnt LVM a few years, there were *no* good LVM tutorials, and even no good reference documentation: they all covered LVM1, but I had LVM2 and many things were different.)" CreationDate="2010-10-02T10:18:45.940" UserId="885" />
  <row Id="2761" PostId="2612" Text="@HandyGandy: I do recommend LVM for ease of management. I've never come upon any performance impact of LVM: could you elaborate on your experience (ideally with some hard data)?" CreationDate="2010-10-02T10:22:33.437" UserId="885" />
  <row Id="2762" PostId="2607" Text="@mlschechter: GParted has nothing to do with Gnome except for using gnome libraries; what did you have in mind with the data loss remark?" CreationDate="2010-10-02T10:23:51.000" UserId="885" />
  <row Id="2763" PostId="2599" Text="@Toto: How do you know that `xorg -configure` &quot;didn't create the proper configuration file&quot;?" CreationDate="2010-10-02T11:09:14.080" UserId="160" />
  <row Id="2764" PostId="2599" Text="Can you start X?  What resolutions do you have available?" CreationDate="2010-10-02T11:10:03.750" UserId="160" />
  <row Id="2766" PostId="2627" Text="No, the package autofs is not installed but CDs and USB drives are still auto-mounted. I don't have any file under /etc starting with aut*" CreationDate="2010-10-02T11:53:36.613" UserId="1458" />
  <row Id="2767" PostId="2609" Score="2" Text="I think there is a good deal of subjectivity over what makes a &quot;good&quot; tutorial; you might consider making this a &quot;community wiki&quot; question.  (For instance, I disagree with Gilles' opinion -stated below- that differences between LVM1 and LVM2 are significant at a tutorial level.)" CreationDate="2010-10-02T12:14:42.857" UserId="274" />
  <row Id="2768" PostId="2590" Text="Yeah, I'm hoping that it's possible now if I use an L1 (Xen?) hyper-visor. Not sure if it's possible... " CreationDate="2010-10-02T13:32:57.917" UserId="2094" />
  <row Id="2770" PostId="2547" Text="thanks for your answer. I bought a book about the administration of LInux, and I will study iptable, but before I will look at easy chains or ufw." CreationDate="2010-10-02T14:45:35.540" UserId="2074" />
  <row Id="2771" PostId="2550" Text="Thanks for your answer, I'm going to look at it !" CreationDate="2010-10-02T14:47:00.797" UserId="2074" />
  <row Id="2772" PostId="2552" Text="it seems to be very interesting ! Thks" CreationDate="2010-10-02T14:53:36.937" UserId="2074" />
  <row Id="2773" PostId="2617" Text="Sorry, I should have elaborated more. When I was learning LVM about six months ago, these are tutorials that I found helpful. The fact that they show up first in the search results was mostly luck" CreationDate="2010-10-02T15:37:56.627" UserId="2080" />
  <row Id="2774" PostId="2596" Text="I understand -- I just asked it there also -- but since I was trying to setup Ubuntu &quot;at the bottom&quot; and visualize on top, I came here." CreationDate="2010-10-02T15:42:00.800" UserId="2094" />
  <row Id="2775" PostId="2634" Text="ha! I like this one the best :D" CreationDate="2010-10-02T16:34:32.447" UserId="250" />
  <row Id="2776" PostId="2637" Text="this is actually nice, I'll try it some time, maybe when it's in the gentoo portage tree" CreationDate="2010-10-02T16:36:57.790" UserId="250" />
  <row Id="2777" PostId="2632" Text="OK, i clarified my question." CreationDate="2010-10-02T16:39:00.267" UserId="1290" />
  <row Id="2778" PostId="988" Score="1" Text="Would somebody please explain what does emacs graph, given above, means? How to interpret it?" CreationDate="2010-10-02T16:51:36.277" UserId="2045" />
  <row Id="2779" PostId="2641" Text="little nit-pick: I think it is bourne" CreationDate="2010-10-02T17:42:49.450" UserId="1941" />
  <row Id="2780" PostId="2642" Text="$SHELL gets usually set to /bin/sh by the crondaemon on startup." CreationDate="2010-10-02T17:46:51.443" UserId="1339" />
  <row Id="2781" PostId="2641" Text="It is ;-) thx, changed." CreationDate="2010-10-02T17:47:22.817" UserId="1339" />
  <row Id="2782" PostId="2646" Text="A `/usr/bin/compose` by any other name would still point to the same i-node." CreationDate="2010-10-02T19:52:32.830" UserId="1294" />
  <row Id="2783" PostId="2647" Text="nice solution :-)" CreationDate="2010-10-02T20:02:02.543" UserId="1339" />
  <row Id="2784" PostId="2647" Text="Awesome.  I wrote a small shell script to do essentially the same thing." CreationDate="2010-10-02T20:12:06.110" UserId="1207" />
  <row Id="2785" PostId="2646" Score="1" Text="Are you sure that you commented on the right answer? Because even after reading thrice, I still can't figure how that relates to my answer..." CreationDate="2010-10-02T20:32:52.993" UserId="1941" />
  <row Id="2787" PostId="2643" Score="1" Text="Git under MS Windows while better supported than in previous times, still is not on par with Mercurial e.g. with TortoiseHG." CreationDate="2010-10-02T21:09:27.943" UserId="1941" />
  <row Id="2788" PostId="2646" Text="@fschmitt A reference to a concept put to paper by Shakespeare regarding categorizations. It was marred by the fact that nothing in computing smells much and by the limited matches for `{/usr,}/*bin/*se`. http://en.wikipedia.org/wiki/A_rose_by_any_other_name_would_smell_as_sweet" CreationDate="2010-10-02T21:37:36.650" UserId="1294" />
  <row Id="2789" PostId="2651" Text="My initial inclination was to post this on SuperUser.com but I figured I'd let the new kids on the block try first ;-)" CreationDate="2010-10-03T00:03:15.700" UserId="1974" />
  <row Id="2790" PostId="2607" Text="@Gilles - apologies for the poor phrasing; I was attempting to convey what you stated, in that you have to have Gnome on your system to use GParted without using the media-based version." CreationDate="2010-10-03T01:19:47.680" UserId="327" />
  <row Id="2791" PostId="2653" Text="Or I could recompile... :-) Thanks!" CreationDate="2010-10-03T02:50:17.233" UserId="1974" />
  <row Id="2793" PostId="2632" Text="Yeah, it's Elvis I'm trying to compile, but it's not `ElvFalse` and `ElvTrue` that's causing the problems, it's `False` and `True`. Couldn't I simply reassign the values in one of the headers?" CreationDate="2010-10-03T03:16:12.883" UserId="1290" />
  <row Id="2794" PostId="2644" Text="This happened to me when I upgraded from FBSD 7.2 to 8.0 and I forgot to rebuild `bash`.  I booted in single user mode to fix, but it only worked because `/bin/sh` was still linked to `FBSD`'s fork of `bourne` and not `bash`." CreationDate="2010-10-03T03:32:31.337" UserId="160" />
  <row Id="2795" PostId="2607" Score="1" Text="@mls The rep limit is only 10 for posting multiple links, and I think it's actually 1 during beta, so you're good to go :)" CreationDate="2010-10-03T04:31:09.817" UserId="73" />
  <row Id="2796" PostId="2649" Text="You can always boot to single user mode with boot parameters. No need to boot off a live CD." CreationDate="2010-10-03T06:22:08.540" UserId="1290" />
  <row Id="2797" PostId="2628" Score="1" Text="+1 for the TLDP links: I found that the LVM document to be clear and simple too." CreationDate="2010-10-03T08:51:04.220" UserId="529" />
  <row Id="2799" PostId="2623" Text="This almost certainly belongs on SO" CreationDate="2010-10-03T09:31:01.257" UserId="73" />
  <row Id="2800" PostId="2634" Score="4" Text="If you don't have `rl`, `sort -R` accomplishes the same thing" CreationDate="2010-10-03T09:32:12.853" UserId="73" />
  <row Id="2801" PostId="2649" Text="@polemon Will single-user mode still work if root's shell is missing?" CreationDate="2010-10-03T09:40:54.597" UserId="73" />
  <row Id="2805" PostId="2644" Text="just to make things clearer, if I install say `zsh` and somehow `/usr` is damaged I will have problem? but my system have `/bin/sh` pointing to `/bin/bash` and `bash` itself, why wouldn't `sh` be affected?" CreationDate="2010-10-03T10:52:25.130" UserId="250" />
  <row Id="2806" PostId="2634" Score="1" Text="@MrShunz I think it is `find &quot;$1&quot; -type f -name *.mp3`, typo?" CreationDate="2010-10-03T11:35:23.683" UserId="250" />
  <row Id="2807" PostId="2634" Text="@phunehehe eheh yeah typed that from memory..." CreationDate="2010-10-03T12:19:02.850" UserId="1660" />
  <row Id="2808" PostId="2634" Text="@Michael Mrozek that's even better ... sort should be present by default in most distros..." CreationDate="2010-10-03T12:20:13.970" UserId="1660" />
  <row Id="2809" PostId="2634" Text="@MrShunz do you know you can edit your post? there should be an &quot;edit&quot; link below your answer where you can fix the typo" CreationDate="2010-10-03T12:27:26.120" UserId="250" />
  <row Id="2810" PostId="2666" Text="@Piet : It could very well be the reason. How do I disable/enable SSH compression?" CreationDate="2010-10-03T15:28:00.880" UserId="446" />
  <row Id="2811" PostId="2634" Text="I took the liberty of editing the command." CreationDate="2010-10-03T16:51:10.017" UserId="1207" />
  <row Id="2812" PostId="2644" Score="1" Text="Defaults for root &quot;guarantee&quot; that the system will boot - the upgrade guide will take care about being able to log into root at least. However it may not be the case for anything else. The solution is to duplicate root account by toor with non-default shell for everyday use and keep root as is." CreationDate="2010-10-03T17:19:23.610" UserId="305" />
  <row Id="2813" PostId="2666" Text="PuTTY's SSH panel has a &quot;Enable compression&quot; checkbox." CreationDate="2010-10-03T18:00:52.803" UserId="2123" />
  <row Id="2814" PostId="2649" Score="2" Text="@michael Mrozek: Yes, because you tell at the boot parameter what shell to execute. Usually `shell=/bin/bash`, etc." CreationDate="2010-10-03T18:25:30.483" UserId="1290" />
  <row Id="2815" PostId="2649" Text="@polemon Ah, handy. Thanks" CreationDate="2010-10-03T18:46:08.117" UserId="73" />
  <row Id="2816" PostId="2632" Text="Great! that solved the issue, and I believe I'm only a few steps away from finishing the compile. `guignome/guignome.o: In function 'gui_KeyPress': guignome.c:(.text+0x2ec3): undefined reference to 'elvprint'`. I greped the whole code base for `elvprint` and there is no definition for it. Any ideas?" CreationDate="2010-10-03T18:47:59.803" UserId="1290" />
  <row Id="2817" PostId="2609" Text="@Riccardo: I've forgotten the specifics (I think root on LVM was part of it), but I remember quite a bit of headscratching when I started with LVM (2004 IIRC), because of differences between LVM1 (which pretty much all then available material was about) and LVM2 (which I had). I don't expect this to be relevant now though, I think most available material is about LVM2 only." CreationDate="2010-10-03T19:08:36.947" UserId="885" />
  <row Id="2818" PostId="2675" Text="Ok, thanks, I'll take a look." CreationDate="2010-10-03T19:17:25.460" UserId="2119" />
  <row Id="2819" PostId="2662" Text="worked great thanks" CreationDate="2010-10-03T19:45:18.607" UserId="1945" />
  <row Id="2820" PostId="2675" Text="I've installed UltraEdit for linux, but couldn't find that regions folding feature there :-(" CreationDate="2010-10-03T19:48:01.427" UserId="2119" />
  <row Id="2821" PostId="2676" Text="AFAIK Geany does not comply to 2., which is means it pain to use for me. SciTE as well does not seem to have such a feature (according to its documentation)." CreationDate="2010-10-03T19:50:01.053" UserId="2119" />
  <row Id="2822" PostId="2677" Text="whats your filesystem?" CreationDate="2010-10-03T19:56:10.477" UserId="1339" />
  <row Id="2823" PostId="2679" Text="+1, true... a much more simple and elegant solution :)" CreationDate="2010-10-03T20:07:52.487" UserId="1327" />
  <row Id="2824" PostId="2674" Text="what is 2? could you provide a link to documentation on that feature. please" CreationDate="2010-10-03T20:10:18.920" UserId="1327" />
  <row Id="2825" PostId="2678" Score="2" Text="photorec is a good util, I would just be worried about the disk writes that are going to happen during install.  Is there anyway to get this as a standalone executable that can run from external media?" CreationDate="2010-10-03T20:13:40.470" UserId="1207" />
  <row Id="2826" PostId="2678" Text="Yes, you are very right. I don't know about a standalone executable, but one could try using some live-cd?" CreationDate="2010-10-03T20:21:12.627" UserId="1327" />
  <row Id="2827" PostId="2676" Text="+1 for scintilla editors :-)" CreationDate="2010-10-03T20:35:13.557" UserId="98" />
  <row Id="2828" PostId="2678" Score="1" Text="to cut down on the files recovered with Photorec, the third screen in will give a [File Opt] select this. You can from a list select what file types you want to or do not want to be recovered. " CreationDate="2010-10-03T20:39:25.600" UserId="171" />
  <row Id="2829" PostId="2680" Score="1" Text="Somebody showed me this a couple weeks after I switched to Linux, when I killed a text document I really needed -- it pretty much blew my mind" CreationDate="2010-10-03T21:03:10.297" UserId="73" />
  <row Id="2830" PostId="2674" Text="@Ivan: Your question lacks several things.   1. Define “nice GUI”. (For me, Emacs *does* have a nice GUI: it has useful stuff and doesn't get in your way.)   2. Define “fordable” — or did you mean “foldable”?   3. What programming languages must be supported?" CreationDate="2010-10-03T21:31:37.050" UserId="885" />
  <row Id="2831" PostId="1009" Text="http://www.kroah.com/lkn/ - Free Online" CreationDate="2010-10-03T21:41:44.820" UserId="2135" />
  <row Id="2832" PostId="2684" Text="Those protocols won't work, because the reader machine isn't networking enabled. The only I/O point that I have to it is USB, which it watches and reads files off of. In the final, non-test environment I won't be able to control the reader machine (I don't even know its software), but it will take my files. Thanks!" CreationDate="2010-10-03T22:59:01.207" UserId="2132" />
  <row Id="2833" PostId="2664" Score="3" Text="Note that reducing swappiness does *not* necessarily mean a performance or responsiveness increase. I've seen reports of *increasing* swappiness translating into better performance. Don't believe anything you read that doesn't include benchmarks, and check that the benchmarks use a workload similar to yours." CreationDate="2010-10-03T23:05:27.127" UserId="885" />
  <row Id="2834" PostId="2683" Score="3" Text="You can't just connect two computers with a USB cable — the USB electrical protocol is not symmetric and requires a computer at one end and a peripheral device at the other end (that's why the plugs aren't the same). Do you already have a specific hardware gadget you want to use? Otherwise Ethernet (or Firewire) would be better adapted, to create a network between the two computers." CreationDate="2010-10-03T23:09:26.707" UserId="885" />
  <row Id="2835" PostId="2683" Score="1" Text="@Gilles - Thanks for the reply. From your answer, I guess my question is really how to make my computer look and/or act like a peripheral device over its USB connection/hub. What separates a peripheral device and a host machine? Cheers." CreationDate="2010-10-03T23:15:33.310" UserId="2132" />
  <row Id="2836" PostId="2674" Text="@Gilles, thank you, I indeed mean &quot;foldable&quot;. @Stefan, ok, if it's not obvious (wasn't my misstyping the reason why you coludn't understand?), I'll explain in the question body." CreationDate="2010-10-03T23:18:00.963" UserId="2119" />
  <row Id="2837" PostId="2674" Text="@ivan, yes i understand now :)" CreationDate="2010-10-03T23:50:48.487" UserId="1327" />
  <row Id="2838" PostId="2674" Text="I'm not posting list as an answer because you don't want emacs, but it might be worth the effort to figure out what you don't like in the emacs interface since it has all of the features you want.  I found that 6 lines in .emacs was all I needed to take emacs from ugly to beautiful." CreationDate="2010-10-04T00:02:11.650" UserId="1207" />
  <row Id="2841" PostId="2674" Text="@steven-d, would you be so kind to share those 6 lines then?" CreationDate="2010-10-04T01:44:41.997" UserId="2119" />
  <row Id="2842" PostId="2674" Score="1" Text="Well the lines that *you* need will likely be different based on your preferences.  I'll post my .emacs online soon and leave a link here when I do." CreationDate="2010-10-04T03:22:03.127" UserId="1207" />
  <row Id="2843" PostId="2106" Score="3" Text="f-spot will be replace by shotwell (written in vala) in the up-coming 10.10 default install." CreationDate="2010-10-04T03:53:17.430" UserId="2138" />
  <row Id="2846" PostId="2688" Text="with the whole [KMS](http://wiki.debian.org/KernelModesetting) thing, you realy don't want to enable the framebuffer..." CreationDate="2010-10-04T06:16:04.607" UserId="1327" />
  <row Id="2847" PostId="2687" Text="I want my system locale to be English. Despite being a Russian, I hate localised applications UIs and using a comma as a decimal fraction separator. I only want to tweak an ANSI codepage for Wine apps. " CreationDate="2010-10-04T07:52:10.740" UserId="2119" />
  <row Id="2848" PostId="2675" Text="And the winner is... Kate! :-) Couple of lines in syntax definition XML and that's it! And a pleasant surprise there: Kate does not depend on tons of KDE libraries as I used to suppose - in classic (Gnome) Ubuntu 10.10 &quot;apt-get install kate&quot; has only downloaded one humble (less than a MiB) package." CreationDate="2010-10-04T09:24:04.787" UserId="2119" />
  <row Id="2849" PostId="2695" Text="Not space - learning Linux. I've looked at most of those, as well as LFS, but LFS makes you do/add stuff with, it feels, not enough explanation." CreationDate="2010-10-04T10:25:19.853" UserId="2141" />
  <row Id="2850" PostId="2695" Score="2" Text="If you want to learn, Archlinux is really good. The [Arch Wiki](http://wiki.archlinux.org/index.php/Beginners%27_Guide) has **ALOT** of clear, helpfull information. " CreationDate="2010-10-04T10:51:13.023" UserId="1327" />
  <row Id="2851" PostId="2699" Text="it prints `net.ipv4.ip_forward = 1`, so no dice unfortunately." CreationDate="2010-10-04T10:58:16.720" UserId="2113" />
  <row Id="2852" PostId="2695" Text="@phunehehe: seems like I've shifted the target after you fired your shot, sorry :o" CreationDate="2010-10-04T11:15:40.067" UserId="2141" />
  <row Id="2853" PostId="2701" Score="2" Text="In the right direction, still includes lots of packages, but I can use what they give &amp; cut packages until things break." CreationDate="2010-10-04T12:23:11.107" UserId="2141" />
  <row Id="2854" PostId="2702" Text="@Richm: `brctl show` displays the same as your output (with change in bridge id of course). showmacs displays the mac addresses of my clients and my connected interfaces, all four of them. All interfaces are up as displayed by `ip a show`." CreationDate="2010-10-04T12:46:33.733" UserId="2113" />
  <row Id="2855" PostId="2703" Text="Seems to be the only way and it is not a good way. Thanks anyway." CreationDate="2010-10-04T13:24:29.930" UserId="2142" />
  <row Id="2856" PostId="2706" Text="I can use OpenWrt for reference; I will be glad if you can point out other such sites. Already using VirtualBox &amp; they have a noddy-guide to install OpenWrt in it." CreationDate="2010-10-04T14:11:07.470" UserId="2141" />
  <row Id="2857" PostId="2708" Text="I figured it had something to do with the firewall. I'm using [Jay's Iptables Firewall](http://firewall-jay.sourceforge.net/) (yes, its not maintained, I know) since I never put myself trough learning iptables. This results in quite a few rules, but as far as I can see all &quot;LAN rules&quot; are allowed (the top LAN rules have ACCEPT in them). Is there any way I can &quot;clear&quot; the iptables to test whether or not it's the iptable rules that are the villain here?" CreationDate="2010-10-04T14:35:44.440" UserId="2113" />
  <row Id="2858" PostId="2706" Text="Maybe embedded Debian: http://www.emdebian.org/" CreationDate="2010-10-04T14:36:31.383" UserId="1941" />
  <row Id="2859" PostId="2708" Score="1" Text="&quot;man iptables&quot; is your friend :-)" CreationDate="2010-10-04T14:53:45.383" UserId="1144" />
  <row Id="2860" PostId="2708" Score="1" Text="But in any case try  iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT; iptables -P FORWARD ACCEPT; iptables -F INPUT; iptables -F OUTPUT; iptables -F FORWARD;   You may also need to do the same with the nat tables but you should be able to work out what is needed there from the examples above." CreationDate="2010-10-04T14:56:48.470" UserId="1144" />
  <row Id="2862" PostId="2708" Text="@Richm: Well whaddayaknow. `iptables -P FORWARD ACCEPT` made the magic happen.. Now I just need to figure out how I can set this to LAN only.." CreationDate="2010-10-04T15:47:17.117" UserId="2113" />
  <row Id="2863" PostId="2708" Text="When using bridge, is the traffic still handled as if it's coming from eth1 and not &quot;from&quot; br0? This might be the cause of why the traffic from eth1 stops at the server. According to fw-jay (mentioned earlier) eth1 and eth2 is down when the &quot;commit&quot; script is run, so no rules seem to be added for those interfaces. I made a diff of `iptables -L` and could see that my iptables had drop and not accept for the forward policy." CreationDate="2010-10-04T15:58:23.357" UserId="2113" />
  <row Id="2864" PostId="2714" Text="I would love to tag as `[x11]` `[fonts]`, can anyone help a new user out?" CreationDate="2010-10-04T16:05:00.630" UserId="1974" />
  <row Id="2865" PostId="2688" Text="Right, but I don't think that KMS is enabled in Lenny. In fact your own link says &quot;a kernel image ≥ 2.6.29 (in Sid since 2009-04-04)&quot; while this user has an 2.6.26 kernel. I'll edit above to be a bit more clear." CreationDate="2010-10-04T16:08:09.827" UserId="2138" />
  <row Id="2866" PostId="2708" Score="1" Text="The behaviour of the bridging firewall code changed between the 2.4 and 2.6 kernel series. From memory 2.6.x will match the input against the br0 interface unless your iptables rules specify &quot;-m physdev --physdev-in eth0&quot; in which case it would match the physical input device. Of course you can swap eth0 for eth1 and --physdev-in for --physdev-out as appropriate." CreationDate="2010-10-04T16:52:29.410" UserId="1144" />
  <row Id="2867" PostId="2629" Text="Great, that works. Can you explain why you have to do this? What about an SSH session does bash not like auto-completing. Is there a way to get this to do it for every ssh session? At least for a particular user (me)?" CreationDate="2010-10-04T17:33:24.600" UserId="1571" />
  <row Id="2868" PostId="2629" Text="@Falmarri updated answer with the more info; does this answer your further questions?" CreationDate="2010-10-04T18:00:42.340" UserId="274" />
  <row Id="2869" PostId="2689" Text="That's Ethernet over USB, which is fine if the device supports it... but I get the impression it doesn't." CreationDate="2010-10-04T18:37:47.227" UserId="885" />
  <row Id="2870" PostId="2667" Score="1" Text="I still find this unbelievable.  Why should I need 8 GB of swap for my 4GB, never-hibernating system?  Do I really need 128GB of swap for my 64GB compute node?  I usually allocate no more than 1GB for swap unless there is a highly-specific reason." CreationDate="2010-10-04T18:45:37.677" UserId="1397" />
  <row Id="2871" PostId="2629" Text="Ah that makes sense, yeah" CreationDate="2010-10-04T18:58:20.207" UserId="1571" />
  <row Id="2872" PostId="2714" Text="Thanks for the tags, @Steven!" CreationDate="2010-10-04T19:39:49.717" UserId="1974" />
  <row Id="2873" PostId="2724" Text="I think you meant `-type d`, but: 1. this requires GNU find; 2. you need to subtract 1 for the starting directory (or pass `-mindepth 1`)." CreationDate="2010-10-04T20:11:42.070" UserId="885" />
  <row Id="2874" PostId="2725" Score="1" Text="If the hardware issue is solved, there's probably a way to put an access lock so that only one side can write at a time and that read accesses get a consistent view. Some solutions will only allow one computer to access the storage anyway. So yes, this is a concern, but not an overwhelming one." CreationDate="2010-10-04T20:34:01.950" UserId="885" />
  <row Id="2875" PostId="2719" Score="1" Text="I wouldn't say it is intentional and I'd suspect BIOS or internals of motherboard." CreationDate="2010-10-04T21:08:23.460" UserId="305" />
  <row Id="2876" PostId="2730" Score="2" Text="Threads can be bound to a specific CPU with `taskset(1)` `sched_setaffinity(2)` or the pthread functions with similar names. It's something you should do only in very specific circumstances (e.g. on a special-purpose device with particular responsiveness objectives) or for testing. Most of the time, the kernel will decide which CPU to run a thread on better than a human could." CreationDate="2010-10-04T21:12:52.970" UserId="885" />
  <row Id="2877" PostId="2730" Text="Yes - I know. That was what I intend to write but I wrote only about `cpulimit` by accident. Fixed by adding &quot;&amp; co.&quot;. " CreationDate="2010-10-04T21:23:01.987" UserId="305" />
  <row Id="2878" PostId="2602" Text="That worked, thank you." CreationDate="2010-10-04T21:41:50.190" />
  <row Id="2879" PostId="2664" Text="Does this persist across reboot? I thought /proc was regenerated each boot." CreationDate="2010-10-05T02:10:36.767" UserId="1942" />
  <row Id="2880" PostId="2737" Score="6" Text="This is unlikely a scheduling issue and more likely related to the fact that most package management systems are designed so that you can't run multiple package management tools at the same time.  Perhaps you could edit your question to include a detailed description of what you are doing and the error messages you receive." CreationDate="2010-10-05T03:10:17.510" UserId="1207" />
  <row Id="2881" PostId="2731" Text="how did you set up the machine? what have you tried to configure the wireless? can you post the result of `iwlist scanning`?" CreationDate="2010-10-05T03:57:00.713" UserId="250" />
  <row Id="2882" PostId="2738" Score="1" Text="&quot;Best&quot; is a subjective.  Perhaps this should be a community wiki." CreationDate="2010-10-05T04:39:18.113" UserId="1207" />
  <row Id="2883" PostId="2738" Text="I think C and C++ IDEs are likely to almost completely overlap, so this is probably a duplicate of [Development environment for C](http://unix.stackexchange.com/questions/137/development-environment-for-c)" CreationDate="2010-10-05T04:44:02.067" UserId="73" />
  <row Id="2884" PostId="2738" Text="Bah, should have searched before typing my answer.  Oh well." CreationDate="2010-10-05T04:59:55.890" UserId="1207" />
  <row Id="2885" PostId="2718" Text="With glibc 2.4 installed @ /usr/local/glibc2.4 , I tried env LD_LIBRARY_PATH=/usr/local/glibc2.4/lib wkhtmltoimage .... ... segmentation fault is what I get." CreationDate="2010-10-05T05:32:06.733" UserId="2088" />
  <row Id="2886" PostId="2718" Text="Is there a way I can ask gdb to use glibc2.3 and figure out what causes the segmentation fault when glibc2.4 is applied to the binary ? LD_LIBRARY_PATH=/usr/local/glibc2.4/lib/ gdb ~/wkhtmltoimage-i386 crashes gdb." CreationDate="2010-10-05T05:35:13.840" UserId="2088" />
  <row Id="2887" PostId="2602" Text="@Justin do you mind accepting the answer? :-)" CreationDate="2010-10-05T06:04:51.860" UserId="274" />
  <row Id="2888" PostId="2664" Text="@HandyGandy: I added information to the answer how to change it permanently." CreationDate="2010-10-05T06:56:07.890" UserId="102" />
  <row Id="2889" PostId="2609" Text="@Gilles: I had no intent to argue about it; it just came handy as an example of how &quot;good tutorial&quot; may mean different things to different people... :-)" CreationDate="2010-10-05T07:20:44.793" UserId="274" />
  <row Id="2890" PostId="2718" Text="@letronje: the segmentation fault is caused by glibc2.4 looking for dynamically-loadable NSS modules in `/lib/libnss*.so`, and finding the glibc2.3 ones.  I know of no solution to this..." CreationDate="2010-10-05T07:27:56.780" UserId="274" />
  <row Id="2891" PostId="2743" Score="1" Text="If I search for &quot;FreeBSD on USB&quot; I get thousands of howtos and tutorial. What is your exact question? What have you did to achive your goal already?" CreationDate="2010-10-05T08:01:34.470" UserId="1339" />
  <row Id="2895" PostId="2719" Text="but at least there must be some way the computer made physical changes to the USB, because I don't think the BIOS can keep any data once the computer is shutdown?" CreationDate="2010-10-05T09:02:25.633" UserId="250" />
  <row Id="2897" PostId="2752" Score="2" Text="I would like just to add that even if you manage to get a virus (in my 10 years of Linux I never seen one) the worst scenario is that your user folder will be compromised. " CreationDate="2010-10-05T09:16:47.630" UserId="2000" />
  <row Id="2898" PostId="2752" Text="haha unless you get the virus as root :)" CreationDate="2010-10-05T09:41:47.520" UserId="250" />
  <row Id="2899" PostId="2753" Text="did you update/install/change anything recently?" CreationDate="2010-10-05T09:56:22.873" UserId="1327" />
  <row Id="2900" PostId="2753" Text="No update recently" CreationDate="2010-10-05T10:20:10.867" UserId="2156" />
  <row Id="2901" PostId="2753" Text="what is the output when you `lsmod|grep '^snd' | column -t` or `ls -l /sys/module/snd/holders` ?&#xA;" CreationDate="2010-10-05T10:33:40.877" UserId="1327" />
  <row Id="2902" PostId="2753" Score="2" Text="Might it simply have slipped out of its socket?" CreationDate="2010-10-05T10:36:15.917" UserId="1941" />
  <row Id="2903" PostId="2568" Text="Thank you. Live deduplication is pretty nice." CreationDate="2010-10-05T10:40:55.163" UserId="2031" />
  <row Id="2904" PostId="2753" Text="@Stefan `ls -l /sys/module/snd/holders` result: `ls: cannot access /sys/module/snd/holders: No such file or directory`" CreationDate="2010-10-05T10:51:00.247" UserId="2156" />
  <row Id="2905" PostId="2753" Text="@Stefan `lsmod|grep '^snd' | column -t` result: nothing" CreationDate="2010-10-05T10:52:03.350" UserId="2156" />
  <row Id="2906" PostId="2753" Text="@fschmitt it's onboard sound card" CreationDate="2010-10-05T10:54:02.267" UserId="2156" />
  <row Id="2907" PostId="2753" Text="@amra, wow... well... take a look at the link in my answer... hope it helps" CreationDate="2010-10-05T10:56:14.747" UserId="1327" />
  <row Id="2908" PostId="2755" Text="you will have to go download the source manually to reconfigure it, also finding a specific version can sometimes be tricky... what package are we talking about?" CreationDate="2010-10-05T11:04:55.993" UserId="1327" />
  <row Id="2909" PostId="2755" Text="The package was PHP5 (which since I first downloaded it has went up by a point)." CreationDate="2010-10-05T11:08:18.600" UserId="625" />
  <row Id="2910" PostId="2754" Text="`lspci` doesn't list audio card. I checked BIOS and it's enables. I think this is final stage `:o(`" CreationDate="2010-10-05T11:25:44.213" UserId="2156" />
  <row Id="2911" PostId="2754" Text="did you try re-installing all the drivers?" CreationDate="2010-10-05T11:47:32.033" UserId="1327" />
  <row Id="2912" PostId="2760" Text="Yes, that works, thanks! :D" CreationDate="2010-10-05T12:12:21.703" UserId="1138" />
  <row Id="2914" PostId="2764" Text="It's also possible to append this file to the Live CD. You can customize them, so you don't need any webspace and url shortening services..." CreationDate="2010-10-05T12:39:59.873" UserId="1339" />
  <row Id="2915" PostId="2764" Text="That is true but some people might be scared off by the idea of having to remaster a live CD. That's why I added this second answer to show a way that does not require that much &quot;work&quot;." CreationDate="2010-10-05T12:52:14.073" UserId="33" />
  <row Id="2916" PostId="2666" Text="Feels much faster after enabling compression... Thanks!" CreationDate="2010-10-05T13:09:45.260" UserId="446" />
  <row Id="2917" PostId="2764" Text="I like this idea, which if I understand correctly is to have a static html homepage containing the 'favourite' links? I'll look into this, thanks!" CreationDate="2010-10-05T13:14:47.873" UserId="2158" />
  <row Id="2918" PostId="2766" Text="This sounds good. But I'd probably need to 'favourite' the bookmarks page, or ideally set it as the auto-loading homepage. Is that possible with a livecd?" CreationDate="2010-10-05T13:21:30.540" UserId="2158" />
  <row Id="2919" PostId="2766" Score="1" Text="This is a bit tricky, as you have to modify the default landing page on the Live-CD. Possible (for Ubuntu see https://help.ubuntu.com/community/LiveCDCustomization) but not trivial" CreationDate="2010-10-05T13:25:47.987" UserId="1941" />
  <row Id="2920" PostId="2667" Text="It leaves more space for caching the slow-as-all-heck HDD in lightning fast RAM.  (Plus, some hibernation schemes save a copy of RAM into swapspace)" CreationDate="2010-10-05T13:36:27.663" UserId="2143" />
  <row Id="2922" PostId="2752" Score="13" Text="No, the worst scenario is complete system compromise.  The kernel folk just closed a huge hole in the kernel about six weeks ago that would let any GUI program escalate their privileges to root level.  Do a little Googling around, and you'll find other past holes of this nature.  It's true that Linux has better security in a lot of ways compared to Windows, but like any other code base of millions of lines of code, you can be sure there are other holes in it waiting to be found.  I, too, would advocate keeping systems patched rather than antivirus, but keep your head out of the sand, too." CreationDate="2010-10-05T13:43:43.560" UserId="138" />
  <row Id="2923" PostId="2764" Text="Exactly. If you have no webspace you could use something like sites.google.com to create the page. But any hosting will do." CreationDate="2010-10-05T13:47:40.293" UserId="33" />
  <row Id="2924" PostId="2771" Text="+1 for the simplicity " CreationDate="2010-10-05T13:51:46.110" UserId="1945" />
  <row Id="2925" PostId="2771" Text="Nice solution. So I'm done with my &quot;Learn something new each day&quot;-task for today :-)" CreationDate="2010-10-05T13:56:32.340" UserId="1941" />
  <row Id="2926" PostId="2771" Text="Glad I could help you with that mate ;)" CreationDate="2010-10-05T14:06:20.787" UserId="33" />
  <row Id="2927" PostId="2770" Text="-1, lazy, unspecific and essentially useless as a stackexchang question." CreationDate="2010-10-05T14:08:20.023" UserId="601" />
  <row Id="2928" PostId="266" Text="Oh, there's ways to make this attack harmless...  But the fix is worse than the cure. :(" CreationDate="2010-10-05T14:20:04.070" UserId="2143" />
  <row Id="2929" PostId="731" Text="This is mostly a gotcha when dealing with version control, and working on a project in a multiplatform team." CreationDate="2010-10-05T14:23:23.837" UserId="2143" />
  <row Id="2930" PostId="2747" Text="So if I send an e-mail through esmtp that's from `myself@gmail.com`, it will automatically use the credentials from the first identity, and likewise for e-mails from `mysecondaccount@gmail.com`?" CreationDate="2010-10-05T14:40:12.907" UserId="73" />
  <row Id="2933" PostId="2747" Text="It will use the identity matching the envelope-from, i.e. the address passed to it in the -f parameter. Mutt passes the from address there if you set &quot;set use_envelope_from&quot; in mutrc, see http://wiki.mutt.org/?LightSMTPagents/Esmtp" CreationDate="2010-10-05T15:09:45.450" UserId="1941" />
  <row Id="2935" PostId="2776" Text="I'd chose xfig over Inkscape any day. At least it's been around long enough to get rid of crashing bugs." CreationDate="2010-10-05T15:12:23.187" UserId="601" />
  <row Id="2937" PostId="2759" Text="For the curious, the reason the former doesn't work is sed reads files a block at a time. It reads in the first block, processes it, and writes it to standard out. Before it can read the next block, your shell takes the first block of output from sed and inserts it into the output file -- if that's the same as the input file, the shell has just overwritten it. When sed goes to read the next block, it no longer exists, so it stops" CreationDate="2010-10-05T15:29:20.800" UserId="73" />
  <row Id="2938" PostId="2780" Score="5" Text="One issue you brushed past that's worth considering is that the Windows ABI has remained stable for years.  (Or rather, MS has gone to a lot of trouble to support all the various ABIs they've released transparently.  WoW64, for example.)  This means that an executable that runs on Windows 3.1 may well run on Windows 7.  This makes for a monoculture within a monoculture: malware writers don't have to rebuild their programs for every version of Windows, as you often have to do for Linux." CreationDate="2010-10-05T15:30:53.267" UserId="138" />
  <row Id="2939" PostId="2720" Text="Thank you for your very thoughtful response Gilles. You are correct in your assumptions. The PDA/mobile bridge is a very cool idea that I will have to put some more thought into. The other ideas, which seem to be mostly LAN or robot focused, are out of the question because there is no LAN in the environment. I am going to try putting together some POCs and will report back in a day or two. Thanks again!" CreationDate="2010-10-05T15:34:41.130" UserId="2132" />
  <row Id="2940" PostId="2689" Text="@Gilles - You are correct, I do not think the black box speaks Ethernet. That being said, the black box might still pick up and work some magic if it simply detects that there's a USB connection (via the A-to-A cable). Will be finding out in a day or two. Cheers." CreationDate="2010-10-05T15:36:51.640" UserId="2132" />
  <row Id="2941" PostId="2689" Text="Well, I guess that at least the devices listed on the driver page should support it..." CreationDate="2010-10-05T15:40:40.327" UserId="274" />
  <row Id="2942" PostId="2759" Text="It seems that Michael was writing his comment when I was writing my additional answer.  So many fast typers." CreationDate="2010-10-05T15:48:23.073" UserId="1207" />
  <row Id="2943" PostId="2729" Text="With that explanation, I have 1 cpu with 8 cores (an Intel(R) Xeon(R) CPU, W3520  @ 2.67GHz).  Unfortunately this explains my hardware to me, but not how I can track my software running on it in more detail." CreationDate="2010-10-05T16:50:58.807" UserId="2150" />
  <row Id="2944" PostId="2730" Text="Is the conclusion from this that there is no way to track how my software is running on the hardware?" CreationDate="2010-10-05T16:51:51.080" UserId="2150" />
  <row Id="2945" PostId="2747" Text="@fschmitt Excellent. I'll try that sometime today and accept this if it works" CreationDate="2010-10-05T16:54:03.837" UserId="73" />
  <row Id="2946" PostId="2776" Score="1" Text="Don't get me wrong, I use xfig too. With it, e.g. I was able to copy my professors blackbord drawings in real time." CreationDate="2010-10-05T18:16:29.907" UserId="1941" />
  <row Id="2947" PostId="2752" Score="3" Text="I have to differ with the &quot;user base is pretty small&quot; reason. The first really wide-spread PC virus was &quot;Brain&quot;, in 1988. Surely Linux in 2010 has more desktop users than MS-DOS did in 1988.  Why doesn't linux have more viruses, indeed, why doesn't it have a widespread &quot;Brain&quot; virus?" CreationDate="2010-10-05T18:19:06.130" UserId="732" />
  <row Id="2949" PostId="2727" Text="This is indeed the way to do it." CreationDate="2010-10-05T18:21:22.327" UserId="1397" />
  <row Id="2950" PostId="266" Text="How does it work?" CreationDate="2010-10-05T18:21:22.927" UserId="614" />
  <row Id="2953" PostId="266" Text="Ahhh, even Bash allows `:` as a function name.  Although `:(){ :|:&amp; };:` seems necessary..." CreationDate="2010-10-05T18:47:01.087" UserId="614" />
  <row Id="2955" PostId="2787" Text="Now my answer is missing. Great Job™" CreationDate="2010-10-05T20:17:06.363" UserId="601" />
  <row Id="2956" PostId="2752" Score="3" Text="PCs achieved clear platform dominance right around 1988.  The tallest nail gets pounded, then as today." CreationDate="2010-10-05T20:40:57.153" UserId="138" />
  <row Id="2957" PostId="2759" Score="1" Text="@Michael: Actually I believe the output file gets truncated before anything else happens." CreationDate="2010-10-05T20:54:08.733" UserId="382" />
  <row Id="2958" PostId="2759" Text="@Dennis When it gets opened it probably does, but I think the shell waits to open it; otherwise you'd never get any input in sed, and I've seen the behavior the OP describes where part of the file is there and then it cuts off" CreationDate="2010-10-05T21:08:03.993" UserId="73" />
  <row Id="2959" PostId="2730" Text="To large extend - yes. The threads are not usually bound to cores and most of them will not be runned at any particular moment." CreationDate="2010-10-05T21:29:43.577" UserId="305" />
  <row Id="2960" PostId="2787" Score="1" Text="@hop I merged your answer into this post and deleted the old main site version of this question to try and avoid confusion (the meta version still exists). Hopefully that helps" CreationDate="2010-10-05T21:45:57.970" UserId="73" />
  <row Id="2961" PostId="514" Text="The Unix Programming Environment is one of the few books that covers &quot;here documents&quot; at all.  You can do a lot with &quot;here documents&quot; that many think is impossible to do in a single file." CreationDate="2010-10-05T22:02:19.220" UserId="732" />
  <row Id="2962" PostId="2795" Score="1" Text="Thanks, that solves the problem.  I also found some info in mozillazine: http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile  One thing that it does not solve is my confusion: I am on computer A, I ssh over to computer B.  On computer B I start a new firefox to use the display on computer A, how does computer B know not to start a new process?  This must be a part of the X protocol I am not familiar with." CreationDate="2010-10-06T00:57:19.217" UserId="2150" />
  <row Id="2963" PostId="2797" Score="1" Text="http://en.wikipedia.org/wiki/List_of_Linux_distributions - anything more detailed you'll likely have to find out for yourself as trying to keep track of 'em all is a Sisyphean task." CreationDate="2010-10-06T05:09:37.233" UserId="1294" />
  <row Id="2964" PostId="2775" Text="Can you do &quot;rpm -ql kile | grep \.desktop&quot; in a terminal and give us the output? If there are none, this would be a packaging bug." CreationDate="2010-10-06T06:45:52.493" UserId="1941" />
  <row Id="2965" PostId="2784" Text="Have you already tried the solution offered to you on superuser.com?" CreationDate="2010-10-06T07:00:47.370" UserId="1941" />
  <row Id="2966" PostId="2797" Score="1" Text="I don't think you'll find something more accurate and comprehensive than distrowatch" CreationDate="2010-10-06T07:04:16.417" UserId="1941" />
  <row Id="2967" PostId="2799" Text="Could you rephrase &quot;This much days It work smoothly&quot;? Do you mean the same stick worked some days ago?" CreationDate="2010-10-06T07:05:23.057" UserId="1941" />
  <row Id="2968" PostId="2793" Text="The one problem with Truecrypt I have is that it has a somewhat problematic license and that I don't know who builds it (trust issue). But I'll check out if things have changed in Truecrypt land." CreationDate="2010-10-06T07:07:26.437" UserId="33" />
  <row Id="2969" PostId="2799" Text="Also, could you post the messages in the tail of /var/log/messages corresponding to the failed mount attempt?" CreationDate="2010-10-06T07:34:01.560" UserId="1941" />
  <row Id="2970" PostId="297" Score="1" Text="That's just evil. ;) I normally switch between using a Windows machine and often type `C-s` when saving.. It's a pain when you accidently hit it when ssh'ing to a linux machine.." CreationDate="2010-10-06T08:01:36.173" UserId="2113" />
  <row Id="2971" PostId="2797" Text="question is very similar to [1426](http://unix.stackexchange.com/questions/1426/how-do-you-choose-a-distribution), might get some answers there" CreationDate="2010-10-06T08:55:32.540" UserId="1327" />
  <row Id="2972" PostId="1046" Text="@starblue, what story of the San Francisco network admin? " CreationDate="2010-10-06T08:59:35.777" UserId="1327" />
  <row Id="2973" PostId="2775" Text="/usr/share/applications/kde4/kile.desktop&#xA;/usr/share/mimelink/text/x-kilepr.desktop&#xA;" CreationDate="2010-10-06T09:03:02.173" UserId="1836" />
  <row Id="2974" PostId="480" Score="1" Text="screen is pretty cool if you want a shared terminal for some reason. Create a screen `screen -S name` and let your other friend connect to it with `screen -x name`." CreationDate="2010-10-06T09:23:03.210" UserId="2113" />
  <row Id="2975" PostId="2770" Score="1" Text="@hop, do you want me to describe what a vector image is? Do you want to know that I would like it to work on gnome and kde? how is this unspesific? how is this useless?" CreationDate="2010-10-06T10:27:25.953" UserId="1945" />
  <row Id="2976" PostId="297" Score="1" Text="For the record, you can return to normality by pressing Ctrl-C." CreationDate="2010-10-06T10:45:16.200" UserId="2179" />
  <row Id="2977" PostId="301" Text="This actually works fine nowadays still :D" CreationDate="2010-10-06T10:48:28.147" UserId="2179" />
  <row Id="2978" PostId="2790" Score="2" Text="Are you sure there is a port of xdmx to the Mac? I tried all my Google karma but couldn't find anything. " CreationDate="2010-10-06T11:51:10.607" UserId="1941" />
  <row Id="2979" PostId="2770" Score="1" Text="illustrations, diagrams, from data, freehand, maybe even animated?" CreationDate="2010-10-06T12:07:23.283" UserId="601" />
  <row Id="2981" PostId="2770" Score="1" Text="but I really don't want to know any of that... " CreationDate="2010-10-06T13:21:37.543" UserId="1945" />
  <row Id="2982" PostId="2807" Text="It is possible you lack certain dependencies for those features." CreationDate="2010-10-06T13:33:22.033" UserId="252" />
  <row Id="2983" PostId="2760" Text="Warning: not all variants of `sed` implement this option." CreationDate="2010-10-06T13:50:17.167" UserId="1383" />
  <row Id="2984" PostId="2773" Text="sounds about right - links?" CreationDate="2010-10-06T14:23:17.370" UserId="2141" />
  <row Id="2985" PostId="2773" Text="don't worry - found it" CreationDate="2010-10-06T14:38:01.837" UserId="2141" />
  <row Id="2986" PostId="2808" Text="Thanks Patkos! please add some links to xrandr references" CreationDate="2010-10-06T15:08:51.367" UserId="2103" />
  <row Id="2987" PostId="2807" Text="@Gert: Thanks for the response. What could that be? Any idea?" CreationDate="2010-10-06T15:28:56.303" UserId="2045" />
  <row Id="2988" PostId="2805" Score="1" Text="If it's executable, then you can read something in it, or what's in a subdirectory, but you have to know the filename; you can't list the directory contents(read permission). To test this, create a directory with a file in it, remove all read permissions from the directory, `cd` out of the directory, and `cat` the file." CreationDate="2010-10-06T16:07:05.400" UserId="195" />
  <row Id="2989" PostId="2810" Text="So helpful. I'd +5(Informative) this if I could." CreationDate="2010-10-06T16:10:34.427" UserId="195" />
  <row Id="2990" PostId="2601" Text="Are you running Ubuntu 64 bit? I'm experiencing a slew of problems on 64bit and nvidia graphics cards." CreationDate="2010-10-06T18:37:23.430" UserId="252" />
  <row Id="2991" PostId="2810" Score="1" Text="Slight nitpick to point 1: the kernel checks permissions on the path you pass to it, even if it's relative. So you can work in a directory that you couldn't `chdir` into via its full path (try it with `mkdir foo/bar; cd foo/bar; chmod 000 ..; cd ..; ls -ld . ..; touch yes_I_can_write_here; chmod 755 ..; cd ..`). This doesn't come up often (it's occasionally used in some process confinement scenarios)." CreationDate="2010-10-06T18:52:25.577" UserId="885" />
  <row Id="2992" PostId="2805" Text="(2) Default file permissions are given by the `umask` (roughly speaking, it indicates bits that are excluded) and the permissions requested by the application that creates the file. The `umask` is often 022, resulting in permissions 755 if the program requests an executable file (argument 777), 644 if the application requests a public file (argument 666), and 600 if the application requests a private file (argument 600). (3) As Kevin says, you've mixed up execute and read permissions for a directory here." CreationDate="2010-10-06T18:58:00.863" UserId="885" />
  <row Id="2993" PostId="2823" Text="Please be more specific and if possible give a concrete example. What is the &quot;owner of the task&quot;? Where is the difference to the user running the executable? Where did you &quot;hear&quot; one should do this?" CreationDate="2010-10-06T19:00:12.280" UserId="1941" />
  <row Id="2994" PostId="2820" Score="2" Text="+1, not yet accepted... let me play with the display config until I get the one I want, if I break the display in the process I won't accept you answer :)" CreationDate="2010-10-06T19:08:36.653" UserId="2103" />
  <row Id="2995" PostId="1036" Text="Or with recent enough versions of GNU grep: `grep -r --include='filename' 'pattern' .`" CreationDate="2010-10-06T19:26:45.640" UserId="885" />
  <row Id="2996" PostId="2823" Text="I was discussing with a colleague how he managed to run an executable that was supposed to delete log files and by mistake wiped out a bin directory which had all application executables. He mentioned that he this could have been prevented if a different owner owned all the executables and we ran them as a different user. so /apps/bin/executable will be owned by local_admin user but it will only ever be run by normal_user who does not own any executables and does not have write privileges thus cannot delete them. I was wondering if same could be achieved using setuid." CreationDate="2010-10-06T19:55:42.243" UserId="2184" />
  <row Id="2997" PostId="2601" Text="yes 64 bit Ubuntu 10.4" CreationDate="2010-10-06T20:00:12.787" UserId="2049" />
  <row Id="2998" PostId="2820" Text="+1 @Toto, dude... you made my day! And +1 @fschmitt, because of Toto's comment" CreationDate="2010-10-06T20:08:18.557" UserId="1327" />
  <row Id="2999" PostId="2027" Text="@xeno, Sorry, I missed your comment there.. I used arch because  I'm arch fluent, but I tried debian on it first. Worked really well with the laptop, but not my thing..." CreationDate="2010-10-06T20:19:27.163" UserId="1327" />
  <row Id="3000" PostId="2763" Text="I'm surprised so many people are suggesting emacs and VIM. Sure those are fine, but IDEs have come a LONG way and anyone still using vim or emacs as a primary IDE isn't doing so because they're better. KDevelop is awesome. I highly recommend it." CreationDate="2010-10-06T20:32:08.390" UserId="1571" />
  <row Id="3001" PostId="2094" Text="@Steven and again, thats completely different than a book on C." CreationDate="2010-10-06T21:13:40.617" UserId="1899" />
  <row Id="3002" PostId="2819" Text="Will give it a try, thanks! Does anyone know if VLC or Mplayer uses multiple cores?" CreationDate="2010-10-06T22:07:02.910" UserId="1375" />
  <row Id="3003" PostId="341" Text="This is essentially a duplicate of [this answer](http://unix.stackexchange.com/questions/232/unix-linux-pranks/304#304), but the engine has no way of indicating that" CreationDate="2010-10-06T22:31:23.057" UserId="73" />
  <row Id="3004" PostId="2797" Text="I'm on the fence about calling this a duplicate, but the answers there probably cover this question too" CreationDate="2010-10-06T22:32:21.993" UserId="73" />
  <row Id="3005" PostId="2831" Score="4" Text="Good answer, but beware that the filesystem reserves this space for root for a good reason.  If system daemons can't write to the disk, bad things can happen.  If an interactive user can't write to disk, there's a good chance they'll be able to cope without data loss." CreationDate="2010-10-07T02:32:49.107" UserId="138" />
  <row Id="3006" PostId="2737" Text="I agree with the [this is nonsensical](http://meta.unix.stackexchange.com/questions/174/how-to-handle-questions-which-can-not-be-answered) opinion on meta; I have no idea what you're asking. If you edit it to clarify what you mean we can always reopen it" CreationDate="2010-10-07T03:01:02.263" UserId="73" />
  <row Id="3007" PostId="2823" Text="There is no permission system in the world that prevents stupid mistakes (while also allowing useful work to be done). This is what backups are for." CreationDate="2010-10-07T03:24:19.873" UserId="1294" />
  <row Id="3008" PostId="2835" Score="1" Text="Have you installed the ubuntu-restricted-extras package?" CreationDate="2010-10-07T04:05:57.110" UserId="1571" />
  <row Id="3009" PostId="2799" Text="@fschmitt, thanks for ur comment. I formated my pendrive again with fedora and now it working smoothly in RHEL5 too.  " CreationDate="2010-10-07T04:10:43.080" UserId="1903" />
  <row Id="3010" PostId="2830" Text="vga_switcheroo is enabled in the kernel, but it's still not in /sys/kernel/debug" CreationDate="2010-10-07T04:12:52.970" UserId="1571" />
  <row Id="3011" PostId="2805" Text="OK, thanks for the extra info to my answer ... I just tried to explain it as simple as possible without excessive information." CreationDate="2010-10-07T07:06:41.147" UserId="2000" />
  <row Id="3012" PostId="2830" Text="Kernel mode setting seems to be a requirement for vga_switcheroo to work. I edited my answer accordingly." CreationDate="2010-10-07T07:55:31.833" UserId="1941" />
  <row Id="3013" PostId="2807" Text="whats the output of your logfiles? ./configure for example?" CreationDate="2010-10-07T10:46:23.547" UserId="1339" />
  <row Id="3014" PostId="2835" Text="what did you try to install the SDKs?" CreationDate="2010-10-07T10:55:57.077" UserId="1339" />
  <row Id="3015" PostId="251" Text="Cruel and unusual. And oh so sweet." CreationDate="2010-10-07T11:46:18.817" UserId="1925" />
  <row Id="3016" PostId="303" Text="There is a verson of this in the chrome extention gallery too, easy to slide in somebodies computer when you sit down to browse." CreationDate="2010-10-07T11:47:26.460" UserId="1925" />
  <row Id="3017" PostId="2851" Text="I would suggest though to at least install [Ubuntu 10.10 RC](http://www.ubuntu.com/getubuntu/releasenotes/1010) or even better, wait till Sunday (October 10) for final release." CreationDate="2010-10-07T13:18:14.840" UserId="252" />
  <row Id="3018" PostId="2663" Score="2" Text="By swapping out inactive programs, you have more memory for file caching. And that speeds things up." CreationDate="2010-10-07T17:39:35.217" UserId="396" />
  <row Id="3019" PostId="2820" Text="OK @fschmitt... accepted. I couldn't set up the resolution I wanted, but I didn't break anything in the process either. Thanks!" CreationDate="2010-10-07T17:52:09.573" UserId="2103" />
  <row Id="3020" PostId="374" Text="I have installed nginx. It was very easy to install and configure and works very good." CreationDate="2010-10-07T20:09:28.763" UserId="5" />
  <row Id="3021" PostId="2858" Text="I added the [cups] tag and removed [command-line] since the accepted answer uses cups' web interface" CreationDate="2010-10-07T21:13:08.530" UserId="73" />
  <row Id="3022" PostId="2831" Score="1" Text="To add to Warren's comment about reserved space: when space goes below a few percent, the filesystem tends to fragment like crazy, because it's sticking bits of files wherever it can find the space. There's a performance cost to keeping your drives that close to full. " CreationDate="2010-10-07T23:51:05.710" UserId="2080" />
  <row Id="3023" PostId="2773" Score="3" Text="Who still has a floppy drive these days? ;)" CreationDate="2010-10-08T00:14:36.480" UserId="2080" />
  <row Id="3024" PostId="2690" Text="In the latter example, wget probably was executed twice because the ? is a special character in the shell. Putting the URL in &quot;&quot;s should help." CreationDate="2010-10-08T00:32:25.813" UserId="2080" />
  <row Id="3025" PostId="2795" Text="In sshd_conf you have an option for that: `X11Forwarding yes ` This tells ssh to ask X to forward it's output over the ssh tunnel to your X server whenever you start an application with GUI." CreationDate="2010-10-08T06:46:05.137" UserId="2000" />
  <row Id="3026" PostId="2880" Text="Nice, I was just posting a link to that. [Hemant's answer](http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts/369#369) is a good solution" CreationDate="2010-10-08T07:51:23.473" UserId="73" />
  <row Id="3027" PostId="2880" Text="Would Ruby count as a shell script?" CreationDate="2010-10-08T07:52:15.173" UserId="1327" />
  <row Id="3028" PostId="2880" Score="1" Text="@Stefan Yes, anything that gets run through an interpreter does, because it's not the script itself that gets run, it's the ruby interpreter, which isn't setuid. You need an actual binary to use setuid" CreationDate="2010-10-08T07:53:40.777" UserId="73" />
  <row Id="3029" PostId="2879" Text="possible duplicate of [Allow setuid on shell scripts](http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts)" CreationDate="2010-10-08T07:53:54.583" UserId="1327" />
  <row Id="3030" PostId="2763" Text="I disagree. I am using emacs for everyday use. It depends what you need and what you expect from IDE (I'm not sure about vim but emacs is IDE)." CreationDate="2010-10-08T08:19:06.410" UserId="305" />
  <row Id="3031" PostId="2744" Score="1" Text="@Stefan You guys should decide [one way or the other](http://unix.stackexchange.com/posts/2744/revisions) ;)" CreationDate="2010-10-08T08:24:39.037" UserId="73" />
  <row Id="3032" PostId="2773" Text="I'm looking at one right now.  But I've only used it once in the years I've had the PC." CreationDate="2010-10-08T08:31:00.357" UserId="1931" />
  <row Id="3033" PostId="2744" Text="email is a very valid tag here." CreationDate="2010-10-08T08:31:35.833" UserId="1327" />
  <row Id="3034" PostId="2880" Text="I wish I could vote this down, but unfortunately I lack 25 reputation points. Letting normal users run a bash script as root is a VERY BAD idea, unless you know exactly what you're doing (and if you have to ask how to do it, you don't). If the OP posted his script here, I'd probably find at least 3 ways to exploit it. There is a reason almost all distributions make this hard." CreationDate="2010-10-08T08:54:12.760" UserId="1952" />
  <row Id="3035" PostId="2880" Text="One of the main principles of Unix is: &quot;Give the user any opportunity to shoot himself in the foot&quot; :-)" CreationDate="2010-10-08T09:25:01.293" UserId="1941" />
  <row Id="3036" PostId="2883" Score="1" Text="The command `who` tells you who is logged in and on which X display that login is. You just might have to filter it somewhat." CreationDate="2010-10-08T09:49:23.940" UserId="33" />
  <row Id="3037" PostId="2883" Text="Thanks tante, I incorporated this." CreationDate="2010-10-08T09:50:33.763" UserId="1941" />
  <row Id="3038" PostId="2887" Score="3" Text="Test system with memtest86+. Does it report any problems? Also - did it worked before with 2.6.34.7? Or any other kernel?" CreationDate="2010-10-08T13:00:25.893" UserId="305" />
  <row Id="3039" PostId="2887" Text="I just got into work and was able to ssh to the machine, this machine has been running for 6+ months and this just started happening in the last week.  It would be ashame if its a memory issue as I have 2x2gb of crucial ballistix (its an old gaming rig) and they were replaced when I rebuilt the system about 6 months ago because they were defective.  Will run memtest this evening/weekend when I get home to the box." CreationDate="2010-10-08T13:06:41.680" UserId="1253" />
  <row Id="3040" PostId="2844" Text="Thanks. I'll give this a shot when I get home tonight." CreationDate="2010-10-08T13:17:52.450" UserId="1380" />
  <row Id="3041" PostId="2837" Text="Thanks. I'll give this a shot when I get home tonight along with the other suggestion from the other guy." CreationDate="2010-10-08T13:18:39.810" UserId="1380" />
  <row Id="3042" PostId="2886" Text="This sullotion is a bit messy... i can foresee a small glitch when rebooting, and you are cluttering my ~ directory. But otherwise pretty neat :)" CreationDate="2010-10-08T13:24:01.087" UserId="1327" />
  <row Id="3043" PostId="2885" Score="1" Text="I want it to work outside of X aswell :)" CreationDate="2010-10-08T13:24:49.420" UserId="1327" />
  <row Id="3044" PostId="2893" Score="2" Text="Are you executing swapon as root?" CreationDate="2010-10-08T13:55:58.020" UserId="629" />
  <row Id="3045" PostId="2888" Text="Conveniently, I was just trying to figure out how to use it with a stdout redirection last night and couldn't get it. I kept trying to do `EOF &gt; outfile.txt` at the end, which doesn't work well" CreationDate="2010-10-08T14:07:50.197" UserId="73" />
  <row Id="3046" PostId="2891" Score="1" Text="`grep '\[apache\]' | tail -f /dev/stdin` - but having per-user log on server (when user have no access to other user's log)." CreationDate="2010-10-08T14:21:55.047" UserId="305" />
  <row Id="3047" PostId="2891" Text="&quot;Why do you think it would be better to put everything in one file?&quot; - Because I love SQL ;-) And because I don't like (and hardly can) to keep many things in mind." CreationDate="2010-10-08T14:30:18.213" UserId="2119" />
  <row Id="3048" PostId="2895" Score="1" Text="Also http://www.faqs.org/docs/artu/textualitychapter.html" CreationDate="2010-10-08T15:07:50.520" UserId="305" />
  <row Id="3049" PostId="2883" Text="While it is probably better to just use a loop in a shell script you could always do something like `who | awk '/\(:[0-9]+\)/ {gsub(&quot;[:|(|)]&quot;,&quot;&quot;);print &quot;DISPLAY=:&quot;$5 &quot; sudo -u &quot; $1 &quot; notify-send \&quot;Message\&quot;&quot;}' | bash`.  Also, you might want to see http://unix.stackexchange.com/questions/1596/as-root-can-i-launch-a-graphical-program-on-another-users-desktop/1598#1598" CreationDate="2010-10-08T15:34:44.993" UserId="1207" />
  <row Id="3050" PostId="2886" Text="I think you probably meant `setxkbmap`. There's probably a way to find out the current layout instead of trying to track it with dotfiles; possibly `setxkbmap -print`?" CreationDate="2010-10-08T15:53:44.220" UserId="73" />
  <row Id="3051" PostId="2875" Text="Thanks.  I've decided to virtualize windows so that I can get access to my calendar and full address book" CreationDate="2010-10-08T15:55:43.353" UserId="2049" />
  <row Id="3052" PostId="2873" Text="The test certainly comes out positive; I never knew there was such a messaging system in X." CreationDate="2010-10-08T15:58:40.767" UserId="2150" />
  <row Id="3053" PostId="2893" Score="1" Text="@Kristof, configurator did state that he is running as root" CreationDate="2010-10-08T15:58:54.493" UserId="1327" />
  <row Id="3054" PostId="2899" Text="This seems to be the same as [Gilles' answer](http://unix.stackexchange.com/questions/2857/ssh-easily-copy-file-to-local-system/2869#2869)" CreationDate="2010-10-08T16:24:12.957" UserId="73" />
  <row Id="3056" PostId="2891" Score="8" Text="When all you know is SQL, everything looks like a relational database problem." CreationDate="2010-10-08T16:28:30.940" UserId="1397" />
  <row Id="3057" PostId="2898" Text="Now that's the way it should work.  I managed to get it installed by downloading the packages, but am having trouble adding the it to the software sources. isn't it &quot;deb https://launchpad.net/~goehle/+archive/goehle-ppa/+packages lucid main&quot; or is it something else?" CreationDate="2010-10-08T16:37:07.617" UserId="2049" />
  <row Id="3059" PostId="2816" Text="This has nothing to do with CPU and should be directed to the grahics card for native rendering/decoding.  For example, my zotac hd-id11 has an nvidia ion on it and a intel atom CPU, when I play 1080p content my cpu sees like 3-7% usage.  " CreationDate="2010-10-08T17:20:56.497" UserId="1253" />
  <row Id="3060" PostId="2903" Score="1" Text="Could you do something like &quot;ssh -v mike@serverb&quot; and upload the output somewhere? Without this it is really hard to see what might be wrong here." CreationDate="2010-10-08T18:20:01.607" UserId="1941" />
  <row Id="3061" PostId="2904" Text="@Gilles: Thanks for the answer, could you teach me what Exfxcxdxbxegedabagacad means?" CreationDate="2010-10-08T18:28:41.647" UserId="1090" />
  <row Id="3062" PostId="2904" Text="@prosseek: See the man pages I've linked to. For example, the first two characters are the foreground and background for directories, `e` means dark blue, `E` means light blue, and `x` means default. `f` in the third position makes symbolic links magenta, and so on." CreationDate="2010-10-08T18:49:27.473" UserId="885" />
  <row Id="3063" PostId="2906" Text="I was typing this and then had to go do something and posted it when I returned.  In the meantime you updated your post with the log.  This answer doesn't take the log into account and may not apply." CreationDate="2010-10-08T18:49:40.233" UserId="1207" />
  <row Id="3064" PostId="2906" Text="@Steven: I'm running Solaris, it doesn't have `ssh-copy-id` command..." CreationDate="2010-10-08T18:50:45.270" UserId="1578" />
  <row Id="3065" PostId="2908" Text="I temporarily have access to both servers (until both servers are correctly set-up). What do I have to try? I've already checked the permissions and they are correct..." CreationDate="2010-10-08T18:59:50.403" UserId="1578" />
  <row Id="3066" PostId="2909" Score="7" Text="Random sidenote: You can use `pkill` to kill a process by name, so your `ps aux | grep gnuchess` and `kill -9 PID` can just become `pkill -9 gnuchess`" CreationDate="2010-10-08T19:42:55.597" UserId="73" />
  <row Id="3067" PostId="2906" Text="+1, I didn't know this command existed." CreationDate="2010-10-08T19:52:54.453" UserId="1534" />
  <row Id="3069" PostId="2868" Text="The other day I put the hard drive from my notebook into my desktop and everything booted up completely fine with no need to change anything.  Granted: the proprietary video driver didn't load and I haven't customized fstab or modprobe.conf.  So it definitely is easy." CreationDate="2010-10-08T20:17:53.293" UserId="1399" />
  <row Id="3070" PostId="369" Score="2" Text="**Note that THIS IS INSECURE even if the full path to the script is hardcoded.** The shell will inherit variables from the environment, and many of them allow the invoker to inject arbitrary code. `PATH` and `LD_LIBRARY_PATH` are obvious vectors. Some shells execute `$ENV` or `$BASHENV` or `~/.zshenv` even before they start executing the script proper, so you can't protect from these at all from within the script. The only safe way to invoke a shell script with privileges is to **clean up the environment**. Sudo knows how to do it safely. So **do not write your own wrapper, use sudo**." CreationDate="2010-10-08T20:26:07.477" UserId="885" />
  <row Id="3071" PostId="2816" Text="OK, but do those programs automatically take advantage of the graphics card? Or is there another media player that does this?" CreationDate="2010-10-08T20:34:02.537" UserId="1375" />
  <row Id="3072" PostId="2908" Score="2" Text="The unsuccessful SSH attempts should be in the system logs. It should give you an error which explains why it denied the SSH session. The error messages are a little cryptic, but very Googleable. If you post the errors in your question above, we might be able to help you." CreationDate="2010-10-08T20:55:29.027" UserId="4" />
  <row Id="3073" PostId="2908" Score="2" Text="I suggest two widows. One, doing a 'tail -f' of the SSH logs in real time (`/var/adm/auth` I think on Solaris systems). In your other window, try to `ssh -l mike serverb`. Try some variations, like `ssh serverb` (as yourself), etc. to help troubleshoot." CreationDate="2010-10-08T20:58:17.853" UserId="4" />
  <row Id="3074" PostId="2906" Text="@jyzuz: So did you check that you had copied the keys correctly? Compare `md5sum id_dsa.pub` client-side and `md5sum authorized_keys` server-side (use `cksum` if you don't have `md5sum` on both sides)." CreationDate="2010-10-08T21:54:06.987" UserId="885" />
  <row Id="3075" PostId="410" Score="1" Text="Far as I'm concerned, &quot;fast&quot; doesn't count if I'm not accurate.  You may also want to look at the GREP_COLORS and GREP_OPTIONS variables." CreationDate="2010-10-08T22:58:13.797" UserId="1860" />
  <row Id="3076" PostId="369" Score="2" Text="I feel bad that he's suddenly getting downvoted for this -- I did specifically say I wanted to hear insecure versions too, and I was imagining an executable that took a shell script argument when I said it. Obviously it's massively insecure, but I wanted to know what possibilities exist" CreationDate="2010-10-08T22:58:37.380" UserId="73" />
  <row Id="3077" PostId="2896" Text="Well, pardon my bluntness, but this is shit. Indeed it says right on VPSLink's website that their OpenVZ plan doesn't support swap space. Here's hoping I can run my programs without it!" CreationDate="2010-10-08T23:48:11.490" UserId="2211" />
  <row Id="3078" PostId="1350" Text="Yes, EFI, Extensible_Firmware_Interface, as I said. No I don't need an Intel Mac, the principle is the same on any computer. It won't boot from USB as long as you don't tell your computer to boot from USB, and for as long as the boot device is not marked as active and for as long as you have the wrong /dev/sdXY in the grub boot config... you need the shortcut-key to configure the boot device order. By default, your computer won't be booted from a USB paritition marked as active, and this default makes sense." CreationDate="2010-10-08T23:53:13.120" UserId="1298" />
  <row Id="3079" PostId="2920" Text="+1 this is what I do." CreationDate="2010-10-09T00:00:41.890" UserId="2046" />
  <row Id="3080" PostId="2920" Score="4" Text="Actually this will work regardless of what is happening on the remote machine. What you've experienced is that `~` is only active immediately after you've pressed Enter (otherwise it would be too intrusive)." CreationDate="2010-10-09T00:04:37.543" UserId="885" />
  <row Id="3081" PostId="2916" Score="2" Text="+1 me too:  minus for arguments, dash for everything else" CreationDate="2010-10-09T00:10:38.273" UserId="2046" />
  <row Id="3082" PostId="2920" Text="Perfect, I wish this was documented better somewhere, I've never seen to use this before" CreationDate="2010-10-09T00:18:11.323" UserId="1571" />
  <row Id="3084" PostId="2916" Score="2" Text="+1 Yes, exactly; what's going on on this site? &quot;Minus&quot; is the only pronunciation I've encountered." CreationDate="2010-10-09T04:33:33.090" />
  <row Id="3085" PostId="2926" Score="2" Text="How is `diff -w` a case where `-` is supposed to indicate subtraction?" CreationDate="2010-10-09T05:07:02.410" UserId="73" />
  <row Id="3086" PostId="1046" Text="This question is pretty meaningless without a why. It's much easier to create a SUID trojan shell and hide it someplace that looks reasonable but boring (this also works for hiding contraband from your parents, aurorius (without the SUID bit, which doesn't do much for contraband))." CreationDate="2010-10-09T08:00:46.737" UserId="1294" />
  <row Id="3087" PostId="2898" Text="It's actually simpler than that, I added the info to my answer." CreationDate="2010-10-09T08:13:35.250" UserId="102" />
  <row Id="3088" PostId="2923" Text="@Quandary: I have id_rsa.pub and id_dsa.pub. Isn't DSA stronger than RSA? In fact to the other servers we always sent DSA pub key and it always worked. I cannot regenerate the keys (since a lot of other servers connect to us) but I'll try to follow (again) the steps. Thanks." CreationDate="2010-10-09T12:37:04.830" UserId="1578" />
  <row Id="3089" PostId="2908" Text="@Stefan Lasiewski: Should I use authorized_keys or authorized_keys2? About the logs, I don't have root access to the server, I will check if I'll be able to read this log. Will come back later. Thanks." CreationDate="2010-10-09T12:39:30.813" UserId="1578" />
  <row Id="3090" PostId="2926" Text="`diff -w file-a file-b` gives the difference between two files without considering whitespace. " CreationDate="2010-10-09T13:35:49.057" />
  <row Id="3091" PostId="2903" Text="As noted below, check the server logs to see why the key is rejected.  If you don't see anything useful, you can try starting sshd with debug logging enabled." CreationDate="2010-10-09T16:16:23.167" UserId="2046" />
  <row Id="3092" PostId="1330" Score="1" Text="Been there.  I once created an account with a login of test:test, intending to use it for only about five minutes.  I forgot  to delete it and got same results as you.  Never again.  I go all public-key auth now." CreationDate="2010-10-09T17:00:37.817" UserId="1889" />
  <row Id="3093" PostId="2908" Text="@jyzuz : By default, either authorized_keys or authorized_keys2 should work." CreationDate="2010-10-09T20:37:37.153" UserId="4" />
  <row Id="3094" PostId="2936" Text="The problem with Ubuntu might be with Grub 2. If you google for Ubuntu and your Laptop, you'll find reports that reverting Grub 0.97 allows booting with KMS enabled. I guess Arch still uses Grub 0.97?" CreationDate="2010-10-09T20:54:41.940" UserId="1941" />
  <row Id="3095" PostId="839" Score="1" Text="I take it this was before you found out about chroot(1)?" CreationDate="2010-10-09T22:13:41.853" UserId="195" />
  <row Id="3096" PostId="2938" Score="3" Text="While you posted this, I was typing up how I recovered from just such a scenario: http://unix.stackexchange.com/questions/502/what-are-your-favorite-painful-unix-moments/2939#2939" CreationDate="2010-10-09T22:27:41.690" UserId="195" />
  <row Id="3097" PostId="1485" Text="@Shamster, actually, there are pre-packaged options ... ;) See my answer for details ..." CreationDate="2010-10-09T23:26:57.313" UserId="1131" />
  <row Id="3098" PostId="2939" Score="5" Text="That was the only thing you needed to change to unbreak her system?" CreationDate="2010-10-10T00:10:54.480" UserId="73" />
  <row Id="3099" PostId="2940" Text="Thanks patrick ... i acutally already have the tablet PC, looking for the OS portion only. " CreationDate="2010-10-10T00:57:34.577" UserId="2175" />
  <row Id="3100" PostId="2940" Text="@Zypher: Yeah, just thought that the &quot;MeeGo&quot;-distribution is on a tablet PC as a default install, so it should be able to install on another one, as it should be open source." CreationDate="2010-10-10T02:02:32.870" UserId="2113" />
  <row Id="3101" PostId="2939" Score="1" Text="I'm sure it was still broken, but maybe it worked well enough for the rest of the class." CreationDate="2010-10-10T03:53:15.573" UserId="4" />
  <row Id="3102" PostId="2938" Text="@kevin : Were you able to restore the rest of the system? I would think that would be possible, but painstakingly tedious." CreationDate="2010-10-10T03:54:50.360" UserId="4" />
  <row Id="3103" PostId="2737" Text="@Xinus: Ok, now that you've *explained* your problem by detailing the behavior you observe, your question makes sense. I still have a few pieces of advice. 1. Don't make assumptions: nothing in your problem suggests a scheduling issue, so don't mention scheduling. 2. Don't insult the people who might help you — starting off a question on a unix forum by saying Windows is better isn't going to motivate answerers. 3. Your revision shows you've followed some of its advice already, but read http://www.catb.org/esr/faqs/smart-questions.html ." CreationDate="2010-10-10T08:25:12.460" UserId="885" />
  <row Id="3104" PostId="2929" Text="I've edited my question so I think is pretty clear now, but thank you for the answer. " CreationDate="2010-10-10T10:06:36.547" UserId="2221" />
  <row Id="3106" PostId="2937" Text="Sorry that didn't answered my question: what you said I already figured out. I have just edited it. " CreationDate="2010-10-10T10:08:37.750" UserId="2221" />
  <row Id="3107" PostId="2929" Text="@Juanlu001: I've updated my answer accordingly. In short, `du` shows disk usage, while Thunar shows something else." CreationDate="2010-10-10T10:57:16.473" UserId="885" />
  <row Id="3108" PostId="2929" Text="All right now - Thanks! :)" CreationDate="2010-10-10T11:58:54.797" UserId="2221" />
  <row Id="3109" PostId="2939" Score="1" Text="It did work well enough for the rest of the class; the school evidently has a requirement that all student drives be reinstalled every quarter. And she wasn't going on with Linux after this quarter was over, so I didn't bother fixing it the rest of the way." CreationDate="2010-10-10T12:43:46.373" UserId="195" />
  <row Id="3110" PostId="2938" Score="1" Text="@Stefan Lasiewski: I'm sure I could have fixed it completely with a combination of mounting another student's root, andthen a combination of find, sed, and chmod --reference, but I didn't bother." CreationDate="2010-10-10T12:46:53.433" UserId="195" />
  <row Id="3111" PostId="1046" Text="http://en.wikipedia.org/wiki/Terry_Childs" CreationDate="2010-10-10T17:38:15.530" UserId="592" />
  <row Id="3112" PostId="2942" Score="1" Text="FWIW, the exact same question on Server Fault: http://serverfault.com/questions/189282/why-change-default-ssh-port." CreationDate="2010-10-10T18:27:55.120" UserId="1506" />
  <row Id="3113" PostId="2953" Score="1" Text="Thanks! I see, so it's not so &quot;magical&quot; :)" CreationDate="2010-10-10T18:48:50.790" UserId="2200" />
  <row Id="3114" PostId="2027" Text="@Stefan yeah I'm not a debian fan either. Just saying that arch isn't designed to be trim filesystem wise." CreationDate="2010-10-10T19:02:17.487" UserId="29" />
  <row Id="3117" PostId="2954" Text="You are right, I deleted the wrong answer." CreationDate="2010-10-10T19:28:16.877" UserId="1941" />
  <row Id="3118" PostId="2954" Text="@fschmitt yeah you can't write to the other persons file (modify it) but that unfortunately doesn't prevent you from deleting the last reference to it." CreationDate="2010-10-10T19:38:22.687" UserId="29" />
  <row Id="3119" PostId="2956" Text="@maxschlepzig hmm... I didn't realize that's part of what the sticky bit does... I will have to test it." CreationDate="2010-10-10T19:42:14.503" UserId="29" />
  <row Id="3120" PostId="2956" Text="I guess I forgot that's what it's for... I think this is an adequate solution. /me -- for overthinking the issue" CreationDate="2010-10-10T19:57:31.463" UserId="29" />
  <row Id="3121" PostId="2946" Text="Are you certain that you want to do this? The empty space conveys information: this thing that was here is not here now." CreationDate="2010-10-10T20:00:41.360" UserId="1294" />
  <row Id="3122" PostId="2877" Text="@falmarri Obviously GTK are not part of KDE. You could look at what GTK theme Kubuntu uses, and what theme settings it uses for KDE." CreationDate="2010-10-10T20:09:21.933" UserId="29" />
  <row Id="3123" PostId="2958" Text="Define &quot;doesn't work&quot;. What error do you get? Have you setup `sudo` properly? Can you start non-GUI apps using `sudo`?" CreationDate="2010-10-10T20:16:02.150" UserId="481" />
  <row Id="3124" PostId="2958" Text="ps. you could also try an app called `sux` which is basically &quot;su with X&quot;" CreationDate="2010-10-10T20:55:17.737" UserId="29" />
  <row Id="3125" PostId="2960" Text="I read the /etc/sudoers file and it did mention the fact that this was a feature. I uncommented the lines it told me to but it's still not working. I posted my /etc/sudoers file in my question." CreationDate="2010-10-10T21:14:40.417" UserId="1571" />
  <row Id="3127" PostId="2960" Text="I added the Fedora settings to my answer. I think you still miss DISPLAY and XAUTHORITY in your posted file." CreationDate="2010-10-10T21:19:27.553" UserId="1941" />
  <row Id="3128" PostId="2944" Text="I don't really agree with that &quot;it's security by obscurity&quot; I think that, that answer is a common fallacy in this case. @Michael's reasoning generally show's a better reason to have it elsewhere. It's mostly just to get rid of all the scripted botted attacks. Doesn't necessarily mean you're afraid of them, or consider it effective against a determined attacker. I know I never worried they'd actually get in. but all the log cruft was annoying." CreationDate="2010-10-10T21:20:29.827" UserId="29" />
  <row Id="3130" PostId="2960" Text="Actually it seems to work now. I'm not sure if I just forgot to save or something. Thanks =]" CreationDate="2010-10-10T21:35:16.010" UserId="1571" />
  <row Id="3131" PostId="2944" Text="@xenoterracide: If you are only concerned about the readability of your log files then there are other better alternatives to exclude the noise instead of changing the port as an obscurity tactic, which was the question. Regarding the IP blocking, which was not part of the question: Please note that adding more complexity to security relevant systems means also increasing the risk of exploitation. Consider for example http://seclists.org/fulldisclosure/2007/Jun/121  http://www.ossec.net/main/attacking-log-analysis-tools . Yes, DenyHosts was affected by this." CreationDate="2010-10-10T21:49:42.080" UserId="1131" />
  <row Id="3132" PostId="2953" Text="greyfade has ruined the magic forever -_-" CreationDate="2010-10-10T22:14:39.550" UserId="73" />
  <row Id="3133" PostId="2966" Score="1" Text="I suspect the window manager has little to do with what folder is used for trash storage, but I know what you meant :)" CreationDate="2010-10-10T22:41:07.333" UserId="73" />
  <row Id="3134" PostId="2961" Text="Ah. So it actuallly doesn't set the color based on the the actual file type, it does just check filetypes" CreationDate="2010-10-10T22:53:51.800" UserId="1571" />
  <row Id="3135" PostId="2961" Text="It sets the color based on the file extension" CreationDate="2010-10-10T23:48:14.770" UserId="2233" />
  <row Id="3136" PostId="2963" Score="2" Text="Correct.  You'll need to log out and back in, or launch every app from a terminal with an updated environment." CreationDate="2010-10-11T00:31:57.980" UserId="85" />
  <row Id="3138" PostId="2725" Text="It's going to be awfully tough to do this without mounting and unmounting the filesystem on Box A while accessing it on Box B (and vice-versa). Most normal (non-cluster aware) filesystems have every right to assume that the on disk bits they have mounted do not change underneath them. A bunch of in-memory structures will be out of sync. You either need to mount/unmount when switching between A and B, or get the cooperation of (i.e. write a new filesystem) the filesystem driver on Boxes A and B." CreationDate="2010-10-11T02:14:03.817" UserId="26" />
  <row Id="3139" PostId="2953" Text="@Michael Mrozek: Sorry. :(" CreationDate="2010-10-11T02:30:32.933" UserId="1534" />
  <row Id="3140" PostId="2966" Score="2" Text="On my gnome system the trash is found in `~/.local/share/Trash`." CreationDate="2010-10-11T04:16:58.840" UserId="1207" />
  <row Id="3141" PostId="2972" Score="4" Text="See also the [strip(1) manpage](http://linux.die.net/man/1/strip). Generally strip removes all symbols since they're not strictly necessary; it removes debugging info too, but symbols are the big thing" CreationDate="2010-10-11T07:15:59.437" UserId="73" />
  <row Id="3142" PostId="2966" Score="2" Text="That is only true if all your stuff is on one partition. Every drive/partition has its own trash (wouldn't make sense to move a multiple GB file over to a different drive to store it in the trash)" CreationDate="2010-10-11T08:37:23.917" UserId="33" />
  <row Id="3143" PostId="2966" Text="Oh, I wasn't aware of multiple partitions :-) @Steven D: what gnome version are you using? maybe this has changed or is partly distribution specific..." CreationDate="2010-10-11T09:12:59.963" UserId="1339" />
  <row Id="3148" PostId="2973" Text="what does `file -s disk.img` give? " CreationDate="2010-10-11T10:41:43.613" UserId="1327" />
  <row Id="3150" PostId="2973" Text="Basically the same thing, but doesn't indicate anything about the ext4 partition. disk.img: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, 1st sector stage2 0x3a883d7, code offset 0x48\012-" CreationDate="2010-10-11T11:23:33.580" UserId="92" />
  <row Id="3151" PostId="2966" Text="I wonder if this [trash-spec](http://freedesktop.org/wiki/Specifications/trash-spec) would help creating a more generic solution?" CreationDate="2010-10-11T11:26:06.407" UserId="2237" />
  <row Id="3152" PostId="2977" Score="1" Text="`.` only works in sh/bash and related shells.  `source` also works in csh and related shells." CreationDate="2010-10-11T12:00:50.200" UserId="31" />
  <row Id="3153" PostId="1987" Text="This question is not answerable as it is. You have to add more details: Give us the exact kernel with minor version you are running and the errors generated by the unsuccessful attempt to install the drivers please." CreationDate="2010-10-11T12:33:11.713" UserId="1941" />
  <row Id="3154" PostId="2980" Text="Also `sfdisk -uB -l` will print out that info, but using 1024-byte blocks, which can make it easier to compute offsets." CreationDate="2010-10-11T12:38:07.000" UserId="274" />
  <row Id="3155" PostId="2944" Text="There's more than just readability in mind. A properly documented port change is not security by obscurity." CreationDate="2010-10-11T13:44:14.207" UserId="29" />
  <row Id="3156" PostId="2987" Text="whats the problem with the date syntax? you don't like the formatting options? I think a date -d @TIMESTAMP is really simple..." CreationDate="2010-10-11T13:57:52.337" UserId="1339" />
  <row Id="3157" PostId="2987" Text="@echox I was completely not seeing the @TIMESTAMP in the docs." CreationDate="2010-10-11T13:59:26.787" UserId="29" />
  <row Id="3158" PostId="2987" Text="ah, ok, that explains it :-)" CreationDate="2010-10-11T14:00:26.947" UserId="1339" />
  <row Id="3160" PostId="2966" Text="@echox I checked it on GNOME 2.32 distributed by Ubuntu." CreationDate="2010-10-11T14:47:32.950" UserId="1207" />
  <row Id="3161" PostId="2983" Text="tar is for more than just tapes. The name originally came from tape, but these days I see it being used mostly for when you want to put things into a single file for redistribution while maintaining directory structure information with optional compression." CreationDate="2010-10-11T14:48:07.770" UserId="195" />
  <row Id="3162" PostId="2945" Score="11" Text="Wow I never even considered that until you mentioned it. Good one." CreationDate="2010-10-11T17:57:58.723" UserId="4" />
  <row Id="3163" PostId="2988" Score="2" Text="Assuming GNU date, that is." CreationDate="2010-10-11T18:14:21.263" UserId="885" />
  <row Id="3164" PostId="2971" Score="1" Text="More precisely, `uname -m` tells you the architecture for which the *kernel* was built. For example there are a few systems out there with an amd64 kernel but a 32-bit userland." CreationDate="2010-10-11T18:57:27.413" UserId="885" />
  <row Id="3165" PostId="2971" Text="Excellent point Gilles.  I updated my answer accordingly." CreationDate="2010-10-11T19:11:24.237" UserId="1207" />
  <row Id="3166" PostId="2996" Text="[This question](http://unix.stackexchange.com/questions/2946/how-to-align-applets-on-gnome-panel) might explain the cause" CreationDate="2010-10-11T20:19:59.523" UserId="73" />
  <row Id="3167" PostId="2849" Text="The trickiest thing will probably be the hardware support. If you post some info on the tablet in question, it could help you get better answers." CreationDate="2010-10-11T20:23:02.967" UserId="2138" />
  <row Id="3168" PostId="2997" Text="I unlocked the panel and I could move it to the right (I would have swear that I tried this yesterday and it didn't work, but it did now!). There is still one space on the left though, but at least is not so bad now as it was before. I'll post an screenshot. (BTW I ran your three commands and nothing changed =( )&#xA;" CreationDate="2010-10-11T20:55:15.543" UserId="2200" />
  <row Id="3169" PostId="2999" Text="By &quot;it should shutdown&quot; do you mean that the computer should shut down or something else?" CreationDate="2010-10-11T21:12:21.677" UserId="1207" />
  <row Id="3170" PostId="3002" Text="Excellent, thanks" CreationDate="2010-10-11T22:48:01.517" UserId="451" />
  <row Id="3171" PostId="3004" Score="3" Text="You are more likely to get an answer if you edit your post with information regarding precisely what the Windows registry change was (and, if you know, what the effect of the change is)." CreationDate="2010-10-11T22:51:12.690" UserId="1207" />
  <row Id="3172" PostId="3004" Score="3" Text="Also, [Super User](http://www.superuser.com/) would be a better venue, since it has people who know hardware and people who know Windows, both of which could help figure out how to transpose the Windows fix." CreationDate="2010-10-11T23:16:40.920" UserId="885" />
  <row Id="3173" PostId="3009" Text="Do you mean 1T-2T of storage, I hope?" CreationDate="2010-10-12T05:00:45.040" UserId="1889" />
  <row Id="3174" PostId="2999" Text="@StevenD: shutdown only!" CreationDate="2010-10-12T05:06:11.320" UserId="1267" />
  <row Id="3175" PostId="3001" Text="@echox: This answers my question thanks a lot!" CreationDate="2010-10-12T05:06:33.520" UserId="1267" />
  <row Id="3176" PostId="3001" Text="@echox: You have given an answer where the system detachs USB Instantly. I am in need of the command where, USB Gets detached after a specific amount of time and the system shutsdown simulatenously" CreationDate="2010-10-12T05:09:04.757" UserId="1267" />
  <row Id="3177" PostId="2999" Text="I took the liberty of editing your question a bit." CreationDate="2010-10-12T05:28:19.563" UserId="1207" />
  <row Id="3178" PostId="3001" Score="1" Text="@Chandru1  If you look at Giles answer to your last question(http://unix.stackexchange.com/questions/1759/fedora-auto-suspend) you should be able to use the same method he used there.  For instance: `sleep 15 &amp;&amp; umount /dev/sdb1 &amp;&amp; shutdown now`" CreationDate="2010-10-12T05:30:56.830" UserId="1207" />
  <row Id="3179" PostId="2878" Text="I chose the other answer because I already had KDE installed and configured. So I didn't want to uninstall and reinstall from chakra. +1 though" CreationDate="2010-10-12T08:30:23.767" UserId="1571" />
  <row Id="3180" PostId="3009" Text="@ATC My mistake." CreationDate="2010-10-12T08:39:11.717" UserId="1942" />
  <row Id="3181" PostId="3014" Score="1" Text="The keyboard shortcuts can be found in /usr/share/doc/w3m-0.5.2/doc/MANUAL.html (or where ever your w3m is installed)." CreationDate="2010-10-12T09:20:18.893" UserId="1941" />
  <row Id="3182" PostId="3017" Text="Awesome.  Thanks for ur effort/quick response" CreationDate="2010-10-12T09:37:20.480" UserId="2248" />
  <row Id="3183" PostId="3016" Score="2" Text="`$PS2` is the prompt you get when writing a command over multiple lines, not the right prompt. The right prompt would be `$RPS1` (and `$RPS2` accordingly for multiple lines) on zsh - bash has no right prompt." CreationDate="2010-10-12T09:56:40.587" UserId="481" />
  <row Id="3184" PostId="3016" Score="1" Text="$PS2 contains the second promptline if a shell needs more input, not the right prompt." CreationDate="2010-10-12T09:57:10.050" UserId="1339" />
  <row Id="3185" PostId="3016" Text="Indeed, I've just got confused when I wrote this answer. Corrected." CreationDate="2010-10-12T10:05:02.433" UserId="2249" />
  <row Id="3186" PostId="2999" Text="sound weird to me, why do you need to unmount? what's wrong with just shutdown?" CreationDate="2010-10-12T10:46:24.067" UserId="250" />
  <row Id="3187" PostId="3009" Score="1" Text="&lt;twitch/&gt; &quot;T&quot; is not a unit of information. It should be &quot;TB&quot; or &quot;TiB&quot;." CreationDate="2010-10-12T10:57:49.653" UserId="281" />
  <row Id="3188" PostId="3016" Text="You should probably remove the bit about the right prompt altogether because that only exists in zsh and the question is about bash." CreationDate="2010-10-12T13:47:34.347" UserId="481" />
  <row Id="3189" PostId="3023" Score="1" Text="Thanks sepp2k. But what if some other application opens Nautilus? Like blueman-manager, an application I use to connect to my cell phone through bluetooth. Whenever I click on browse to see files on my cell phone, it open nautilus. Now how can I pass `--no-desktop` in this case? As I certainly have no control on blueman-manager." CreationDate="2010-10-12T13:55:28.590" UserId="2045" />
  <row Id="3190" PostId="3023" Text="@Andrew: Good point. Using the gconf key should take care of that." CreationDate="2010-10-12T13:58:10.707" UserId="481" />
  <row Id="3191" PostId="3016" Text="@seppk : thanks for the comment. I have used zsh for many years and here at work I have to use bash. I didn't notice that RPS1 wasn't available on it." CreationDate="2010-10-12T14:52:41.883" UserId="2249" />
  <row Id="3192" PostId="3022" Score="2" Text="Maybe this should be two questions? I didn't even realize until I looked at the answers, but it seems to completely change direction after &quot;Which window manager would you suggest?&quot;" CreationDate="2010-10-12T15:20:15.560" UserId="73" />
  <row Id="3193" PostId="3007" Text="Got it... thanks Gilles" CreationDate="2010-10-12T16:18:14.693" UserId="1578" />
  <row Id="3194" PostId="3027" Text="Ok, so I would interpret zero seconds to imply &quot;don't keep alive&quot; which is why it doesn't poll the client/server?" CreationDate="2010-10-12T16:33:04.007" UserId="2094" />
  <row Id="3195" PostId="3027" Text="yup 0 = don't send a null packet. Another different would be that ServerAliveInterval is set in the client config whereas ClientAliveInternal is set in the server config." CreationDate="2010-10-12T16:37:40.013" UserId="1416" />
  <row Id="3197" PostId="3027" Text="Thaaaaaanks!!!! (needed more than 15 characters)" CreationDate="2010-10-12T17:06:04.030" UserId="2094" />
  <row Id="3198" PostId="3028" Text="I see we both found the same webpage. :-)" CreationDate="2010-10-12T17:11:59.030" UserId="1207" />
  <row Id="3199" PostId="3021" Score="1" Text="Actually `du`'s default unit is 512-byte blocks according to POSIX, and kilobytes on Linux (unless the environment variable `POSIXLY_CORRECT` is set) or with `du -k`." CreationDate="2010-10-12T17:49:33.127" UserId="885" />
  <row Id="3200" PostId="3016" Text="Better not export `PS1`: it's useless, and it can be a nuisance if you occasionally use another shell with different prompt escape sequences." CreationDate="2010-10-12T17:51:28.067" UserId="885" />
  <row Id="3201" PostId="3014" Score="4" Text="Within w3m, press `H` to show the list of key bindings." CreationDate="2010-10-12T17:52:33.213" UserId="885" />
  <row Id="3203" PostId="3021" Score="1" Text="@Gilles: Good catch. I've removed the &quot;number of bytes&quot; bit from my answer." CreationDate="2010-10-12T17:53:55.940" UserId="481" />
  <row Id="3204" PostId="3034" Score="2" Text="You will need to execute that command as root.  In Ubuntu this is usually done using `sudo` before the command." CreationDate="2010-10-12T18:29:15.350" UserId="1207" />
  <row Id="3205" PostId="3034" Score="2" Text="@Steven I never include `sudo`, it's not technically part of the command, but yes, like all package installs it needs to be run as root" CreationDate="2010-10-12T18:31:56.640" UserId="73" />
  <row Id="3206" PostId="3035" Score="1" Text="You can use the software center to install any software package" CreationDate="2010-10-12T18:45:38.520" UserId="5" />
  <row Id="3207" PostId="3034" Text="Users normally use the software center or a package manager gui for installing packages" CreationDate="2010-10-12T18:46:22.063" UserId="5" />
  <row Id="3208" PostId="3034" Score="4" Text="@txw Well, this explains why I normally don't answer Ubuntu questions :). If you're already on the command-line and have the package name right in front of you I would expect most people to use `apt-get` or `aptitude`, but maybe that's not the case" CreationDate="2010-10-12T18:53:44.180" UserId="73" />
  <row Id="3209" PostId="3034" Text="@Michael : The command was what I was after. I already knew that I needed to install `perl-doc`... just wasn't sure what command to use." CreationDate="2010-10-12T19:31:37.380" UserId="446" />
  <row Id="3210" PostId="3028" Text="Yes. It would be cool if one could somehow flag a question as &quot;I'm working on it&quot; to prevent duplicate effort..." CreationDate="2010-10-12T19:58:40.110" UserId="1941" />
  <row Id="3211" PostId="3039" Text="I agree that it takes some practice to not ban yourself ;-) Changing default ports and not relying on a password but on a password-protected key are also good advice. But I really don't know why I should let bot networks fill my access log files while my ssh and web server have to deny thousands of requests per hour. With fail2ban, my access log is clean and my server applications do not see this traffic at all (except the first X bad requests :-) )." CreationDate="2010-10-12T20:05:01.753" UserId="1416" />
  <row Id="3212" PostId="3000" Text="regarding stunnel: I would need a setup like this: localhost:1025 via gateway:443 to target:rdp_port.  Would that be possible using stunnel?" CreationDate="2010-10-12T20:07:19.637" UserId="101" />
  <row Id="3213" PostId="3040" Text="Helpful, thanks!" CreationDate="2010-10-12T20:08:23.040" UserId="1974" />
  <row Id="3214" PostId="3042" Text="Sounds *perfect*, thanks!! I'll try it and accept if it works as described!" CreationDate="2010-10-12T20:09:01.417" UserId="1974" />
  <row Id="3215" PostId="3034" Text="@Michael Mrozek: Well... you can always also use the commandline in Ubuntu, but most users just do not want to go anywhere near it :D" CreationDate="2010-10-12T20:34:01.043" UserId="5" />
  <row Id="3216" PostId="3000" Text="regarding mstsc/wine: no (tried it), see also http://appdb.winehq.org/objectManager.php?sClass=version&amp;iId=17714" CreationDate="2010-10-12T20:38:47.877" UserId="101" />
  <row Id="3217" PostId="3039" Text="Using a nonstandard port doesn't add much protection at all. Scanning for SSH on a nonstandard port takes only a few minutes more then scanning for SSH on port 22 (Assuming that the cracker does a scan and the scan was not blocked by an IDS. But if you have an IDS, then port obfuscation probably unnecessary). If I was a cracker and I found SSH on a non-standard port, I would be even MORE interested because I know the admin thought this service was precious enough to hide, and is relying on security by obscurity." CreationDate="2010-10-12T20:45:47.333" UserId="4" />
  <row Id="3218" PostId="3039" Text="@Stefan: Most attacks are not against a given host but against a given service. For that it's much more effective to scan a single port on many addresses than many ports on each address. And if you actually have an attacker targetting you, you'd better know, so you'll want strong or forbidden passwords and the attacks to be logged." CreationDate="2010-10-12T20:56:42.413" UserId="885" />
  <row Id="3219" PostId="3039" Score="1" Text="@Stefan I see nonstandard ports as an effective solution to a nuisance (brute-force scans) and not really as a security measure (i.e., preventing someone from taking control of my server)." CreationDate="2010-10-12T21:35:12.130" UserId="1416" />
  <row Id="3220" PostId="3046" Text="To enter Backspace in vim, press [strg] + [v] in INSERT mode and then enter 08." CreationDate="2010-10-12T22:02:47.267" UserId="1339" />
  <row Id="3221" PostId="3046" Text="_\bf_\bo_\bo will also work." CreationDate="2010-10-12T22:04:35.950" UserId="1339" />
  <row Id="3222" PostId="3047" Text="Your second suggestion - is this something less-specific?  It sounds rather magical." CreationDate="2010-10-12T22:10:34.553" UserId="2264" />
  <row Id="3223" PostId="3046" Score="1" Text="@echox: for the non-Germanophones in the audience, that's `Ctrl+V`. And a handier way is `Ctrl+V Ctrl+H` (`Ctrl+V Backspace` may or may not give the right character depending on your terminal configuration.)" CreationDate="2010-10-12T22:13:46.963" UserId="885" />
  <row Id="3224" PostId="3047" Text="@sheepsimulator: Yes. See the description of the `-u` and `-U` in the `less` manual. Another less trick: `LESS='+/  -u' man less`" CreationDate="2010-10-12T22:17:46.430" UserId="885" />
  <row Id="3225" PostId="3024" Score="1" Text="+1 for Suggesting looking for something besides nautilus. Which is really meant for gnome only." CreationDate="2010-10-13T01:27:51.857" UserId="29" />
  <row Id="3226" PostId="3037" Score="1" Text="One problem you may run into with hardlinks is if somebody decides to do something to one of their music files that you've hard-linked they could inadvertently be affecting other people's access to their music." CreationDate="2010-10-13T02:48:56.660" UserId="1207" />
  <row Id="3227" PostId="3037" Score="2" Text="another problem is that two different files containing &quot;Some Really Great Tune&quot;, even if taken from the same source with the same encoder will very likely not be bit-for-bit identical." CreationDate="2010-10-13T02:57:12.507" UserId="1294" />
  <row Id="3228" PostId="3037" Text="better sollution might be to have a public music folder... " CreationDate="2010-10-13T07:08:41.140" UserId="1327" />
  <row Id="3229" PostId="3022" Text="@Michael: At the time of posting I was confused and thought it is not possible to use Linux without some desktop env and that is why Nautilus brings desktop icons. This became the reason of posting &quot;two&quot; questions in one thread, although at that time they seemed closely related. " CreationDate="2010-10-13T07:37:07.153" UserId="2045" />
  <row Id="3230" PostId="3037" Text="Use symlinks then: Copy the MP3 Files to a central repo and symlink them into the user's folder, &quot;deleting&quot; a file would just mean deleting the symlink. (But Stefan's idea of the public music folder is better)" CreationDate="2010-10-13T07:52:09.177" UserId="33" />
  <row Id="3231" PostId="3024" Text="Thunar is really cool, but ( unless I'm mistaken ) still requires HAL. " CreationDate="2010-10-13T08:56:55.447" UserId="1327" />
  <row Id="3232" PostId="2738" Text="Perhaps this should be migrated to askubuntu.com?" CreationDate="2010-10-13T11:51:03.853" UserId="3152" />
  <row Id="3233" PostId="2997" Text="@oli206 // Those three commands have noticeable effects on default gnome installations. Ubuntu does tweak gnome for you. I've needed them in Arch / Fedora / Gentoo. &gt;D. Glad you could solve your issue. Cheers!" CreationDate="2010-10-13T13:48:21.720" UserId="1074" />
  <row Id="3234" PostId="3063" Score="1" Text="please see the meta [discussion](http://meta.unix.stackexchange.com/questions/192/) about this question" CreationDate="2010-10-13T14:57:02.287" UserId="1327" />
  <row Id="3237" PostId="3006" Text="Wow, this seems not to answer the question at all, and yet it has fourteen upvotes." CreationDate="2010-10-13T15:42:16.923" />
  <row Id="3238" PostId="3060" Text="Zsh by default does not read .profile. That's why I deleted my previous answer stating this. Zsh only reads .profile when it is invoked by a symbolic link named sh." CreationDate="2010-10-13T15:48:08.300" UserId="1941" />
  <row Id="3241" PostId="3058" Text="Thanks for your suggestions. I found a way to share my history on bash (not as straightforward as with zsh) so I have one stream of commands that is persisted. Regarding the .screenrc, I should have thought about it. Unfortunately, it seems you can only execute certain scripts (commands like 'cd' don't work), but that should be fine. I don't mind the environment variables if I can initialize a shell with a script." CreationDate="2010-10-13T17:05:18.697" UserId="1416" />
  <row Id="3243" PostId="3006" Score="1" Text="Well the problem is that there are two very different questions here. This answer very clearly answers the question posed in the title, but the body of the question implies that &quot;the Linux equivalent of the Windows registry&quot; isn't what the poster is really after." CreationDate="2010-10-13T17:22:25.607" UserId="2138" />
  <row Id="3244" PostId="3066" Text="@Forkrul Various reasons... from KDE Bubs to Distro packaging bugs, to idk. What version of KDE 4 are you using?" CreationDate="2010-10-13T17:31:43.787" UserId="29" />
  <row Id="3245" PostId="3024" Text="@Stefan I'm not sure, is &quot;requires HAL&quot; a problem?" CreationDate="2010-10-13T18:22:20.640" UserId="250" />
  <row Id="3246" PostId="3024" Text="its on its way out and being replaced with udev... so while its not a bad thing, its really just taking up space." CreationDate="2010-10-13T18:29:39.980" UserId="1327" />
  <row Id="3247" PostId="3024" Text="but according to https://wiki.ubuntu.com/Halsectomy, its has been fixed in upstream thunar :D" CreationDate="2010-10-13T18:30:56.183" UserId="1327" />
  <row Id="3252" PostId="3082" Text="Yes, it seems to be a syntax problem. 5901 will also only work if the vncserver was started on port 1 (e.g., 'vncserver :1')" CreationDate="2010-10-13T20:08:18.157" UserId="1416" />
  <row Id="3253" PostId="3082" Text="yes. 5901 is just from the example above. the first port is the local port, the second port is the remote port btw." CreationDate="2010-10-13T20:17:37.280" UserId="5" />
  <row Id="3256" PostId="3048" Text="In don't understand why you've disconnected `/dev/sda`, yet `sda` appears in `/proc/mdstat`; and how do you do raid10 with only two disks? What does `mdadm -D /dev/md0` show? Do you have any log message about drive trouble? Does smartctl report any problem? Have you run a RAM test recently? You could `mdadm --add` the desynchronized disks, but if you have an underlying hardware problem, it's not a good idea." CreationDate="2010-10-13T21:09:20.477" UserId="885" />
  <row Id="3257" PostId="3071" Text="I'm confused what that thread was saying. Is it only an issue when running X as root? I've never had a problem running sudo from an X session" CreationDate="2010-10-13T22:26:11.780" UserId="1571" />
  <row Id="3258" PostId="3060" Score="1" Text="tcsh is still popular in some enviroments." CreationDate="2010-10-13T23:01:26.137" UserId="305" />
  <row Id="3259" PostId="3071" Score="1" Text="Running GUI apps as root with sudo can potentially change files to be owned by root. One particularly nasty file this can happen to is `~/.ICEauthority`. This can prevent you from login in. Google &quot;ICEauthority&quot; and you'll see that the results are full of people who can't log in to their systems because the file became owned by root. I just picked that one as it is on Arch, the user's OS." CreationDate="2010-10-13T23:03:17.517" UserId="2138" />
  <row Id="3260" PostId="3087" Text="Well if I'm not mistaken, it'll still try to pull (large parts of) gnome as a dependency." CreationDate="2010-10-13T23:05:10.777" UserId="1791" />
  <row Id="3261" PostId="3087" Score="1" Text="As I said - project (in version 0.9.x at least the only GNOME hard dependency is glib). Packages may compiled the sane-default staff like GUI so you may need to compile it by hand." CreationDate="2010-10-13T23:09:53.973" UserId="305" />
  <row Id="3262" PostId="3080" Text="Nice.  This seems like a very useful tool." CreationDate="2010-10-13T23:20:48.237" UserId="1207" />
  <row Id="3263" PostId="3086" Score="1" Text="can you be more specific about what format the index takes?" CreationDate="2010-10-13T23:49:40.050" UserId="1389" />
  <row Id="3264" PostId="446" Score="1" Text="unix hackers spend time on microsoft-based projects = that's the ant and the grasshopper all over again" CreationDate="2010-10-14T00:00:56.683" UserId="1389" />
  <row Id="3265" PostId="400" Text="@Wim Coenen 'if you build it they will come'" CreationDate="2010-10-14T00:02:23.963" UserId="1389" />
  <row Id="3266" PostId="3086" Text="Good point, edited." CreationDate="2010-10-14T00:02:52.777" UserId="1791" />
  <row Id="3267" PostId="2966" Text="@tante that's the sort of answer I was after, yes" CreationDate="2010-10-14T00:03:49.063" UserId="1389" />
  <row Id="3268" PostId="3048" Text="when I disconnected `sda`, `sdb` became `sda` via the kernel. " CreationDate="2010-10-14T00:03:50.857" UserId="29" />
  <row Id="3269" PostId="3048" Text="I ran smarctl like a few days before and didn't see any problems... (haven't run since because I was in a livecd only env)" CreationDate="2010-10-14T00:04:54.100" UserId="29" />
  <row Id="3270" PostId="3069" Text="that's a great answer." CreationDate="2010-10-14T00:05:02.350" UserId="1389" />
  <row Id="3271" PostId="2966" Text="@echox nice logo. hail to the thief." CreationDate="2010-10-14T00:06:18.527" UserId="1389" />
  <row Id="3272" PostId="3048" Text="[wikipedia can explain raid10,f2](http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10) " CreationDate="2010-10-14T00:07:25.627" UserId="29" />
  <row Id="3275" PostId="3004" Text="@Steven D I started a discussion at meta about this. I'm opposed to editing it on principle, since one A has already recieved so many votes. http://meta.unix.stackexchange.com/questions/201/what-should-i-do-with-this-q-edit-or-repost-with-new-details" CreationDate="2010-10-14T00:52:17.577" UserId="1389" />
  <row Id="3276" PostId="3090" Score="1" Text="As an aside, if you want to index data that's in a DB (postrgres, mysql) then either of these also work incredibly well.  " CreationDate="2010-10-14T03:14:23.277" UserId="298" />
  <row Id="3277" PostId="3060" Text="fschmitt: thanks for the correction; fixed.  Maciej Piechotka: I have no doubt that's true; however it is also possible (though complicated) to make *rc scripts that import particular other rc scripts based on the shell they are running under." CreationDate="2010-10-14T03:27:22.917" UserId="1294" />
  <row Id="3278" PostId="3091" Text="Yes, mutt does properly mime-encode which I know as I was just noodling with it: http://askubuntu.com/questions/5431/how-can-i-email-an-attachment-from-the-command-line" CreationDate="2010-10-14T03:47:04.040" UserId="1294" />
  <row Id="3279" PostId="367" Score="2" Text="And as a function: `highlight () { grep --color -E &quot;$1|$&quot; $2 ; }`. Usage: `highlight test yourfile`" CreationDate="2010-10-14T03:48:47.920" UserId="4" />
  <row Id="3280" PostId="3077" Text="For related information, look up regular expressions or check out this page on using regular expressions in grep: http://www.robelle.com/smugbook/regexpr.html" CreationDate="2010-10-14T03:51:49.097" UserId="2283" />
  <row Id="3281" PostId="3084" Text="does it make a difference if I boot into Ubuntu and run the grub-install? cos that's what I did and it doesn't work :(" CreationDate="2010-10-14T04:25:49.740" UserId="250" />
  <row Id="3282" PostId="3084" Text="I thought you can not boot into Ubuntu because the chainloading doesn't work? But no, it shouldn't make a difference if you boot into Ubuntu or chroot into it." CreationDate="2010-10-14T08:08:24.540" UserId="1941" />
  <row Id="3284" PostId="3058" Text="cd is a built-in function of your shell, a cd command wouldn't make sense outside a &quot;shell&quot; :-) But you can simply include a script which contains a cd /foo/bar after the shebang. Then your new shell will change to this directory." CreationDate="2010-10-14T08:35:04.663" UserId="1339" />
  <row Id="3285" PostId="2752" Text="McAfee's Antivirus for Linux is probably only use by companies that have 'all machines must run antivirus policy' and are unable to formulate exceptions :P" CreationDate="2010-10-14T08:35:53.787" UserId="272" />
  <row Id="3286" PostId="3079" Text="Thanks for the correction!" CreationDate="2010-10-14T08:56:43.520" UserId="1679" />
  <row Id="3287" PostId="3058" Text="@echox, yes I understand this distinction, I just thought that the commands were somehow passed to the shell and then executed in the shell. But I have no problem writing initialization scripts :-) The shared history was a terrific idea btw, I really like it." CreationDate="2010-10-14T09:05:33.640" UserId="1416" />
  <row Id="3288" PostId="3098" Score="1" Text="I think your request is underspecified: you require that&#xA;if `dirA/link` is a symlink to `../dirB/file`, then this should be&#xA;handled as copying `dirB/file` to `dest/dirB/file` and `dirA/link` to&#xA;`dest/dirA/link`.  What if `dirA/link` is a link to&#xA;`../../another_file`?  What happens, in general, if `dirA/link`&#xA;points to a directory that is higher up in the directory tree?&#xA;" CreationDate="2010-10-14T12:05:14.200" UserId="274" />
  <row Id="3289" PostId="2981" Text="+1 for cross-compiling recommendation." CreationDate="2010-10-14T12:40:17.040" UserId="2167" />
  <row Id="3290" PostId="3090" Text="hmm, I had dismissed sphinx for being too low-level, but looking at xmlpipe2 it seems a wrapper script for pdf2txt or the like would be pretty easy..." CreationDate="2010-10-14T13:02:31.023" UserId="1791" />
  <row Id="3291" PostId="2981" Text="Is there any reason why you keep constantly editing old postings with changes of one or two characters? This is really annoying because they aren't really active. Sorry, I know no better place then to comment here..." CreationDate="2010-10-14T13:14:23.303" UserId="1339" />
  <row Id="3292" PostId="3106" Score="2" Text="Mac OS X __is__ in the Unix world." CreationDate="2010-10-14T14:15:19.930" UserId="1383" />
  <row Id="3293" PostId="3106" Text="Indeed, edited." CreationDate="2010-10-14T14:54:18.637" UserId="1791" />
  <row Id="3294" PostId="3107" Text="Sounds like it could be used to store ancient pathes to a file, and with a file-not-found-hook lookup the current path. Nice" CreationDate="2010-10-14T16:26:59.543" UserId="1791" />
  <row Id="3295" PostId="3098" Text="Good catch. In my use case, there's no link point to outside the tree, and there's no absolute path in the links." CreationDate="2010-10-14T16:35:48.927" UserId="2031" />
  <row Id="3296" PostId="3103" Text="Yes, this assumption fit my use case. All the links are inside mydir." CreationDate="2010-10-14T16:37:12.650" UserId="2031" />
  <row Id="3297" PostId="2981" Score="1" Text="Because I just realized there was a typo and so I fixed it because I care. What is wrong with it? Plus, I don't think I &quot;keep constantly editing old postings&quot;. I don't think it have been more than 3 or 4 the last week. If there is more need to discuss this, let us move it over to a meta question." CreationDate="2010-10-14T17:01:02.143" UserId="1941" />
  <row Id="3298" PostId="3103" Text="@Wei-Yin then simply tell it not to follow symlinks... or have I misunderstood something" CreationDate="2010-10-14T17:37:36.603" UserId="29" />
  <row Id="3299" PostId="3111" Score="3" Text="`fuser -mv /path/to/mountpoint` might be a more readable alternative for finding out processes using a mointpoint." CreationDate="2010-10-14T17:59:45.077" UserId="274" />
  <row Id="3300" PostId="3113" Text="yep, I'm sure /dev/sda4 will become (hd0,4) because that's what I have been using to boot Ubuntu" CreationDate="2010-10-14T18:12:47.040" UserId="250" />
  <row Id="3301" PostId="3106" Text="Does it track changes no matter where you made the change? For example if you used `mv /path/to/project /new/path/to/project` would it still find it? Or are you moving/renaming in Xcode? Most IDEs will be able to trivially change/rename/move project files and still find them just fine." CreationDate="2010-10-14T18:13:11.237" UserId="1571" />
  <row Id="3302" PostId="3084" Text="@phunehehe: The error message means that Grub hasn't found a bootloader signature in the first sector of `/dev/sda4` (the last two bytes must be `0x55 0xaa`). Could you post the output of `&lt;/dev/sda4 head -c 512 | hd`?" CreationDate="2010-10-14T18:36:21.013" UserId="885" />
  <row Id="3303" PostId="3098" Score="1" Text="The more I think about it, the more I think no standard utility will do this. In the general case, it might need to create a large number of destinations given a single source, if you have a symlink to a symlink or more generally a symlink whose target contains a symlink (e.g. `a -&gt; b`, `b -&gt; c/foo`, `c -&gt; d/e`: a request to copy `a` should also copy `b`, `c`, `c/foo`, `d`, `d/e` and `d/e/foo`)." CreationDate="2010-10-14T18:42:21.447" UserId="885" />
  <row Id="3304" PostId="3103" Text="@xenoterracide: No matter how you invoke rsync, I think it will create a single destination for each source (other than the creation of leading directories). But Wei-Yin wants to create two or more destinations: the link, *and* its target." CreationDate="2010-10-14T18:44:13.943" UserId="885" />
  <row Id="3305" PostId="3108" Text="On the crossover cable issue: years ago, only high-end networking equipment did the crossing over for you. Nowadays, I think all Ethernet cards and all switches automatically cross over if needed." CreationDate="2010-10-14T18:47:49.120" UserId="885" />
  <row Id="3306" PostId="3113" Text="Yes, Grub 0.97 started counting harddisks and partitions with 0. Grub 2 still starts counting disks with 0 but starts counting partitions with 1. So /dev/sda4 is hd0,3 in Grub 0.97 and hd0,4 in Grub 2." CreationDate="2010-10-14T18:50:08.393" UserId="1941" />
  <row Id="3307" PostId="3120" Text="Yes, even if the file appears red with ls (implying the symlink is broken) I was able to cat and pipe to a new file as root. Thanks." CreationDate="2010-10-14T19:00:10.963" />
  <row Id="3308" PostId="3102" Score="1" Text="I really hate to say this, but the open or closed source nature may only affect the speed at which a particular bug-state is reached. See: &quot;Milk or Wine&quot; by Andy Ozment (http://www.andyozment.com/papers/Ozment_and_Schechter-Milk_Or_Wine-Usenix06.pdf) and Ross Anderson's &quot;Open and Closed Systems are Equivalent&quot;  (http://www.cl.cam.ac.uk/~rja14/Papers/toulousebook.pdf)" CreationDate="2010-10-14T20:03:47.997" UserId="732" />
  <row Id="3309" PostId="3122" Text="I clarified the subject of the question. Bash is only one of many different shells for Linux. The messages are send to the entity in which (e.g.) bash is running, not the shell itself." CreationDate="2010-10-14T20:15:49.210" UserId="1941" />
  <row Id="3310" PostId="3123" Text="thank you. But is there a way to view the messages that are already there on the console after i've started X? like for example, in my situation.. I've written a python script to randomly change the wallpaper. And i've set it up so that whenever I start X, the script gets called. But the script does not work the way i want it to and i get a few error messages on the console. When i start xconsole after i get into X, i can only see messages that are sent to the console from that point on. The man page for xconsole doesn't say anything about viewing messages that are already there on the console" CreationDate="2010-10-14T20:21:19.970" UserId="2212" />
  <row Id="3311" PostId="3123" Text="You can in any terminal window (e.g. xterm) display the messages printed during bootup with the command dmesg. " CreationDate="2010-10-14T20:29:16.043" UserId="1941" />
  <row Id="3312" PostId="3126" Text="Thank you. I simply did su -c &quot;cat /dev/vcs1&quot; and it worked. ANd like you mentioned, it was a simple snapshot of the messages on the console but that was all i needed." CreationDate="2010-10-14T20:49:00.450" UserId="2212" />
  <row Id="3313" PostId="3123" Text="@fschmitt. dmesg only shows the messages that appear during bootup. I do not think that it shows the messages that appear on the console after i boot up and login and do &quot;startx&quot; for example.." CreationDate="2010-10-14T20:51:11.850" UserId="2212" />
  <row Id="3314" PostId="3103" Text="apparently I'm confused..." CreationDate="2010-10-14T20:57:02.357" UserId="29" />
  <row Id="3315" PostId="513" Score="1" Text="On old Mac OS versions, you could pretty much move any file anywhere, so maybe that is what they were expecting...  " CreationDate="2010-10-14T21:01:58.777" UserId="614" />
  <row Id="3316" PostId="3126" Text="@Jay: now that I've seen your comments, I have a different answer, which is that you should use redirection in your X startup scripts. I'm leaving the other possibilities because they may be useful to other people browsing the question archive." CreationDate="2010-10-14T21:19:07.170" UserId="885" />
  <row Id="3317" PostId="2752" Score="2" Text="Most of the time this software runs on mail and fileservers which would make sense." CreationDate="2010-10-14T21:40:59.277" UserId="1339" />
  <row Id="3318" PostId="3118" Text="as an alternative you might be able to create an SELinux, AppArmor, or other advanced security policy to prevent stuff from deleting stuff." CreationDate="2010-10-15T00:29:24.140" UserId="29" />
  <row Id="3319" PostId="3129" Text="You will probably want to use `read -r` to avoid treating backslash characters as special." CreationDate="2010-10-15T01:57:13.923" UserId="1107" />
  <row Id="3320" PostId="3135" Score="2" Text="The -e isn't necessary. piping `whatever | sed G` ought to do the trick." CreationDate="2010-10-15T02:25:27.640" UserId="1071" />
  <row Id="3321" PostId="3102" Text="Thanks Bruce for sharing the links. Will definitely go through them. " CreationDate="2010-10-15T02:33:07.833" UserId="2045" />
  <row Id="3322" PostId="2850" Text="Thanks. Finally had a chance to try this out but unfortunately the problem remains." CreationDate="2010-10-15T04:05:51.947" UserId="692" />
  <row Id="3323" PostId="3128" Score="2" Text="A slightly simpler sed substitution would be 's/$/\n/', although @Chris Johnsen's 'G' command is even simpler." CreationDate="2010-10-15T05:05:48.327" UserId="1078" />
  <row Id="3324" PostId="3135" Score="1" Text="Great answer!  I love the simplicity of it." CreationDate="2010-10-15T05:06:49.277" UserId="1207" />
  <row Id="3325" PostId="3112" Score="1" Text="And usually on rpm based systems you can specify the DNS servers in the eth config files, too (/etc/sysconfig/network-script/ifcfg-eth0 for example). It depends on your version of Linux, but it should work. In ifcfg-ethX you specify DNS1 = 208.67.222.222 and DNS2 =.... This works at least on Mandriva and it may work on RedHat/Fedora, too, but I'm not sure." CreationDate="2010-10-15T06:41:50.343" UserId="2000" />
  <row Id="3326" PostId="3084" Text="@Gilles: I added the result to the question. Doesn't look correct, does it?" CreationDate="2010-10-15T07:23:47.857" UserId="250" />
  <row Id="3327" PostId="3084" Text="@fschmitt: actually I have to run `grub-install /dev/sda4 --no-floppy --force`, otherwise there will be some complaints about blocklists" CreationDate="2010-10-15T07:24:42.413" UserId="250" />
  <row Id="3328" PostId="3138" Text="I would like to start from scratch.ie the steps are 1) Download the new kernel source from kernel.org and extract it 2) make menuconfig 3) make 4) make modules 5) make modules_install 6) make install              My question is that , don't we need to select the arch(x86) for my machine right?  " CreationDate="2010-10-15T08:32:29.290" UserId="2269" />
  <row Id="3329" PostId="3138" Text="You only would have to do anything special, if you wanted to compile for an architecture other than the one you are running whilst compiling. So no, you don't have to select the arch normally." CreationDate="2010-10-15T08:46:05.030" UserId="1941" />
  <row Id="3330" PostId="3138" Text="OK. Can you explain how we can effectively configure(for an embedded system engineer) the menu config to get all useful packages?" CreationDate="2010-10-15T08:51:31.740" UserId="2269" />
  <row Id="3331" PostId="3138" Text="This really depends on what you need and which system you are using and can't be answered generally." CreationDate="2010-10-15T08:58:27.010" UserId="1941" />
  <row Id="3332" PostId="3138" Text="Currently am using the distro version Fedora 11(Leonidas) and  and kernel version 2.6.29.4-167.fc11 i686.PAE #1 SMP . I want to get the whole programming(C/C++/java),internet/LAN/wireless/bluetooth,audio support utilities after my installation.(so i need to effectively configure the menuconfig right? )   .Also in this link what is the meaning of step 6 and 7 ?" CreationDate="2010-10-15T09:04:52.580" UserId="2269" />
  <row Id="3333" PostId="3133" Text="I know that it doesn't really matter today. I'm just interested in the different approaches. Thank you :-)" CreationDate="2010-10-15T09:11:44.483" UserId="1339" />
  <row Id="3334" PostId="3138" Text="forgot to paste the link ..  http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html" CreationDate="2010-10-15T09:12:31.110" UserId="2269" />
  <row Id="3335" PostId="3138" Text="The kernel does not include any utilities, only hardware drivers. The comments aren't meant as a discussion board, therefore I'm stopping here. If you have more questions, please either edit your main question at the top or ask a new one." CreationDate="2010-10-15T09:13:33.560" UserId="1941" />
  <row Id="3336" PostId="3138" Text="Thanks. I have edited the question itself." CreationDate="2010-10-15T09:23:00.277" UserId="2269" />
  <row Id="3337" PostId="3141" Text="B-E-A utiful! The actual syntax seems to be 'OnlyShowIn=' instead of ShowOnlyIn, but you certainly pointed me in the right direction. +1 and accepted for that! Thanks!" CreationDate="2010-10-15T09:28:13.320" UserId="272" />
  <row Id="3338" PostId="3141" Text="That's strange. I might have changed recently. In 2007 it still was ShowOnlyIn: http://www.redhat.com/archives/rhl-devel-list/2007-July/msg01103.html. I updated my answer to correct it. Thanks." CreationDate="2010-10-15T10:03:13.490" UserId="1941" />
  <row Id="3339" PostId="2850" Text="I wonder if it might be your umask?" CreationDate="2010-10-15T10:50:23.443" UserId="2197" />
  <row Id="3340" PostId="3143" Text="could you give us more information about /Yesterday/Yesterday ? IS this a regular folder or a symlink?" CreationDate="2010-10-15T11:12:29.387" UserId="1339" />
  <row Id="3341" PostId="3098" Text="@Gilles: Yes, you are right. Tracking links could lead to including a lot of files, as long as they are still inside the source directory." CreationDate="2010-10-15T11:29:03.283" UserId="2031" />
  <row Id="3342" PostId="3143" Text="Looks like ./Yesterday is a snapshot of the whole home directory, which is usually a symlink." CreationDate="2010-10-15T11:33:43.470" UserId="2031" />
  <row Id="3343" PostId="3145" Text="Acquire::http::Proxy &quot;http://MYDOMAIN\MYNAME:MYPASS@MY.PROXY.COM:MYPORT&quot;   correct?" CreationDate="2010-10-15T11:41:27.823" UserId="2269" />
  <row Id="3344" PostId="3145" Text="Don't know, depends on your proxy and how it works." CreationDate="2010-10-15T11:45:45.773" UserId="33" />
  <row Id="3345" PostId="3145" Text=":-( , I am getting error &quot;Access to web proxy service denied!&quot; " CreationDate="2010-10-15T11:51:53.657" UserId="2269" />
  <row Id="3346" PostId="2006" Text="What command are you using to mount the remote samba share on your linux box?" CreationDate="2010-10-15T12:45:33.190" UserId="2197" />
  <row Id="3347" PostId="3134" Score="1" Text="Why `cat` and not `cp`?" CreationDate="2010-10-15T13:21:42.883" UserId="31" />
  <row Id="3348" PostId="3134" Text="sure `cp` would be easier and faster!... lol - I was reading the other answers dealing with `grep` and `awk` so I wrote it the `cat` way but I'm correcting that, thanks" CreationDate="2010-10-15T13:49:24.683" UserId="1264" />
  <row Id="3349" PostId="3139" Score="1" Text="use `gparted` if available, it don't need no stinkin' recipies (and is very robust and intuituve)" CreationDate="2010-10-15T13:54:30.447" UserId="1294" />
  <row Id="3350" PostId="3148" Text="Now tell me how to do that in Bash please ;)" CreationDate="2010-10-15T14:07:30.023" UserId="33" />
  <row Id="3351" PostId="3119" Text="That helps. It appears that the NVIDIA modules are unloading but the it is still not staying in hibernation.  I do get the warning &quot;hibernate:Warning: Tuxonice binary signature file not found.&quot;" CreationDate="2010-10-15T14:13:02.227" UserId="2049" />
  <row Id="3352" PostId="3148" Text="@tante Does `shopt -s histappend` not work?" CreationDate="2010-10-15T14:18:29.393" UserId="73" />
  <row Id="3353" PostId="3119" Text="even after installing the `tuxonice` packages? then maybe you need to change the kernel" CreationDate="2010-10-15T14:49:16.493" UserId="250" />
  <row Id="3354" PostId="3144" Score="1" Text="The title references `apt-get` but the question is about `wget`.  Which one of the two are you interested in?" CreationDate="2010-10-15T14:51:02.573" UserId="274" />
  <row Id="3355" PostId="3143" Text="Can you post the output of `stat Yesterday` and `stat Yesterday/Yesterday`?" CreationDate="2010-10-15T14:54:55.233" UserId="274" />
  <row Id="3356" PostId="3119" Score="1" Text="What a pain that was.  I installed the linux-generic-tuxonice package. Which killed my nvidia drivers. So I had to install the headers and rebuild my NVIDIA drivers.  An hour wasted and it still doesn't work." CreationDate="2010-10-15T15:19:58.820" UserId="2049" />
  <row Id="3357" PostId="3152" Text="@ls-lrt I clarified what I meant by cached memory in the question. So if I understand correctly, what i see under the &quot;cached&quot; column is only data that was read from files and not any data in ram (e.g., object that was allocated by an application on the heap)?" CreationDate="2010-10-15T15:27:26.360" UserId="1416" />
  <row Id="3358" PostId="3156" Text="@txwikinger: on Ubuntu there is a symlink from /vmlinuz to the actual kernel (samething for /initrd.img) so the thing to be checked is the status of those links, not /boot/vmlinuz or /boot/initrd.img" CreationDate="2010-10-15T16:33:01.353" UserId="250" />
  <row Id="3359" PostId="3156" Text="How can you do this with more than one kernel? You can only ever link to one" CreationDate="2010-10-15T16:49:30.557" UserId="5" />
  <row Id="3360" PostId="3150" Text="Because drivers" CreationDate="2010-10-15T17:28:32.563" UserId="1571" />
  <row Id="3361" PostId="3075" Text="Clearly you haven't installed a bootloader on `/dev/sda4`. Do you have more than one disk? What is your partition table? Please post the output of `fdisk -l`, and the messages from `grub-install /dev/sda4 --no-floppy --force`." CreationDate="2010-10-15T17:34:41.787" UserId="885" />
  <row Id="3362" PostId="3150" Score="2" Text="Could you rephrase your question a bit so it is clearer how to answer it? Like it is now, I don't see a more reasonable answer than &quot;Life sucks&quot;." CreationDate="2010-10-15T17:51:04.653" UserId="1941" />
  <row Id="3363" PostId="3143" Text="Also, what OS is this (output of `uname -srv`), and what (if anything) is mounted on `Yesterday` (output of `df Yesterday/ Yesterday/Yesterday/` and `mount | grep Yesterday`)?" CreationDate="2010-10-15T17:53:24.237" UserId="885" />
  <row Id="3364" PostId="3158" Score="2" Text="Cross posted to askubuntu.com: http://askubuntu.com/questions/7575/hard-drive-device-partition-naming-convention-in-linux" CreationDate="2010-10-15T17:58:05.967" UserId="1207" />
  <row Id="3365" PostId="3135" Text="@frabjous: Right, might as well leave off the `-e` since there we only need a single command argument." CreationDate="2010-10-15T18:49:34.823" UserId="1107" />
  <row Id="3366" PostId="3160" Text="Grub 2 works like Grub 1 only the number of the partition starts with 1." CreationDate="2010-10-15T19:03:37.297" UserId="1941" />
  <row Id="3367" PostId="3160" Text="Also one should note, that some IDE drives show up as /dev/sdX, too. This depends on the chipset and its drivers." CreationDate="2010-10-15T19:04:26.720" UserId="1941" />
  <row Id="3368" PostId="2062" Text="This is a great little trick, in the first place!" CreationDate="2010-10-15T20:12:24.193" UserId="614" />
  <row Id="3369" PostId="3160" Text="Thanks you very much" CreationDate="2010-10-15T20:36:05.537" UserId="2269" />
  <row Id="3370" PostId="3162" Text="Thanks you very much" CreationDate="2010-10-15T20:41:11.763" UserId="2269" />
  <row Id="3371" PostId="3169" Text="Swap area is hard drive space that acts as extra RAM.  HOW?" CreationDate="2010-10-15T20:56:51.087" UserId="2269" />
  <row Id="3372" PostId="3169" Text="You tell your computer to use the SWAP partition ( some hard drive space reserved for this purpose ) when it needs more RAM space than what is installed on your system" CreationDate="2010-10-15T21:02:24.987" UserId="1327" />
  <row Id="3373" PostId="3169" Text="I updated my answer to reflect this." CreationDate="2010-10-15T21:07:22.093" UserId="1327" />
  <row Id="3374" PostId="3169" Text="NO man. i mean how the said hard disk space acts like as a RAM ?" CreationDate="2010-10-15T21:08:40.387" UserId="2269" />
  <row Id="3375" PostId="3169" Text="no idea :) my quess is that the system reads and writes to the RAM, so now it just reads and writes to a area on the hard drive and that area is called swap..." CreationDate="2010-10-15T21:13:04.510" UserId="1327" />
  <row Id="3376" PostId="3169" Text="That said swap area section in hard disk is accessed as RAM by Virtual memory concept!" CreationDate="2010-10-15T21:37:56.450" UserId="2269" />
  <row Id="3377" PostId="3091" Text="Hmm. metamail's no longer a debian package, it looks like." CreationDate="2010-10-15T21:37:59.817" UserId="1389" />
  <row Id="3378" PostId="3171" Text="not much about it in the way of google, but you might like to look at http://ubuntuforums.org/showthread.php?t=55243" CreationDate="2010-10-15T21:39:48.533" UserId="1327" />
  <row Id="3379" PostId="3173" Text="Not clear! Can you please little bit technical?" CreationDate="2010-10-15T21:42:16.783" UserId="2269" />
  <row Id="3380" PostId="3169" Text="yes, that seems right." CreationDate="2010-10-15T21:42:24.273" UserId="1327" />
  <row Id="3381" PostId="3173" Text="updated my answer, is that what you were looking for?" CreationDate="2010-10-15T21:59:19.073" UserId="1327" />
  <row Id="3382" PostId="3172" Score="1" Text="This is probably a question for [Super User](http://superuser.com/); I don't think any part of it is Linux-specific" CreationDate="2010-10-15T21:59:22.800" UserId="73" />
  <row Id="3383" PostId="3173" Text="some what..but i want to get more technical details. For example: &quot;Due to the structure of that table the drive is limited to four partitions&quot;How the structure look like? Why it restricts to 4 only? Now the technology has grown and why didn't they change it to n ? Meaning there should be a good/superb logic(may be bitwise) behind that restriction...I am interested in that.." CreationDate="2010-10-15T22:27:54.270" UserId="2269" />
  <row Id="3384" PostId="3177" Text="It's not clear what you mean by 'Printing(saving)'.  Where do you want the command saved to?" CreationDate="2010-10-15T23:31:25.827" UserId="451" />
  <row Id="3385" PostId="3179" Text="Cool, thanks. I can't say I understand 100% of why exactly that works, but it does =]" CreationDate="2010-10-16T00:26:44.117" UserId="1571" />
  <row Id="3386" PostId="3179" Text="the `$'\033[38;5;2m'` and `$'\033[0m\n'` parts are ANSI escape codes.  The first one colors the contents of `$prompt_history` and the second resets the color to your terminals default." CreationDate="2010-10-16T00:50:40.017" UserId="451" />
  <row Id="3387" PostId="3181" Text="Thanks Justin, I had googled some answers actually and have amended the last grep string accordingly.  Thanks for the tip on `cat`, it's obviously time for bed ;o)" CreationDate="2010-10-16T01:53:21.807" UserId="451" />
  <row Id="3388" PostId="3171" Text="It's ugly and unfriendly code that you will rarely ever use in your otherwise simple and elegant PS1 prompt. It seems that there would be a better way to do this (perhaps an `if $debian_chroot; then ... else` block)." CreationDate="2010-10-16T03:09:05.963" UserId="4" />
  <row Id="3389" PostId="2850" Text="My umask is 0022. Any other ideas? :)" CreationDate="2010-10-16T03:13:04.927" UserId="692" />
  <row Id="3390" PostId="3184" Text="Thanks, I'll try to fill the missing things." CreationDate="2010-10-16T04:11:13.963" UserId="2309" />
  <row Id="3391" PostId="57" Text="If you are having trouble looking up the backtick character you can also use `$(scriptname)`" CreationDate="2010-10-16T08:20:36.583" UserId="2113" />
  <row Id="3392" PostId="3171" Text="The `PS1` I posted is default (K)Ubuntu prompt" CreationDate="2010-10-16T08:42:07.483" UserId="1571" />
  <row Id="3393" PostId="3180" Text="This is probably a question better asked at stack overflow" CreationDate="2010-10-16T08:43:10.960" UserId="1571" />
  <row Id="3394" PostId="3179" Text="I guess I should have clarified. What exactly is the reason for having to store `prompt_history` twice? Why does it need first the `$()` and then the `{:7}`?  I think it has to do with executing the command every time instead of caching, but what are the rules on that? Is that why it's written how it is?" CreationDate="2010-10-16T08:45:33.460" UserId="1571" />
  <row Id="3395" PostId="3179" Text="@Falmarri: `history 1` prints a number before the command. As far as I know you can't directly perform string manipulation like `${:7}` on the result of a command substitution in bash, hence the temporary variable. See my revised answer." CreationDate="2010-10-16T09:49:56.927" UserId="885" />
  <row Id="3396" PostId="3156" Text="how do i check if the vmlinuz file is there or not I try: mount /dev/sda5 /mnt but i dont see the vmlinuz file for ubuntu&#xA;" CreationDate="2010-10-16T10:57:24.830" UserId="1836" />
  <row Id="3397" PostId="3150" Score="1" Text="Because some vendors are f***ers?! Seriously, a lot of scanners just works under linux, i.e.\ just plug-in, start gimp and the xsane dialog automatically finds and supports the scanner." CreationDate="2010-10-16T11:31:20.080" UserId="1131" />
  <row Id="3398" PostId="3186" Text="did you mean &quot;The /boot directory is empty&quot;?" CreationDate="2010-10-16T12:37:29.550" UserId="250" />
  <row Id="3399" PostId="2006" Text="@David, I mount it from my fstab but it's equivalent to: mount -t cifs //foo/archive /media/foo -o iocharset=utf8,credentials=/root/credentials" CreationDate="2010-10-16T16:12:30.333" UserId="692" />
  <row Id="3400" PostId="3179" Text="Sorry one more question. I'm not an expert in bash (yet), can you quickly explain the quotes in your echo? For example why is the first $ outside the quotes, and why is the ascii control character in single quotes?" CreationDate="2010-10-16T19:28:23.147" UserId="1571" />
  <row Id="3401" PostId="3179" Text="@Falmarri: `$'foo'` is like `'foo'` except that bash itself (and not the `echo` built-in) expands backslash escapes." CreationDate="2010-10-16T19:34:25.090" UserId="885" />
  <row Id="3402" PostId="3188" Text="I tried that way yesterday, but it didn't work... Could it be the cable? Don't know if it had crossed TX and RX, because I borrowed it." CreationDate="2010-10-16T19:47:12.593" UserId="2309" />
  <row Id="3403" PostId="3193" Text="I don't understand your question. Does “the first bash prompt of a terminal” mean the first prompt after you start bash? Or do you mean if bash is running directly under the terminal, as opposed to being started by some other program (like another instance of bash)? Are you just trying to write a function to invoke manually, is part of your question invoking it upon some trigger (which)? Have you experimented a little with the `fc` and `history` built-ins? Are you prepared to switch to zsh if you're asking too much of bash?" CreationDate="2010-10-16T19:58:14.573" UserId="885" />
  <row Id="3404" PostId="3194" Text="Ok Thanks. Only this single do the mount of cdrom to /media/cdrom? What about the options of this command? " CreationDate="2010-10-16T20:19:48.553" UserId="2269" />
  <row Id="3406" PostId="3188" Text="Well, I am no fortune teller ... Sure, the cable could always be the problem. But serial cables are easy to check via a continuity tester (usually available in every voltmeter). Just buy a new cable, they are really cheap ..." CreationDate="2010-10-16T20:48:03.943" UserId="1131" />
  <row Id="3407" PostId="3195" Text="Yes. I need the information about the usage of KGDB itself." CreationDate="2010-10-16T20:49:58.543" UserId="2269" />
  <row Id="3408" PostId="3195" Text="Renjith, http://kgdb.linsyssoft.com/using.htm" CreationDate="2010-10-16T20:52:47.680" UserId="2317" />
  <row Id="3409" PostId="3196" Score="6" Text="You've got like six questions in here :)" CreationDate="2010-10-16T21:04:40.327" UserId="73" />
  <row Id="3410" PostId="3195" Text="Thanks.  I will closely look into it." CreationDate="2010-10-16T21:06:41.680" UserId="2269" />
  <row Id="3411" PostId="3198" Text="OK.Any other short explanations?" CreationDate="2010-10-16T21:08:52.713" UserId="2269" />
  <row Id="3412" PostId="3200" Text="Rather than stop on a command name, stop when you reach a process with a different controlling terminal (`tty` column in `ps`). That process is the terminal emulator." CreationDate="2010-10-16T23:35:28.847" UserId="885" />
  <row Id="3413" PostId="3204" Text="That will only work with gawk. mawk (the default on Debian and possibly Ubuntu) does not handle a NUL record separator. Another way to extract the environment of a process is `xargs -n 1 -0 &lt; /proc/$PID/environ`" CreationDate="2010-10-16T23:54:39.137" UserId="1078" />
  <row Id="3414" PostId="2211" Text="It seems like this doesn't really answer the question.  Or am I missing something?  The answer only talks about swap files, and doesn't mention partitions at all.  @Gilles was that intentional, or did you just make a typo?  " CreationDate="2010-10-17T00:23:29.583" UserId="298" />
  <row Id="3415" PostId="3204" Text="@camh: Thanks. (More precisely, `/usr/bin/awk` is gawk by default on Debian and Ubuntu but only if you've installed gawk or one of its few dependencies.) Another way of parsing `/proc/$PID/environ` is to `tr '\n\0' '\n\0' | sed -ne 's/^WINDOWID=//p'` (it's even POSIX, but that's moot since the input file isn't)." CreationDate="2010-10-17T00:26:24.340" UserId="885" />
  <row Id="3416" PostId="2211" Score="1" Text="@gabe: I was discussing swap files in comparison with partitions. Hopefully this is clearer now." CreationDate="2010-10-17T00:50:11.817" UserId="885" />
  <row Id="3417" PostId="3201" Text="@Falmarri: I think the default behavior conforms to your requirement. What completion options have you set?" CreationDate="2010-10-17T00:54:53.390" UserId="885" />
  <row Id="3418" PostId="3201" Text="I copied an zshrc file from the web and I'm wondering what options cause this to be different. I can post the zshrc file if needed" CreationDate="2010-10-17T00:59:21.057" UserId="1571" />
  <row Id="3419" PostId="3202" Text="Actually, the X Window System was born at the MIT, not Xerox PARC." CreationDate="2010-10-17T01:29:18.203" UserId="1002" />
  <row Id="3420" PostId="2208" Text="Useful alias I've been using forever to let me type `moreswap` in a terminal if I suddenly need extra swap space: `alias moreswap='swapfile=\`mktemp /tmp/swapXXXX\` &amp;&amp; sudo touch $swapfile &amp;&amp; sudo dd bs=512 count=1M if=/dev/zero | tee $swapfile | pv -s 512M &amp;&amp; sudo mkswap $swapfile &amp;&amp; sudo swapon $swapfile'`" CreationDate="2010-10-17T02:29:25.973" UserId="73" />
  <row Id="3421" PostId="3142" Score="7" Text="+1 the real reason for the existence of AV software on linux, is not so much for scanning for problems that could affect the system, but for problems that could affect other systems (like windows)." CreationDate="2010-10-17T03:17:04.480" UserId="29" />
  <row Id="3422" PostId="2752" Score="3" Text="echox is correct. AV software for linux, isn't really there to protect the linux system itself. it's there to scan files that linux is serving. Which is why most of these AV's only look at files they are directed to scan, instead of any file that's accessed or changes on the system." CreationDate="2010-10-17T03:19:50.570" UserId="29" />
  <row Id="3423" PostId="3207" Text="possible duplicate http://unix.stackexchange.com/questions/665/installing-grub-2-on-a-usb-flash-drive" CreationDate="2010-10-17T05:35:05.577" UserId="250" />
  <row Id="3424" PostId="3075" Text="yes, I updated the question" CreationDate="2010-10-17T05:35:40.770" UserId="250" />
  <row Id="3425" PostId="3194" Text="@Renjith you can easily find out by running `man mount`" CreationDate="2010-10-17T05:37:56.223" UserId="250" />
  <row Id="3426" PostId="3210" Text="+1... answer gets accepted when my kernel is safely downgraded... " CreationDate="2010-10-17T07:24:44.483" UserId="1327" />
  <row Id="3427" PostId="1589" Score="3" Text="When assembling, I recommend `cat foo.{000..NNN}` where `NNN` is the last expected piece. That way you get an error message if one of the pieces is missing. But note that `-d` to get numeric suffixes is specific to GNU split; on other platforms you have to make do with `foo.aaa`, `foo.aab`, etc." CreationDate="2010-10-17T11:16:37.873" UserId="885" />
  <row Id="3428" PostId="3214" Text="Aaah... snap.. beat me to it. :) +1" CreationDate="2010-10-17T11:24:34.727" UserId="1327" />
  <row Id="3429" PostId="3214" Text="Currently I'm on a mac and the command gave me `ps: illegal option -- -`, any idea why? I'll test it again in Linux soon :)" CreationDate="2010-10-17T12:00:50.383" UserId="250" />
  <row Id="3430" PostId="3217" Text="Thanks for confirming the term. I'm still on a mac and surprised to find those 2 commands give the same result, regardless of my shell level." CreationDate="2010-10-17T12:08:54.320" UserId="250" />
  <row Id="3431" PostId="3217" Text="@phunehehe: what 2 commands? If you mean `ps -o tty= -p$pid`, this shows the process's controlling terminal, which identifies the terminal emulator (xterm, screen, sshd, …) that the process is running in. It will not change if you start a shell from another shell, but will change if you start a new terminal emulator. If the terminal emulator is a native Mac application, there may be a Mac-specific subtlety that I'm unaware of." CreationDate="2010-10-17T12:14:24.643" UserId="885" />
  <row Id="3432" PostId="3214" Score="2" Text="@phunehehe: `--option-name` is mostly a GNU-specific features, so is mostly not available in standard system utilities outside Linux. But you can get the effect of `ps --no-headers` portably by adding `=` after the column name. Also the `comm` column is not POSIX, but the `cmd` column (which includes the arguments of the command) is. Also `-p` is necessary before the PID in POSIX syntax. Hence `ps -o cmd= -p $PPID` is portable and gives similar information." CreationDate="2010-10-17T12:17:54.387" UserId="885" />
  <row Id="3433" PostId="3217" Text="`ps -o tty= -p$$ ` and `ps -o tty= -p$PPID `, because you said they should produce different output. Or did I misunderstand something?" CreationDate="2010-10-17T12:44:04.217" UserId="250" />
  <row Id="3434" PostId="3217" Text="@phunehehe: They give different output when if the parent process of the shell is a terminal emulator, because the terminal emulator doesn't have its emulated terminal as a controlling terminal. If you find otherwise, please post the output of `ps -p $$ -p $PPID` (again, I have no OSX experience, so maybe there's something unusual going on on OSX)." CreationDate="2010-10-17T12:53:24.883" UserId="885" />
  <row Id="3435" PostId="3214" Text="confirmed, works on Gentoo" CreationDate="2010-10-17T14:09:32.897" UserId="250" />
  <row Id="3436" PostId="3200" Score="1" Text="nice command line screencast - that gives me the right xterm PID, to actually find it on your screen a second step is needed, like Gilles pointed out" CreationDate="2010-10-17T14:09:34.017" UserId="1131" />
  <row Id="3437" PostId="3217" Text="@Gilles: that was indeed something unusual with OSX. I tested on Gentoo and everything was correct as you said. On OSX, `ps -p $$ -p $PPID` gives (sorry I don't know how to format comments)&#xA;  PID TTY           TIME CMD&#xA;  209 ttys000    0:00.01 login -pf phunehehe&#xA;  210 ttys000    0:00.12 -bash" CreationDate="2010-10-17T14:14:31.777" UserId="250" />
  <row Id="3438" PostId="3207" Text="@phunehehe: not really a duplicate because the question is not grub specific" CreationDate="2010-10-17T14:14:34.117" UserId="1131" />
  <row Id="3439" PostId="3207" Text="I was somewhat confused, but after a while thinking I agree that although requiring the same answer, the question is different. Is there somewhere a guideline to this?" CreationDate="2010-10-17T14:30:30.927" UserId="250" />
  <row Id="3440" PostId="2752" Score="1" Text="For the one (McAfee) I mentioned, this is just not correct. The claim: &quot;Always-on protection for Linux systems&#xA;McAfee VirusScan Enterprise for Linux keeps viruses and other malware off Linux systems with a scalable and easy to manage solution.&quot; Note that I don't recommend this software or any AV protection on Linux at all. However such software exists." CreationDate="2010-10-17T14:56:40.347" UserId="1941" />
  <row Id="3448" PostId="3202" Text="What is the exact meaning of &quot;free-as-in-speech&quot; ? and &quot;free-as-in-beer&quot;  ?  Also stallman created entirely new OS called GNU(not at all referred UNIX source) and Torvalds created entirely new OS called LINUX(not at all referred UNIX source). But why the name GNU/LINUX ? " CreationDate="2010-10-17T17:41:28.083" UserId="2269" />
  <row Id="3449" PostId="3202" Text="For “free-as-in-speech”, see [Wikipedia:Free software](http://en.wikipedia.org/wiki/Free_software) — the idea is that you can do what you want with the software. “Free-as-in-beer” means not-costing-money. (English unfortunately uses the same word for the two concepts.) The name GNU/Linux is used for what is most commonly called Linux because a lot of the software in ”Linux” distribution comes from the GNU project or from people inspired by it." CreationDate="2010-10-17T18:09:30.593" UserId="885" />
  <row Id="3450" PostId="3202" Text="Sorry.Again not clear !  “free-as-in-speech”  V/s “Free-as-in-beer”" CreationDate="2010-10-17T18:26:39.850" UserId="2269" />
  <row Id="3451" PostId="3214" Score="1" Text="@phunehehe: sorry, I made a mistake in the comment above. In fact the `comm` column is specified by POSIX and documented on Mac OS X, whereas the `cmd` column exists on Linux but is not standard." CreationDate="2010-10-17T18:29:23.173" UserId="885" />
  <row Id="3452" PostId="3202" Score="3" Text="Software that you don't need to pay for is “free-as-in-beer”. Software that is “free-as-in-speech” gives you more permissions: you are allowed to redistribute it and to modify it. (These expressions come from the English idioms “free beer” and “free speech”.) I'm afraid I don't know how to explain better, but the [Wikipedia article](http://en.wikipedia.org/wiki/Free_software) should answer your question." CreationDate="2010-10-17T18:52:35.633" UserId="885" />
  <row Id="3453" PostId="3222" Text="Did you try it and it did not work or are you considering buying one? A quick google search showed http://ubuntuforums.org/showthread.php?t=429754 which indicates there is support in alsa but there are issues with getting 5.1 running." CreationDate="2010-10-17T19:40:09.197" UserId="1941" />
  <row Id="3454" PostId="3000" Text="regarding proxytunnel: It does not work. However I did not manage to get error-messages out of proxytunnel, so I do not know what the problem was.." CreationDate="2010-10-17T20:09:16.690" UserId="101" />
  <row Id="3455" PostId="3220" Text="So is it not possible to use menu_complete, but not make it fill in the text on the prompt line?" CreationDate="2010-10-18T04:46:04.040" UserId="1571" />
  <row Id="3456" PostId="3232" Text="Converted [alex](http://unix.stackexchange.com/users/1946/alex)'s answer to a comment: &quot;But these backups could save you life one day :)&quot;" CreationDate="2010-10-18T05:12:50.590" UserId="73" />
  <row Id="3457" PostId="3232" Text="I save my important stuff to dropbox. It just makes a mess to have versions of backups stored to dropbox =P" CreationDate="2010-10-18T05:19:10.673" UserId="1571" />
  <row Id="3458" PostId="3238" Text="Then you are telling that, if i connect my hard disk to another Linux machine, i will get all my ' /home ' contents in /dev/sda4 partition ?" CreationDate="2010-10-18T09:19:19.483" UserId="2269" />
  <row Id="3459" PostId="3226" Text="Hm, about the paper burning - the duplex models of HP printers I've come across always did some automatic re-inserting of the page to print on the backside, they did not print both sides at once." CreationDate="2010-10-18T09:21:28.617" UserId="1131" />
  <row Id="3460" PostId="3238" Text="/dev/sda4 is just an example. It's not clear to me, what you mean with &quot;if i connect my hard disk to another Linux machine, i will get all my ' /home ' in /dev/sda4&quot;" CreationDate="2010-10-18T09:39:31.200" UserId="1941" />
  <row Id="3461" PostId="3238" Text="Yes. I got your point about /dev/sda4. Suppose my machine got corrupted(lets say the LINUX itself). I want to get all the data from that machine. The data is in the hard disk right? I have kept all the data in my '/home/renjithg' directory. On corruption of the LINUX in my machine probably would cause its home to corrupt right? So i will not get that data under /home on connecting the hard disk to another machine right? To avoid that , If i have mounted that '/home' earlier then then i would get that data under /home if i connect my hard disk to another Linux machine? " CreationDate="2010-10-18T09:54:27.670" UserId="2269" />
  <row Id="3462" PostId="3240" Text="Thanks for a great answer. I will set up PHP+Nginx+PostgreSQL so I guess the script solution is the way to go." CreationDate="2010-10-18T10:23:26.767" UserId="1615" />
  <row Id="3463" PostId="3180" Text="@falmarri: this isn't a programming question, so why?" CreationDate="2010-10-18T10:24:23.097" />
  <row Id="3464" PostId="3226" Text="@maxschlepzig: Yes, you're right, I've been overgeneralizing a valid point. Printing on the back of a sheet that's been around and has accumulated some bad stuff (specks of dirt, inkjet ink, small tears, …) could damage the paper or the printer, but reinserting the paper as it comes out of the printer for the first time is fine." CreationDate="2010-10-18T10:38:02.463" UserId="885" />
  <row Id="3465" PostId="3238" Text="A broken Linux distribution should not destroy your data. This is very, very unlikely. In 99% of all cases, you can boot a Live-CD, mount your partitions and you data is accessible, even if your installation is broken and e.g. doesn't boot anymore. Whether /home is on the same partition as / is not really relevant for this." CreationDate="2010-10-18T11:04:11.603" UserId="1941" />
  <row Id="3466" PostId="3238" Text="What happens if my machine is not having a CD ROM?" CreationDate="2010-10-18T11:08:04.733" UserId="2269" />
  <row Id="3467" PostId="3238" Text="Then you obviously can't boot a Live-CD. Take a Live-USB-Stick or put your hard disk into an USB- or ESATA-enclosure, or buy a USB-DVD-Drive or put your hard disk into an other machine. Possibilities are endless." CreationDate="2010-10-18T11:32:17.757" UserId="1941" />
  <row Id="3468" PostId="3242" Text="Thanks, it looks interesting." CreationDate="2010-10-18T11:37:58.293" UserId="1615" />
  <row Id="3469" PostId="3241" Text="Thanks, I will learn more about that. It looks interesting." CreationDate="2010-10-18T11:38:45.120" UserId="1615" />
  <row Id="3470" PostId="3238" Text="yes, am preferring the last option &quot; put your hard disk into an other machine&quot; . Now you got my question. we can start from here. If connect my hard disk to another linux machine , how can i get my datas under &quot;/home/renjithg&quot; , for that i have to create a mount point for '/home' earlier in my first linux  machine" CreationDate="2010-10-18T11:46:23.807" UserId="2269" />
  <row Id="3471" PostId="3241" Text="how about doing everything on one machine, then check the history file (such as ~/.bash_history for bash, or ~/.histfile for zsh) and maybe copying some over?" CreationDate="2010-10-18T12:03:50.067" UserId="250" />
  <row Id="3472" PostId="3238" Text="On the new machine, find out which id the partition has (this may or may not be the same as on the old one), e.g. /dev/sdb4 and mount it like described in my original answer. How to find out is a different question. I seem to remember it has been asked here before." CreationDate="2010-10-18T12:12:39.537" UserId="1941" />
  <row Id="3473" PostId="3244" Text="Could you please tell me where I type that command? in the terminal's config file? or at the prompt?" CreationDate="2010-10-18T12:31:20.013" UserId="2212" />
  <row Id="3474" PostId="3244" Text="At the prompt. (I'll edit the answer to clarify)" CreationDate="2010-10-18T12:32:18.780" UserId="1941" />
  <row Id="3475" PostId="3244" Score="1" Text="I'm afraid that didn't work. But apparently it seems like, the command is the same, but you have to assign it to the environmental variable called PROMPT_COMMAND. So the actual command would be .... PROMPT_COMMAND='echo -ne &quot;\033]0;&quot;CUSTOMTEXT&quot;\007&quot;'. Ofcourse, it lasts only for that session. To reflect the changes across any newly created terminals, you have to export that variable. Thanks for your input none the less : )" CreationDate="2010-10-18T13:04:45.563" UserId="2212" />
  <row Id="3476" PostId="3244" Text="Wow, this is strange. It works in zsh but not in bash. In bash you need echo -e -n &quot;\033]0;${USER}@${HOST}\007&quot;. I'll update my answer again..." CreationDate="2010-10-18T13:20:01.193" UserId="1941" />
  <row Id="3477" PostId="3232" Score="1" Text="You just have to wait until dropbox allows you to ignore all those files :-) https://www.dropbox.com/votebox/648/ignore-file" CreationDate="2010-10-18T13:29:12.393" UserId="102" />
  <row Id="3478" PostId="3247" Score="1" Text="This is not a real question. I mean, it is so broad, to answer it one had to write an essay spanning several letter pages. Please try to state it in a way that a clear answer becomes possible." CreationDate="2010-10-18T13:38:12.313" UserId="1941" />
  <row Id="3481" PostId="3143" Score="2" Text="I suspect that the fact that your home directory is on AFS is relevant. For your `du` problem, try `du -x` (`du --one-file-system`). I'm not sure if it will work though; otherwise I can't think of anything better than `--exclude` like you already did." CreationDate="2010-10-18T14:30:32.523" UserId="885" />
  <row Id="3482" PostId="3247" Text="Well, you don't need to give a complete answer, maybe some pointers, insight, the common sense understanding etc, anything will do, for the clueless:)" CreationDate="2010-10-18T14:32:25.383" UserId="1325" />
  <row Id="3483" PostId="3254" Text="then in the directory you mounted something too, you can 'cd' into there and see all the files?" CreationDate="2010-10-18T14:43:23.713" UserId="1325" />
  <row Id="3484" PostId="3253" Text="so, when a flash drive is mounted into /media/usb, the OS maps commands like 'ls' from this directory to the flash drive to get the output?" CreationDate="2010-10-18T14:45:19.103" UserId="1325" />
  <row Id="3485" PostId="3254" Text="Yes. You can &quot;cd into&quot; your mountpoint and see the files :-)" CreationDate="2010-10-18T14:48:33.740" UserId="1339" />
  <row Id="3487" PostId="3247" Score="1" Text="This is very similar to [What is meant by mounting a device in Linux?](http://unix.stackexchange.com/questions/3192/what-is-meant-by-mounting-a-device-in-linux), but I suppose it asks a bit more" CreationDate="2010-10-18T14:56:10.483" UserId="73" />
  <row Id="3489" PostId="3253" Text="@Vass yes, that is precisely what happens." CreationDate="2010-10-18T15:16:11.700" UserId="274" />
  <row Id="3490" PostId="3199" Text="You can also use `set syntax=OFF` to turn off syntax highlighting for the current buffer and `set syntax=ON` to enable syntax highlighting for the current buffer according to the current `filetype`." CreationDate="2010-10-18T15:20:12.917" UserId="1656" />
  <row Id="3491" PostId="3232" Text="Or you could just write a script that just automatically removes all files matching `*~`" CreationDate="2010-10-18T15:26:26.260" UserId="12" />
  <row Id="3492" PostId="3256" Text="looks like problem with xorg or video driver. does it happen outside of the terminal?" CreationDate="2010-10-18T15:30:01.647" UserId="250" />
  <row Id="3494" PostId="3256" Text="Yes, in emacs. Though not as often as it does in xterm." CreationDate="2010-10-18T15:51:02.503" UserId="12" />
  <row Id="3495" PostId="3254" Text="can you 'mount' a directory to another directory? can you mount an input stream into a directory? what are some things other than devices you can mount?" CreationDate="2010-10-18T17:19:00.057" UserId="1325" />
  <row Id="3496" PostId="3256" Text="@Seamus: it could be a bug anywhere from the font data to the video card through the client font handling library, other client X libraries, the X server, your X video driver. Does the bug show up with other fonts, or at other sizes? Does moving the window, or hiding it and showing it again, or resizing it change anything?" CreationDate="2010-10-18T17:53:30.363" UserId="885" />
  <row Id="3497" PostId="3255" Text="Thanks for the vim setting. That's the one that really matters I guess since most other editors can be changed in menus." CreationDate="2010-10-18T18:12:44.420" UserId="1571" />
  <row Id="3498" PostId="3211" Text="Thanks, that's definitely enough to get me started" CreationDate="2010-10-18T18:15:34.570" UserId="1571" />
  <row Id="3499" PostId="3254" Text="you can't mount a directory into another, but there are hardlinks and symlinks for that. you can't mount an input stream directly, because theres no filesystem behind an input stream. you can mount it indirectly with an appropriate kernelmodule, see the last point I mentioned (cdimage). For the last point, see my examples and FuseFS." CreationDate="2010-10-18T19:35:19.013" UserId="1339" />
  <row Id="3500" PostId="3254" Text="Kernel ----&gt; Filesystem Module ----&gt; Device / Application / Whatever" CreationDate="2010-10-18T19:36:25.447" UserId="1339" />
  <row Id="3501" PostId="3241" Text="The history is probably truncated to the last 100 commands or some other arbitrary size limit, so you'd have to check into that." CreationDate="2010-10-18T20:18:30.527" UserId="614" />
  <row Id="3502" PostId="3240" Text="Depends on how much you already know how to do and how many times you plan to duplicate this process.  (Although it isn't automated, the most thorough approach for a one or two time thing is probably to keep a big document including working code snippets and thoughts and notes about the setup procedure that you can refer to later...)   Once you know how everything works, then you should definitely write a big Bash or Puppet script or whatever.  " CreationDate="2010-10-18T20:22:13.773" UserId="614" />
  <row Id="3503" PostId="3199" Text="@garyjohn: ohh, thanks! Updated accordingly." CreationDate="2010-10-18T20:36:50.163" UserId="2318" />
  <row Id="3504" PostId="3232" Text="Instead of turning them off, consider putting them in a designated temp folder. That solves your dropbox problems while keeping the backup files around if you ever need them. I know emacs will let you do this, can't speak for any other editors." CreationDate="2010-10-18T21:58:52.793" UserId="2202" />
  <row Id="3505" PostId="3180" Text="@falmarri: Toadette is right, and my question is related only to unix enviroments." CreationDate="2010-10-18T21:59:10.383" UserId="2309" />
  <row Id="3506" PostId="3237" Text="This is why I suggested this might be better on stackoverflow =P" CreationDate="2010-10-18T22:14:15.840" UserId="1571" />
  <row Id="3507" PostId="3222" Score="1" Text="Why are these questions being voted down?  They seem straight-forward enough..." CreationDate="2010-10-18T23:14:29.530" UserId="85" />
  <row Id="3508" PostId="2208" Text="this is good information, but it doesn't answer the question." CreationDate="2010-10-19T00:00:05.617" UserId="1170" />
  <row Id="3509" PostId="3256" Score="1" Text="You might more help if you ask on http://askubuntu.com" CreationDate="2010-10-19T01:17:38.613" UserId="990" />
  <row Id="3510" PostId="3222" Text="I'm considering buying it, so I wanted to see some testimony from someone who has tried it out in Linux." CreationDate="2010-10-19T04:45:30.423" UserId="2323" />
  <row Id="3511" PostId="3227" Text="Since there's driver support, shouldn't alsa provide the required abstraction for the sound applications so they can use it?" CreationDate="2010-10-19T04:46:18.120" UserId="2323" />
  <row Id="3512" PostId="3227" Text="@Neil For Alsa-using applications that would be the case. The trick appears to be stereo vs 5.1 support, the support for that is unclear." CreationDate="2010-10-19T05:03:49.410" UserId="366" />
  <row Id="3513" PostId="3139" Text="You could leave the answer empty, which would allow you to select it during install." CreationDate="2010-10-19T08:30:12.173" UserId="252" />
  <row Id="3514" PostId="3270" Text="There is no manual page for banana, only for apple." CreationDate="2010-10-19T10:19:10.713" />
  <row Id="3516" PostId="3264" Score="4" Text="For clarity's sake: Terminal.app does not provide bash, OSX provides bash (in the sense that bash is installed when OSX is installed). You could delete Terminal.app (not sure whether that would cause trouble with other applications that depend on it - or whether the system even allows you to delete it - but in theory you could. at least) and bash would still be available." CreationDate="2010-10-19T10:23:49.060" UserId="481" />
  <row Id="3518" PostId="3256" Text="Moving the window, or alt-tabbing away from it and then back both make the lines disappear. Also, the problem seems not to happen if I use gnome shell rather than xterm." CreationDate="2010-10-19T11:22:46.230" UserId="12" />
  <row Id="3519" PostId="3256" Text="Also, the problem does not seem to happen if I use gnome-terminal rather than xterm. but it does happen in emacs." CreationDate="2010-10-19T11:32:40.290" UserId="12" />
  <row Id="3520" PostId="3254" Text="awesome thanks!" CreationDate="2010-10-19T14:26:45.000" UserId="1325" />
  <row Id="3521" PostId="3143" Text="could it be that this is a remote folder that should be mounted, but isn't?" CreationDate="2010-10-19T14:27:23.330" UserId="1325" />
  <row Id="3522" PostId="3273" Score="2" Text="Emacs also allows you to display fonts in different sizes. Not sure whether emacs qualifies as &quot;plain&quot; though." CreationDate="2010-10-19T14:57:36.350" UserId="481" />
  <row Id="3523" PostId="3267" Text="The INdicator Applet gives the sound mail and music player icons, but I'm still not getting the power or chat bubble.  Do I have some setting wrong?" CreationDate="2010-10-19T14:57:42.933" UserId="2049" />
  <row Id="3524" PostId="3255" Text="Downvotes? Seriously?" CreationDate="2010-10-19T15:45:19.177" UserId="455" />
  <row Id="3525" PostId="3279" Text="I get an error that the files are not a directory[jings]s0128943: for f in *.xml; do mv $f ${f//[ -]/};done&#xA;mv: target `MeasurementsPanama20090322Session10.xml' is not a directory&#xA;mv: target `MeasurementsPanama20090322Session1.xml' is not a directory&#xA;" CreationDate="2010-10-19T16:32:36.647" UserId="1325" />
  <row Id="3526" PostId="3275" Text="I like the idea of adding a clear alias" CreationDate="2010-10-19T17:56:44.827" UserId="1571" />
  <row Id="3527" PostId="3262" Text="That's not even close to an answer" CreationDate="2010-10-19T17:57:28.740" UserId="1571" />
  <row Id="3528" PostId="3278" Text="Why do you think there will be an easy way without perl or regex?" CreationDate="2010-10-19T17:58:45.743" UserId="1571" />
  <row Id="3529" PostId="3278" Text="I don't know, maybe im wrong. Why doesn't the attempted script work?? plz... " CreationDate="2010-10-19T18:21:22.623" UserId="1325" />
  <row Id="3530" PostId="3267" Score="1" Text="That's what the &quot;Indicator Applet&quot; does. There is also &quot;Indicator Applet Session&quot; which provides &quot;chat bubble&quot; and &quot;power&quot;. If it got removed by accident: The package is called &quot;indicator-applet-session&quot;" CreationDate="2010-10-19T19:15:08.833" UserId="33" />
  <row Id="3531" PostId="3273" Text="Thanks sepp2k... The &quot;plain&quot; referred to &quot;plain text&quot; vs &quot;word processor embilished text&quot;...  &#xA;" CreationDate="2010-10-19T19:21:37.827" UserId="2343" />
  <row Id="3533" PostId="3276" Text="Agreed. To test this, open two windows. Run `tail -f` in one window, and `tail -f logfile | grep pattern` in the other window. Lines containing `pattern` don't always appear in both windows at the same time. I've seen lines appear 30 seconds apart on rare occasions, which was annoying." CreationDate="2010-10-19T19:46:22.853" UserId="4" />
  <row Id="3536" PostId="3262" Text="One of the only reasonable motives to avoid creating '~' files is to avoid writing to the filesystem, right?" CreationDate="2010-10-19T20:28:32.720" UserId="614" />
  <row Id="3537" PostId="3217" Text="Not that this is a surprise, but SHLVL didn't work that way on SunOS 4.1.3, FYI.  :D" CreationDate="2010-10-19T20:37:43.547" UserId="614" />
  <row Id="3538" PostId="3217" Text="@Kevin: Oops. Thanks, I just checked, and ksh in fact doesn't document SHLVL because it doesn't actually have that feature. (I thought that was where it came from, but clearly not.)" CreationDate="2010-10-19T20:48:14.973" UserId="885" />
  <row Id="3539" PostId="3279" Score="2" Text="@Vass Since your file names contain spaces you need to quote them, otherwise the shell will expand `$f` to separate words `Measurements`, `Panama`, etc. and thus make `mv` think that you want to move files `Measuremens`, `Panama`, etc. into a single`MeasurementsPanama...` which must then be a directory. Use `for f in *.xml; do mv &quot;$f&quot; &quot;${f//[ -]/}&quot;; done` instead. (See Gilles' answer as well.)" CreationDate="2010-10-19T21:37:27.697" UserId="274" />
  <row Id="3540" PostId="3292" Text="Can you include the output of dmesg after attaching your sd card?" CreationDate="2010-10-19T21:54:16.267" UserId="1339" />
  <row Id="3541" PostId="3276" Text="That might have more to do with the system flipping between running one or the other instance of tail.  A better test would us `tee` or something." CreationDate="2010-10-19T22:08:07.010" UserId="614" />
  <row Id="3542" PostId="3292" Text="Are you doing it as root?" CreationDate="2010-10-19T22:28:15.700" UserId="1571" />
  <row Id="3543" PostId="3294" Score="2" Text="You're probably better off looking up specific things when they come up. Linux is hard to just &quot;catch up on&quot; without using it since it's all memorizing commands basically" CreationDate="2010-10-19T22:48:33.490" UserId="1571" />
  <row Id="3544" PostId="3287" Text="thanks alot. perl is a bit beyond me as well as zsh, but the other part is great." CreationDate="2010-10-19T22:57:22.980" UserId="1325" />
  <row Id="3545" PostId="3289" Text="One thing I want to point out is that the &quot;free as in speech&quot; is often misused to refer the the GPL. While it is true that GPL software has nearly all the freedoms of public domain software (probably the most free software around) it is lacking the freedom to use the code in a proprietary codebase. GPL supporters say that this enhances the other freedoms because &quot;no one could make it nonfree&quot;." CreationDate="2010-10-19T23:29:15.113" UserId="2357" />
  <row Id="3546" PostId="3295" Text="@Axeman: I had a look at jEdit a couple of years ago. As I recall, it was a bit slow and didn't have that one particular thing I primarily want: ie. different sized font on the screen in one instance of a single text file, at the same time...  but I will take another look at it.. It is only a download away :)... thanks." CreationDate="2010-10-20T01:02:56.473" UserId="2343" />
  <row Id="3548" PostId="3295" Text="I just tried jEdit.. I must have had a slower computer 2 years ago; it seems fast enough (for me).. However Syntax Highlighting (Global) does not cater to Font-size, and a single set of colours apply to all languages. Font-size is a seperate single Global option. ...but jEdit it is certainly a nice looking editor :)" CreationDate="2010-10-20T01:48:19.317" UserId="2343" />
  <row Id="3549" PostId="3296" Text="Thanks a lot alanc. I googled for the source code but didn't find it. Really appreciated!" CreationDate="2010-10-20T02:54:15.517" UserId="2045" />
  <row Id="3550" PostId="3290" Score="1" Text="In &quot;free as in speech means freedom&quot;, `s/freedom/liberty/` will make it more clear, I think." CreationDate="2010-10-20T02:57:42.910" UserId="1860" />
  <row Id="3551" PostId="3291" Text="could you explain from  the basic words , that is &quot;free beer&quot; and &quot;free speech&quot;? Why they taken beer and speech as the example?" CreationDate="2010-10-20T03:05:52.260" UserId="2269" />
  <row Id="3552" PostId="3139" Score="1" Text="No the whole idea is to make the install unattended. " CreationDate="2010-10-20T06:54:29.340" UserId="2142" />
  <row Id="3553" PostId="3304" Score="2" Text="mplayer tv://device=/dev/video" CreationDate="2010-10-20T07:13:58.537" UserId="1327" />
  <row Id="3554" PostId="3304" Text="@Stefan: can you? that's too simple!" CreationDate="2010-10-20T08:47:33.353" UserId="250" />
  <row Id="3555" PostId="3256" Text="Oh man I just find out I have this problem too. It seems to be something wrong with `xterm` itself, because it doesn't happen in `gnome-terminal`." CreationDate="2010-10-20T09:22:25.453" UserId="250" />
  <row Id="3556" PostId="3305" Text="Pretty strange problem. I'd check the BIOS if there are processor capabilities disabled." CreationDate="2010-10-20T09:24:56.383" UserId="1941" />
  <row Id="3557" PostId="3304" Text="&quot;Without installing any extra applications&quot;. That's a pretty weird and severe constraint. I would just install something like cheese." CreationDate="2010-10-20T09:43:00.480" UserId="281" />
  <row Id="3558" PostId="3282" Text="And thanks also for adding the new tags. I don;t have enough rep yet :)" CreationDate="2010-10-20T09:47:27.427" UserId="892" />
  <row Id="3559" PostId="3309" Text="last I checked you can't move the gparted partition's from the beginning and I'm not sure that it can resize ntfs." CreationDate="2010-10-20T12:04:27.267" UserId="29" />
  <row Id="3560" PostId="3256" Score="1" Text="Bug reported here: https://bugs.edge.launchpad.net/ubuntu/+source/xterm/+bug/663469?" CreationDate="2010-10-20T12:15:13.537" UserId="12" />
  <row Id="3561" PostId="3309" Text="It definitely can resize ntfs. I'm not sure what you mean with &quot;you can't move the gparted partition's from the beginning&quot;?" CreationDate="2010-10-20T12:47:43.523" UserId="1941" />
  <row Id="3562" PostId="3312" Score="2" Text="I don't think advising people to pirate software is acceptable." CreationDate="2010-10-20T13:07:13.767" UserId="1941" />
  <row Id="3563" PostId="3309" Text="I have been using gparted to resize my ntfs partitions for years, no problem **yet**." CreationDate="2010-10-20T13:22:22.087" UserId="250" />
  <row Id="3564" PostId="3304" Text="@phunene, well it works for me.... sometimes" CreationDate="2010-10-20T13:40:54.207" UserId="1327" />
  <row Id="3565" PostId="3316" Text="How do you mount them? Do you have them in your /etc/fstab? Cause if I mount my NFS shares at home to for example /media/audio/ it shows up as &quot;audio&quot; in GNOME." CreationDate="2010-10-20T13:58:20.230" UserId="33" />
  <row Id="3566" PostId="3308" Text="I removed the `swap` tag since it has other meaning in Linux" CreationDate="2010-10-20T14:06:12.737" UserId="250" />
  <row Id="3567" PostId="3304" Text="@phunehehe: Yes, we can ;-)" CreationDate="2010-10-20T17:36:11.087" UserId="1339" />
  <row Id="3569" PostId="3321" Text="@Riccardo: That what I was trying to say, but I don't think it was very clear. Hopefully it is better now.  " CreationDate="2010-10-20T17:57:51.173" UserId="31" />
  <row Id="3570" PostId="3323" Text="You know, I didn't even realize that OSX/unix didn't use the same binary format. Do you have a link to more infomration on that?" CreationDate="2010-10-20T18:10:34.250" UserId="1571" />
  <row Id="3571" PostId="3291" Text="There are no special reasons why this examples are used. The only one who can finally answer this question would be Richard Stallman, you can find his contact information there: http://stallman.org Could be an interesting answer *g*. For more about the phrase see: http://c2.com/cgi/wiki?FreeAsInBeer" CreationDate="2010-10-20T18:15:18.273" UserId="1339" />
  <row Id="3572" PostId="3323" Text="Falmarri: OSX uses the [Mach-O](http://en.wikipedia.org/wiki/Mach-O) format, Linux uses [ELF](http://en.wikipedia.org/wiki/Executable_and_Linkable_Format)." CreationDate="2010-10-20T18:21:25.083" UserId="481" />
  <row Id="3573" PostId="3298" Text="@michael: Both `tr '\n' ' '` and `tr -d '\n'`&#xA; will wrap the line in a weird way. I updated my question to show the results. So, maybe I need to use `tr`, but I just need to figure out how to use use it properly. " CreationDate="2010-10-20T18:26:42.157" UserId="4" />
  <row Id="3574" PostId="3305" Text="Are you sure you have a 64 bit installation cd? Most linux distros have different images for 64 bit and 32 bit archatectures." CreationDate="2010-10-20T18:47:19.543" UserId="1571" />
  <row Id="3575" PostId="3321" Text="&#xA;@KeithB: thx for the credits, glad to be of any help :-)" CreationDate="2010-10-20T19:06:21.930" UserId="274" />
  <row Id="3576" PostId="3298" Text="Could you expand on what is weird about it?  The reason your prompt is ending up on the same line as the last line of output is precisely because you have removed the '\n' at the end of the line.  If you describe the end result you are going for, I'm sure someone will come up with the appropriate filter." CreationDate="2010-10-20T19:58:57.860" UserId="1207" />
  <row Id="3577" PostId="3324" Score="1" Text="Open source only means free based on your definition of free." CreationDate="2010-10-20T20:03:00.617" UserId="1571" />
  <row Id="3578" PostId="3325" Score="1" Text="Which is Red Hat *or* Novell *or* Canonical or some other company, actually. Let's not mindlessly hail Canonical as the single one open source promoter. Much as they have done for Linux, they are still dwarfed, on all counts, by Novell, Red Hat, IBM and a whole bunch more." CreationDate="2010-10-20T20:10:16.603" UserId="272" />
  <row Id="3579" PostId="3324" Text="Falmarri is right. There is 'open source software' and there is 'free software'. Free is used here as in: 'free speech'. They overlap but have subtle differences. Wikipedia's article on open source explains the differences." CreationDate="2010-10-20T20:12:53.000" UserId="272" />
  <row Id="3580" PostId="3324" Text="@Ayush I tried to fix your question to remove the confusion between free-as-in-speech and free-as-in-beer and ended up just eliminating most of it and just leaving the actual question; hopefully you're ok with that" CreationDate="2010-10-20T20:23:44.543" UserId="73" />
  <row Id="3582" PostId="3312" Text="@fschmitt sorry that the product has been discontinued since the purchase of the company. It really was the best of the breed. parted has had 5+ years to catch up and hasn't gotten close. I don't think it's been produced since like '03 or before. It's not like paying for it is an option anymore." CreationDate="2010-10-20T21:10:59.837" UserId="29" />
  <row Id="3583" PostId="3336" Text="Thanks: I tried that commands, but after running them I was prompted with: `E37: No write since last change (add ! to override)`. I have nothing to save." CreationDate="2010-10-20T22:49:59.773" UserId="1615" />
  <row Id="3584" PostId="3336" Text="Use `:wq` if you want to save what you have edited and then exit.  `:q!` if you want to exit and leave your changes behind." CreationDate="2010-10-20T22:50:46.997" UserId="1207" />
  <row Id="3585" PostId="3330" Text="Also see [better-bash-history](http://unix.stackexchange.com/questions/1288/better-bash-history)" CreationDate="2010-10-20T23:16:34.170" UserId="4" />
  <row Id="3586" PostId="3336" Text="Or if you've written something you want to make a copy of, `:w newFileName.txt`, then sort out the read-only issue outside of **vi** or **vim**." CreationDate="2010-10-20T23:17:50.187" UserId="614" />
  <row Id="3587" PostId="3334" Score="1" Text="The &quot;recording&quot; by the way meant that you were recording a macro. Not that that matters any more." CreationDate="2010-10-20T23:19:22.387" UserId="1071" />
  <row Id="3588" PostId="3324" Text="Is this really on-topic here?" CreationDate="2010-10-20T23:57:45.440" UserId="1615" />
  <row Id="3589" PostId="3298" Text="Ok, I guess I could be more clear. I was hoping to wrap these multiple lines into a single line. I would expect `tr '\n' ' '` to remove the newline character and replace it with a space character, and therefore have one long line." CreationDate="2010-10-21T00:17:45.937" UserId="4" />
  <row Id="3590" PostId="3341" Text="Thanks, `ps aux` worked better, it showed around 70 processes, while `ps` showed only two. I know PostgreSQL was running since I saw that it was started on boot up and it was stopped on shutdown." CreationDate="2010-10-21T00:20:41.503" UserId="1615" />
  <row Id="3591" PostId="3298" Text="@Steven : I updated my question to discuss what I was expecting to see, and what was actually printed to the screen." CreationDate="2010-10-21T00:35:53.497" UserId="4" />
  <row Id="3592" PostId="3341" Text="@Jonas some init scripts are poorly written. Don't believe them just because they say something was started and stopped. Just some advice" CreationDate="2010-10-21T00:41:54.800" UserId="29" />
  <row Id="3593" PostId="3298" Text="Hmm. Unless your output isn't ended with \n's this should give you the output you are expecting.  Have you tried piping it into a file and then confirming that the line wrapping isn't something that your term is doing for you?" CreationDate="2010-10-21T00:45:59.213" UserId="1207" />
  <row Id="3594" PostId="3334" Text="This question brings back such &quot;fun&quot; memories. I'm so glad I got over that feeling, however." CreationDate="2010-10-21T01:06:25.517" UserId="1071" />
  <row Id="3595" PostId="3339" Score="1" Text="Thanks. The `ZZ` command seems to be useful. I can see the point with `Ctrl+[` but I'm using a swedish keyboard layout and I have to press `AltGr+8` to get `[` so that would be `Ctrl+AltGr+8` for me :(" CreationDate="2010-10-21T01:17:57.953" UserId="1615" />
  <row Id="3596" PostId="3000" Text="Without a server to test against, or more information about the protocols in use, I'm afraid I don't have any other suggestions." CreationDate="2010-10-21T01:22:53.417" UserId="2046" />
  <row Id="3597" PostId="3345" Text="By running, do you mean working? Or are you trying to upgrade php without taking the webserver down?" CreationDate="2010-10-21T02:47:58.927" UserId="1571" />
  <row Id="3598" PostId="3345" Text="I just want to upgrade from PHP 5.0 to PHP 5.3 - the web-server can go down but I don't want to lose any data of course :)" CreationDate="2010-10-21T02:51:52.707" />
  <row Id="3599" PostId="3344" Text="I checked, but don't see any clue whether it is 32 or 64, which part of /proc/cpuinfo says so?" CreationDate="2010-10-21T03:04:34.813" UserId="250" />
  <row Id="3600" PostId="3344" Text="Post the whole thing" CreationDate="2010-10-21T03:05:34.220" UserId="1571" />
  <row Id="3601" PostId="3324" Text="@michael- thanks &#xA;&#xA;@jonas- the topic here is to-get-things-cleared !" CreationDate="2010-10-21T03:32:18.417" UserId="2117" />
  <row Id="3602" PostId="3342" Text="I wonder what percentage of people use `ps` without knowing the flags. I just throw `aux` at it always; I have no idea what the individual flags actually control" CreationDate="2010-10-21T05:07:42.877" UserId="73" />
  <row Id="3603" PostId="3341" Text="There's also [`pgrep`](http://en.wikipedia.org/wiki/Pgrep) for this, which has the benefit of never catching your `ps aux | grep postgres` command itself in the process list and outputting it" CreationDate="2010-10-21T05:09:56.880" UserId="73" />
  <row Id="3604" PostId="3291" Score="1" Text="Ok i will ask him and will post the reply from him asap." CreationDate="2010-10-21T05:36:48.457" UserId="2269" />
  <row Id="3605" PostId="2850" Text="I need to try it on my Linux box. Not had time yet. BTW we use NFS Unix to Linux etc not SMB." CreationDate="2010-10-21T08:12:17.173" UserId="2197" />
  <row Id="3606" PostId="3352" Text="What distro are you using?" CreationDate="2010-10-21T08:22:47.133" UserId="61" />
  <row Id="3607" PostId="3325" Score="1" Text="@wzzrd, i meant for this specific case study :)" CreationDate="2010-10-21T08:56:12.510" UserId="1327" />
  <row Id="3608" PostId="3344" Text="the information is the same, really. the only exception was the `processor  : 1` line" CreationDate="2010-10-21T10:35:27.517" UserId="250" />
  <row Id="3609" PostId="3352" Text="@Mark Ubuntu 10.10" CreationDate="2010-10-21T11:12:32.070" UserId="538" />
  <row Id="3610" PostId="3358" Text="I'm hoping for something faster :)" CreationDate="2010-10-21T11:18:51.477" UserId="2179" />
  <row Id="3612" PostId="3349" Text="so would you say that, from a usage perspective, the creation of a junction could on a unix filesystem be implemented as a symlink between folders?" CreationDate="2010-10-21T11:53:14.990" UserId="2370" />
  <row Id="3615" PostId="3328" Score="1" Text="You might consider posting your question on [AskUbuntu](http://askubuntu.com) as well.  (Please link to here so that people know it's cross-posted and won't repeat any answer given in this site.)" CreationDate="2010-10-21T12:09:55.887" UserId="274" />
  <row Id="3616" PostId="3355" Text="Thanks! Sadly, something must have gone wrong, because I cannot find my ~/.gnupg directory in the backup...probably I lost it before (or during) the disaster that lead me to the reinstall." CreationDate="2010-10-21T12:24:25.633" UserId="529" />
  <row Id="3617" PostId="3355" Text="@dag729: just in case you don't know this - `ls` will consider files and folders starting with a dot to be invisible. Use `ls -a` to show everything in the backup of your home directory." CreationDate="2010-10-21T12:28:05.403" UserId="281" />
  <row Id="3618" PostId="3364" Score="1" Text="You might want to add the use the &quot;-o output_file&quot; option for badblocks as well because it writes the bad sectors into a file which you can pass to `mke2fs` or `e2fsck` to make those tools aware of which blocks are broken." CreationDate="2010-10-21T12:30:02.717" UserId="33" />
  <row Id="3619" PostId="3367" Text="I'll upvote yours if you'll upvote mine ;-)" CreationDate="2010-10-21T12:30:20.813" UserId="272" />
  <row Id="3620" PostId="3367" Score="1" Text="mine is better cause it's case insensitive :P" CreationDate="2010-10-21T12:34:17.123" UserId="33" />
  <row Id="3621" PostId="3365" Text="That caret syntax is actually slower than pressing up arrow and editing the command line yourself..." CreationDate="2010-10-21T12:40:06.347" UserId="2179" />
  <row Id="3622" PostId="3349" Score="1" Text="Symlinks on NTFS and UNIX filesystems are almost the same, except that an NTFS symlink can point to remote filesystems and UNIX doesn't really have a standard for that.  Junctions on NTFS are similar to symlinks but restricted to absolute paths to local directories, so yes, symlinks on a UNIX filesystem fully subsume all the capability of junctions on NTFS." CreationDate="2010-10-21T13:09:33.730" UserId="1779" />
  <row Id="3623" PostId="3323" Text="@Falmarri Not all UNIXes use the same binary format, and even though nearly all the modern ones use ELF, you still can't generally run a binary from one UNIX on another.  Heck, I don't think FreeBSD even guarantees that you can run a program for 7.x on 8.x or vice versa, while a Linux program for 1.0 ought to still run on 2.6.x." CreationDate="2010-10-21T13:13:03.257" UserId="1779" />
  <row Id="3624" PostId="3356" Text="Indeed.  This is rather trivial with dnsmasq; a configuration with address=/local/127.0.0.1 does what OP requests." CreationDate="2010-10-21T13:25:57.520" UserId="1779" />
  <row Id="3625" PostId="3275" Text="How about `history 5`, in case the history file has been configured to something other than `~/.bash_history`?  Less to type, too." CreationDate="2010-10-21T13:32:15.620" UserId="1779" />
  <row Id="3626" PostId="3311" Text="I think it's doable, tediously, given an additional step of shifting the Ext* partition after shrinking the NTFS partition and before extending the Ext* partition (if the Ext* partition is placed after the shrunken tail of the NTFS partition; the other way around works too, just a little different).  This could be done with something as simple as `dd`." CreationDate="2010-10-21T13:37:22.083" UserId="1779" />
  <row Id="3627" PostId="3367" Score="3" Text="Ok, right then, wiseguy, put up your dukes. Show me a capital '€' then." CreationDate="2010-10-21T14:27:06.637" UserId="272" />
  <row Id="3628" PostId="3344" Score="1" Text="From the `/proc/cpuinfo` you posted, it seems that Falmarri was right and that you were able to install it because you have a 64-bit P4.  Note the &quot;lm&quot; flag in the output." CreationDate="2010-10-21T14:35:38.643" UserId="1207" />
  <row Id="3629" PostId="3367" Text="Just for information : you can use `-maxdepth 1` with `find` to use only the current directory" CreationDate="2010-10-21T15:07:25.213" UserId="2249" />
  <row Id="3630" PostId="3348" Text="+1 well presented question" CreationDate="2010-10-21T15:08:10.297" UserId="1294" />
  <row Id="3632" PostId="3374" Text="I don't want a list of every possible command that doesn't tell me squat about what they're for." CreationDate="2010-10-21T15:20:49.347" UserId="446" />
  <row Id="3633" PostId="3368" Text="That should be `'*€*'`, right?" CreationDate="2010-10-21T15:34:39.080" UserId="102" />
  <row Id="3634" PostId="3367" Text="@Elenaher: But if it is only about the current directory, you could simply use `rm *€*`" CreationDate="2010-10-21T15:43:32.160" UserId="102" />
  <row Id="3635" PostId="3367" Text="@wzzrd: gooood point! :D" CreationDate="2010-10-21T15:43:49.707" UserId="529" />
  <row Id="3636" PostId="3368" Text="@Marcel: yes, it should. I also used double quotes (but it doesn't really matter in this situation)" CreationDate="2010-10-21T15:45:01.447" UserId="529" />
  <row Id="3637" PostId="3317" Text="I Have 2 HDDs with one NTFS partition each. I could find out the permission unaware solution but I really don't trust NTFS AT ALL :) So I really want to have a nice etx4 instead of the NTFS." CreationDate="2010-10-21T16:10:46.760" UserId="892" />
  <row Id="3638" PostId="3353" Score="1" Text="I've had a look at convertfs and devel stopped on 2005. Sparse files are possible on NTFS, I only not sure that Linux has it included." CreationDate="2010-10-21T16:12:06.110" UserId="892" />
  <row Id="3639" PostId="3312" Text="Well, I really, REALLY, REALLY don't want to see a MS install anymore, so this would not be possible. And all the Live CD's with XP are no longer supported :(" CreationDate="2010-10-21T16:14:14.970" UserId="892" />
  <row Id="3640" PostId="3308" Text="@phunehehe Quite right, and thanks. I must of used convert instead of swap. I'm still a bit under the radar in terms of rep :)" CreationDate="2010-10-21T16:15:58.190" UserId="892" />
  <row Id="3641" PostId="3351" Text="Thanks. One would have thought that for backwards compatibility they would have introduced an alternative notation and not replaced %[WXYZ]." CreationDate="2010-10-21T16:29:07.810" UserId="1071" />
  <row Id="3642" PostId="2793" Text="@tante.. the really cool thing about truecrypt is the ease with which it mounts a encrypted.. and that its a platform independant sollution" CreationDate="2010-10-21T17:00:04.260" UserId="1327" />
  <row Id="3643" PostId="3372" Text="OMG, that worked, just that the command needed &quot;ssh -L localhost:5910:markinch.inf.uk:5910 vass@ssh.inf.uk&quot; but why, its so strange?!?! the concept just doesn't make any sense" CreationDate="2010-10-21T18:20:53.150" UserId="1325" />
  <row Id="3644" PostId="3381" Score="1" Text="There is no Adobe Acrobat for Unix / Linux. Just Adobe Reader which can't do this." CreationDate="2010-10-21T18:52:14.557" UserId="1941" />
  <row Id="3645" PostId="3367" Text="@wzzrd: Well it might be defined, there is a capital ß as well ;)" CreationDate="2010-10-21T18:55:12.567" UserId="33" />
  <row Id="3646" PostId="3381" Text="yeah I too figured that lately." CreationDate="2010-10-21T18:56:12.433" UserId="2117" />
  <row Id="3647" PostId="1485" Text="@maxschlepzig, thanks for linking to those. I had no idea." CreationDate="2010-10-21T19:05:44.703" UserId="1376" />
  <row Id="3648" PostId="3383" Text="pdfedit: I don't have qt3 and I cannot install it (not in portage) &amp; I cannot get it to compile with qt4 (even with qt3support)." CreationDate="2010-10-21T19:36:46.720" UserId="305" />
  <row Id="3649" PostId="3384" Text="I use pdfjam but it seems none will do the 2 things I explicitly listed." CreationDate="2010-10-21T19:56:24.573" UserId="305" />
  <row Id="3650" PostId="2148" Text="@Stefan, yeah, very useful.  You should quote openbox though (`'[o]penbox'`).  The brackets will work as kind of a glob, so if there is openbox in your directory (say you're in `/usr/bin`) bash will just use openbox, which will prevent the grep trick." CreationDate="2010-10-21T19:58:34.667" UserId="2381" />
  <row Id="3651" PostId="3384" Score="1" Text="I misunderstood the question. Edit the question to make it clear what you meant by &quot;chapters&quot;. I assumed you just wanted to insert one part of a PDF inside another. But perhaps you mean the pdf bookmarks (i.e., which appear in the side pane for some viewers)? PDFJam might not, but the pdfpages package for PDFLaTeX, along with the LaTeX hyperref package, can handle those. pdfedit should be able to change page numbers. With pdfLaTeX/pdfpages you could clip the bottom of the page and add new ones. BRISS can crop off headers/footers too, but you'd have to add them back with something else." CreationDate="2010-10-21T20:18:42.850" UserId="1071" />
  <row Id="3652" PostId="3384" Text="Oh, and `mbPDFasm` can apparently also do stuff with bookmarks, but I've never used it: http://thierry.schmit.free.fr/spip/spip.php?article15&amp;lang=en" CreationDate="2010-10-21T20:24:12.807" UserId="1071" />
  <row Id="3653" PostId="3363" Text="On my Ubuntu box, `apropos ls` returns 329 entries, which is much more then I expected. I found that `apropos --exact ls` gave me a more concise list (2 entries)." CreationDate="2010-10-21T20:25:01.917" UserId="4" />
  <row Id="3654" PostId="3312" Text="@Gustavo well if windows isn't installed anymore then resizing from the front of the partition isn't possible. I know of no other tool that could do it." CreationDate="2010-10-21T20:27:06.063" UserId="29" />
  <row Id="3655" PostId="3384" Score="1" Text="Another: `jPDFBookmarks`: http://flavianopetrocchi.blogspot.com/2009/03/patch-for-linux-launcher.html" CreationDate="2010-10-21T20:27:20.723" UserId="1071" />
  <row Id="3656" PostId="3374" Text="@Zaid , I'm sure that wasn't what you were looking for, but Ayush's question does give you a &quot;List of *nix terminal commands&quot;, per the Subject." CreationDate="2010-10-21T20:27:26.963" UserId="4" />
  <row Id="3657" PostId="3380" Score="1" Text="Probably not since there would be an infinite number of different versions and such." CreationDate="2010-10-21T20:52:23.863" UserId="1571" />
  <row Id="3658" PostId="3380" Score="2" Text="@well, I would be fine if a site would just mention the most popular distros/most usual tasks ..." CreationDate="2010-10-21T21:08:00.777" UserId="1131" />
  <row Id="3659" PostId="3384" Text="+1 for jPDFBookmarks" CreationDate="2010-10-21T21:50:14.380" UserId="305" />
  <row Id="3660" PostId="3387" Text="It would surprise me as well! I was hoping someone with more experience with CentOS than I would chime in. " CreationDate="2010-10-22T02:58:11.570" UserId="663" />
  <row Id="3661" PostId="3393" Text="That is pretty much exactly how I do it, too." CreationDate="2010-10-22T06:36:11.680" UserId="1941" />
  <row Id="3662" PostId="3291" Text="Yes. I got the reply and it is posted here in this forum in [this link](http://unix.stackexchange.com/questions/3398/reply-from-richard-stallman-free-as-in-speech-and-free-as-in-beer) (EDIT: reposted as an answer [here](http://unix.stackexchange.com/questions/3289/free-as-in-speech-vs-free-as-in-beer/3402#3402))" CreationDate="2010-10-22T06:46:39.037" UserId="2269" />
  <row Id="3663" PostId="3368" Text="@Marcel: True and fixed. " CreationDate="2010-10-22T07:22:18.547" UserId="272" />
  <row Id="3666" PostId="2709" Score="1" Text="You may also be interested in the SO question [What's the best way to get to know linux or BSD kernel internals?](http://stackoverflow.com/q/24648/321973)" CreationDate="2010-10-22T08:50:28.503" UserId="863" />
  <row Id="3668" PostId="3394" Score="4" Text="Having different logins makes sense even if there is no &quot;security issue or something&quot;: Users should be able to customize their working environment to make them as efficient as possible, different logins allow that to happen." CreationDate="2010-10-22T09:09:24.230" UserId="33" />
  <row Id="3669" PostId="3401" Text="What makes you think it was &quot;guide&quot;? Could it be &quot;glide&quot;? Are you getting link errors? If so, what are they? Are you getting header files missing? What are the missing headers?" CreationDate="2010-10-22T09:45:21.583" UserId="1294" />
  <row Id="3670" PostId="3401" Text="I edited the answer to make it clearer." CreationDate="2010-10-22T10:21:26.813" UserId="2393" />
  <row Id="3671" PostId="3397" Score="1" Text="good approach, but root access will be needed to use `visudo`" CreationDate="2010-10-22T10:48:38.850" UserId="250" />
  <row Id="3672" PostId="3400" Text="+1 for &quot;split data from settings&quot;" CreationDate="2010-10-22T10:59:03.880" UserId="250" />
  <row Id="3674" PostId="3395" Score="2" Text="lol, POSIX does not specify anything distribution tasks specific ..." CreationDate="2010-10-22T11:43:04.143" UserId="1131" />
  <row Id="3675" PostId="3397" Score="1" Text="@phunehehe - As is the case to set up any solution." CreationDate="2010-10-22T12:13:07.457" UserId="2359" />
  <row Id="3676" PostId="3401" Score="1" Text="never heard of guide... but have heard of guile" CreationDate="2010-10-22T12:34:59.773" UserId="29" />
  <row Id="3677" PostId="67" Text="I should get these tattooed as I learned and forgot these shortcuts about a hundred times." CreationDate="2010-10-22T13:07:28.320" UserId="440" />
  <row Id="3678" PostId="3401" Score="1" Text="http://freshmeat.net/projects/xview http://freshmeat.net/projects/OWacomp Right or wrong track?" CreationDate="2010-10-22T13:53:45.483" UserId="1779" />
  <row Id="3679" PostId="3405" Text="We used to give this application to our service staff &quot;draw what you want it to look like&quot;, we would then rewrite the code ourselves as it code was horrid." CreationDate="2010-10-22T14:32:03.783" UserId="2197" />
  <row Id="3681" PostId="2212" Score="1" Text="Unrelated to the “minus” thing: Maybe change your example to something else? There are quite a couple of UNIX newbies who blindly copy&amp;paste everything they find... especially if there is no hint of what it is supposed to do." CreationDate="2010-10-22T15:40:36.710" UserId="102" />
  <row Id="3682" PostId="3409" Score="2" Text="possible duplicate of [Good Introductory resources for linux](http://unix.stackexchange.com/questions/3294/good-introductory-resources-for-linux)" CreationDate="2010-10-22T15:46:49.270" UserId="73" />
  <row Id="3683" PostId="3105" Text="so, i'm guessing that most distributions would do this kind of thing?" CreationDate="2010-10-22T15:59:11.710" UserId="2275" />
  <row Id="3685" PostId="3413" Text="was the keyboard OK when you installed Ubuntu?" CreationDate="2010-10-22T17:53:57.157" UserId="250" />
  <row Id="3686" PostId="3413" Text="BTW I think you meant &quot;Ubuntu 10.04&quot;, which is &quot;the Ubuntu that was released in April, 2010&quot; http://en.wikipedia.org/wiki/List_of_Ubuntu_releases" CreationDate="2010-10-22T17:56:33.017" UserId="250" />
  <row Id="3688" PostId="3402" Text="What is the exact meaning of &quot;free as in &quot;free speech&quot; &quot;? Is it possible to do free speech on any thing at anywhere ?" CreationDate="2010-10-22T20:49:06.317" UserId="2269" />
  <row Id="3689" PostId="3402" Score="1" Text="did you understand the concept &quot;freedom of speech&quot; http://en.wikipedia.org/wiki/Freedom_of_speech ?" CreationDate="2010-10-22T21:09:59.997" UserId="1339" />
  <row Id="3690" PostId="3415" Score="1" Text="Well, I you choose Ubuntu, you don't have to use the GUI ... Assuming that a lot of servers run Debian and RHEL they all have some GUIs in their repositories, probably Slackware as well. This kind of invalidates your first argument ..." CreationDate="2010-10-22T21:30:54.237" UserId="1131" />
  <row Id="3691" PostId="3165" Text="Here's the part from the OpenVZ patch, it does not appear to do much.&#xA;&#xA;+config VZ_FAIRSCHED                                                                                                                 &#xA;+ bool &quot;OpenVZ groups&quot;&#xA;+ help&#xA;+   This option add customizable task groups with OpenVZ compatible&#xA;+   syscall and procfs interface.&#xA;+" CreationDate="2010-10-22T22:09:32.420" UserId="1920" />
  <row Id="3692" PostId="89" Text="I started on tcsh and still like it better than bash.  But I eventually had to port my default shell over to bash because I keep logging into systems which didn't have tcsh.  Where as bash is pretty much everywhere (at lease in Linux)." CreationDate="2010-10-22T23:44:44.187" UserId="2402" />
  <row Id="3693" PostId="3422" Score="1" Text="Whats your terminal?" CreationDate="2010-10-23T00:48:31.900" UserId="1339" />
  <row Id="3694" PostId="3422" Text="How would I find that information?" CreationDate="2010-10-23T01:09:58.080" />
  <row Id="3695" PostId="3422" Text="@please: I expect that you are using a terminal emulator which is what you might call a &quot;shell window&quot; on whatever system you are running. As this is almost certainly so, your probably have a Help -&gt; About menu selection: what does that say? What operating system are you running your terminal on? (e.g. Windows, MacOS, Debian, etc.)" CreationDate="2010-10-23T03:29:02.140" UserId="1294" />
  <row Id="3696" PostId="3418" Text="+1, and I just want to add that on Windows, you can use PuTTY to ssh to a Linux/Unix machine http://www.chiark.greenend.org.uk/~sgtatham/putty/" CreationDate="2010-10-23T03:36:50.810" UserId="250" />
  <row Id="3697" PostId="3417" Text="now that you have found your own answer, please mark it as &quot;accepted&quot; by clicking on the tick" CreationDate="2010-10-23T03:39:29.900" UserId="250" />
  <row Id="3698" PostId="3418" Text="I would just note that you want to avoid `kill -9` if you can.  Try `kill PID` twice, then try `kill -INT PID` before trying `kill -9`.  SIGKILL is untrappable and thus doesn't allow the program to clean up after itself." CreationDate="2010-10-23T04:18:47.827" UserId="1207" />
  <row Id="3699" PostId="3427" Score="4" Text="Do you mean the font size of a TTY, or of a terminal within X? If the latter, which terminal emulator?" CreationDate="2010-10-23T06:13:02.450" UserId="73" />
  <row Id="3700" PostId="3401" Text="@ephemient: This was exactly what I was looking for. Thanks! I'd accept it if you'd change it to an answer instead of a comment." CreationDate="2010-10-23T06:45:02.247" UserId="2393" />
  <row Id="3701" PostId="3426" Score="1" Text="+1 for agreeing with me :P ( but good answer too )" CreationDate="2010-10-23T07:02:46.837" UserId="1327" />
  <row Id="3707" PostId="3429" Text="oh damm.. i see u said that in your question already... my bad" CreationDate="2010-10-23T10:32:24.040" UserId="1327" />
  <row Id="3708" PostId="3429" Text="ok, I've updated my question to what I think the sollution would be. I've also deleted my comments here, to clear things up a bit. Please do the same." CreationDate="2010-10-23T10:43:54.120" UserId="1327" />
  <row Id="3709" PostId="3435" Score="2" Text="In addition: You can also use `chsh`" CreationDate="2010-10-23T11:21:43.890" UserId="1339" />
  <row Id="3710" PostId="3372" Text="I think its because the first computer you log into then connects you directly to markinch bypassing it from further communication to reduce unecessary communication overhead. (?) and by the time you put the vnc client on you are already connected directly to markinch. (?)" CreationDate="2010-10-23T12:21:43.930" UserId="1325" />
  <row Id="3711" PostId="3420" Text="what is that, explain it more" CreationDate="2010-10-23T12:47:51.400" UserId="2397" />
  <row Id="3712" PostId="3435" Score="1" Text="@echox: Actually you can't. `chsh` only allows you to switch to the shells listed in `/etc/shells`, so it doesn't work for shells you installed yourself (unless you add them to `/etc/shells` yourself, but then you need root access anyway and could just as well use `usermod`)." CreationDate="2010-10-23T13:56:05.087" UserId="481" />
  <row Id="3713" PostId="3435" Text="Oh, I haven't thought of this. Yes, you are right." CreationDate="2010-10-23T14:18:17.283" UserId="1339" />
  <row Id="3714" PostId="3440" Score="2" Text="thats just bullshit, sorry." CreationDate="2010-10-23T15:03:39.357" UserId="1339" />
  <row Id="3715" PostId="3440" Text="bullshit ? what do you mean ?" CreationDate="2010-10-23T15:06:47.430" UserId="2406" />
  <row Id="3716" PostId="3439" Text="Hmm but I don't think this will be any cleaner than sourcing it. Is there a file that both zsh and bash will read?" CreationDate="2010-10-23T15:38:21.017" UserId="250" />
  <row Id="3717" PostId="3441" Text="I just wonder, because Android is Linux already, why can't one use an Android phone to boot a PC and troubleshoot?" CreationDate="2010-10-23T15:58:36.373" UserId="250" />
  <row Id="3718" PostId="3316" Text="I'm having a headslap moment here now ... I'm using `mount pisces:/media/music ~/Music/pisces` (note the machine and folder names are the same) for all ; hence my confusion. Apologies for the noise." CreationDate="2010-10-23T16:16:02.357" UserId="295" />
  <row Id="3719" PostId="3443" Text="Two more in addition to GRML: http://gparted.sourceforge.net/livecd.php and http://www.damnsmalllinux.org/" CreationDate="2010-10-23T17:56:29.297" UserId="1941" />
  <row Id="3720" PostId="3439" Text="what makes you think that sourcing or creating a symlink is not a &quot;clean&quot; solution?" CreationDate="2010-10-23T19:40:08.403" UserId="1339" />
  <row Id="3721" PostId="3431" Score="1" Text="A word of warning: experiment all you want, but don't turn on security systems on production systems if you don't understand them thoroughly. A lot of real-world exploits are against misconfigurations rather than core system flaws. With security, more features definitely doesn't imply better." CreationDate="2010-10-23T21:14:30.627" UserId="885" />
  <row Id="3722" PostId="3449" Score="2" Text="There should be a way to say &quot;automatically upvote all answers by Gilles&quot;. This would save me quite some time. No really, your answers rock. Always accurate, well written and comprehensive." CreationDate="2010-10-23T21:14:57.350" UserId="1941" />
  <row Id="3723" PostId="3440" Text="Plenty of places are Microsoft-only. I don't have statistics, but I'd be surprised if Microsoft-only admins didn't outnumber all other kinds put together by a wide margin. Very few admin jobs are unix-only (pretty much server-room/database admin jobs — if your job involves workstations, you'll have to know Windows)." CreationDate="2010-10-23T21:20:28.897" UserId="885" />
  <row Id="3724" PostId="3444" Score="4" Text="You forgot embedded programming, which is by no means a niche (unlike mainframe, these days). Some embedded systems run Linux (though far more jobs involve smaller real-time OSes — but unix system programming prepares you for that a little better than, say, Windows UI programming)." CreationDate="2010-10-23T21:23:40.620" UserId="885" />
  <row Id="3725" PostId="3434" Text="Also the `autocd` option — it doesn't look like much, but as a zsh user, it's what I miss most when I occasionally use bash (&lt;4 or unconfigured)." CreationDate="2010-10-23T21:41:57.457" UserId="885" />
  <row Id="3726" PostId="3422" Score="1" Text="There are many possibilities: your terminal is misconfigured (unlikely), your shell has wrong ideas about your terminal (less unlikely), you're getting a shell other than bash, etc. To start diagnosing, describe your OS (distribution, version, …), how you start a shell window, and the output of `echo $TERM; ps -p $$ -p $PPID` in a shell window." CreationDate="2010-10-23T22:16:51.310" UserId="885" />
  <row Id="3727" PostId="3422" Score="1" Text="What do the commands `echo $TERM` and `toe` print?" CreationDate="2010-10-23T22:20:20.087" UserId="1779" />
  <row Id="3728" PostId="3441" Text="Android is, for the most part, Linux compiled for various ARM architectures, and so what's on your phone would not boot on a PC.  Besides, the USB slave mode does not expose the root filesystem which is necessary to boot." CreationDate="2010-10-23T22:25:05.813" UserId="1779" />
  <row Id="3729" PostId="3440" Score="1" Text="In many positions at Google, you can get by with no Windows knowledge at all :)" CreationDate="2010-10-23T22:26:19.900" UserId="1779" />
  <row Id="3730" PostId="3424" Text="Wonderful!! Thank you for the detailed answer. :)" CreationDate="2010-10-23T23:02:09.343" UserId="1375" />
  <row Id="3731" PostId="3440" Text="At hostgator we have about 12 windows admins for all 3 shifts, we have well over 100 linux admins." CreationDate="2010-10-23T23:14:45.170" UserId="29" />
  <row Id="3732" PostId="2644" Score="1" Text="`zsh` should not be in `/usr/bin/` if it is it was installed wrong. all shells should be in `/bin`" CreationDate="2010-10-23T23:18:26.803" UserId="29" />
  <row Id="3733" PostId="2644" Text="what shell the root user has shouldn't affect boot. the login shell is different from what boot uses." CreationDate="2010-10-23T23:20:39.373" UserId="29" />
  <row Id="3734" PostId="3441" Text="Could you clarify that comment?  Are you saying that my goal here is unachievable?" CreationDate="2010-10-23T23:34:34.537" UserId="2411" />
  <row Id="3735" PostId="3458" Score="2" Text="note: always remember to backup `/etc/localdomains` and `/etc/remotedomains` before doing stuff like this." CreationDate="2010-10-24T04:03:40.840" UserId="29" />
  <row Id="3736" PostId="3462" Text="There's no point using `tr`, since i believe OP wants to get rid of extra commands. Just one awk command does the job." CreationDate="2010-10-24T04:23:10.433" UserId="1606" />
  <row Id="3737" PostId="3460" Text="no need to use the extra brackets in `/(user)/` . Just `/user/` will do" CreationDate="2010-10-24T04:25:10.387" UserId="1606" />
  <row Id="3738" PostId="3462" Text="yeah it's more of a what's the point of piping to sed when awk can do it all, and in this case I believe is more effective than sed. corrected my question to be more straightforward on that." CreationDate="2010-10-24T04:48:00.390" UserId="29" />
  <row Id="3739" PostId="3464" Text="I think the following sed formulation is a bit easier to read: `command | sed 's/\(.\{8\}\).*/\1/'` or if your sed supports it: `command | sed -r 's/(.{8}).*/\1/'`; Otherwise, +1" CreationDate="2010-10-24T04:48:22.643" UserId="1207" />
  <row Id="3740" PostId="3469" Text="I always thought it was &quot;runtime configuration&quot; huh, but this seems to have more evidence as to be correct." CreationDate="2010-10-24T05:08:57.993" UserId="29" />
  <row Id="3741" PostId="3469" Score="3" Text="I tend to see it as more of a historical name than meaningful at this point. Many uses of &quot;rc&quot; aren't really &quot;run commands&quot; anymore, unless you want to be pedantic and call assignment a command; often, a program's rc file is just config parameter values. Completely correct answer though :)" CreationDate="2010-10-24T05:12:24.660" UserId="2376" />
  <row Id="3742" PostId="3440" Text="@echox, @Gilles: Sure, there are plenty of windows servers out there. There are also tons of *nix servers, creating plenty of sysadmin work for *nix people, whether or not windows exists. And of course, someone with a lot of *nix experience may be quite capable of dealing with windows workstations too. The SAs at my job certainly are." CreationDate="2010-10-24T05:15:50.790" UserId="2376" />
  <row Id="3743" PostId="3367" Text="@Marcel: The OP did kind of imply it was in a flat directory - your answer may well be the best one." CreationDate="2010-10-24T05:19:11.333" UserId="2376" />
  <row Id="3744" PostId="3471" Score="2" Text="Interesting.  In both cases the ultimate source is esr." CreationDate="2010-10-24T06:18:16.820" UserId="1207" />
  <row Id="3745" PostId="3439" Text="I just meant to say if needed, I'd like to source the file rather than to manage the symlink. I don't want to create a lot of dependency between files." CreationDate="2010-10-24T06:24:19.523" UserId="250" />
  <row Id="3746" PostId="3456" Text="oops sorry I made a mistake, actually on my computer both `bash` and `zsh` are in `/bin`" CreationDate="2010-10-24T06:32:36.293" UserId="250" />
  <row Id="3747" PostId="3452" Text="For the dependency reason I think it makes sense to leave the shell as is so that a big system modification (like an upgrade) won't mess things up. I agree it's easy to fix with a live CD or USB, but I shouldn't have to fix it in the first place." CreationDate="2010-10-24T06:48:34.803" UserId="250" />
  <row Id="3748" PostId="2750" Text="hmm now I believe so... I tried on another machine and it wasn't &quot;locked&quot;" CreationDate="2010-10-24T07:01:54.213" UserId="250" />
  <row Id="3751" PostId="3475" Text="can I use something like *remote desktop* to work with sql server? and IDE(visual studio) is not important for me to write my c# codes. can I use something else?" CreationDate="2010-10-24T08:07:08.587" UserId="2414" />
  <row Id="3752" PostId="3466" Text="I wonder what difference it will make to your prompt? A few milliseconds cannot cause problems, can they?" CreationDate="2010-10-24T08:20:43.257" UserId="250" />
  <row Id="3753" PostId="3453" Text="Thanks. Vnstat works like a charm" CreationDate="2010-10-24T08:51:49.167" UserId="1797" />
  <row Id="3754" PostId="3466" Score="1" Text="There are some commands which will take a little bit longer ;-)" CreationDate="2010-10-24T09:45:04.643" UserId="1339" />
  <row Id="3755" PostId="3460" Text="@user: Right, no idea how those got there." CreationDate="2010-10-24T10:44:12.160" UserId="481" />
  <row Id="3756" PostId="3445" Text="among other good answers I think this one suits me the best, relatively simple and &quot;clean&quot;" CreationDate="2010-10-24T12:05:53.537" UserId="250" />
  <row Id="3761" PostId="3482" Text="Thanks, however, now I don't know how I can validate this anser. E.g could I write the number 65 and in some way print that with a command?" CreationDate="2010-10-24T15:41:34.367" UserId="1615" />
  <row Id="3762" PostId="3482" Score="1" Text="@Jonas: `hexdump file` will display the bytes in a file as hex." CreationDate="2010-10-24T15:42:23.183" UserId="481" />
  <row Id="3763" PostId="3482" Text="Thanks for `hexdump`. I added that to my question. However I don't think echoing the hexnumber is working. When I look at the file with `hexdump file` I get `0000000 785c 0041 0000003` and I get a different value for `echo -n '\xa` &gt; file`" CreationDate="2010-10-24T15:55:03.920" UserId="1615" />
  <row Id="3764" PostId="3482" Text="The file seems to contain something more than a number, and with `hexdump` should the hexvalue `\xA` be shown as `A` or `a`? But it doesn't in this case." CreationDate="2010-10-24T15:58:14.950" UserId="1615" />
  <row Id="3766" PostId="3482" Score="1" Text="@Jonas: Ok, my bad. I tested this in `zsh` and apparently zsh's `echo` behaves differently than bash's. In bash you need the `-e` option to echo for `\x` to work." CreationDate="2010-10-24T16:01:28.267" UserId="481" />
  <row Id="3767" PostId="3483" Text="Thanks, but I think I get wrong result. I get `Cg==` where C=2 and g=32 according to [Wikipedia](http://en.wikipedia.org/wiki/Base64), why is that? Shouldn't it be `K` and maybe some padding with `==`? And a single number in base 10 should be only one number/letter in base 64." CreationDate="2010-10-24T16:31:20.763" UserId="1615" />
  <row Id="3768" PostId="3483" Score="1" Text="@Jonas: No, that's exactly the right result. See my explanation." CreationDate="2010-10-24T16:37:21.137" UserId="481" />
  <row Id="3769" PostId="3482" Text="When I do `hexdump file` I get two lines, one with `0000000 000a` and that is clearly one address and the integer 10, but the second line is only `0000001`, what doeas this mean, is there a `EOF` or is it just a way by `hexdump` to show the end of file? Or is there something more than the four byte integer in the file?" CreationDate="2010-10-24T16:40:18.817" UserId="1615" />
  <row Id="3770" PostId="3482" Text="@Jonas: It's just how `hexdump` displays the file." CreationDate="2010-10-24T16:41:46.580" UserId="481" />
  <row Id="3771" PostId="3440" Text="It's not bullshit, but may vary depending on your industry, location and peer group. From my experience in the San Francisco Bay Area, Windows admins outnumber Unix admins for internal corporate systems where products like Windows Desktop and Microsoft Exchange dominate. Unix admins outnumber Windows admin in production environments (Email, Web &amp; Database applications). And around here, it seems there are many of Unix-based web applications, and very few Windows-based web applications" CreationDate="2010-10-24T16:46:36.653" UserId="4" />
  <row Id="3772" PostId="3483" Text="Thanks for the explanation. I understand this now. But how can I check the Base64 for a number, without using the binary representation that is used by computers (always 32 bit) e.g. using 4 bits for the number ten and no padding. Maybe this isn't possible with the `base64` command. In that way `10` should be `K`. I tried with `echo -en '\b1010' | base64` but it didn't work." CreationDate="2010-10-24T16:52:28.897" UserId="1615" />
  <row Id="3773" PostId="3483" Text="I mean the base64 implementation referenced as `base64url` on [Wikipedia](http://en.wikipedia.org/wiki/Base64). But I guess that this isn't available as a command in Bash. So I probably have to find it somewhere or implement it myself. Thanks anyway." CreationDate="2010-10-24T17:11:37.780" UserId="1615" />
  <row Id="3774" PostId="3483" Text="@Jonas: Yeah, you can't really do it. It's not possible to create a file that's less than one byte big (or write less than one byte to a stream or pass a number that's less than one byte big to a function in C - everything is at least one byte in the computer). What you can do is shift the number two bits to the left and then call base64 on that. This will give you two 6lets the latter of which will be 0 and the former will be the number you want." CreationDate="2010-10-24T17:14:15.740" UserId="481" />
  <row Id="3775" PostId="3483" Text="@Jonas: I'm not sure why you mention urls all of the sudden. Urls are strings (which still consist of bytes), not integers. So I don't see how 10 becoming K has anything to do with URLs." CreationDate="2010-10-24T17:17:12.820" UserId="481" />
  <row Id="3776" PostId="3483" Text="Yes, computers represent integers with fixed 32 bits, but when you convert it to ASCII you can skip leading zeros so `00001010` become `1010`, it is still the same decimal value, `10` and this is possible in computers. I didn't mention URLs but `base64url` that do exactly the encoding I want to do, without the leadin zeros. Simply I want to transform IDs (integer) from a database to the shortest possible ASCII sequence that is compatible with URLs. E.g if the ID is 1223347 that can be represented with only **four** ascii letters using base64url and not **seven** as with int.  " CreationDate="2010-10-24T17:37:49.843" UserId="1615" />
  <row Id="3777" PostId="3483" Text="This is common in URL shorteners. See [URL shortener: best encoding method?](http://stackoverflow.com/questions/2375968/url-shortener-best-encoding-method/2376044#2376044) on StackOverflow." CreationDate="2010-10-24T17:40:35.443" UserId="1615" />
  <row Id="3778" PostId="3483" Text="@Jonas: That's completely wrong. The ASCII string 00001010 is 8 bytes long (i.e. 64 bits). The String 1010 is 4 bytes long. None of those bytes have the value 10." CreationDate="2010-10-24T17:40:57.883" UserId="481" />
  <row Id="3779" PostId="3483" Text="You are misunderstanding me. The decimal value 10, can be represented with **four bits** `1010` and in computers with **one byte** using four leading zeros `00001010`, both these bit sequences represent the decimal value `10` and can be represented with `K` using `base64url`. " CreationDate="2010-10-24T17:45:26.913" UserId="1615" />
  <row Id="3780" PostId="3483" Text="@Jonas: All of that is correct, except the &quot;and can be represented with K using base64url&quot; bit. The table that maps 10 to K is something that is applied after the byte sequence has been split into 6lets. If the letter K appears in the base64 code that does *not* mean that the number 10 appeared in the original data as a byte, an 32-bit integer, the ASCII string &quot;10&quot; or in any other form. It just means that after splitting into 6lets you got a 10 somewhere." CreationDate="2010-10-24T17:49:54.960" UserId="481" />
  <row Id="3781" PostId="3483" Text="No, the algorithm you talk about is `base64` and it works on bytes (bit sequeces fixed to 8 bits), but I talks about `base64url` that works on binary numbers (no fixed length) where decimal `10` is represented by `K`. Clearly I don't want to involve bytes at all." CreationDate="2010-10-24T18:07:05.897" UserId="1615" />
  <row Id="3782" PostId="3483" Text="@Jonas: base64url works on URLs, which are strings. And the string 10 is encoded as MTA, not K." CreationDate="2010-10-24T18:10:25.083" UserId="481" />
  <row Id="3783" PostId="3483" Text="@Jonas: The only difference between base64 and base64url is that base64 will encode the string &quot;10&quot; as MTA=, while base64url will encode it as MTA." CreationDate="2010-10-24T18:12:22.897" UserId="481" />
  <row Id="3784" PostId="3483" Text="Okey, if that is the case I have to implement my own `base64notdumb` that just skips the leading zeros." CreationDate="2010-10-24T18:17:25.153" UserId="1615" />
  <row Id="3785" PostId="3483" Text="@Jonas: I still don't see what you're trying to do. If you're trying to encode an URL, I don't understand why you're talking about numbers all the times, because URLs generally consist out of ASCII characters. If you're trying to do something else, it will probably be helpful if you explain what that is." CreationDate="2010-10-24T18:20:41.983" UserId="481" />
  <row Id="3786" PostId="3463" Text="What's the $2~ part about?" CreationDate="2010-10-24T18:27:07.103" UserId="2130" />
  <row Id="3787" PostId="3484" Text="That would be my advice, too. Seems like vi mode is enabled in the shell. " CreationDate="2010-10-24T18:29:31.790" UserId="2091" />
  <row Id="3788" PostId="3483" Text="Again, I'm not going to encode URLs, but numbers, and I want them in the shortest possible ASCII compatible with URLs. I will encode the ID (integer) column from a database. So the ID 10 can shortest be represented with `K` using `The Base64 index table`." CreationDate="2010-10-24T18:33:16.937" UserId="1615" />
  <row Id="3789" PostId="3483" Text="However, it most be much better performance using the algorithm you mention, so I think I'll go with that one. I think that I can convert a `base64` string to a `base64url` by dropping the `=`:s at the end and then replace `+` with `-` and `/` with `_`. Or is there a command in Linux that can convert the base64-string? I can use a regex otherwise. +1 Thanks for a great explaination of `base64` and `base64url`." CreationDate="2010-10-24T19:02:09.470" UserId="1615" />
  <row Id="3792" PostId="3482" Text="In bash, you could confirm the number that you put into the file using something like: `printf '%d' $(hexdump -v -e '/1 &quot;0x%02x&quot;' file)`" CreationDate="2010-10-24T19:18:59.023" UserId="1207" />
  <row Id="3793" PostId="3482" Text="Also, you can do the conversion to hex in-line, like so: `echo -ne $(printf '\\x%x' 10) &gt; file`&#xA;" CreationDate="2010-10-24T19:21:06.793" UserId="1207" />
  <row Id="3794" PostId="3463" Text="@kizzx2: A bare `/user/` is like `$0 ~ /user/` – `$2 ~ /user/` means &quot;does `$2` match `/user/`&quot;?  Also, if the string `user` can vary depending on input, be sure to use `-v` to avoid having to deal with quoting issues, e.g. `awk -v &quot;user=$USER&quot; '$2==user{print$1}'`." CreationDate="2010-10-24T20:11:18.613" UserId="1779" />
  <row Id="3795" PostId="3441" Score="1" Text="I'm saying that @phunehehe's comment is unreasonable.  @maxschlepzig's answer seems likely to work, although it has absolutely nothing to do with the Linux running on the phone itself." CreationDate="2010-10-24T20:15:25.900" UserId="1779" />
  <row Id="3796" PostId="3475" Text="@LIX yes you can remote desktop into a windows server and access whatever from there. Alternatively you could also run windows in a virtual machine (probably kvm) for local development. Remote desktop clients for windows have the letters &quot;rdc&quot; in the name. So `krdc` is the remote client for KDE." CreationDate="2010-10-24T20:20:18.373" UserId="29" />
  <row Id="3797" PostId="3487" Text="relatime should be redundant on recent kernels it's the default now, iirc." CreationDate="2010-10-24T20:54:27.660" UserId="29" />
  <row Id="3798" PostId="3487" Text="Thanks, changed." CreationDate="2010-10-24T20:55:18.533" UserId="1941" />
  <row Id="3799" PostId="3455" Text="Note that `cut -c` selects characters; `cut -b` or `head -c` selects bytes. This makes a difference in some locales (in practice, when using UTF-8)." CreationDate="2010-10-24T22:07:54.603" UserId="885" />
  <row Id="3800" PostId="3425" Text="@Mipnix: It would help to have more context. What program is this bug report about? What are the actions leading to this error message? What is the program doing?" CreationDate="2010-10-24T22:11:26.913" UserId="885" />
  <row Id="3801" PostId="3080" Text="vbrfix did the job on my files.  Thanks." CreationDate="2010-10-24T22:15:09.830" UserId="2150" />
  <row Id="3802" PostId="3080" Score="1" Text="  &quot;for i in 1 2 3 4 5; do vbrfix -always -log EndersGame$i.mp3 EG$i.mp3; done&quot;&#xA;&#xA;was the command I used to save on some typing." CreationDate="2010-10-24T22:18:38.810" UserId="2150" />
  <row Id="3803" PostId="3467" Score="1" Text="See also [the same question at Super User](http://superuser.com/questions/144339/sayvimrcor-screenrc-what-does-the-rc-mean), where an answer cites [the comp.unix.* FAQ](http://www.faqs.org/faqs/unix-faq/faq/part1/section-3.html)." CreationDate="2010-10-24T22:19:13.867" UserId="885" />
  <row Id="3804" PostId="2362" Text="Accepting this since `uptime` suggestion is simple and useful." CreationDate="2010-10-24T22:23:37.673" UserId="1959" />
  <row Id="3805" PostId="3486" Text="This would depend on your unix variant and partitioning method. Some partitioning methods (such as the usual PC one) don't support labels, but most filesystems do, which may be enough for you." CreationDate="2010-10-24T22:33:31.710" UserId="885" />
  <row Id="3806" PostId="3425" Text="I am not sure with what program this is associated. On my home screen, along the top bar, I receive a notification for a bug report. A google search indicates this is a common message associated with a new install or an update. The bug report itself indicates it is not a security issue but I don't know enough to not be concerned with random programs trying to access some files. The attached bug report is all I know. I am sorry I don't know enough to provide more information. Where could I obtain what I should provide?" CreationDate="2010-10-24T23:19:09.977" UserId="2404" />
  <row Id="3807" PostId="2644" Score="1" Text="@xenoterracide: zsh on Gentoo is in `/bin` but keeps some files in `/usr/share`. Also I clearly stated that problem is during **login** during boot (when some service fails). " CreationDate="2010-10-24T23:54:36.203" UserId="305" />
  <row Id="3808" PostId="3471" Score="1" Text="ESR did not necessarily author the entries in the Jargon File. Especially for the older bits, they were quite possibly inherited before he took over maintainership." CreationDate="2010-10-25T02:55:47.170" UserId="54" />
  <row Id="3809" PostId="3475" Text="There is rdesktop as well and tsclient is a wrapper for remote desktop protocols, it covers VNC, Citrix and X-Server as well." CreationDate="2010-10-25T05:07:34.037" UserId="678" />
  <row Id="3810" PostId="3450" Text="@Gilles, please explain how to make sure that you don't do it from shells that are not interactive." CreationDate="2010-10-25T09:24:38.913" UserId="1170" />
  <row Id="3811" PostId="3488" Score="1" Text="kvm isn't bad for virtualization, and it's built into linux now." CreationDate="2010-10-25T12:55:50.783" UserId="29" />
  <row Id="3813" PostId="3367" Text="@Marcel : of course, my point was just to say that one could use the maxdepth flag to control deepness. Moreoever, find will allow you to do more elaborate things (like deleting only old files etc...)" CreationDate="2010-10-25T14:40:20.610" UserId="2249" />
  <row Id="3814" PostId="3488" Text="IMO, KVM is not that friendly to the desktop user." CreationDate="2010-10-25T14:44:19.763" UserId="125" />
  <row Id="3815" PostId="3493" Text="Sadly, this sounds like it means I can't hear the sound myself, which isn't good enough." CreationDate="2010-10-25T17:55:02.740" UserId="131" />
  <row Id="3816" PostId="3494" Score="1" Text="The inotify API (which is what inotifywait, incron and inoticoming use) is for monitoring changes to *local* files. What you're looking for is a notification of a change on Dropbox's servers. This is [an FAQ on the Dropbox forums](http://forums.dropbox.com/tags.php?tag=notification), and the standard answer is to use RSS (plus an RSS-to-email gateway if you really want email)." CreationDate="2010-10-25T18:18:41.133" UserId="885" />
  <row Id="3817" PostId="3495" Text="`inotifywait` is the basic utility built on the inotify API, and `incron` and `inoticoming` are others. But that's not relevant to monitor a change on a remote server." CreationDate="2010-10-25T18:22:54.607" UserId="885" />
  <row Id="3818" PostId="3265" Score="1" Text="If you believe you are being bitten by the specific bug I mention here, please do not post a &quot;me too&quot; answer--since it really isn't an answer.  Feel free to upvote this question to encourage others to respond to it.  In the end, a good answer would provide not only advice to solve this particular problem, but advice for debugging these types of issues." CreationDate="2010-10-25T19:12:26.377" UserId="1207" />
  <row Id="3819" PostId="3494" Text="Thanks, Gilles. That should work just fine!" CreationDate="2010-10-25T19:12:26.970" UserId="2333" />
  <row Id="3820" PostId="2558" Text="Thanks, in the end I went with the rsync approach." CreationDate="2010-10-25T19:16:53.057" UserId="1207" />
  <row Id="3821" PostId="3501" Text="what does `set -e` do?" CreationDate="2010-10-25T20:47:28.683" UserId="1327" />
  <row Id="3822" PostId="3501" Score="1" Text="@Stefan: `set -e` tells the shell to stop the script as soon as a command returns a nonzero status (conventionally indicating a failure). (If a command is allowed to fail, such as `ln` in my answer, adding `|| true` after it ensures that that command as a whole always succeeds and won't terminate the script.)" CreationDate="2010-10-25T21:00:33.903" UserId="885" />
  <row Id="3824" PostId="3504" Score="2" Text="It would help if you could provide details of both sets of VPN technologies in question." CreationDate="2010-10-25T21:33:16.600" UserId="2359" />
  <row Id="3825" PostId="3048" Text="raid10 would imply to me at least 4 devices; you seem to be effectively operating in raid1 mode." CreationDate="2010-10-25T22:05:16.727" UserId="1779" />
  <row Id="3828" PostId="3048" Text="Regarding *update 2*: could you provide details such as (1) what disks are in your system, (2) what device your / and /boot reside on, (c) what bootloader you are using?" CreationDate="2010-10-26T00:14:14.850" UserId="1779" />
  <row Id="3830" PostId="3515" Text="yep that caused confusion to me as well, they shouldn't have exposed the whole repository via the download page" CreationDate="2010-10-26T03:31:25.533" UserId="250" />
  <row Id="3831" PostId="3515" Text="FWIW: it will always be possible to use &quot;normal&quot; GNOME even if *Unity* becomes the default (just like you can use KDE or XFCE or whatever)." CreationDate="2010-10-26T04:00:28.833" UserId="1002" />
  <row Id="3832" PostId="3519" Text="@phunehehe : Thanks. `it does work, though`, you mean it is working on your machine? Secondly, as you pointed out using pipe we can only redirect stdout. I am interested in some command or bash feature that will let me redirect stderr. (but not the temp file trick)" CreationDate="2010-10-26T04:07:55.047" UserId="2045" />
  <row Id="3833" PostId="3518" Score="1" Text="Those commands check the files **after** they are installed.  (Of course packages are also checked after downloading &amp; before installing, but that's unrelated though.)" CreationDate="2010-10-26T04:17:57.970" UserId="1002" />
  <row Id="3834" PostId="3519" Text="@Andrew I mean, the command works the way it has been designed to work. It just doesn't work the way you want it to :)" CreationDate="2010-10-26T04:25:44.160" UserId="250" />
  <row Id="3835" PostId="3519" Text="I don't know of any way that can redirect error output of a command to standard input of another. Would be interesting if someone can point that out." CreationDate="2010-10-26T04:31:04.517" UserId="250" />
  <row Id="3836" PostId="3488" Text="You can use `kvm` with any tool based on libvirt, and some of these are certainly usable on a desktop (e.g. `virt-manager`)." CreationDate="2010-10-26T04:42:08.733" UserId="1002" />
  <row Id="3837" PostId="3485" Text="I assume Go-OO will go away now that there is LibreOffice." CreationDate="2010-10-26T04:46:47.887" UserId="1002" />
  <row Id="3838" PostId="3515" Text="@JanC... Thanks. I thought that might be the case... but taking a &quot;native&quot; look at Debian will tell me what the current differences are... It's all griss to the mill... Unity might be fine (as long as it doesn't remind me of Windows :)" CreationDate="2010-10-26T05:08:16.393" UserId="2343" />
  <row Id="3839" PostId="3504" Score="2" Text="Maybe routing goes wrong? Issue the command route before and after connecting to the client VPN and compare against the routes on a Windows machine." CreationDate="2010-10-26T07:48:15.120" UserId="1941" />
  <row Id="3840" PostId="3066" Text="Eventually Gloval Shortcuts just seemed to work again." CreationDate="2010-10-26T09:57:56.083" UserId="2274" />
  <row Id="3841" PostId="3066" Text="I would still like to know what could be wrong." CreationDate="2010-10-26T09:58:16.520" UserId="2274" />
  <row Id="3843" PostId="3485" Text="You are right, I forgot about Crossover Office. But honestly, I am not a big fan of not using native Software." CreationDate="2010-10-26T11:04:20.153" UserId="678" />
  <row Id="3845" PostId="3488" Text="I thought kvm was pretty easy once qemu was installed to work with it... but that's just me" CreationDate="2010-10-26T11:32:55.440" UserId="29" />
  <row Id="3846" PostId="3485" Text="@JanC I refuse  to speculate, honestly I use google docs now on the rare occasion I need an office product. @ddeimeke me too... but I will admit that MS Office does some things that OOo (and forks) can't, and sometimes it's require due to proprietary needs. I'd rather someone use linux, and run Crossover for Office etc, than run windows because no one told them about Crossover and they need office." CreationDate="2010-10-26T11:34:46.560" UserId="29" />
  <row Id="3848" PostId="3525" Text="@Maciej Piechotka Do you happen to remember what that is?" CreationDate="2010-10-26T14:03:41.363" UserId="916" />
  <row Id="3849" PostId="3525" Text="@Hank Gay: Ups. Sorry for deleting - I posted what I found as an answer." CreationDate="2010-10-26T14:26:31.483" UserId="305" />
  <row Id="3850" PostId="3289" Text="Renjith, would examples of the drastically different license terms for various software help you understand?" CreationDate="2010-10-26T17:09:44.807" UserId="614" />
  <row Id="3851" PostId="3485" Text="@xenoterracide At work I am forced to use MS Office. For the documents I need at home (these are only about ten per year ...) I use LaTeX, seldomly AbiWord and Gnumeric." CreationDate="2010-10-26T17:30:41.493" UserId="678" />
  <row Id="3852" PostId="3535" Score="1" Text="In my case, it was occurring because of a misconfigured GlusterFS mount point, but I was curious about the general case that would cause this to happen. Would this type of question really be a homework problem in a class?" CreationDate="2010-10-26T17:54:08.560" UserId="663" />
  <row Id="3853" PostId="3521" Text="Related: http://stackoverflow.com/questions/2871233/write-stdout-stderr-to-a-logfile-also-write-stderr-to-screen" CreationDate="2010-10-26T18:00:41.207" UserId="4" />
  <row Id="3854" PostId="3216" Text="No one knows, huh?" CreationDate="2010-10-26T18:00:49.927" UserId="2320" />
  <row Id="3855" PostId="3514" Score="1" Text="I believe that `grep` can only operate on stdout (Although I can't find the canonical source to back that up), which means that any stream needs to be converted to stdout first." CreationDate="2010-10-26T18:20:22.877" UserId="4" />
  <row Id="3856" PostId="2872" Text="Your last para - I think that would be a good place to start. Then I'll know what is there and why it is there, using it as a base to grow." CreationDate="2010-10-26T18:35:25.293" UserId="2141" />
  <row Id="3857" PostId="2773" Text="@p-static: I'm using an old box as print-server - it still has a 8 1/4 inch floppy drive &amp; I just tested it with 20-year-old floppies - amazingly the floppies are still OK! with uncorrupted data on them too (turbo pascal v3 code from student days)." CreationDate="2010-10-26T18:40:44.307" UserId="2141" />
  <row Id="3858" PostId="3520" Text="@Steven: The problem with your command is not portability (it's specific to bash, of course, but there's no problem on the grep side). The problem is that you're grabbing some lines in function definitions. Bash indents most of the function code, but not all of it, in particular not text inside here documents (`f () {|cat &lt;&lt;EOF|foo=bar|EOF|}` where `|` represents a line break)." CreationDate="2010-10-26T19:01:14.710" UserId="885" />
  <row Id="3859" PostId="3517" Text="I run the code for setting the variable in the buffer I was running fill-paragraph." CreationDate="2010-10-26T19:13:29.623" UserId="2150" />
  <row Id="3860" PostId="3514" Score="3" Text="@Stefan: `grep` can only operate on stdin. It's the pipe created by the shell that connects grep's stdin to the other command's stdout. And the shell can only connect an stdout to an stdin." CreationDate="2010-10-26T19:16:44.173" UserId="885" />
  <row Id="3861" PostId="3535" Score="2" Text="The general case is the current directory not existing. Apart from its having been deleted as in maxschlepzig's example, this can only happen in weird circumstances like a misbehaving filesystem (your case), or perhaps a security mechanism like SELinux having made the directory invisible (I don't know if SELinux can actually produce this effect)." CreationDate="2010-10-26T19:51:10.030" UserId="885" />
  <row Id="3862" PostId="3535" Text="@lorin: Well, at a Unix introduction course in university we asked such kind of questions as part of homework assignments (because e.g. NFS problems may manifest in similar error messages). Just have asked out of curiosity ..." CreationDate="2010-10-26T20:35:52.650" UserId="1131" />
  <row Id="3863" PostId="3535" Text="@Gilles: If you add your comment as an answer, I'll accept it. " CreationDate="2010-10-26T20:50:11.827" UserId="663" />
  <row Id="3864" PostId="3535" Text="@lorin: go ahead and accept this answer, with the comments it's perfectly acceptable." CreationDate="2010-10-26T21:06:31.370" UserId="885" />
  <row Id="3865" PostId="3538" Text="Indeed. Changing the size a little bit did the trick." CreationDate="2010-10-26T21:14:53.740" UserId="2443" />
  <row Id="3866" PostId="3538" Text="defintely a bug, anyone know if it's been reported on [bugs.kde.org](http://bugs.kde.org)? maybe have a link to the bug?" CreationDate="2010-10-26T21:46:05.940" UserId="29" />
  <row Id="3867" PostId="3534" Text="@Rene just as a note, you can now upload images to SE" CreationDate="2010-10-26T21:47:58.573" UserId="29" />
  <row Id="3868" PostId="3485" Text="@ddeimeke just saying that some people might need MS Office to actually do whatever it is there doing." CreationDate="2010-10-26T21:49:07.667" UserId="29" />
  <row Id="3869" PostId="3265" Text="Deleted after clarification on Teachers' Lounge. The only potentially valuable informations is `No LSB modules are available.` displayed just after `lsb_release -a`." CreationDate="2010-10-26T22:01:00.767" UserId="305" />
  <row Id="3870" PostId="3544" Score="1" Text="umm... how do you figure this is for security? removing comments will not enhance your security (unless you have a backdoor password in your comments, in which case nothing can help you)" CreationDate="2010-10-26T22:21:31.793" UserId="29" />
  <row Id="3871" PostId="3537" Score="1" Text="actually arch linux is the only distro that uses `/etc/rc.d` that I've seen... I suspect it might be used in bsd." CreationDate="2010-10-26T22:24:21.257" UserId="29" />
  <row Id="3872" PostId="3544" Text="@xenoterracide: The normal password would pose problem. Backdoor password might be deduced from code." CreationDate="2010-10-26T22:36:48.753" UserId="305" />
  <row Id="3873" PostId="3544" Text="I'm handing the code over to another party.  It's a legal thing - that's all." CreationDate="2010-10-26T22:39:52.573" UserId="2446" />
  <row Id="3874" PostId="1998" Text="Yes, but we have a console app that needs access to a smb share to retrieve files. Using fstab makes it hands off for our users. It's an internal read-only share with known credentials so I would assume its green in this situation." CreationDate="2010-10-26T22:40:49.957" UserId="1663" />
  <row Id="3875" PostId="3541" Text="Sorry, but /etc/init.d is the standard, as part of the SVR4 standard that Linux start scripts copied." CreationDate="2010-10-26T23:17:07.183" UserId="2381" />
  <row Id="3876" PostId="2033" Score="1" Text="I sometimes wonder whether this says more about Lisp or about Emacs, and whether that is good or bad..." CreationDate="2010-10-26T23:29:36.803" UserId="614" />
  <row Id="3877" PostId="3535" Score="2" Text="In the original answer, no need for another terminal: `rmdir ../foo` in the same terminal should work.  Another possibility without misbehaving filesystems: `ln -s directory-that-doesnt-exist/foo foo; touch foo`." CreationDate="2010-10-27T03:16:20.147" UserId="1779" />
  <row Id="3878" PostId="3539" Text="Great solution!  I didn't even think of just stopping at the first line that doesn't have a '='. +1" CreationDate="2010-10-27T03:34:37.000" UserId="1207" />
  <row Id="3879" PostId="3485" Text="@xenoterracide I agree!" CreationDate="2010-10-27T04:56:26.740" UserId="678" />
  <row Id="3880" PostId="3496" Text="I installed an ubuntu9 on VM, and it worked. unfortunately I don't have access on redhat 4.7   " CreationDate="2010-10-27T05:27:39.370" UserId="2414" />
  <row Id="3881" PostId="3555" Score="1" Text="Note that you are also going to have problems with strings that happen to have &quot;//&quot; inside them and likely other issues." CreationDate="2010-10-27T06:08:41.447" UserId="1207" />
  <row Id="3882" PostId="3420" Text="how should i do that?" CreationDate="2010-10-27T07:57:29.760" UserId="2397" />
  <row Id="3883" PostId="3551" Text="apparently `:set cryptmethod` isn't an option before 7.3" CreationDate="2010-10-27T09:42:38.600" UserId="29" />
  <row Id="3884" PostId="3549" Text="Wouldn't you need to put that in the `.bashrc` of the remote machine though, since that's the one that draws the shell? He said he's looking for a way to do it without modifying the remote configuration" CreationDate="2010-10-27T10:48:56.147" UserId="73" />
  <row Id="3885" PostId="3557" Text="Using PHP's tokenizer itself is probably the only safe way; any way involving perl/awk/whatever is going to have problems with things like `$foo = &quot;// you shouldn't be touching this!&quot;;`" CreationDate="2010-10-27T10:50:38.190" UserId="73" />
  <row Id="3886" PostId="3561" Text="Is the file downloaded with 1.10.2 correct?" CreationDate="2010-10-27T12:24:44.560" UserId="73" />
  <row Id="3887" PostId="3310" Text="What are you missing from the existing answers, which made you open up a bounty?" CreationDate="2010-10-27T12:45:00.787" UserId="2327" />
  <row Id="3888" PostId="3562" Text="I added wireshark dump. The communication is different from start for each version." CreationDate="2010-10-27T13:07:40.480" UserId="2156" />
  <row Id="3889" PostId="3561" Text="Yes, the file downloaded with 1.10.2 is correct." CreationDate="2010-10-27T13:09:49.960" UserId="2156" />
  <row Id="3890" PostId="2550" Text="+1 ufw is very easy to use and it is easy to transition to iptables after that because the abstraction level is just right (not too high like point-and-click, and not too low because of the nice defaults)." CreationDate="2010-10-27T14:21:47.370" UserId="1416" />
  <row Id="3891" PostId="3534" Text="@xenoterracide Thanks, hadn't noticed the tiny icon on the toolbar - I've never had reason to use the toolbar as I can code in markdown blind-folded :)" CreationDate="2010-10-27T14:22:58.430" UserId="2443" />
  <row Id="3893" PostId="3514" Text="Whoops, you're right. I think that's what I really meant to say , I just didn't think it through. Thanks @Giles." CreationDate="2010-10-27T17:37:39.813" UserId="4" />
  <row Id="3894" PostId="3549" Text="@Michael: I understood that as not needing to modify the color settings of individual applications (as in, not changing `$LS_COLORS` and face settings in `.emacs` and filetype settings in `.vimrc` and so on). If the remote `.bashrc` must not change, a wrapper around ssh is another possibility. Come to think of it, it's more reliable since you'd have to change the colors back when the ssh session ends." CreationDate="2010-10-27T17:38:43.590" UserId="885" />
  <row Id="3895" PostId="3549" Text="No, I don't want to change the remote machine at all. I'll update my post" CreationDate="2010-10-27T19:35:12.220" UserId="1571" />
  <row Id="3896" PostId="3569" Text="@Michael, What if my system has neither ssh server or sudo? Can you mention that portion on the answer?" CreationDate="2010-10-27T19:52:33.367" UserId="688" />
  <row Id="3897" PostId="3569" Text="ok, Pratt answered that one" CreationDate="2010-10-27T20:01:26.877" UserId="688" />
  <row Id="3899" PostId="3572" Score="1" Text="Also, `su - [user]` may be useful -- the extra dash gives you a login shell." CreationDate="2010-10-27T20:40:49.053" UserId="1779" />
  <row Id="3900" PostId="3569" Score="1" Text="`sudo -s` gives you a shell like `su`, `sudo -i` simulates login like `su -`.  Can be combined with `-u $user`, of course." CreationDate="2010-10-27T20:41:41.223" UserId="1779" />
  <row Id="3901" PostId="3450" Text="@lesmana: done. There are a few oddball cases where `exec` is not safe even in an interactive shell (e.g. there's a bug in bash 2.0–2.04 where running `exec` sometimes makes it go into an infinite loop), but none that I think you're likely to encounter." CreationDate="2010-10-27T23:21:29.240" UserId="885" />
  <row Id="3902" PostId="3577" Text="Very interesting, although not worth the effort.  I merely would like cp &lt;source&gt; &lt;dest&gt; to provide a rate similar to how it would report transfer rate using the GUI.  Not worth the effort to type that much text just to see the transfer speed.  Thanks though. " CreationDate="2010-10-28T14:27:16.547" UserId="1253" />
  <row Id="3903" PostId="3577" Score="4" Text="@Chris Well, you can always add a function for it. `function cprate() {cat &quot;$1&quot; | pv --rate &gt; &quot;$2&quot;}`" CreationDate="2010-10-28T14:45:30.670" UserId="73" />
  <row Id="3906" PostId="3576" Score="2" Text="@Renith, your accept rate is at a really low 20%, you should consider accepting people's answers. See this [post](http://blog.stackoverflow.com/2009/08/new-question-asker-features/)" CreationDate="2010-10-28T17:12:12.153" UserId="1327" />
  <row Id="3908" PostId="3557" Text="Cool, will do some tests.  Appears to be what I need though.  Thanks" CreationDate="2010-10-28T18:57:32.647" UserId="2446" />
  <row Id="3909" PostId="3581" Text="If the script contains &quot;. ./executable&quot; then wouldn't I encounter this problem no matter how the script is invoked? When I invoke &quot;./kickOffTests.sh&quot;, there are several layers of scripts down before &quot;./executable&quot; is invoked on the target. You're right that I shouldn't make assumptions in the question, but since the only thing that's different is how the parent script is invoked, where one way is by hand in an open ssh terminal and the other is automatically by Hudson, it seems the answer lies in that difference." CreationDate="2010-10-28T19:26:17.123" UserId="2471" />
  <row Id="3911" PostId="856" Text="yes sir, well done on this answer." CreationDate="2010-10-28T19:42:19.403" UserId="1327" />
  <row Id="3913" PostId="3581" Text="@jasper77: I realize now the error message doesn't quite mean what I initially thought (though if your issue is related to terminals, the connection is very indirect). See my revised answer, and try to provide as much of the suggested additional data as you can." CreationDate="2010-10-28T20:22:43.293" UserId="885" />
  <row Id="3914" PostId="3575" Text="Maybe I'm interpreting 2577 wrong, but it sounds like the OP is saying &quot;cp has the -g switch to show progress; what's the equivalent for mv?&quot;, and the answers just focus on `cp` for some unknown reason (maybe the trailing `?` in the question was confusing, but I think that was unintentional). It seems like the opposite of this question" CreationDate="2010-10-28T20:28:10.753" UserId="73" />
  <row Id="3915" PostId="3548" Text="Konsole, like all KDE applications, can be sent commands through dbus (see [Scripting Konsole](http://docs.kde.org/development/en/kdebase-apps/konsole/scripting.html)). The documentation is very sparse, but I think there is unfortunately no command to change the profile of the current tab." CreationDate="2010-10-28T21:23:02.063" UserId="885" />
  <row Id="3916" PostId="3581" Text="I admit red faced for the benefit of others that the scripts were *not* doing exactly what I thought. Gilles nailed it; the executables had been built for a different target. In a &quot;make -C&quot; line of one script, I had left off a target name, so the default target was built instead of the one I intended. Once I fixed that, Hudson is successfully able to drive the minicom sesson. Since I had been running into problems relating to a console application running from ssh, and learned about 'export TERM=console' and &quot;ssh -t -t&quot; along the way, I was convinced my problems were there. Thanks Gilles!" CreationDate="2010-10-28T21:32:26.093" UserId="2471" />
  <row Id="3917" PostId="3587" Text="That certainly explains it. Is there an easy way of telling whether or not there are multiple man pages for a given command?" CreationDate="2010-10-28T21:46:38.820" UserId="2151" />
  <row Id="3918" PostId="3587" Text="@Wil Yes, edited" CreationDate="2010-10-28T21:52:15.397" UserId="73" />
  <row Id="3919" PostId="3587" Text="Note that these section numbers are for Linux. 1, 3 and 6 are the same across all unix variants AFAIK, but the others and the non-lone-digit sections can differ. Usually `man X intro` describes what is in section `X`." CreationDate="2010-10-28T22:31:56.067" UserId="885" />
  <row Id="3920" PostId="3575" Text="@Michael @Stefan this looks like &quot;transfer speed&quot; while the other is &quot;progress&quot;. Progress is how much has been transferred of the whole, and speed is how fast. Different questions." CreationDate="2010-10-28T22:35:41.380" UserId="29" />
  <row Id="3921" PostId="3588" Text="The [Debian Policy manual](http://www.debian.org/doc/debian-policy/) specifies `patch` as an optional [rule](http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules). All the [major advanced deb build suites](http://wiki.debian.org/debian/patches) (the glibc package uses [Quilt](https://savannah.nongnu.org/projects/quilt/)) provide `patch` and `unpatch` targets." CreationDate="2010-10-28T22:45:06.017" UserId="885" />
  <row Id="3922" PostId="3593" Text="I'm not quite following the question, sorry. In particular I'm not sure what &quot;I don't know what is passed to the command being executed though&quot; means" CreationDate="2010-10-29T02:07:04.157" UserId="73" />
  <row Id="3924" PostId="3593" Text="@Michael: When you run a list through `xargs` it breaks it up by line and feeds each line into a command, right? How do I access that if I need to say something like `cat file | xargs curl http://example.com/[PASSED FROM FILE].tar`?" CreationDate="2010-10-29T02:40:07.023" UserId="163" />
  <row Id="3925" PostId="3594" Text="Okay, how about `curl http://example.com/foobar.tar &gt; foobar.tar`? " CreationDate="2010-10-29T03:02:11.177" UserId="163" />
  <row Id="3926" PostId="3590" Text="Thank you Gilles, I'll try these tricks and give a feedback later, but it seems to be what I'm looking for." CreationDate="2010-10-29T07:02:06.527" UserId="653" />
  <row Id="3927" PostId="3596" Score="1" Text="that's a rather painful way to do things, and there is no distinction between packages I install myself, and those pulled in by dependencies" CreationDate="2010-10-29T07:18:35.410" UserId="250" />
  <row Id="3928" PostId="3575" Text="yes. i lay down my sword. :) i was hasty" CreationDate="2010-10-29T08:06:56.757" UserId="1327" />
  <row Id="3929" PostId="3575" Text="@xeno @michael, are we removing our comments here? :)" CreationDate="2010-10-29T08:07:42.323" UserId="1327" />
  <row Id="3930" PostId="3575" Text="@Stefan, no real reason to... the link to the other post was at least interesting in the case of this." CreationDate="2010-10-29T08:27:49.527" UserId="29" />
  <row Id="3931" PostId="3590" Text="Actually, `qdbus|grep Activity` gives nothing back nor does `qdbus|grep Corona` , so I'm a bit lost... `qdbus org.kde.plasma-netbook` gives some output back, but I don't know how to search sub-commands globally..." CreationDate="2010-10-29T09:33:18.490" UserId="653" />
  <row Id="3932" PostId="3590" Text="This was on my netbook, on my desktop I get a similar result with org.kde.plasma-desktop" CreationDate="2010-10-29T09:42:04.443" UserId="653" />
  <row Id="3933" PostId="3598" Score="1" Text="In my one file example it may not be ideal, however, `cat xaa xab xac xad ... xargs ...`" CreationDate="2010-10-29T10:33:15.177" UserId="163" />
  <row Id="3934" PostId="3598" Score="2" Text="@Josh For some reason people tend to take unnecessary uses of cat really seriously here; I've been downvoted for it twice now" CreationDate="2010-10-29T12:20:38.203" UserId="73" />
  <row Id="3935" PostId="3598" Text="for the record, you got a +1 from me. I think using `cat` is fine really, just like to add more info... :)" CreationDate="2010-10-29T12:25:57.403" UserId="1327" />
  <row Id="3936" PostId="3559" Text="Well you were both right. What I done was created a script which supplies a menu on the prompt and used the forced check command in .ssh/authorized_keys on the server in front of the key for the authorized user. This now enables him to ssh to the server and at the prompt is given a nice menu with several commands to execute. Nothing else can be run. Happy days!" CreationDate="2010-10-29T12:44:11.787" UserId="2448" />
  <row Id="3937" PostId="3595" Text="@Stefan: no &quot;hi&quot; and &quot;thanks&quot; in a question?" CreationDate="2010-10-29T13:41:47.180" UserId="250" />
  <row Id="3938" PostId="3587" Text="@Giles The single digit sections 1-5 are pretty well standardized across all Unix variants, going back to the original Unix from Bell Labs." CreationDate="2010-10-29T13:42:45.453" UserId="31" />
  <row Id="3939" PostId="2195" Text="You might also want to try asking this on http://apple.stackexchange.com , since no one here seems to know." CreationDate="2010-10-29T13:56:37.310" UserId="131" />
  <row Id="3940" PostId="3595" Text="I can't find it right now, but there's a FAQ somewhere that states that on StackExchange you shouldn't use &quot;hi&quot; and &quot;thanks&quot;, just post the question :)" CreationDate="2010-10-29T13:56:50.897" UserId="1194" />
  <row Id="3941" PostId="3608" Text="Think I should've mentioned - it's a wired connection." CreationDate="2010-10-29T13:57:47.650" UserId="1452" />
  <row Id="3942" PostId="3596" Text="I agree, but I didn't know that apt keeps track of those :/ Now I know, thanks to Stefan :)" CreationDate="2010-10-29T14:00:50.050" UserId="1194" />
  <row Id="3943" PostId="3595" Text="Thanks, I found it in a meta, gonna edit my questions and answers in a while http://meta.stackoverflow.com/questions/2950/should-hi-thanks-and-taglines-and-salutations-be-removed-from-posts" CreationDate="2010-10-29T15:08:44.563" UserId="250" />
  <row Id="3944" PostId="3611" Text="pv? &lt;filler text&gt;" CreationDate="2010-10-29T17:34:57.623" UserId="1253" />
  <row Id="3945" PostId="3590" Text="@greg0ire: I may have inferred things erroneously from the documentation (I don't have a recent enough version of KDE to test). See my edit for a script that lists all potential qdbus calls." CreationDate="2010-10-29T18:35:10.840" UserId="885" />
  <row Id="3946" PostId="3590" Text="@Gilles: awesome piece of code, but it does only find things that seem unrelevant to me:`org.gnome.ScreenSaver / method void org.gnome.ScreenSaver.SimulateUserActivity()&#xA;org.kde.konsole /Sessions/1 method bool org.kde.konsole.Session.isMonitorActivity()&#xA;org.kde.konsole /Sessions/1 method void org.kde.konsole.Session.setMonitorActivity(bool)` (nothing found for Corona=" CreationDate="2010-10-29T18:54:25.743" UserId="653" />
  <row Id="3947" PostId="3611" Text="`pv` is [Pipe Viewer](http://www.ivarch.com/programs/pv.shtml), and is pretty awesome. @Patrick, please expand your post with an explanation." CreationDate="2010-10-29T18:55:37.677" UserId="4" />
  <row Id="3948" PostId="3590" Text="@greg0ire: Sorry, I have no idea what DesktopCorona is, I stumbled upon it on a search for “activity” in the KDE APIs. What about the activity manager — is there a way to invoke it from the command line? Otherwise you might have to write a short C++ (or whatever other language gives access to the relevant API) program that triggers the activity change." CreationDate="2010-10-29T19:23:36.177" UserId="885" />
  <row Id="3949" PostId="3595" Text="I don't know about the `thanks` really. But `hi` is out.. :)" CreationDate="2010-10-29T19:53:21.413" UserId="1327" />
  <row Id="3950" PostId="3609" Text="Is the code you're trying to compile publicly available? Are there any PNG-related `#define`s? What version of the libpng development files do you have?" CreationDate="2010-10-29T19:55:19.023" UserId="885" />
  <row Id="3951" PostId="3606" Text="Is your home on an NFS filesystem, by any chance?" CreationDate="2010-10-29T19:57:03.310" UserId="885" />
  <row Id="3952" PostId="3587" Score="1" Text="@KeithB: I've used some unices with different 4,5,7,8. Digital Unix (OSF1) had, and Solaris still has: file formats in 4, misc in 5, devices in 7. Solaris also puts administrator commands in 1m. I think system calls in 2 is universal, but some systems also have some C library interfaces in 2 (when they're supposed to be thin wrappers around the eponymous syscall)." CreationDate="2010-10-29T20:20:22.547" UserId="885" />
  <row Id="3953" PostId="3605" Text="There isn't nearly enough information in your question to help you. Unfortunately, this is the kind of problem where it really helps to be in front of the computer. But we can try if you provide more information. How did you configure the DSL connection? What appears in `/var/log/kern.log` when the connection is attempted (I think your username and password won't be in the log but check before posting)? After it (what is “it”?) says “Connection established”, what is the output of `/sbin/route`? Also try to set up a new connection with the same settings: does it work? more than once?" CreationDate="2010-10-29T21:31:10.337" UserId="885" />
  <row Id="3954" PostId="3606" Text="@Gilles nope, ext4" CreationDate="2010-10-29T21:51:33.120" UserId="29" />
  <row Id="3955" PostId="3606" Text="Ok, let's have more data: OS? permissions on the `.gvfs` directories (ACLs if relevant, etc.)? Are they actually mount points?" CreationDate="2010-10-29T22:08:05.550" UserId="885" />
  <row Id="3956" PostId="3595" Text="There is a quite good answer on [this similar question at Super User](http://superuser.com/questions/6338/how-do-you-track-which-packages-were-installed-on-ubuntu-linux). There may be complementary information on [this similar question at Ask Ubuntu](http://askubuntu.com/questions/2389/generating-list-of-manually-installed-packages-and-querying-individual-packages)." CreationDate="2010-10-29T22:45:55.923" UserId="885" />
  <row Id="3957" PostId="3622" Text="*%$#@!* gnome! I don't even use gnome! prolly chrome or pidgin creates this... hmm... I'm not particularly concerned that it's not backing up, they aren't seemingly being used anyways." CreationDate="2010-10-29T22:54:09.673" UserId="29" />
  <row Id="3958" PostId="3606" Text="@Gilles Arch Linux. I don't use ACL's (so unless automagically set), mine is empty and nothing in `df` about it being mounted. `dr-x------  2 xenoterracide users       0 Oct 24 14:47 .gvfs`&#xA;" CreationDate="2010-10-29T23:27:32.720" UserId="29" />
  <row Id="3959" PostId="3622" Score="1" Text="@Gilles just as a note I just tried `one_fs` and still received the error." CreationDate="2010-10-29T23:28:27.273" UserId="29" />
  <row Id="3960" PostId="3606" Text="`ls -la .gvfs                                                                        slave-iv&#xA;total 4&#xA;dr-x------  2 xenoterracide users    0 Oct 24 14:47 .&#xA;drwx------ 46 xenoterracide users 4096 Oct 29 18:32 ..`" CreationDate="2010-10-29T23:33:18.907" UserId="29" />
  <row Id="3961" PostId="3605" Text="Thanks for your comment. I am an almost complete newbie which I probably should've mentioned in my question. But I'll try to gather the info you wanted and also rephrase my question to provide more information and make it clearer." CreationDate="2010-10-29T23:36:54.357" UserId="1452" />
  <row Id="3962" PostId="3606" Text="@xenoterracide: `df` doesn't show filesystems that advertise a total size of 0. Try `df -a` or `df ~/.gvfs` or `grep gvfs /proc/mounts`." CreationDate="2010-10-29T23:54:59.363" UserId="885" />
  <row Id="3963" PostId="3622" Text="@xenoterracide: You might not use the Gnome desktop environment, but you are using applications that link against Gnome libraries. There might be a way to tell Gnome not to start the daemon, I haven't looked. I suspect that the `one_fs` option isn't working because rsync is somehow getting a permission denied as part of its check as to whether `.gvfs` is a mount point." CreationDate="2010-10-30T00:01:36.953" UserId="885" />
  <row Id="3964" PostId="3606" Text="@Gilles ah... yep gvfs-fuse-daemon has it mounted... " CreationDate="2010-10-30T00:21:01.437" UserId="29" />
  <row Id="3965" PostId="3622" Text=":S this would be really annoying if it were a cron job, because it would be emailing me each time. I wonder if an --exclude would work." CreationDate="2010-10-30T00:32:09.567" UserId="29" />
  <row Id="3966" PostId="3611" Text="This is the same command I mentioned in my answer, although I didn't realize it takes a filename argument (I did `cat file | pv`)" CreationDate="2010-10-30T01:31:33.673" UserId="73" />
  <row Id="3968" PostId="3624" Text="What does your first pipeline do that `aptitude search '~i!~M' -F %p` doesn't?" CreationDate="2010-10-30T04:57:05.843" UserId="1779" />
  <row Id="3971" PostId="3621" Text="I still couldn't find an Upstart event triggered on Fedora, but I could write my own script in /etc/NetworkManager/dispatcher.d/ to start the daemon. I have the feeling Fedora integrates Upstart considerably less than Ubuntu (they also plan to switch to systemd in F15). Great answer, thanks." CreationDate="2010-10-30T08:52:06.877" UserId="1039" />
  <row Id="3973" PostId="3629" Text="Grub is saying it doesn't recognize the filesystem on `(hd1,1)`. The partition type is set to 7 which is not normally used by Linux. What filesystem do you have on the Arch partition? What is the partition table on the USB disk (`fdisk -l /dev/sdb`)?" CreationDate="2010-10-30T11:23:06.617" UserId="885" />
  <row Id="3974" PostId="3629" Text="@Gilles http://pastebin.com/k6YXp1qu" CreationDate="2010-10-30T11:33:14.763" UserId="2179" />
  <row Id="3975" PostId="3629" Text="@badp: `(hd1)` in Grub is not the disk you're looking for. What other disks do you have? Apparently you have a disk where partition 2 is type 7 (NTFS?). Grub1 is constrained by the BIOS interfaces, which can only report two hard disks, so you may have to look into your BIOS settings. Note that the disk ordering you see in Grub has nothing to do with the sda,sdb,... ordering in Linux (and the ordering in Linux depends on the order the drivers are loaded, so you might not get the same in Ubuntu and Arch)." CreationDate="2010-10-30T11:46:33.980" UserId="885" />
  <row Id="3978" PostId="3508" Text="@ephemient part of the problem is that `/boot`, and everything else* was out of sync once I re-synced all the partitions it just worked. I tried `grub-install` first and it just left grub more broken. Maybe should consider removing that, idk." CreationDate="2010-10-30T12:31:56.027" UserId="29" />
  <row Id="3979" PostId="3629" Text="@Gilles, you were right. It's `(hd0,1)` indeed. Make that comment an answer, please." CreationDate="2010-10-30T12:33:50.503" UserId="2179" />
  <row Id="3980" PostId="3048" Text="@ephemient raid10,f2 is a special mdadm thing, see the wikipedia article for an explanation of how it can work on 2 disks." CreationDate="2010-10-30T12:33:53.813" UserId="29" />
  <row Id="3981" PostId="1458" Text="I asked this question the LKML and the answer I got was that something though KDE/Hal was remounting the drives for some reason." CreationDate="2010-10-30T12:42:27.313" UserId="29" />
  <row Id="3982" PostId="3638" Score="2" Text="@badp but why would you do immutable and append only? immutable kind of prevents any writing... (we do this at work when locking sites for TOS violations and I don't understand why the a)" CreationDate="2010-10-30T13:03:10.780" UserId="29" />
  <row Id="3983" PostId="3638" Text="@xeno that's a good question. At first analysis +a adds nothing that +i doesn't do (except paranoia); I'd check  the source code of your kernel to be extra sure." CreationDate="2010-10-30T13:15:39.097" UserId="2179" />
  <row Id="3984" PostId="3638" Text="@xenoterracide: I don't see much point. It could be belt and braces, in case someone removes the `i` (but someone who wants to and knows how do remove the immutable attribute would know about the append-only attribute anyway)." CreationDate="2010-10-30T13:16:24.633" UserId="885" />
  <row Id="3985" PostId="3638" Text="&quot;belt and braces&quot; in English means &quot;belt and suspenders&quot; in American for our international readers." CreationDate="2010-10-30T16:04:48.607" UserId="1294" />
  <row Id="3986" PostId="3624" Text="@ephemient: Probably nothing.  I don't know much about aptitude and thus used tools I'm familiar with rather than digging around in the man file of a program I never use." CreationDate="2010-10-30T16:38:55.367" UserId="1207" />
  <row Id="3987" PostId="3103" Text="@Gilles: there is no need for rsync to follow the symlink, as it will sync the target *anyway*. So it first copies the symlink, making a dangling symlink. Then it goes on to copy everything else in the directory, including the target of the symlink. Voila, everything fits together nicely." CreationDate="2010-10-30T18:50:01.443" UserId="1012" />
  <row Id="3989" PostId="3648" Text="What errors are you getting? That works in bash at least" CreationDate="2010-10-30T20:20:09.987" UserId="73" />
  <row Id="3990" PostId="3648" Text="expr: syntax error&#xA;" CreationDate="2010-10-30T20:21:30.500" UserId="2492" />
  <row Id="3991" PostId="3642" Text="So it's sort of like an inode number, but it never repeats for the life of the filesystem?" CreationDate="2010-10-30T20:52:00.027" UserId="2267" />
  <row Id="3992" PostId="3650" Text="Do you have control over the command sequence that is being run? do you just want a pause? would you like it to prompt you to continue?" CreationDate="2010-10-30T23:23:51.807" UserId="29" />
  <row Id="3993" PostId="3653" Score="1" Text="You've got a typo in your GlobalKnownHostsFile quote." CreationDate="2010-10-30T23:52:38.547" UserId="2421" />
  <row Id="3994" PostId="3653" Text="Fixed it. Thanks!" CreationDate="2010-10-30T23:58:54.130" UserId="1207" />
  <row Id="3995" PostId="3650" Text="Here's an example scenario: Let's say I want to compile and install some program (using standard ./configure &amp;&amp; make &amp;&amp; make install procedure) and after the make command, I run into some errors. Now, the way I understand it (I may be completely wrong), the crucial error, causing the make command to fail, usually shows up in the last line(s) in the output, no? Anyway, at this point, I might do something like `cat INSTALL' to read the INSTALL document to check if there's something I've missed. (Due to comment characters restriction I'm continuing in my next comment.)" CreationDate="2010-10-31T00:01:41.143" UserId="2493" />
  <row Id="3996" PostId="3652" Text="It would prevent users from adding their own hosts which IMHO is unintended effect." CreationDate="2010-10-31T00:05:08.673" UserId="305" />
  <row Id="3997" PostId="3650" Text="NOW, if I want to go back to see what the error was that caused my initial make command to fail, I now have to manually scroll up to that position again, since my `cat INSTALL' printed a ton of text after it. I don't know if this scenario is the most elucidative – but there are many other situations where I wish I could just &quot;jump&quot; back to previous prompt lines and check up on previous command output; whether it was a simple ls command, make, git status, or whatever it was – swapping positions in the window by means of using prompts as &quot;bookmark&quot; positions seems an interesting idea to me." CreationDate="2010-10-31T00:08:41.247" UserId="2493" />
  <row Id="3998" PostId="3650" Text="Disclaimer: I'm sorry if I'm not making any sense as to 'why' I wish to be able to jump between prompt lines (I'm a bit of a newcomer in the Unix world). I'm curious, though, if anyone else has had this thought as well. Or if it's just me. :)" CreationDate="2010-10-31T00:09:36.287" UserId="2493" />
  <row Id="3999" PostId="3654" Score="1" Text="If you login at the &quot;black screen&quot; in Ubuntu, do you get a commandline then?  It's probably possible to continue the installation from there..." CreationDate="2010-10-31T01:43:09.950" UserId="1002" />
  <row Id="4000" PostId="3548" Text="It doesn't NECESSARILY have to be by using knsole profiles. I just thought that might be one way. Is there anyway to do this in xterm itself? Or maybe even in the shell?" CreationDate="2010-10-31T01:58:13.207" UserId="1571" />
  <row Id="4001" PostId="3652" Text="I forget if a hardlink file has to have same perms but I suspect it does. However you could copy the file with cron and then make sure the perms are correct." CreationDate="2010-10-31T04:30:40.083" UserId="29" />
  <row Id="4002" PostId="3650" Score="1" Text="@hced no, errors can be anywhere in the output, the best way to find errors post is to redirect stederr to a file." CreationDate="2010-10-31T06:14:38.127" UserId="29" />
  <row Id="4003" PostId="2072" Text="Can't remember if tagged it as 'gnu' myself or not :-) Anyway this question could be answered with or without GNU, so the tag adds nothing, so I changed it." CreationDate="2010-10-31T07:43:10.223" UserId="150" />
  <row Id="4004" PostId="3571" Score="1" Text="my answer, which since I'm no suse or expert in any of the things I'm about to mention, is in comments. 1. sounds good? 2. have you looked at something like `chef` or `puppet` for changing multiple systems. 3. maybe a good use case for an ldap, kerberos, and nfs setup." CreationDate="2010-10-31T07:44:55.930" UserId="29" />
  <row Id="4006" PostId="3654" Text="First you could try to leave X11 (Ctrl+alt+F1) and log in from the terminal. Finish your upgrade (sudo apt-get dist-upgrade) and perhaps you will be able to log in again." CreationDate="2010-10-31T10:07:55.783" UserId="629" />
  <row Id="4007" PostId="3659" Text="getcombination()&#xA;{&#xA;tempres=1&#xA;a=expr \\( $2 - $1 \\) + 1&#xA;b=1&#xA;while [ a -le $2 -a b -le $1 ]&#xA;do&#xA;tempres=expr \\( $tempres \\* a \\) / b&#xA;a=`expr $a + 1`&#xA;b=`expr $b + 1`&#xA;done&#xA;echo $tempres&#xA;} This still gives expr errors...." CreationDate="2010-10-31T11:48:30.667" UserId="2492" />
  <row Id="4008" PostId="3666" Score="4" Text="http://www.bootchart.org/" CreationDate="2010-10-31T14:24:38.630" UserId="2179" />
  <row Id="4009" PostId="3666" Text="@badp: Thanks. I am aware of that application. This is a homework assignment, so I cannot show my professor some existing application." CreationDate="2010-10-31T14:27:20.473" UserId="2498" />
  <row Id="4010" PostId="3666" Text="This question may be too board. I'm tempted to answer &quot;parse the log files&quot; but I'm not sure whether that's the information you need. Please consider breaking the question down to several ones like &quot;How do I monitor memory usage during boot?&quot;." CreationDate="2010-10-31T15:09:16.587" UserId="250" />
  <row Id="4011" PostId="3666" Score="1" Text="While you can't turn in an existing application, I imagine that the source code for a program that does exactly what you want to do, might be a useful resource in hunting down the solution." CreationDate="2010-10-31T15:33:42.373" UserId="1207" />
  <row Id="4012" PostId="1622" Text="Linux is compiled with -fno-strict-aliasing since Linus thinks gcc is being stupid and overly restrictive since it does stupid things like treat values as different even though they blatantly obviously are not (ie the aliasing was introduced inside one function and the compiler can see it). see http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg01647.html" CreationDate="2010-10-31T16:56:51.893" UserId="373" />
  <row Id="4013" PostId="1602" Text="Not to mention it's not always faster, you have to actually come up with benchmarks and test it vs `-O2` to know weather or not it hurts or helps" CreationDate="2010-10-31T16:58:37.353" UserId="373" />
  <row Id="4014" PostId="1622" Text="@Spudd86: Did he mean that they are obviously not for human being reading code or for compiler? As I said - Kernel sometimes need to do smart things that userspace programs should not do. What makes sense for userspace (heavy optimization in some areas) may make no sense for kernel (larger amount of smart code + bottleneck in different places)." CreationDate="2010-10-31T17:14:38.513" UserId="305" />
  <row Id="4015" PostId="3571" Text="Yes, what xenoterracide proposes would be my approach, too. This is also what is used (nfs mounted /home, kerberos authorization, puppet for configs) in our university network with about 100 OpenSuse computer pool machines." CreationDate="2010-10-31T20:11:11.133" UserId="1941" />
  <row Id="4016" PostId="3666" Score="3" Text="In particular, the Data Collection section of the [Bootchart &quot;How it Works&quot;](http://www.bootchart.org/docs.html) page explains exactly what it does" CreationDate="2010-11-01T01:22:00.737" UserId="73" />
  <row Id="4017" PostId="3668" Text="check out this question on SU http://superuser.com/questions/82337/slackware-change-dns-permanently" CreationDate="2010-11-01T05:31:02.850" UserId="250" />
  <row Id="4018" PostId="3594" Text="@Josh K: `&gt;` is a shell constructs, and won't work for `xargs`.  On the other hand, `curl -o` will write to a named file instead of stdout, like what `wget` does, so that's probably what you would like to use here." CreationDate="2010-11-01T07:23:30.313" UserId="1779" />
  <row Id="4019" PostId="3676" Text="Thanks for that!" CreationDate="2010-11-01T09:48:34.410" UserId="1898" />
  <row Id="4020" PostId="3659" Text="Could you please use pastebin or similar service to post the exact offending code (preferably, the bare minimum of it needed to reproduce your problem)?  I'm having hard time de-crypting what you put in this comment." CreationDate="2010-11-01T10:10:13.817" UserId="1946" />
  <row Id="4021" PostId="3663" Text="Nice idea, but I already allocated Caps Lock for switching to another language.  Are there other redundant modifier keys that one can re-purpose?" CreationDate="2010-11-01T10:29:22.767" UserId="2496" />
  <row Id="4022" PostId="3679" Text="What's the `-c3` parameter?" CreationDate="2010-11-01T11:18:13.560" UserId="2179" />
  <row Id="4023" PostId="3679" Text="@badp `ionice -c3` basically set it to the lowest IO priority." CreationDate="2010-11-01T11:57:05.087" UserId="29" />
  <row Id="4024" PostId="3683" Text="man that's very... terse? I find it to be lacking in depth, and clarity." CreationDate="2010-11-01T12:54:11.460" UserId="29" />
  <row Id="4025" PostId="3683" Text="The idea is not to blindly spawn one process for each file, but to gather the filenames together and call the command fewer times. An example:&#xA;instead of creating 3 different &quot;rm FILENAME&quot; processes, it gathers the filenames and does &quot;rm FILE1 FILE2 FILE3&quot;." CreationDate="2010-11-01T13:02:39.627" UserId="33" />
  <row Id="4026" PostId="3680" Score="2" Text="looks like python?" CreationDate="2010-11-01T13:15:08.080" UserId="250" />
  <row Id="4027" PostId="3681" Score="3" Text="Even better use `find`'s `-delete` instead of spawning `rm`s." CreationDate="2010-11-01T13:44:39.573" UserId="1946" />
  <row Id="4028" PostId="3678" Score="2" Text="Use xxd with the -r-p flag. Like this: sha1sum somefile.txt | cut -f1 -d\ | xxd -r -p | base64" CreationDate="2010-11-01T13:50:56.380" UserId="1941" />
  <row Id="4029" PostId="3669" Text="I don't think this question is particularly helpful. If there is such a flag, all is well. But if there isn't, how can it be answered? Only if someone reads the chattr manpage from top to bottom to be sure there really is none. And this you could do yourself. Much better would be a more open question. &quot;How do I prevent other users from accidentally changing permissions on a file?&quot;" CreationDate="2010-11-01T13:55:10.807" UserId="1941" />
  <row Id="4030" PostId="3679" Text="except `unlink` is a system call which has essentially no IO activity. The file system implements the actual IO needed to complete an unlink so I don't know if ionice can help here." CreationDate="2010-11-01T14:15:32.513" UserId="1294" />
  <row Id="4031" PostId="3666" Text="Thanks @Michael, I'll take a look at it." CreationDate="2010-11-01T14:33:32.740" UserId="2498" />
  <row Id="4032" PostId="3678" Text="@fschmitt: I should have read this comment before posting my answer, it is much much cleaner.  You should consider posting it as an answer.  I'd vote for it." CreationDate="2010-11-01T17:30:38.490" UserId="1207" />
  <row Id="4033" PostId="3684" Text="If you know `xargs`, `-exec … {} +` does the same as `-print | xargs …`, but without the quoting issues (`-print0 | xargs -0` is another way, but it's less portable)." CreationDate="2010-11-01T18:13:16.633" UserId="885" />
  <row Id="4034" PostId="3676" Score="2" Text="@Wayne: always put double quotes around variable substitutions, or your command won't work with file names containing certain special characters (whitespace, wildcards and backslashes)." CreationDate="2010-11-01T18:15:45.417" UserId="885" />
  <row Id="4035" PostId="3661" Text="I don't think there's anything standard about 3 going to syslog, it just happens to be the first opened by many programs that already have the standard 0, 1, 2 open." CreationDate="2010-11-01T18:21:25.347" UserId="885" />
  <row Id="4036" PostId="3659" Score="2" Text="@3sdmx: just don't bother with `expr`, use the shell arithmetic `$((…))` instead. @alex: `$((…))` isn't specific to bash, it's in POSIX." CreationDate="2010-11-01T18:38:45.503" UserId="885" />
  <row Id="4037" PostId="3103" Text="@Martin: Either I don't understand what you're saying (what options do you propose to pass to rsync anyway? Please write an answer if you think you have a solution!) or you don't understand the requirement: rsync is given a list of symlinks, and it should copy both the symlinks and its target(s) — the targets are *not* listed in the rsync command (so won't be copied with a mere `rsync -a`)." CreationDate="2010-11-01T18:56:29.187" UserId="885" />
  <row Id="4038" PostId="3678" Text="It's more alex answer, I just googled &quot;convert hex binary unix&quot;, so alex, feel free to edit your answer to include the xxd call and we'll vote this up." CreationDate="2010-11-01T19:01:06.263" UserId="1941" />
  <row Id="4039" PostId="3656" Text="@Falmarri: I think your prompt is really interesting (care to share its code in a comment field below?). Although it wasn't entirely what I was shooting for, which is to press a keyboard shortcut to _jump_ between submitted commands (i.e. positions of former prompts in the current window)." CreationDate="2010-11-01T20:21:55.050" UserId="2493" />
  <row Id="4040" PostId="3103" Text="I indeed did not understand. I would have personally chosen to rsync dirA, dirB, and dirC, and accepted that dirB/not_this_file also gets copied." CreationDate="2010-11-01T21:24:29.713" UserId="1012" />
  <row Id="4041" PostId="3691" Text="well if we're using perl, we could just use the Digest::SHA module which would allow us to output directly to base64." CreationDate="2010-11-02T00:14:07.473" UserId="29" />
  <row Id="4042" PostId="3669" Score="1" Text="@fschmitt so we should only ask questions that we know have an answer? I'm asking other people if I'm simply ignorant and there is a way. I once saw a question on SO with the answer &quot;not possible&quot;, which then hand an answer &quot;now module X exists&quot; but that was still no real solution. So I took &quot;module X&quot; and made &quot;module Y&quot; use it, and now there's an actual solution." CreationDate="2010-11-02T00:18:40.837" UserId="29" />
  <row Id="4043" PostId="3690" Text="@Gilles it was totally a social issue, where people carelessly run fix perms scripts which reset everything to 755/644." CreationDate="2010-11-02T00:20:28.760" UserId="29" />
  <row Id="4044" PostId="3681" Text="@alex right, I completely forgot about it. I was simply tuning his, instead of thinking of that." CreationDate="2010-11-02T00:22:59.053" UserId="29" />
  <row Id="4045" PostId="3695" Text="And what you want to have after adding the kernel? Do you want a working OS that you can boot from?" CreationDate="2010-11-02T00:37:34.477" UserId="250" />
  <row Id="4046" PostId="3624" Text="You kind of destroy my hope, I thought there was some standard easy way :(" CreationDate="2010-11-02T01:31:39.923" UserId="250" />
  <row Id="4047" PostId="3683" Text="IIRC some versions of xargs have an option to batch these names together up to a specified limit, so you can benefit from this but also avoid overflowing when you have a large list, too." CreationDate="2010-11-02T02:03:05.713" UserId="614" />
  <row Id="4048" PostId="3683" Text="(Find, itself, is a scary little language all its own!)" CreationDate="2010-11-02T02:03:26.197" UserId="614" />
  <row Id="4049" PostId="3624" Text="Heh, so did I.  I'm not an Ubuntu guru so I'd be happy to see an easier solution if somebody can find one." CreationDate="2010-11-02T04:29:32.000" UserId="1207" />
  <row Id="4050" PostId="3066" Text="Was using a 4.5 version. Some people pointed to KWin." CreationDate="2010-11-02T06:56:55.483" UserId="2274" />
  <row Id="4051" PostId="3686" Text="that will work if i'm only using virtual harddrives." CreationDate="2010-11-02T07:07:28.950" UserId="2142" />
  <row Id="4052" PostId="3686" Text="The Harddisk was just an example, check for other devices, maybe the harddisk controller or the graphics card (I don't have vmware here so I cannot check)" CreationDate="2010-11-02T08:25:11.643" UserId="33" />
  <row Id="4053" PostId="3678" Text="Edited my answer.  Thanks for pointing `xxd` out :)" CreationDate="2010-11-02T10:06:23.190" UserId="1946" />
  <row Id="4054" PostId="3663" Text="@Little: Scroll Lock is often useless.. Either way, since Caps Lock is also often redundant, no one but you will know what other key to use. ;-)" CreationDate="2010-11-02T10:11:12.717" UserId="2113" />
  <row Id="4055" PostId="3661" Text="@Gilles: actually I was talking about `stdlog`, not `syslog`.  Too bad, it's not easy to find something viable about that.  I believe it was obsoleted long ago.  And I must be wrong for putting `3` as it's default number... :-P" CreationDate="2010-11-02T10:13:02.230" UserId="1946" />
  <row Id="4056" PostId="3705" Text="Obviously, you forgot to mention in what editor is this behavior." CreationDate="2010-11-02T11:50:26.137" UserId="1946" />
  <row Id="4057" PostId="3705" Score="2" Text="@alex obviously he tagged it vim" CreationDate="2010-11-02T12:01:14.950" UserId="29" />
  <row Id="4058" PostId="3310" Text="Make sure to partition wisely, aside from installing Windows the boot corruptor first, this will save you the biggest heartaches. Also, leave space unformatted or in a larger than necessary swap file. Keep that swap partition next to Windows so when it bloats you can absorb a bit. gParted works wonders, but corruption is always possible with NTFS." CreationDate="2010-11-02T12:49:50.417" UserId="2515" />
  <row Id="4059" PostId="3705" Text="@xenoterracide: ok, my bad.  Still putting it straight from the start wouldn't hurt anybody, and tags are very easy to overlook, IMHO." CreationDate="2010-11-02T13:48:26.867" UserId="1946" />
  <row Id="4060" PostId="3709" Text="I tried that but when I boot from windows CD. A message comes which says Setup is checking the hardware and then it stops responding. " CreationDate="2010-11-02T15:04:10.343" UserId="2063" />
  <row Id="4061" PostId="3709" Text="@Chankey generally that means either a hardware issue, or there is something wrong w/ the install media." CreationDate="2010-11-02T15:06:12.620" UserId="2175" />
  <row Id="4062" PostId="3709" Text="Media is correct, no problem with that. Hardware was working good too, just before I deleted those partitions." CreationDate="2010-11-02T15:07:26.223" UserId="2063" />
  <row Id="4063" PostId="3709" Text="@chankey i ment that there is something physically wrong with the media. Can you boot to something like an ubuntu live cd?" CreationDate="2010-11-02T15:09:02.647" UserId="2175" />
  <row Id="4064" PostId="3708" Text="I'm kinda confused, you are willing to reinstall XP, but are not ready to format the drive where it is installed? Were you able to reinstall XP?" CreationDate="2010-11-02T15:11:00.090" UserId="250" />
  <row Id="4065" PostId="3708" Text="Did I say I will mind? Check again." CreationDate="2010-11-02T16:20:12.340" UserId="2063" />
  <row Id="4066" PostId="3712" Text="do you know what you messed up? also can you find any relevant information when you run `dmesg`?" CreationDate="2010-11-02T16:35:53.443" UserId="1327" />
  <row Id="4067" PostId="3710" Score="1" Text="have a look at this question: http://stackoverflow.com/questions/100170" CreationDate="2010-11-02T16:39:28.370" UserId="1327" />
  <row Id="4068" PostId="3708" Text="Urgh sorry, I missed the &quot;mind&quot;. Anyway it's good that you have your answer :)" CreationDate="2010-11-02T16:42:04.823" UserId="250" />
  <row Id="4069" PostId="3706" Text="That was my first thought. No, it's something else." CreationDate="2010-11-02T16:45:37.770" UserId="1900" />
  <row Id="4070" PostId="3711" Text="`grep` alone might be not enough, if relative links are involved like `../other`.  You might need to expand detected links and compare with the full path to your dir of interest for a match." CreationDate="2010-11-02T16:45:55.087" UserId="1946" />
  <row Id="4071" PostId="3661" Text="@alex: From light googling, `stdlog` might have been a FORTRAN thing that never made it into Unix. I didn't find anything like a reference for this, though." CreationDate="2010-11-02T18:07:10.603" UserId="885" />
  <row Id="4072" PostId="3658" Score="1" Text="@Stefan: You probably knew this already, but `1` is **stdout**; `0` is **stdin**." CreationDate="2010-11-02T18:08:45.580" UserId="885" />
  <row Id="4073" PostId="3690" Text="@xenoterracide: If it's a social issue, it might be enough to be more technically sophisticated than the others. Maybe you could “hide” the files (or more precisely their permissions) away on a separate filesystem (see my edit)." CreationDate="2010-11-02T18:24:06.907" UserId="885" />
  <row Id="4074" PostId="3006" Text="@Gilles this is what I thought to be the case upon asking the question. I suppose it's a deeper question as to where those files are exactly." CreationDate="2010-11-02T19:27:39.423" UserId="1389" />
  <row Id="4075" PostId="3642" Text="OK, I used &quot;chattr -v 1 file*&quot; to change several files' version number. It worked (lsattr showed version 1) and the files didn't get merged into each other or anything weird. So I think this is still an open question. Is it just &quot;we had extra space for an int in the inode&quot;, or does it have a meaning/usage/history/etc (other than NFS above)" CreationDate="2010-11-02T20:23:00.010" UserId="2267" />
  <row Id="4076" PostId="3642" Text="add this to your question, by editing your question. That way more people get to see it..." CreationDate="2010-11-02T20:35:11.333" UserId="1327" />
  <row Id="4077" PostId="3658" Text="the `0` **stdin** is news to me :) I learnt something +1" CreationDate="2010-11-02T20:36:53.843" UserId="1327" />
  <row Id="4078" PostId="3661" Text="yeah, that seems pretty much like one of those false memories..." CreationDate="2010-11-02T20:44:44.413" UserId="1946" />
  <row Id="4079" PostId="3706" Text="Or `:let @/ = ''`, which will clear the search pattern so you can leave `hls` on.  (Even if it apparently doesn't matter, for OP)" CreationDate="2010-11-02T23:50:21.010" UserId="1779" />
  <row Id="4080" PostId="3705" Score="1" Text="What happens if you `:syn off`?" CreationDate="2010-11-02T23:52:59.017" UserId="1779" />
  <row Id="4081" PostId="3715" Text="hmm I don't think that's a GUI http://en.wikipedia.org/wiki/Graphical_user_interface" CreationDate="2010-11-03T00:38:20.560" UserId="250" />
  <row Id="4082" PostId="3718" Text="This particular distro is Debian 5. I managed to get sound to work in both programs by installing libsdl1.2-debian. I have no idea why cplay would use SDL." CreationDate="2010-11-03T01:12:07.530" UserId="1389" />
  <row Id="4083" PostId="2073" Text="lol, i meant @adam. but yes, I like your suggestion" CreationDate="2010-11-03T04:03:39.477" UserId="1327" />
  <row Id="4085" PostId="3305" Score="2" Text="Please post output of `dmesg | grep CPU` once you boot to shell from the install disc." CreationDate="2010-11-03T04:59:22.490" UserId="2519" />
  <row Id="4086" PostId="3615" Text="By the way, the rest of that document that I linked to describes how to set up the special keys in all the other programs, including shells. It's excellent stuff." CreationDate="2010-11-03T07:40:05.687" UserId="1010" />
  <row Id="4087" PostId="3715" Score="1" Text="Why not? You can click and drag windows around with the mouse. You can interact with programs using the mouse if they support them (e.g. mc and links, IIRC), you can view images and watch videos if you set it up right. But yes, I'm being partially facetious with this suggestion." CreationDate="2010-11-03T07:41:43.923" UserId="1010" />
  <row Id="4088" PostId="3730" Text="Sanity check: did you run `yum update`?" CreationDate="2010-11-03T07:56:59.637" UserId="885" />
  <row Id="4089" PostId="3730" Text="@Gilles: Yes - that's the command I was told to use (with some arguments). Remember, yum update is not the same as apt-get update - yum does what apt-get update does automatically. It works now, but it didn't last night." CreationDate="2010-11-03T08:19:35.587" UserId="2510" />
  <row Id="4091" PostId="3712" Text="What exactly does not work? You cannot move the touchpad at all?" CreationDate="2010-11-03T09:38:04.647" UserId="33" />
  <row Id="4092" PostId="3737" Text="By default, &quot;Take a screenshot of a window&quot; is Ctrl-Print. This combination failed to work reliably for me, however, so I changed it." CreationDate="2010-11-03T10:08:35.543" UserId="2179" />
  <row Id="4093" PostId="3680" Text="@phunehehe Bingo!" CreationDate="2010-11-03T10:09:29.243" UserId="2179" />
  <row Id="4095" PostId="3680" Text="yeah I have just started learning python, but don't you think you should include some instruction on how to run this script?" CreationDate="2010-11-03T10:41:23.473" UserId="250" />
  <row Id="4096" PostId="3650" Text="@xenoterracide Ah, I see. Just to confirm it's the right technique, would you redirect stderr like so: sudo make 2&gt; make_errors.log" CreationDate="2010-11-03T11:30:31.470" UserId="2493" />
  <row Id="4097" PostId="3650" Score="1" Text="@hced I don't do redirection often, and don't feel like looking it up, somewhere on here someone has posted on redirection. but that looks right. except... why are you running `make` with `sudo` you should *never* (have to) compile as root. only `make install` could require root." CreationDate="2010-11-03T11:38:40.500" UserId="29" />
  <row Id="4099" PostId="3713" Text="`echo foo | openssl dgst -binary -sha1 | base64` is equivalent, and probably the cleanest way of doing this.&#xA;" CreationDate="2010-11-03T11:46:32.940" UserId="29" />
  <row Id="4101" PostId="3729" Text="I'd vote you up if I could, albeit my current reputation doesn't allow me to. Thanks for you interesting info. Dumb question probably, but how do you perform such navigation in Emacs' shell? This also makes me curious if it holds true in Vim as well (which is the editor I'm settled for learning), using :shell (in which case my previous dumb question also applies to Vim; how do you perform the &quot;jump between prompts&quot; in Vim's shell)." CreationDate="2010-11-03T11:51:37.380" UserId="2493" />
  <row Id="4102" PostId="3695" Text="@phunehehe, thanks! I've updated the post to include my overall goal." CreationDate="2010-11-03T11:53:53.277" UserId="2517" />
  <row Id="4108" PostId="3731" Text="Thanks a lot. It is a very useful information. Do you know a way to get these information in C/C++ (without parsing the command outputs) ?" CreationDate="2010-11-03T13:10:44.850" UserId="2525" />
  <row Id="4109" PostId="3733" Score="4" Text="Your direct question was well answered by Giles, but all in all, the Linux filesystems make poor substitutes for databases when you are using filenames as keys for tiny bits of data. You don't control the generation, but you can post-process the data into a form more amenable to analysis; if you don't, you'll be paying the file system overhead at every step. You can reduce the overhead but you might be happiest if you eliminate it." CreationDate="2010-11-03T13:40:31.630" UserId="1294" />
  <row Id="4112" PostId="3731" Text="You could call XQueryTree yourself, as the older versions of xwininfo do, or the xcb equivalents as the new versions do." CreationDate="2010-11-03T14:18:46.840" UserId="146" />
  <row Id="4114" PostId="3731" Text="Do you think it is an advantage to use xcb? As far as I read it's a low level access to the X11 protocol. Also, the API doesn't look as comfortable as using the X11 libs." CreationDate="2010-11-03T16:10:38.900" UserId="2525" />
  <row Id="4115" PostId="3743" Text="and how do I get passed **bashrun**?" CreationDate="2010-11-03T18:04:49.923" UserId="1327" />
  <row Id="4116" PostId="3743" Text="According to the manual, `bashrun` doesn't read `~/.bashrc`.  If the manual is wrong, you can say &quot;unalias emacs&quot; in $XDG_CONFIG_HOME/bashrun/rc to remove the alias for `bashrun`." CreationDate="2010-11-03T18:09:42.157" UserId="138" />
  <row Id="4117" PostId="3745" Score="1" Text="I was just writing the same thing. I think `-lname` is better; `-L` will cause it to follow symlinks and to return normal files with the given name, while `-lname` is exactly the desired behavior. It won't match in this case though because the symlink's target is `/opt/file`, so you need to either do `find . -lname '/opt/file'` or `find . -lname '*/file'`" CreationDate="2010-11-03T18:22:19.273" UserId="73" />
  <row Id="4118" PostId="3729" Score="2" Text="@hced: In Emacs, you get normal cursor navigation, plus a few specific commands like `C-c C-p` and `C-c C-n` to navigate to the previous/next prompt. Vim doesn't have any similar feature: `:shell` just starts a shell that interacts directly with the terminal Vim is running in (and you can't interact with Vim until the shell exits)." CreationDate="2010-11-03T18:51:43.253" UserId="885" />
  <row Id="4119" PostId="3734" Text="@Gilles: thanks for a great answer." CreationDate="2010-11-03T18:53:18.523" UserId="1100" />
  <row Id="4120" PostId="3743" Text="mmm... you win! but.. Gilles wins more :) ( I want to cover more than just bash )" CreationDate="2010-11-03T19:01:25.880" UserId="1327" />
  <row Id="4121" PostId="2991" Text="A related tip: I've gotten into the habit of putting `emulate sh 2&gt;/dev/null` at the top of my shell scripts. When run with zsh, this puts it into POSIX compatible mode. When run with other shells, the line has no effect. Then I can run the script with `zsh -x /path/to/script`. I like zsh here because it provides better traces than bash or ksh." CreationDate="2010-11-03T19:03:47.703" UserId="885" />
  <row Id="4122" PostId="3717" Text="Okay, this is actually what I need in my case. In a single directory with no recursion, I want to see if any symlinks to it also reside in that directory, so I know whether deleting it will cause any breakage. Will `find -L ./ -xtype l -samefile /target` do the trick? If I wrapped it in a foreach() covering each file, I could search all the files for symlinks to them, right?&#xA;" CreationDate="2010-11-03T19:41:59.320" UserId="394" />
  <row Id="4123" PostId="3713" Text="Using `openssl` for base64 as well has the advantage of depending on only one tool (`ksh: base64: not found`)." CreationDate="2010-11-03T19:51:49.190" UserId="885" />
  <row Id="4124" PostId="3717" Text="@user394: I don't understand the requirement in your comment, there are several ambiguous “it”s and “the”s. Could you reformulate it more clearly, perhaps with examples?" CreationDate="2010-11-03T19:53:40.687" UserId="885" />
  <row Id="4125" PostId="3737" Text="Didn't work for me either, thanks for the tip!" CreationDate="2010-11-03T19:55:30.420" UserId="2455" />
  <row Id="4126" PostId="3731" Text="Well, I did when I modified xwininfo to use xcb, but that was as much to serve as an xcb example &amp; test code as for the actual benefits.  http://blogs.sun.com/alanc/entry/porting_xwininfo_to_xcb has a much longer explanation than I can provide here." CreationDate="2010-11-03T20:13:24.617" UserId="146" />
  <row Id="4127" PostId="3747" Score="1" Text="[This answer](http://unix.stackexchange.com/questions/6/what-are-your-favorite-command-line-features-or-tricks/67#67) might help" CreationDate="2010-11-03T21:50:43.797" UserId="73" />
  <row Id="4128" PostId="3747" Score="1" Text="Not an answer to your question, but &lt;ctrl&gt;+R will allow you to interactively search your history and then immediately execute if you find what you were looking for." CreationDate="2010-11-03T22:25:16.387" UserId="2150" />
  <row Id="4129" PostId="3743" Text="@Stefan I think most shells load from `.bashrc`; if they don't they almost certainly have an equivalent configuration file you could put the same line in" CreationDate="2010-11-03T23:29:55.760" UserId="73" />
  <row Id="4130" PostId="3676" Text="@Gilles - Yes, thanks for updating and ensuring this answer was correct. " CreationDate="2010-11-03T23:47:29.353" UserId="2058" />
  <row Id="4131" PostId="3752" Text="I liked cfg-update on gentoo better than dispatch-conf, unfortunately the former is not maintained. Since about a year before I left, and it was a mess of spaghetti perl, imo." CreationDate="2010-11-04T00:36:57.140" UserId="29" />
  <row Id="4132" PostId="3756" Text="Gilles already uses etckeeper." CreationDate="2010-11-04T01:00:09.187" UserId="33" />
  <row Id="4134" PostId="3755" Text="Nah she needs to use office and illustrator and stuff. And the problem is this particular laptop doesn't run linux very nicely. It has one of those dual graphics card things, and I run linux myself on the same laptop, but it's almost not even worth the trouble for me." CreationDate="2010-11-04T01:44:15.320" UserId="1571" />
  <row Id="4135" PostId="3743" Text="@Michael, I don't want to store the same config setting in two different files, that is just bad practise. Also, I used `emacs` from `sh`, it opened a **gui** instead. " CreationDate="2010-11-04T05:01:49.680" UserId="1327" />
  <row Id="4136" PostId="3755" Text="this does not seem to be a &quot;will she miss windows?&quot; situation but more of &quot;will she miss the laptop?&quot; :) " CreationDate="2010-11-04T05:29:50.700" UserId="1327" />
  <row Id="4137" PostId="3703" Text="Thank you. It seems perfect for my situation." CreationDate="2010-11-04T06:21:39.637" UserId="2274" />
  <row Id="4138" PostId="3756" Text="@tante oh I missed that" CreationDate="2010-11-04T09:33:18.633" UserId="29" />
  <row Id="4139" PostId="240" Score="1" Text="I agree. It's the holy bible of UNIX system programming" CreationDate="2010-11-04T12:15:10.073" UserId="2091" />
  <row Id="4140" PostId="3755" Text="I'd run samba on the linux VM and allow for file transfers between the OS's that way. I hope the Windows OS is not Vista, but even with XPsp3 or Windows 7, you will need substantial ammounts of memory to run the VM machines fairly.  I'm hoping its a 64bit version of Windows 7, and you have upped the memory above 4GB - then everything runs quite nicely with VMWare.  Windows Vista 32bit with 3.25GB is just about bearable, but 2GB of memory and VM are just painful.   " CreationDate="2010-11-04T12:59:50.293" UserId="2534" />
  <row Id="4141" PostId="3762" Text="I don't want to stop blinking, I want my cursor to stop ;)" CreationDate="2010-11-04T13:40:08.917" UserId="1327" />
  <row Id="4142" PostId="3743" Text="@Stefan Well, `ln -s .bashrc .whateverrc`. Or use `.profile`, etc." CreationDate="2010-11-04T14:32:24.763" UserId="73" />
  <row Id="4143" PostId="3748" Text="I agree about Up Enter" CreationDate="2010-11-04T14:43:20.547" UserId="250" />
  <row Id="4144" PostId="986" Text="Duplicate of SO question: http://stackoverflow.com/questions/1430164/differences-between-emacs-and-vim of ubuntu http://askubuntu.com/questions/804/text-editors-in-ubuntu-vim-vs-emac-vs-nano and programmers http://programmers.stackexchange.com/questions/1271/which-one-works-better-for-you-vim-or-emacs  Gotta love the proliferation here." CreationDate="2010-11-04T16:03:51.680" UserId="2543" />
  <row Id="4145" PostId="3743" Score="1" Text="Putting my solution into `.profile` will work if `/bin/sh` is Bash or another shell that understands aliases, but that is not the case on all systems.  That said, I don't see why it really matters.  `/bin/sh` exists for running shell scripts, not for interactive use, which use of X implies.  If you have a shell script you wrote for use interactively, instead of trying to shoehorn my solution into working for `/bin/sh`, just put `#!/bin/bash` or whatever at the top instead." CreationDate="2010-11-04T16:36:07.420" UserId="138" />
  <row Id="4146" PostId="3755" Text="It's win7, and it's the same laptop that I have and it's a really nice laptop. It's just it has an Intel/Nvidia dual card setup that linux hates, even with vga_switcheroo. It's running win7 host, 8gb ram" CreationDate="2010-11-04T18:56:40.503" UserId="1571" />
  <row Id="4147" PostId="3746" Text="Wow; I never knew about sudoedit" CreationDate="2010-11-04T20:20:40.617" UserId="73" />
  <row Id="4148" PostId="3771" Score="4" Text="Beware that your quoted command will probably only do what the poster wants if they're numbered in such a way that the shell expands `*` in &quot;natural&quot; order.  If you have &quot;file1.txt...file9.txt...file14.txt&quot; it won't work because file1?.txt will sort between file1.txt and file2.txt.  You'd have to rename them to &quot;file01.txt...file09.txt...file14.txt&quot;.   Say `echo *` if you're not sure." CreationDate="2010-11-04T21:43:48.597" UserId="138" />
  <row Id="4150" PostId="3771" Text="@Warren: good point (or you can use zsh and set its `numeric_glob_sort` option)." CreationDate="2010-11-04T23:04:40.740" UserId="885" />
  <row Id="4151" PostId="3771" Text="@warren-young a correct, useful warning comment. But in my actual case the order makes no difference (because files contain just simple SQL statements inserting data records which have no dependencies)." CreationDate="2010-11-04T23:16:07.720" UserId="2119" />
  <row Id="4152" PostId="3772" Text="and this is why I don't like &quot;repository distro's&quot; sure arch has repo's but you don't have to go looking for them to get stuff done. Trust me, for someone who doesn't use repository distro's *ubuntu* is just as frustrating to me." CreationDate="2010-11-05T01:16:40.170" UserId="29" />
  <row Id="4153" PostId="3776" Score="1" Text="http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05 Functions in `sh` are defined `my_program_wrapper() { ...; }`.  Bash does handle the keyword `function` but why not go with what's more portable?" CreationDate="2010-11-05T01:51:47.140" UserId="1779" />
  <row Id="4154" PostId="3748" Text="I find Ctrl-P Ctrl-J to be pretty fast; faster than Up Enter, at least." CreationDate="2010-11-05T01:55:20.637" UserId="1779" />
  <row Id="4155" PostId="3778" Text="Thanks, this works perfectly!" CreationDate="2010-11-05T02:07:24.370" UserId="820" />
  <row Id="4156" PostId="3780" Text="You can also use functions inside scripts to organize and reuse code in the same way you'd use them in other languages." CreationDate="2010-11-05T02:12:33.563" UserId="382" />
  <row Id="4159" PostId="3785" Score="3" Text="Instead of pushd and popd you can use a subshell - `(cd $i &amp;&amp; a.py)`. This construct also protects against $i not existing - you dont want to popd if pushd did not work." CreationDate="2010-11-05T06:57:51.033" UserId="1078" />
  <row Id="4160" PostId="3785" Text="works like a charm!" CreationDate="2010-11-05T08:17:27.267" UserId="2699" />
  <row Id="4161" PostId="3785" Score="3" Text="@Michael, @camh, @sinyeo: **Always put double quotes around variable substitutions.**, e.g. `cd -- &quot;$i&quot;`. Also, protect commands against files beginning with `-` by passing `--` before file names." CreationDate="2010-11-05T08:30:11.480" UserId="885" />
  <row Id="4162" PostId="3787" Text="I ended up doing the latter just because in a hurry, but good to know the former exists." CreationDate="2010-11-05T11:26:21.820" UserId="29" />
  <row Id="4163" PostId="3788" Text="Although I believe your question is legitimate [I question whether the answers are legitimately ontopic](http://meta.unix.stackexchange.com/questions/245/should-politics-and-idealisms-be-on-topic)" CreationDate="2010-11-05T11:53:41.257" UserId="29" />
  <row Id="4164" PostId="3788" Text="In a nutshell they are probably not faster and are simply there to replace proprietary code in order to make the kernel more pure in it's open source ness" CreationDate="2010-11-05T11:54:30.710" UserId="29" />
  <row Id="4165" PostId="3776" Text="@ephemient Very true. I mean besides the fact that everyone uses GNU Bash and not the barebones POSIX shell." CreationDate="2010-11-05T12:53:09.997" UserId="1655" />
  <row Id="4166" PostId="3785" Score="2" Text="Ok, as always the comments are right, but I can't remember the last time I posted a tiny shell snippet without somebody commenting on something like this -- do you guys seriously write one-off loops with all these redundancies built in? You're protecting against directories not existing or having spaces or starting with dashes as though it needs to accept arbitrary input; it's a one-time for loop that's iterating over the static array &quot;first_dir second_dir third_dir&quot; -- none of those things are a problem" CreationDate="2010-11-05T14:14:44.087" UserId="73" />
  <row Id="4167" PostId="2653" Text="Sorry for the delayed accept @Bill! I was waiting until I could download the source and try commenting this out on my own, but that was a decision I made in a moment of insanity -- I'm never going to find time to do that! :-(" CreationDate="2010-11-05T14:31:41.573" UserId="1974" />
  <row Id="4168" PostId="609" Score="3" Text="+1 I second this! You forgot to mention that Ubuntu has a &quot;virtual machine&quot; install which is specifically what the question asked for -- a linux install tuned for running inside a VM." CreationDate="2010-11-05T14:42:56.837" UserId="1974" />
  <row Id="4169" PostId="3788" Text="@xeno: I've tried to write an even-handed answer to this. Let me know if you think if it wonders off-topic and I will edit it." CreationDate="2010-11-05T17:51:08.903" UserId="1207" />
  <row Id="4170" PostId="3795" Text="You can simplify `dd if=/dev/cdrom |` to `&lt;/dev/cdrom`. There's nothing magical about `dd` and block devices, it's just a stream manipulation command with a funny syntax." CreationDate="2010-11-05T18:26:06.313" UserId="885" />
  <row Id="4171" PostId="3793" Score="1" Text="The most important point is that Linux-libre *removes* functionality. You get a choice between fully open-source software that supports fewer devices (Linux-libre), and partially closed-source software that supports more devices (the mainline kernel)." CreationDate="2010-11-05T18:29:33.580" UserId="885" />
  <row Id="4172" PostId="3795" Text="By the way, you (phunehehe) should have the iso size together with the MD5 checksum. This is particularly important for MD5 which is partially broken, but it's a good idea for both security and usability no matter what checksum you use." CreationDate="2010-11-05T18:34:48.753" UserId="885" />
  <row Id="4173" PostId="3790" Score="1" Text="Add `set -x` to get a trace of the script's execution. You may also need `exec &gt;~/.vnc-startup-$DISPLAY.log 2&gt;&amp;1` to get the log to a known place, although it should appear in `~/.vnc/darkstar:9` without the `exec` line (where `darkstar` is your hostname and `9` is the display number). Post the trace in your question." CreationDate="2010-11-05T19:03:17.513" UserId="885" />
  <row Id="4174" PostId="3798" Text="Heh, I was editing my answer to include this as you were writing yours.  I think I'll just remove my edits.  I really wish I could see when somebody else was writing an answer." CreationDate="2010-11-05T20:01:54.090" UserId="1207" />
  <row Id="4175" PostId="3798" Score="1" Text="Strictly speaking, your script isn't truncating lines; rather, it's wrapping long lines, but not re-wrapping the remainder." CreationDate="2010-11-05T22:44:23.620" UserId="382" />
  <row Id="4176" PostId="3793" Text="I just assumed the blobs would be replaced with equivalently functionl code. Bad assumption." CreationDate="2010-11-05T23:13:03.670" UserId="1898" />
  <row Id="4177" PostId="3800" Text="We'd have to see the file, and even then this is probably simply a bug in xine/gstreamer" CreationDate="2010-11-05T23:32:17.897" UserId="29" />
  <row Id="4178" PostId="3802" Text="By the way, I lifted Gilles' script to use as part of mine." CreationDate="2010-11-06T00:07:27.743" UserId="382" />
  <row Id="4181" PostId="3785" Score="2" Text="@Michael: I strive to include proper quoting and appropriate generalizations in my public posts. I can not know when someone random reader is going to copy some bit of an answer into a context that is (unbeknownst to the reader) just different enough from the original context. Using quoting and other generalization techniques can greatly expand the breadth of situations where any given code snippet can be correctly applied.&#xA;&#xA;I also like to use proper quoting, etc. in my interactive use since I find that such practice forms habits that benefit me when writing full shell programs." CreationDate="2010-11-06T02:00:05.467" UserId="1107" />
  <row Id="4182" PostId="3785" Score="1" Text="@Michael: I totally agree with Chris; I'm in the habit of quoting even in one-liners, and using `&amp;&amp;` when possible, because you just never know when you'll forget there's a space in something, or make a typo causing a key command to fail, and depending on when it bites you, you could have a mess to unravel." CreationDate="2010-11-06T02:11:04.457" UserId="2376" />
  <row Id="4183" PostId="3458" Score="1" Text="`-F` is for fixed string matching (“exact matches”), but it does **not** force the pattern to match the whole line. [POSIX specifies the `-x` flag](http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html) to limit matches to instances where a pattern matches the whole line." CreationDate="2010-11-06T03:14:11.440" UserId="1107" />
  <row Id="4184" PostId="3805" Text="Nice. I should really learn `find`, it has flags for every conceivable situation" CreationDate="2010-11-06T04:32:20.470" UserId="73" />
  <row Id="4185" PostId="3795" Text="@Gilles: actually, using `dd` with `bs` of the device cache size can speedup data transfer as opposed to plain input redirection." CreationDate="2010-11-06T04:51:30.590" UserId="1946" />
  <row Id="4186" PostId="3800" Score="1" Text="Or a misencoded file that mplayer and vlc happen to be able to handle" CreationDate="2010-11-06T04:55:32.783" UserId="73" />
  <row Id="4187" PostId="3804" Text="Haha that is what it seems like. Are you connected to Arizona in any way?" CreationDate="2010-11-06T05:17:53.383" UserId="2562" />
  <row Id="4188" PostId="3805" Text="The man page for find isn't great, but the info pages are extensive." CreationDate="2010-11-06T05:47:03.820" UserId="2180" />
  <row Id="4189" PostId="3795" Text="@Gilles: what do you mean by &quot;MD5 which is partially broken&quot;? And why should I keep the file size, when if something is wrong the checksum should tell me right away?" CreationDate="2010-11-06T10:15:04.960" UserId="250" />
  <row Id="4190" PostId="3418" Text="You're right.  Of course, I find `kill -9` satisfying when angry.  ;D" CreationDate="2010-11-06T11:27:25.273" UserId="614" />
  <row Id="4191" PostId="3795" Text="@phunehehe: There are [known cryptographic weaknesses with MD5](http://en.wikipedia.org/wiki/MD5#Security) (it is not (publicly) known how to generate a collision for a given file, but it could come). Knowing the file size gives you a little more confidence (though not much more). It also gives you immediate feedback for common accidental errors such as truncated downloads." CreationDate="2010-11-06T11:56:27.210" UserId="885" />
  <row Id="4192" PostId="3795" Text="@alex: `dd` with a large `bs` can speed up data **transfers** between two local drives (even more so between two locations on the same local drive) (typically a few MB gives you top speed, though I don't think it's related with any device cache size). Here there is no disk-to-disk transfer, only disk-to-memory, so all the extra `dd` step does is to *add* a (probably negligible) bit of running time (there is no advantage on the disk side, and there is one extra memory-to-memory copy step, but it's dwarfed by the MD5sum calculation)." CreationDate="2010-11-06T12:00:24.993" UserId="885" />
  <row Id="4193" PostId="3809" Score="3" Text="no, you should use the shell's PATH variable." CreationDate="2010-11-06T12:28:28.207" UserId="1294" />
  <row Id="4194" PostId="3797" Text="Both Debian and the Ubuntu _alternate install CD_ have the LVM command-line tools installed, so you can use the command line approach to resize the LVM.  Ubuntu also has GParted (on the _standard_ CD as well).  Both Debian and Ubuntu allow installation on an arbitrary LVM partition if you choose the &quot;Manual partitioning&quot; scheme." CreationDate="2010-11-06T12:54:43.947" UserId="274" />
  <row Id="4195" PostId="3785" Text="@Michael: On the command line, I don't use quotes, because I use zsh which doesn't need them. In a (sh/ksh/bash) script, I always quote properly. Like Chris, when I post an answer, I treat it as a script that needs to be robust, since I have no control over what the reader is going to do with it." CreationDate="2010-11-06T13:08:40.237" UserId="885" />
  <row Id="4196" PostId="3795" Text="@Gilles: ok, my experience was with using `dd` to backup drive partitions, so you're probably right." CreationDate="2010-11-06T13:11:17.450" UserId="1946" />
  <row Id="4197" PostId="3805" Text="@Michael: Zsh has similar features; they're more cryptic but less typing. @Shawn: `-execdir` is useful, but not portable. @all: In bash 4 or zsh, you can do `for x in **/datafile.dat; do (cd &quot;$(dirname &quot;$x&quot;)&quot; &amp;&amp; ~/a.py &quot;$(basename &quot;$x&quot;)&quot;); done`" CreationDate="2010-11-06T13:16:22.477" UserId="885" />
  <row Id="4198" PostId="3305" Score="3" Text="or `cat /proc/cpuinfo`" CreationDate="2010-11-06T13:20:53.430" UserId="29" />
  <row Id="4199" PostId="3811" Score="1" Text="yeah, i think options show you that unix let's you do things, that is considered bad practise. Adding . to your path can also create other side effects that are generally bad." CreationDate="2010-11-06T13:58:18.407" UserId="2570" />
  <row Id="4200" PostId="3813" Text="at first I was going to say use `/etc/hosts` but that won't do per user... maybe you could set up a proxy that requires some form of authentication so it know's who's who.. other options would include browser plugins..." CreationDate="2010-11-06T15:31:42.893" UserId="29" />
  <row Id="4201" PostId="3812" Text="Perfect! Thank you!" CreationDate="2010-11-06T18:46:45.797" UserId="2562" />
  <row Id="4202" PostId="3809" Score="1" Text="I think it would be fine to create a personal `~/bin/` folder, add THAT to your path, and create symlinks in that folder to anything you wanted to be executable from anywhere. " CreationDate="2010-11-06T20:16:30.393" UserId="1071" />
  <row Id="4203" PostId="3819" Text="Fedora 14 uses legacy GRUB - the syntax is not the problem: I am just worried about default kernel options that a default config file from fedora might include, but I don't know anything about ..." CreationDate="2010-11-06T20:35:06.300" UserId="1131" />
  <row Id="4204" PostId="3806" Text="`chattr` A  file with the `c' attribute set is automatically compressed on the disk by the kernel.&#xA;       A read from this file returns uncompressed data.  A write to this  file  compresses  data&#xA;       before storing them on the disk.  Note: please make sure to read the bugs and limitations&#xA;       section at the end of this document.&#xA;" CreationDate="2010-11-06T20:38:11.473" UserId="29" />
  <row Id="4205" PostId="3806" Text="I'm not sure what filesystems might actually support the c flag.... man page says ext2, ext3 doesn't... but it might be worth investigation." CreationDate="2010-11-06T20:39:30.647" UserId="29" />
  <row Id="4206" PostId="3458" Text="@Chris: Bah, good catch." CreationDate="2010-11-07T00:22:42.037" UserId="481" />
  <row Id="4207" PostId="3824" Score="2" Text="The following command will switch it from the command line: `gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true` &#xA;" CreationDate="2010-11-07T05:59:26.720" UserId="1207" />
  <row Id="4209" PostId="3808" Score="1" Text="If the application has a constraint on the file name (e.g. it must end in `.foo`), make a symbolic link to `/dev/stdout` (for output) or `/dev/stdin` (for input) that matches the name constraint." CreationDate="2010-11-07T15:56:32.673" UserId="885" />
  <row Id="4210" PostId="3810" Text="@Shawn: Why would you skip FuseCompress?" CreationDate="2010-11-07T16:16:58.287" UserId="885" />
  <row Id="4211" PostId="3806" Text="@xenoterracide: The *flag* is implemented in `chattr` and the underlying kernel code. There's just no special behavior (such as changing the way the contents of the file is stored) in the Linux kernel if you use it." CreationDate="2010-11-07T16:18:10.970" UserId="885" />
  <row Id="4212" PostId="3814" Score="1" Text="The following links may help — you probably want to configure HAL in some way but I don't know exactly how. [Ubuntu - How to automount an external drive at a preconfigured mount point?](http://superuser.com/questions/16823/); [A different approach…HAL](http://www.g-loaded.eu/2005/09/19/a-different-approach-hal/); [TipsAndTricks/HAL](http://wiki.centos.org/TipsAndTricks/HAL)" CreationDate="2010-11-07T17:02:21.540" UserId="885" />
  <row Id="4213" PostId="3834" Text="Fixed the typo with the missing space next to the bracket." CreationDate="2010-11-07T17:24:47.837" UserId="2567" />
  <row Id="4214" PostId="3823" Text="thanks a lot - btw, the manpage to dracut seems to describe some Fedora specific kernel parameters that are present in that file" CreationDate="2010-11-07T17:49:32.357" UserId="1131" />
  <row Id="4215" PostId="3827" Text="OMG ;) - with this information, Fedora network install is basically unusable. I agree, you have to get the initial installer from a trusted source, which is one thing. But in any case how complicated that might be (cheksum verifying, web of trust research), I don't see why the installer image of a release cannot include the default gpg keyring of the release team. I really cannot think of any reason." CreationDate="2010-11-07T17:59:56.543" UserId="1131" />
  <row Id="4216" PostId="3827" Text="What is truly amazing is that this bug was reported over 10 years ago." CreationDate="2010-11-07T18:12:24.083" UserId="1207" />
  <row Id="4217" PostId="3806" Text="@Gilles so you're saying it won't compress data on the disk?" CreationDate="2010-11-07T18:33:38.343" UserId="29" />
  <row Id="4218" PostId="3810" Text="Only because it's not well-enough known (at least to me), so it's reliability hasn't been vetted yet." CreationDate="2010-11-07T19:18:20.907" UserId="2180" />
  <row Id="4219" PostId="3806" Text="@xenoterracide: Yes, as far as I know the mainline Linux kernel has never supported file compression in filesystems suitable for general use (as opposed to filesystems specialized for flash like JFFS2, and perhaps foreign filesystems (Stacker/Drivespace on FAT?)). There have been proposed patches for at least ext2 and reiserfs though." CreationDate="2010-11-07T19:44:47.890" UserId="885" />
  <row Id="4220" PostId="3806" Text="@Gilles but if it was implemented it's supposed to compress the data on the disk, right? That's why I mentioned it... I didn't give it as an answer because I'm unsure of where it's implemented, and thus the practicality of use." CreationDate="2010-11-07T19:52:54.220" UserId="29" />
  <row Id="4221" PostId="3836" Score="2" Text="why not just use `su -c 'command'`?" CreationDate="2010-11-07T19:57:28.613" UserId="29" />
  <row Id="4222" PostId="3806" Text="@xenoterracide: Yes, if you apply the right patch to the mainline kernel and set the `c` attribute, the data will be compressed. Patches do exist for ext2 at least, but they may or may not be up-to-date with recent kernels and may not be very reliable." CreationDate="2010-11-07T20:04:08.870" UserId="885" />
  <row Id="4223" PostId="3836" Text="@xenoterracide: Because I have literally no idea about &#xA;Linux. ;-) This is is a busybox based system, BTW. `su` tells me `&quot;su: must be suid to work properly&quot;`." CreationDate="2010-11-07T20:26:20.347" UserId="2579" />
  <row Id="4224" PostId="3833" Text="+1 For Qt on Embedded Linux also known as MeeGo" CreationDate="2010-11-07T20:38:08.687" UserId="2567" />
  <row Id="4225" PostId="2972" Score="1" Text="The concept generalizes to most executable formats, this isn't specific to gcc or even to unix." CreationDate="2010-11-07T21:20:09.100" UserId="885" />
  <row Id="4226" PostId="3831" Score="1" Text="For a detailed comparison, see my [answer](http://stackoverflow.com/questions/3869072/test-for-non-zero-length-string-in-bash-n-var-or-var/3870055#3870055) on Stack Overflow. Also, see [this](http://stackoverflow.com/questions/2600281/what-is-the-difference-between-operator-and-in-bash/2601583#2601583) and [this](http://stackoverflow.com/questions/2188199/bash-double-or-single-bracket-parentheses-curly-braces/2188369#2188369)." CreationDate="2010-11-07T22:25:39.287" UserId="382" />
  <row Id="4227" PostId="411" Score="3" Text="How old does a unix server have to be to not have `tr` and `sed` ? `sed` is old........ iirc," CreationDate="2010-11-07T23:25:10.243" UserId="29" />
  <row Id="4228" PostId="3836" Text="@tolomak, yeah it would have to be suid... do you have root access? can you `chmod` it?" CreationDate="2010-11-07T23:26:46.590" UserId="29" />
  <row Id="4229" PostId="3827" Score="1" Text="Patches accepted. :)" CreationDate="2010-11-07T23:54:18.427" UserId="2511" />
  <row Id="4230" PostId="3804" Text="Recent graduate" CreationDate="2010-11-08T01:31:02.223" UserId="1571" />
  <row Id="4231" PostId="3838" Text="@Maciej: This isn't quite the same question: the other question is about rebuilding the cache manually, this one is about doing it automatically." CreationDate="2010-11-08T01:54:20.483" UserId="885" />
  <row Id="4233" PostId="3838" Text="@Gilles I think the answers are probably the same though (and your accepted answer on the other question covers this already)" CreationDate="2010-11-08T01:55:43.900" UserId="73" />
  <row Id="4234" PostId="3838" Score="1" Text="You can tell zsh not to trust its cache when completing with `zstyle &quot;:completion:*:commands&quot; rehash 1`. There is a performance cost, but it is negligible on a typical desktop setting today. (It isn't if you have `$PATH` on NFS, or a RAM-starved system.) For a one-time need, run `rehash` to rebuild the command cache." CreationDate="2010-11-08T01:55:55.520" UserId="885" />
  <row Id="4235" PostId="3838" Text="@Michael: I don't think my answer on the other command covers Falmarri's question. I was in the process of writing one (see previous comment) when the closed question notice came." CreationDate="2010-11-08T01:58:45.830" UserId="885" />
  <row Id="4236" PostId="3838" Text="@Gilles Oh, `hash_list_all` isn't it? Well, I'll reopen this; if it is a dupe it can always be closed again and merged" CreationDate="2010-11-08T01:59:52.687" UserId="73" />
  <row Id="4237" PostId="3838" Text="Hmm &quot;After installing new software, an already opened terminal with zsh won't know about the new commands, and cannot generate auto-complete for those&quot; vs. &quot;After I install something via aptitude, zsh won't be able to find it until I search for it with which&quot; sounds rather similar. Could anyone explain what is the difference - both are about autocompletion problem after something was installed." CreationDate="2010-11-08T02:19:06.937" UserId="305" />
  <row Id="4238" PostId="3838" Text="Well I tried the `hash_list_all` and it didn't work. I'm seeing the same behaviour." CreationDate="2010-11-08T02:41:32.853" UserId="1571" />
  <row Id="4239" PostId="3840" Text="Is there anything else you can tell us about the environment?  " CreationDate="2010-11-08T03:06:26.323" UserId="1207" />
  <row Id="4240" PostId="3831" Text="nice links, with some nice answers :)" CreationDate="2010-11-08T04:27:57.590" UserId="2567" />
  <row Id="4242" PostId="3840" Text="@Steven: The distro is quite old - PuppyLinux 1.06 - and the computer is even older - an old Pentium MMX running at 200MHz." CreationDate="2010-11-08T06:33:14.853" UserId="1049" />
  <row Id="4243" PostId="3838" Text="Gilles’ comment/answer of `zstyle &quot;:completion:*:commands&quot; rehash 1` works in Zsh 4.3.3 and later." CreationDate="2010-11-08T06:33:44.277" UserId="1107" />
  <row Id="4245" PostId="3838" Text="@Maciej, @Michael: now that I've slept on it, I agree with the merge. Sorry about that. I'll either make my comment into an answer here or merge it into my answer there tonight." CreationDate="2010-11-08T08:22:14.817" UserId="885" />
  <row Id="4246" PostId="411" Text="Is there a C complier? :)" CreationDate="2010-11-08T08:44:34.357" UserId="1946" />
  <row Id="4247" PostId="3808" Text="Thanks, this is exactly what I needed!" CreationDate="2010-11-08T08:49:04.700" UserId="538" />
  <row Id="4248" PostId="3836" Score="2" Text="@xenoterracide, sure I can. I did a `chmod 4755 /bin/su` and `su` works now, thanks. :) I also found a way to install sudo itself, took me a while to get it right." CreationDate="2010-11-08T08:50:32.447" UserId="2579" />
  <row Id="4249" PostId="3841" Score="2" Text="It magic sysrq support is compiled into the kernel you may be able to use some of those features before rebooting." CreationDate="2010-11-08T09:52:22.747" UserId="1078" />
  <row Id="4250" PostId="3769" Text="wow another extensive answer :) +1 " CreationDate="2010-11-08T10:12:26.767" UserId="1327" />
  <row Id="4252" PostId="3833" Text="how about android?" CreationDate="2010-11-08T12:27:02.717" UserId="250" />
  <row Id="4253" PostId="3847" Text="wow I'm surprised that didn't get closed offtopic on SO" CreationDate="2010-11-08T12:38:56.403" UserId="29" />
  <row Id="4254" PostId="3847" Text="at the time, where else could they ask?" CreationDate="2010-11-08T12:41:36.030" UserId="1327" />
  <row Id="4255" PostId="3855" Text="Nope, its a linux host and I also don't have any Xorg or something with a GUI." CreationDate="2010-11-08T14:57:03.883" UserId="1339" />
  <row Id="4256" PostId="3855" Text="putty is in the standard repos for most dists, but the problem with X is worse..." CreationDate="2010-11-08T16:57:42.587" UserId="2567" />
  <row Id="4258" PostId="3814" Text="Oh nice. Thanks!" CreationDate="2010-11-08T17:41:03.307" UserId="2078" />
  <row Id="4259" PostId="3835" Text="I'll test these out tonight and see what I find. For now I'm accepting your answer, combined with the comment :)" CreationDate="2010-11-08T17:42:27.550" UserId="2078" />
  <row Id="4262" PostId="856" Score="5" Text="Where is the +10 Button???" CreationDate="2010-11-08T18:43:07.007" UserId="258" />
  <row Id="4263" PostId="3856" Score="1" Text="By the way, I would highly recommend tmux or GNU Screen instead. They are terminal multiplexers that are a bit easier to setup for this kind of thing, and you can use them over an ssh connection. The only disadvantage is that they don't have tabs for you to click on, but you can get a menu list of windows or sessions that you can navigate up and down through and to switch to one. They also have other fancy options like split-screen, activity/inactivity monitors, and the ability to keep the session open without a terminal attached." CreationDate="2010-11-08T19:00:07.380" UserId="2180" />
  <row Id="4264" PostId="3847" Text="@Stefan That doesn't make it on-topic there; it has nothing to do with programming" CreationDate="2010-11-08T19:09:05.423" UserId="73" />
  <row Id="4265" PostId="3800" Text="Can't upload the file, given that it's a full movie, sorry." CreationDate="2010-11-08T19:28:29.970" UserId="131" />
  <row Id="4266" PostId="3833" Text="@phunehehe - that should work too, but I suspect MeeGo's Debian base will make this kind of development easier" CreationDate="2010-11-08T21:05:28.193" UserId="2359" />
  <row Id="4267" PostId="3851" Score="2" Text="`find` is not needed, `\`pwd\`` is only one subshell and can be replaced by `$PWD`. `readlink -f` also follows symbolic links, which is not always desired." CreationDate="2010-11-08T21:19:16.497" UserId="885" />
  <row Id="4268" PostId="3859" Score="1" Text="`realpath` has been obsoleted by `readlink -f` in GNU coreutils, so fewer and fewer Linux systems have it. (And `readlink -f` also exists on OpenBSD, so it's not completely Linux-specific.)" CreationDate="2010-11-08T21:20:38.493" UserId="885" />
  <row Id="4269" PostId="3493" Text="@Macha: In principle, I think Pulseaudio is capable of replicating output on several ports. Did you find no way of doing this? Otherwise, a workaround that may or may not be acceptable is to play the sound file as it gets recorded (this may introduce unacceptable latency, and you'll probably have to record to a raw (uncompressed) format)." CreationDate="2010-11-08T21:24:59.190" UserId="885" />
  <row Id="4270" PostId="3856" Score="1" Text="@Shawn: Screen has advantages, but it also has downsides. One is that scrolling back to past output is harder than with most X terminal emulators. Another is that you can't easily have two windows from the same screen session displayed at the same time (this is not a problem if you use separate screen sessions, but then you need to switch between them, which separate terminal emulator tabs or windows makes easier)." CreationDate="2010-11-08T21:56:31.347" UserId="885" />
  <row Id="4271" PostId="3853" Text="Can you log into `somehost.tld` directly (from somewhere else where you don't need to pierce a firewall)? Post the full trace of `ssh -vvv somehost.tld` (anonymizing host names consistently and legibly)." CreationDate="2010-11-08T21:58:13.140" UserId="885" />
  <row Id="4273" PostId="3855" Text="@Johan: What echox is trying to do is exactly what corkscrew is for." CreationDate="2010-11-08T21:59:17.913" UserId="885" />
  <row Id="4274" PostId="3856" Text="@Giles: Or Screen is easier to scroll: it depends on the way you like to work. &#xA;I'm not sure what you mean about the two windows - I do it all the time: ^a S ^a &lt;tab&gt; ^a c" CreationDate="2010-11-08T22:24:54.990" UserId="2180" />
  <row Id="4275" PostId="3865" Text="What unix variant is this? The filesystem looks like NFS, is this right? Do you know what the filesystem type is on the server, and what OS it's running? If you don't know how to answer these questions, please post the output of `uname -a` and `mount | grep /m10mr`." CreationDate="2010-11-09T00:27:49.097" UserId="885" />
  <row Id="4276" PostId="3866" Score="2" Text="What unix variant is that? How did you install your system?" CreationDate="2010-11-09T00:29:19.687" UserId="885" />
  <row Id="4277" PostId="3861" Text="do you use iptables (or any iptables firewall builder?)" CreationDate="2010-11-09T00:50:46.670" UserId="29" />
  <row Id="4278" PostId="3864" Score="2" Text="@tomalak might I ask what variants? I've never seen that. It's definitely against FHS " CreationDate="2010-11-09T01:12:34.257" UserId="29" />
  <row Id="4279" PostId="3705" Text="It turned up out of nowhere and it disappeared by itself, " CreationDate="2010-11-09T02:17:27.590" UserId="1900" />
  <row Id="4280" PostId="3847" Text="i didn't say it was on-topic, just that they might have been more forgiving back then" CreationDate="2010-11-09T04:49:17.363" UserId="1327" />
  <row Id="4281" PostId="3864" Text="@xenoterracide: You might have guessed from [my other question](http://unix.stackexchange.com/questions/3836/sudo-missing-on-palm-webos-can-i-add-it), this is about WebOS again. `/home` just contains symlinks to `/var/home`." CreationDate="2010-11-09T08:26:45.973" UserId="2579" />
  <row Id="4282" PostId="3860" Text="You are right. I had to use a special build for the ch3Mnas and then run it like this: ./nzbget -D -c /ffp/etc/nzbget.conf" CreationDate="2010-11-09T08:28:40.060" UserId="2585" />
  <row Id="4284" PostId="3853" Text="Thanks that led me to the answer :-) forgot about -vvv :-)" CreationDate="2010-11-09T09:32:08.337" UserId="1339" />
  <row Id="4285" PostId="3869" Text="There are [indications](http://www.google.de/search?q=move+home+%22var/home%22) that this is not entirely unheard of." CreationDate="2010-11-09T11:15:39.763" UserId="2579" />
  <row Id="4286" PostId="3881" Text="How do you place those &quot;buttons&quot; into your answer? " CreationDate="2010-11-09T15:33:42.460" UserId="1253" />
  <row Id="4287" PostId="3883" Text="This seems to make sense on SO, actually. In any case, I don't think it fits here" CreationDate="2010-11-09T15:38:42.320" UserId="73" />
  <row Id="4288" PostId="3881" Score="1" Text="`&lt;kbd&gt;CTRL+_&lt;/kbd&gt;` - I have been wondering myself :)" CreationDate="2010-11-09T15:48:01.280" UserId="250" />
  <row Id="4289" PostId="3881" Text="@Chris You can see sources by clicking the edited link ( [this source](http://unix.stackexchange.com/revisions/656069b1-8efd-4378-8520-7af9c1330639/view-source) )" CreationDate="2010-11-09T15:56:38.643" UserId="73" />
  <row Id="4290" PostId="3883" Text="SO?  Its not a programming question its a system question?  I do not understand why SO would be the best place for this?  Is it possible for you to move it?  " CreationDate="2010-11-09T15:56:58.427" UserId="1253" />
  <row Id="4291" PostId="3885" Text="I figured as much, sorry for not having specified this." CreationDate="2010-11-09T16:30:03.337" UserId="2179" />
  <row Id="4292" PostId="3887" Score="4" Text="Minor difference between nohup and disown: the disown command will remove it from your jobs list; nohup will not." CreationDate="2010-11-09T16:41:10.630" UserId="2180" />
  <row Id="4293" PostId="3883" Text="@Chris Not yet; we [can't migrate till beta is over](http://meta.unix.stackexchange.com/questions/136/migrating-to-other-se-sites). A question about what version of python a given module is compatible with seems like an SO question to me" CreationDate="2010-11-09T18:12:02.597" UserId="73" />
  <row Id="4294" PostId="3887" Score="14" Text="`nohup` and `disown` both can be said to suppress `SIGHUP`, but in different ways. `nohup` makes the program ignore the signal initially (the program may change this). `nohup` also tries to arrange for the program not to have a controlling terminal, so that it won't be sent `SIGHUP` by the kernel when the terminal is closed. `disown` is purely internal to the shell; it causes the shell not to send `SIGHUP` when it terminates." CreationDate="2010-11-09T18:26:22.267" UserId="885" />
  <row Id="4295" PostId="3867" Text="The choice between `dpkg`, `opkg`, `rpm`, `pkg_add`, etc, has nothing to do with the CPU type and everything to do with the distribution." CreationDate="2010-11-09T18:38:20.907" UserId="885" />
  <row Id="4296" PostId="3893" Score="1" Text="Another one is xclip; it accepts from stdin by default. I only use it because it's the first such tool that I learned of." CreationDate="2010-11-09T19:04:06.623" UserId="2180" />
  <row Id="4297" PostId="3890" Text="Guest additions not being installed is almost certainly the problem" CreationDate="2010-11-09T19:06:32.350" UserId="1571" />
  <row Id="4298" PostId="3890" Text="Agreed with Falmarri. Most distributions have the guest additions in the repositories, so you can look there first." CreationDate="2010-11-09T19:18:01.857" UserId="2180" />
  <row Id="4299" PostId="3493" Text="@Gilles: Ok, thanks. My bad. The tutorial actually said that, but the way the answer was worded implied otherwise. There is one last problem: This way requires me to manually sync the sound as gtk-recordmydesktop and audacity are started seperately." CreationDate="2010-11-09T19:20:16.390" UserId="131" />
  <row Id="4300" PostId="3893" Text="@Shawn Post it as a separate answer :)" CreationDate="2010-11-09T19:35:24.277" UserId="73" />
  <row Id="4301" PostId="3856" Text="@Shawn: yes that is much simpler than double clicking the tab bar" CreationDate="2010-11-09T19:44:11.487" UserId="1571" />
  <row Id="4302" PostId="3890" Text="I followed the instructions and now I got &quot;Disable Guest Display Auto-resize&quot; and it's not selectable. Any ideas?" CreationDate="2010-11-09T21:49:53.743" UserId="688" />
  <row Id="4303" PostId="607" Text="Can you remove the reference to Oracle, since it's not really important to the question you are asking." CreationDate="2010-11-09T21:57:12.597" UserId="688" />
  <row Id="4305" PostId="3891" Score="2" Text="and dont forget the original /usr for home directories" CreationDate="2010-11-09T22:52:06.097" UserId="1078" />
  <row Id="4306" PostId="3856" Text="@Falmarri: actually it is. I touch the mouse infrequently enough that the optical sensor turns itself off so I have to wave it around for about 1.5 seconds before I can click anything. (Not to mention it means moving my hand off the keyboard and having to find the home location on the keyboard again.)" CreationDate="2010-11-09T22:55:03.733" UserId="2180" />
  <row Id="4307" PostId="3891" Text="@camh: I'm too young to have seen it, but yes, I might as well mention it." CreationDate="2010-11-09T23:07:16.287" UserId="885" />
  <row Id="4310" PostId="3890" Text="Are you sure you installed the guest additions correctly? You compiled/installed/restarted?" CreationDate="2010-11-09T23:55:02.307" UserId="1571" />
  <row Id="4311" PostId="3881" Text="@Michael: Unless you don't yet have edit privileges." CreationDate="2010-11-10T00:30:18.453" UserId="382" />
  <row Id="4312" PostId="3881" Text="Or Ctrl-_ Ctrl-y to go to the top." CreationDate="2010-11-10T00:31:27.610" UserId="382" />
  <row Id="4313" PostId="3892" Text="you must mean stdout?" CreationDate="2010-11-10T00:36:52.443" UserId="250" />
  <row Id="4314" PostId="3890" Text="@Fal, must I restart the host as well?" CreationDate="2010-11-10T01:04:45.180" UserId="688" />
  <row Id="4315" PostId="3899" Score="2" Text="This isn't always reliable: depending on the driver, kernel version and kernel compilation options, some SATA drivers can appear as ide and some PATA drivers can appear as scsi. Modern kernels tend to have every driver speak scsi to the generic disk layer, and that's what you see here." CreationDate="2010-11-10T01:12:41.003" UserId="885" />
  <row Id="4316" PostId="3902" Text="Do many IDE devices speak SCSI, and do they show up under `/proc/scsi`? On another system, I have an IDE DVD drive which is listed under `/proc/ide/hdb/model`. " CreationDate="2010-11-10T01:37:20.680" UserId="4" />
  <row Id="4317" PostId="3902" Text="@Stefan: All non-ancient IDE hardware devices speak SCSI to the controller. All (I think) IDE drivers can speak SCSI (or maybe I should say look SCSI) to the generic disk layer if compiled accordingly, but they (and a few SATA drivers) can also look like IDE." CreationDate="2010-11-10T01:45:10.827" UserId="885" />
  <row Id="4318" PostId="3900" Text="Awesome, thanks! The first command confused me but the second one nicely produced `/sys/bus/pci/drivers/pata_amd` !" CreationDate="2010-11-10T03:26:40.050" UserId="1974" />
  <row Id="4319" PostId="3899" Text="Yeah, sorry Stefan, the drive is listed under `/proc/scsi/scsi`, in fact my system doesn't even have `/proc/ide`... yet according to Gilles' answer, it looks like the drive is actually IDE." CreationDate="2010-11-10T03:29:24.790" UserId="1974" />
  <row Id="4320" PostId="3890" Text="Hm.  I don't think it's necessary to restart the host, but it might give you peace of mind if you do. Another thing to try would be shutting off the virtual machine (instead of just letting the guest reboot itself)." CreationDate="2010-11-10T03:30:33.010" UserId="2180" />
  <row Id="4321" PostId="3881" Text="@Dennis No, the edited link still shows up (it's just above my gravatar, &quot;edited X hours ago&quot;). If the post hasn't been edited you can still get to the revision list, but you have to do it manually since there's no link; you go to http://unix.stackexchange.com/posts/POST_ID/revisions" CreationDate="2010-11-10T03:37:18.263" UserId="73" />
  <row Id="4322" PostId="3881" Text="@Michael: Oh the editED link! I guess I should check into some literacy classes." CreationDate="2010-11-10T04:05:22.080" UserId="382" />
  <row Id="4323" PostId="3892" Score="1" Text="it really depends on which side of the pipe your standing on :P to the command that sends it to the clipboard, its `stdin`." CreationDate="2010-11-10T04:53:34.597" UserId="1327" />
  <row Id="4324" PostId="3891" Text="Yes, that's a decent explanation. The root file system on WebOS is indeed mounted as read-only in normal operation and must be remounted before one can modify system files." CreationDate="2010-11-10T08:04:45.017" UserId="2579" />
  <row Id="4325" PostId="3888" Text="Yes, I thought of that as well. In this case, it isn't - it's a smartphone and it all runs off a single flash memory module." CreationDate="2010-11-10T08:07:17.653" UserId="2579" />
  <row Id="4326" PostId="3888" Text="But home can also be on another partition as well... so this makes no sense." CreationDate="2010-11-10T08:08:50.170" UserId="2567" />
  <row Id="4329" PostId="3865" Text="@Gilles: I've added that output, but it's moot now anyway; `rm` suddenly started working." CreationDate="2010-11-10T10:56:32.067" UserId="2134" />
  <row Id="4330" PostId="3903" Text="The thing is that everything worked fine before I installed this driver." CreationDate="2010-11-10T11:03:12.010" UserId="2600" />
  <row Id="4331" PostId="3904" Text="Are you using `network-manager`? Is your wireless button turned on?" CreationDate="2010-11-10T12:39:53.070" UserId="688" />
  <row Id="4332" PostId="3904" Text="@Tshepang: I don't know how to do it. PLease let me know" CreationDate="2010-11-10T12:44:17.200" UserId="1267" />
  <row Id="4334" PostId="3888" Text="@Johan: you might want to group things together; not just have home on another partition." CreationDate="2010-11-10T14:06:29.717" UserId="2150" />
  <row Id="4335" PostId="2986" Text="This is exactly right.  If the OS can detect the 2 disks, it will give you the option to set them up during the install, one at a time.  " CreationDate="2010-11-10T15:59:23.460" UserId="298" />
  <row Id="4336" PostId="3907" Text="gimp is worth the effort, it is a good piece of sw. Not the most user friendly but quite competent :)" CreationDate="2010-11-10T16:00:17.407" UserId="2567" />
  <row Id="4337" PostId="3916" Text="I would rather just shut off X11 since that is where the problem is, but AFAIK that is not possible without turning off gdm.  The problem seems to be that the programs I leave running when ctrl+alt+F1 seem to be still running, and I would like to get back to my same state when returning to gnome after doing what I need with X11 off." CreationDate="2010-11-10T17:20:58.820" UserId="2049" />
  <row Id="4338" PostId="3878" Text="[More info](http://unix.stackexchange.com/questions/1519/how-do-i-delete-a-file-whose-name-begins-with)" CreationDate="2010-11-10T18:11:10.057" UserId="73" />
  <row Id="4339" PostId="3887" Score="3" Text="@Gilles, your comment is worth an answer of itself." CreationDate="2010-11-10T18:30:56.220" UserId="1170" />
  <row Id="4340" PostId="3904" Score="2" Text="@Chandru1: Many laptops have a hardware or software (`Fn`+something or a program) switch to enable the wifi, so first make sure you've turned it on. For better help, edit your question to add the exact model of your laptop and describe how you configured the wired connection. Also, if you have an interface component (a tray button, maybe) that lets you configure the network, describe it and tell us what your interface is (e.g. Gnome, KDE, ...)." CreationDate="2010-11-10T18:35:23.013" UserId="885" />
  <row Id="4341" PostId="3904" Text="@Giles: Its GNOME" CreationDate="2010-11-10T18:39:44.383" UserId="1267" />
  <row Id="4342" PostId="3917" Score="2" Text="The wikipedia entry says &quot;Due to infighting among the project's originators and main developers, DSL development seems to be at a standstill, and the future of the project is uncertain&quot; which doesn't sound too good." CreationDate="2010-11-10T19:30:03.433" UserId="1941" />
  <row Id="4343" PostId="3910" Text="Will you have enough RAM to run the system off RAM (i.e. you can load a big compressed archive at boot time), or must it run from the flash card?" CreationDate="2010-11-10T20:43:14.237" UserId="885" />
  <row Id="4344" PostId="3910" Text="I have 256 mb of RAM and intend to not read/write to the cf card after boot. Currently I'm looking at openwrt which looks pretty nice on first glance." CreationDate="2010-11-10T20:49:06.533" UserId="1941" />
  <row Id="4345" PostId="3921" Text="Is this a keyboard shortcut, or a desktop shortcut?" CreationDate="2010-11-10T21:24:04.343" UserId="73" />
  <row Id="4346" PostId="3910" Text="@fschmitt: I think the *wrt are a bit small for you; they're designed for 2–4MB flash, 4–32MB RAM, and no upgradability without reflashing." CreationDate="2010-11-10T21:56:18.080" UserId="885" />
  <row Id="4347" PostId="3907" Score="1" Text="@Johan, I'm sure it is, and so is Inkscape. I just hate being frustrated, that's it." CreationDate="2010-11-10T22:18:25.133" UserId="688" />
  <row Id="4348" PostId="3911" Score="1" Text="quite immature at the moment, but pretty much fits the ease-of-use I was looking for; thanks" CreationDate="2010-11-10T22:29:06.430" UserId="688" />
  <row Id="4349" PostId="3921" Score="1" Text="it's a keyboard shortcut.. I don't even see how a desktop shortcut would be of any use here.. =)" CreationDate="2010-11-10T22:40:23.240" UserId="665" />
  <row Id="4350" PostId="1742" Score="1" Text="Haha: '$ ar m God&#xA;ar: creating God` (GNU ar (GNU Binutils) 2.20.1.20100303)" CreationDate="2010-11-10T22:49:30.347" UserId="440" />
  <row Id="4351" PostId="3775" Text="I have a feeling you've hit the issue!  I will have some time to test it this weekend and then confirm.  I've been slow to move on this because (like the post mentions) the problem more or less went away when I used a different DE." CreationDate="2010-11-10T22:56:53.453" UserId="1207" />
  <row Id="4352" PostId="3890" Text="@Tshepang: You shouldn't need to restart the host, but I would try that anyway." CreationDate="2010-11-11T00:05:55.450" UserId="1571" />
  <row Id="4353" PostId="3915" Text="I would go with this. You probably didn't install the driver correctly or you installed the wrong driver." CreationDate="2010-11-11T00:14:26.980" UserId="1571" />
  <row Id="4354" PostId="3890" Text="@Shawn &amp; @Fai, restarted both host (Debian 6.0 - Squeeze) and guest (Ubuntu 10.10), and having VBox guest additions installed on the guest. &quot;Disable Guest Display Auto-resize&quot; is still not selectable." CreationDate="2010-11-11T00:27:41.273" UserId="688" />
  <row Id="4356" PostId="3906" Text="how about unplugging and replugging?" CreationDate="2010-11-11T00:40:11.653" UserId="250" />
  <row Id="4357" PostId="3924" Text="F7 has been the start of X TTYs on every Linux computer I've ever used, so that's a pretty safe first guess" CreationDate="2010-11-11T02:36:52.577" UserId="73" />
  <row Id="4358" PostId="3913" Text="ok but how do I get twin view set in `~/.nvidia-settings-rc` in the first place?" CreationDate="2010-11-11T03:08:06.737" UserId="29" />
  <row Id="4359" PostId="3531" Score="2" Text="The person is asking about Debian proper and specifically about which CD's to use. What you are doing is not answering the question, so can you simply leave it as a comment." CreationDate="2010-11-11T06:11:55.907" UserId="688" />
  <row Id="4362" PostId="11" Text="How much RAM do you have? Which programs do you run that are so hungry? VM's? JVM?" CreationDate="2010-11-11T06:23:19.737" UserId="688" />
  <row Id="4364" PostId="3907" Text="You can wine mspaint, I did that a long time ago when I was unwilling to make myself learn gimp :)" CreationDate="2010-11-11T07:04:46.290" UserId="73" />
  <row Id="4367" PostId="3928" Text="There's also `mount -B` (bind) option, commonly used to bind `/dev` and `/proc` into chroot jail." CreationDate="2010-11-11T12:24:39.420" UserId="1946" />
  <row Id="4368" PostId="3799" Text="I use Kate 3.5.1 of KDE 4.5.1 with Gnome 2.32.0 and could find nothing of like this on the &quot;Indentation&quot; tab of its settings window. :-(" CreationDate="2010-11-11T14:05:36.777" UserId="2119" />
  <row Id="4369" PostId="3926" Text="whats FLOSS? Something like Free L? Open Source Software?" CreationDate="2010-11-11T15:18:23.410" UserId="1339" />
  <row Id="4372" PostId="3926" Text="Ah thanks :-) its because to indicate the difference of free/open source :-)" CreationDate="2010-11-11T15:23:05.063" UserId="1339" />
  <row Id="4373" PostId="3931" Text="@Stefan Are you looking for a way to temporarily host a given directory, or just looking for how to start webservers? (Your title and description don't seem to line up)" CreationDate="2010-11-11T15:29:46.597" UserId="73" />
  <row Id="4374" PostId="3931" Text="@Stefan and what's in this folder? are you just looking to run something for development? production? if production did you have a certain server in mind (e.g. apache, nginx)" CreationDate="2010-11-11T15:31:26.883" UserId="29" />
  <row Id="4375" PostId="3590" Text="Hello Gilles, I upgraded to Fedora 14 recently, and KDE was upgraded to a newer version in the process. It seems there are now a lot of results, but I think I might be very near to the solution to the first question." CreationDate="2010-11-11T16:03:30.397" UserId="653" />
  <row Id="4376" PostId="3940" Score="2" Text="Works for me. Replace &quot;xargs -0 sed&quot; with &quot;xargs -0 echo sed&quot;. What's the output of that?" CreationDate="2010-11-11T16:18:00.983" UserId="258" />
  <row Id="4377" PostId="3944" Text="I don't think `sed -i` is any more portable than `sed --in-place`, it's a GNU extension anyway. FreeBSD also has it, but the suffix argument is compulsory, to you have to write `sed -i .bak` or `sed -i ''`." CreationDate="2010-11-11T16:42:36.700" UserId="885" />
  <row Id="4378" PostId="3945" Text="'Twas odd that when I attempted to execute gnome-panel earlier, it didn't tell me that it wasn't installed. But whatever." CreationDate="2010-11-11T16:49:09.673" UserId="443" />
  <row Id="4379" PostId="3931" Text="Really wanted this to be **community wiki**, but it seems I dont have that option. Anyway, I clarified the question." CreationDate="2010-11-11T17:34:39.817" UserId="1327" />
  <row Id="4380" PostId="3944" Text="sed v4.1.2, please see question for update" CreationDate="2010-11-11T17:35:48.700" UserId="2623" />
  <row Id="4381" PostId="3940" Text="Can't get past the -bash: xargs: command not found error" CreationDate="2010-11-11T17:36:42.800" UserId="2623" />
  <row Id="4382" PostId="3943" Score="1" Text="If I modify the -wholename to -name it works (without the rest of the code)" CreationDate="2010-11-11T17:37:29.803" UserId="2623" />
  <row Id="4383" PostId="3590" Text="The thing is, it does not seem to work for netbooks, which have a special configuration for activities. More news tomorrow : I have KDE on a desktop at work, and my ISP will open my new line at home tomorrow too, so I'll have an up to date kde for my home desktop. Then `qdbus org.kde.ActivityManager /ActivityManager org.kde.ActivityManager.CurrentActivity` should output something not empty, unlike on my netbook." CreationDate="2010-11-11T17:41:23.300" UserId="653" />
  <row Id="4384" PostId="3931" Text="@Stefan You can flag for mod attention if you think a post should be CW, but I'm not sure this actually should be. I'm not the best authority on the proper usage of CW though" CreationDate="2010-11-11T17:51:43.367" UserId="73" />
  <row Id="4385" PostId="3948" Text="It doesnt seem to be working, I failed to mention (because I though it would be the same) that I am trying to do this via an FTP connection established from a mac terminal. It gives me this error: 'cp' macro not found. Thanks&#xA;" CreationDate="2010-11-11T17:53:59.560" UserId="2622" />
  <row Id="4386" PostId="3931" Text="The question I had in mind was to be CW, but this has morphed into something else..." CreationDate="2010-11-11T17:56:18.913" UserId="1327" />
  <row Id="4387" PostId="3948" Score="2" Text="@Trufa Oh! No, that's quite different; FTP and the command-line are completely separate. I edited your question to hopefully clarify" CreationDate="2010-11-11T17:56:40.700" UserId="73" />
  <row Id="4388" PostId="3948" Text="@Michael, Im so sorry, I though it wouldnt mind because &quot;I was using the UNIX command line via FTP&quot;, this is obviously not the case! Thanks for the edit!!" CreationDate="2010-11-11T18:00:29.813" UserId="2622" />
  <row Id="4389" PostId="3927" Text="Thank you and sorry for not being specific I was using sudo with the command." CreationDate="2010-11-11T18:03:31.060" UserId="226" />
  <row Id="4390" PostId="3930" Text="Well I am not willing to spend that much for little gain. I This all happened on a live cd so the log files no longer exist. I will rerun and post later today." CreationDate="2010-11-11T18:05:54.817" UserId="226" />
  <row Id="4391" PostId="3948" Text="@Michael, is this a question for stackoverflow? it may be more of a programming question than an UNIX one, I´n no sure." CreationDate="2010-11-11T18:35:24.987" UserId="2622" />
  <row Id="4392" PostId="3922" Score="2" Text="I really don't get this one" CreationDate="2010-11-11T19:05:06.567" UserId="1327" />
  <row Id="4393" PostId="3942" Text="`pargs` shows the in-process copy of the command line arguments (and optionally the environment). Good to know, thanks!" CreationDate="2010-11-11T20:12:01.630" UserId="885" />
  <row Id="4394" PostId="3948" Score="2" Text="@Trufa Definitely not SO. Maybe SU, but I think it's fine here" CreationDate="2010-11-11T20:15:57.637" UserId="73" />
  <row Id="4395" PostId="3945" Text="You should open a bug report at your distribution (Ubuntu, Fedora, etc.) bug tracking system. It's obviously a small problem that needs to be fixed :-)" CreationDate="2010-11-11T20:59:01.877" UserId="2613" />
  <row Id="4397" PostId="3913" Text="Configure TwinView in the nvidia-settings gui as normal, then choose the last item in the left column, *nvidia-settings Configuration*, and on that tab click the *Save Current Configuration* button to create ~/.nvidia-settings-rc" CreationDate="2010-11-11T21:08:04.667" UserId="146" />
  <row Id="4398" PostId="3950" Text=" I´ll check it out I think this sums up the whole issue very well!! thank you VERY much!!" CreationDate="2010-11-11T22:07:36.313" UserId="2622" />
  <row Id="4399" PostId="3940" Text="The `-bash: xargs: command not found` error is because of the backslash immediately before `xargs`. If you remove the backslash or if there's a newline after the backslash, it should work." CreationDate="2010-11-11T22:31:45.717" UserId="382" />
  <row Id="4400" PostId="3940" Text="@ Dennis, make that an answer and it's all yours. Worked a charm" CreationDate="2010-11-11T22:42:59.900" UserId="2623" />
  <row Id="4401" PostId="3939" Text="`s/severe/sever/g`" CreationDate="2010-11-11T22:45:30.817" UserId="382" />
  <row Id="4402" PostId="3950" Text="Just to clarify, Hostgator offers jailed ssh in shared accounts." CreationDate="2010-11-11T23:01:53.677" UserId="2622" />
  <row Id="4403" PostId="3940" Text="Actually, turns out that it commented even the ones it wasn't supposed to but I can live with uncommenting a few lines" CreationDate="2010-11-11T23:03:52.877" UserId="2623" />
  <row Id="4404" PostId="3955" Text="Would someone mind creating the ClearOS tag? Don't have enough rep yet" CreationDate="2010-11-11T23:10:18.473" UserId="2630" />
  <row Id="4405" PostId="3890" Text="It's definitely worth going to the project's forums (http://forums.virtualbox.org/) and asking there. They will have in-depth knowledge and experience that is harder to come across in a general community." CreationDate="2010-11-12T02:39:15.997" UserId="2180" />
  <row Id="4406" PostId="3931" Text="Why would the first example you gave(python -m SimpleHttpServer) not work? " CreationDate="2010-11-12T02:40:02.120" UserId="195" />
  <row Id="4407" PostId="3931" Text="@Stefan I'm still a little confused... is this about starting a python webserver on the command line?" CreationDate="2010-11-12T02:59:03.890" UserId="29" />
  <row Id="4408" PostId="3931" Text="@Kevin take a look at [2.5.2 docs](http://docs.python.org/release/2.5.2/lib/module-SimpleHTTPServer.html) and the  [3.1 docs](http://docs.python.org/release/3.1/library/http.server.html). I ran `SimpleHttpServer` and got a &quot;module is not installed error&quot;, and running the arg &quot;http.server&quot; worked. " CreationDate="2010-11-12T05:30:12.847" UserId="1327" />
  <row Id="4409" PostId="3931" Text="@xeno in essence yes, just quick ways ( always in the command-line as opposed to a gui ) of running a very basic webserver ( no need for php or anything like that ). The second python command solved my problem, but i'd like to know if there are any other ways, and how to use them... ( By using ruby's webrick server for example )" CreationDate="2010-11-12T05:36:21.917" UserId="1327" />
  <row Id="4410" PostId="3965" Text="You probably want to use your package manager, which depends on your distro. Which are you using?" CreationDate="2010-11-12T07:25:07.727" UserId="73" />
  <row Id="4411" PostId="3965" Score="1" Text="Redhat, so it seems" CreationDate="2010-11-12T08:33:09.527" UserId="1594" />
  <row Id="4412" PostId="3590" Text="Hello, I'm at works, and here is the solution (I cannot edit your answer but you could update it : list activities : `qdbus org.kde.ActivityManager /ActivityManager org.kde.ActivityManager.AvailableActivities` set current activity : `qdbus org.kde.ActivityManager /ActivityManager org.kde.ActivityManager.SetCurrentActivity &lt;put activity id here&gt;`" CreationDate="2010-11-12T08:59:42.240" UserId="653" />
  <row Id="4413" PostId="3969" Text="I'm trying &quot;yum install ncdu&quot;, and getting &quot;No package ncdu available.&quot; (See http://unix.stackexchange.com/questions/3961/how-to-understand-whats-taking-up-space/3970#3970). What now?" CreationDate="2010-11-12T10:25:11.117" UserId="1594" />
  <row Id="4414" PostId="3969" Text="@ripper234 Not all distros provide ncdu" CreationDate="2010-11-12T10:33:22.187" UserId="2629" />
  <row Id="4415" PostId="3973" Text="Note: with the 'Monitor of' setting, it should be a carbon copy and you will be able to hear the same audio through headphones etc." CreationDate="2010-11-12T11:09:49.547" UserId="2629" />
  <row Id="4416" PostId="3969" Text="So, what are my options then? Do I have to download the source and compile?" CreationDate="2010-11-12T11:18:37.510" UserId="1594" />
  <row Id="4417" PostId="3886" Text="Wait, you can disown without specifying a PID ? Great!" CreationDate="2010-11-12T11:20:26.233" UserId="1594" />
  <row Id="4418" PostId="3972" Text="That's excellent, thanks for the help. My coreutils is 5.97 - is this why the sort order of du -h isn't right?" CreationDate="2010-11-12T11:26:23.880" UserId="1594" />
  <row Id="4419" PostId="3972" Text="Yep, you'd have to settle for `du /home | sort -rn` with coreutils 5.97 or use some 'magic' with perl etc as demonstrated over on ServerFault (http://serverfault.com/q/62411/60012)" CreationDate="2010-11-12T11:27:24.230" UserId="2629" />
  <row Id="4420" PostId="3977" Text="Actually it's a fedora-epel mirror thats failing, might pay to try with `--disablerepo='epel'`  (not worth creating a new answer for imo)" CreationDate="2010-11-12T12:35:41.113" UserId="2629" />
  <row Id="4421" PostId="3977" Text="@NJ: `--disablerepo='epel'` would be worth a new answer, but since that site is working for me right now, Gaurav's problem has got to be a networking issue (either a glitch or a misconfiguration)." CreationDate="2010-11-12T12:42:48.800" UserId="885" />
  <row Id="4422" PostId="3590" Text="@greg0ire: Go ahead and write an answer with the KDE dbus paths (and accept it, even). I'll keep my answer up for the shell tricks." CreationDate="2010-11-12T12:45:01.890" UserId="885" />
  <row Id="4423" PostId="3960" Text="Thanks&quot;&quot; looks nice, will take a look! One more question, when I acces through the cPanel to the file administrator? What am I doing, becuse it seems the hell faster to do some things than trough ftp." CreationDate="2010-11-12T12:56:28.550" UserId="2622" />
  <row Id="4424" PostId="3957" Text="Thanks, Gilles. What I've got in /usr/share/man is some directories called man1, man2, etc., filled with files like awk.1.gz." CreationDate="2010-11-12T13:04:53.833" UserId="2333" />
  <row Id="4425" PostId="2667" Text="@David, @Jader: The swap=2*ram figure is an old chestnut that survived well after the original justification became irrelevant — now people try to find a way to justify this figure, instead of coming up with an appropriate figure for their system. See [why do we need to set swap space as twice big as our physical memory?](http://superuser.com/questions/187695/)." CreationDate="2010-11-12T13:05:36.093" UserId="885" />
  <row Id="4426" PostId="3969" Text="Suse uses yast not yum" CreationDate="2010-11-12T13:26:05.807" UserId="29" />
  <row Id="4427" PostId="3969" Text="@ripper234 ... I don't know what that is but I'll bet it's in an external repo, try asking a second question on here &quot;how can I install ncdu on Red Hat&quot; and ask if it's available in any repo's in the text." CreationDate="2010-11-12T13:27:34.663" UserId="29" />
  <row Id="4428" PostId="3969" Text="@xeno - done. http://unix.stackexchange.com/questions/3979/how-can-i-install-ncdu-on-red-hat" CreationDate="2010-11-12T13:31:38.003" UserId="1594" />
  <row Id="4429" PostId="3979" Text="@ripper234 you might want to ... put more in the text before you get modded down... like explain further what difficulties you're having... e.g. is there a repo, does it have to built from source..." CreationDate="2010-11-12T13:33:57.840" UserId="29" />
  <row Id="4430" PostId="3979" Text="@xeno - there you go." CreationDate="2010-11-12T13:37:28.050" UserId="1594" />
  <row Id="4431" PostId="3931" Text="@stefan I can name 10 webservers off the top of my head, and the 6 java, 3 c, 1 perl and proper way to start them depends on what your goal is (daemon? or running where ctrl-c can kill it), and your distro( apache2 on gentoo, httpd on centos). given I only know 10, and I'm sure there are 10x plus 10x ways to run them... that's too many options, that's why I feel &quot;This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form.&quot; but since no one else is voting to close i'm leaving it." CreationDate="2010-11-12T13:55:09.683" UserId="29" />
  <row Id="4432" PostId="3940" Score="1" Text="Why are you piping find to xargs can't `-exec` do it for you? maybe read [this question](http://unix.stackexchange.com/q/3682/29)" CreationDate="2010-11-12T13:58:21.960" UserId="29" />
  <row Id="4433" PostId="3971" Text="`/dev/mapper/truecrypt1` is not there when the error pops up. I assume it is removed again..." CreationDate="2010-11-12T14:41:52.903" UserId="1327" />
  <row Id="4434" PostId="3979" Text="Curious; from what I can tell, it's in the [repositories][1].&#xA;&#xA;&#xA;  [1]: https://admin.fedoraproject.org/pkgdb/acls/name/ncdu" CreationDate="2010-11-12T14:57:35.827" UserId="2180" />
  <row Id="4436" PostId="3971" Score="1" Text="@Stefan: I've added instructions to create that device now." CreationDate="2010-11-12T15:18:52.573" UserId="281" />
  <row Id="4437" PostId="3974" Text="It shouldn't actually be connecting to anything since I haven't set the network card up (first boot configuration froze on me), so I don't know why it would be a DHCP issue. And Ctrl+C doesn't work (surprisingly Ctrl+alt+delete doesn't either, as well as the numlock light). I can not start the service in a &quot;Interactive Startup&quot; mode, but then I won't be able to configure the card." CreationDate="2010-11-12T15:23:24.913" UserId="2630" />
  <row Id="4438" PostId="3590" Text="If I had enough rep, I would edit your answer, all I did was searching for the path, the main idea was yours. Really, just adapt your answer and it'll be fine (and less complicated for others to read)." CreationDate="2010-11-12T15:51:40.787" UserId="653" />
  <row Id="4439" PostId="3590" Text="@greg0ire: Ok, you can edit the answer now. Could you add how to retrieve the current activity?" CreationDate="2010-11-12T16:34:09.617" UserId="885" />
  <row Id="4440" PostId="3962" Text="This looks so much like when I try to mount my USB (not encrypted). What do you get from dmesg?" CreationDate="2010-11-12T16:36:15.943" UserId="250" />
  <row Id="4441" PostId="3974" Text="I'm thinking it may have crashed already. Maybe you can try booting from a different media (e.g live CD) and check the status." CreationDate="2010-11-12T16:38:48.470" UserId="250" />
  <row Id="4442" PostId="3953" Text="After reading I still cannot figure out the question you are asking. Are you looking for &quot;SCO Unix printing conventions&quot;?" CreationDate="2010-11-12T16:45:41.333" UserId="250" />
  <row Id="4443" PostId="3951" Text="have you tried reset the settings?" CreationDate="2010-11-12T17:02:09.480" UserId="250" />
  <row Id="4444" PostId="3890" Text="Wait, are you trying both a debian VM and a ubuntu VM? Or is debian your host and ubuntu your guest? It could be a debian driver thing, I'm not sure. I've only ever run VMs in ubuntu" CreationDate="2010-11-12T17:15:27.990" UserId="1571" />
  <row Id="4445" PostId="3945" Text="Woot? Last time when I tried to remove evolution Ubuntu told me that I would have to remove gnome-desktop as well. Didn't that happen to you?" CreationDate="2010-11-12T17:17:00.683" UserId="250" />
  <row Id="4446" PostId="3987" Text="+1 for Arch. Perhaps easier to set up than Slackware or Gentoo, but doesn't install much of anything until you ask it to." CreationDate="2010-11-12T17:18:25.963" UserId="1071" />
  <row Id="4447" PostId="3987" Text="Yeah arch will probably be the easiest to set up that gives you the most minimal install." CreationDate="2010-11-12T17:21:54.920" UserId="1571" />
  <row Id="4448" PostId="3987" Text="Yeah I asked around to a hardcore Linux friend of mine, and he said Arch as well. Installing now. Thanks mates :)" CreationDate="2010-11-12T17:22:15.060" UserId="2640" />
  <row Id="4449" PostId="3590" Text="@Gilles: great! Done." CreationDate="2010-11-12T17:25:26.973" UserId="653" />
  <row Id="4450" PostId="3934" Text="Are you talking about the `ps` command? If so then please update the question so that it's clearer." CreationDate="2010-11-12T17:31:22.853" UserId="250" />
  <row Id="4451" PostId="3985" Score="2" Text="One other way I use (if you have root) is to add `\e[2J\e[f` to the beginning of `/etc/issue`, so the screen gets cleared as part of drawing the login prompt. I like `clear_console` in `.bash_logout` more though" CreationDate="2010-11-12T18:18:39.433" UserId="73" />
  <row Id="4452" PostId="3987" Text="Another +1 for Arch Linux. " CreationDate="2010-11-12T19:17:00.330" UserId="2626" />
  <row Id="4453" PostId="3745" Text="This works, except the find on the busybox machine I was working on didn't have the -L parameter =\" CreationDate="2010-11-12T19:20:20.693" UserId="1571" />
  <row Id="4454" PostId="11" Text="I have 8GB of RAM and the culprits are the usual apps (webbrowsers like Firefox and Chrome, e-mail clients like thunderbird, and IRC clients." CreationDate="2010-11-12T20:25:19.913" UserId="5" />
  <row Id="4455" PostId="3971" Text="perfect answer. +1" CreationDate="2010-11-12T20:30:41.253" UserId="1327" />
  <row Id="4456" PostId="3991" Text="Unfortunately changing directories from the command-line is one of the important features for me." CreationDate="2010-11-12T20:57:14.340" UserId="2618" />
  <row Id="4457" PostId="3991" Text="@dStulle: If you just want to use the keyboard to change the directory, you can type `Ctrl-L` in Dolphin to make the cursor jump to the address bar, where you can type the address of the new directory and press `Enter` to navigate to it. If you really want to type `cd` in the command-line, you should be able to make a hack that executes `qdbus` to send the message `org.kde.dolphin.MainWindow.changeUrl($PWD)` back to Dolphin. But I think you should give it a try, it is mostly getting used to a new paradigm of GUI-Terminal integration." CreationDate="2010-11-12T21:04:29.957" UserId="1627" />
  <row Id="4458" PostId="3996" Text="`~/.bashrc` is not the right place for environment variables, `~/.profile` (or `~/.bash_profile`) is. Neither file is read here anyway. See [Difference between .bashrc and .bash_profile](http://superuser.com/questions/183870)." CreationDate="2010-11-12T21:08:57.470" UserId="885" />
  <row Id="4459" PostId="3997" Text="unfortunately it seems to lack the important [tab]-auto-complete function for the command-line and a real file-thumbnail-preview." CreationDate="2010-11-12T21:13:36.107" UserId="2618" />
  <row Id="4460" PostId="3953" Text="What the @ or % mean in my example of printing to an assigned printer on Unix, would be a place to start I suppose.  I edited my wording of the phrase you mentioned." CreationDate="2010-11-12T21:23:25.937" UserId="328" />
  <row Id="4461" PostId="4000" Text="It's from the Zend Framework docs, I didn't write it (and wouldn't know how)" CreationDate="2010-11-12T21:41:28.057" UserId="2623" />
  <row Id="4464" PostId="3969" Text="@xeno: fixed it. :)" CreationDate="2010-11-12T22:08:52.877" UserId="2627" />
  <row Id="4465" PostId="3991" Text="it is not about to &quot;type&quot; the location but to &quot;be&quot; in the command-line. qdbus is very nice and could work for this, but could not find how to link the the Terminal to its dolphin instance. if there are more than one Dolphin windows open it seems you could not determine which one to changeUrl on and I also could not find a way either alias, script or function to also change current command-line directory. EDIT: looks like someone else did while I was trying…" CreationDate="2010-11-12T22:30:51.420" UserId="2618" />
  <row Id="4466" PostId="3991" Text="The Dolphin service can be seen in the terminal from the $KONSOLE_DBUS_SERVICE env variable. It is a real problem if you have two windows open of the same instance of Dolphin. I really don't know how to distinguish between them. There is a $KONSOLE_DBUS_SESSION, but it links only to the konsole session, not the dolphin window. Anyways, you should suggest this feature to Dolphin developers, half of it is implemented above." CreationDate="2010-11-12T22:41:17.023" UserId="1627" />
  <row Id="4467" PostId="3991" Text="To clarify: what Dolphin lacks is: (1) not take the focus from the terminal widget when changeUrl() is called, and (2) an environment variable that tells which window the terminal is attached, so that the script above can send the message to the correct window." CreationDate="2010-11-12T22:42:59.507" UserId="1627" />
  <row Id="4468" PostId="4003" Text="What happens if you use `logout` directly or issue a Ctrl+D?" CreationDate="2010-11-12T22:52:10.047" UserId="2629" />
  <row Id="4469" PostId="4002" Text="Also nice but as mentioned, file-browser also doesn't follow the command-line. It also seems to not &quot;cd&quot; into the new directory but starts a complete new bash instance. And some shortcuts like &quot;ctrl-a&quot; don't affect in the command-line but the file-browser." CreationDate="2010-11-12T22:53:28.550" UserId="2618" />
  <row Id="4473" PostId="4003" Text="Note that if you use X-forwarding and you exit some program it could be that a socket is left it CLOSE_WAIT state.  During this time the connection is still not completely terminated.  The length of CLOSE_WAIT is configurable.  (a socket goes into CLOSE_WAIT state to wait for possible stray TCP packets arriving late)." CreationDate="2010-11-13T00:10:40.480" UserId="2150" />
  <row Id="4474" PostId="3934" Text="Yeah, sorry... my initial tinkering was with the ps command, I've made the question clearer. " CreationDate="2010-11-13T00:42:20.877" UserId="298" />
  <row Id="4475" PostId="4006" Text="The second one (`redshift &amp; disown`) worked for me on Ubuntu 10.10. It seems to work fine putting it all on one line. Is there any reason that I shouldn't do this?" CreationDate="2010-11-13T00:52:44.310" UserId="115" />
  <row Id="4476" PostId="2667" Score="1" Text="@Gilles I stick with my position because I saw once an authoritative paper on this subject that contradicts a bunch of experts that I don't know how deep their knowledge is." CreationDate="2010-11-13T01:47:56.067" UserId="2128" />
  <row Id="4477" PostId="4006" Text="I'm not aware of any particular problem with that construction." CreationDate="2010-11-13T02:09:35.307" UserId="1207" />
  <row Id="4478" PostId="4006" Score="1" Text="@Matthew The first should work fine too, it just doesn't background like the second (you possibly want `nohup redshift &amp;` so it does background). And putting the second on one line is fine, although usually you separate with `;` (`redshift &amp;; disown`)" CreationDate="2010-11-13T03:14:26.683" UserId="73" />
  <row Id="4479" PostId="3993" Text="Wow, I never realized that (I guess &quot;Win&quot; in the name should've been a giveaway). A coworker once asked me if there was a Linux version of [WinSCP](http://winscp.net/eng/index.php); I died inside a little" CreationDate="2010-11-13T03:27:15.013" UserId="73" />
  <row Id="4480" PostId="4006" Score="2" Text="@Michael: Both `;` and `&amp;` are command separators and have equal precedence. The only difference is the synchronous versus asynchronous execution (respectively). There is no need to use `&amp;;` in preference to just `&amp;` (it works, but it is a bit redundant)." CreationDate="2010-11-13T04:29:52.710" UserId="1107" />
  <row Id="4481" PostId="4009" Text="What's using the space? Next time you run out use one of the tools in [this post](http://unix.stackexchange.com/questions/3961/how-to-understand-whats-taking-up-space) to find what files are consuming all the space (possibly in `/tmp`)" CreationDate="2010-11-13T05:09:18.210" UserId="73" />
  <row Id="4482" PostId="4009" Text="I tried to clean /tmp folder but after that system unable to work" CreationDate="2010-11-13T05:18:23.550" UserId="2224" />
  <row Id="4483" PostId="3974" Text="@phunehehe Thats what I think the problem is, as the lockup on first boot might be from when it tried changing the networking configuration. Going to go ahead and ask on the clear OS forums" CreationDate="2010-11-13T05:49:57.210" UserId="2630" />
  <row Id="4484" PostId="4009" Score="1" Text="Could it be your logs in `/var/logs`?" CreationDate="2010-11-13T06:00:14.813" UserId="1945" />
  <row Id="4485" PostId="4006" Score="1" Text="good answer, one might add that it would be a good idea to redirect stdout and stderr so that the terminal won't be spammed with debug output" CreationDate="2010-11-13T06:22:30.660" UserId="1952" />
  <row Id="4487" PostId="4006" Text="@kim, you are about to kill the terminal... why wory about output spam?" CreationDate="2010-11-13T08:22:15.560" UserId="1327" />
  <row Id="4488" PostId="4013" Score="1" Text="As 'ugly' as this solution sounds, I highly recommend it in this case." CreationDate="2010-11-13T09:55:11.570" UserId="2629" />
  <row Id="4489" PostId="2667" Score="1" Text="@Jader: If you can remember the reference, please share." CreationDate="2010-11-13T10:46:44.420" UserId="885" />
  <row Id="4490" PostId="3999" Text="Thank you. But, to me, it was surprising because I could not find that command using various google searches." CreationDate="2010-11-13T10:59:34.963" UserId="1416" />
  <row Id="4491" PostId="4016" Text="Could you please tell us what FTP server you are using?" CreationDate="2010-11-13T11:24:00.797" UserId="2629" />
  <row Id="4492" PostId="4016" Text="I made my own with VSFTPD package." CreationDate="2010-11-13T11:24:55.323" UserId="2063" />
  <row Id="4493" PostId="1766" Text="@Neil, @Michael: `readlink -f` (note `-f`) is almost equivalent to `realpath`, and it's more portable: `readlink -f` in GNU coreutils and exists on a few other systems as well; `realpath` is packaged separately and may not be installed (e.g. only 5 not-that-common packages depend on it in Ubuntu 10.04 or Debian lenny)." CreationDate="2010-11-13T11:33:40.227" UserId="885" />
  <row Id="4494" PostId="3966" Text="@Stefan, what's up with # and $ ?" CreationDate="2010-11-13T11:36:57.110" UserId="2567" />
  <row Id="4495" PostId="2831" Text="@p-static: I think (but I could be wrong) that there won't be much of a performance hit on an SSD. (There are certainly no moving heads in an SSD, but I don't know if scattered writes have a performance impact; it might depend on the type of SSD.)" CreationDate="2010-11-13T11:39:04.603" UserId="885" />
  <row Id="4496" PostId="4013" Score="2" Text="I suggest `du -xsh /tmp/* /var/*/* ~/.*` as the `du` command. The directory list should catch the most likely locations, and the added `-x` is to skip other filesystems (e.g. RAM disks, USB drives)." CreationDate="2010-11-13T12:13:48.470" UserId="885" />
  <row Id="4497" PostId="4009" Score="2" Text="@NARKOZ: Don't blindly delete files in `/tmp`; in particular, if you delete `/tmp/.X11-unix/X0`, you won't be able to start GUI programs. If you see a *large* file there, try to work out who is using it, don't delete it if you're not sure you can do it safely." CreationDate="2010-11-13T12:15:47.390" UserId="885" />
  <row Id="4498" PostId="3966" Text="@Johan see this [discussion](http://meta.unix.stackexchange.com/questions/192/). `#` means the command is run as root, `$` is normal user." CreationDate="2010-11-13T12:24:45.193" UserId="1327" />
  <row Id="4499" PostId="2635" Text="why has this answer been downvoted? please add a comment if the reason is not glaringly obvious... this seems like a legitimate answer." CreationDate="2010-11-13T13:02:29.700" UserId="1327" />
  <row Id="4500" PostId="3406" Text="no idea who downvoted this. ( glaring eyes at everyone ) +1" CreationDate="2010-11-13T13:06:16.267" UserId="1327" />
  <row Id="4501" PostId="4018" Text="Thank you very much." CreationDate="2010-11-13T13:08:23.533" UserId="2063" />
  <row Id="4502" PostId="3973" Score="1" Text="This worked. FWIW, I had to change the Sound &gt; Device option from DEFAULT to pulse in gtk-recordmydesktop, though that could just be the way Arch was set up beforehand to have a different default." CreationDate="2010-11-13T14:18:54.400" UserId="131" />
  <row Id="4503" PostId="4004" Score="1" Text="Not a default install on all distros, but screen is your friend: http://en.wikipedia.org/wiki/GNU_Screen" CreationDate="2010-11-13T14:23:20.087" UserId="2596" />
  <row Id="4504" PostId="3983" Text="some progress, right now it's saying `FAT: IO charset iso8859-1 not found`" CreationDate="2010-11-13T15:17:09.003" UserId="250" />
  <row Id="4506" PostId="4030" Text="Does not work, unfortunately :-( **a)** If I press `c` I get into GRUB's command console, there is nothing to see there. But I can press `e` to edit the boot configs and `CTRL+X` to execute a modified config. Do GRUB versions behave that differently? **b)** In the &quot;recovery mode&quot; config, the `linux` line already says `ro single`, but that does not work out. Maybe GRUB tries to display a splash screen or something?" CreationDate="2010-11-13T17:22:22.937" UserId="2579" />
  <row Id="4507" PostId="4030" Text="Sorry I posted the wrong key, 'e' should be the correct one. Updated." CreationDate="2010-11-13T17:28:02.930" UserId="250" />
  <row Id="4508" PostId="4027" Text="&quot;impossible to boot the system into GUI&quot;? So are you able to boot into anything non-GUI? If there are problems with your frame buffer device, for example, booting into text mode could also fail. If that's the case then you will have to change the settings and recompile the kernel I'm afraid." CreationDate="2010-11-13T17:32:39.803" UserId="250" />
  <row Id="4509" PostId="4030" Text="That's okay, cheers. However: there no `splash` parameter anywhere. I also tried to add `text` (or `textonly`, as one Google hit suggested) as parameters but this gets ignored, the screen still freezes halfway through the boot." CreationDate="2010-11-13T17:33:40.727" UserId="2579" />
  <row Id="4510" PostId="4029" Text="I'm also interested in the origin of the naming convention." CreationDate="2010-11-13T17:35:13.670" UserId="250" />
  <row Id="4511" PostId="4027" Text="@phunehehe: Booting the system into anything non-GUI is what I'm trying to do, but it keels over soon enough. The last line I see in diagnostic boot is `firewire_core: created device fw0 ...`, and then a colorful display appears indicating a failed graphics mode." CreationDate="2010-11-13T17:43:50.033" UserId="2579" />
  <row Id="4512" PostId="4032" Text="+1, this explains a lot, but... not the choice of the 'd' letter." CreationDate="2010-11-13T17:52:55.117" UserId="653" />
  <row Id="4513" PostId="4033" Text="+1, but... same remark as above." CreationDate="2010-11-13T17:53:18.843" UserId="653" />
  <row Id="4514" PostId="4027" Text="@phunehehe: [This bug report](https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/238105) seems to be very close to the issue I'm experiencing." CreationDate="2010-11-13T18:09:26.720" UserId="2579" />
  <row Id="4515" PostId="4029" Score="5" Text="For the origin of `.d`, see [msw](http://unix.stackexchange.com/users/1294)'s comment on [this related question at Ask Ubuntu](http://askubuntu.com/questions/5039/what-is-the-difference-between-etc-init-and-etc-init-d)." CreationDate="2010-11-13T18:09:27.950" UserId="885" />
  <row Id="4516" PostId="4032" Score="1" Text="Does there have to be an explanation for the choice? It is just a convention that has developed over time, it's not (from a quick look) defined in the FHS, but it may be included in the LSB standard.  Cron was one of the first as I recall.  (Edit: in fact it would have been init)" CreationDate="2010-11-13T18:18:22.117" UserId="2629" />
  <row Id="4517" PostId="4029" Text="@Gilles, ha, I was thinking it was later than System-V, but yeah, even still there is no meaning to '.d' it was just chosen from what I can tell." CreationDate="2010-11-13T18:24:12.303" UserId="2629" />
  <row Id="4518" PostId="4029" Text="@Gilles : interesting, the answer seems to be : the explanation was lost... as per the first comment of the first answer in your link" CreationDate="2010-11-13T18:39:53.247" UserId="653" />
  <row Id="4519" PostId="3922" Score="4" Text="You mean &quot;fortune -o&quot; to get the offensive ones :)" CreationDate="2010-11-13T18:40:58.613" UserId="2567" />
  <row Id="4520" PostId="4036" Score="1" Text="You might consider adding a list of what what you are looking for out of such software." CreationDate="2010-11-13T19:36:00.007" UserId="1207" />
  <row Id="4521" PostId="4036" Text="@Steven D: Edited" CreationDate="2010-11-13T20:03:04.770" UserId="1267" />
  <row Id="4522" PostId="4036" Text="Pronunciation is going to be a problem, since I wouldn’t ever use anything that didn’t use IPA, and for that, you usually have to pay the Big Bucks, like for the OED." CreationDate="2010-11-13T20:17:19.880" UserId="2649" />
  <row Id="4523" PostId="4015" Text="although this is accurate, was hoping someone would have a more... definitive answer on what modifications needed to be made. Since in all my uses of `dhcpcd` it's been configured for me." CreationDate="2010-11-13T21:37:59.513" UserId="29" />
  <row Id="4524" PostId="4039" Text="Interesting. It does play dirty (`ptrace`), but it doesn't just manipulate the file descriptors, it forks the process. It's able to grab `find /`, but crashed an interactive bash." CreationDate="2010-11-13T22:20:22.823" UserId="885" />
  <row Id="4525" PostId="4039" Text="@Gilles I can't remember how it went when I tried, but it doesn't have a great reputation, I'm told it fails pretty regularly" CreationDate="2010-11-13T22:25:25.720" UserId="73" />
  <row Id="4526" PostId="4038" Text="+1 for the delirium at the end, but I think this does not fit well with yum.repos.d ..." CreationDate="2010-11-13T22:47:38.953" UserId="653" />
  <row Id="4527" PostId="1330" Score="1" Text="Yeah, I also use public/private keys. They can be a bit annoying sometimes, but a lot safer than simple passwords." CreationDate="2010-11-13T22:48:53.833" UserId="474" />
  <row Id="4528" PostId="1148" Score="4" Text="You mean `${DIR}`? Because `$(DIR)` would try to execute DIR command." CreationDate="2010-11-13T22:49:42.833" UserId="474" />
  <row Id="4529" PostId="4040" Score="1" Text="Surprising... I would have thought this spoke in favour of the &quot;directory&quot;, meaning &quot;this is the directory part of the configuration&quot;." CreationDate="2010-11-13T22:50:40.260" UserId="653" />
  <row Id="4530" PostId="1514" Score="1" Text="Could you please describe what it does on SCO? I have no idea, and I couldn't find it easily on google." CreationDate="2010-11-13T22:55:08.897" UserId="474" />
  <row Id="4531" PostId="4030" Text="If it's not there then you don't need to remove it, see updated." CreationDate="2010-11-14T00:32:22.347" UserId="250" />
  <row Id="4532" PostId="4033" Text="@greg: Due to the variety of ways to sort answers, “above” and “below” are poor ways to refer to (comments on) other answers. The ‘oldest’ and ‘newest’ sorts produce opposite meanings for such position-based descriptions, and when sorting by ‘votes’ the relative position of two answers may change over time." CreationDate="2010-11-14T05:44:33.320" UserId="1107" />
  <row Id="4533" PostId="4043" Score="2" Text="This question might belong on [SuperUser](http://superuser.com/), this is really about keybindings in tightvnc on windows... im not going to vote for close however, rather let the community decide on this one." CreationDate="2010-11-14T07:00:53.893" UserId="1327" />
  <row Id="4534" PostId="4043" Text="@Stefan Voting to close *is* letting the community decide; you're part of the community :). I guess it depends if the solution is Windows-side or not; I don't know either though" CreationDate="2010-11-14T07:41:39.190" UserId="73" />
  <row Id="4535" PostId="4043" Text="I meant, rather let **other** people in the community decide.. :P" CreationDate="2010-11-14T07:47:16.273" UserId="1327" />
  <row Id="4536" PostId="3967" Text="no, that seems to get overriden" CreationDate="2010-11-14T09:37:37.567" />
  <row Id="4537" PostId="3967" Text="Could it be that there's Nautilus auto-starting?" CreationDate="2010-11-14T10:52:35.413" UserId="1194" />
  <row Id="4538" PostId="4030" Text="@Tomalak: Twro possible graphics mode inducers are `splash` and `vga=xxx`, you should remove these if they are present. Then adding `single` (or `1`, which is synonymous) prevents the display manager (graphical login screen) from starting." CreationDate="2010-11-14T10:55:28.620" UserId="885" />
  <row Id="4539" PostId="4027" Text="If phunehehe's answer is not enough, tell us what you have on the Grub menu on the `linux` line. If there's a UUID, no need to copy it out." CreationDate="2010-11-14T10:57:10.083" UserId="885" />
  <row Id="4540" PostId="4033" Text="@Chris Johnsen: this is what I realized, but too late. I was referring to my comment on N J's answer." CreationDate="2010-11-14T11:17:54.817" UserId="653" />
  <row Id="4541" PostId="4047" Text="+1, I think you're right, but no one so far has given any quote for his theory" CreationDate="2010-11-14T12:04:54.570" UserId="653" />
  <row Id="4542" PostId="4006" Text="@Stefan: maybe you want to do something else and THEN kill the terminal? i do that all the time" CreationDate="2010-11-14T12:26:00.713" UserId="1952" />
  <row Id="4543" PostId="4049" Text="Thanks! I didn't know that functionality" CreationDate="2010-11-14T12:54:10.903" UserId="2200" />
  <row Id="4544" PostId="3967" Text="yes, but why should this cause problems?" CreationDate="2010-11-14T12:59:26.927" />
  <row Id="4545" PostId="4044" Text="that looks so strange, are you able to install other packages?" CreationDate="2010-11-14T13:39:15.823" UserId="250" />
  <row Id="4546" PostId="4044" Text="@phunehehe: no, none." CreationDate="2010-11-14T14:07:15.103" UserId="912" />
  <row Id="4547" PostId="3967" Text="Nautilus tries to handle the desktop, so it overrides xfdesktop :) Try launching Nautilus with --no-desktop" CreationDate="2010-11-14T14:09:05.307" UserId="1194" />
  <row Id="4548" PostId="3967" Text="no I don't have nautilus installed..." CreationDate="2010-11-14T14:15:55.877" />
  <row Id="4549" PostId="4030" Text="According to the bug report I mentioned above, VGA out is available even when the laptop LCD is dead, so when I attach an external monitor I can work on the machine. I see a high-resolution text mode there, which I consider a graphic mode as well, as it is well beyond VGA text mode with 80 columns. I guess that's the reason for the LCD freeze. If I set `acpi=no` the LCD *does* work, but I'm not sure if switching off ACPI is the best way to solve this issue..." CreationDate="2010-11-14T14:58:43.730" UserId="2579" />
  <row Id="4550" PostId="4027" Text="@Gilles: Sure, there is a UUID present. The machine is at my workplace, I don't have it right now. I think the issue may be that the system tries to boot into a hi-res text mode instead of the 80×25 characters VGA mode I was expecting." CreationDate="2010-11-14T15:03:44.967" UserId="2579" />
  <row Id="4551" PostId="4052" Text="I don't have a file named `/etc/init.d/net.wlan0`. I guess that's the problem" CreationDate="2010-11-14T15:47:45.513" UserId="250" />
  <row Id="4552" PostId="4052" Text="Try this: &#xA;cd /etc/init.d&#xA;ln -s net.lo net.wlan0" CreationDate="2010-11-14T15:59:24.080" />
  <row Id="4553" PostId="4027" Text="@Tomalak: Sorry if my previous comment was unclear. I meant that if you're still having trouble, you should post the exact `linux` line in the Grub menu. But since the UUID is painful to copy and irrelevant here, you don't need to copy it, just show us the rest." CreationDate="2010-11-14T16:19:15.677" UserId="885" />
  <row Id="4554" PostId="4030" Text="`vga=xxx` tells the kernel to switch VGA modes, which might be the source of the problem. You don't need it just to get VGA output using the default text mode. (Just remove it, don't replace it with `novga` or anything like that.)" CreationDate="2010-11-14T16:20:18.953" UserId="885" />
  <row Id="4555" PostId="3907" Text="Can you give more details on the level of editing that you want to do? There's a trade-off to make between the level of complexity in the editor and how advanced its features are. Pinta, the program you selected, is around the middle of that balance, but I think it would help other people reading this question to know precisely what you were looking for." CreationDate="2010-11-14T16:45:12.900" UserId="115" />
  <row Id="4556" PostId="4057" Text="I want to allow users of my aplication to log in to shell as normal user without creating account in system. Users data (username, pass and shell) will be stored in sqlite db. First step is sqlite pam module that authenticate users agains db. Second step is to provide shell readed from database. So I think It could be accomplished by writing proper nis module. Thans for answer..." CreationDate="2010-11-14T17:11:36.377" UserId="2661" />
  <row Id="4557" PostId="4057" Text="@pbm: I don't think you want `nis`, rather `db` (or perhaps a custom module)." CreationDate="2010-11-14T17:20:57.487" UserId="885" />
  <row Id="4558" PostId="4057" Text="@Gilles: it's typo.. I meant &quot;by writing proper (custom) nss module&quot;..." CreationDate="2010-11-14T17:24:04.930" UserId="2661" />
  <row Id="4560" PostId="4030" Score="2" Text="If single-user mode isn't enough, a more radical approach is `linux   /boot/vmlinuz root=… ro init=/bin/bash`. This drops you to a shell directly after the root partition is mounted, with no service at all. You'll probably want to `mount -t proc proc /proc` and `mount -o remount,rw /` before anything else." CreationDate="2010-11-14T17:47:48.517" UserId="885" />
  <row Id="4561" PostId="4006" Text="@kim, point conceded. :P" CreationDate="2010-11-14T18:37:01.200" UserId="1327" />
  <row Id="4562" PostId="4046" Text="Do you want multiple small images on one line to fill the space, or do you just want transparent space instead of white space?" CreationDate="2010-11-14T19:36:38.880" UserId="73" />
  <row Id="4563" PostId="3967" Text="Could you post a screenshot somewhere?" CreationDate="2010-11-14T19:47:44.580" UserId="1194" />
  <row Id="4564" PostId="3907" Text="@Matt, just highlighted the part that concerned me, which I couldn't figure with GIMP or Inkscape." CreationDate="2010-11-14T20:21:28.077" UserId="688" />
  <row Id="4565" PostId="4056" Text="+1 for Kolourpaint. More mature than Pinta." CreationDate="2010-11-14T20:27:12.597" UserId="688" />
  <row Id="4566" PostId="3907" Score="1" Text="In gimp, make a rectangle selection, then in menu edit you find &quot;Stroke Selection...&quot; and that will paint the rectangular selection.  But then gimp is for photo editing and not painting..." CreationDate="2010-11-14T21:06:31.487" UserId="2567" />
  <row Id="4567" PostId="3907" Score="1" Text="@Johan, now that's what I call not easy-to-use. How would an inexperienced user guess she had to select &quot;Stroke Selection...&quot;? With Kolourpaint or Pinta, I just selected rectangle and was able to draw right away. +1 for the 'answer' though." CreationDate="2010-11-14T21:19:44.880" UserId="688" />
  <row Id="4568" PostId="4060" Text="I have asked the same question (3 minutes after I asked here) at: http://askubuntu.com/questions/13265/how-to-detect-and-remove-a-linux-trojan Let me know if this is a violation, I'll delete one of them." CreationDate="2010-11-14T21:34:36.637" UserId="2626" />
  <row Id="4569" PostId="4054" Text="I know and I can do it that way but I have an idiot boss that can't." CreationDate="2010-11-14T21:50:12.850" />
  <row Id="4570" PostId="4060" Score="1" Text="@iamsid: Crossposting is [generally discouraged accross Stack Exchange](http://meta.stackoverflow.com/questions/5790/allow-cross-posting-of-questions-to-more-than-one-so-site), even [for sites that have an overlapping domain](http://meta.stackoverflow.com/questions/11600/allow-cross-posting-between-serverfault-com-and-superuser-com), but there is no [official policy on the unix.SE side](http://meta.unix.stackexchange.com/questions/146/policy-on-multiposting)." CreationDate="2010-11-14T21:54:57.430" UserId="885" />
  <row Id="4571" PostId="4064" Text="+1 for the descriptive answer and for recommending those articles: they broadened my knowledge. Thank you. " CreationDate="2010-11-14T22:03:04.673" UserId="2626" />
  <row Id="4572" PostId="4062" Text="Awesome answer. Thanks Gilles" CreationDate="2010-11-14T22:31:21.163" UserId="22" />
  <row Id="4573" PostId="4038" Text="`&lt;/cobwebs&gt;` I believe the answers that indicate that the purpose of the `.d` is to disambiguate the directory from the related and similarly named files are the correct ones. I have upvoted E-man's and jlliagre's. " CreationDate="2010-11-14T23:22:29.623" UserId="382" />
  <row Id="4574" PostId="4044" Text="Hmm if you cannot install anything then the settings are wrong. I'd go with pbm's answer." CreationDate="2010-11-15T00:36:31.457" UserId="250" />
  <row Id="4575" PostId="4068" Text="Does it work if you don't use your public key? (You can try with `ssh -o PubkeyAuthentication=no localhost`)" CreationDate="2010-11-15T05:28:25.863" UserId="73" />
  <row Id="4576" PostId="4069" Text="How does it &quot;work well&quot; when it sounds like it doesn't work at all? What does an entry in your file look like? Have you tried `sudo xargs --arg-file packages apt-get remove`?" CreationDate="2010-11-15T06:00:19.963" UserId="382" />
  <row Id="4577" PostId="4069" Text="Well, it kind of &quot;works&quot; because apt-get gets to the point of removing the right packages. That said, --arg-file was what I was looking for. You can put that in an answer and I will accept it. Thanks!" CreationDate="2010-11-15T06:13:06.883" UserId="2667" />
  <row Id="4578" PostId="4068" Text="could you run `tail -F /var/log/secure.log` in one terminal, while attempting to `ssh localhost` in another terminal, so we can see what error messages if any are occurring?" CreationDate="2010-11-15T07:59:56.613" UserId="2629" />
  <row Id="4580" PostId="3830" Text="I guess any NVidia card would work. But I don't have an old one laying around to try it. BTW: http://openchrome.org works again :)" CreationDate="2010-11-15T12:02:11.647" UserId="252" />
  <row Id="4581" PostId="4078" Text="Does `xrandr` not count as the Linux console?" CreationDate="2010-11-15T15:05:40.097" UserId="73" />
  <row Id="4582" PostId="4073" Text="The standard input of xargs is connected to the pipe from `cat`, but the process started by xargs has its standard input coming from /dev/null. This is the behavior of xargs. Simple demonstration: `echo &quot;&quot; | xargs ls -l /dev/self/fd`" CreationDate="2010-11-15T15:10:30.797" UserId="1627" />
  <row Id="4583" PostId="4080" Text="is there not something a bit more elegant?" CreationDate="2010-11-15T15:25:05.977" UserId="1325" />
  <row Id="4584" PostId="4078" Text="`xrandr` would probably allow me to switch the display of Xorg from the console. What I would like to do is switch the output for the console itself (on `tty1-6`)" CreationDate="2010-11-15T15:36:46.423" UserId="2669" />
  <row Id="4585" PostId="3967" Text="no, I'd have to paste a gif from meanwhile about 30 images (background/droplist) that follow very fast, but weirdly it's stopped disabling the background (i.e, I now get a background image)" CreationDate="2010-11-15T15:51:18.797" />
  <row Id="4586" PostId="4082" Text="You have to execute a command before it can be searched with Ctrl+r, not what Vass is asking for." CreationDate="2010-11-15T15:59:23.580" UserId="250" />
  <row Id="4587" PostId="4082" Text="I don't understand how this doesn't do what he asks.  I would add that if you want to first edit the command before running it, you can simply hit TAB once you have found the right command." CreationDate="2010-11-15T16:04:48.260" UserId="1207" />
  <row Id="4588" PostId="4082" Score="2" Text="So the procedure would be, (1) Ctrl+r, (2) type until you find command, (3) TAB, (4) edit command, (5) ENTER." CreationDate="2010-11-15T16:06:07.837" UserId="1207" />
  <row Id="4589" PostId="4082" Score="1" Text="@phuenhehe: &quot;But there is a command line history event I wish to manually modify&quot;" CreationDate="2010-11-15T16:08:28.563" UserId="2661" />
  <row Id="4590" PostId="3907" Text="@Tshepang, you are totally right, but on the other hand this way you can then decide how you would like to draw that line and what effect you would like to use... etc etc. so it is very flexible..." CreationDate="2010-11-15T16:29:40.580" UserId="2567" />
  <row Id="4591" PostId="4082" Text="This answer is ok, just that searching with Ctrl+r through a long history is cumbersome, I know the line number in the file, so can that be used at all? And how do you keep moving backwards/forwards when in the Ctrl+r mode? Best," CreationDate="2010-11-15T16:32:11.233" UserId="1325" />
  <row Id="4592" PostId="4082" Text="If you press `Ctrl+r` while searching next result will be shown. " CreationDate="2010-11-15T16:45:55.410" UserId="2661" />
  <row Id="4593" PostId="4082" Text="I updated my answer - I think that I found exactly what you need." CreationDate="2010-11-15T17:05:53.973" UserId="2661" />
  <row Id="4594" PostId="4082" Score="1" Text="Won't `!n:p` work?" CreationDate="2010-11-15T19:07:49.407" UserId="1946" />
  <row Id="4595" PostId="4068" Text="Post the output of `ssh -vvv`. (This is something you should always do when asking about ssh failing to connect. Anonymize user and host names if necessary.) If you have a `~/.ssh/config`, try without or post its contents." CreationDate="2010-11-15T19:19:45.860" UserId="885" />
  <row Id="4596" PostId="4082" Text="`!n:p` works for me after setting `shopt -s histverify`" CreationDate="2010-11-15T19:30:07.000" UserId="2661" />
  <row Id="4597" PostId="4082" Text="@alex, that was awesome, where could I have read up on that? I find no documentation on this anywhere" CreationDate="2010-11-15T19:33:18.047" UserId="1325" />
  <row Id="4598" PostId="4082" Text="@Vass: `man bash` - section `HISTORY` and `HISTORY EXPANSION`" CreationDate="2010-11-15T19:35:34.717" UserId="2661" />
  <row Id="4599" PostId="4038" Text="The question is &quot;what does the '.d' stand for&quot;, and I have received plenty of explanations concerning the reason why there is this '.d', but the few that gave an answer regarding the meaning did not quote any source. Personnaly, I think it means directory." CreationDate="2010-11-15T19:41:18.843" UserId="653" />
  <row Id="4601" PostId="4073" Text="@mws: No, `apt-get` shouldn't open `/dev/tty`. Otherwise you couldn't do things like `yes | apt-get`. Passwords are pretty much the only case where reading from `/dev/tty` is the right thing, and even that much is debatable." CreationDate="2010-11-15T20:21:28.233" UserId="885" />
  <row Id="4602" PostId="4086" Text="There is a typo in your first example..." CreationDate="2010-11-15T20:21:55.393" UserId="2661" />
  <row Id="4604" PostId="4085" Text="Do you mean you can open such an archive file over ssh? You can also extract it?" CreationDate="2010-11-15T21:01:35.460" UserId="688" />
  <row Id="4605" PostId="4085" Score="1" Text="@Tshepang: On Ubuntu 10.04, if I navigate to `sftp://host/path/to/directory` in Nautilus, then click on a `tar.gz` file, the archive is opened in `file-roller`. I can then extract it in a local directory or in a directory on the remote host. I haven't tried other combinations." CreationDate="2010-11-15T21:18:03.840" UserId="885" />
  <row Id="4606" PostId="4056" Text="also Krita since this seems to be about KDE imaging apps." CreationDate="2010-11-15T21:49:55.250" UserId="29" />
  <row Id="4608" PostId="4089" Text="does it help with shell scripts? (docs, snippets, etc.)" CreationDate="2010-11-15T22:33:42.690" UserId="2287" />
  <row Id="4609" PostId="1766" Text="@Gilles: good point. Thanks for the reminder about realpath -f." CreationDate="2010-11-15T22:36:50.220" UserId="1620" />
  <row Id="4610" PostId="1766" Text="@Gilles: Unfortunately, readlink on Mac uses -f for something completely different, so this is not so portable as I would like. I have therefore written my own C utility wrapper for realpath(3) that I use on Mac so I can write portable scripts that use realpath." CreationDate="2010-11-15T22:43:58.640" UserId="1620" />
  <row Id="4611" PostId="4090" Text="is it difficult to set up?" CreationDate="2010-11-15T22:44:48.190" UserId="2287" />
  <row Id="4612" PostId="4034" Score="2" Text="See also [Can I nohup/screen an already-started process?](http://serverfault.com/questions/24425) and [Resume command running in dropped SSH session](http://serverfault.com/questions/115998), which mention several ptrace-based solutions not (currently) mentioned here." CreationDate="2010-11-15T22:47:13.043" UserId="885" />
  <row Id="4613" PostId="4089" Text="It provides some types of auto completion, though it does not always work. I haven't manage to figure out why or when it works. It supports easy identing and commenting of line, compatible with shall scripts. And It offers some template comments. But it does not do a kind of javadoc for scripts, AFAIK." CreationDate="2010-11-15T22:52:19.353" UserId="2613" />
  <row Id="4614" PostId="4090" Text="Do you mean about ctags? I don't have any more the syntax for ctags, but I launched it i a cron hourly, it was indexing in a file my project. I then just point NEdit to this file, there was an option either in the File or Preferences menu. Or you can set it &quot;for ever&quot; and add it to .neditrc It was not that difficult but it is not a great UX." CreationDate="2010-11-15T22:54:11.787" UserId="2613" />
  <row Id="4615" PostId="4092" Text="does it provide support for docs in any way?" CreationDate="2010-11-15T23:00:52.853" UserId="2287" />
  <row Id="4616" PostId="4094" Text="There's also the [Single Unix Specification](http://en.wikipedia.org/wiki/Single_UNIX_Specification) to consider." CreationDate="2010-11-15T23:37:48.643" UserId="382" />
  <row Id="4617" PostId="4082" Text="@Vass: Repeated pressing of Ctrl-r will step back through matching command lines. If you add `stty -ixon` to your `~/.bashrc` then you will be able to reverse course and step forward through the matches using Ctrl-s." CreationDate="2010-11-15T23:50:10.363" UserId="382" />
  <row Id="4618" PostId="4086" Score="4" Text="You will need to do `stty -ixon` before Ctrl-s will work." CreationDate="2010-11-15T23:51:27.803" UserId="382" />
  <row Id="4619" PostId="4086" Text="@Dennis: Wow, modern terminal emulators don't do this by default? &lt;test&gt; You're right, even gnome-terminal in Ubuntu has flow control!" CreationDate="2010-11-16T00:05:25.800" UserId="885" />
  <row Id="4620" PostId="4092" Text="used external tools, with a man wrapper for current word." CreationDate="2010-11-16T00:39:12.833" UserId="2287" />
  <row Id="4621" PostId="4086" Text="I don't know why they still do. It's impossible to catch something while it's scrolling. By the time you press Ctrl-s, you've got a prompt again. And slow serial connections are mostly a thing of the past." CreationDate="2010-11-16T00:43:20.067" UserId="382" />
  <row Id="4622" PostId="4085" Text="@Gilles, I guess it's a bug in Debian Squeeze then. Thanks." CreationDate="2010-11-16T01:41:18.870" UserId="688" />
  <row Id="4623" PostId="4073" Text="Thanks for the comments, both are correct and better thought than my slap-dash response, which I'm going to leave un-edited so that the comments still make sense." CreationDate="2010-11-16T04:14:12.277" UserId="1294" />
  <row Id="4624" PostId="988" Score="1" Text="It's a &quot;down the rabbit-hole&quot; joke... It's because when you learn emacs, eventually you start creating emacs too. (since Emacs is really just a very large collection of editing macros/routines written in it's Lisp interpreter.)" CreationDate="2010-11-16T04:20:47.980" UserId="1335" />
  <row Id="4625" PostId="4100" Text="Which dchp server and version are you running? Restarting the server might work, sending the server a `kill -HUP` might work also." CreationDate="2010-11-16T04:38:36.103" UserId="1294" />
  <row Id="4626" PostId="4097" Score="4" Text="And let's not forget that GNU stands for &quot;GNU is Not Unix&quot;!" CreationDate="2010-11-16T07:05:34.647" UserId="1946" />
  <row Id="4627" PostId="4097" Score="1" Text="&quot;Gnu is not Unix&quot; means Gnu isn't based on Unix original code, not that Gnu doesn't want to implement Unix specs. Quoting rms: &quot;Free Unix! Starting this Thanksgiving I am going to write a complete Unix-compatible software system called GNU (for Gnu's Not Unix), and give it away free(1) to everyone who can use it.&quot;&#xA;" CreationDate="2010-11-16T08:08:09.023" UserId="2594" />
  <row Id="4628" PostId="4027" Text="@Gilles: It says `linux /boot/vmlinuz-2.6.35-22-generic root=UUID=… ro single` for the &quot;recovery mode&quot; boot entry. In the meantime I've found out that graphics for this specific laptop model seems to be a general problem." CreationDate="2010-11-16T10:26:59.370" UserId="2579" />
  <row Id="4629" PostId="1740" Score="2" Text="and I thought this was a vim question :P" CreationDate="2010-11-16T11:07:36.520" UserId="29" />
  <row Id="4630" PostId="4106" Text="+1 for something | wc -l  ... word count is such a nice little tool " CreationDate="2010-11-16T12:32:48.287" UserId="2567" />
  <row Id="4631" PostId="4106" Text="yeah but this only does 1 directory.... I'd like to get the count for all directories in a directory, and I don't want to run it seperately each time... of course I suppose I could use a loop... but I'm being lazy." CreationDate="2010-11-16T12:49:12.803" UserId="29" />
  <row Id="4632" PostId="4107" Score="2" Text="X11 is not synonym of X. X11 is the current version of the protocol used in the X Window System and in existence since 1987. The other versions, from X1 to X10, existed during some period of the past, from the creation of X until the release of X11." CreationDate="2010-11-16T12:53:24.360" UserId="1627" />
  <row Id="4633" PostId="4110" Text="Thanks, I didn't know the h modifier, it's nice :)" CreationDate="2010-11-16T13:18:14.140" UserId="2200" />
  <row Id="4634" PostId="4107" Text="Yes you are right, I fixed this." CreationDate="2010-11-16T13:25:12.180" UserId="1339" />
  <row Id="4635" PostId="4106" Text="`find` works recursively through all sub directories by default. If you want it to work in multiple locations, you can specify all of them between `find` and `-type`." CreationDate="2010-11-16T14:33:11.730" UserId="559" />
  <row Id="4636" PostId="2945" Text="What happens if you do it on a regular file ?" CreationDate="2010-11-16T15:08:28.750" UserId="393" />
  <row Id="4637" PostId="3983" Text="you have to add also &quot;NLS ISO 8859-1&quot; support to your kernel. :-/ Probably, 437 is your default codepage and 8859-1 is the real usb-stick encoding (so you need both)." CreationDate="2010-11-16T15:17:19.280" UserId="2634" />
  <row Id="4638" PostId="3967" Text="I have found in the task manager an accumulation (25 or so) of the process xf" CreationDate="2010-11-16T16:20:10.963" />
  <row Id="4639" PostId="3967" Text="...the process xfdesktop --display :0.0 --sm-client and then a long number." CreationDate="2010-11-16T16:21:06.890" />
  <row Id="4641" PostId="4118" Text="Hum, so you do just one ssh command to a remote server, and then run screen in this same ssh session?" CreationDate="2010-11-16T18:37:16.720" UserId="2689" />
  <row Id="4642" PostId="4118" Text="Yes.  The screen shot is my local screen, but I have a similar set up on the servers I need to use regularly.  Basically, I (1) open a terminal, (2) ssh to the server,  and then (3) immediately start screen.  " CreationDate="2010-11-16T18:40:01.213" UserId="1207" />
  <row Id="4643" PostId="4105" Text="See also [recursively count all the files in a directory](http://superuser.com/questions/198817), [Count files in each directory?](http://superuser.com/questions/210356) at SU." CreationDate="2010-11-16T18:40:28.497" UserId="885" />
  <row Id="4644" PostId="4118" Text="Another useful function is windows splitting in screen. To split window horizontally press `C-a S` and after that you can switch focus to another window using `C-a Tab`. " CreationDate="2010-11-16T18:44:16.803" UserId="2661" />
  <row Id="4645" PostId="4121" Text="To find only blocks beetwen `CLASS` and `END` we could use `sed -n -e '/^CLASS$/,/^END$/p' file.txt`, but as sed is stream editor we are getting blocks in parts - each word is another part so we should remeber everything after `CLASS` and before `END` and then paste it to file. I think that tool better than `sed` in this case will be `awk`, but as I don't know it I spent one and half hour trying to write some useful awk script and I failed... ;)" CreationDate="2010-11-16T18:55:22.470" UserId="2661" />
  <row Id="4646" PostId="3942" Text="This works very nicely, thanks!  " CreationDate="2010-11-16T19:06:33.693" UserId="298" />
  <row Id="4647" PostId="3938" Text="This was a good answer as well, very informative.  The pargs command met my need better which is the only reason I selected that answer over this one." CreationDate="2010-11-16T19:07:35.907" UserId="298" />
  <row Id="4648" PostId="4110" Score="2" Text="More precisely, on most implementations, this is the total number of blocks used by files included in the directory listing (compare `ls -l ~` with `ls -la ~`, and `ls -lA ~`). The block size is 1kB with GNU tools, but 512B according to POSIX and most other current implementations." CreationDate="2010-11-16T19:37:10.437" UserId="885" />
  <row Id="4649" PostId="3967" Text="And this happens every time you reboot?" CreationDate="2010-11-16T20:08:40.707" UserId="1194" />
  <row Id="4650" PostId="3993" Text="@previous comment.  ouch.  Just ouch." CreationDate="2010-11-16T20:36:18.687" UserId="2688" />
  <row Id="4651" PostId="3942" Text="this whole /usr/ucb directory is new to me... I like it! " CreationDate="2010-11-16T20:39:31.367" UserId="298" />
  <row Id="4652" PostId="818" Text="+1 Neat trick!  I'd not used that before" CreationDate="2010-11-16T20:42:40.880" UserId="2688" />
  <row Id="4653" PostId="4121" Text="Completely right, I didn't read this question closely enough before firing off an answer." CreationDate="2010-11-16T20:50:26.993" UserId="1207" />
  <row Id="4654" PostId="4107" Text="XFree86 was never the reference implementation, just the one that virtually all Linux &amp; BSD distros shipped since it had far more drivers for x86 systems than the MIT/X Consortium/Open Group sample implementation." CreationDate="2010-11-16T20:59:14.783" UserId="146" />
  <row Id="4655" PostId="4106" Text="that second one certainly doesn't work.... I tried it on /home . I got `698035 `. I should see about 6 numbers." CreationDate="2010-11-16T21:02:24.633" UserId="29" />
  <row Id="4656" PostId="4120" Text="way too recursive... I only want to see the top level, where it totals everything underneath it. totaled... this ends up printing every directory." CreationDate="2010-11-16T21:05:16.693" UserId="29" />
  <row Id="4657" PostId="3967" Text="It seems to load one extra (-&gt; +1) at every startup. I'd need some more reboots to verify this." CreationDate="2010-11-16T21:07:08.873" />
  <row Id="4658" PostId="1369" Text="+100 if I could" CreationDate="2010-11-16T21:21:19.560" UserId="2688" />
  <row Id="4661" PostId="4120" Text="@xenoterracide: Try adding `-maxdepth 1` immediately after the first `find`. If you want to include the number of subdirectories in your count, remove the `-type f` at the end (that should have really been `! -type d` anyway, so that all non-directory files would have been included)." CreationDate="2010-11-16T23:15:51.150" UserId="382" />
  <row Id="4666" PostId="4137" Score="2" Text="A 64-bit binary will typically use more memory (both because the code is bigger, and because some kinds of data are twice as big (while others are the same size)). How much more is wildly dependent on the application, I don't know in what ballpark Apache is. But as you say, typically you'd install a whole 32-bit system or a whole 64-bit system." CreationDate="2010-11-17T00:21:37.443" UserId="885" />
  <row Id="4667" PostId="4132" Text="Only quibble: I would say that both kinds of ttys are “provided by” the kernel. The difference I would emphasize is that hardware ttys (e.g. serial lines and the built-in, text-mode console) have one end connected to hardware and one end connected to software (e.g. login programs and/or shells) while pseudo-ttys have both ends connected to software (e.g. a terminal emulator on one end and shell on the other)." CreationDate="2010-11-17T04:04:30.147" UserId="1107" />
  <row Id="4668" PostId="4072" Text="well its true this doesn't work.  how do i register the new key then?  " CreationDate="2010-11-17T06:02:04.187" UserId="2666" />
  <row Id="4669" PostId="4093" Text="ssh-copy-id is not found. " CreationDate="2010-11-17T06:02:54.730" UserId="2666" />
  <row Id="4670" PostId="4093" Text="thanks for the hint though.  i did check and it likes the 'authorized_key' file, but it still asks me for a password :P  any other ideas?" CreationDate="2010-11-17T06:03:30.207" UserId="2666" />
  <row Id="4671" PostId="4068" Text="3) OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009&#xA;" CreationDate="2010-11-17T06:04:43.123" UserId="2666" />
  <row Id="4672" PostId="4068" Text="1) ssh -o PubkeyAuthentication=no localhost demands a password then says permission denied... hey wait ssh localhost also fails - what does that mean?" CreationDate="2010-11-17T06:06:23.043" UserId="2666" />
  <row Id="4673" PostId="4073" Text="@msw I see. Is there any difference between this and xargs -a filename, like ephemient is suggesting?" CreationDate="2010-11-17T06:23:18.990" UserId="2667" />
  <row Id="4674" PostId="4072" Text="I think this might be the right answer... Under system preferences -&gt; Sharing -&gt; remote login  I had to add the user to allow ssh for that account.  Then all the above worked fine..." CreationDate="2010-11-17T06:23:21.517" UserId="2666" />
  <row Id="4675" PostId="4139" Score="1" Text="You could also grab the init.d script out of the apache package, and tweak it just a little bit. You'd end up with a much more robust script." CreationDate="2010-11-17T06:41:47.780" UserId="2376" />
  <row Id="4678" PostId="3967" Text="Odd... Try menu -&gt; Settings -&gt; Session and startup -&gt; Session, quit every xfdesktop instance, then &quot;Save session&quot; and reboot" CreationDate="2010-11-17T07:56:08.263" UserId="1194" />
  <row Id="4679" PostId="4138" Score="1" Text="While a good learning experience, please don't do this sort of thing long-term. The whole point of the distributions package manager is to keep things patched and up to date. If you start manually building things then YOU need to ensure they stay up to date." CreationDate="2010-11-17T07:56:10.977" UserId="1097" />
  <row Id="4680" PostId="4141" Score="1" Text="In VIM you can get syntax highlight by manually setting the syntax to markdown if it isn't recognized. `:set syntax=mkd`" CreationDate="2010-11-17T09:48:25.780" UserId="252" />
  <row Id="4681" PostId="4107" Text="What would you see as reference implementation before Xorg?" CreationDate="2010-11-17T10:03:21.513" UserId="1339" />
  <row Id="4682" PostId="4076" Text="@Steve: yes, same error again." CreationDate="2010-11-17T10:25:23.720" UserId="912" />
  <row Id="4683" PostId="3913" Text="@alanc tried that. doesn't work... pretty sure it either doesn't load the configuration settings right, or doesn't save them right. `grep -i twin ~/.nvidia-settings-rc` show's nothing" CreationDate="2010-11-17T11:41:45.540" UserId="29" />
  <row Id="4684" PostId="4132" Text="I read in a book (forget the name, sorry), that the shell is supposed to protect the kernel: the user interacts with the shell, instead of directly with the kernel." CreationDate="2010-11-17T13:46:13.137" UserId="250" />
  <row Id="4685" PostId="4073" Text="Yes, ephimemient's use of the `--arg-file` option is even better for the specific case which is why I upvoted it. For the many commands that don't have such an option the backtick-cat metaphor still has its uses." CreationDate="2010-11-17T14:09:47.853" UserId="1294" />
  <row Id="4686" PostId="3967" Text="well, that worked, but I have a feeling that I'm only fighting the symptoms." CreationDate="2010-11-17T14:50:19.987" />
  <row Id="4689" PostId="4154" Text="@andcoz: I did the `echo $SHELL` from bash. Then, the current shell executable path should have referred to bash, right?" CreationDate="2010-11-17T16:56:50.590" UserId="912" />
  <row Id="4690" PostId="4134" Text="I tried this in a virtualbox machine and it did fail, although it didn't display any message to the user (I tried with ubuntu 10.4). What system log would have this error reported?" CreationDate="2010-11-17T17:20:08.407" UserId="2688" />
  <row Id="4691" PostId="4106" Text="It works for me - are you sure you only have 6 files under `/home`?  I'd be 100% certain you don't." CreationDate="2010-11-17T17:28:34.047" UserId="2359" />
  <row Id="4692" PostId="4154" Text="mumble ... I checked more carefully and edited the response." CreationDate="2010-11-17T18:01:15.627" UserId="2634" />
  <row Id="4693" PostId="4138" Text="@develop: Of course, a distribution like Ubuntu is going to keep versions fixed, only doing maintenance updates, and there aren't necessarily bleeding-edge PPAs for every package you care about - so sometimes if you want a new version, you do have to build it yourself." CreationDate="2010-11-17T18:19:35.067" UserId="2376" />
  <row Id="4694" PostId="1478" Score="2" Text="Ouch.  That's why I always use `sfdisk -O` to back up the partition table, always.  FYI: http://www.cgsecurity.org/wiki/TestDisk can automate what @Neil Mayhew's did." CreationDate="2010-11-17T18:25:58.527" UserId="1779" />
  <row Id="4695" PostId="4093" Text="On your SSH server, did you check if it's configured to accept key authentication? Look in the file /etc/ssh/sshd_config (or what it appropriate on Mac OS X), and verify the option PubkeyAuthentication, it should be 'yes'. Try to activate logging facilities (on Unices, it's SyslogFacility and LogLevel that you have to set), and the log are usually in /var/log/messages. However, I'm not sure how this work on Mac OS. Perhaps, check the man page of sshd_config or sshd." CreationDate="2010-11-17T18:56:25.830" UserId="2613" />
  <row Id="4696" PostId="4161" Score="3" Text="Nautilus uses more than just the file extension to determine file type.  A tar.gz file without the extension will still usually get a fancy symbol." CreationDate="2010-11-17T19:03:53.053" UserId="1207" />
  <row Id="4697" PostId="4132" Text="@phunehehe: Right, that's a different meaning of “shell”, in common use in operating system design: the shell is the outer part of the kernel. It's not unix terminology: Unix kernels don't tend to have a component that one could call a shell." CreationDate="2010-11-17T19:27:22.337" UserId="885" />
  <row Id="4698" PostId="4134" Score="1" Text="@David: There should definitely be something in `/var/log/kern.log`. I don't know whether the absence of a message on the console is a quirk of this particular kernel version or a deliberate Ubuntu configuration (I know they have deliberately suppressed some other console output)." CreationDate="2010-11-17T19:32:30.070" UserId="885" />
  <row Id="4699" PostId="3967" Text="Yes, but it's still something :) Are there multiple xfdesktops after a few reboots?" CreationDate="2010-11-17T19:48:13.007" UserId="1194" />
  <row Id="4700" PostId="4160" Score="1" Text="Exactly.  Usually there is not a &quot;hold my hand please&quot; flag to `tar`, so you have to tell it what kind of archive you've got." CreationDate="2010-11-17T20:17:42.530" UserId="614" />
  <row Id="4701" PostId="4140" Text="A markdown file can just be read when you open it in an editor, you don't really need fancy tools to read it.  What do you want it for/what format do you want it to be in?" CreationDate="2010-11-17T20:29:55.560" UserId="2150" />
  <row Id="4702" PostId="4097" Text="If a Linux distro wanted to get certified as a UNIX, it wouldn't have to change very much and it could be so.  But I haven't heard of anyone paying all that money for what would, at this point, be worth so little." CreationDate="2010-11-17T21:32:35.443" UserId="614" />
  <row Id="4703" PostId="4157" Text="`useradd` without `--home` will usually make the directory field using some default, often `/home/username`." CreationDate="2010-11-17T21:38:01.027" UserId="382" />
  <row Id="4704" PostId="4157" Text="I haven't done Linux for a long time.  Solaris useradd creates :/: for home  by default. " CreationDate="2010-11-17T21:48:13.127" UserId="1984" />
  <row Id="4705" PostId="4149" Score="2" Text="There are FUSE implementations of [FAT](http://en.wikipedia.org/wiki/File_Allocation_Table), [NTFS](http://en.wikipedia.org/wiki/NTFS), [iso9660](http://en.wikipedia.org/wiki/ISO_9660), [ext2](http://en.wikipedia.org/wiki/Ext2), and [more](http://sourceforge.net/apps/mediawiki/fuse/index.php?title=NonNativeFileSystems)." CreationDate="2010-11-17T22:26:22.503" UserId="885" />
  <row Id="4706" PostId="4169" Text="Yes, this indeed works. As an Emacs user who knows the \{\} syntax, I didn't bother to look up finds emacs regex syntax as I assumed it would be the same. Shame on me for being so full of trust for GNU :-)" CreationDate="2010-11-17T22:27:59.850" UserId="1941" />
  <row Id="4707" PostId="4157" Text="A user can login without a home directory, by default the most systems will set `$HOME` to `/`" CreationDate="2010-11-17T22:41:13.290" UserId="1339" />
  <row Id="4708" PostId="4097" Text="@Kevin: [Caldera](http://en.wikipedia.org/wiki/Caldera_Systems) (now infamously known through another name) once worked on it, though they didn't go all the way (they seem to have abandoned the idea and pushed for [LSB](http://en.wikipedia.org/wiki/Linux_Standard_Base) instead well before they suddenly forgot they'd ever heard of Linux)." CreationDate="2010-11-17T22:57:24.680" UserId="885" />
  <row Id="4709" PostId="4105" Text="I think that &quot;how many files are in subdirectories in there subdirectories&quot; is a confusing construction.  If more clearly state what you want, you might get an answer that fits the bill. " CreationDate="2010-11-18T00:02:30.200" UserId="1207" />
  <row Id="4710" PostId="4173" Text="I don't have neither of those but xauth is loaded in su session (i.e. it is in /etc/pam.d/su)." CreationDate="2010-11-18T00:19:13.633" UserId="305" />
  <row Id="4712" PostId="4176" Text="Always use `read -r` as plain `read` treats backslashes specially. Then `echo -en &quot;$dir:\t&quot;` will again mangle backslashes; a simple fix is to use `printf '%s:\t' &quot;$dir&quot;` instead. Next, `$dir` should be `&quot;$dir&quot;` (**always use double quotes around variable substitutions**)." CreationDate="2010-11-18T01:40:11.953" UserId="885" />
  <row Id="4713" PostId="4163" Text="My motivation for it is that I am jailing an apache instance in a chroot, and I am starting the apache instance as this user. &#xA;&#xA;There is no need for the user to have a home directory at all.&#xA;&#xA;Thank you for your reply, I will consider doing that, but I'm a bit reluctant to parse the file as text." CreationDate="2010-11-18T07:37:16.567" UserId="2619" />
  <row Id="4714" PostId="4157" Text="Thank you for your reply. I am creating this user because I am jailing an apache instance in a chroot, and want to start the apache process as this user. I just can't see a reason why that user needs anything in the HOME_DIR field in /etc/passwd" CreationDate="2010-11-18T07:40:23.103" UserId="2619" />
  <row Id="4715" PostId="4105" Text="@Steven feel free to rewrite it... I thought my example of `du -sh /*` made it pretty clear how I wanted the count to work. same thing, just count the files not the bytes." CreationDate="2010-11-18T07:45:31.777" UserId="29" />
  <row Id="4716" PostId="4176" Text="seems to do what I want, thanks." CreationDate="2010-11-18T07:47:12.557" UserId="29" />
  <row Id="4717" PostId="4106" Text="@Cry I have maybe 6 directories... not 6 files" CreationDate="2010-11-18T07:51:42.193" UserId="29" />
  <row Id="4718" PostId="4177" Text="I usually use fstab (`/etc/fstab`), it seemed like the easiest thing to do (no extra dependencies). Although autofs seems like the way to go if you want to spare some resources." CreationDate="2010-11-18T07:59:25.620" UserId="252" />
  <row Id="4720" PostId="4176" Text="modified per @Giles suggestions `find -maxdepth 1 -type d | while read -r dir; do printf &quot;%s:\t&quot; &quot;$dir&quot;; find &quot;$dir&quot; | wc -l; done`" CreationDate="2010-11-18T09:30:58.387" UserId="29" />
  <row Id="4721" PostId="1514" Score="1" Text="it basicly kills *everything* the user has access to, and with root .. its *everything* =)" CreationDate="2010-11-18T12:09:33.723" UserId="1394" />
  <row Id="4722" PostId="4184" Text="Tried it and works flawlessly" CreationDate="2010-11-18T13:46:35.073" UserId="252" />
  <row Id="4723" PostId="4163" Text="I see. I can understand your reluctance as someone who has inadvertently made text edits. If you would like I can modify the perl to be more robust and perform various validation before making its edit. It might also be beneficial to have perl print what text it will be modifying before making any changes. Additionally you can pass a string to the -i flag* to create an in-place backup file. *perl -p -i.bak -e ..." CreationDate="2010-11-18T14:16:52.893" UserId="2701" />
  <row Id="4724" PostId="4176" Text="Thanks, guys. I fixed the answer to match." CreationDate="2010-11-18T14:32:53.710" UserId="2180" />
  <row Id="4725" PostId="4148" Text="Let's make it a little clearer, are you saying, using the same command, the problem only happens with that computer and not with other computers?" CreationDate="2010-11-18T15:49:21.133" UserId="250" />
  <row Id="4726" PostId="4148" Text="@phunehehe, Correct, copy/paste via select works on a GVim window spawned from box A, but not on a GVim window spawned from box B.  Both box A and box B are RHEL4 U8." CreationDate="2010-11-18T16:36:34.853" UserId="2700" />
  <row Id="4727" PostId="4097" Text="Hahahah.  I also have some vague memory of someone providing a Linux for government / military procurement that did go through that.  This list, though, doesn't include dead companies: http://www.opengroup.org/openbrand/register/" CreationDate="2010-11-18T17:46:00.000" UserId="614" />
  <row Id="4728" PostId="4189" Score="4" Text="I've been using Unix since shortly after the Berlin Wall fell, and I'd never heard the &quot;Unix System Resources&quot; expansion for &quot;usr&quot; until today; it is a backronym. &quot;usr&quot; got its name because it's where the user home directories were originally located. That is, if you had a login on an old System III box, your initial working directory would be `/usr/nzwulfin` by default. Another common scheme. before the SVR4 `/home` scheme took over, was `/u`. One system I used early on had so many users they needed multiple physical disks for user file storage, so they had things like `/u/d5/tangent`." CreationDate="2010-11-18T17:54:45.843" UserId="138" />
  <row Id="4729" PostId="4192" Score="1" Text="@Steven, nice!  That's what I call going the whole 9 yards." CreationDate="2010-11-18T18:07:57.977" UserId="2700" />
  <row Id="4730" PostId="4198" Score="2" Text="To automatically setting `VIMINIT` variable while logging via ssh you could use file `~/.ssh/environment`. This file could be used only for setting environment variables, so only entry you should add is: `VIMINIT='so /tmp/myvimrc'`. This file is processed only when in sshd configuration option `PermitUserEnvironment` is set to `yes`, so you should test on your own if it works for you or ask your administrator if it is turn on." CreationDate="2010-11-18T21:46:46.947" UserId="2661" />
  <row Id="4731" PostId="3967" Text="not so far. I will call again if problems recur. thank you so far." CreationDate="2010-11-18T23:01:26.783" />
  <row Id="4732" PostId="4196" Score="3" Text="And for extra bash 4 cuteness: `prog |&amp; tee file`." CreationDate="2010-11-19T01:49:36.537" UserId="2729" />
  <row Id="4733" PostId="4195" Score="1" Text="...still have it go to *stdout*?" CreationDate="2010-11-19T05:00:55.003" UserId="382" />
  <row Id="4735" PostId="4105" Text="As you mention inode usage, I don't understand whether you want to count the number of files or the number of used inodes. The two are different when hard links are present in the filesystem. Most, if not all, answers give the number of files. Don't use them on an Apple Time Machine backup disk." CreationDate="2010-11-19T12:45:49.483" UserId="1383" />
  <row Id="4736" PostId="4202" Text="sadly I don't know the answer, but thanks for the `grub.cfg`" CreationDate="2010-11-19T15:31:44.307" UserId="250" />
  <row Id="4737" PostId="4194" Text="thanks, I learned a lot from your answer" CreationDate="2010-11-19T15:54:21.590" UserId="250" />
  <row Id="4738" PostId="4105" Text="@mouviciel this isn't being used on a backup disk, and yes I suppose they might be different, but in the environment I'm in there are very few hardlinks, technically I just need to get a feel for it. figure out where someone is burning out there inode quota." CreationDate="2010-11-19T15:57:43.690" UserId="29" />
  <row Id="4739" PostId="4105" Text="@mouviciel of course feel free to suggest a way to get the actual inode count" CreationDate="2010-11-19T15:58:29.167" UserId="29" />
  <row Id="4740" PostId="4074" Text="not this one either unfortunately.The quest continues. " CreationDate="2010-11-19T16:18:39.650" UserId="1900" />
  <row Id="4741" PostId="4207" Text="@mouviciel: Good idea taking hard links into account. Assuming GNU find, you don't need so many steps: `find -printf '%i\n' | sort -u | wc -l`. If you wanted to be portable, you'd need `find . -exec ls -id {} + | cut …` instead." CreationDate="2010-11-19T20:24:02.987" UserId="885" />
  <row Id="4742" PostId="4174" Text="Should be brought up that OpenBSD does not do multilib. So if you do go with amd64 keep in mind running any 32bit binaries is probably out of the question." CreationDate="2010-11-19T22:31:29.533" UserId="1483" />
  <row Id="4743" PostId="4174" Text="@gregf: It's worse than just not multilib: as I indicate in my answer, according to the FAQ, an amd64 OpenBSD kernel can't run an i386 OpenBSD binary." CreationDate="2010-11-19T22:52:17.210" UserId="885" />
  <row Id="4744" PostId="4195" Text="Yeah. Apparently. I didn't reread it carefully enough or was in a hurry or something. Sorry about that. It's been fixed." CreationDate="2010-11-19T22:59:36.567" UserId="2712" />
  <row Id="4745" PostId="4189" Text="@Warren I hadn't heard it either and poked around Google for a while; it sounds like there are quite a few backronyms" CreationDate="2010-11-19T23:35:10.417" UserId="73" />
  <row Id="4746" PostId="3439" Score="1" Text="A more portable alternative to `/bin/ls -l /proc/$$/exe` is `ps -o comm= -p $$`. This isn't fully reliable because some shells behave differently depending on how they were invoked; in practice simply testing `$0` in `.profile` is likely to be a better indication. But most shells that offer useful features (bash, ksh, zsh) can be simply recognized (and their version identified, which is a big plus) by testing some variables: `$BASH`, `$BASH_VERSION`, `$BASH_VERSINFO`; `$KSH_VERSION`, `${.sh.version}`; `$ZSH_VERSION`." CreationDate="2010-11-20T00:10:32.587" UserId="885" />
  <row Id="4747" PostId="4172" Text="thanks. i came to a conclusion that Ubuntu's Upstart is the way to go as well. RHEL 6 is using it as well." CreationDate="2010-11-20T00:20:01.973" UserId="2657" />
  <row Id="4749" PostId="4211" Score="1" Text="what command do you use to mount it?" CreationDate="2010-11-20T08:59:02.673" UserId="688" />
  <row Id="4750" PostId="4209" Text="possible duplicate of [Number of files per directory](http://unix.stackexchange.com/questions/3733/number-of-files-per-directory). You're likely to run into a performance problem before you run into a hard limit." CreationDate="2010-11-20T11:03:06.780" UserId="885" />
  <row Id="4753" PostId="4216" Text="Do you want to install for real, or do you want a USB running Fedora with persistance storage?" CreationDate="2010-11-20T12:32:27.020" UserId="250" />
  <row Id="4754" PostId="4216" Text="I want to install Fedora on a VM, but I think that's irrelevant." CreationDate="2010-11-20T12:41:00.183" UserId="688" />
  <row Id="4755" PostId="4217" Score="1" Text="live usb creator was buggy for me using a x64 desktop to build a x86 xbmc build, usually I use a windows desktop with usb creator as it seems to be less problematic than linux versions of it.  good answer regardless! " CreationDate="2010-11-20T13:45:42.027" UserId="1253" />
  <row Id="4756" PostId="4216" Score="2" Text="On a VM is easier you do not need a usb.  Most VM software allows install directly from iso.  YOu can create a virtual dvd-rom, mount iso to it and mount rom on boot of your new VM, the rest is installing." CreationDate="2010-11-20T13:46:16.550" UserId="1253" />
  <row Id="4758" PostId="4212" Text="&quot;Windows Server hard disk&quot; I think it's relatively safe to assume he is using samba." CreationDate="2010-11-20T15:37:08.093" UserId="131" />
  <row Id="4759" PostId="761" Score="2" Text="Wait a minute, I don't need to type the password to boot into single user mode. In fact that is how I reset the root password if I lose it. Or was it different in the old time?" CreationDate="2010-11-20T16:05:36.447" UserId="250" />
  <row Id="4760" PostId="2945" Text="@Luc I guess you just need to chmod it back" CreationDate="2010-11-20T16:07:56.587" UserId="250" />
  <row Id="4761" PostId="1478" Score="2" Text="I was there too, `testdisk` saved my box" CreationDate="2010-11-20T16:12:08.020" UserId="250" />
  <row Id="4762" PostId="4220" Text="Awesome, I was afraid it wouldn't be possible." CreationDate="2010-11-20T17:10:48.513" UserId="2651" />
  <row Id="4765" PostId="4222" Score="1" Text="Duplicate of: http://unix.stackexchange.com/questions/2751/the-myths-about-viruses-in-unix-linux , http://askubuntu.com/questions/10373/is-scanning-virus-needed-on-linux-distros" CreationDate="2010-11-20T19:58:06.677" UserId="2626" />
  <row Id="4766" PostId="4221" Text="Define &quot;complete&quot;. Obviously, MS Office is most similar to itself. That doesn't mean it is best. What sort of work do you need it to do? What's more important, power or speed? Compatibility or features?" CreationDate="2010-11-20T21:38:11.783" UserId="1071" />
  <row Id="4767" PostId="4221" Text="@frabjous Using MS Office in a virtual machine isn't the same as using it on pure Windows. The most important is a good performance with maximum compatibility" CreationDate="2010-11-20T21:50:22.627" UserId="2128" />
  <row Id="4768" PostId="4224" Score="2" Text="My experience of using OpenOffice 3.1 and exchanging simple documents with MS Word users shows that it gets along with Word 97 (`.doc`) format, although it doesn't get the formatting completely right (so expect different page breaks). With Word 2007 (`.docx`), documents were often mangled beyond recognition." CreationDate="2010-11-20T22:46:42.653" UserId="885" />
  <row Id="4769" PostId="4217" Text="can *live usb creator* use normal ISO's (not Live ones)?" CreationDate="2010-11-20T23:49:55.213" UserId="688" />
  <row Id="4770" PostId="4217" Text="I would expect Live USB Creator to be able use any bootable ISO, but I don't know for sure. UNetbootin definitely will." CreationDate="2010-11-21T00:32:05.303" UserId="2180" />
  <row Id="4771" PostId="4142" Text="It opens in my Windows 7 machine 64 bits, but it doesn't render the md document, it only shows the source. Nonetheless, it's amazing that a mono application just ran without a crash in my machine. :)" CreationDate="2010-11-21T00:44:31.000" UserId="2082" />
  <row Id="4772" PostId="4100" Text="Imagine what chaos would occur if a DHCP server forgot its leases over a reboot.  you could potentially end up with the same IP address being assigned to two different computers." CreationDate="2010-11-21T01:54:48.327" UserId="2534" />
  <row Id="4773" PostId="4221" Text="I didn't say it was the same, just most similar. You don't seem to have understood the point of my question. What are you doing with these documents? What kinds of documents are they? Are they academic papers? Forms? E-books? Reports? When you say editing, are you receiving documents from someone else that you need to edit, or creating them from scratch? When you finish editing them, do you need to redistribute them as files, or just print the results? All of these things affect my answer." CreationDate="2010-11-21T01:56:03.193" UserId="1071" />
  <row Id="4774" PostId="4224" Score="1" Text="And by the way, Office Web Apps is not available everywhere. Right now I have just made a quick check and it is &quot;Not available for your region&quot;. I remember being unable to use it on a Linux box as well." CreationDate="2010-11-21T02:03:59.560" UserId="250" />
  <row Id="4775" PostId="4222" Text="@iamsid Unix SE is not a dupe but useful. can't do anything about it on ask ubuntu even if it is." CreationDate="2010-11-21T02:17:39.397" UserId="29" />
  <row Id="4776" PostId="4206" Text="thank you for this. your solution seems to be closest to what i had in mind." CreationDate="2010-11-21T03:17:31.460" UserId="2682" />
  <row Id="4778" PostId="4227" Text="have you told sbopkg to use the proxy yet? looks like it is trying to communicate directly." CreationDate="2010-11-21T13:31:03.440" UserId="250" />
  <row Id="4779" PostId="4230" Text="I second that, happen to me sometime." CreationDate="2010-11-21T13:33:52.250" UserId="250" />
  <row Id="4780" PostId="4216" Text="You might also want to have a look at this question http://unix.stackexchange.com/q/665/250" CreationDate="2010-11-21T13:47:03.387" UserId="250" />
  <row Id="4781" PostId="4227" Text="I've tried exporting http_proxy and I believe the http_proxy setting is working since I can use wget but I think sbopkg uses rsync." CreationDate="2010-11-21T14:04:38.420" UserId="1026" />
  <row Id="4782" PostId="4071" Text="How can I revert the driver to a software renderer, in order to make sure this is the driver's fault? I'm not entirely sure how to do that, and I'll be glad for references (googling for linux opengl software acceleration didn't hlep)." CreationDate="2010-11-21T14:09:09.190" UserId="1262" />
  <row Id="4783" PostId="4232" Score="1" Text="Do you have *only* this error message repeated many times, or do you have other messages as well? Does X crash (it's not clear from your question)? If X crashes, upload `/var/log/Xorg.0.log` somewhere (e.g. on http://pastebin.ca/) and add a link to your question." CreationDate="2010-11-21T15:40:13.390" UserId="885" />
  <row Id="4784" PostId="4235" Score="1" Text="I'm sure there's a better way than this :)" CreationDate="2010-11-21T15:53:59.030" UserId="2179" />
  <row Id="4785" PostId="4235" Text="me too, but this did what I needed, so, thank you. unless someone comes along with a really good answer (that tells me why this happens as well), i'll choose yours" CreationDate="2010-11-21T15:59:09.163" UserId="1389" />
  <row Id="4786" PostId="4221" Text="@frabjous academic papers" CreationDate="2010-11-21T16:02:17.947" UserId="2128" />
  <row Id="4787" PostId="4235" Score="1" Text="@ixtmixilix I shouldn't be saying this, but it is quite unfair if you say &quot;Thank you, this works for me&quot; without upvoting, please see http://meta.unix.stackexchange.com/q/263/250" CreationDate="2010-11-21T16:15:39.397" UserId="250" />
  <row Id="4789" PostId="4237" Text="another resolved in this way: chmod =s -vR 1777 / tmp (http://forum.debianizzati.org/viewtopic.php?f=18&amp;t=24470 in Italian language). I executed this command and, after startx, I receive an &quot;unable to connect to X server) :) In this link somebody say to download the .deb by Ubuntu and not by Debian :( " CreationDate="2010-11-21T18:19:07.217" UserId="2516" />
  <row Id="4790" PostId="4230" Score="1" Text="I don't think it's that since it doesn't explain the caller's &quot;ssh never returns&quot; description." CreationDate="2010-11-21T18:53:24.600" UserId="2641" />
  <row Id="4791" PostId="2831" Score="1" Text="There is a hit, it's just much less severe. You don't have any physical latency from moving parts, but fragmentation on a SSD still means issuing a lot of small requests for data instead of one large one. " CreationDate="2010-11-21T19:38:38.200" UserId="2080" />
  <row Id="4792" PostId="3348" Score="1" Text="I wanted to come back and note that they've reverted to the old behavior for version 8.7 of coreutils, though if you want the decimal places, you can use, e.g., `stat -c $.5Y filename` to get 5 decimal places. Otherwise you get none." CreationDate="2010-11-21T20:55:11.307" UserId="1071" />
  <row Id="4793" PostId="4243" Text="@Justin: This is not stuff that I have much experience with, so please give feedback of what worked, what didn't work, what you don't understand, etc." CreationDate="2010-11-21T21:12:46.080" UserId="885" />
  <row Id="4794" PostId="4245" Text="I added it as a workaround because I encountered this problem, but it didn't fix it." CreationDate="2010-11-22T00:15:37.813" UserId="663" />
  <row Id="4795" PostId="4245" Text="@lorin: Another thing I noticed is that `CELERYD` is not getting set, but I assume it is in `/etc/default/celeryd`." CreationDate="2010-11-22T01:58:00.233" UserId="382" />
  <row Id="4796" PostId="4240" Text="tried exporting rsync_proxy=http://someproxy:someport and I'm still getting the same error, how do I check if my network allow 873 port?" CreationDate="2010-11-22T03:28:43.873" UserId="1026" />
  <row Id="4797" PostId="761" Text="On Solaris, you need to know the root password to enter single user mode. I had to do this 2 weeks ago actually. " CreationDate="2010-11-22T05:38:02.073" UserId="4" />
  <row Id="4798" PostId="4248" Score="3" Text="there's a dedicated stack for you Gnome-lovin' Ubuntu users. http://www.askubuntu.com that's probably a better place for you to ask. over here's consoles and cold Russian nights." CreationDate="2010-11-22T05:49:10.910" UserId="1389" />
  <row Id="4799" PostId="4217" Text="@Shawn UNetbootin has never worked for any of my distros. Neither has the Fedora tool." CreationDate="2010-11-22T05:51:49.003" UserId="1389" />
  <row Id="4800" PostId="4216" Text="There's a very lengthy tutorial here: http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo#How_to_Make_a_bootable_USB_Drive_to_Install_Fedora_instead_of_using_a_physical_DVD" CreationDate="2010-11-22T05:57:48.640" UserId="1389" />
  <row Id="4803" PostId="4253" Text="Mesa is perfectly installed in RHEL. However how do I instruct X to use the Mesa *software rendering* instead of DRI?" CreationDate="2010-11-22T09:25:55.747" UserId="1262" />
  <row Id="4804" PostId="4071" Text="Well, if you switch to another driver which does not know 3D, you will not be able to test OpengGL... Please tell us what kind of video card you have, so we can guide you to some specific tutorials/examples. Did you update your driver to the latest version? If you have Intel video card, you probably have to stick with the drivers bundled in your Linux distribution or wait for an update. Intel cards also have some OpenGL issues, check their bugtracking site. It may also be a X configuration issue, try to disable DRI and Compositing in the xorg.conf." CreationDate="2010-11-22T09:32:19.750" UserId="2000" />
  <row Id="4805" PostId="4253" Text="Look in the xorg.conf file for DRI and set it to not be enabled." CreationDate="2010-11-22T09:37:15.750" UserId="2000" />
  <row Id="4806" PostId="4248" Score="3" Text="I am opposed to the Ubuntu-specific q&amp;a site." CreationDate="2010-11-22T11:16:59.607" UserId="2180" />
  <row Id="4807" PostId="4255" Text="@tshepang I'd suggest not having *other distro's* as that could possibly be excessively long, also by archive to you mean package repo? I'm guessing you do, but making sure you don't mean an svn/git branch or something." CreationDate="2010-11-22T11:57:39.533" UserId="29" />
  <row Id="4809" PostId="4261" Text="Thanks for signing me up again for Hotmail... :(" CreationDate="2010-11-22T14:57:52.190" UserId="2179" />
  <row Id="4812" PostId="4262" Score="6" Text="Does it need to be bash? zsh can do it (`autocd`)" CreationDate="2010-11-22T15:33:47.463" UserId="73" />
  <row Id="4815" PostId="4262" Score="1" Text="+1 for mentioning **zsh** :)" CreationDate="2010-11-22T15:45:40.280" UserId="2626" />
  <row Id="4817" PostId="4262" Score="1" Text="No-no-no, I need solution in bash =) That's the main requirement as in some scientific institutions in the cold-cold Russia there are relics with only bash as a scripting language ;)" CreationDate="2010-11-22T16:08:44.793" UserId="2763" />
  <row Id="4818" PostId="4052" Text="It tries to work like an Ethernet interface (wait for carrier and time out). Still I am unable to do any scanning." CreationDate="2010-11-22T16:16:41.940" UserId="250" />
  <row Id="4819" PostId="4263" Text="Yes, that's what one would naïvely expect - however, bash is smarter than us and doesn't even call command_not_found_handle for directories :(" CreationDate="2010-11-22T16:23:04.680" UserId="2641" />
  <row Id="4820" PostId="4263" Text="After some research I've found a small patch ( http://www.mail-archive.com/bug-bash@gnu.org/msg06761.html ) that could fix it. Unfortunately this patch is unofficial so it could not be used with a stock version of bash provided with ubuntu." CreationDate="2010-11-22T16:30:39.870" UserId="2763" />
  <row Id="4821" PostId="4245" Text="@Dennis Yup, this is set in /etc/default/celeryd, like so: CELERYD=&quot;/usr/local/django/portalapps/manage.py celeryd --pidfile $CELERYD_PIDFILE&quot;" CreationDate="2010-11-22T16:33:56.857" UserId="663" />
  <row Id="4822" PostId="4233" Text="XP can run 2007 Office and you can run an XP virtual machine with 512 ram.  With computers today shipping with 2+ Gbs of ram, this seems to be a fine option.  " CreationDate="2010-11-22T16:36:15.320" UserId="1253" />
  <row Id="4823" PostId="3830" Text="So by TV-out what exactly do you mean?  Coaxial output?  Would hdmi/dvi out suffice as LCDs have Hdmi and some you can find with dvi. ? " CreationDate="2010-11-22T16:37:59.250" UserId="1253" />
  <row Id="4824" PostId="3830" Text="Composite or SVideo. DVI or HDMI would be too easy ;-)" CreationDate="2010-11-22T17:09:36.170" UserId="258" />
  <row Id="4825" PostId="3830" Text="Meaning Cinch or Whatever those SVideo Plugs are called (look like PS/2)" CreationDate="2010-11-22T17:10:30.693" UserId="258" />
  <row Id="4826" PostId="4265" Text="You may have something there. But how about Gmail and Yahoo and AOL mail websites? And Twitter? I've specifically tried https://twitter.com and it works." CreationDate="2010-11-22T17:34:22.720" UserId="1452" />
  <row Id="4827" PostId="4248" Text="What specifically is he having issues with or would like to learn about? Gnome and KDE have come a long way and are pretty intuitive now. As long as he knows how to open firefox there shouldn't be a need for a &quot;tutorial&quot;." CreationDate="2010-11-22T18:00:32.830" UserId="1571" />
  <row Id="4828" PostId="4248" Text="@Falmarri - just how to use the system in general. For example, she didn't know how to install software." CreationDate="2010-11-22T18:03:08.453" UserId="2180" />
  <row Id="4829" PostId="3265" Text="I've marked a &quot;worked for me&quot; answer, but I still think a more general &quot;how to debug suspend-to-ram&quot; answer would be really helpful here." CreationDate="2010-11-22T18:50:50.747" UserId="1207" />
  <row Id="4830" PostId="4269" Text="In my case, however, it doesn't have anything to do with the browser, I'm sure. I've tried from IE and Safari from an XP virtual machine as well - same results." CreationDate="2010-11-22T18:53:46.367" UserId="1452" />
  <row Id="4831" PostId="4271" Score="1" Text="It might be helpful if you list what you consider to be the &quot;extension&quot; for each file. Also, you should check out: http://unix.stackexchange.com/questions/1571/bash-get-file-extension and http://unix.stackexchange.com/questions/4041/simple-variable-bash-file" CreationDate="2010-11-22T18:57:51.927" UserId="1207" />
  <row Id="4832" PostId="4270" Score="2" Text="My favorite new feature in bash 4 for interactive use. (For scripting, it's `**`.) Unfortunately, it's not in older versions." CreationDate="2010-11-22T19:33:39.857" UserId="885" />
  <row Id="4833" PostId="4250" Score="2" Text="And the reason why it's running with no `DISPLAY` is that (ana)cron jobs are supposed to be able to run even if nobody is logged in. Relying on someone being logged in is not a good idea for something that should be automatic like a backup script (a better design would be to perform the backup if the right media is in place, and rely on the usual failure notification (through e-mail) to alert the user if the right media was not in place and the backup could not be made)." CreationDate="2010-11-22T19:45:01.997" UserId="885" />
  <row Id="4834" PostId="4271" Text="I think the answers on the first link Steven provided covers both cases (looking for `.tar.gz` and looking for `.gz`)" CreationDate="2010-11-22T20:14:58.047" UserId="73" />
  <row Id="4835" PostId="4257" Text="yes because a security patch could never possibly introduce another bug." CreationDate="2010-11-22T23:00:35.670" UserId="29" />
  <row Id="4836" PostId="4239" Text="Thanks! The pppd was a great idea - I set up xinetd to launch pppd on the server. Now I can even support multiple clients." CreationDate="2010-11-22T23:07:09.910" UserId="2180" />
  <row Id="4837" PostId="4271" Text="I tried the solution by Gillies @ http://unix.stackexchange.com/questions/1571/bash-get-file-extension , please see the output I got" CreationDate="2010-11-22T23:18:07.130" />
  <row Id="4840" PostId="4275" Text="/var/log/auth.log should cover your third bullet point. The others are going to be a bit less trivial." CreationDate="2010-11-23T07:04:59.833" UserId="2376" />
  <row Id="4841" PostId="4277" Text="I see last update was 2005, and that's worrying. Why do you recommend it? Why use it instead of alternatives?" CreationDate="2010-11-23T09:30:03.267" UserId="688" />
  <row Id="4843" PostId="4278" Text="Have you tried this: `sudo apt-get update` ?" CreationDate="2010-11-23T09:50:52.833" UserId="2626" />
  <row Id="4844" PostId="4278" Text="yes, i tried that, still the error comes" CreationDate="2010-11-23T09:52:36.547" UserId="2772" />
  <row Id="4845" PostId="4275" Text="@jefromi my auth.log only logs sudo and su command attempts... no logins :(" CreationDate="2010-11-23T10:21:24.300" UserId="1327" />
  <row Id="4846" PostId="4281" Text="How about tethering via Bluetooth? Would that be fine?" CreationDate="2010-11-23T10:27:51.257" UserId="2626" />
  <row Id="4848" PostId="4281" Text="The bluetooth is not working properly in iphone, it is not detecting any device, its a bug in iphone." CreationDate="2010-11-23T10:34:11.473" UserId="2772" />
  <row Id="4850" PostId="4281" Text="You need to jailbreak your iPhone first. This will void your warranty. " CreationDate="2010-11-23T10:54:47.780" UserId="2626" />
  <row Id="4851" PostId="4281" Text="don't worry, i did that already before 6 months :)" CreationDate="2010-11-23T10:57:54.970" UserId="2772" />
  <row Id="4852" PostId="4281" Score="2" Text="@iamsid this is incorrect, you don't have to jailbreak your phone, theres a kernel driver for this!" CreationDate="2010-11-23T11:22:50.737" UserId="1339" />
  <row Id="4855" PostId="4281" Score="1" Text="@echox: +1. Yes, this is wrong. :) Jeez, my bad, I just found out about `libimobiledevice` and the iPhone Ethernet driver for Linux. :)" CreationDate="2010-11-23T11:33:49.307" UserId="2626" />
  <row Id="4856" PostId="4284" Text="i have no internet connection in my Ubuntu m/c, can i offline download and install ipheth-utils, if yes is there any dependency list for that" CreationDate="2010-11-23T12:18:17.960" UserId="2772" />
  <row Id="4857" PostId="4284" Score="2" Text="@dsharma: Use Keryx Offline Package Manager: http://keryxproject.org/ " CreationDate="2010-11-23T12:26:20.547" UserId="2626" />
  <row Id="4858" PostId="4276" Score="1" Text="Fail2ban looks at access logs to make certain actions (e.g., banning an ip), but it does not generate these kinds of access logs. DenyHosts rely on TCP Wrappers to ban ip, again, that's not related to the OP." CreationDate="2010-11-23T12:31:21.067" UserId="1416" />
  <row Id="4860" PostId="3906" Text="@phunehehe - of course I tried it... Didn't help." CreationDate="2010-11-23T14:07:06.363" UserId="2344" />
  <row Id="4861" PostId="4266" Text="This looks really good and actually answered a few of my `cgroups` questions.  Thanks," CreationDate="2010-11-23T14:15:34.363" UserId="2062" />
  <row Id="4863" PostId="4266" Text="No problem, glad I helped." CreationDate="2010-11-23T14:31:33.077" UserId="2759" />
  <row Id="4864" PostId="4286" Text="It's called gcc-c++ in RedHat." CreationDate="2010-11-23T14:32:13.293" UserId="2626" />
  <row Id="4865" PostId="4287" Text="Thank you - but I'm getting &quot;No package gcc-c++ available&quot;. What can be the reason?" CreationDate="2010-11-23T14:45:41.150" UserId="2344" />
  <row Id="4866" PostId="4287" Text="Post the results of `rpm -qa | grep gcc`" CreationDate="2010-11-23T15:03:06.687" UserId="2626" />
  <row Id="4867" PostId="4285" Score="2" Text="Or use &quot;metacity--replace&quot; for turning off composite effects (and &quot;compiz --replace&quot; for turning them on) ;)" CreationDate="2010-11-23T15:37:36.910" UserId="2648" />
  <row Id="4868" PostId="4240" Text="Note that environment variables are usually case-sensitive, so rsync_proxy is not the same as RSYNC_PROXY. To see if it works, I'd try connecting to a public rsync URL with rsync. Strictly for testing, try this: mkdir test ; rsync -avzH --delete msync.centos.org::CentOS test" CreationDate="2010-11-23T16:36:28.390" UserId="2641" />
  <row Id="4869" PostId="4290" Score="1" Text="I know in zsh there's a setting to do just this. Not sure what it is though. Is it necessary to do a function instead of just `alias cd=pushd`?" CreationDate="2010-11-23T18:15:55.667" UserId="1571" />
  <row Id="4870" PostId="4290" Score="1" Text="I'd second the alias over the function." CreationDate="2010-11-23T18:17:32.217" UserId="2595" />
  <row Id="4871" PostId="4290" Score="1" Text="Why not alias a new name instead.  How about `pd`?  Are you the only user and administrator of your system?" CreationDate="2010-11-23T18:23:37.487" UserId="614" />
  <row Id="4872" PostId="4250" Text="I added the DISPLAY=:0.0 line at the beginning but still got the same error. And :0.0 is the correct value for my system." CreationDate="2010-11-23T18:30:55.647" UserId="2755" />
  <row Id="4873" PostId="4290" Text="@Falmarri The zsh option is `autopushd`" CreationDate="2010-11-23T19:05:29.253" UserId="73" />
  <row Id="4874" PostId="4250" Text="@Cory: You may also need `XAUTHORITY` as well. The default, used if the variable is unset, is `~/.Xauthority`. Some systems (e.g. Ubuntu) use a different file, and it can be a little hard to find out. If that's the issue, see http://superuser.com/questions/190801/linux-wmctrl-cannot-open-display-when-session-initiated-via-sshscreen/190878#190878 and http://unix.stackexchange.com/questions/1596/as-root-can-i-launch-a-graphical-program-on-another-users-desktop/1600#1600 ." CreationDate="2010-11-23T19:07:45.100" UserId="885" />
  <row Id="4875" PostId="4272" Text="But do you have to remove the package? Can't you just remove a line from xorg.conf?" CreationDate="2010-11-23T19:12:27.240" UserId="1262" />
  <row Id="4876" PostId="4248" Text="the best tutorial is hands on trial and error, bad as it sounds :P" CreationDate="2010-11-23T19:27:19.130" UserId="2754" />
  <row Id="4878" PostId="4294" Score="3" Text="Why not install the distro-packaged software, `yum install neon-devel` (not sure of the name)? Also, why not install the distro-packaged pysvn?" CreationDate="2010-11-23T19:56:16.103" UserId="688" />
  <row Id="4879" PostId="4294" Text="Because at the time of posting I didn't know what yum does, also it does not work. Config Error: Error accessing file for config file://///etc/yum.repos.d/WebFacti&#xA;on.repo" CreationDate="2010-11-23T20:06:42.797" UserId="2781" />
  <row Id="4880" PostId="4292" Text="To have the setting last between system resets, on Debian you can do `echo 524288 &gt;&gt; /etc/sysctl.conf &amp;&amp; service procps restart`. What's the equivalent in Gentoo?" CreationDate="2010-11-23T20:14:26.360" UserId="688" />
  <row Id="4882" PostId="4292" Text="I thing that you mean `echo &quot;fs.inotify.max_user_watches = 524288&quot; &gt;&gt; /etc/sysctl.conf`. In Gentoo you could use the same method, but `sysctl.conf` is sourced by `/etc/init.d/bootmisc` init script.&#xA;" CreationDate="2010-11-23T20:23:00.127" UserId="2661" />
  <row Id="4883" PostId="4292" Text="+1 for mentioning inotify" CreationDate="2010-11-23T20:59:16.820" UserId="1416" />
  <row Id="4884" PostId="4292" Score="1" Text="actually it's /etc/init.d/sysctl." CreationDate="2010-11-23T21:08:46.697" UserId="2759" />
  <row Id="4885" PostId="4272" Text="I hadn't thought of that — many newer distributions have a skeleton or no `xorg.conf` at all, so I'd have to explain which `Section` to add/change and what lines to add/change within there — but RHEL is old enough that you could probably flip the DRI extension by changing a single line from Load to Disable." CreationDate="2010-11-23T21:13:58.780" UserId="1779" />
  <row Id="4886" PostId="4296" Score="1" Text="How did you remove `-lneon`?" CreationDate="2010-11-23T22:27:47.630" UserId="688" />
  <row Id="4887" PostId="4257" Text="&quot;s. Now you've got a server that is guaranteed to have the latest security patches without accidentally introducing bugs caused by incompatible versions, etc.&quot; is that not what that means? I suppose I could sat that incompat versions is the arguable point... what does that mean exactly... most of the time people who backport only security patches aren't doing it because they feel that ABI/API is the only thing they're looking at." CreationDate="2010-11-24T00:18:28.147" UserId="29" />
  <row Id="4888" PostId="4297" Text="the answer is 'yes', or it depends on what you're  trying to do. If you know bash, and it will do what you're trying to do, use bash, same goes for other languages. posix shell is part of SUS. Perl is required too, python is not, thus Perl could be said to be more unix." CreationDate="2010-11-24T01:34:52.837" UserId="29" />
  <row Id="4889" PostId="4297" Text="@Scott this kind of question would be closed on SO too... frankly it all comes down to use case an personal opinion these are all valid languages for most operating systems... you can even make bash work on windows." CreationDate="2010-11-24T01:40:18.513" UserId="29" />
  <row Id="4890" PostId="4297" Text="@xenoterracide: I'd say the question is objective (you could make statistics) but argumentative (so I'm not objecting to the closing). Bash isn't in POSIX, nor is Perl. @Scott: regarding the different shell flavors, see http://unix.stackexchange.com/questions/3320. Perl is more common in the unix world, but Python is gaining market share. \*sh and perl/python don't really compete for the same tasks: \*sh is better at simple file and process manipulation (text also, with awk), p\* are better at larger programs." CreationDate="2010-11-24T01:45:03.357" UserId="885" />
  <row Id="4891" PostId="4297" Text="@Gilles but any statistics are likely to be somewhat flawed... how do you define used? and used for what? used as in executed?" CreationDate="2010-11-24T01:56:23.540" UserId="29" />
  <row Id="4892" PostId="4296" Text="@Tshepang He probably meant removing it from the makefile. It's rather odd that it would be included if the project didn't actually depend on it though" CreationDate="2010-11-24T02:15:42.150" UserId="73" />
  <row Id="4893" PostId="4296" Score="1" Text="I removed it from the makefile. Turns out you only need it to connect through http and my script runs locally. " CreationDate="2010-11-24T06:05:47.187" UserId="2781" />
  <row Id="4895" PostId="4298" Score="1" Text="See this answer: http://unix.stackexchange.com/questions/1685/connecting-to-a-network-via-another-pc/1936#1936, might apply here.... " CreationDate="2010-11-24T07:12:11.637" UserId="1327" />
  <row Id="4896" PostId="4294" Text="Can you please ask here (new Question) for help with troubleshooting that yum error you are getting. You really got to use distro-supplied tools, unless you have a very good reason not to (EG, you want bleeding-edge software not yet packaged by the distro)." CreationDate="2010-11-24T09:28:52.537" UserId="688" />
  <row Id="4897" PostId="4294" Text="It's simple, I don't have root access and yum is not allowed without root access." CreationDate="2010-11-24T09:41:05.297" UserId="2781" />
  <row Id="4898" PostId="4294" Text="Can you use @username next time: http://meta.stackoverflow.com/q/43019." CreationDate="2010-11-24T10:23:12.937" UserId="688" />
  <row Id="4899" PostId="4294" Text="How are you able to install pysvn without root access?" CreationDate="2010-11-24T10:25:11.123" UserId="688" />
  <row Id="4900" PostId="1895" Text="@polemon - but I can't send all my sound output to another machine this way. What if I watch a movie and want to send the signal?" CreationDate="2010-11-24T11:58:28.717" UserId="649" />
  <row Id="4901" PostId="4304" Text="It's a bit silly to repeat my comment from one post below, but here it goes paraphrased: It doesn't seem to be possible to send sound from a movie through mpd..." CreationDate="2010-11-24T11:58:58.450" UserId="649" />
  <row Id="4904" PostId="621" Text="+1 for htop. This is one of the first program I install on a new system. It makes my life much easier. The tree view is also very handy." CreationDate="2010-11-24T12:22:16.527" UserId="1416" />
  <row Id="4905" PostId="4310" Text="Docks that need compositing can be run on OpenBox WM with `xcompmgr`" CreationDate="2010-11-24T14:51:26.513" UserId="2626" />
  <row Id="4906" PostId="4277" Score="1" Text="Simple to install, simple to use and useful. I started using it about 10 years ago, and never needed a replacement. I am still using it. Netstat shows you just a snapshot (like ps for processes), ntop gives you something like top for the network ... I don't know about NetHogs. You also can use lsof to see which process uses which port if you need." CreationDate="2010-11-24T15:02:50.443" UserId="2000" />
  <row Id="4907" PostId="4298" Score="1" Text="@stefan that's it. I've already done this before." CreationDate="2010-11-24T15:03:06.490" UserId="2793" />
  <row Id="4908" PostId="4313" Text="Thanks - it should ideally be RPM based but that is not essential. Network install isn't an option because I don't have suitable internet access, sadly." CreationDate="2010-11-24T15:11:48.860" UserId="2163" />
  <row Id="4909" PostId="4313" Score="1" Text="With limited, or no, Internet connectivity I would recommend a live cd, or other media as mentioned, as this will give you access to commonly used utilities and software as well as the option to try out various components before actually performing an install. The Centos 5.5 LiveCD for 64-bit systems can be found here [http://centos.mirror.nac.net/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.iso]." CreationDate="2010-11-24T15:16:28.970" UserId="2701" />
  <row Id="4910" PostId="4312" Text="The tint2 looks good. The only question is pinning here." CreationDate="2010-11-24T15:17:42.040" UserId="2792" />
  <row Id="4911" PostId="4301" Text="I'm not really happy that there is an Ubuntu-specific Stack Exchange site." CreationDate="2010-11-24T15:18:55.813" UserId="2180" />
  <row Id="4912" PostId="4294" Text="@Tshepang: Downloaded it, used make and that's it." CreationDate="2010-11-24T15:40:31.690" UserId="2781" />
  <row Id="4913" PostId="4310" Text="Yeah I know but this combination turned out its problematic on upgraded Fedora 14." CreationDate="2010-11-24T15:46:10.633" UserId="2792" />
  <row Id="4914" PostId="4310" Text="Please note wbar does NOT have the pinning feature. It also have problems with multiple monitors." CreationDate="2010-11-24T15:46:28.153" UserId="2792" />
  <row Id="4915" PostId="4309" Text="Just checked from home--yes, it's called 'Indicator applet'.  Whoever voted this down may rethink his decision." CreationDate="2010-11-24T17:46:59.117" UserId="1946" />
  <row Id="4916" PostId="4310" Text="@lzap: You should describe what “icon pinning” means (your question is now the first Google hit!)." CreationDate="2010-11-24T19:39:58.673" UserId="885" />
  <row Id="4917" PostId="554" Score="1" Text="0% accept rate?  Really?" CreationDate="2010-11-24T19:45:02.480" UserId="2688" />
  <row Id="4918" PostId="4299" Text="I can't resist my curiosity:  why would you want such a set up?" CreationDate="2010-11-24T19:52:21.990" UserId="2688" />
  <row Id="4919" PostId="4299" Text="@David.... how can you not want 4 linked screens, unless you already have more? " CreationDate="2010-11-24T19:57:22.967" UserId="1327" />
  <row Id="4920" PostId="4299" Text="@stefan, my question is more: why not have them in the order: client1, client2, server1, server2?  He clearly wants to have them in a very non-standard arrangement.  That's what I'm curious about...  (I use synergy to have 3 monitors until I can afford a fourth which will be promptly added to the mix)" CreationDate="2010-11-24T19:59:24.213" UserId="2688" />
  <row Id="4921" PostId="4306" Text="+1  Doesn't exactly do what the OP asks for, but it an interesting setup that I hadn't thought of before." CreationDate="2010-11-24T20:04:06.410" UserId="2688" />
  <row Id="4922" PostId="4300" Text="Have you used this set up before?  How long did it take you to get used to it?" CreationDate="2010-11-24T20:05:11.447" UserId="2688" />
  <row Id="4923" PostId="4309" Score="1" Text="Is that maybe Gnome 2.32?  I'm using 2.30, and I have a Volume Control applet (mixer_applet2) but no Indicator Applet." CreationDate="2010-11-24T21:28:02.057" UserId="2421" />
  <row Id="4924" PostId="4301" Text="Isn't splitting the community into tiny pieces the masterplan of Joel Spolsky. ;-)" CreationDate="2010-11-24T21:40:36.780" UserId="2655" />
  <row Id="4926" PostId="4316" Text="This conflicts with iamsid's Answer." CreationDate="2010-11-24T23:17:50.667" UserId="688" />
  <row Id="4927" PostId="4294" Text="Oh, I see. So you are running it from the build directory." CreationDate="2010-11-24T23:29:16.880" UserId="688" />
  <row Id="4928" PostId="4316" Text="@Tshepang, I know, but the fact remains that I'm using Gnome 2.30, and gnome-applets 2.30.0 contains a mixer_applet2 that can be added as Volume Control.  I don't have any Indicator Applet in my Add to Panel dialog.  I don't know where his came from." CreationDate="2010-11-24T23:38:07.143" UserId="2421" />
  <row Id="4929" PostId="4316" Text="I meant conflict in a sense that she says `gnome-volume-control-applet` and you say `mixer_applet2`. BTW, I also use 2.30 and I have the `/usr/lib/gnome-applets/mixer_applet2` file." CreationDate="2010-11-24T23:42:39.793" UserId="688" />
  <row Id="4930" PostId="4316" Text="@Tshepang, I don't have a `gnome-volume-control-applet` on my system, just `mixer_applet2`." CreationDate="2010-11-25T02:30:24.737" UserId="2421" />
  <row Id="4931" PostId="554" Score="1" Text="@David: Yeah, four questions with no answers. " CreationDate="2010-11-25T02:33:51.630" UserId="163" />
  <row Id="4932" PostId="4294" Text="@Tshepang yes, basically." CreationDate="2010-11-25T05:52:53.887" UserId="2781" />
  <row Id="4933" PostId="4309" Text="@cjm: whoops, yes it's 2.32 already.  Time flies like bullet, you know :)" CreationDate="2010-11-25T06:44:29.950" UserId="1946" />
  <row Id="4934" PostId="4319" Text="I've stopped connecting using network manager and started using pppoeconf. pppoeconf suggested setting mtu to 1452 and it's working fine. Thanks a lot." CreationDate="2010-11-25T06:54:42.210" UserId="1452" />
  <row Id="4935" PostId="4319" Text="Also, if you're on superuser, can you please post the answer there as well so I can accept it there too. Here's link: http://superuser.com/questions/213264/cant-access-select-websites-on-linux-but-can-on-windows" CreationDate="2010-11-25T06:55:56.000" UserId="1452" />
  <row Id="4936" PostId="4300" Text="took me about 2 hours... although I must admit it was only 3 screens. My desktop's two screens flanking my laptop screen." CreationDate="2010-11-25T07:32:46.217" UserId="1327" />
  <row Id="4937" PostId="4327" Text="Actually, the `cut` is ill-advised.  A regexp scanning for `-` would fit better here.  Tip: don't run commands you given before you understand what is going to happen and/or dry-run things using `echo mv ...` or smt. like that before running for reals." CreationDate="2010-11-25T08:46:31.327" UserId="1946" />
  <row Id="4938" PostId="4310" Text="Okay. Sorry.Icon on the panel " CreationDate="2010-11-25T09:31:12.927" UserId="2792" />
  <row Id="4939" PostId="4310" Text="Okay - I have an icon on the panel so I can start an application with it. Now - when I start the app the icon &quot;changes&quot; from a starter to a task automatically." CreationDate="2010-11-25T09:32:11.210" UserId="2792" />
  <row Id="4940" PostId="4310" Text="Or in other way - icon on the taskbar (I prefer icons) can be &quot;pinned&quot; so when I quit an application the icon remains there and I can restart the app with it." CreationDate="2010-11-25T09:34:27.993" UserId="2792" />
  <row Id="4941" PostId="4324" Text="Thanks! I hadn't really realised that I could install Fedora from one CD. It's perfect!" CreationDate="2010-11-25T10:58:18.420" UserId="2163" />
  <row Id="4942" PostId="4331" Text="Note that the poster is referring to backticks versus `$()` rather than double square brackets versus double parentheses when referencing that book. He's also inaccurate regarding `$()` which may not be present in all Bourne `sh` versions, but it's specified by POSIX." CreationDate="2010-11-25T14:21:37.450" UserId="382" />
  <row Id="4943" PostId="524" Score="1" Text="@Josh K  I disagree.  This could be a very useful question, as a CW.  Sorting through all the flavors to discover which best suits you is difficult.  Having one question where users can place what they view as the pros and cons or strengths and weaknesses of each distro would be extremely useful.  And there are precedents for CW questions like this on other SE sites." CreationDate="2010-11-25T17:32:41.830" UserId="2814" />
  <row Id="4944" PostId="4306" Text="Hmm, that's a really good suggestion" CreationDate="2010-11-25T17:50:25.743" UserId="1571" />
  <row Id="4945" PostId="4299" Text="I don't think this is such a weird arrangement. I want the screens on either side of my main work machine. The idea is that I'm going to put my client screens in portrait mode flanking my server screen" CreationDate="2010-11-25T17:51:58.520" UserId="1571" />
  <row Id="4946" PostId="4325" Text="Are you only trying to remove Dropkick Murphys? or are you trying to rename thousands of songs to not include the artist? There are plenty of file renamers for mp3 files based on id3 tags." CreationDate="2010-11-25T18:00:17.680" UserId="1571" />
  <row Id="4947" PostId="1496" Text="BTW, there's no need to log in and out to have an alias recognized. You need just do `source ~/.bashrc`." CreationDate="2010-11-25T19:10:06.377" UserId="688" />
  <row Id="4949" PostId="524" Text="@Daniel: There are entire websites dedicated to this, why confine it to a question here?" CreationDate="2010-11-25T19:47:55.743" UserId="163" />
  <row Id="4950" PostId="4297" Text="I think this would be a great question if it was edited to ask for an explanation of the differences and some specific examples where it might be better to use one language over another." CreationDate="2010-11-25T19:54:27.467" UserId="479" />
  <row Id="4951" PostId="4329" Text="And sometimes `prename` on other systems." CreationDate="2010-11-25T19:58:04.960" UserId="1779" />
  <row Id="4954" PostId="4329" Text="Oh, excellent; Gentoo has `rename` too and I've never used it. Although the syntax on Gentoo is `rename from to filename...`" CreationDate="2010-11-26T00:10:47.593" UserId="73" />
  <row Id="4955" PostId="4340" Score="2" Text="specifically the `*` after a file name means that the file is executable" CreationDate="2010-11-26T02:27:49.717" UserId="250" />
  <row Id="4956" PostId="4329" Text="@Michael: This is a different rename, please see the comment of ephemient, try prename." CreationDate="2010-11-26T05:58:02.350" UserId="678" />
  <row Id="4957" PostId="4341" Text="Now *that's* a cool trick. I'll have to remember that one." CreationDate="2010-11-26T06:15:40.013" UserId="2712" />
  <row Id="4958" PostId="4325" Text="@Falmarri: It would be nice to know the generalized solution as well, because this scenario does occur with some frequency." CreationDate="2010-11-26T06:22:41.690" UserId="1898" />
  <row Id="4959" PostId="4329" Text="@ddeimeke There's no prename on my system. Oh well" CreationDate="2010-11-26T06:47:47.940" UserId="73" />
  <row Id="4960" PostId="4342" Text="Define 'environment'.  `# whoami =&gt; root # sudo -u user whoami =&gt; user`" CreationDate="2010-11-26T06:54:49.727" UserId="1946" />
  <row Id="4961" PostId="4272" Text="@ephemient, see my answer for a simpler approach. I don't care about loading the DRI module, I just want to avoid using it ;-)." CreationDate="2010-11-26T06:55:12.237" UserId="1262" />
  <row Id="4962" PostId="4318" Text="I believe that doesn't work for all drivers, but if it works for you, then good." CreationDate="2010-11-26T06:57:59.213" UserId="1779" />
  <row Id="4963" PostId="4257" Text="@xeno Are you critisizing the idea of splitting these repos up, or are you alerting us that there are no guarantees?" CreationDate="2010-11-26T07:27:16.873" UserId="688" />
  <row Id="4964" PostId="4257" Text="@tshepang ... yes? I think unless upstream is backporting these patches its a bad idea. upstream generally does both security and bugs for backports. I think just doing security is stupid, because bugs can have unseen security consequences and this also means that the security patches haven't been tested as much without the bug patches." CreationDate="2010-11-26T08:13:57.200" UserId="29" />
  <row Id="4965" PostId="4342" Score="1" Text="@alex I figure `sudo -u user` is analogous to `su user` to switch the env in su you have to use `su - user`" CreationDate="2010-11-26T08:16:21.597" UserId="29" />
  <row Id="4966" PostId="4257" Text="@xeno Depending on how upstream handles things, bugfix patches can be too intrusive for a 'stable' release." CreationDate="2010-11-26T08:24:05.530" UserId="688" />
  <row Id="4967" PostId="4329" Text="I found the source code here: http://tips.webdesign10.com/files/rename.pl.txt found on this site http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal" CreationDate="2010-11-26T10:08:44.960" UserId="678" />
  <row Id="4968" PostId="4342" Text="But what do you mean with &quot;the user's environment&quot; if the user doesn't have a login shell?" CreationDate="2010-11-26T12:07:41.927" UserId="2641" />
  <row Id="4969" PostId="2635" Text="Upvoted. AFAIK, it is legit. OpenSuSE does this by default." CreationDate="2010-11-26T14:05:24.057" UserId="2827" />
  <row Id="4970" PostId="1453" Text="cgroups are the Right Way Forward for the future. Won't work in older distributions, but from basically now onward, it's the way forward. Look into `libcgroup` http://sourceforge.net/projects/libcg/ for utilities to control them." CreationDate="2010-11-26T15:09:43.000" UserId="2511" />
  <row Id="4971" PostId="1442" Text="On some versions of Unix/Linux, this isn't going to be helpful. (The man pages says this might be the case.) On a CentOS 5.5 box, I get &quot;0&quot; for maxresident every time. However, it does work on Fedora 14." CreationDate="2010-11-26T15:18:27.803" UserId="2511" />
  <row Id="4972" PostId="4342" Text="@Thomas users can run programs even if they can't shell in... I believe `-u` also ignores groups... I tried something from root (using sudo -u down)  and it worked, apparently it didn't for the user... so I have to make sure I'm running commands in a way that would have all there limitations and environmental issues." CreationDate="2010-11-26T15:29:17.237" UserId="29" />
  <row Id="4973" PostId="4254" Text="I'll try it. Thanks" CreationDate="2010-11-26T15:40:26.003" UserId="2669" />
  <row Id="4974" PostId="1428" Text="The same quiz in English: http://polishlinux.org/choose/quiz/" CreationDate="2010-11-26T18:31:55.437" UserId="2661" />
  <row Id="4975" PostId="4228" Text="I've modified the original question to show the output when running with &quot;-x&quot;. I think the celeryd program (&quot;manage.py celeryd&quot;) runs in the foreground, and doesn't accept any input while it's running. I assumed that the &quot;daemon&quot; function would do the appropriate stuff to run it as a daemon, but it's not clear to me how it does this." CreationDate="2010-11-26T22:23:08.690" UserId="663" />
  <row Id="4976" PostId="4363" Text="+1 for the footnote especially (Are you one? I am.), but also for the, as usual, excellent answer." CreationDate="2010-11-26T23:08:37.757" UserId="382" />
  <row Id="4977" PostId="4365" Text="Have you installed the correct drivers for your card? Im no xorg expert but I would think that if xorg was trying to load vesa, it did not find the intel drivers... " CreationDate="2010-11-27T07:42:52.443" UserId="1327" />
  <row Id="4978" PostId="4365" Text="@Stefan - I believe I did. I have an integrated Intel chip (on an old laptop) and it's the same driver that is used during the setup process. (And, video up to this point seems to be working...just not video inside Xorg.)" CreationDate="2010-11-27T07:49:39.013" UserId="2838" />
  <row Id="4979" PostId="4349" Text="GTKRecordmydesktop (desktop recording software) and Pitivi or Avidemux (programs for video editing)." CreationDate="2010-11-27T09:43:22.110" UserId="2648" />
  <row Id="4982" PostId="4367" Text="what do you mean by extracting things that are not zip files? you wan to copy them to another place?" CreationDate="2010-11-27T12:30:33.863" UserId="250" />
  <row Id="4983" PostId="4367" Text="@oadams: I don't find your requirements clear. I find [Shawn J. Goff](http://unix.stackexchange.com/questions/4367/extracting-nested-zip-files/4371#4371) and [my](http://unix.stackexchange.com/questions/4367/extracting-nested-zip-files/4372#4372) interpretation about equally likely. Could you clarify?" CreationDate="2010-11-27T13:30:31.850" UserId="885" />
  <row Id="4984" PostId="4324" Score="1" Text="CentOS is the closest thing to RHEL, excluding RHEL itself." CreationDate="2010-11-27T14:27:42.320" UserId="2511" />
  <row Id="4985" PostId="4365" Score="1" Text="The &quot;vesa&quot; and &quot;fbdev&quot; modules listed are Xorg server modules, not kernel modules.   They are .so files found in `/usr/lib/xorg/modules/drivers` and are the fallbacks Xorg automatically tries if the specific driver module for your screen can't be loaded." CreationDate="2010-11-27T15:36:33.300" UserId="146" />
  <row Id="4986" PostId="4370" Score="1" Text="I would definitely not call &quot;using the shell&quot; a programming question, and &quot;shell scripting&quot; is listed in the FAQ as on-topic" CreationDate="2010-11-27T18:02:16.980" UserId="73" />
  <row Id="4987" PostId="4373" Text="@gregf - Yeah, I considered that. I generally don't use a modular kernel - I build everything into the kernel. Does it have to be modular for this to work?" CreationDate="2010-11-27T18:18:08.900" UserId="2838" />
  <row Id="4988" PostId="4318" Text="Please see the first link, if it doesn't work for your driver - file a bug. http://www.redhat.com/archives/fedora-devel-list/2006-September/msg00593.html" CreationDate="2010-11-27T18:52:30.260" UserId="1262" />
  <row Id="4989" PostId="4374" Score="1" Text="Now, this is a novel question. I've wondered how to get the data *out* of a DVD's files where you have a slideshow as one of the extras on the disc, but I've never wondered how to *create* one, let alone from a PDF." CreationDate="2010-11-27T21:09:26.800" UserId="2712" />
  <row Id="4990" PostId="4107" Text="Before X.Org the reference implemenation came from The Open Group, and before that the X Consortium.  They provided X servers for a variety of Unix platforms and workstation vendors, including in some versions the XFree86 server for BSD &amp; Linux distros." CreationDate="2010-11-28T00:09:17.530" UserId="146" />
  <row Id="4991" PostId="4345" Text="`ls -d` that seems like the most useless alias ever. all that prints is `.`" CreationDate="2010-11-28T00:48:58.050" UserId="29" />
  <row Id="4992" PostId="4367" Text="@Gilles: Sorry, yeah it was a bit unclear. I changed it a bit, hopefully its more clear now." CreationDate="2010-11-28T00:56:37.817" UserId="1898" />
  <row Id="4993" PostId="4341" Score="2" Text="This command (A bash builtin) is very useful. I'm amazed that I've never seen it mentioned everywhere." CreationDate="2010-11-28T04:37:41.870" UserId="4" />
  <row Id="4994" PostId="1056" Text="Note that there's also ps -Tp &lt;pid&gt;, since the grep is a bit fuzzy unless you make it more complicated." CreationDate="2010-11-28T05:58:43.190" UserId="2641" />
  <row Id="4995" PostId="4377" Score="3" Text="`man fork` is sure enough to answer your question, btw" CreationDate="2010-11-28T08:21:25.973" UserId="1946" />
  <row Id="4996" PostId="1723" Text="That is actually more sad than amusing since it documents a very real phenomenon." CreationDate="2010-11-28T12:24:03.760" UserId="2856" />
  <row Id="4997" PostId="3922" Text="Fortune is a program that prints from a database of oneliners (fsvo line)." CreationDate="2010-11-28T12:26:15.647" UserId="2856" />
  <row Id="4998" PostId="1885" Score="3" Text="If Windows is the answer, it must have been a very silly question." CreationDate="2010-11-28T12:27:16.423" UserId="2856" />
  <row Id="4999" PostId="4379" Text="Note that 1 is not actually an instruction. Also note that the original and the forked programs don't actually run at the same time -- either one will have to wait for the other to yield/be preempted." CreationDate="2010-11-28T12:32:24.660" UserId="2179" />
  <row Id="5000" PostId="4379" Text="On multi-core/multi-cpu systems, both programs can actually run at the same time." CreationDate="2010-11-28T14:07:41.667" UserId="2594" />
  <row Id="5002" PostId="4379" Text="@jilliagre Multicore systems are about multithreading really. As for systems with multiple CPUs, I don't know if that's the case or not _in practice._ I'm no expert in this field -- and it just seems like such an unlikely scenario. If we agree the OS can run multiple processes at the same time (then how would it handle concurrency?), by the time the original program runs instruction 4 on a CPU, the other CPUs are likely busy running _other_ processes anyway." CreationDate="2010-11-28T14:40:54.177" UserId="2179" />
  <row Id="5003" PostId="4345" Score="1" Text="-1: in Ubuntu 10.10 it's disabled (commented) by default, and it aliases to `ls -CF`." CreationDate="2010-11-28T15:10:27.207" UserId="2179" />
  <row Id="5005" PostId="4384" Score="1" Text="This won't work if the file name contains special characters (whitespace or `\'&quot;`), because `xargs` requires its input to be quoted in a way that `find` doesn't produce. Either use `find … -print0 | xargs -0 …`, or use the simpler `find … -exec … {} +`." CreationDate="2010-11-28T15:34:31.360" UserId="885" />
  <row Id="5007" PostId="1885" Score="3" Text="well... Microsoft is the answer on many occasions... like 'who is to blame?'" CreationDate="2010-11-28T15:50:50.557" UserId="1327" />
  <row Id="5008" PostId="3797" Text="This worked great, thanks! I was able to install Ubuntu using the alternate CD, not the server CD. I was not able to install Peppermint into an LVM, so I shrunk the volgroup down so I could install Peppermint into a new partition `/dev/sda4` and then once installed, I used `rsync` to move it into a logical volume. Now I have four linux distros to boot into, great for evaluating which one I'll stick with!" CreationDate="2010-11-28T16:45:49.047" UserId="1974" />
  <row Id="5009" PostId="4388" Score="4" Text="And the reason renice doesn't help is that it only affects how big a share of user CPU time a process gets. Time spent in kernel mode is not counted for this purpose. Generally speaking, nice only affects CPU-bound programs, not IO-bound programs. Here the runaway process is pure IO, and it's not even performing that many system calls since the bug is that each system call takes far too long." CreationDate="2010-11-28T18:22:29.110" UserId="885" />
  <row Id="5010" PostId="4379" Text="I would say it is a very likely scenario, especially as there is an underlying system call with some I/O happening in step 5. Having all CPUs busy is actually not a common situation as the CPU is rarely the bottleneck with current machines. It seems too you are confusing multi-threading and multi-core." CreationDate="2010-11-28T21:14:03.360" UserId="2594" />
  <row Id="5011" PostId="4392" Score="2" Text="+1 for suggesting selected commands" CreationDate="2010-11-29T00:46:10.947" UserId="250" />
  <row Id="5012" PostId="4367" Text="I was going to post an answer, but I believe it should go as a comment: Nested Archives **increase** the space you need! You probably mean the Zip file format, not just gzip. every zip file is already compressed, compressing them again, just creates more overhead, effectively increasing needed space." CreationDate="2010-11-29T03:44:25.403" UserId="1290" />
  <row Id="5013" PostId="4345" Text="but it was there in previous versions. and yes, it was ls -CF, i just didn't have access to an older ubuntu machine to test it out." CreationDate="2010-11-29T05:31:36.483" UserId="2597" />
  <row Id="5014" PostId="4367" Text="Yeah, I didn't do it :P. Unfortunately I'm subjected to this bizarre way of distributing files." CreationDate="2010-11-29T05:56:45.950" UserId="1898" />
  <row Id="5015" PostId="4395" Text="Also, instead of 'if blah-bla-bla', you can use something like: zenity --question --text &quot;Do you want to backup? Be sure to turn on the HDD.&quot; || exit 1" CreationDate="2010-11-29T06:45:33.663" UserId="2864" />
  <row Id="5016" PostId="4376" Text="If the pdf has a lot of text, maybe try to use png and not jpg. I'm thinking about jpg artefacts... " CreationDate="2010-11-29T07:41:47.863" UserId="2567" />
  <row Id="5017" PostId="4370" Text="I was not meaning to imply that it was off-topic here at all, I just wanted to justify why it's on-topic at StackOverflow." CreationDate="2010-11-29T07:43:11.320" UserId="2641" />
  <row Id="5018" PostId="4386" Text="`atool`'s behaviour here doesn't differ significantly from unzip I'd say, it doesn't recursively extract ZIP files either." CreationDate="2010-11-29T07:50:08.567" UserId="2641" />
  <row Id="5020" PostId="4379" Score="3" Text="Can I just comment to say those diagonal arrows are *fantastic*." CreationDate="2010-11-29T10:30:11.840" UserId="2868" />
  <row Id="5021" PostId="1340" Text="@Tshepang: Fixed." CreationDate="2010-11-29T12:45:32.173" UserId="131" />
  <row Id="5023" PostId="1341" Text="Latest version of GNU tar can uncompress all compressed archives, which are created with any of the compression filter switches (z, j, J, --lzma), it will detect compression automatically." CreationDate="2010-11-29T15:58:12.167" UserId="1290" />
  <row Id="5024" PostId="4320" Text="Thank you! And a follow up question. You said to use the built-in escape sequence. I did that and it worked. Where can I find more built-in escape sequences?" CreationDate="2010-11-29T16:17:26.930" UserId="2796" />
  <row Id="5025" PostId="4406" Text="Actually, all I want is to be able to do simple admin stuff like `sudo yum install blah`." CreationDate="2010-11-29T16:52:25.127" UserId="688" />
  <row Id="5026" PostId="4406" Text="Depending on the size of the set of &quot;simple admin stuff&quot; it may be more convenient to leverage sudo's aliasing to establish a list of allowed commands and provide privilege escalation to the list rather than to enumerate each with its own configuration." CreationDate="2010-11-29T16:57:49.330" UserId="2701" />
  <row Id="5027" PostId="4406" Text="Not sure what you mean. I just wanted something as simple as adding `user ALL=(ALL) ALL`, without breaking the brain with the myriad sudo options? I ask because in Debian the recommended way is to add user to sudo group, so I wanted to know what it was in Fedora.&#xA;" CreationDate="2010-11-29T17:16:47.123" UserId="688" />
  <row Id="5028" PostId="4376" Text="How to do the `chapter` thing?" CreationDate="2010-11-29T17:17:54.813" UserId="688" />
  <row Id="5029" PostId="1341" Text="@xenoterracide: Well, the author of star has criticized GNU tar a lot in his usual style - these writings could be biased (ignoring bad points about star and good points about GNU tar), contain probably some FUD and are probably outdated." CreationDate="2010-11-29T17:29:49.293" UserId="1131" />
  <row Id="5030" PostId="4406" Text="That syntax will work for Fedora as well, however, I would not recommend granting unrestricted sudo access to all commands as a general rule." CreationDate="2010-11-29T17:34:02.983" UserId="2701" />
  <row Id="5033" PostId="4376" Score="1" Text="I'm not sure if it is possible, but maybe these two links will help you: http://dvdauthor.sourceforge.net/doc/x35.html and http://dvdauthor.sourceforge.net/doc/dvdauthor.html" CreationDate="2010-11-29T17:44:47.020" UserId="2661" />
  <row Id="5034" PostId="4409" Text="Could you please provide the command(s) that you executed?" CreationDate="2010-11-29T17:46:38.193" UserId="2701" />
  <row Id="5037" PostId="4409" Text="@Tshepang - You can also set Defaults editor=/usr/bin/nano in the sudoers file to specify an editor. At this point I am assuming that you wish to use nano as specified in your earlier comment.&#xA;" CreationDate="2010-11-29T18:33:17.183" UserId="2701" />
  <row Id="5040" PostId="4409" Text="@Tshepang - Yes, however, this is likely a product of having built the package using --with-env-editor." CreationDate="2010-11-29T18:57:16.203" UserId="2701" />
  <row Id="5042" PostId="4320" Text="@John: In the tcsh man page, under “special shell variables”, “`prompt`”." CreationDate="2010-11-29T19:36:59.077" UserId="885" />
  <row Id="5043" PostId="4409" Text="@Tok: On what system doesn't `visudo` honor `$VISUAL` and `$EDITOR`?" CreationDate="2010-11-29T20:01:55.237" UserId="885" />
  <row Id="5044" PostId="4409" Text="@Gill It is Fedora 14 default install." CreationDate="2010-11-29T20:03:50.960" UserId="688" />
  <row Id="5045" PostId="4412" Score="2" Text="Adding `bs=10M` (±1 order of magnitude) to the `dd` command line is likely to make it observably faster." CreationDate="2010-11-29T20:06:25.763" UserId="885" />
  <row Id="5046" PostId="4411" Text="How did you add the printer? What's the driver name? Is that driver recommended (`system-config-printer` displays a list of drivers, and notes what's recommended)?" CreationDate="2010-11-29T20:20:51.703" UserId="688" />
  <row Id="5047" PostId="4409" Text="@Tshepang: Yes, I was wondering what system is *not* like this. (Debian, Fedora, Ubuntu, OpenBSD have `sudo` honoring `VISUAL` and `EDITOR`.)" CreationDate="2010-11-29T20:22:10.050" UserId="885" />
  <row Id="5048" PostId="4411" Score="1" Text="@DarenW: To see whether the problem is in the printer or in your computer system, try printing the printer's test page (if there's a way to do this from the printer on this model), or from a live CD/USB." CreationDate="2010-11-29T20:28:08.077" UserId="885" />
  <row Id="5049" PostId="4409" Score="1" Text="@Gilles - based on my reading Ubuntu has recently changed the build parameters of their sudo package to not include `--with-env-editor`, recently here meaning within the memory of the internet. Additionally the sudo package changed their default some time ago to use vi as their default editor which I believe coincided with a change to the behavior regarding the acceptance of environmental variables. I do not have a clear timeline of how, when, or if these events relate to each other at this time." CreationDate="2010-11-29T20:33:55.837" UserId="2701" />
  <row Id="5050" PostId="4412" Text="sir... this team thanks you. +1 " CreationDate="2010-11-29T20:49:38.563" UserId="1327" />
  <row Id="5051" PostId="4416" Text="Yeah I know of `dw`, but I guess I just assumed there would be a &quot;delete the rest of this line&quot; command. For example my line has `ip=|10.1.1.1` with `|` being the cursor location. Is there a command that will delete all the `10.1.1.1`?" CreationDate="2010-11-29T21:03:05.893" UserId="1571" />
  <row Id="5052" PostId="4416" Score="1" Text="@Falmarri - I apologize, I must have misunderstood your question. There is a command for that: `d$`" CreationDate="2010-11-29T21:04:38.107" UserId="2701" />
  <row Id="5054" PostId="4414" Text="What website indexer would you recommend?" CreationDate="2010-11-29T21:11:14.217" UserId="688" />
  <row Id="5055" PostId="4412" Score="3" Text="Oops, forgot: some DVD players won't be happy unless you use `growisofs -dvd-compat -Z /dev/dvd=saved.iso`.  If you've already burned some disks without `-dvd-compat`, you can fix them with `growisofs -dvd-compat -M /dev/dvd=/dev/zero`." CreationDate="2010-11-29T21:14:16.930" UserId="1779" />
  <row Id="5056" PostId="4417" Text="KDE or CLI? there is not comparison... " CreationDate="2010-11-29T21:18:14.697" UserId="1327" />
  <row Id="5057" PostId="4414" Text="@Tshepang: I have zero experience in this matter. Many people like Google, but I think it's not free (even for personal or nonprofit use) (unless your svn is publicly readable, of course)." CreationDate="2010-11-29T21:25:32.387" UserId="885" />
  <row Id="5058" PostId="4414" Text="I was just curious, since I've hardly ever seen such an indexer for a non-public web resource." CreationDate="2010-11-29T21:37:08.053" UserId="688" />
  <row Id="5059" PostId="4414" Score="1" Text="@Tshepang: There are at least three choices in Ubuntu: htdig, mnogosearch, swish-e." CreationDate="2010-11-29T21:47:34.247" UserId="885" />
  <row Id="5060" PostId="4416" Score="10" Text="D (Shift+d) is also a synonym for d$." CreationDate="2010-11-29T22:06:11.817" UserId="1612" />
  <row Id="5061" PostId="4419" Text="I'm used to emacs style so I was trying `de` which obviously wasn't working. I forgot about `$`" CreationDate="2010-11-29T22:13:04.607" UserId="1571" />
  <row Id="5062" PostId="4417" Text="Well it all depends if you run Kubuntu (like I do) or not." CreationDate="2010-11-29T22:13:48.957" UserId="1571" />
  <row Id="5063" PostId="4418" Text="It also may be beneficial to zero the counters when you list them (-Z with -L) so you don't have to remember the last counter value and perform a subtraction. Combining -Z with -L will atomically give you the current value and zero the counter." CreationDate="2010-11-29T23:46:57.343" UserId="1078" />
  <row Id="5064" PostId="4418" Text="@camh: Good point, but that only works for a chain. Is it possible to atomically read and set the counter on a rule?" CreationDate="2010-11-30T00:13:20.713" UserId="885" />
  <row Id="5065" PostId="4418" Text="@Gilles: According to my iptables(8) man page: `iptables [-t table] {-F|-L|-Z} [chain [rulenum]] [options...]` - that is you can specify a rule number and zero just a single rule. I have iptables v1.4.10 installed." CreationDate="2010-11-30T00:25:37.717" UserId="1078" />
  <row Id="5066" PostId="4423" Text="Indeed, `export LC_COLLATE=C` makes sort behave as expected" CreationDate="2010-11-30T00:47:18.207" UserId="2879" />
  <row Id="5067" PostId="4418" Text="@camh: Ah, that's [new in iptables 1.4.6](http://ftp.netfilter.org/pub/iptables/changes-iptables-1.4.6.txt). Before that, `-Z` only works on a chain, not on an individual rule." CreationDate="2010-11-30T01:09:41.157" UserId="885" />
  <row Id="5068" PostId="4424" Text="You got your physical laptop wifi button switched on? You have the right firmware installed? (optional) You got a screenshot?" CreationDate="2010-11-30T01:56:57.353" UserId="688" />
  <row Id="5069" PostId="4196" Text="You can also replace 'file' with a named pipe..." CreationDate="2010-11-30T02:09:00.753" UserId="614" />
  <row Id="5070" PostId="4405" Score="1" Text="@tshepang your `sudo` questions have nothing to do with fedora, I've removed the tags you might want to consider modifying the text." CreationDate="2010-11-30T02:18:44.303" UserId="29" />
  <row Id="5071" PostId="4421" Text="Nice. I forgot all about marking. That should get me there." CreationDate="2010-11-30T02:33:46.060" UserId="2180" />
  <row Id="5072" PostId="4427" Text="Thanks Michael. This has the same disadvantage of making /home inaccessible to other users." CreationDate="2010-11-30T05:18:27.447" UserId="2881" />
  <row Id="5073" PostId="4428" Text="Perfect! I was toying with the idea of `mount --bind`, but only got some convoluted ideas that were sure to break when I needed it. This does exactly what I need and can even go in as a permanent mount. Thanks" CreationDate="2010-11-30T05:23:27.110" UserId="2881" />
  <row Id="5074" PostId="4405" Score="1" Text="as stated, this question is a mere duplicate of [3063](http://unix.stackexchange.com/questions/3063). " CreationDate="2010-11-30T07:37:28.797" UserId="1327" />
  <row Id="5075" PostId="4424" Text="@chrandu1, please clarify &quot;wifi thing&quot;. And like Tshepang mentioned, ensure that your wifi switch is set to 'on'. " CreationDate="2010-11-30T07:39:29.640" UserId="1327" />
  <row Id="5076" PostId="4431" Text="Thanks.My doubt is why do you need ./ at the start.... I got the use of &quot;.&quot; (to poit the current directory) but why &quot;/&quot; after that?" CreationDate="2010-11-30T08:35:42.583" UserId="2269" />
  <row Id="5077" PostId="4431" Score="5" Text="/ is the path separator in Linux, so you use it to separate the directory (.) from the filename (a.out). Without it you have .a.out which is a valid filename in its own right. (Try `touch .a.out; ls -lA` to see this.)" CreationDate="2010-11-30T08:37:48.047" UserId="1297" />
  <row Id="5078" PostId="4431" Score="5" Text="that is how you specify the path in Unix, `&lt;dir&gt;/&lt;file&gt;` so you are basically saying execute a file in the current directory, which is indicated by `./test`" CreationDate="2010-11-30T08:37:51.640" UserId="2597" />
  <row Id="5079" PostId="4431" Text="Red Hat Linux release 9 (Shrike)&#xA;Kernel 2.4.20-8 on an i686&#xA;[renjithg@cvsserver renjithg]$ touch .a.out;ls -lA&#xA;total 3&#xA;-rw-rw-r--    1 renjithg renjithg        0 Nov 30 13:46 .a.out&#xA;-rwxrwxr-x    1 renjithg renjithg    11669 Nov 30 13:46 a.out                                -rw-rw-r--    1 renjithg renjithg      218 Aug 24  2009 aray.c&#xA;[renjithg@cvsserver renjithg]$&#xA;&#xA;&#xA;" CreationDate="2010-11-30T08:48:24.873" UserId="2269" />
  <row Id="5080" PostId="4434" Score="2" Text="Depends on what you are trying to package for what context. Console app? Graphic app? Debian? ArchLinux? Gentoo? Fedora? Redhat? All of the above?" CreationDate="2010-11-30T09:02:21.113" UserId="2179" />
  <row Id="5081" PostId="4405" Text="@Stefan, [3063](http://unix.stackexchange.com/questions/3063) asks &quot;how to run as admin&quot;. My question is &quot;how to make a user be a sudoer&quot;." CreationDate="2010-11-30T10:08:59.533" UserId="688" />
  <row Id="5082" PostId="4405" Text="@xeno There's differences on Fedora's sudo and Debian's (and Ubuntu's). On Debian, installing sudo also creates a group for it, but that's not the case for Fedora. So no, this question is valid." CreationDate="2010-11-30T10:12:30.213" UserId="688" />
  <row Id="5083" PostId="4403" Text="Hi Tok, thanks for the quick respose.." CreationDate="2010-11-30T10:48:50.720" UserId="2871" />
  <row Id="5084" PostId="4403" Text="&quot;The superblock is very critical to the file system and therefore is stored in multiple redundant copies for each file system&quot;. Could you please explain this a bit more in detail? Why is that multiple redundant copies are there?" CreationDate="2010-11-30T10:50:00.373" UserId="2871" />
  <row Id="5085" PostId="4403" Text="@Sen - Certainly. My explanation became too long for a convenient comments so I have included additional information in the response above." CreationDate="2010-11-30T11:32:24.660" UserId="2701" />
  <row Id="5086" PostId="4436" Text="What exactly do you mean when you say &quot;has unix&quot;? It has to run on Unix (or Linux)? " CreationDate="2010-11-30T11:35:29.470" UserId="252" />
  <row Id="5088" PostId="4437" Text="First time visitor here, Thanks for the meta ptr @Tshepang. Hope you found your answer without reinventing the wheel. ;)" CreationDate="2010-11-30T12:13:02.667" />
  <row Id="5089" PostId="4405" Text="no... there is a answer for you question in 3036. This question is not a exact duplicate, but close enough...." CreationDate="2010-11-30T12:28:42.370" UserId="1327" />
  <row Id="5090" PostId="4405" Text="@tshepang I'm reading the answers... looks exactly the same to me as every other system I've ever used sudo on. What is the difference? I did see that in your other question there was some commentary on ubuntu building it differently... but that implies a difference on ubuntu compared to the rest of the world, and as you've reminded me elsewhere... in your opinion, ubuntu questions should be asked on AU. but even in that case it read like ubuntu was just choosing a different ./configure" CreationDate="2010-11-30T12:32:59.577" UserId="29" />
  <row Id="5091" PostId="4405" Text="@stefan I disagree, he's right it's not a duplicate, they are 2 different questions. closely related, but different." CreationDate="2010-11-30T12:33:51.830" UserId="29" />
  <row Id="5092" PostId="4405" Text="@xeno Debian creates the group sudo and Fedora doesn't (and that's why I asked this question in the first place), so it's not just Ubuntu vs. the rest of them. The 3 configure sudo differently." CreationDate="2010-11-30T12:48:24.437" UserId="688" />
  <row Id="5094" PostId="4348" Text="@Jonathan but this doesn't actually prevent kopete from printing the status changes in the chat window." CreationDate="2010-11-30T13:03:22.387" UserId="29" />
  <row Id="5095" PostId="4347" Text="@barthelemy but this doesn't actually prevent kopete from printing the status changes in the chat window" CreationDate="2010-11-30T13:03:51.093" UserId="29" />
  <row Id="5096" PostId="4406" Text="@Tshepang - I missed the second part of your earlier question. I believe that Fedora will allow you to specify a user by name in the sudoers file without adding them to any group in particular. Have you experienced one or more problems with this approach?" CreationDate="2010-11-30T13:24:07.187" UserId="2701" />
  <row Id="5097" PostId="4406" Text="That's the approach I used actually: `user ALL=(ALL) ALL`." CreationDate="2010-11-30T13:43:58.433" UserId="688" />
  <row Id="5098" PostId="4403" Text="@Tok : Will it dump like this (as shown in the answer) :Backup superblock at 163840, Group descriptors at 163841-163841 or is it this way : Backup superblock at 163840, Group descriptors at 163841-163842? Was that a typo error? :-)" CreationDate="2010-11-30T13:44:32.010" UserId="2871" />
  <row Id="5099" PostId="4403" Text="@TOK : Backup superblock at 163840, Group descriptors at 163841-163842, What info does the Group Descriptors convey?" CreationDate="2010-11-30T13:46:50.633" UserId="2871" />
  <row Id="5100" PostId="4403" Text="@Sen - theoretically the group descriptors could span multiple blocks, but for most desktop systems you will see them take only a single block and be referenced as $((BackupBlock+1))-$((BackupBlock+1))" CreationDate="2010-11-30T13:47:52.173" UserId="2701" />
  <row Id="5101" PostId="4403" Text="@TOK : ok in my system I see it like $((BackupBlock+1))-$((BackupBlock+2))" CreationDate="2010-11-30T13:52:06.560" UserId="2871" />
  <row Id="5102" PostId="4403" Text="@Sen - The group descriptor describes a block group. What does that mean? More metadata. Essentially a group descriptor contains a blocks bitmap (block number of the block allocation bitmap), an inode bitmap (same but for inodes), an inode table (block number of the starting block for the inode table), free block and inode counts, and a used directory count. This is all based on an ext2 file system. Group descriptors are very important to proper file system operation and are duplicated alongside the superblock." CreationDate="2010-11-30T13:53:32.073" UserId="2701" />
  <row Id="5104" PostId="4347" Score="1" Text="@xenoterracide I thought the word &quot;alert&quot; referred to the notification. you may want to clarify what you meant (e.g., hide these messages in the chat window)." CreationDate="2010-11-30T16:32:28.287" UserId="1416" />
  <row Id="5105" PostId="4347" Text="I just added another option in my answer." CreationDate="2010-11-30T16:36:24.960" UserId="1416" />
  <row Id="5106" PostId="4444" Score="3" Text="You can also give `shutdown` a time to wait; no need to use kshutdown for that purpose." CreationDate="2010-11-30T17:47:47.617" UserId="2376" />
  <row Id="5107" PostId="4415" Score="3" Text="You've got a typo here - you say &quot;end of line&quot; in the title, but &quot;end of word&quot; in the question." CreationDate="2010-11-30T17:50:26.417" UserId="2376" />
  <row Id="5110" PostId="4434" Score="2" Text="There are several threads on the topic at Stack Overflow, for example [Creating an installer for Linux application](http://stackoverflow.com/questions/2419430) and [Best approach to writing a generic installer for a Linux application?](http://stackoverflow.com/questions/254054)." CreationDate="2010-11-30T19:01:23.463" UserId="885" />
  <row Id="5112" PostId="4440" Text="What type of filesystem is on the volume, and what mount options are used? What are the effective permissions on the `autorun` file?" CreationDate="2010-11-30T19:28:49.503" UserId="885" />
  <row Id="5113" PostId="4447" Text="Debian will use OpenJDK by default and if it's not supported it will use GCJ." CreationDate="2010-11-30T20:40:50.470" UserId="2759" />
  <row Id="5115" PostId="4448" Text="+1. Also, deb and rpm packaging builds on standard source tarballs by adding a `debian` dir and a `pkgname.spec` file respectively, so the source tarball would be the first step." CreationDate="2010-11-30T22:13:20.413" UserId="2729" />
  <row Id="5117" PostId="4454" Text="I think I can work with this. I won't have an answer to whether it worked straight away (I simplified my question)." CreationDate="2010-11-30T22:20:40.790" UserId="2901" />
  <row Id="5119" PostId="4457" Score="1" Text="hi gilles.  disown does not work in ksh.  here's the error i get:  ksh: disown:  not found.  that said, i agree with the use of screen.  however i don't have root access to this particular server so i won't be able to install GNU screen.    " CreationDate="2010-11-30T23:02:04.773" />
  <row Id="5120" PostId="4457" Score="1" Text="@anurag: Oh, `disown` is in OpenSolaris, I didn't think it was a new feature. You should be able to just drop a `screen` executable or compile it from source and put it in your account — at least on OpenSolaris screen doesn't need any extra permission. Failing that you could install a `bash` executable in your account." CreationDate="2010-11-30T23:41:52.960" UserId="885" />
  <row Id="5121" PostId="4424" Text="@Stefan: i have my wifi button on, but still when i have wired network it gets connected, but when there is a wifi network it doesnt show the connections at all. How do i search for a wifi connection if i know that i am in an area with wifi conectivity" CreationDate="2010-12-01T01:21:46.687" UserId="1267" />
  <row Id="5122" PostId="4240" Text="Just tried and I got &quot;bad response from proxy -- HTTP/1.0 403 Forbidden&quot;. I guess it's blocked, thanks for the guide." CreationDate="2010-12-01T01:50:42.840" UserId="1026" />
  <row Id="5123" PostId="4448" Text="Nominally at least, RPM now stands for &quot;RPM Package Manager&quot;, despite its origin." CreationDate="2010-12-01T03:47:08.837" UserId="2511" />
  <row Id="5124" PostId="3862" Text="Yes, Fedora has Kickstart." CreationDate="2010-12-01T03:55:33.450" UserId="2511" />
  <row Id="5128" PostId="4411" Text="I have a Knoppix CD somewhere. Running that could be informative, in case it's a goofed-up bit of software or config" CreationDate="2010-12-01T05:39:19.697" UserId="2874" />
  <row Id="5129" PostId="4411" Text="I got something off the Samsung site, and I recall some forum stating that normal CUPS won't work but to download some modified CUPS.  Now, months later, I don't recall any of the details.   " CreationDate="2010-12-01T05:43:14.527" UserId="2874" />
  <row Id="5130" PostId="4411" Text="The package manager tells me cups-usblp 1.4.4-1  is installed.  This is Arch Linux, if I didn't mention already." CreationDate="2010-12-01T05:44:42.077" UserId="2874" />
  <row Id="5131" PostId="4424" Text="running this `iwlist wlan0 scanning` as [root](http://unix.stackexchange.com/questions/3063) should show you a list of found devices... also see `man iwlist` and `iwlist --help`" CreationDate="2010-12-01T08:10:18.827" UserId="1327" />
  <row Id="5132" PostId="4462" Text="I don't know bout **not modifying files**. but you could force pacman to overwrite those files? `pacman -S --force`" CreationDate="2010-12-01T08:14:35.097" UserId="1327" />
  <row Id="5133" PostId="4424" Text="@Stefan: it says interface doesnt support scanning network is down" CreationDate="2010-12-01T08:16:35.947" UserId="1267" />
  <row Id="5134" PostId="4424" Text="@stefan: And suppose i get a connection A, how do i activate that wireless connection" CreationDate="2010-12-01T08:16:56.523" UserId="1267" />
  <row Id="5135" PostId="4461" Score="3" Text="I don't know the history, but I doubt this quote is the real reason why Debian doesn't implement the `wheel` group by default. (Debian's `su` does support the `wheel` group, it's just not enabled by default.) Anyway rms's reasoning might apply to MIT in the 1980s, but it doesn't apply to most places where not all users can be trusted and ubiquitous Internet accessibility means security needs to protect against attackers from all over the world." CreationDate="2010-12-01T08:31:20.957" UserId="885" />
  <row Id="5136" PostId="2127" Text="@xeno The 2nd point isn't clear. I don't understand what you are trying to say. Do you mind rephrasing it?" CreationDate="2010-12-01T11:11:02.483" UserId="688" />
  <row Id="5137" PostId="4424" Text="@stefan: iwlist wlan0 power it says wlan mode: off please tell me how to turn it on" CreationDate="2010-12-01T11:21:34.187" UserId="1267" />
  <row Id="5138" PostId="4450" Text="System administrators messing with alternatives might also want to use &quot;update-alternatives -config java&quot;, which lists the available providers and then sets the symlink as per your selection." CreationDate="2010-12-01T11:39:13.243" UserId="2641" />
  <row Id="5139" PostId="4462" Text="I did, (pacman -Sf), but my system already runs for about 2 years so all the config files and changes would also be moved to .pacorig files. That is not what I want, I just need to tell pacman: screw what you think, I say this package is installed." CreationDate="2010-12-01T12:47:40.127" UserId="2909" />
  <row Id="5140" PostId="2127" Text="@tshepang yes I do, if you need a more comprehensive answer I suggest reading security engineering which spends more than a page explaining the concept to you." CreationDate="2010-12-01T13:14:10.680" UserId="29" />
  <row Id="5141" PostId="2127" Text="Please read this again: &quot;you can use the amount of time it takes for it to invalidate you help guess if part of your credentials are correct&quot;. Aren't you missing something there?" CreationDate="2010-12-01T13:24:34.190" UserId="688" />
  <row Id="5142" PostId="2127" Text="@tshepang slightly reworded for grammar... but the overall concept is fairly in depth and thus better left to books like security engineering. I think there like a 5 page story explaining #2 in the book." CreationDate="2010-12-01T13:33:05.443" UserId="29" />
  <row Id="5144" PostId="4053" Text="Picasa isn't FLOSS is it? If so, why mention it?" CreationDate="2010-12-01T13:54:56.600" UserId="688" />
  <row Id="5145" PostId="2127" Text="I still don't get it. Which section of the book talks about this. I gave it a scan and couldn't find it." CreationDate="2010-12-01T14:48:36.067" UserId="688" />
  <row Id="5146" PostId="2127" Score="1" Text="@Tshepang: See [chapter 2](http://www.cl.cam.ac.uk/~rja14/Papers/SEv2-c02.pdf), particularly §2.4 and §2.5.3.3." CreationDate="2010-12-01T18:42:04.467" UserId="885" />
  <row Id="5147" PostId="2127" Text="@xenoterracide: I don't fully agree with your second point. A good engineering principle for cryptographic operations is that all denials must take exactly the same time (and use as much power, etc.). If the delays are different, the attacker could still differentiate 1ms+1s from 2ms+1s. (Even a random delay wouldn't help that much: the attacker could average the delays out over several attempts.) This is not so important in practice for unix password authentication (where the random fluctuations would take many tries to average out), but does come up in other contexts (e.g. credit card PINs)." CreationDate="2010-12-01T18:51:25.190" UserId="885" />
  <row Id="5148" PostId="4471" Text="@Raymii: This doesn't solve the problem at all. The question is about making a copy on the server *without* going via the client." CreationDate="2010-12-01T18:55:48.570" UserId="885" />
  <row Id="5150" PostId="4459" Score="3" Text="+1 for why! Good explanation there." CreationDate="2010-12-01T20:24:39.047" UserId="1974" />
  <row Id="5151" PostId="4466" Score="1" Text="You're using it manually from command line or `xset` is binded to some keyboard shortcut? On my brother laptop this command was binded to some keys and after that monitor was turned off and on again, because when he was releasing key next event was emitted. Turning it off after quick sleep solved problem: `perl -e 'select(undef,undef,undef,.1)' &amp;&amp; xset dpms force off` - this perl expression do sleep for 0.1 sec." CreationDate="2010-12-01T20:40:25.753" UserId="2661" />
  <row Id="5152" PostId="4466" Text="I used to have the shortcut key problem too thats why created an icon. Your `perl -e 'select(undef,undef,undef,.1)' &amp;&amp; xset dpms force off` command when typed in terminal did the work. Now trying this with the shortcut icon." CreationDate="2010-12-01T21:07:27.140" UserId="2278" />
  <row Id="5153" PostId="4454" Text="Works great. I'd like to understand this where can I find a decent resource on AWK (or should this be a seperate question)?" CreationDate="2010-12-01T21:18:31.230" UserId="2901" />
  <row Id="5154" PostId="4466" Text="The command does not work with the shortcut icon." CreationDate="2010-12-01T21:24:07.007" UserId="2278" />
  <row Id="5155" PostId="4424" Text="@chandru... ur asking me a lot of question I just don't have answers to :(" CreationDate="2010-12-01T21:24:34.900" UserId="1327" />
  <row Id="5156" PostId="2127" Text="@Gilles I guess you are referring to 2nd edition. The free 1st edition doesn't correspond." CreationDate="2010-12-01T22:37:46.403" UserId="688" />
  <row Id="5157" PostId="4053" Score="1" Text="Uh sorry, my bad Tshepang. I removed it now :)" CreationDate="2010-12-01T22:42:33.667" UserId="2648" />
  <row Id="5158" PostId="4475" Score="1" Text="I don't know exactly what is going on in your case, but the program that appears to be misbehaving ssh-agent." CreationDate="2010-12-01T22:44:06.163" UserId="2150" />
  <row Id="5159" PostId="4475" Text="Oh, wow, you're right, my ssh-agent has gone &lt;defuct&gt;! I'll log out and back in again..." CreationDate="2010-12-01T22:46:34.033" UserId="1974" />
  <row Id="5160" PostId="4475" Text="I rebooted and now `ssh-agent` is not defunct, but still I can't get X11 apps to SSH in, even when I can from the terminal :-(" CreationDate="2010-12-01T22:58:25.807" UserId="1974" />
  <row Id="5161" PostId="4386" Text="@Thomas Themel: Are you sure that it doesn't recursively extract ZIP files? It can extract from deb files tar.gz recurisvely but i have no time atm to test it with nested zip archives :\" CreationDate="2010-12-01T22:58:36.347" UserId="2648" />
  <row Id="5162" PostId="2127" Text="@Gilles eh... it probably depends on a lot of things... and I'm sure it's more important of an attack against systems auth-ing against plain text vs those auth-ing against a hash. But that being said doesn't make it a good idea to not implement a wait between tries." CreationDate="2010-12-01T23:02:21.187" UserId="29" />
  <row Id="5166" PostId="2127" Text="@Tshepang: Yes, 2nd ed (whose ch.2 is online). @xenoterracide: a delay is necessary for reason #1 (attempt rate limiting). It's not an effective countermeasure for reason #2 (it doesn't do much to remove the side channel of response time)." CreationDate="2010-12-02T00:49:48.033" UserId="885" />
  <row Id="5167" PostId="4454" Score="1" Text="@Wes: There's A, W and K's classic book, and a more recent O'Reilly book. The GNU awk manual is also readable (it teaches GNU awk, not portable awk, however). Or you can learn by example from unix forums plus reference manuals." CreationDate="2010-12-02T00:56:15.093" UserId="885" />
  <row Id="5169" PostId="4440" Text="@Gilles: details added" CreationDate="2010-12-02T01:47:33.453" UserId="2180" />
  <row Id="5170" PostId="4480" Text="@oneofone...This can't be the problem in mycase. I have a laptop, hence no mouse." CreationDate="2010-12-02T04:04:26.760" UserId="2278" />
  <row Id="5171" PostId="4468" Text="Thanks Richm but" CreationDate="2010-12-02T04:05:50.100" UserId="2914" />
  <row Id="5172" PostId="4468" Text="#tail -f /var/log/dmesg doesn't show any message related to problem and when I use #lvdisplay /dev/MyGroup/LogVol00 then it shows message of &quot;Locking type 1 initialisation failed&quot;..." CreationDate="2010-12-02T04:09:01.800" UserId="2914" />
  <row Id="5173" PostId="4471" Text="Sorry, then I didn't understanded the question completely." CreationDate="2010-12-02T06:33:01.613" UserId="2909" />
  <row Id="5174" PostId="4470" Text="PC engines have very nice embedded boards: http://www.pcengines.ch/alix.htm . I have a good experience with the alix3d3" CreationDate="2010-12-02T06:36:28.397" UserId="2909" />
  <row Id="5175" PostId="4484" Text="​​http://serverfault.com/questions/208181/ssh-asks-for-password-despite-ssh-copy-id I'm not sure what StackExchange policy on duplicates across sites is, but it doesn't seem to me that cross-posting a question would be helpful." CreationDate="2010-12-02T07:04:39.573" UserId="1779" />
  <row Id="5177" PostId="4486" Text="this is unrelated to the question I'm thinking... but `pacman -Sf firefox` might work work for you?" CreationDate="2010-12-02T10:27:03.837" UserId="1327" />
  <row Id="5178" PostId="4488" Score="1" Text="I've tried it a few minutes ago and the 2.2.10 version in Ubuntu 10.04 segfaulted after 20 minutes - plus, the system tray symbol was flickery, when a window-button in the task bar was redrawn (the network-manager applet does not have this problem)" CreationDate="2010-12-02T15:07:14.420" UserId="1131" />
  <row Id="5179" PostId="4488" Text="Hm... had not any problem with it for half a year now.  YMMV, as always.  You may try building from latest sources, and/or report the crash." CreationDate="2010-12-02T15:18:24.843" UserId="1946" />
  <row Id="5180" PostId="4486" Score="1" Text="This isn't an answer, it's another question. You might want to [ask separately](http://unix.stackexchange.com/questions/ask) why pacman is giving you those error messages. (I'll delete this later once Raymii sees the comment)" CreationDate="2010-12-02T15:26:29.217" UserId="73" />
  <row Id="5181" PostId="4468" Text="Try doing  lvdisplay --ignorelockingfailure /dev/MyGroup/LogVol00 " CreationDate="2010-12-02T16:30:12.900" UserId="1144" />
  <row Id="5182" PostId="4488" Text="sure, using an already packaged version of some biff clone is just more convenient ..." CreationDate="2010-12-02T16:32:39.213" UserId="1131" />
  <row Id="5183" PostId="4466" Text="Maybe increase the sleep (also I would use the command &quot;sleep n&quot; to sleep n seconds); it might be that your clicking the icon and moving the mouse(sliding your fingers over the touchpad) sends later events." CreationDate="2010-12-02T16:54:18.130" UserId="2150" />
  <row Id="5184" PostId="3418" Text="Better not use telnet; your password will be send in the clear.  (although if you LAN only has completely trusted people on it, it won't hurt)." CreationDate="2010-12-02T18:16:12.957" UserId="2150" />
  <row Id="5185" PostId="4466" Text="no, I cant execute two commands directly frm a shortcut, will try creating a script." CreationDate="2010-12-02T19:21:37.970" UserId="2278" />
  <row Id="5186" PostId="4493" Text="&quot;my wireless network card is a broadcom&quot; -- uh oh :)" CreationDate="2010-12-02T19:38:11.477" UserId="73" />
  <row Id="5187" PostId="4493" Text="I know :( But, I can't change it, so I have to live with it." CreationDate="2010-12-02T19:39:37.630" UserId="131" />
  <row Id="5188" PostId="4475" Text="Run `/bin/dash` (note: dash, not bash) from the Run command dialog with the “run in terminal” box checked (not via a terminal menu entry). In the terminal, type `export`. This shows the environment variables that are defined in your X session. What variables are there whose name begins with `SSH_` (i.e. the line reads `export SSH_…=…`; the list is in alphabetical order)?" CreationDate="2010-12-02T19:52:25.920" UserId="885" />
  <row Id="5189" PostId="4484" Text="@Aliud: If you've checked that only you can write to `~`, `~/.ssh` and `~/.ssh/authorized_keys`, run `ssh -vvv server.example.com` and report the output (anonymize the host and user names if you want). If you have root access on the server, look at log entries created when you attempt a public key login." CreationDate="2010-12-02T19:56:27.483" UserId="885" />
  <row Id="5190" PostId="4491" Text="Yup. `ssh-copy-id` should have taken care of the permissions of `~/.ssh` and `~/.ssh/authorized_keys`, but also make sure that your home directory itself isn't group-writable." CreationDate="2010-12-02T19:59:05.307" UserId="885" />
  <row Id="5191" PostId="4485" Text="On what operating system and version? What broad type of keyboard (PC/Mac/Sun/...)? Try runnning `xev` in a terminal, then `xmodmap` in another terminal. You should see some `MappingNotify` stanzas from `xev`, add them to your question. Also, in the `xev` window, press the various keys involved and tell us what keycode and keysym they correspond to (the “keycode 37 (keysym 0xffe3, Control_L)” part of the xev output)." CreationDate="2010-12-02T20:08:07.950" UserId="885" />
  <row Id="5192" PostId="4475" Text="@Gilles: There's both `SSH_AGENT_PID` and `SSH_AUTH_SOCK`. The PID is correct and the socket file exists and is writable by me...&#xA;" CreationDate="2010-12-02T20:26:00.803" UserId="1974" />
  <row Id="5193" PostId="4495" Score="1" Text="There's [Pash](http://pash.sourceforge.net/) but that's much more Powershell-like than Bash-like." CreationDate="2010-12-02T21:59:57.323" UserId="1779" />
  <row Id="5194" PostId="4494" Text="Mark this as the answer please." CreationDate="2010-12-02T22:17:09.767" UserId="2759" />
  <row Id="5195" PostId="4497" Text="You hit the nail on the head right after you say &quot;I suspect this is what you're after&quot;.  The main reason I'm asking this question is that I love having the power of unix tools, but the text-based interaction between programs definitely 'raises a barrier for more complex tasks'.  I've spent enough of my programming days writing text parsers :)  I think this is a very well thought out answer.  It gets to the heart of the issue and the complexity of the subject.  I wish I could upvote it twice :P" CreationDate="2010-12-02T23:03:58.097" UserId="479" />
  <row Id="5196" PostId="4497" Text="`qdbus` isn't KDE-specific; it can talk to any dbus service, with a much nicer command-line interface than `dbus-send`." CreationDate="2010-12-02T23:04:15.967" UserId="1779" />
  <row Id="5197" PostId="4492" Text="Polling once in two seconds or so to be a big waste? Usually, what you need is not an instantaneous reaction, 2-3 seconds delay is perfectly ok. By the way, ATAPI CD-ROM drivers do just that in all OSes." CreationDate="2010-12-02T23:05:21.043" UserId="2929" />
  <row Id="5198" PostId="4494" Score="1" Text="@OneOfOne: I intend to -- I have to wait 20 hours more. That's how the site works, it gives others a chance to answer." CreationDate="2010-12-02T23:07:05.733" UserId="1974" />
  <row Id="5199" PostId="4497" Score="1" Text="+1 for ipython, though I have no idea what the OP wants to do." CreationDate="2010-12-02T23:19:30.307" UserId="1571" />
  <row Id="5200" PostId="4497" Text="@ephemient: noted, thanks." CreationDate="2010-12-02T23:20:30.227" UserId="885" />
  <row Id="5201" PostId="4497" Text="@falmarri: this is more of a general question, I don't want to get bogged in specific examples." CreationDate="2010-12-02T23:32:13.830" UserId="479" />
  <row Id="5202" PostId="4489" Text="Are you sure there is no way to tell that a monitor has been plugged in with your card.  Try running `udevadm monitor --property` from the terminal and plugging the monitor in.  With my card, I see an event when it is plugged in.  You may be able to use a +RUN rule in udev and some bash scripting to get what you want.  However, I'm not sure how you would be able to implement this on a per user basis using udev.&#xA;" CreationDate="2010-12-03T01:58:29.593" UserId="1207" />
  <row Id="5203" PostId="4503" Score="1" Text="Or `grep -c ''`, or `tr -dc '\n' | wc -c`, or `nl -ba -nln | tail -n 1 |sed -e 's/[^0-9].*//'`... Is any of these useful in itself (as opposed to things to build upon to make a program that does more than counting lines), other than `wc -l` and pure (ba)sh?" CreationDate="2010-12-03T01:58:55.177" UserId="885" />
  <row Id="5204" PostId="4503" Text="@Gilles: I think the phrase &quot;many ways&quot; in the question triggered a challenge that Steve and I rose to." CreationDate="2010-12-03T02:03:38.533" UserId="382" />
  <row Id="5205" PostId="4503" Text="+1. Small note: `cat -n` is a GNU extension." CreationDate="2010-12-03T02:03:38.493" UserId="1207" />
  <row Id="5206" PostId="4503" Text="@Dennis: I'm obviously not objecting... Follow-up challenge: can you do it by piping the data into `uniq`, with only POSIX tools to help you and no constraint on the line length?" CreationDate="2010-12-03T02:21:45.693" UserId="885" />
  <row Id="5207" PostId="4503" Text="@Steven: I'm pretty sure I've been using `cat -n` since before GNU existed. As a matter of fact, [HP-UX has it](http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02253215/c02253215.pdf) (PDF), [Solaris](http://docs.sun.com/app/docs/doc/816-5165/cat-1?l=en&amp;a=view) does, [FreeBSD as early as 1.0](http://www.freebsd.org/cgi/man.cgi?query=cat&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+1.0-RELEASE&amp;format=html) does, even [2.10 BSD (1986)](http://www.freebsd.org/cgi/man.cgi?query=cat&amp;apropos=0&amp;sektion=0&amp;manpath=2.10+BSD&amp;format=html) ..." CreationDate="2010-12-03T02:27:34.880" UserId="382" />
  <row Id="5208" PostId="4503" Text="... and [AIX](http://publib.boulder.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.cmds/doc/aixcmds1/cat.htm), too." CreationDate="2010-12-03T02:27:50.107" UserId="382" />
  <row Id="5209" PostId="4503" Score="1" Text="@Gilles: `sed 's/.*//' file.txt | uniq -c`" CreationDate="2010-12-03T02:30:48.887" UserId="382" />
  <row Id="5210" PostId="4503" Text="@Dennis: Yet another reason I should stop trusting wikipedia: http://en.wikipedia.org/wiki/Cat_%28Unix%29" CreationDate="2010-12-03T02:32:18.647" UserId="1207" />
  <row Id="5211" PostId="4503" Text="@Steven: I believe what they mean by &quot;GNU only&quot; is the long option `--number`." CreationDate="2010-12-03T02:35:10.490" UserId="382" />
  <row Id="5212" PostId="701" Score="2" Text="@wzzrd, it's actually easy to have your source files put together in a per-package directory, by defining %_specdir and %_sourcedir in your ~/.rpmmacros file." CreationDate="2010-12-03T03:44:18.940" UserId="2511" />
  <row Id="5214" PostId="654" Score="1" Text="Isn't &quot;growing popularity&quot; basically &quot;Ubuntu is based on Debian, and so, y'know, there ya go?&quot;" CreationDate="2010-12-03T03:49:40.713" UserId="2511" />
  <row Id="5215" PostId="709" Text="IMHO the openSUSE Build Service is the coolest thing to come around in a long time. They've really done it right. " CreationDate="2010-12-03T03:55:15.250" UserId="2944" />
  <row Id="5216" PostId="4503" Text="@Dennis: Of course this works, but it doesn't answer my question (you're not piping the data into `uniq`, you're piping it into `sed`)." CreationDate="2010-12-03T08:10:22.833" UserId="885" />
  <row Id="5217" PostId="3418" Text="Seriously?  Let the admin worry 'bout that.  If he's still got `rlogin` available, he might as well use it.  :P" CreationDate="2010-12-03T08:30:57.940" UserId="614" />
  <row Id="5218" PostId="4429" Text="It's probably a minimal Vim he uses anyway." CreationDate="2010-12-03T09:17:25.947" UserId="1290" />
  <row Id="5219" PostId="4468" Text="Hi Richm, # lvdisplay --ignorelockingfailure /dev/MyGroup/LogVol00  displays follows things:" CreationDate="2010-12-03T09:36:39.487" UserId="2914" />
  <row Id="5220" PostId="4468" Text="LV Name		/dev/MyGroup/LogVol00&#xA;VG Name		MyGroup&#xA;LV UUID		0vzTSd-cBBo-3MRk-NF30-SYoV-venm-mA0WbR&#xA;LV Write Access /read/write&#xA;LV Status	available&#xA;# open 		0&#xA;LV Size		128.00 MB&#xA;Current LE	4&#xA;Segments	1&#xA;Allocation	inherit&#xA;Read ahead sectors	0&#xA;Block device	252:1" CreationDate="2010-12-03T09:37:28.240" UserId="2914" />
  <row Id="5221" PostId="4346" Text="unfortunately doesn't work if they don't have a shell in `/etc/passwd` :( but it'll do I guess..." CreationDate="2010-12-03T10:39:24.067" UserId="29" />
  <row Id="5222" PostId="4507" Score="1" Text="How many can it handle? or how many can it handle before you lose some benefit? also what kernel? I suspect that this answer changes somewhat for a computer patched to run a supercomputer. I seem to recall reading about a single instance using 4096 processors..." CreationDate="2010-12-03T10:43:08.197" UserId="29" />
  <row Id="5223" PostId="4509" Text="@shankar in HPUX? or in linux? if linux what linux? different distro's might require different things... " CreationDate="2010-12-03T10:44:51.330" UserId="29" />
  <row Id="5226" PostId="4510" Text="Upgrading postgresql on arch is quite annoying. I saw your question but my solution was so hacky I did not think it was worth reporting it. I don't think arch developers would automate that kind of process, but maybe better documentation or an update script on AUR would do the trick." CreationDate="2010-12-03T11:30:26.410" UserId="1416" />
  <row Id="5227" PostId="4512" Text="Mono? (I don't really know)" CreationDate="2010-12-03T12:31:29.110" UserId="29" />
  <row Id="5228" PostId="4510" Text="only problem with them not automating it is the fact that 2 pg's must be side by side... idk what they'll do with the bug." CreationDate="2010-12-03T12:32:34.820" UserId="29" />
  <row Id="5229" PostId="4507" Text="@tshepang what patch set, the normal patchset can't handle 4096 processors but linux has been patched to do it. (IIRC some answers seem to suggest it can)" CreationDate="2010-12-03T12:33:24.680" UserId="29" />
  <row Id="5230" PostId="2564" Text="VMWare workstation 7 (paid-for unfortunately) offers better graphics performance including accelerated 3d. Most VM systems don't do good graphics though." CreationDate="2010-12-03T13:04:26.943" UserId="2851" />
  <row Id="5231" PostId="4507" Text="@xeno I think the fact that there's even a patchset that handles 4096 processors is stuff that should be mentioned on the Answer." CreationDate="2010-12-03T13:42:00.670" UserId="688" />
  <row Id="5232" PostId="4512" Text="As in maybe it made it guzzle too much RAM?" CreationDate="2010-12-03T13:46:01.133" UserId="688" />
  <row Id="5233" PostId="4514" Text="http://ww.ubuntuforums.org/showthread.php?t=1377396.. Hope this link will help.. but havent tried yet.. Thanks, gbjbaanb.. :-)" CreationDate="2010-12-03T13:55:01.167" UserId="2871" />
  <row Id="5234" PostId="4185" Text="@Morlock, thanks, but this is not the issue.  I've updated the question with further detail." CreationDate="2010-12-03T14:08:40.693" UserId="2700" />
  <row Id="5235" PostId="4190" Text="@phunehehe, thanks, but the vimrc between the two is the same." CreationDate="2010-12-03T14:11:06.463" UserId="2700" />
  <row Id="5236" PostId="4507" Text="@tshepang I don't recall much more than that, otherwise I'd give an answer, I also her performance gains pass 16? cores were limited... and that certain parts of the kernel needed a rewrite that had already begun. but really I don't have any citations and am not 100% that's why I'm not answering." CreationDate="2010-12-03T14:41:42.377" UserId="29" />
  <row Id="5237" PostId="4512" Text="@tshepang or because floss people don't like microshafting code..." CreationDate="2010-12-03T14:49:30.113" UserId="29" />
  <row Id="5238" PostId="4512" Text="@tshepang or maybe 'cause novell laid off a bunch of people... idk" CreationDate="2010-12-03T14:51:03.543" UserId="29" />
  <row Id="5239" PostId="3868" Text="eventually something got added to gdm stuff... but idk what." CreationDate="2010-12-03T15:36:06.470" UserId="29" />
  <row Id="5241" PostId="4503" Score="1" Text="@Gilles: Oh, you meant *first*. `uniq -c -w 0 file.txt` and you can `cut -c -7` to keep only the number. Or, more POSIXly: `uniq -c  file.txt | awk '{c+=$1}END{print c}'`. How about `dc` (even though it's not POSIX)? `uniq -c  file.txt | cut -c -7 | sed '$alax' | dc -e '[pq]sb[+z1=blax]sa' -`. `bc` is POSIX: `uniq -c  file.txt | cut -c -7 | sed -n ':a;${s/\n/ + /gp;b};N;ba' | bc`. The easy answer if you assume a limited line length: `uniq -c -f 100000 file.txt`." CreationDate="2010-12-03T16:21:19.927" UserId="382" />
  <row Id="5242" PostId="4468" Text="Ok that looks ok and matches the size of 131072 blocks. But looking at your original report again /dev/MyGroup/LogVol001 was checked where did that come from? What does /dev/MyGroup/LogVol00 contain? Do you really need it to boot? If not you may be able to edit /etc/fstab and reboot without it and then investigate when you have recovered." CreationDate="2010-12-03T17:14:48.217" UserId="1144" />
  <row Id="5243" PostId="4513" Score="2" Text="[arch/x86/Kconfig](http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/x86/Kconfig;hb=HEAD) says these `CONFIG_NR_CPUS` limits can be raised if `CONFIG_MAXSMP` is enabled." CreationDate="2010-12-03T18:30:47.573" UserId="1779" />
  <row Id="5244" PostId="4489" Text="@Steven: Your comment should be an answer. It's not a complete answer, but it does make significant progress. If udev does see a hardware event, it should notify hal which sends a dbus event which can be seen by user code." CreationDate="2010-12-03T19:39:03.093" UserId="885" />
  <row Id="5245" PostId="4519" Text="Corkscrew does not use netcat in any way. A machine on which I use it regularly doesn't have a `netcat` binary. You can check that the only mention of `netcat` in the source is in the documentation. You must have explicitly called `netcat` somewhere." CreationDate="2010-12-03T20:58:00.470" UserId="885" />
  <row Id="5246" PostId="4486" Text="I have asked another question, but you have closed that one and gave this one as related..." CreationDate="2010-12-03T21:13:09.690" UserId="2909" />
  <row Id="5247" PostId="4486" Text="@Raymii Your other question was exactly the same as this one; it asked how to mark a package installed in pacman without actually (re)installing it. A questions about the error messages you're getting would be different" CreationDate="2010-12-03T21:59:26.693" UserId="73" />
  <row Id="5248" PostId="4509" Text="That's Standard *Template* Library." CreationDate="2010-12-04T00:06:33.447" UserId="382" />
  <row Id="5249" PostId="4531" Score="1" Text="That's actually where I got that color-codes-only regex.  But installing a whole module just for that one regex is a bit much." CreationDate="2010-12-04T02:00:01.867" UserId="2421" />
  <row Id="5250" PostId="4527" Score="1" Text="It might be a bug that a program produces colored output even then it's output is redirected to a file _and_ doesn't provide an option to switch it off.  I'd expect any program that colors it's output to check `isatty(stdin)` before doing so.  Mind to share what is that program?" CreationDate="2010-12-04T06:44:27.380" UserId="1946" />
  <row Id="5252" PostId="4531" Text="Meh, if you set up cpanm correctly, it installs the module in about 5 seconds." CreationDate="2010-12-04T09:30:50.673" UserId="1010" />
  <row Id="5253" PostId="4529" Text="Accepting this answer because it is a no-install solution." CreationDate="2010-12-04T09:31:49.223" UserId="1010" />
  <row Id="5254" PostId="4495" Score="1" Text="@ephemient maybe you should write an answer for pash... though I know nothing 'bout it, iirc, powershell is an OO shell." CreationDate="2010-12-04T10:10:30.390" UserId="29" />
  <row Id="5255" PostId="4473" Score="2" Text="What is that &quot;item&quot; thing at the end of the nohup command ? http://serverfault.com/questions/207593/using-nohup-on-solaris-10" CreationDate="2010-12-04T10:26:03.997" UserId="2594" />
  <row Id="5258" PostId="701" Text="@mattdm: I feel like such a newbie, for not having thought of that :) Thanks!" CreationDate="2010-12-04T12:57:12.520" UserId="272" />
  <row Id="5259" PostId="2780" Score="8" Text="I think another reason for the low level of viruses in Unix/Linux and Mac systems is the presence of global package management systems, with trusted repositories configured by default. Whereas for Windows go online to download software from direct malevolent vendors they find while googling, on a unix/linux/mac you use your internal software to browse a repository where new entries are scrutinized and removed if problems are noticed." CreationDate="2010-12-04T13:08:45.917" UserId="2965" />
  <row Id="5260" PostId="2780" Score="1" Text="Also, Windows being the land of the proprietary (though that happens on other platforms, I'm looking at you Mac OS), people tend to look for cracked software for this platform significantly more than for others. And going in dark alleys online is no different than going to dark alleys in real life: expect troubles. How can you trust a drug dealers to provide what they advertise? And in an unmodified form? So how can you trust cracked software dealers to provide what they advertise? And without the software being modified?" CreationDate="2010-12-04T13:10:10.753" UserId="2965" />
  <row Id="5261" PostId="607" Text="@Tshepang: well, the name of the thing really is Oracle VM VirtualBox now... So nothing wrong with that. @tooshel: Actually, I'd even suggest putting it in the title, as you want answers for this specific VM." CreationDate="2010-12-04T13:13:18.207" UserId="2965" />
  <row Id="5262" PostId="4518" Text="Except the OP really asked for Oracle VM VirtualBox from the start, and says he/she uses it because it's *good*, so I'd assume preliminary research has been done." CreationDate="2010-12-04T13:14:44.790" UserId="2965" />
  <row Id="5263" PostId="4532" Score="1" Text="and what's wrong with morsels and sex?! I'd work for that!" CreationDate="2010-12-04T14:03:42.220" UserId="2851" />
  <row Id="5264" PostId="4498" Text="Edited into the question." CreationDate="2010-12-04T14:26:25.293" UserId="131" />
  <row Id="5266" PostId="4486" Text="I know why i'm getting the error messages, because I deleted the whole pacman package database. I know the errors can be suppressed by using pacman -Sf to force overwriting the files. I don't want to do that, I want to make the package installed. The above answers do not seem to work for me. The -Sf option has overwritten my /etc/passwd and /etc/sysctl.conf files (which it has to do with -Sf). I just want to make pacman think that those packages are installed (which they are, only pacman does not know it)." CreationDate="2010-12-04T16:18:31.493" UserId="2909" />
  <row Id="5270" PostId="607" Text="@haylem I was actually complaining about this statement, *I know icky to use something owned by Oracle at this point but it really is good*." CreationDate="2010-12-04T19:05:42.687" UserId="688" />
  <row Id="5271" PostId="3325" Text="@wzzrd *Dwarfed on all counts*? Does `all` include number of users?" CreationDate="2010-12-04T19:11:22.117" UserId="688" />
  <row Id="5272" PostId="607" Score="1" Text="@Tshepang: opinions are not authorized on SO? I'm really asking, because I never noticed that people tip-toed around that here before. Doesn't disturb me. His question, his opinion. And I cannot blame him too much for it at the moment." CreationDate="2010-12-04T19:16:05.247" UserId="2965" />
  <row Id="5273" PostId="607" Score="2" Text="@hay How does that specific sentence add any value to the Question? It's more like *sorry 4 using software owned by what many consider to be Dark Lord, but can you help me anyways?* This is easily shortened to *Can you help me?*. This is no place for politics." CreationDate="2010-12-04T19:23:32.213" UserId="688" />
  <row Id="5274" PostId="607" Text="@Tshepang: It doesn't add value. And I really don't care. Like I said, it's an opinion. It won't hurt me either way. You are reading politics into it, that's your issue. Sources should be authoritative, impartial and apolitical. Questions can be whatever they want, as far as I am concerned. That's just me." CreationDate="2010-12-04T19:28:59.443" UserId="2965" />
  <row Id="5275" PostId="607" Text="@haylem I don't even see how it's an opinion at all." CreationDate="2010-12-04T20:05:30.927" UserId="688" />
  <row Id="5276" PostId="607" Text="@haylem Do you think a question like *I know you guys think Java sux, but can you guys help me with...* is okay on SO? This is similar to what OP asks. It's better to say *Can you guys help me with...*. Isn't it a goal of SE to ask great Questions. All I did here was to point that the Oracle part didn't add value, and you agree, but maintain that it doesn't matter." CreationDate="2010-12-04T20:12:11.217" UserId="688" />
  <row Id="5277" PostId="3325" Text="@Tshepang, I hope you do not actually believe that the amount of Ubuntu installs outnumbers Red Hat installs? I don't know where you have been the last couple of years, but where Canonical (I like them, don't get me wrong), still struggles to make money, Red Hat is actually a billion dollar company these days. Admittedly, I like Red Hat even better than Canonical, both professionally and personally." CreationDate="2010-12-04T20:14:31.260" UserId="272" />
  <row Id="5278" PostId="3325" Text="@wzz I don't have links, but I saw somewhere that Ubuntu and Linux Mint are the most popular distros out there. And I thought popularity translates into user numbers." CreationDate="2010-12-04T20:22:22.950" UserId="688" />
  <row Id="5279" PostId="4497" Text="@Gilles: re your addendum, this is one of the cool things about powershell which I hadn't thought about in relation to FUSE.  PowerShell uses the concept of 'providers' in a similar way." CreationDate="2010-12-04T23:45:20.453" UserId="479" />
  <row Id="5282" PostId="4495" Score="2" Text="Hey, you should check out [ipython](http://ipython.scipy.org/moin/).  If you enter an expression that doesn't make sense as python, it will try to map it to a shell command.  For example, stuff like `cd ~` followed by `ls` works as in Bash.  You can also assign output to Python variables (lists of lines . . sort of) with commands like `listing = !ls`." CreationDate="2010-12-05T03:42:54.110" UserId="1535" />
  <row Id="5283" PostId="4495" Text="@intuited: awesome, I'll check it out" CreationDate="2010-12-05T03:45:57.167" UserId="479" />
  <row Id="5284" PostId="4541" Text="[crossposted to Ask Ubuntu](http://askubuntu.com/questions/16251/diagnosing-xmodmap-errors)" CreationDate="2010-12-05T04:00:01.533" UserId="1535" />
  <row Id="5289" PostId="4509" Text="@shankar also is there some problem you're having with making the STL work? something you've already got, that you need to move forward on? e.g.. you have source and are trying `g++` but are getting errors..." CreationDate="2010-12-05T09:46:26.970" UserId="29" />
  <row Id="5290" PostId="4544" Score="1" Text="&quot;Come on guys grow up and don't try to fool the world !&quot; @Logic that last part is really not necessary, and is quite provocative." CreationDate="2010-12-05T09:53:10.773" UserId="29" />
  <row Id="5291" PostId="4541" Text="@intuited: Your bug looks the same as the one [discussed here](http://unix.stackexchange.com/q/4485/885) and reported to [Xorg](https://bugs.freedesktop.org/show_bug.cgi?id=20145) and [Ubuntu](https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/524774)." CreationDate="2010-12-05T17:54:22.743" UserId="885" />
  <row Id="5292" PostId="3598" Text="Surely it should be `xargs -I % curl …` (*xargs* option before `curl` and its options/arguments). At the very least `xargs curl -I %` (where `-I %` is meant as an option to *xargs*, not *curl*) is not portable." CreationDate="2010-12-05T18:04:08.747" UserId="1107" />
  <row Id="5293" PostId="4545" Score="2" Text="100% of your posts have offensive flags right now. I'm not generally a fan of deleting answers just because they're unhelpful, but you might want to tone it down a little" CreationDate="2010-12-05T18:15:54.217" UserId="73" />
  <row Id="5294" PostId="4547" Text="The first thing to look at is `ls -l /home/guest/nis1`. Are you sure that the NFS server, the NIS server and the client all have the same user ID for `nis1`?" CreationDate="2010-12-05T18:22:14.443" UserId="885" />
  <row Id="5295" PostId="4551" Text="this is exactly what I've been doing and it stops after downloading the first page.&#xA;On the recursive options box all radio boxes are selected and I cannot change anything.&#xA;Really annoyed with it. &#xA;" CreationDate="2010-12-05T18:23:15.110" UserId="1900" />
  <row Id="5296" PostId="3598" Text="@Chris, nice catch, tnx. fixed. " CreationDate="2010-12-05T19:59:30.270" UserId="1327" />
  <row Id="5297" PostId="4551" Text="there's a bug.I'm not alone then.Thanks for finding that" CreationDate="2010-12-05T20:10:51.600" UserId="1900" />
  <row Id="5298" PostId="4553" Score="4" Text="The very first thing to check is your RAM. Run [Memtest86+](http://www.memtest.org/) overnight." CreationDate="2010-12-05T22:39:58.280" UserId="885" />
  <row Id="5299" PostId="4536" Text="With GNU grep, `grep -e -o` (`-e` says &quot;next thing is the pattern no matter what it looks like) or `grep -- -o` (`--` means stop looking for switches) work too.  Of course feel free to use whatever works for you." CreationDate="2010-12-06T00:26:49.367" UserId="1779" />
  <row Id="5300" PostId="4553" Score="3" Text="@matcheek I do assume you mean you're having a kernel panic? have you looked for any error messages in `dmesg`? ++ ramtest" CreationDate="2010-12-06T01:05:40.800" UserId="29" />
  <row Id="5301" PostId="4557" Text="Hah, my first thought was to `xprop` stuff it in some property on the root window, but `xsel/xclip` selections make more sense." CreationDate="2010-12-06T02:54:59.257" UserId="1779" />
  <row Id="5302" PostId="4558" Text="Here's a walkthrough: http://adammonsen.com/post/256. You need `screen` as well as `rz`/`sz` on your local machine." CreationDate="2010-12-06T03:54:29.400" UserId="2881" />
  <row Id="5303" PostId="4552" Score="2" Text="This is not quite an answer to your question, but a &quot;solution&quot; to your problem; just copy the file to an easy to type location (cp &lt;file&gt; /tmp, and then in the other terminal scp host:/tmp/&lt;file&gt; .).  No need to remember difficult paths, or commands." CreationDate="2010-12-06T04:14:57.330" UserId="2150" />
  <row Id="5306" PostId="4552" Text="Apparently, using symlink instead of copying can save you some space if the file is not small enough." CreationDate="2010-12-06T06:18:48.767" UserId="1946" />
  <row Id="5307" PostId="4560" Score="2" Text="hwinfo is another nice utility and lm-sensors for temperatures." CreationDate="2010-12-06T07:54:22.303" UserId="2000" />
  <row Id="5308" PostId="4562" Score="1" Text="not bad... I'll double check it when I get off, I'm sure it works... unfortunately it's (`lshw`) not installed on the server, and I suspect the answer will be we're not installing it." CreationDate="2010-12-06T08:23:41.373" UserId="29" />
  <row Id="5309" PostId="4477" Text="Thanks for the hint with `actkbd`!  After posting my question, I already had figured out to use `xinput`, but I didn’t find out how I would re-enable the mouse by pressing mouse buttons." CreationDate="2010-12-06T10:12:19.180" UserId="2916" />
  <row Id="5310" PostId="2300" Score="2" Text="On what Operating System ? There is no standard command so anything would be more or less distribution specific." CreationDate="2010-12-06T10:40:46.047" UserId="2594" />
  <row Id="5311" PostId="4553" Text="I have to apologise to Fedora 13. My cd-rom drive is broken, so there's  a broken hardware issue, but.. should a faulty cd-rom justify kernel crash?" CreationDate="2010-12-06T10:43:06.153" UserId="1900" />
  <row Id="5312" PostId="4556" Text="i have only pwdx on my distribution" CreationDate="2010-12-06T11:15:11.773" UserId="1325" />
  <row Id="5313" PostId="4556" Text="for cd -P /proc/PID/cwd I get &quot;-bash: cd: /proc/PID/pwd: No such file or directory&quot; in the host system's terminal, should i be replacing PID with the PID of the running terminal on the system?" CreationDate="2010-12-06T11:32:54.830" UserId="1325" />
  <row Id="5314" PostId="4547" Text="Hi Gilles ,&#xA;&#xA;How can I check this ???&#xA;&#xA;Jack" CreationDate="2010-12-06T12:13:38.307" UserId="2914" />
  <row Id="5315" PostId="4561" Text="hrmph! I think this is a good question that should be [voted up](http://meta.unix.stackexchange.com/q/263/29) *this was just a friendly reminder to remind people to vote so we can get out of beta*" CreationDate="2010-12-06T12:49:20.587" UserId="29" />
  <row Id="5316" PostId="4553" Text="@matcheek justify? ... well maybe no... but it certainly could be the cause of your problem. any hardware problem (with perhaps the exception plug and play devices) can cause your kernel to crash. certainly the driver could possibly be more robust and prevent the crash... but you can't always rely on that." CreationDate="2010-12-06T12:52:36.747" UserId="29" />
  <row Id="5317" PostId="4541" Text="@intuited post the update as an answer?" CreationDate="2010-12-06T12:54:26.467" UserId="29" />
  <row Id="5318" PostId="2300" Text="@jiliargre I wouldn't say *distribution specific* but certainly OS, Linux and BSD probably greatly vary here." CreationDate="2010-12-06T12:56:08.227" UserId="29" />
  <row Id="5319" PostId="4556" Text="@Vass: Yes, the PID of the shell that you're trying to get information from, as stated in my answer." CreationDate="2010-12-06T14:59:34.310" UserId="382" />
  <row Id="5320" PostId="4563" Text="Ooo; that Rosetta Stone site is excellent" CreationDate="2010-12-06T15:22:05.107" UserId="73" />
  <row Id="5322" PostId="4486" Text="@Raymii I don't know much about pacman, but it sounds like you have a separate question. I'd just [ask again](http://unix.stackexchange.com/questions/ask?tags=arch-linux+package-manager+pacman), and say &quot;I tried all the answers from [this other question](http://unix.stackexchange.com/questions/1993), and I got these errors, how do I fix it?&quot;" CreationDate="2010-12-06T15:33:18.897" UserId="73" />
  <row Id="5324" PostId="4560" Text="@Patkos It seems `sudo hwinfo --short` is the equivalent, and it displays IMO prettier output. Unfortunately skips some interesting info (EG, it doesn't display HDD partition sizes)." CreationDate="2010-12-06T16:15:50.513" UserId="688" />
  <row Id="5325" PostId="4572" Score="2" Text="This seems completely subjective, unless I'm missing something. There should've even been a warning on the ask question page" CreationDate="2010-12-06T16:24:34.123" UserId="73" />
  <row Id="5326" PostId="4573" Score="2" Text="Have you tried http://kdiff3.sourceforge.net/?" CreationDate="2010-12-06T16:26:57.620" UserId="2150" />
  <row Id="5327" PostId="4572" Text="I'm not a huge fan of recommendation questions either, but we've been allowing them, so I rephrased this as a recommendation instead" CreationDate="2010-12-06T16:30:23.070" UserId="73" />
  <row Id="5328" PostId="3627" Text="+1 I like the bash for loop" CreationDate="2010-12-06T16:46:41.703" UserId="2567" />
  <row Id="5329" PostId="4573" Text="@kas I just tried now, and I noticed that it doesn't offer what I need from such a tool (check the __note__ I added to the Question)." CreationDate="2010-12-06T16:47:21.520" UserId="688" />
  <row Id="5330" PostId="4572" Text="@Michael OTOH I find the useful. Getting a recommendation is much better than searching what's available from the distro repos, read the description, and find you are using some beta software that's unstable and/or lacks features. It happened for me way too often, wasting my time." CreationDate="2010-12-06T16:50:25.760" UserId="688" />
  <row Id="5331" PostId="4572" Text="@Tshepang I know you do, you asked a [recommendation question](http://unix.stackexchange.com/questions/4573/what-gui-diff-viewer-would-you-recommend) at the same time :). I made them both CW but didn't close (as I said, we've historically been allowing them); if people want to vote to close they can" CreationDate="2010-12-06T16:56:57.453" UserId="73" />
  <row Id="5332" PostId="4573" Score="2" Text="@Tshepang: kdiff3 does allow for this. Mark a file &quot;merge from A to B&quot; and then begin the merge. You may choose, difference by difference, which parts to copy. Omit any that you don't want to copy. When satisfied hit Save. To copy the whole file just mark it as &quot;Copy A to B.&quot; You may need to reverse A and B, depending on which way you're actually copying." CreationDate="2010-12-06T17:09:29.200" UserId="2025" />
  <row Id="5333" PostId="4572" Text="@Michael I was more interested in why you are not *a huge fan*." CreationDate="2010-12-06T17:09:35.487" UserId="688" />
  <row Id="5334" PostId="4573" Text="@Sor You sure? I'm using version 0.9.95 and I don't find &quot;merge from A to B&quot;. I checked under `Merge` menu." CreationDate="2010-12-06T17:16:17.037" UserId="688" />
  <row Id="5335" PostId="4573" Text="@Tshepang: My version is 0.9.86, so perhaps the newer one is slightly different, but that said: If you are looking at the diff of two directories you should have a column called &quot;Operation&quot; from which you can select your merge operation for that file. If you're doing a merge of just two files and not scanning two directories then I don't know how to select the operation, because I never use kdiff3 this way." CreationDate="2010-12-06T17:27:46.227" UserId="2025" />
  <row Id="5336" PostId="3627" Score="1" Text="You've [fallen for one of the classic blunders](http://partmaps.org/era/unix/award.html#arg-max)!" CreationDate="2010-12-06T17:41:31.390" UserId="2025" />
  <row Id="5337" PostId="4572" Text="@Tshepang I don't think they're a good fit for SE sites; the SE engine is designed for questions with a single (or small number) of exact answers; recommendation questions have no wrong answer, they're essentially just polls" CreationDate="2010-12-06T17:53:10.767" UserId="73" />
  <row Id="5338" PostId="4573" Text="@Sor I was doing a diff of just 2 files, no wonder I wasn't seeing what you were seeing ;)" CreationDate="2010-12-06T17:54:30.593" UserId="688" />
  <row Id="5339" PostId="4573" Text="It still ought to be possible; consult the kdiff3 handbook." CreationDate="2010-12-06T17:55:15.523" UserId="2025" />
  <row Id="5340" PostId="4572" Text="@Michael Looking at [one example](http://unix.stackexchange.com/questions/3926/network-monitoring-tool) as an example, only one of the 4 Answers was actually correct." CreationDate="2010-12-06T17:57:07.377" UserId="688" />
  <row Id="5341" PostId="4572" Text="@Tshepang I'm not sure what was wrong with the other answers on that question, but finding a single example doesn't really matter. The point is this is entirely subjective; there is no &quot;best&quot; Linux distro for KDE, and you could theoretically recommend just about any Linux distro in existence. Normally questions should have a right answer, and it should be obvious (or at least verifiable) that an answer is right when you see it" CreationDate="2010-12-06T17:59:51.867" UserId="73" />
  <row Id="5343" PostId="4577" Text="Good hw == good speed :)" CreationDate="2010-12-06T18:13:54.347" UserId="2567" />
  <row Id="5344" PostId="4572" Score="1" Text="@Mic This Question, `best distro for KDE`, isn't a good Question at all. It's vague. It should have been more specifc, as in what is the OP actually interested in (EG: speed, large support base, minimal package selection) for it to be better, such that it's no longer a poll. That's what I strive to do (give specifics) when I ask these `software-rec` kind of questions." CreationDate="2010-12-06T18:20:16.163" UserId="688" />
  <row Id="5345" PostId="4572" Text="@Mic The other Answers didn't offer the top-like interface as I requested, and if they do, they didn't reply back when I queried." CreationDate="2010-12-06T18:21:56.440" UserId="688" />
  <row Id="5346" PostId="4561" Text="@xenoterracide: The original question didn't specify any particular unix variant, and hardware management is obviously highly variant-dependent." CreationDate="2010-12-06T18:51:49.617" UserId="885" />
  <row Id="5347" PostId="4572" Text="I post the question, take a walk for 30mn and I come and discover that my question's subject is totally forked because a moderator thinks my question is subjective. I'm not a KDE user, and because of that I asked a clear question looking for a good answer/recommendation based on peoples experience. Why putting me as a KDE user who is looking for a good KDE distro?! This is absurd." CreationDate="2010-12-06T19:13:03.587" UserId="2897" />
  <row Id="5348" PostId="4547" Text="@user2914: See [loopforever's answer](http://unix.stackexchange.com/questions/4547/4571#4571). Are the NFS server and the NIS server the same machine? If you have shell access to it, what does `getent passwd nis1` show there? Does it work if you mount the home directory manually?" CreationDate="2010-12-06T19:15:32.257" UserId="885" />
  <row Id="5349" PostId="4581" Text="Johan already did mention kUbuntu." CreationDate="2010-12-06T19:28:59.150" UserId="688" />
  <row Id="5350" PostId="4580" Text="Am curious what you mean by *I really didn't like its package management*." CreationDate="2010-12-06T19:38:45.050" UserId="688" />
  <row Id="5351" PostId="4575" Text="+1 for suggesting Kompare; It seems better than the Kdiff3, at least for my use." CreationDate="2010-12-06T19:40:54.080" UserId="688" />
  <row Id="5352" PostId="4572" Text="@Wassim Sorry if you think the edited version doesn't reflect what you were trying to ask, but the way you currently formatted the question (&quot;Which Linux distribution offers the best KDE experience?&quot;) is pretty much the definition of subjective. It's got a couple close votes already; I tried to fix it. I didn't change the question to say you were a KDE user; it said you were looking for distros one would recommend to a KDE user, which seems to be what you want" CreationDate="2010-12-06T19:47:03.747" UserId="73" />
  <row Id="5353" PostId="4578" Score="1" Text="Looks pretty much like python problem.  Why don't you post this to yum bugtracker?" CreationDate="2010-12-06T19:57:36.813" UserId="1946" />
  <row Id="5354" PostId="4572" Text="@Michael Mrozek: Sorry, but I think there are more appropriate ways to MODERATE a post. If the poster thinks the subject of his question is taken to another direction, then the Moderator is more SUBJECTIVE than the poster. Speaking of &quot;subjective&quot; questions: a lot of them just need to be subjective, we're not robots. I understand that the stuff here need the least posts possible with max relevance for max site performance, but as I said, lot of questions are just subjective and need subjective answers." CreationDate="2010-12-06T20:07:37.683" UserId="2897" />
  <row Id="5355" PostId="4572" Text="@Wassim You're too hung up on the diamond, none of this has anything to do with being a moderator; I have enough rep to [edit your post as a normal user](http://unix.stackexchange.com/privileges/edit). Subjective questions aren't [necessarily bad](http://blog.stackoverflow.com/2010/09/good-subjective-bad-subjective/), but this question is phrased poorly, as the ask question page would've told you while you were writing it. I'm not sure what your problem was with the edited version, but this version is probably going to end up getting closed, it's literally unanswerable" CreationDate="2010-12-06T20:13:51.607" UserId="73" />
  <row Id="5356" PostId="4572" Text="I didn't really anticipate starting an argument; I edited the question, it got some answers that seem to be on-track, and then you randomly reverted the edit. The edited version didn't seem to be throwing people off like you thought it would" CreationDate="2010-12-06T20:17:02.930" UserId="73" />
  <row Id="5357" PostId="4553" Text="This is a really stupid question. Even if this was a fedora problem, how are we supposed to know what to do without any kind of information? Stop blaming the software first. You shouldn't expect any random installation to work perfectly because your friend has a server that's been up for a year because it's probably running a very finely tuned version of fedora on known good hardware." CreationDate="2010-12-06T20:33:46.713" UserId="1571" />
  <row Id="5358" PostId="2300" Text="And Solaris, HP-UX, AIX, whatever too. That's what I meant." CreationDate="2010-12-06T20:34:41.243" UserId="2594" />
  <row Id="5359" PostId="4553" Score="4" Text="@Falmarri Well, I read it more as &quot;How do I debug random kernel crashes?&quot;, which is a good question" CreationDate="2010-12-06T20:34:41.597" UserId="73" />
  <row Id="5361" PostId="4585" Score="2" Text="`$()` is specified by POSIX, so it's also available in Dash, Ash, and others. Piping into `read` won't work in Bash." CreationDate="2010-12-06T22:07:42.833" UserId="382" />
  <row Id="5362" PostId="4570" Score="4" Text="@Vass: Better: `var4=$(echo ztemp.xml | cut -f1 -d '.')`. `$(…)` is mostly equivalent to ` \`…\` `, except that quoting inside backquotes is peculiar (and in particular nesting backquotes is not recommended), whereas quoting inside `$(…)` is unusually intuitive. Furthermore `$(…)` is more readable than ` \`…\` ` which is easily confused with `'…'` in many fonts. So if you're going to learn only one, learn `$(…)`." CreationDate="2010-12-06T22:25:52.113" UserId="885" />
  <row Id="5363" PostId="4579" Text="When I tried the emacs diff viewer I found that the buffers didn't scroll at the same time (in vimdiff they scroll so the related parts are next to one another all the time).  Do you know you to achieve this in emacs?" CreationDate="2010-12-06T22:43:20.867" UserId="2150" />
  <row Id="5364" PostId="4579" Text="@kasterma: `v`/`^` (`ediff-scroll-vertically`, going up or down depending on the key you press to invoke it) scrolls all the windows in parallel." CreationDate="2010-12-06T22:47:55.953" UserId="885" />
  <row Id="5365" PostId="4573" Text="What are the issues you've been having with meld?  Might help for  a rec. " CreationDate="2010-12-06T22:51:40.593" UserId="298" />
  <row Id="5366" PostId="4575" Score="1" Text="there is also diffuse: http://diffuse.sourceforge.net/manual.html" CreationDate="2010-12-06T22:52:08.503" UserId="298" />
  <row Id="5367" PostId="4574" Text="+1 - I like the fedora KDE spin." CreationDate="2010-12-06T23:46:01.797" UserId="1351" />
  <row Id="5369" PostId="4573" Text="@gabe There used to be an option which was accessible from right-click menu named `Copy file to Left/Right` (or something along those lines). I used this feature quite a lot, and I'm too lazy to investigate what happened." CreationDate="2010-12-07T00:02:43.513" UserId="688" />
  <row Id="5370" PostId="4589" Text="Note that `%s` and `date -r` are BSDisms (from the very early days, so they're on all BSD platforms). Don't expect to see them on System V platforms (e.g. Solaris has neither)." CreationDate="2010-12-07T00:09:02.720" UserId="885" />
  <row Id="5371" PostId="4589" Text="Ah, Solaris, how I love thee... (;" CreationDate="2010-12-07T00:14:59.780" UserId="298" />
  <row Id="5372" PostId="4575" Text="@gabe Added that lovely tool to the list." CreationDate="2010-12-07T00:18:18.020" UserId="688" />
  <row Id="5373" PostId="4561" Text="@gilles yeah I was at work when I wrote it, so I clarified after I got home and thought about it." CreationDate="2010-12-07T01:11:46.540" UserId="29" />
  <row Id="5374" PostId="4589" Text="@Gilles: Are you sure? Solaris has a multitude of bin directories, such as /usr/ucb/bin, that contain versions from other variations of unix. SunOS 4.X was BSD-based after all." CreationDate="2010-12-07T01:24:32.863" UserId="1078" />
  <row Id="5375" PostId="4580" Score="1" Text="It's been a while, so I don't remember all of the details, but dealing with *deb* files was definitely worse than *rpm* files as far as multilib stuff went, and the GUI programs that they had for managing packages were quite poor. At that point, I was used to YAST, which is pretty much the king of GUI package managers, so it was a definite downgrade. All around, it was just harder to deal with than what I was used to. Having messed with Gentoo and Arch since then, it might not be so bad now, but at the time, I really didn't like it. But I don't remember much in the way of details now." CreationDate="2010-12-07T01:30:06.483" UserId="2712" />
  <row Id="5376" PostId="4577" Text="Never had a problem with OpenSuse other than the fact it wasn't a rolling distro, so it didn't fit my style... but any other performance issues should seemingly affect any kde." CreationDate="2010-12-07T01:55:24.757" UserId="29" />
  <row Id="5377" PostId="4591" Text="Kubuntu is far from a vanilla KDE install. It is the reason why I switched to Arch: it was crippled with bad customized code (open office and firefox were horrible, although now it's fixed... until firefox 4 is released...). There are small bugs everywhere (e.g., Kate would never remember the files that were recently opened)." CreationDate="2010-12-07T01:57:27.757" UserId="1416" />
  <row Id="5378" PostId="4572" Text="@Michael where have we been allowing recommendations? I've seen us allowing well worded comparisons... I've allowed hardware questions... but I don't recall us allowing questions asking &quot;what is the best&quot;" CreationDate="2010-12-07T02:00:55.813" UserId="29" />
  <row Id="5379" PostId="4572" Text="@xeno I'm pretty strongly against &quot;what is the best&quot;, that's why I tried to edit it. General recommendation questions have been allowed though (&quot;well worded comparisons&quot;, as you put it)" CreationDate="2010-12-07T02:03:16.637" UserId="73" />
  <row Id="5380" PostId="4572" Text="as a note I'm all for closing unless someone words this better. from @michael's comments I think he is too.. this particular question doesn't for the most part ask for points that have seemed relevant to me when looking at a kde distro. performance, for example has been uniform for me on all kde distro's. Apps are pretty much the same (except gtk themes) " CreationDate="2010-12-07T02:03:53.987" UserId="29" />
  <row Id="5381" PostId="4591" Text="@Barthelemy I might be a little off on kubuntu and fedora as I haven't really used them. just trying to tell what I know" CreationDate="2010-12-07T02:05:06.717" UserId="29" />
  <row Id="5382" PostId="4572" Score="3" Text="@Wassim I'm going to close this if it isn't cleaned up by the time I get back to work, because I count this as 2 mods saying it should be closed. I suggest, using the following qualifiers and remove wording like &quot;best&quot;. Custom KDE/QT apps, backports, KDE devs employed or involved, skinning of gtk apps, you can have others.. but these are suggestions." CreationDate="2010-12-07T02:23:57.613" UserId="29" />
  <row Id="5383" PostId="4592" Score="1" Text="I doubt this is really window manager specific; the window manager mostly just manages windows. If you're using the WM to catch the hotkey and run the program that part is WM-specific, but you're really just looking for a program that lets you switch input methods so you can tell your WM to run it when you press a certain hotkey" CreationDate="2010-12-07T05:39:38.317" UserId="73" />
  <row Id="5384" PostId="4541" Text="@xenoterracide:  I don't really feel like I've gotten the answer though..  my question was intended to be more about how to figure out what's wrong than about how to fix it.  I still have pretty much zero clue how this stuff works, and just happened to stumble on a more specific set of reproduction  steps.  The most recent comment on the freedesktop issue mentions that there might be some work done towards a bug fix within the next couple of weeks; if there ends up being a patch or something I guess I'll post that as an answer." CreationDate="2010-12-07T05:42:58.767" UserId="1535" />
  <row Id="5385" PostId="4572" Text="@xeno: Well, you're the MAN, you have much rep to do what ever you want to do with my post." CreationDate="2010-12-07T06:50:08.243" UserId="2897" />
  <row Id="5386" PostId="4589" Text="This fails when any of the intervening days have more or less than 60*60*24 seconds, such as leap seconds and calendar changes." CreationDate="2010-12-07T07:01:11.567" UserId="2434" />
  <row Id="5387" PostId="4580" Text="Thanks for the response. I also agree that YaST was far more advanced (in terms of features) than anything the Debian world had to offer. You are likely not so inclined to go take another look, but I think you'll find Software Center quite good. I don't know about the multilib stuff." CreationDate="2010-12-07T07:05:15.527" UserId="688" />
  <row Id="5388" PostId="4575" Text="diffuse do have some nice svn knowledge out of the box, so you can more or less use it like &quot;svn diff&quot;." CreationDate="2010-12-07T07:39:19.537" UserId="2567" />
  <row Id="5389" PostId="4595" Text="Do you really want a picture inside the mp3/ogg file? Is that even supported by the file format (the id3 tag)? " CreationDate="2010-12-07T07:41:37.897" UserId="2567" />
  <row Id="5391" PostId="4593" Text="What do you really mean by 'target' and what's an 'RFS image'?" CreationDate="2010-12-07T07:48:47.313" UserId="1946" />
  <row Id="5392" PostId="4577" Text="+1 for openSUSE. Have used it for years and KDE has always been a first-class citizen in this distro, not an afterthought like some others. 64-bit support is also rock solid.  &#xA;@xenoterracide You might get your wish for rolling updates. See the openSUSE Tumbleweed announcement. http://lists.opensuse.org/opensuse-project/2010-11/msg00206.html" CreationDate="2010-12-07T07:49:51.463" UserId="487" />
  <row Id="5393" PostId="4593" Text="Target - means the custom board or platform other than the Host(my PC) RFS- Root File System which will be loaded prior to the full linux image." CreationDate="2010-12-07T08:11:04.780" UserId="2871" />
  <row Id="5394" PostId="4541" Text="@intuided ok. sorry wish I could be of more help, I haven't used `xmodmap` in years now." CreationDate="2010-12-07T09:27:16.770" UserId="29" />
  <row Id="5395" PostId="4595" Text="Yes it is supported. See your podcast of choice, a graphical tool to do that would be EasyTAG - http://easytag.sourceforge.net/" CreationDate="2010-12-07T10:32:27.937" UserId="678" />
  <row Id="5398" PostId="4572" Score="1" Text="@Wass Don't be so saddened. You might not be in total agreement, but at least the guys are explaining the reasons (it isn't always the case). Have a look at a [related issue](http://blog.stackoverflow.com/2010/09/good-subjective-bad-subjective/). It's a quality post on this sort of issue." CreationDate="2010-12-07T11:50:56.813" UserId="688" />
  <row Id="5400" PostId="4571" Text="#stat /home/guest/nis1                                                                                                                                    Access: (0777/drwxrwxrwx)  Uid: (  503/     nis1)   Gid: (  504/     nis1)&#xA;Access: 2010-12-06 16:35:37.000000000 +0545&#xA;Modify: 2010-12-04 14:50:00.000000000 +0545&#xA;Change: 2010-12-04 15:50:27.000000000 +0545&#xA;                                                  " CreationDate="2010-12-07T11:56:12.203" UserId="2914" />
  <row Id="5401" PostId="4571" Text="[root@station2 pest]# getent passwd nis1&#xA;nis1:$1$fUdoS4mo$gUwfCjH5jJT5cc9prleKv.:503:504::/home/guest/nis1:/bin/bash" CreationDate="2010-12-07T11:57:52.277" UserId="2914" />
  <row Id="5403" PostId="4571" Text="# mount -t nfs NFS_and_NIS_server:/home/guest/nis1 /home/guest/nis1                       --even after this, I got the same error...." CreationDate="2010-12-07T12:07:25.780" UserId="2914" />
  <row Id="5404" PostId="4596" Score="3" Text="What makes you think Firefox is storing them plain text?  Isn't there a master password to protect the password db?" CreationDate="2010-12-07T12:12:38.880" UserId="1946" />
  <row Id="5405" PostId="4584" Text="Thanks. Are the schedules of these flushes configurable? If so, how?" CreationDate="2010-12-07T12:23:36.577" UserId="2372" />
  <row Id="5406" PostId="4572" Score="2" Text="@wassim I've modified it to be better, so at least you'll be on target for what to look for, because there is no best. You have to know what you want. 2 kde's of exactly the same version should perform exactly the same regardless of distro, and thus their shouldn't be a difference. I tried to get more details out of people than just &quot;uh this distro has kde... and performs alright.&quot; to things that can be quantified and evaluated. consider adding more if you have other things you care about, like networking, or web browser etc." CreationDate="2010-12-07T12:37:12.310" UserId="29" />
  <row Id="5407" PostId="4593" Text="@Sen do me a favor and explain how this in ontopic on unix SE? this sounds much like a programming question... but... i really don't understand what you're saying enough to be 100% it's not on topic. are you cross compiling architectures? what are you compiling?" CreationDate="2010-12-07T12:49:02.663" UserId="29" />
  <row Id="5408" PostId="4601" Text="@Sen how is this not a duplicate of [your previous question](http://unix.stackexchange.com/q/4402/29) ?" CreationDate="2010-12-07T12:51:08.077" UserId="29" />
  <row Id="5409" PostId="4595" Text="&lt;3 easytag! but unfortunately I know of no other tool that can do it..." CreationDate="2010-12-07T12:54:46.560" UserId="29" />
  <row Id="5410" PostId="4601" Text="@xenoterracide :  Actually i was thinking like posting it on the same Qs, but thought will post it separate Qs as it can be discussed in detail." CreationDate="2010-12-07T13:05:24.450" UserId="2871" />
  <row Id="5411" PostId="4596" Text="@stranger is browser integration a requirement? or do you just want storage? also what desktop environment?" CreationDate="2010-12-07T13:20:45.393" UserId="29" />
  <row Id="5412" PostId="4603" Text="Ooooh, great tip!" CreationDate="2010-12-07T13:29:41.490" UserId="1974" />
  <row Id="5414" PostId="4605" Text="Thanks Shawn, The problem is like we are in the requirements Analysis state and we dont have the boards with us right now. I was just trying to think it out of the box, and was trying to see if somebody have come across such a scenario." CreationDate="2010-12-07T13:59:44.517" UserId="2871" />
  <row Id="5415" PostId="8405" Text="Could you please clarify - did you receive these errors when attempting to boot the new kernel or when attempting to compile the kernel? If the latter, was the compilation performed from within a running system or from an alternate environment such as a live cd?" CreationDate="2010-12-07T14:05:25.367" UserId="2701" />
  <row Id="5416" PostId="4553" Text="I second @Gilles comment: Check your RAM. If you already did, *check it again*..." CreationDate="2010-12-07T14:17:17.660" UserId="1974" />
  <row Id="5417" PostId="4569" Text="@Michael Mrozek you forgot to fix the spelling of &quot;varialbe&quot; when you edited ;-)" CreationDate="2010-12-07T14:19:28.173" UserId="1974" />
  <row Id="5418" PostId="4536" Text="You can also just type: `man mount`, and then you can use `/-o` to search for and highlight all instances of &quot;-o&quot;" CreationDate="2010-12-07T14:21:57.157" UserId="1974" />
  <row Id="5419" PostId="8405" Text="@Tok: obvious enough he got that when booting the new kernel." CreationDate="2010-12-07T14:24:03.150" UserId="1946" />
  <row Id="5420" PostId="8405" Score="1" Text="@pusp: Does your system normally uses initrd when booting the kernel?  If so, you probably need to rebuild that too." CreationDate="2010-12-07T14:25:34.960" UserId="1946" />
  <row Id="5422" PostId="4553" Text="@Falmarri: look at xenoterracide first comment to see what a helpful comment looks like. This is how I found the error messages included in the question. Now, look at your comment and you can tell the difference." CreationDate="2010-12-07T14:57:00.797" UserId="1900" />
  <row Id="5423" PostId="4569" Text="@Josh Oh, didn't even notice. Thanks" CreationDate="2010-12-07T15:06:42.390" UserId="73" />
  <row Id="5425" PostId="4601" Text="The first one talked about superblocks, dentries, etc. This one talks about page caches and dentry caches. Assuming those are different, this does seem to be a distinct question; I don't actually know anything about them though" CreationDate="2010-12-07T15:10:00.217" UserId="73" />
  <row Id="5426" PostId="4593" Text="I think he's asking how to build a Linux kernel over NFS and flash it onto a board when the board first starts, which I'd definitely call on-topic. Assuming I understood the question correctly" CreationDate="2010-12-07T15:11:37.267" UserId="73" />
  <row Id="5427" PostId="4586" Text="And use `${var4%%.*}` to exactly match the original behavior for strings with multiple dots (e.g. `foo.xml.gz`)." CreationDate="2010-12-07T16:28:45.677" UserId="1107" />
  <row Id="5428" PostId="4569" Text="@Michael I miss my SO editing privs on here :-)" CreationDate="2010-12-07T16:58:43.073" UserId="1974" />
  <row Id="5429" PostId="4569" Text="@Josh Yeah, editing is always the thing I miss having on SE sites" CreationDate="2010-12-07T17:13:37.940" UserId="73" />
  <row Id="5430" PostId="4610" Score="1" Text="Maybe those blue peaks were there from the beginning, and you just didn't pay attention? That you also went on a trip, maybe your system collected dust, meaning maybe your fans are clogged or somesuch." CreationDate="2010-12-07T17:39:10.873" UserId="688" />
  <row Id="5431" PostId="4618" Text="It's just that the default behavior of the `X` button is to hide. I agree that it's stupid, but it's a result of the &quot;Your macbook knows better than you&quot; mentality. Some windows and linux programs do the same thing, but in general, `X` means close." CreationDate="2010-12-07T18:54:33.957" UserId="1571" />
  <row Id="5432" PostId="4132" Text="[This](http://osr507doc.sco.com/en/OSTut/graphics/kernel.gif) is the image in my mind for the shell metaphor." CreationDate="2010-12-07T19:00:30.817" UserId="3000" />
  <row Id="5433" PostId="4618" Text="Sometimes a default behavior has a reason, even historical that doesnt makes sense. I would like to know it." CreationDate="2010-12-07T19:03:50.620" UserId="2689" />
  <row Id="5434" PostId="4589" Text="@camh: There doesn't seem to be a `/usr/ucb/date` on either OpenSolaris or older 2.x Solaris releases. There is `/usr/gnu/bin/date`. But neither the BSD utilities nor the GNU utilities are guaranteed to be installed. If you're going to rely on nonstandard components, perl is a safer bet (if you find it, you know it'll work)." CreationDate="2010-12-07T19:05:19.810" UserId="885" />
  <row Id="5435" PostId="4589" Score="1" Text="@Sparr: Good point. A safe approach is to subtract the current time of day from the current absolute date, and add 12*60*60. This returns a time-of-day between 10:59 and 13:01. Adding 24-hour periods to this and obtaining the corresponding date is safe." CreationDate="2010-12-07T19:06:58.683" UserId="885" />
  <row Id="5436" PostId="4602" Text="Yes, that may be the case with my distro as well (Darwin/BSD). At there is this &quot;Last login: Tue Dec  7 16:10:04 on ttys000&quot; message each time I fire up a new Terminal frame." CreationDate="2010-12-07T19:22:23.500" UserId="2493" />
  <row Id="5437" PostId="4595" Score="1" Text="For mp3, the [mutagen](http://pypi.python.org/pypi/mutagen) python library supports APIC (example: http://www.mydigitallife.co.za/index.php?option=com_myblog&amp;show=1046123&amp;Itemid=29). I don't know of a command line tool that does; if you know python you could write a simple wrapper." CreationDate="2010-12-07T19:45:04.017" UserId="885" />
  <row Id="5438" PostId="4619" Text="thanks, i hope that the hard disk problem is not too bad, will it grow or get worse, should I be worried?" CreationDate="2010-12-07T19:49:37.630" UserId="1325" />
  <row Id="5439" PostId="4623" Text="Beware that the part you quoted is ok, but the guide also recommends setting an environment variable in `.bashrc`, which is wrong (see my answer and in particular http://superuser.com/questions/217431)." CreationDate="2010-12-07T20:50:01.190" UserId="885" />
  <row Id="5440" PostId="4623" Text="Thanks for so detailed info... :) I've never used that .bashrc part - settings in `env.d` are more universal." CreationDate="2010-12-07T21:00:28.647" UserId="2661" />
  <row Id="5441" PostId="4619" Score="1" Text="@Vass: The filesystem was made read-only due to a disk error. Look in `/var/log/kern.log` for disk error messages (more info: http://superuser.com/questions/207100/207248#207248). You can partially assess your hard drive's health with `smartctl` (more info: http://superuser.com/questions/171195). It probably needs changing. If you were thinking of [this](http://unix.stackexchange.com/q/3143/885) regarding a “yesterday” directory, that was a site-specific backup setup." CreationDate="2010-12-07T21:16:53.903" UserId="885" />
  <row Id="5443" PostId="4618" Score="1" Text="I think historically it closes the window, but it doesn't quit the application. I don't know for sure why but I suspect it's rooted in the time before Macs had virtual memory and real application switching, you could close windows, possibly free some memory but not make opening a new one slow(er)." CreationDate="2010-12-07T21:58:39.423" UserId="1612" />
  <row Id="5445" PostId="4623" Text="Also it is per system instead of per-user. I prefer to keep system settings separate from user settings." CreationDate="2010-12-07T22:47:23.150" UserId="305" />
  <row Id="5446" PostId="4619" Score="1" Text="@Vass: Yes, you should. Disks have some amount of spare/redundant blocks it may use if others fail. Anyway - the backup is must-have whatever state of your drive is." CreationDate="2010-12-07T22:52:09.090" UserId="305" />
  <row Id="5447" PostId="4621" Text="@Maciej: Is your `.profile` not loaded at all, or is something else overwriting the locale variables? (Try setting some other variable like `export MACIEJ_PROFILE=yes` to make sure. `set -x` in `.profile` may be a good way to check what is being executed in and after `.profile`, if it's read at all.) There is no point in sourcing `.profile` from `.zshrc`." CreationDate="2010-12-07T23:40:36.797" UserId="885" />
  <row Id="5448" PostId="4621" Text="@Maciej: Is this a problem in terminal windows or elsewhere? Do you get your desired locale settings when you run `ssh localhost zsh`? What about `ssh localhost bash`? If bash is ok but not zsh, maybe you put something in `/etc/zshenv` or `~/.zshenv` (which is pretty much always a bad idea)." CreationDate="2010-12-08T00:02:51.997" UserId="885" />
  <row Id="5449" PostId="4619" Text="You should install Dropbox and save all your stuff there. It's a great way to back up to the cloud." CreationDate="2010-12-08T01:09:30.307" UserId="1571" />
  <row Id="5450" PostId="4619" Text="matlab is code right... go `git` + http://github.com ftw?" CreationDate="2010-12-08T02:04:08.820" UserId="29" />
  <row Id="5451" PostId="4593" Text="@Michael ah.. I'm just checking, like I said I didn't understand the question enough to make a call." CreationDate="2010-12-08T02:05:16.323" UserId="29" />
  <row Id="5452" PostId="4601" Text="I suppose they are... though close... I should stop inquiring when I'm dead tired :P" CreationDate="2010-12-08T02:06:35.623" UserId="29" />
  <row Id="5453" PostId="4618" Score="12" Text="When an application always has only a single (main) window (e.g. *System Preferences*), closing it (either *File* &gt; *Close*, Command+W, or the per-window red X in the upper-left) quits the application (being “done with” the window means you are “done with” the application since there is only one window). Applications that can have more than one main window do not quit when the last window is closed. The application stays open so you can use (e.g.) *File* &gt; *New…* (or *File* &gt; *Open…*) to open a new window without having to quit and restart the application." CreationDate="2010-12-08T02:33:05.157" UserId="1107" />
  <row Id="5454" PostId="3327" Text="I would compare some of the benefit of open source to, say, reducing the cost of gasoline: with gas, a result would be more people driving more cars more places.  With operating systems, the result is more people writing more software and running more servers and cell phones and so on.  The net result may be that less money is spent on operating systems, overall, but nobody's end goal is jacking up the costs. (Except maybe the legion of dead UNIX companies...)" CreationDate="2010-12-08T02:52:23.890" UserId="614" />
  <row Id="5455" PostId="4593" Text="@Michael: Yup, you are right.. that was one of the requirements i was thinking of.. " CreationDate="2010-12-08T04:40:57.797" UserId="2871" />
  <row Id="5458" PostId="4636" Score="1" Text="For what purpose?  In other words, what are you trying to run in Wine?" CreationDate="2010-12-08T06:30:24.360" UserId="1779" />
  <row Id="5459" PostId="4640" Text="Thanks ephemient, I would like to know what you meant by &quot;ramdisk is a set of blocks&quot;. How is this treated as a block device once it has been copied?" CreationDate="2010-12-08T06:35:22.487" UserId="2871" />
  <row Id="5460" PostId="4640" Text="@Sen: There is a `rd` module (later renamed to `brd`, and may be built into the kernel), which allocates a bunch of memory, creates a block device, and maps requests to/from the block device into read/writes in memory." CreationDate="2010-12-08T06:40:27.123" UserId="1779" />
  <row Id="5461" PostId="4641" Text="That fine...But i want to know which option is specifically given to build it as *.ko like -c for *.o , or -fpic -shared for *.so for gcc.." CreationDate="2010-12-08T07:01:33.680" UserId="2269" />
  <row Id="5462" PostId="4634" Text="What is the GNOME version on your Debian system?  I couldn't find any Nautilus/GNOME plugin on my Ubuntu system which provides this, so probably it's just built-in into newer versions." CreationDate="2010-12-08T07:06:15.893" UserId="1946" />
  <row Id="5463" PostId="4640" Text="@ephemient: Can you give me some more idea about this rd / brd module?" CreationDate="2010-12-08T07:10:36.447" UserId="2871" />
  <row Id="5464" PostId="4640" Text="@ephemient: i would also like to know that if i have created a ramdisk image by following these steps : mke2fs -vm0 /dev/ram 4096;&#xA;  mount -t ext2 /dev/ram /mnt;&#xA;  cd /mnt;&#xA;  cp /bin, /sbin, /etc, /dev ... files in mnt;&#xA;  cd ../;&#xA;  umount /mnt;&#xA;  dd if=/dev/ram bs=1k count=4096 of=ext2ramdisk;  &#xA;How will i boot this ext2ramdisk in my device? Just loading it to the ram, will that work?" CreationDate="2010-12-08T07:13:14.277" UserId="2871" />
  <row Id="5465" PostId="2770" Text="@tshepang, I've no idea why I accepted that. Actually I don't think I would have... Anyway, acceptance awarded to highest rated answer. Which happens to be what I used in the end." CreationDate="2010-12-08T07:14:57.990" UserId="1945" />
  <row Id="5468" PostId="4619" Text="I have poor man solution (I cannot afford cloud solutions) by having 1TB external harddrive and daily `dar`'s of /home LVM snapshot. Sure - it does not protect against fire etc. but at least it protects against hardware failure." CreationDate="2010-12-08T11:25:28.930" UserId="305" />
  <row Id="5469" PostId="4646" Score="2" Text="I suspect you'll get a better response from Stack Overflow." CreationDate="2010-12-08T11:28:39.050" UserId="688" />
  <row Id="5470" PostId="4645" Score="1" Text="It looks for me like kernel error (i.e. it returns errno -34) or networkmanager (i.e. it checks errno variable when it shouldn't). " CreationDate="2010-12-08T11:37:07.943" UserId="305" />
  <row Id="5471" PostId="4621" Text="No the shell is working OK (before and after split). The problem is that `gnome-session` does not have this variebles set." CreationDate="2010-12-08T11:39:11.217" UserId="305" />
  <row Id="5472" PostId="4628" Text="`.xsession` was the file I was looking for." CreationDate="2010-12-08T11:45:06.227" UserId="305" />
  <row Id="5473" PostId="4058" Text="just got this fixed by checking all available NLS and codepages :)" CreationDate="2010-12-08T12:36:11.467" UserId="250" />
  <row Id="5475" PostId="4614" Text="I tried changing this variable around but it doesn't seem to make any difference. BTW how do you disable the script managing?" CreationDate="2010-12-08T14:17:30.143" UserId="250" />
  <row Id="5476" PostId="2215" Text="Funny I always thought it was called &quot;shebang&quot; because you put it in there and, *SHEBANG!!! The file can now be executed!!*" CreationDate="2010-12-08T14:18:38.373" UserId="1974" />
  <row Id="5477" PostId="2272" Text="Very good point. I was gong to comment that I always say &quot;dash&quot; myself but after reading your answer, I realized this is the exception. In this case I would say &quot; *C* *H* mod minus x script dot *S* *H* &quot;" CreationDate="2010-12-08T14:20:34.473" UserId="1974" />
  <row Id="5478" PostId="2232" Text="**-1** for &quot;hyphen&quot;. I never call it that ;-)  (Actually saying hypen doesn't make sense, a hyphen is used in-between two words)" CreationDate="2010-12-08T14:22:29.260" UserId="1974" />
  <row Id="5479" PostId="2307" Text="&quot;soo dough&quot;? As in, `sudo make me some dough so you can bake bread for my sandwich` ?" CreationDate="2010-12-08T14:24:50.773" UserId="1974" />
  <row Id="5480" PostId="4618" Text="@Chris yours should be an answer, it makes the most sense to me" CreationDate="2010-12-08T16:01:04.443" UserId="250" />
  <row Id="5481" PostId="4640" Text="@Sen: The bootloader is responsible for loading both the kernel and the init(rd|ramfs) into RAM; see your bootloader's documentation.  But even if you're building it by hand (why??) you should use `find /bin /sbin /etc /dev ... | cpio -o | gzip -c &gt; initramfs` instead of initrd." CreationDate="2010-12-08T16:18:00.490" UserId="1779" />
  <row Id="5482" PostId="4654" Score="1" Text="This is a sourced script, not an executed script. `$0` simply contains &quot;bash&quot; for an interactive shell, and that's all the sourced script sees." CreationDate="2010-12-08T16:32:11.557" UserId="2376" />
  <row Id="5483" PostId="4653" Text="And note that `source` searches in `$PATH` if the given name doesn't contain a `/`. The search order depends on shell options, refer to the manual for details." CreationDate="2010-12-08T19:09:04.227" UserId="885" />
  <row Id="5485" PostId="4649" Text="This is exactly the same situation as [NIS and autofs error](http://unix.stackexchange.com/questions/4547/nis-and-autofs-error), down to the example user name. Do you have a problem with account association, is this homework, are you both following the same tutorial, or what?" CreationDate="2010-12-08T19:15:32.360" UserId="885" />
  <row Id="5486" PostId="4653" Text="So, something like `mydir=&quot;$(cd &quot;$(dirname &quot;$BASH_SOURCE&quot;)&quot;; pwd)&quot;` would work?" CreationDate="2010-12-08T19:36:47.840" UserId="614" />
  <row Id="5487" PostId="4658" Text="Wow, that's exactly what I was looking for, and I can barely find any reference to it in the documentation. Way to know your stuff." CreationDate="2010-12-08T19:42:28.733" UserId="2376" />
  <row Id="5488" PostId="4653" Text="@pbm: Thanks, a quick and helpful answer. Dennis wins the green check mark for giving a tcsh answer too. @Gilles: Right, I did find that in the documentation. Fortunately for my use case I almost certainly don't have to worry about it." CreationDate="2010-12-08T19:46:05.363" UserId="2376" />
  <row Id="5489" PostId="4637" Text="@Igor: Welcome to Stack Exchange. This is a [questions and answers](http://unix.stackexchange.com/faq) site. Since you have a new question, use the “Ask Question” button. Remove this answer since it's not actually answering the question." CreationDate="2010-12-08T19:51:38.947" UserId="885" />
  <row Id="5490" PostId="4657" Text="Awesome, thanks!" CreationDate="2010-12-08T20:06:01.190" UserId="3009" />
  <row Id="5491" PostId="3042" Text="This did exactly what I asked for. However I believe that ZFS with dedup will eventually be the way to do, since I did find that the files had slight differences so only a few could be hardlinked." CreationDate="2010-12-08T20:13:17.660" UserId="1974" />
  <row Id="5492" PostId="3049" Text="This is probably the way I'll go eventually, however, does BSD's ZFS implementation do dedup? I thought it did not." CreationDate="2010-12-08T20:14:12.353" UserId="1974" />
  <row Id="5493" PostId="4614" Score="1" Text="By removing `/etc/init.d/net.wlan0` and `/etc/init.d/net.eth0` (both are only symlinks to ``/etc/init.d/net.lo` so don't worry)." CreationDate="2010-12-08T21:33:55.397" UserId="305" />
  <row Id="5494" PostId="4641" Text="I don't think gcc have such option. Either *.ko is just another name for *.a/*.so or (what is more probable) it is postprocessed by some script." CreationDate="2010-12-08T22:17:09.617" UserId="305" />
  <row Id="5495" PostId="4661" Text="I've just recompiled the kernel with an initramfs image built-in. It still doesn't work, but I think I have a chance of getting it to work. Thanks." CreationDate="2010-12-08T22:39:05.170" UserId="2996" />
  <row Id="5496" PostId="4662" Text="Using wireshark, I can see that it's not sending packets to the right address or broadcasting DHCP requests, but I can't capture directly from the device because I don't have a hub. I do have a serial console that's working-- I'll give the initramfs approach a try. Thanks for the suggestions." CreationDate="2010-12-08T22:40:48.787" UserId="2996" />
  <row Id="5498" PostId="4665" Text="I know that StackOverflow or ServerFault might be better places to ask this, but I'm trying to help this site get started! :-)" CreationDate="2010-12-08T22:50:14.230" UserId="1974" />
  <row Id="5499" PostId="4641" Score="2" Text="@Renjith G: Exactly how a `.ko` is made may change from kernel release to kernel release, and the only way to make sure you work with the kernel is to use the kernel's Makefiles." CreationDate="2010-12-08T22:54:00.470" UserId="1779" />
  <row Id="5500" PostId="4667" Score="1" Text="I'd say that it is more of stackoverflow question." CreationDate="2010-12-08T23:26:05.347" UserId="305" />
  <row Id="5501" PostId="4666" Text="The problem is, I don't have the source code for the program so I can't add `setrlimit` and I'm spawning it through PHP so I don't have a shell..." CreationDate="2010-12-08T23:31:23.807" UserId="1974" />
  <row Id="5502" PostId="4666" Score="1" Text="@Josh: If you're looking for a construct analogous to `time php /cgi/foo.php`, you can use `bash -c 'ulimit -t 42; exec &quot;$0&quot; &quot;$@&quot;' php /cgi/foo.php`." CreationDate="2010-12-08T23:40:07.137" UserId="885" />
  <row Id="5504" PostId="4641" Text="Then can u explain me the meaning of each sentence in the above make file?" CreationDate="2010-12-09T03:56:16.973" UserId="2269" />
  <row Id="5505" PostId="4674" Text="I guess most popular archivers for Windows - like WinRAR - have no such option." CreationDate="2010-12-09T04:06:56.820" UserId="305" />
  <row Id="5506" PostId="4680" Score="2" Text="Please clarify: are you saying that you want your DHCP server to only answer requests from clients with known MAC addresses?  Do you need this to work with ISC dhcpd (shipped with RHEL), or are you willing to try a third-party server if that's what's needed to make this work?  Also, why are you doing this?  If it's for security, it's not going to help much; it's way too easy to defeat." CreationDate="2010-12-09T07:30:17.323" UserId="138" />
  <row Id="5507" PostId="4614" Text="nice, I'll try that" CreationDate="2010-12-09T12:27:31.337" UserId="250" />
  <row Id="5508" PostId="2770" Text="whats with all this thinking?" CreationDate="2010-12-09T12:41:13.117" UserId="1945" />
  <row Id="5509" PostId="4684" Text="Hi Shawn J. Goff,                                                                                  please I have clarify my problem in &quot;2 Answer&quot;      PLZ check it and let me know??" CreationDate="2010-12-09T12:45:02.133" UserId="2914" />
  <row Id="5511" PostId="4681" Text="vote up [good questions and answers](http://meta.webapps.stackexchange.com/questions/710/what-does-voting-mean-and-why-is-it-important) to help get us [out of beta](http://meta.unix.stackexchange.com/questions/263/beta-progress-importance-of-reputation-and-voting)" CreationDate="2010-12-09T12:49:48.870" UserId="29" />
  <row Id="5512" PostId="4682" Score="2" Text="note: add `-r` to sort, if you want the big ones at the top" CreationDate="2010-12-09T12:52:40.833" UserId="29" />
  <row Id="5513" PostId="4682" Score="2" Text="There's no `sort -h` on, eg OS X.  Is that a GNU extension?" CreationDate="2010-12-09T12:55:50.347" UserId="1946" />
  <row Id="5514" PostId="4676" Score="2" Text="vote up [good questions and answers](http://meta.webapps.stackexchange.com/questions/710/what-does-voting-mean-and-why-is-it-important) to help get us [out of beta](http://meta.unix.stackexchange.com/questions/263/beta-progress-importance-of-reputation-and-voting)" CreationDate="2010-12-09T12:57:43.157" UserId="29" />
  <row Id="5515" PostId="4663" Score="1" Text="vote up [good questions and answers](http://meta.webapps.stackexchange.com/questions/710/what-does-voting-mean-and-why-is-it-important) to help get us [out of beta](http://meta.unix.stackexchange.com/questions/263/beta-progress-importance-of-reputation-and-voting)" CreationDate="2010-12-09T12:58:47.633" UserId="29" />
  <row Id="5516" PostId="4664" Score="1" Text="vote up [good questions and answers](http://meta.webapps.stackexchange.com/questions/710/what-does-voting-mean-and-why-is-it-important) to help get us [out of beta](http://meta.unix.stackexchange.com/questions/263/beta-progress-importance-of-reputation-and-voting)" CreationDate="2010-12-09T12:59:25.977" UserId="29" />
  <row Id="5517" PostId="4670" Score="1" Text="@tshepang what is your current memory usage? and what kinds of applications are you running? ones that will use more memory if they have it? e.g. postgres" CreationDate="2010-12-09T13:06:18.657" UserId="29" />
  <row Id="5518" PostId="4666" Text="@Josh apache? also I think this stuff can be set system wide..." CreationDate="2010-12-09T13:10:22.510" UserId="29" />
  <row Id="5519" PostId="2776" Text="@hop maybe instead of giving a useless answer xfig and give links." CreationDate="2010-12-09T13:21:01.397" UserId="29" />
  <row Id="5521" PostId="2772" Text="+1 for including a link" CreationDate="2010-12-09T13:37:19.017" UserId="29" />
  <row Id="5522" PostId="4603" Text="@pbm by any chance does that kwallet extension exist for chrome do you know?" CreationDate="2010-12-09T13:42:44.507" UserId="29" />
  <row Id="5523" PostId="4682" Text="On Ubuntu 10.04, the `-h` is also non-existant." CreationDate="2010-12-09T14:32:31.980" UserId="252" />
  <row Id="5524" PostId="4603" Text="I'm not even sure if it is possible - as I know Chrome API for extensions is less advanced that Firefox API..." CreationDate="2010-12-09T14:34:41.103" UserId="2661" />
  <row Id="5525" PostId="4666" Text="@xenoterracide yes it's Apache, but I only want to limit this one process, not all apache processes. Gilles' bash oneliner may work great!" CreationDate="2010-12-09T14:59:45.413" UserId="1974" />
  <row Id="5526" PostId="4682" Text="What \*nix *is* this present on? I don't think I've ever seen it." CreationDate="2010-12-09T15:14:24.270" UserId="2376" />
  <row Id="5527" PostId="4682" Text="It's on my Arch system." CreationDate="2010-12-09T15:19:36.577" UserId="2180" />
  <row Id="5528" PostId="4682" Text="On CentOS 5.5, the -h is also non-existent. " CreationDate="2010-12-09T15:25:19.703" UserId="195" />
  <row Id="5529" PostId="4682" Score="1" Text="It's in GNU Core Utilities since Aug 2009: http://savannah.gnu.org/patch/?func=detailitem&amp;item_id=2565 &#xA;The original patch was submitted in Feb 2004" CreationDate="2010-12-09T15:29:22.313" UserId="2180" />
  <row Id="5530" PostId="4670" Text="@xeno __top__ claims that I'm having 200MB RAM available, and 1.6GB cached. That's roughly when I'm running __Windows VirtualBox__, __Firefox__, and 3 Java apps (__Eclipse__, __Oracle SQL Developer__, and __Mule__)." CreationDate="2010-12-09T15:46:03.663" UserId="688" />
  <row Id="5532" PostId="2774" Score="2" Text="-1, lazy, unspecific and essentially useless as a stackexchang answer." CreationDate="2010-12-09T15:52:21.540" UserId="1974" />
  <row Id="5533" PostId="622" Score="2" Text="+1 for &quot;Laugh at their impending disconnection (this step is optional, but encouraged)&quot;" CreationDate="2010-12-09T15:57:53.970" UserId="1974" />
  <row Id="5534" PostId="2774" Text="@hop: http://meta.unix.stackexchange.com/questions/203/rejecting-obvious-questions/207#207 (and I'm sure the topic's been discussed a lot more on http://meta.stackoverflow.com/)" CreationDate="2010-12-09T18:31:10.513" UserId="885" />
  <row Id="5535" PostId="4680" Score="1" Text="@Warren: considering user2914's posting history, this is homework. @user2914: Homework questions are ok here (at least they're ok on Stack Overflow and I don't see why this site should be different), but you shouldn't try to hide it, that won't help you get better replies (it's usually obvious anyway and seeing that you tried to hide it makes people less willing to help you)." CreationDate="2010-12-09T18:32:43.977" UserId="885" />
  <row Id="5536" PostId="4684" Score="1" Text="@user2914: If you learn anything here, learn to read a man page. The answer to your question is in the paragraph just below the example Shawn quoted." CreationDate="2010-12-09T18:33:38.047" UserId="885" />
  <row Id="5537" PostId="4675" Score="1" Text="@mlschechter: There are different implementations of cron. Debian and Ubuntu ship with Vixie Cron (3.0), and the handling of `cron.d` is described in its [man page](http://manpages.ubuntu.com/manpages/lucid/man8/cron.8.html). RHEL ships with ISC cron 4.1 (a fork of the same project), and the man page (at least [on CentOS](http://grisha.biz/cgi-bin/man?query=cron&amp;sektion=8&amp;manpath=CentOS+release+5.3+%28Final%29&amp;format=html)) doesn't mention `cron.d`." CreationDate="2010-12-09T18:40:27.587" UserId="885" />
  <row Id="5539" PostId="2215" Score="3" Text="at least we no longer call the # symbol &quot;pound&quot;. I like octothorpe 'cos then I can pronounce C# as cock-toe-thorpe which annoys the MS fanbois for some reason :)" CreationDate="2010-12-09T19:29:18.480" UserId="2851" />
  <row Id="5540" PostId="4690" Text="Is there a BIOS setting to control boot order? Fiddling with it might solve your problem. Otherwise try running `grub-install`, perhaps after writing the [device map](http://www.gnu.org/software/grub/manual/grub.html#Device-map) (I don't know what would work offhand). [Boot Info Script](http://sourceforge.net/projects/bootinfoscript/) may help your diagnosis, [more about it](http://ubuntuforums.org/showthread.php?t=1291280)." CreationDate="2010-12-09T19:29:49.833" UserId="885" />
  <row Id="5541" PostId="4690" Text="I have tried all possible boot order variations in the BIOS; none affects the error 21 outcome.  The device map should only be relevant to legacy systems, but that boot info script may be useful, thanks." CreationDate="2010-12-09T19:33:43.383" UserId="3019" />
  <row Id="5542" PostId="4695" Text="This is a great comment. (But should have been posted as such ;-)" CreationDate="2010-12-09T20:04:01.980" UserId="1974" />
  <row Id="5543" PostId="4681" Score="1" Text="I knew I'd [seen this before](http://serverfault.com/questions/62411/how-can-i-sort-du-h-output-by-size). The [highest-voted answer there](http://serverfault.com/questions/62411/62412#62412) isn't very good, [but](http://serverfault.com/questions/62411/62428#62428) [others](http://serverfault.com/questions/62411/62418#62418) [are](http://serverfault.com/questions/62411/62422#62422) [better](http://serverfault.com/questions/62411/62522#62522)." CreationDate="2010-12-09T20:11:43.493" UserId="885" />
  <row Id="5544" PostId="4671" Text="Seems like I want rpm2cpio, and I use Mac Ports, but unfortunately [rpm2cpio is not availalbe in macports](http://www.macports.org/ports.php?by=name&amp;substr=rpm2cpio). Maybe I'll try one of these alternatives." CreationDate="2010-12-09T20:39:58.203" UserId="4" />
  <row Id="5545" PostId="4671" Text="@Stefan: Isn't the `rpm2cpio` utility in the `rpm` port? If not try the script." CreationDate="2010-12-09T20:48:24.010" UserId="885" />
  <row Id="5546" PostId="4674" Text="From my perspective 'archiver' refers to single-purpose tools like `/usr/bin/tar`, `cpio`, etc." CreationDate="2010-12-09T21:01:02.187" UserId="4" />
  <row Id="5547" PostId="4671" Text="@Giles : So it is, under `/opt/local/bin/rpm`! The PATH in my old environment must have been messed up." CreationDate="2010-12-09T21:09:03.027" UserId="4" />
  <row Id="5548" PostId="3353" Text="@Gustavo: Ext[n] supports sparse files." CreationDate="2010-12-09T21:27:53.750" UserId="2969" />
  <row Id="5549" PostId="3353" Text="All Linux's native filesystems support sparse files; in general, sparse files are a feature found in all UNIX filesystems." CreationDate="2010-12-09T21:31:46.073" UserId="1779" />
  <row Id="5550" PostId="4694" Text="I'd like to add that the Ad-hoc mode seems to have bugs on any system I tried (Ubuntu, Gentoo, Windows XP, Windows Vista, Windows 7) and it takes 15 minutes if I'm lucky to set it up each time (multiply networks with different securities etc.). Current kernels seems to have problem with setting WPA2 WiFi network. Not that there is alternative..." CreationDate="2010-12-09T21:38:01.640" UserId="305" />
  <row Id="5551" PostId="4672" Text="But a 64-bit kernel has problems of its own, such as compatibility. I suggest you try out the different options and see which one feels best." CreationDate="2010-12-09T22:03:34.497" UserId="2969" />
  <row Id="5552" PostId="4699" Text="Actually isn't you're missing step posted? I.e. just after 'Just for reference, here's my file list so far:'?" CreationDate="2010-12-09T22:29:13.667" UserId="305" />
  <row Id="5554" PostId="4694" Text="@Maciej Were you using NetworkManager?" CreationDate="2010-12-09T22:34:41.037" UserId="688" />
  <row Id="5555" PostId="4682" Score="1" Text="This feature is included with GNU Coreutils 7.5+. Ubuntu 10.04 ships with [coreutils 7.4](http://packages.ubuntu.com/lucid/coreutils), but [Maverick includes 8.5](http://packages.ubuntu.com/maverick/coreutils)." CreationDate="2010-12-09T22:42:30.673" UserId="4" />
  <row Id="5556" PostId="4694" Score="1" Text="@Tshepang: On Gentoo &amp; Ubuntu yes. Part of my troubles are described on https://bugzilla.gnome.org/show_bug.cgi?id=635189 . " CreationDate="2010-12-09T22:47:11.613" UserId="305" />
  <row Id="5557" PostId="2215" Text="@gbjbaanb that makes the C# language even more dirty than it already is!" CreationDate="2010-12-09T23:14:32.140" UserId="1974" />
  <row Id="5558" PostId="4699" Text="@Maciej: Good point, I hadn't thought of that way of interpreting the question, but matching the capabilities of the busybox executable with the initramfs generation is a good idea anyway." CreationDate="2010-12-09T23:28:16.477" UserId="885" />
  <row Id="5559" PostId="4700" Text="In the OP's case, `busybox --help` is likely to only result in `busybox: cannot execute binary file`... Most embedded development is cross-compiling, we know pingswept is compiling for arm, and he's probably compiling on i386 or amd64." CreationDate="2010-12-09T23:29:30.953" UserId="885" />
  <row Id="5560" PostId="4700" Text="Yes, that is actually true. I can run busybox --help once I boot the kernel on the ARM board. That's useful, but it doesn't help so much with generating the initramfs image." CreationDate="2010-12-09T23:41:00.190" UserId="2996" />
  <row Id="5561" PostId="4700" Text="@Gilles: I assumed that someone who cross-compiles kernel did think about and, for example, run in the emulator. @pingswept: Possibly above list will help." CreationDate="2010-12-10T01:17:43.090" UserId="305" />
  <row Id="5562" PostId="4682" Text="So that probably means it's not in rhel 6 either... we won't see it on production systems for at least 10 years... ugh" CreationDate="2010-12-10T02:18:53.123" UserId="29" />
  <row Id="5563" PostId="4707" Score="3" Text="Indeed you are in THE correct place this time :)" CreationDate="2010-12-10T03:56:12.843" UserId="250" />
  <row Id="5564" PostId="4704" Text="That is actually what I am doing: booting off GRUB off the USB and then having it boot the ISO. I updated my question so it was clearer." CreationDate="2010-12-10T05:33:05.340" UserId="3023" />
  <row Id="5565" PostId="4645" Text="@Mac I updated the log lines. I think I selected wrong ones last time." CreationDate="2010-12-10T07:19:48.020" UserId="688" />
  <row Id="5566" PostId="4706" Text="Is there a way to have rpm display owners of a file without providing a full path? You wanna add a note to that effect?" CreationDate="2010-12-10T07:27:43.517" UserId="688" />
  <row Id="5567" PostId="4700" Text="@Maciej: At work, our automated build environment doesn't have access to an emulator. I think this the norm in embedded development." CreationDate="2010-12-10T08:26:08.547" UserId="885" />
  <row Id="5568" PostId="4696" Text="I've had the same problem. I just attached an USB dvd-drive (empty), and then my USB drive worked. " CreationDate="2010-12-10T09:31:44.097" UserId="252" />
  <row Id="5570" PostId="3066" Text="@forkul linking breakage probably. or bugs." CreationDate="2010-12-10T10:25:00.753" UserId="29" />
  <row Id="5571" PostId="4696" Text="Right now the USB is multi-boot. It has a lot of administration &amp; security tools on it. It can also install several Operating Systems, but I can't get this to work. As an FYI, the same problem is present for people who want to install windows 7 off a USB. You have to actually copy the files to the USB &amp; boot off those. Once GRUB boots the ISO, its CDROM drivers are lost." CreationDate="2010-12-10T10:45:48.163" UserId="3023" />
  <row Id="5573" PostId="4720" Text="I will give it a try. Thanks a lot. But it seems to lack support for ogg-files." CreationDate="2010-12-10T12:49:00.620" UserId="678" />
  <row Id="5574" PostId="4718" Score="1" Text="So I can't mention template toolkit?" CreationDate="2010-12-10T12:52:42.767" UserId="29" />
  <row Id="5575" PostId="4718" Text="Of course, if you think that's the best way to go.  I just want to make sure that I'm not missing something better." CreationDate="2010-12-10T13:10:49.447" UserId="2827" />
  <row Id="5576" PostId="4706" Text="@Tshepang: I think you should be able to add `--queryformat '%{NAME}'` to accomplish that, but I haven't tested it myself. I can do a quick test and update this after work, though. In the meantime, you might find the info here useful: http://www.rpm.org/max-rpm/s1-rpm-query-parts.html" CreationDate="2010-12-10T14:25:32.693" UserId="1020" />
  <row Id="5577" PostId="4724" Score="2" Text="This question is probably better on ServerFault since the question is mostly about how to extract the lease information from Windows. It has much less to do with the fact that you want to do it in Perl on a Linux box. In fact, I'd bet you need at least some code on the Windows box to do the extracting." CreationDate="2010-12-10T14:44:54.540" UserId="2180" />
  <row Id="5578" PostId="4713" Score="3" Text="This is a general technique that you can use with any command. The shell will repeat the argument, replacing the brace expression with each item in the list. It's called [brace expantion](http://www.gnu.org/software/bash/manual/bashref.html#Brace-Expansion)" CreationDate="2010-12-10T15:04:36.900" UserId="2180" />
  <row Id="5579" PostId="4709" Text="When I get home, I will definitely try Bootchart. I lied, though, as the system just finished compiling last night, so I'll have to *really* get it running in the next few days. I found TinyX (which is what I was looking for, as I can't figure out what XOrg modules I really need), but the website was down... Oh well, but thank you very much!" CreationDate="2010-12-10T15:22:09.443" UserId="3032" />
  <row Id="5580" PostId="4717" Text="Thanks! I'm trying to do it myself, as I've never really gotten a fully usable LFS system running, but I've played with DLS before. I'm actually trying to build a ChromeOS clone that is not made with SuSEStudio (the one from chromium.org is), and is a bit smaller than 600MB ;) My goal is &gt; 50MB, as DSL includes a ton of other software, but I'm only installing OpenBox, Chrome, and a custom-built Thunar (and some other goodies, of course). Thanks!" CreationDate="2010-12-10T15:23:22.763" UserId="3032" />
  <row Id="5581" PostId="4703" Text="Just as a start, do you even have the required codecs/decoders installed? It took me a while to figure out that Ubuntu 10.10 couldn't play MP3's out-of-the-box..." CreationDate="2010-12-10T15:25:02.200" UserId="3032" />
  <row Id="5582" PostId="4703" Text="@Blender I'm not sure... how would I check?" CreationDate="2010-12-10T15:29:30.837" UserId="1974" />
  <row Id="5583" PostId="4703" Text="I posted the required package. Try that." CreationDate="2010-12-10T15:30:02.087" UserId="3032" />
  <row Id="5584" PostId="4727" Text="I &lt;3 the CLI! -- running `apt-get` now, will post back shortly!" CreationDate="2010-12-10T15:30:51.553" UserId="1974" />
  <row Id="5585" PostId="4727" Text="Lol, CLI is always more pleasing that a progress bar. Also, look here for all of the restricted format stuff: https://help.ubuntu.com/community/RestrictedFormats. The Ubuntu help center is quite useful for quick troubleshooting." CreationDate="2010-12-10T15:32:47.297" UserId="3032" />
  <row Id="5586" PostId="4727" Text="Sadly I installed that package, but Rhythmbox still skips 95% of the files in my library. :-( I'll check out the link you provided later. Thanks!" CreationDate="2010-12-10T15:40:41.860" UserId="1974" />
  <row Id="5587" PostId="4727" Text="Aww. I'll research some more, and see what I can dig up. Sorry!" CreationDate="2010-12-10T15:42:51.843" UserId="3032" />
  <row Id="5588" PostId="4729" Text="Ouch. What kind of source mods? I don't think running `2.6.36.2` (latest stable) would make this any easier... I'm a bit confused: isn't XFree86 the predecessor of X11? It says on the site that X provides an API for applications, while XFree86 does not. I hope this won't hamper the performance of my OS..." CreationDate="2010-12-10T16:31:57.433" UserId="3032" />
  <row Id="5589" PostId="4729" Text="BLFS has some documentation on XFree86, and it too requires some significant source mods. At least it can be done, so I will post back if I get it running. Meanwhile, I'll see what else I can dig up. Thanks!" CreationDate="2010-12-10T16:35:51.687" UserId="3032" />
  <row Id="5590" PostId="2232" Text="Wait, but why would Windows use `-`? Whenever I switch to Windows (and sadly, it occurs), I always get yelled at because only a handful of programs actually use `-` to delimit arguments. Windows uses `/`, which is even more fun (actually, I don't even remember. Maybe it's `{forward slash}`). Command Prompt--." CreationDate="2010-12-10T16:39:40.357" UserId="3032" />
  <row Id="5591" PostId="4707" Score="2" Text="Now, might I ask, why is there a separate Ubuntu-based Stack Exchange site? I think they should merge with this site, because AFAICT, Ubuntu *should* be considered Linux/Unix, but I'm not too sure ;) If not, get ready for GentooOverflow and FedoraOverflow!" CreationDate="2010-12-10T16:43:50.837" UserId="3032" />
  <row Id="5592" PostId="1739" Score="5" Text="`There is no place like ~` is so much better than [`There is no place like 127.0.0.1`](http://www.thinkgeek.com/tshirts-apparel/unisex/generic/5d6a/) which makes no sense..." CreationDate="2010-12-10T17:14:27.667" UserId="1974" />
  <row Id="5593" PostId="2406" Score="1" Text="or, to put it in less inflammatory words: proprietary users tend to see a single, de-facto, pronunciation of terms as used by the original developer, whereas OSS devs see a wide ecosystem  of contributions from many users, cultures and historical references." CreationDate="2010-12-10T18:12:52.243" UserId="2851" />
  <row Id="5594" PostId="4728" Text="Please ask `how do I package my final build` separately?" CreationDate="2010-12-10T18:18:41.473" UserId="688" />
  <row Id="5595" PostId="4729" Score="3" Text="@Blender: XFree86 is an implementation of X11 (the former de facto standard on free unices). Xorg is another; it branched off XFree86 a few years ago and quickly supplanted it. The respective Wikipedia articles have more background." CreationDate="2010-12-10T18:19:31.597" UserId="885" />
  <row Id="5596" PostId="4719" Text="@Tshepang: Show us what make command you ran (`make all-am`?) and the full output from that command. And put a link to the source you downloaded. " CreationDate="2010-12-10T18:32:11.190" UserId="885" />
  <row Id="5597" PostId="4707" Score="3" Text="@Blender: This merge was considered and rejected. Look in the two sites' Meta for the history." CreationDate="2010-12-10T18:35:01.577" UserId="885" />
  <row Id="5599" PostId="2232" Text="@Blender it's slash!!! ehh, I am mainly Windows, but I like to use pretty much every OS from time to time. This question came up in the popular list so I just thought I would answer it!" CreationDate="2010-12-10T19:09:19.317" UserId="1886" />
  <row Id="5600" PostId="4725" Text="Should this be migrated to http://askubuntu.com/?" CreationDate="2010-12-10T19:59:39.513" UserId="1390" />
  <row Id="5601" PostId="4724" Text="So you think there is no program or script to do this from Linux? Adding software on the Windows box is possible, but I really don't want to." CreationDate="2010-12-10T21:01:55.097" UserId="3023" />
  <row Id="5602" PostId="4737" Text="Please add a link to the SU question, in case someone eventually answers there. And link back, for the symmetric reason." CreationDate="2010-12-10T21:11:45.820" UserId="885" />
  <row Id="5603" PostId="4736" Text="Did you have any prior problems with the database? Did you recently upgrade rpm or yum? Is your RAM or hard disk failing (disk: check the kernel logs; RAM: you'll generally experience other data corruption and crashes)? Did your machine or the utility recently crash in the middle of an rpm or yum operation? Is the disk full or has it been full recently?" CreationDate="2010-12-10T21:14:17.407" UserId="885" />
  <row Id="5604" PostId="4738" Score="2" Text="What do you mean by &quot;bash completion tutorial&quot;? Please explain." CreationDate="2010-12-10T21:14:25.753" UserId="2000" />
  <row Id="5605" PostId="4739" Text="If the program produces a lot output, it's long-running, therefore sending to a pipe is a bad idea. If there's nothing listening on the pipe, this will block the program, or kill it due to a broken pipe. So when you pipe the program's output, you promise that the program you're piping into will live forever. That's not a tenable assumption here, where the program you're piping into is dependent on an ssh connection in a terminal on a client machine." CreationDate="2010-12-10T21:18:17.900" UserId="885" />
  <row Id="5607" PostId="4729" Text="XFree86 hasn't been updated in a long time, and doesn't support most recent hardware." CreationDate="2010-12-10T21:27:20.133" UserId="146" />
  <row Id="5609" PostId="4743" Text="Thank you, that was awesome!" CreationDate="2010-12-10T21:48:31.343" UserId="670" />
  <row Id="5610" PostId="3974" Text="For some follow up, it seems to of been from a corrupt installation (bad CD drive), which caused DHCP to fail, which caused it to lockup on &quot;Determining IP information&quot;. Skipping it seemed to work for a little while, but it always froze later. A reinstall with another CD drive worked. " CreationDate="2010-12-10T22:16:44.810" UserId="2630" />
  <row Id="5611" PostId="4746" Text="So Bash will expand the wildcard to a list of all the matching files? " CreationDate="2010-12-10T22:42:58.213" UserId="2630" />
  <row Id="5612" PostId="4720" Text="You're right. I've updated the answer, but the ogg solution isn't as clean." CreationDate="2010-12-10T23:14:11.243" UserId="3038" />
  <row Id="5613" PostId="4742" Text="I doubt if this will work, because the problem lies in the fact that Ubuntu server edition tries to check the installation source from the CD drive, no matter how it is booted." CreationDate="2010-12-10T23:15:51.333" UserId="250" />
  <row Id="5614" PostId="4746" Score="1" Text="Yes.  To see this yourself, try this old hack for working around a broken/missing `ls` command: `echo /path/to/sql/files/*.sql`" CreationDate="2010-12-10T23:21:44.823" UserId="138" />
  <row Id="5615" PostId="4746" Text="@Warren Nice, this works perfectly! Thanks for pointing this out. I have no idea bash did this" CreationDate="2010-12-10T23:41:22.553" UserId="2630" />
  <row Id="5616" PostId="4728" Text="Okay, I will. I hope I don't look like I'm spamming this place to death with my questions..." CreationDate="2010-12-10T23:43:35.083" UserId="3032" />
  <row Id="5617" PostId="4729" Text="Hmm, I really would like to implement my 9800GT, as it does give me a huge performance boost by taking a load off of my processor... So I guess XFree86 is out of the game, huh?" CreationDate="2010-12-10T23:45:12.727" UserId="3032" />
  <row Id="5618" PostId="4696" Text="This is probably a debian issue. Debian can't install from a usb drive, and the ubuntu server edition probably uses debian install stuff." CreationDate="2010-12-10T23:57:32.383" UserId="1571" />
  <row Id="5619" PostId="4707" Score="3" Text="I've found the ubuntu site is a lot more about gnome programs and user interface stuff. Here your answer will almost certainly be a terminal command." CreationDate="2010-12-10T23:59:11.990" UserId="1571" />
  <row Id="5620" PostId="4694" Text="@Maciej: I've never really had any good experience with ad-hoc mode either, but meh." CreationDate="2010-12-11T00:04:48.317" UserId="1571" />
  <row Id="5621" PostId="4738" Text="the explanation is needed on the word &quot;tutorial&quot;, what do you actually need?" CreationDate="2010-12-11T00:26:25.737" UserId="250" />
  <row Id="5622" PostId="4645" Score="1" Text="@Tshepang: Ok. Now it looks like hardware/firmware(microcode)/kernel error. Probably either hardware or firmware. The NM does not notice the restart - hence the error." CreationDate="2010-12-11T00:40:44.477" UserId="305" />
  <row Id="5623" PostId="4675" Text="@Gilles: Thanks for the pointers. I'm using Fedora, which has Cronie installed (also a fork of Vixie/ISC Cron). The man page does mention `/etc/cron.d` as being one one of the search paths. I apologize if there wasn't enough detail in my answer - I'm reasonably sure that this should apply to Red Hat as well. Please let me know if that's not the case" CreationDate="2010-12-11T03:14:23.857" UserId="327" />
  <row Id="5625" PostId="4707" Text="take a look at busybox for one thing" CreationDate="2010-12-11T03:20:43.900" UserId="479" />
  <row Id="5626" PostId="4602" Text="An empty .hushlogin file in your ~ dir will hide any motd and the message I mentioned in my prev. comment above." CreationDate="2010-12-11T03:28:34.440" UserId="2493" />
  <row Id="5629" PostId="4738" Score="1" Text="@Tshepang: I guess you mean you want to learn how to write bash completion routines?  Using bash completion is pretty easy, you just hit the `tab` key." CreationDate="2010-12-11T04:45:28.620" UserId="1535" />
  <row Id="5630" PostId="4747" Text="I'm building off of a LFS install + Xorg, Python, and Google Chrome. Nothing fancy." CreationDate="2010-12-11T04:47:20.973" UserId="3032" />
  <row Id="5631" PostId="4747" Text="It used GCC, Python, etc. to build, but they are now obsolete for my purposes." CreationDate="2010-12-11T04:47:58.147" UserId="3032" />
  <row Id="5633" PostId="4738" Score="8" Text="You may want to check out the link I provide in my answer here: http://unix.stackexchange.com/questions/1800/custom-autocomplete" CreationDate="2010-12-11T05:45:55.737" UserId="1207" />
  <row Id="5635" PostId="4648" Text="On my Ubuntu PC it is at /usr/share/applications/mount-archive.desktop" CreationDate="2010-12-11T07:09:30.133" UserId="2973" />
  <row Id="5637" PostId="4743" Score="1" Text="`reset` is also useful for general terminal issues besides disabled echo" CreationDate="2010-12-11T08:03:25.580" UserId="73" />
  <row Id="5638" PostId="4736" Text="@Gilles Probably because I kept on killing yum when it was doing it's package metadata downloads. Also, I'm running this on a VM, so maybe yum got confused with the messed-up dates." CreationDate="2010-12-11T08:37:04.353" UserId="688" />
  <row Id="5639" PostId="4732" Text="The command for that is `apt-get build-dep libcanberra`. Anyways, I did run it and still got the same problem. BTW my problem got fixed later on by... who knows. I wish I could pinpoint what the trouble was :(" CreationDate="2010-12-11T08:44:34.170" UserId="688" />
  <row Id="5641" PostId="4735" Text="In my case I cannot start the application on the server with screen approach.Yes, application must have its own output in the terminal. I cannot stop and restart the application." CreationDate="2010-12-11T09:02:16.413" UserId="3003" />
  <row Id="5642" PostId="4739" Text="Yes, it is a long-running program which writes debug messages in a terminal. When some problem is reported then I need via ssh to connect to server and should be able to catch the latest messages in the terminal for problem resolution" CreationDate="2010-12-11T09:06:50.390" UserId="3003" />
  <row Id="5643" PostId="4696" Text="The real issue is that the grub drivers are being replaced when any other OS boots. I need to be able to tell ubuntu to use the ISO as the cdrom." CreationDate="2010-12-11T10:11:12.013" UserId="3023" />
  <row Id="5644" PostId="4742" Text="Exactly. The 10.10 live edition seems to know that it uses the ISO, but the server edition doesn't." CreationDate="2010-12-11T10:15:40.810" UserId="3023" />
  <row Id="5648" PostId="4719" Text="@Gilles: `make all` IMHO juging on last lines." CreationDate="2010-12-11T11:27:28.017" UserId="305" />
  <row Id="5649" PostId="4675" Text="@mlschechter: After looking into it, this is precisely a Red Hat-specific question (see my answer). It's so Red Hat-specific that even CentOS is different, and Fedora is probably different as well (but I haven't checked)." CreationDate="2010-12-11T12:13:18.217" UserId="885" />
  <row Id="5650" PostId="4753" Text="@Luke: Since you're clarifying your question and not answering it, please edit your question, and delete this answer." CreationDate="2010-12-11T12:23:22.167" UserId="885" />
  <row Id="5651" PostId="4753" Text="@Luke: If the server is not started in a special way, what is its output connected to? A physical terminal? If you don't have the permission to start the program, you probably don't have the permission to access that terminal either, otherwise you could type into it and start the program. Maybe if you describe very precisely what the program is and how it's started someone will find a way for you to see the output, but the way you've described it so far, it looks like you're not supposed to be able to see it." CreationDate="2010-12-11T12:26:53.270" UserId="885" />
  <row Id="5652" PostId="4750" Text="2000 results in a Google search isn't what I'd call hype. At least one of the authors has a likely-looking email address." CreationDate="2010-12-11T12:32:58.787" UserId="885" />
  <row Id="5653" PostId="4725" Text="Oh didn't know there was a stackexchange site particularly for Ubuntu. Thanks!" CreationDate="2010-12-11T12:58:33.247" UserId="3040" />
  <row Id="5654" PostId="4725" Score="1" Text="@kzh: Some of us don't understand why there's both, and feel that Ubuntu questions are perfectly welcome here as well..." CreationDate="2010-12-11T13:07:51.810" UserId="1974" />
  <row Id="5655" PostId="2910" Text="Wow, you just scared the crap out of me, and I think I need to spend the next 4 days re-writing a lot of shell scripts in native code instead! ;-)" CreationDate="2010-12-11T13:16:25.550" UserId="1974" />
  <row Id="5656" PostId="4753" Text="Right Gilles....Let me add more info." CreationDate="2010-12-11T13:35:33.013" UserId="3003" />
  <row Id="5657" PostId="4734" Text="@Luke: Ok, I see the situation better now. I'd still like to know more. The reason you can't change the launcher is more usability than security, right? Do you have root access to the machine, or only access as the user running the application? Is the application running on a text console, or in a terminal emulator under X (you mention that it's graphical)? Can you make changes to `/etc` or `/usr` if it turns out to be useful? Do you need a history of all messages, are you ok with the last few before you connected, or is it enough to see the new messages from after you ssh'ed in?" CreationDate="2010-12-11T13:51:12.180" UserId="885" />
  <row Id="5658" PostId="2910" Text="@Josh: Secure setuid shell scripts are possible, but only if the both the shell implementer and the script writer are very careful. Rather than native code, I recommend Perl, where the implementers have taken care that setuid scripts should be secure with little effort on the script writer's part." CreationDate="2010-12-11T13:52:43.860" UserId="885" />
  <row Id="5659" PostId="4734" Text="there are some deployed servers which is almost impossible to change the launcher now.I have root access when customer temporary gives me ssh connection for maintenance (setting firewall, open vpn, etc). Application runs under X. I can take any changes in the server but I need special customer authorization to stop the running application. This is a big problem. It is a security tool. I would need, let us say the last 50-100 messages before I connect. " CreationDate="2010-12-11T14:07:20.050" UserId="3003" />
  <row Id="5660" PostId="4750" Text="@Gilles I guess my bias was following [Planet GNOME](http://planet.gnome.org/)." CreationDate="2010-12-11T14:07:38.383" UserId="688" />
  <row Id="5661" PostId="4737" Text="Sure - edited on both sides..." CreationDate="2010-12-11T15:18:08.563" UserId="3045" />
  <row Id="5662" PostId="4707" Text="I was looking a `busybox`, but I first have to get my tiny X server running, as that takes up the most space. Thanks!" CreationDate="2010-12-11T16:55:58.923" UserId="3032" />
  <row Id="5663" PostId="4738" Text="so this will become a duplicate I guess" CreationDate="2010-12-11T16:56:42.713" UserId="250" />
  <row Id="5665" PostId="4759" Score="2" Text="[Similar question at Super User](http://superuser.com/questions/163182/command-line-tool-to-search-phrases-in-large-number-of-pdf-files)" CreationDate="2010-12-11T17:25:27.730" UserId="885" />
  <row Id="5666" PostId="4763" Text="Debian hasn't adopted Upstart." CreationDate="2010-12-11T17:54:25.493" UserId="688" />
  <row Id="5667" PostId="4750" Text="@Gilles BTW **hotwire-shell** is just the official name. It was more commonly know as **hotwire**." CreationDate="2010-12-11T18:07:54.027" UserId="688" />
  <row Id="5668" PostId="4763" Text="I was under the impression they were moving to upstart.  I removed the reference to debian, but kept the upstart script since someone might find it useful anyway." CreationDate="2010-12-11T18:28:46.293" UserId="1207" />
  <row Id="5669" PostId="4763" Score="1" Text="I updated it with examples using plain old init scripts." CreationDate="2010-12-11T18:44:06.197" UserId="1207" />
  <row Id="5670" PostId="4765" Text="[cross-posted to askubuntu](http://askubuntu.com/questions/16982/p-key-doesnt-work-in-x)" CreationDate="2010-12-11T18:46:43.590" UserId="1535" />
  <row Id="5671" PostId="4750" Score="1" Text="@Tshepang: By the way, hotwire would be a good answer for [Object-oriented shell for *nix](http://unix.stackexchange.com/q/4495/885), if it's reached a usable state." CreationDate="2010-12-11T20:04:12.620" UserId="885" />
  <row Id="5672" PostId="4765" Score="1" Text="That output on `xev` when you press `p` is due to a focus change. As you've just realized, you've inadvertently defined `p` as a window manager (or xbindkeys or other X keyboard shortcut utility) shortcut with no apparent effect. The event is intercepted before `xev` can see it." CreationDate="2010-12-11T20:50:47.693" UserId="885" />
  <row Id="5673" PostId="4764" Text="@Gilles The Ubuntu links for poppler-utils in your answer are pointing to &quot;NAME&quot;." CreationDate="2010-12-11T22:52:03.370" UserId="1299" />
  <row Id="5674" PostId="4575" Text="found another one:  http://furius.ca/xxdiff/" CreationDate="2010-12-12T00:22:57.737" UserId="298" />
  <row Id="5675" PostId="4758" Text="Wait... X11 apps must support drag and drop, yet xcalc *cannot* do it? Is xcalc an exception or the rule????" CreationDate="2010-12-12T03:23:07.897" UserId="1375" />
  <row Id="5676" PostId="4758" Text="It's coded into the app from what I can tell. It's a really painful process to support drag and drop, as I tried it with my QT application." CreationDate="2010-12-12T04:48:08.493" UserId="3032" />
  <row Id="5677" PostId="4726" Text="Unfortunately it doesn't work for me. :/ The authentication window just pops up again." CreationDate="2010-12-12T06:38:23.973" UserId="3040" />
  <row Id="5679" PostId="4771" Score="1" Text="See also [Why is Wayland better?](http://askubuntu.com/q/11537/1059) and more generally [Wayland questions at Ask Ubuntu](http://askubuntu.com/questions/tagged/wayland)." CreationDate="2010-12-12T14:44:09.540" UserId="885" />
  <row Id="5680" PostId="4774" Score="1" Text="Great explanation!" CreationDate="2010-12-12T15:52:51.107" UserId="885" />
  <row Id="5681" PostId="4778" Text="it easily fits into memory.&#xA;&#xA;i don't have any experience with perl." CreationDate="2010-12-12T17:35:45.770" UserId="3070" />
  <row Id="5682" PostId="4779" Text="sorry, i didn't mention that A, B and C have to be regular expressions.&#xA;and afaik tr only works with single characters." CreationDate="2010-12-12T17:44:37.443" UserId="3070" />
  <row Id="5683" PostId="3192" Text="See also [understanding “mount” as a concept in the OS](http://unix.stackexchange.com/questions/3247/understanding-mount-as-a-concept-in-the-os)." CreationDate="2010-12-12T17:46:48.047" UserId="885" />
  <row Id="5684" PostId="4779" Text="I updated it with a command that should work even for complex A,B, and C." CreationDate="2010-12-12T17:54:18.927" UserId="1207" />
  <row Id="5685" PostId="4773" Text="I read that, but to no avail. I'm guessing it's a mix between a Window Manager and X server? I'll have to do more homework on it ;)" CreationDate="2010-12-12T20:45:29.963" UserId="3032" />
  <row Id="5686" PostId="3505" Text="Just to add a note that unless you _really_ need Adobe Reader's advanced features, you might want to try an alternative reader like Evince, ePDFview or (my favorite) Zathura, which besides being Free Software, are less likely to be target of PDF exploits (in part, because they don't support risky features like embedded scripting)." CreationDate="2010-12-13T00:36:05.410" UserId="3038" />
  <row Id="5688" PostId="2788" Text="On rpm/yum-based systems (CentOS and Fedora), use `yum search` just like you would use `apt-cache search`." CreationDate="2010-12-13T02:54:31.263" UserId="2511" />
  <row Id="5691" PostId="4720" Text="Maybe, I have to write something for myself. Thanks for your support." CreationDate="2010-12-13T05:50:56.220" UserId="678" />
  <row Id="5692" PostId="4786" Text="See also [How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it?](http://unix.stackexchange.com/questions/4034), as well as [Can I nohup/screen an already-started process?](http://serverfault.com/questions/24425) and [Resume command running in dropped SSH session](http://serverfault.com/questions/115998)." CreationDate="2010-12-13T08:18:48.383" UserId="885" />
  <row Id="5693" PostId="4789" Text="does it have to be `suid`?" CreationDate="2010-12-13T09:58:42.190" UserId="29" />
  <row Id="5694" PostId="4789" Text="if not, screen will exit with: &#xA;&#xA;`Must run suid root for multiuser support.`" CreationDate="2010-12-13T10:05:56.020" UserId="3069" />
  <row Id="5695" PostId="4789" Score="1" Text="Using screen was also suggested at the crosspost of this question to stackoverflow: http://stackoverflow.com/questions/4425308/view-script-over-ssh/4425652#4425652  Note that screen -t will work fine with no setuid root set." CreationDate="2010-12-13T13:50:04.363" UserId="2150" />
  <row Id="5696" PostId="4782" Text="For debugging something like this checking your variable values (by echo-ing them to the terminal) often gets you to the solution quickly." CreationDate="2010-12-13T13:52:41.100" UserId="2150" />
  <row Id="5701" PostId="4796" Text="When I type `&lt;Ctrl&gt;` + `&lt;Shift&gt;` + `&lt;u&gt;` into Thunderbird, I get underline turned on and a &quot;u&quot; character appearing. Then, &quot;B0&quot; just gets typed in also (still underlined) :-(" CreationDate="2010-12-13T14:53:59.333" UserId="1974" />
  <row Id="5702" PostId="4796" Score="1" Text="Follow it by `&lt;enter&gt;`" CreationDate="2010-12-13T14:54:31.407" UserId="252" />
  <row Id="5703" PostId="4796" Text="Ah ha, that's the key. Really? This is the only way? `Option`+`Shift`+`8` on Mac is so much easier to remember, since `Shift`+`8` is *..." CreationDate="2010-12-13T14:55:54.730" UserId="1974" />
  <row Id="5704" PostId="4738" Text="@Tshepang People don't generally delete comments, particularly ones that are still valid like Steven's. Keep in mind that the answers here aren't just for you -- they're for everyone who googles &quot;bash completion tutorial&quot; in the future" CreationDate="2010-12-13T15:28:03.730" UserId="73" />
  <row Id="5705" PostId="4709" Text="Bootchart it is! I compiled it, ran it, and it gave me extremely verbose and useful results. I'm not going to strip the system *just* yet, as I'm going to implement a source-based package manager (Gentoo?), but I will definitely use this. Thanks!" CreationDate="2010-12-13T15:29:34.277" UserId="3032" />
  <row Id="5706" PostId="4798" Text="&quot;you can then find the elements you are looking for and just tweak the CSS&quot;. I'm a website developer so tweaking CSS is great. I just need to know the selectors for the parts of the UI." CreationDate="2010-12-13T15:32:45.070" UserId="1974" />
  <row Id="5707" PostId="4798" Text="Heh, nice. Basically, the layout is simple: all of the program's guts are in `chrome/`, inside of `JAR` files. I haven't tweaked Firefox or Thunderbird, but if you install Firebug or a similar extension, you can get the class of the rows." CreationDate="2010-12-13T15:40:13.280" UserId="3032" />
  <row Id="5708" PostId="4798" Text="I found something that seems plausible: `chrome/classic.jar/skin/classic/messenger/mailWindow1.css`. Mozilla was nice and gave the elements really obvious names." CreationDate="2010-12-13T15:43:24.430" UserId="3032" />
  <row Id="5709" PostId="4789" Text="thank you for the detailed reply." CreationDate="2010-12-13T15:44:03.023" UserId="3077" />
  <row Id="5710" PostId="4787" Text="Thank you for the detailed reply. " CreationDate="2010-12-13T15:44:24.460" UserId="3077" />
  <row Id="5712" PostId="4805" Text="What benefits does it have over X, if X has it's own display server, and you can't run X applications on it?" CreationDate="2010-12-13T17:04:13.853" UserId="3032" />
  <row Id="5713" PostId="4789" Text="@kasterma: I'm a bit skeptic if user A can actually attach to user B's `screen` without suid/root rights, can you explain that further?" CreationDate="2010-12-13T18:03:54.813" UserId="3069" />
  <row Id="5714" PostId="4809" Text="Damn, I am foiled again! It's a laptop keyboard and doesn't have an `Alt GR` key :-(" CreationDate="2010-12-13T18:20:12.573" UserId="1974" />
  <row Id="5717" PostId="4805" Text="Theoretically, Wayland can be less of a bloated and inefficient beast.  Note that the dominant UNIX on the desktop abandoned X11 years ago: Mac OS X." CreationDate="2010-12-13T18:29:07.547" UserId="614" />
  <row Id="5718" PostId="4800" Text="I cogitated about counting the number of likes in `ps aux` output, but I was not sure it lists _all_ processes. Is it so?" CreationDate="2010-12-13T18:29:56.960" UserId="3084" />
  <row Id="5719" PostId="4801" Text="So, a process in Uninterruptible  Sleep is equivalent to a Linux' blocked process (I mean, a process with is waiting some operation, such as I/O)?" CreationDate="2010-12-13T18:31:47.677" UserId="3084" />
  <row Id="5720" PostId="4808" Text="Nice and clean, however these methods print out messages to the user. I would prefer the script to be silent (I have added this to the question)." CreationDate="2010-12-13T18:55:11.147" UserId="279" />
  <row Id="5721" PostId="4801" Score="1" Text="Uninterruptible wait = uninterruptible sleep = blocked = in a syscall. On [OSX](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/ps.1.html), the letter in the `ps` output is `U`, not `D`." CreationDate="2010-12-13T19:14:10.640" UserId="885" />
  <row Id="5722" PostId="4801" Score="1" Text="A problem with this method is that it's not atomic: it may count some processes more than once and omit others, because these processes have changed in or out of one of the states you're observing." CreationDate="2010-12-13T19:15:41.637" UserId="885" />
  <row Id="5724" PostId="4813" Text="`Compose` `o` `o` is a lot easier to remember than `Ctrl` `Shift` `u` `B` `0` `enter`. &quot;o&quot; because ° is an o." CreationDate="2010-12-13T19:37:51.260" UserId="1974" />
  <row Id="5725" PostId="4789" Text="@wag you are right; everything but step 6 works without, and that is the step I didn't bother (but clearly should have) testing.  (it might have been nice if step 4 gave a warning about this)" CreationDate="2010-12-13T19:40:45.167" UserId="2150" />
  <row Id="5726" PostId="4756" Text="Hi Giles, thanks I found that exact same syntax from `vixie-cron-4.1-77.el5_4.1.src.rpm`. Ironically, this text is NOT included within any of the man pages for cron and is not included with any text file on the system. I'm not sure why that is, but it's a topic for another discussion." CreationDate="2010-12-13T20:12:53.753" UserId="4" />
  <row Id="5727" PostId="4727" Text="I'm really sorry Blender, this was an issue with `mt-daapd`, not with Rythmbox. I really appreciate all your hard work!" CreationDate="2010-12-13T20:21:26.247" UserId="1974" />
  <row Id="5728" PostId="4798" Text="Perfect, thanks Blender! I extracted that `.jar` into my home directory and was able to learn the rules I needed -- see my answer." CreationDate="2010-12-13T20:57:11.737" UserId="1974" />
  <row Id="5729" PostId="2788" Text="@mattdm and everyone else: This post is community wiki, please add package searching commands for your favorite system if they're not already listed." CreationDate="2010-12-13T21:19:56.013" UserId="885" />
  <row Id="5730" PostId="4798" Text="XUL hacking is fun, and really simple. That's how easy it is to make a Firefox extension!" CreationDate="2010-12-13T22:04:19.143" UserId="3032" />
  <row Id="5731" PostId="4756" Text="And I posted a follow up question at http://unix.stackexchange.com/questions/4815/" CreationDate="2010-12-13T22:09:17.613" UserId="4" />
  <row Id="5732" PostId="3505" Text="That's why I've made a comment, not an answer..." CreationDate="2010-12-13T23:35:37.913" UserId="3038" />
  <row Id="5733" PostId="4817" Text="ok. have it working, and i added the line to load the daemon at startup, but its not loading after startup. When i run this command after startup the wireless works again. I did notice that it said it want the iface to be set as manual. Also dhcpdiscover comes up a couple of times." CreationDate="2010-12-14T00:30:24.490" UserId="3092" />
  <row Id="5734" PostId="4817" Text="command. wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext brings up the wireless connection after startup. Internet works some times." CreationDate="2010-12-14T00:31:30.043" UserId="3092" />
  <row Id="5736" PostId="4675" Text="@Gilles - sorry for the delay in responding. As of [Red Hat EL 5](http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/ch-autotasks.html), Red Hat uses vixie-cron. [RHEL 6](http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Automated_Tasks.html) uses cronie. After reviewing the RHEL 5 documentation, I think it confirms my original (if incorrectly sourced) conclusion. Again, thanks for all the help on digging for this." CreationDate="2010-12-14T03:32:50.487" UserId="327" />
  <row Id="5737" PostId="4796" Text="You can always set a hotkey or something for this." CreationDate="2010-12-14T04:00:42.380" UserId="1571" />
  <row Id="5738" PostId="4823" Score="9" Text="Python runs on Windows just like on Linux; you don't have to do anything. Are you asking how to package Python scripts as Windows executables? That's probably an SO question" CreationDate="2010-12-14T06:20:13.227" UserId="73" />
  <row Id="5739" PostId="4824" Text="ok.ok.What is the highest rc number we had given earlier?" CreationDate="2010-12-14T07:00:42.097" UserId="2269" />
  <row Id="5740" PostId="4821" Score="6" Text="On an unrelated note, you should go through [your previously asked questions](http://unix.stackexchange.com/users/2914#questions) and [accept answers](http://meta.stackoverflow.com/questions/5234/how-does-accepting-an-answer-work/5235#5235) if they solved your problem" CreationDate="2010-12-14T07:06:04.057" UserId="73" />
  <row Id="5741" PostId="4824" Score="2" Text="apparently there's no limit: if more bugs found after an rc, another rc may be issued as well with a higher number" CreationDate="2010-12-14T07:37:55.213" UserId="1946" />
  <row Id="5742" PostId="4803" Text="Thank you for replying. I'll be thankful if you can add more details about the required steps." CreationDate="2010-12-14T07:49:20.467" UserId="2344" />
  <row Id="5743" PostId="4826" Text="i admit the mistake i made in telling __unified__ context format. But the man page of diif says -c as __context output format__." CreationDate="2010-12-14T09:25:53.010" UserId="2871" />
  <row Id="5744" PostId="4826" Text="__Do you get what's the difference?__ i could see only difference in the symbols used. In one it is __*__ and in the other it is __+__. Does it imply something else?" CreationDate="2010-12-14T09:28:59.140" UserId="2871" />
  <row Id="5745" PostId="4828" Score="3" Text="have a look at http://unix.stackexchange.com/questions/2751/the-myths-about-viruses-in-unix-linux" CreationDate="2010-12-14T09:47:27.460" UserId="688" />
  <row Id="5746" PostId="4828" Text="Could someone change the title into a question?" CreationDate="2010-12-14T11:19:09.947" UserId="2567" />
  <row Id="5747" PostId="832" Text="@Tshepang: fixed" CreationDate="2010-12-14T12:26:29.790" UserId="728" />
  <row Id="5748" PostId="4828" Text="done....................." CreationDate="2010-12-14T12:30:21.673" UserId="2269" />
  <row Id="5749" PostId="4826" Text="@Sen: that, plus with `-c` you have two blocks of differing text, where `!` marks the lines which differ, and with `-u` there is only one, where `+` and `-` before line denote versions of the differing line: minus when line in `1` is missing from `2`, plus when line in `2` was added to `1`.  Is this clear enough now?" CreationDate="2010-12-14T13:32:59.890" UserId="1946" />
  <row Id="5750" PostId="4826" Text="Thanks ,Alex :-)" CreationDate="2010-12-14T13:38:02.263" UserId="2871" />
  <row Id="5751" PostId="4831" Text="@Tok no I meant that I haven't restricted its ability to run commands, which `sudo` is capable of." CreationDate="2010-12-14T14:02:03.297" UserId="29" />
  <row Id="5752" PostId="4813" Score="1" Text="+1 voted Keyboard Feature of the Month by the Keyboard Feature of the Month Committee (i.e. me) " CreationDate="2010-12-14T14:02:55.363" UserId="1294" />
  <row Id="5753" PostId="4831" Text="User xenoterracide may run the following commands on this host:&#xA;    (ALL) NOPASSWD: ALL # waits for lynchmob" CreationDate="2010-12-14T14:04:36.260" UserId="29" />
  <row Id="5754" PostId="4830" Text="I remember an old question asking how to use sudo just like this..." CreationDate="2010-12-14T14:46:18.177" UserId="250" />
  <row Id="5755" PostId="4830" Score="1" Text="here it is http://unix.stackexchange.com/q/1416/250" CreationDate="2010-12-14T14:47:55.833" UserId="250" />
  <row Id="5756" PostId="4801" Text="I'll use `ps` + `fgrep` + `wc`. Thank you all for your help! Anyway, if one has a more efficient and safe way to do it, I'd like to know!" CreationDate="2010-12-14T14:55:53.727" UserId="3084" />
  <row Id="5757" PostId="4830" Text="@phunhehe++ I didn't know this had been asked" CreationDate="2010-12-14T15:18:40.967" UserId="29" />
  <row Id="5758" PostId="1417" Score="1" Text="Tee will also output to stdout; sometimes you don't want the contents filling the screen. To fix this, do `echo test | sudo tee /tmp/foo &gt; /dev/null`" CreationDate="2010-12-14T15:20:01.293" UserId="2180" />
  <row Id="5759" PostId="410" Score="2" Text="`s/fast/sloppy/`" CreationDate="2010-12-14T16:00:09.700" UserId="1974" />
  <row Id="5760" PostId="160" Text="I like a clean `PS1` so I put most of the stuff I want into my screen bottom line..." CreationDate="2010-12-14T16:01:49.323" UserId="1974" />
  <row Id="5763" PostId="4829" Score="1" Text="The article cited only hypothesizes that a worm will go around, in &quot;a matter of days&quot;." CreationDate="2010-12-14T16:13:07.350" UserId="732" />
  <row Id="5764" PostId="4816" Text="Wow, I completely forgot about those user CSS files. I always loved Mozilla for their code." CreationDate="2010-12-14T17:12:53.763" UserId="3032" />
  <row Id="5771" PostId="4841" Text="Shawn - thank you for your answer.  How do I return total back to the bash script out of awk?" CreationDate="2010-12-14T21:28:45.883" UserId="3115" />
  <row Id="5772" PostId="4841" Score="2" Text="@Amir You would use the first one like this `variable=$(grep -o &quot;[0-9] errors&quot; verification_report_3.txt | awk '{ SUM += $1} END { print SUM }')` This puts the output of the command (which is only the sum value) into the variable called `variable`" CreationDate="2010-12-14T21:33:19.557" UserId="2180" />
  <row Id="5773" PostId="4841" Score="2" Text="@Amir Afghani Also, you might want to change your grep to `&quot;[0-9]\+ errors&quot;`. This will match if you have a line reporting &gt;9 errors." CreationDate="2010-12-14T21:36:43.937" UserId="2180" />
  <row Id="5774" PostId="4841" Text="Yup, wow I can't believe I missed that.  Thank you." CreationDate="2010-12-14T21:43:45.183" UserId="3115" />
  <row Id="5775" PostId="4841" Text="Shawn, the output seems like it's not adding up my results.  It looks like this:  Total Errors = +259+7581+8852+2014+3189++13572+11438+++6+4172+" CreationDate="2010-12-14T21:58:34.907" UserId="3115" />
  <row Id="5776" PostId="4841" Text="And I'm doing this:&#xA;    errors=$(grep -o &quot;[0-9]\+ errors&quot; $1 | awk '{ SUM += $1} END { print SUM }');&#xA;    totalErrors=${errors}+${totalErrors};" CreationDate="2010-12-14T21:58:55.670" UserId="3115" />
  <row Id="5777" PostId="4841" Text="nm, I got it.      totalErrors=$(($totalErrors + errors))" CreationDate="2010-12-14T22:07:03.527" UserId="3115" />
  <row Id="5778" PostId="4841" Text="The problem there is your expression. with `totalErrors=${errors}+${totalErrors}, you're creating a string. You can do the same trick: echo both numbers as a list and use awk to sum them, or you can do it the [bash way](http://www.softpanorama.org/Scripting/Shellorama/arithmetic_expressions.shtml)." CreationDate="2010-12-14T22:07:18.213" UserId="2180" />
  <row Id="5780" PostId="4845" Text="I too would like to know. This would be quite useful." CreationDate="2010-12-14T23:09:25.457" UserId="3032" />
  <row Id="5781" PostId="4844" Text="&quot;The right answer is not to use tabs.&quot; obviously a holy war statement... considered modding down for that..." CreationDate="2010-12-15T00:26:36.570" UserId="29" />
  <row Id="5782" PostId="4844" Text="Thanks! That worked. I was confused because backspacing a tab in emacs converts it to spaces and deletes one at a time. To change it to delete whole tabs, I added this to .emacs: (setq backward-delete-char-untabify-method nil)" CreationDate="2010-12-15T02:20:57.313" UserId="3109" />
  <row Id="5783" PostId="4805" Text="I was wondering about that... What does Mac OS use? I would be quite interested to see." CreationDate="2010-12-15T03:08:30.267" UserId="3032" />
  <row Id="5784" PostId="4805" Text="Mac OS X didn't abandon X, as it was never there to begin with -  they actually added it in later releases, but also as an option on top of their core display system for displaying X applications.   Their core display system is Quartz - see http://en.wikipedia.org/wiki/Quartz_%28graphics_layer%29 and for a comparison to X at the time http://developers.slashdot.org/comments.pl?sid=75257&amp;cid=6734612 ." CreationDate="2010-12-15T03:14:34.473" UserId="146" />
  <row Id="5785" PostId="1418" Text="COME ON! I fixed it, OK? What's the point of sacrificing you 1 rep for something that's already fixed?" CreationDate="2010-12-15T03:16:08.110" UserId="250" />
  <row Id="5786" PostId="4849" Text="+1 clever use of find's arcane option processing" CreationDate="2010-12-15T03:58:26.070" UserId="1294" />
  <row Id="5787" PostId="4849" Text="I continue to be amazed at the flexibility of find." CreationDate="2010-12-15T04:12:19.643" UserId="2180" />
  <row Id="5788" PostId="4850" Text="That's pretty cool, but it looks like it does its attaching over plain ssh. There's no way that will be fast enough not on the LAN" CreationDate="2010-12-15T04:34:27.043" UserId="1571" />
  <row Id="5789" PostId="4310" Text="Is this really required? What's wrong with having the oldstyle quicklaunch bar? What benefit does having a dedicated icon for both? Except that if the program is already running, it's really unintuitive to open a new window." CreationDate="2010-12-15T04:38:17.210" UserId="1571" />
  <row Id="5790" PostId="4849" Text="Note that `-printf` is specific to GNU find." CreationDate="2010-12-15T08:20:53.397" UserId="885" />
  <row Id="5791" PostId="4812" Text="What does output says after 5 minutes of this command (without -B)?" CreationDate="2010-12-15T08:44:31.487" UserId="305" />
  <row Id="5792" PostId="4856" Text="@Gilles: Thanks for the &quot;d&quot; ;-)" CreationDate="2010-12-15T12:40:31.887" UserId="678" />
  <row Id="5793" PostId="4857" Text="+1 for &quot;in zsh&quot;" CreationDate="2010-12-15T13:15:36.893" UserId="29" />
  <row Id="5794" PostId="4864" Text="`man find` answers your question in no time." CreationDate="2010-12-15T13:36:30.700" UserId="1946" />
  <row Id="5796" PostId="4855" Text="Awesome, I'll try Mint this weekend and see if that works!" CreationDate="2010-12-15T14:13:52.433" UserId="1974" />
  <row Id="5797" PostId="4867" Score="2" Text="In the last command, the braces aren't needed.  `find dir1 dir3 -name \*.c` works just fine." CreationDate="2010-12-15T14:19:30.460" UserId="31" />
  <row Id="5798" PostId="4864" Score="1" Text="@alex So do we :)" CreationDate="2010-12-15T15:03:30.720" UserId="73" />
  <row Id="5801" PostId="4863" Text="Have you ever seen duplicates there?" CreationDate="2010-12-15T17:33:01.640" UserId="688" />
  <row Id="5802" PostId="4871" Text="@Josh - Can you please include additional log information? This can result from mount being unable to find the share, perhaps due to a naming error. If this were the case you should see a message similar to: `!!Mapping smb error code 67 to POSIX err -6 !!`" CreationDate="2010-12-15T17:44:43.320" UserId="2701" />
  <row Id="5803" PostId="4873" Text="I tried `credentials=/home/myusername/.g4-credentials` and created `.g4-credentials` in my homedir (which is OK since I am using home directory encryption), but then I received the error &quot;No username specified&quot; via `dmesg`. Any idea on that vs return code -6?" CreationDate="2010-12-15T17:46:16.613" UserId="1974" />
  <row Id="5804" PostId="4871" Text="@Tok: Which log file(s) should I check? I posted more `dmesg` output but `/var/log/messages` has no relevant information..." CreationDate="2010-12-15T17:50:12.570" UserId="1974" />
  <row Id="5805" PostId="4873" Text="@Josh What format is the file in? It should be &quot;username=your-username&quot; on one line, and &quot;password=your-password&quot; on another" CreationDate="2010-12-15T17:52:13.140" UserId="73" />
  <row Id="5806" PostId="4873" Text="Yup, that's exactly how it is..." CreationDate="2010-12-15T17:55:57.217" UserId="1974" />
  <row Id="5807" PostId="4873" Text="@Josh Hmm. Well, I just noticed your question edit; the problem with your old way was `user` and `username` are synonyms; you need to pick one instead of listing both. `user=foo` is the CIFS way, but they allow `username=foo` for backwards-compatibility with SMBFS" CreationDate="2010-12-15T18:01:18.963" UserId="73" />
  <row Id="5808" PostId="4872" Text="@Shawn J. Goff - Pretty neat. Do you know if it's possible to have some kind of .vimrc as well, but for this uses? For example, adding different mappings to &lt;ESC&gt;..." CreationDate="2010-12-15T18:10:41.323" UserId="2689" />
  <row Id="5809" PostId="4873" Text="@Michael almost there! See **EDIT3**, you were right, switching from `username` to `user` worked, but, broke user mounting..." CreationDate="2010-12-15T18:11:30.530" UserId="1974" />
  <row Id="5810" PostId="4871" Score="1" Text="@Josh - Glad to see that things are moving forward. For reference, the dmesg log is where you want to be looking. If, in the future, you desire more verbosity try `echo 1 &gt;/proc/fs/cifs/cifsFYI`" CreationDate="2010-12-15T18:13:53.287" UserId="2701" />
  <row Id="5811" PostId="4873" Text="@Josh I poked through my fstab to see how I did it, and confusingly I actually have it the way you had before; I used `user` to allow user mounts, even though the CIFS man page says that's not how it works. So I don't know how my fstab even works, but it seems like keeping `user` is correct after all. Maybe move it after `username=foo`?" CreationDate="2010-12-15T18:21:18.800" UserId="73" />
  <row Id="5812" PostId="4861" Score="1" Text="Most applications treat `$VISUAL` as a shell snippet that they append the (shell-quoted) file name to, but some treat it as the name of an executable which they may or may not search in `$PATH`. So it's best to set `VISUAL` (and `EDITOR`) to the full path to an executable (which could be a wrapper script if you want e.g. options)." CreationDate="2010-12-15T18:27:48.823" UserId="885" />
  <row Id="5813" PostId="4872" Score="2" Text="@Somebody: Not `.vimrc` since you're still using the shell's built-in editor, but you can configure key bindings in [`.inputrc`](http://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#SEC9) for all readline applications (such as bash), in `.bashrc` for bash specifically, in `.zshrc` for zsh." CreationDate="2010-12-15T18:34:52.423" UserId="885" />
  <row Id="5814" PostId="4873" Text="Ah ha, the difference must be, I didn't have `cifs-utils` installed, and apparently [without that the kernel can't prompt for a password nor can it use credential files!](http://askubuntu.com/questions/1836/problems-mounting-an-smb-share-in-my-fstab). If you add `apt-get` line to your answer I'll give you a shiny green **√** ;-)" CreationDate="2010-12-15T18:35:57.447" UserId="1974" />
  <row Id="5815" PostId="4872" Score="1" Text="Checkout the [bind builtin](http://www.linuxcommand.org/man_pages/bind1.html)" CreationDate="2010-12-15T18:35:58.087" UserId="2180" />
  <row Id="5816" PostId="4873" Text="@Josh Ah, nice. I didn't even know you could use cifs without `mount.cifs`. Just self-answer; you're the one who figured it out" CreationDate="2010-12-15T18:49:34.037" UserId="73" />
  <row Id="5817" PostId="4864" Text="@Michael: yep, but `man` apparently got much more spare time than we all do combined :)" CreationDate="2010-12-15T18:58:31.630" UserId="1946" />
  <row Id="5818" PostId="4868" Text="You mean `Xutf8LookupString`, right (case is important)? What is the program? What is the exact error message? What happens if you do try `LC_CTYPE=en_US` or `LC_CTYPE=C`?" CreationDate="2010-12-15T19:09:28.147" UserId="885" />
  <row Id="5821" PostId="4876" Text="thx! ctrl+v TAB appears to just expand into a tab, as in:&#xA;&#xA;&gt;echo '      '|od -t x1                                                                                                                                                                                  &#xA;0000000000    05  15&#xA;0000000002&#xA;" CreationDate="2010-12-15T20:01:04.947" UserId="1616" />
  <row Id="5822" PostId="4876" Text="It stripped the whitespace on me! There should be a tab-sized gap between the '' and a newline before 0000000000 and 0000000002. &#xA;&#xA;Anyway, I'll try your remote suggestions. Thx!" CreationDate="2010-12-15T20:03:21.730" UserId="1616" />
  <row Id="5823" PostId="4876" Text="I'd upvote this, but I don't have enough reputation in this community. " CreationDate="2010-12-15T20:03:50.683" UserId="1616" />
  <row Id="5825" PostId="4873" Text="Cool, thanks, I did. Just don't tell Rebecca, [she'll chastise me](http://chat.meta.stackoverflow.com/transcript/message/397007#397007)! ;-)" CreationDate="2010-12-15T20:15:29.117" UserId="1974" />
  <row Id="5828" PostId="4851" Text="Regarding the statement &quot;I suspect that entries may have been made in the database for pages that don't actually exist.&quot; -- These `(rpm)` entries show up on nearly most RHEL/CentOS system that I have access to, at different companies with different environments and procedures. This means that these rogue pages weren't added to the database by accident, and these entries exist due to a default option in the CentOS/RHEL operating system." CreationDate="2010-12-15T23:00:29.177" UserId="4" />
  <row Id="5829" PostId="4876" Text="@ThomasGHenry: Now you do! :-)" CreationDate="2010-12-15T23:12:13.367" UserId="2876" />
  <row Id="5831" PostId="4812" Text="CTRL-EVENT-SCAN-RESULTS &#xA;CTRL-EVENT-SCAN-RESULTS &#xA;Trying to associate with 68:7f:74:47:50:96 (SSID='BigGiraffe' freq=2462 MHz)&#xA;Associated with 68:7f:74:47:50:96&#xA;WPA: Key negotiation completed with 68:7f:74:47:50:96 [PTK=CCMP GTK=TKIP]&#xA;CTRL-EVENT-CONNECTED - Connection to 68:7f:74:47:50:96 completed (auth) [id=0 id_str=]&#xA;" CreationDate="2010-12-16T03:19:51.653" UserId="3092" />
  <row Id="5833" PostId="4881" Text="Well I'm tailing a file and I just need to quickly glance at the first few dozen characters of the line before I look at the rest. I want to be able to see the rest if I choose to, but I want to see the first bit first. This just seems easier than piping my tail through a complex regex" CreationDate="2010-12-16T06:18:45.620" UserId="1571" />
  <row Id="5834" PostId="4881" Score="1" Text="'less' might be the tool for you then. Invoke it with the -S (or --chop-long-lines) option to stop it from wrapping lines. You can scroll left and right with the cursor keys. Hit F (uppercase, i.e. with Shift down) to make 'less' tail the end of the file." CreationDate="2010-12-16T09:41:24.277" UserId="2978" />
  <row Id="5835" PostId="4868" Text="Edited name. Thanks. With LC_CTYPE=C (default) I get exactly the same error." CreationDate="2010-12-16T09:45:13.917" UserId="3136" />
  <row Id="5836" PostId="4877" Text="So, Solaris 11 will get this fixed?? I will give it a try then. Thanks." CreationDate="2010-12-16T09:52:52.490" UserId="3136" />
  <row Id="5837" PostId="4887" Text="@Johan : Thanks for the answer.. But why are cpuinfo and meminfo like things still maintained in procfs? Why cant they be moved to sysfs?" CreationDate="2010-12-16T10:20:39.567" UserId="2871" />
  <row Id="5839" PostId="4896" Text="__Memory etc has not been ported to sysfs__ What do you mean by porting? And why was it not intended to show that type of information? Could you please explain that to me." CreationDate="2010-12-16T11:56:23.110" UserId="2871" />
  <row Id="5840" PostId="4895" Text="what is a squeeze?" CreationDate="2010-12-16T13:20:31.463" UserId="29" />
  <row Id="5841" PostId="4895" Score="2" Text="I don't find asking developer motivations to be useful or interesting" CreationDate="2010-12-16T13:26:55.657" UserId="29" />
  <row Id="5842" PostId="4896" Text="By ported i meant moved which was an answer to your question of if Memory etc will be moved to sysfs. And it was only ever intended to show device information as that was the thing that procfs did not do well, procfs is still excellent for other types of information." CreationDate="2010-12-16T13:31:35.050" UserId="2885" />
  <row Id="5843" PostId="4900" Text="@shawn updated my question because I'm also curious about portability" CreationDate="2010-12-16T13:46:51.123" UserId="29" />
  <row Id="5844" PostId="4891" Text="@chris open source or proprietary? compiled or interpreted?" CreationDate="2010-12-16T14:06:17.700" UserId="29" />
  <row Id="5845" PostId="4887" Score="2" Text="I guess they put new stuff in sysfs, and just leave the old as it is to keep some level of backwards compability. There is a lot of stuff that depends on those things in proc..." CreationDate="2010-12-16T14:11:15.683" UserId="2567" />
  <row Id="5846" PostId="4864" Text="@alex but we get rep for answering, `man` doesn't :-)" CreationDate="2010-12-16T14:11:35.997" UserId="1974" />
  <row Id="5847" PostId="68" Text="Bash does filename expansion on remote files over ssh?" CreationDate="2010-12-16T14:13:25.983" UserId="3038" />
  <row Id="5848" PostId="200" Text="It's nice when working with bluetooth; I have E65='XX:XX:XX:XX:XX', s then I can use obex commands without having to type my phone's bluetooth address." CreationDate="2010-12-16T14:16:34.937" UserId="3038" />
  <row Id="5849" PostId="3303" Score="1" Text="I prefer using htop ;)" CreationDate="2010-12-16T14:19:36.320" UserId="3038" />
  <row Id="5850" PostId="4881" Text="+1 for your suggestion of `less`!" CreationDate="2010-12-16T14:19:46.537" UserId="1974" />
  <row Id="5851" PostId="4862" Text="+1 for nx technology. Although I stopped using it because of some odd issues, it was generally great." CreationDate="2010-12-16T14:21:37.910" UserId="1974" />
  <row Id="5852" PostId="4891" Text="open source and compiled." CreationDate="2010-12-16T14:35:00.670" UserId="3152" />
  <row Id="5853" PostId="4900" Text="@shawn: I doubt your example is valid.  Do you have any real example of a shell where `var1=$var` expansion gives an error?" CreationDate="2010-12-16T14:48:58.383" UserId="1946" />
  <row Id="5855" PostId="4895" Score="1" Text="@xenoterracide: I believe he meant [Debian Squeeze](http://www.debian.org/releases/testing/)" CreationDate="2010-12-16T15:16:32.150" UserId="252" />
  <row Id="5856" PostId="4900" Text="@alex: Thanks. I thought I had tested that on the command line, but I did it wrong. I changed the example." CreationDate="2010-12-16T15:19:27.837" UserId="2180" />
  <row Id="5857" PostId="4876" Text="Yup! And I've exercised my privilege. :)" CreationDate="2010-12-16T15:55:39.697" UserId="1616" />
  <row Id="5858" PostId="4900" Text="With the updated example it's better to keep in mind that you generally should want the quoted version, as the example is rather a corner case." CreationDate="2010-12-16T16:15:45.283" UserId="1946" />
  <row Id="5859" PostId="4891" Text="@chris well then you don't have to worry about writing some small app/makefile or something, that will relink your program, as oracle does" CreationDate="2010-12-16T16:26:19.113" UserId="29" />
  <row Id="5860" PostId="4893" Score="2" Text="just plain avoid hard coding paths, the biggest difference between ALL distro's is their package manager, and where they put things. Assume that they will put every single file and directory in a different place from you." CreationDate="2010-12-16T16:31:30.530" UserId="29" />
  <row Id="5861" PostId="4857" Text="The first command didn't print trailing slashes for me, but the second one does." CreationDate="2010-12-16T17:45:39.917" UserId="3120" />
  <row Id="5862" PostId="4903" Score="1" Text="Kvm on ppc is still experimental. I think you'll be better off getting it from [upstream](http://www.linux-kvm.org/page/PowerPC)." CreationDate="2010-12-16T18:16:28.030" UserId="885" />
  <row Id="5863" PostId="67" Score="1" Text="I've never found a use for the ! command things. It just seems bad to me to run a command that I'm not seeing. It'd be so easy to type !-3 instead of !-4, and who knows what could happen. Finding the line number of the command I want to run is usually more a pain than it's worth. Cool tricks though, but I've never found a real use for them." CreationDate="2010-12-16T18:37:42.783" UserId="1571" />
  <row Id="5864" PostId="61" Text="Also in zsh, I think the default is when you hit the up key it does a history search as if you had hit ctrl r. Might not be the default, but it's a setting." CreationDate="2010-12-16T18:40:41.237" UserId="1571" />
  <row Id="5865" PostId="67" Score="1" Text="@Falmarri I never use the `!-#` ones either. I do use `!string` to run the last command that starts with string, but I generally tab-complete it first (zsh) to make sure I'm running the right thing" CreationDate="2010-12-16T18:42:57.427" UserId="73" />
  <row Id="5866" PostId="4900" Score="1" Text="@Shawn: The quotes are *not* necessary in an assignment. They are necessary in most other uses, including `export VAR=$VAR1`. As for the braces, they are optional (check the fourth paragraph of the section you cited; this is the case in all pre-POSIX and POSIX shells)." CreationDate="2010-12-16T19:13:16.413" UserId="885" />
  <row Id="5867" PostId="4900" Text="Thanks, @Gilles; updated to match." CreationDate="2010-12-16T19:17:35.787" UserId="2180" />
  <row Id="5868" PostId="3449" Text="@fschmitt: I agree. And you can see it's not even edited! This hint provided here is really good." CreationDate="2010-12-16T20:11:19.703" UserId="2689" />
  <row Id="5870" PostId="192" Text="@Maciej: Some programs which use assembly language code (or generate assembly language code) or lower-level raw binary require knowledge about 64-bit systems.  Such programs are usually compiled as 32-bit (certain system emulators, Adobe's Flash player, Adobe Reader); Linux runs these in IA-32 compatibility mode on x86-64 systems so long as the 32-bit libraries are installed and compatibility mode is enabled in the kernel configuration." CreationDate="2010-12-16T21:25:33.773" UserId="3110" />
  <row Id="5871" PostId="4174" Text="Is this a security feature, the lack of compatibility-mode support in the OpenBSD kernel?" CreationDate="2010-12-16T21:26:52.383" UserId="3110" />
  <row Id="5872" PostId="4877" Text="Yes, Solaris 11 is building on the sources from OpenSolaris and has the X11R7 versions of the X libraries which include this function, not the older X11R6.6 ones that were found in Solaris 10." CreationDate="2010-12-16T21:38:28.637" UserId="146" />
  <row Id="5873" PostId="4174" Score="1" Text="@Michael: I think it's just about simplicity. Of course, simplicity is good for security (for example, if you support both, you need 32bit↔64bit gateways all over the place, which are as many opportunities for an omitted or botched range check)." CreationDate="2010-12-16T21:39:24.560" UserId="885" />
  <row Id="5875" PostId="4914" Score="5" Text="To put in a vimrc file one should leave out the `:`" CreationDate="2010-12-17T02:05:11.983" UserId="250" />
  <row Id="5876" PostId="4898" Score="1" Text="Thanks a lot. Linux just keeps getting better and better the more I play with it :p" CreationDate="2010-12-17T02:17:11.303" UserId="3156" />
  <row Id="5877" PostId="3322" Score="1" Text="Well, why would you expect OSX programs to be runnable on Linux?  What about these two specific OS's makes you mention them in the question, but not any other OS that also can't run OSX programs?" CreationDate="2010-12-17T05:03:25.333" UserId="2413" />
  <row Id="5878" PostId="4921" Score="1" Text="I don't feel like repeating what's in the man page, so just look in the bash man page under the section 'INVOCATION'. It's near the top and describes all you need to know." CreationDate="2010-12-17T05:57:17.290" UserId="1078" />
  <row Id="5879" PostId="4924" Text="OK, I will try to use LDAP, then. Thank you for the suggestion!" CreationDate="2010-12-17T06:16:10.523" UserId="1375" />
  <row Id="5880" PostId="4921" Text="You could try using `ssh name@host -t echo $PATH`." CreationDate="2010-12-17T07:54:39.567" UserId="252" />
  <row Id="5881" PostId="4853" Text="Note that I only have `jhbuild.desktop` and `mimeapps.list` in **~/.local/share/applications**. And, there's no dupes in **/usr/share/applications**, and I'm still experiencing the problem." CreationDate="2010-12-17T09:21:46.480" UserId="688" />
  <row Id="5882" PostId="4917" Text="I thought jigdo was hard, until I used it again: **(1)** select jigdo file from web; **(2)** on CLI, run jigdo with that jigdo file as argument; **(3)** jigdo will prompt you if there is an iso mount you want to add the new iso." CreationDate="2010-12-17T09:27:07.817" UserId="688" />
  <row Id="5885" PostId="4895" Text="@xeno It's sad that you frown upon this Question. I was asking here knowing very well I could have used Debian mailing list, but I didn't because I prefer this place (as you have noticed now). No one would have complained there, because this is a legitimate question." CreationDate="2010-12-17T09:35:42.020" UserId="688" />
  <row Id="5887" PostId="4898" Text="I'm glad it worked out well! Cheers!" CreationDate="2010-12-17T11:00:25.997" UserId="3002" />
  <row Id="5888" PostId="4875" Text="So in a way, you could state that bittorrent supersedes jigdo." CreationDate="2010-12-17T11:04:21.867" UserId="252" />
  <row Id="5889" PostId="192" Text="@Michael: Again - name them. Adobe programs are not compiled from source by user last time I've checked and &quot;out there&quot; there is small amount of widely used FLOSS projects in Assembly. Most popular emulators are ported to x86-64 as of 2010 so please name the program." CreationDate="2010-12-17T11:57:54.117" UserId="305" />
  <row Id="5890" PostId="4926" Text="In Windows Cygwin land, single quotes do nothing in Cygwin or Command prompt. Strangely, double quotes make the PATH expand completely to my local machine in Cygwin. So whatever ssh was giving me wasn't my path, it was the server's" CreationDate="2010-12-17T12:36:14.240" UserId="2630" />
  <row Id="5891" PostId="4921" Text="@Gert Output is the same" CreationDate="2010-12-17T12:37:00.887" UserId="2630" />
  <row Id="5892" PostId="4921" Text="@camh Do you think I would ask this question if I didn't already check the man pages? I've read them many times + other posts but never could find an answer to this specific issue, since I'm not sure which stage ssh commands and other program's commands are executed in" CreationDate="2010-12-17T12:38:23.693" UserId="2630" />
  <row Id="5893" PostId="4927" Text="I've looked but as I told camh I do not know which stage ssh commands and other program commands are executed in. I've read the man pages and other guides many times already" CreationDate="2010-12-17T12:40:27.327" UserId="2630" />
  <row Id="5894" PostId="4925" Text="Even if I could get SSH to work by explicitly stating some environment variables in the environment, it still won't help fix making my profile be executed when other programs call commands" CreationDate="2010-12-17T12:43:59.027" UserId="2630" />
  <row Id="5895" PostId="4895" Score="2" Text="@tshepang [I'm not sure many of us like these questions](http://meta.unix.stackexchange.com/q/316/29)" CreationDate="2010-12-17T13:05:07.817" UserId="29" />
  <row Id="5896" PostId="4925" Text="In your example all you are doing is setting environment variables, what else do you want to do?" CreationDate="2010-12-17T13:18:25.247" UserId="2150" />
  <row Id="5897" PostId="4936" Text="What would ypu want to do about dupes ?" CreationDate="2010-12-17T15:51:11.753" UserId="591" />
  <row Id="5898" PostId="4936" Text="@Iain depends on the situation? I work at a webhost... it really depends on the `mv` and whether we care about preservation in the case of... and whether we've already made a backup. This question is fairly open. I'm just looking for good options, and maybe a comment about whether or not it can bite you and how." CreationDate="2010-12-17T15:54:11.027" UserId="29" />
  <row Id="5899" PostId="4936" Text="I assume there's too many files for the shell to handle `mv * ../` or `mv -i * ../`?" CreationDate="2010-12-17T15:54:24.327" UserId="73" />
  <row Id="5900" PostId="4936" Text="@Michael I'm sure it varies... in some cases probably not. In some cases maybe. I'm trying to catch as many options for my work env as possible." CreationDate="2010-12-17T15:58:44.393" UserId="29" />
  <row Id="5901" PostId="4939" Score="1" Text="If you have a large number of files you'll likely get an 'argument list too long error'." CreationDate="2010-12-17T16:08:40.960" UserId="591" />
  <row Id="5902" PostId="4938" Text="why pipe find to xargs? why not use [+](http://unix.stackexchange.com/q/3682/29)" CreationDate="2010-12-17T16:15:02.513" UserId="29" />
  <row Id="5903" PostId="4938" Score="1" Text="@xenoterracide - Habit and portability (it's a GNU extension). On top of that I've just tried it and can't figure out how to pass the second parameter `..` to the `mv '{}' +` command as the + just adds to the end." CreationDate="2010-12-17T16:31:12.640" UserId="591" />
  <row Id="5904" PostId="4938" Text="@Iain the + [is in POSIX](http://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html) I was actually told previously GNU find was late to get it." CreationDate="2010-12-17T16:46:53.450" UserId="29" />
  <row Id="5905" PostId="4878" Text="I'll take a look at it, but I have a feeling it won't work. I tried the version for windows. The issue is the way GRUB's drivers are lost after the OS boots. Unless the program has a way to pass the ISO to Ubuntu I imagine it won't work. Thanks for the suggestion though." CreationDate="2010-12-17T16:55:17.387" UserId="3023" />
  <row Id="5906" PostId="4938" Text="You're right but I still can't figure a way to use the .." CreationDate="2010-12-17T17:04:05.780" UserId="591" />
  <row Id="5907" PostId="4944" Text="I think `-a` implies `-r`" CreationDate="2010-12-17T17:26:22.090" UserId="29" />
  <row Id="5908" PostId="4938" Text="@Iain I'm not sure on that O.o" CreationDate="2010-12-17T17:30:13.507" UserId="29" />
  <row Id="5909" PostId="4944" Text="@xenoterracide - Right you 'r'" CreationDate="2010-12-17T17:42:32.850" UserId="2701" />
  <row Id="5910" PostId="4950" Text="This is possibly a duplicate of [What is a Superblock, Inode, Dentry and a File?](http://unix.stackexchange.com/questions/4402/what-is-a-superblock-inode-dentry-and-a-file), but I don't think they cover if inodes are Unix-specific" CreationDate="2010-12-17T18:51:22.687" UserId="73" />
  <row Id="5911" PostId="4875" Text="@Gert: Bittorrent will download an entire ISO. As I understand it, Zsync and jigdo will only download the parts of the ISO which have changed between releases. This can be a significant difference between download times. However, jigdo and zync have only been implemented for a handful of projects, while bittorrent is more widely used." CreationDate="2010-12-17T19:00:46.600" UserId="4" />
  <row Id="5912" PostId="4938" Score="2" Text="@xenoterracide: With GNU coreutils: `-exec mv -t .. -- {} +`. Portably: `-exec sh -c 'mv -- &quot;$@&quot;' _ {} +`." CreationDate="2010-12-17T20:04:42.793" UserId="885" />
  <row Id="5913" PostId="4939" Score="1" Text="It may do bad things if you have a file name that begins with `-`. It won't catch files whose name begins with `.`." CreationDate="2010-12-17T20:06:30.437" UserId="885" />
  <row Id="5914" PostId="4948" Score="2" Text="This may help, but be sure to read the whole thread: http://lists.arm.linux.org.uk/lurker/message/20051020.014413.d56dd6f8.en.html" CreationDate="2010-12-17T20:18:58.513" UserId="885" />
  <row Id="5915" PostId="4926" Text="@TheLQ The single quotes are necessary at a unix prompt (including Cygwin), but you don't need any quotes at a cmd prompt." CreationDate="2010-12-17T20:37:28.363" UserId="885" />
  <row Id="5916" PostId="4921" Text="Don't set `PS1` from `.profile`, set it in `.bashrc` instead, and don't export it. See [Difference between .bashrc and .bash_profile](http://superuser.com/questions/183870), [Which setup files should be used for setting up environment variables with bash?](http://superuser.com/questions/183845)." CreationDate="2010-12-17T20:38:54.977" UserId="885" />
  <row Id="5917" PostId="4953" Text="What about commands that other commands execute? In this case it would be Mercurial hooks. Mercurial needs to be on the path for the hook to even think of working" CreationDate="2010-12-17T20:40:28.493" UserId="2630" />
  <row Id="5918" PostId="4921" Text="@Giles All of the bash profiles fail when the command is executed by another program. " CreationDate="2010-12-17T20:44:38.897" UserId="2630" />
  <row Id="5919" PostId="4936" Text="This has had four spam answers; I'm going to protect it temporarily on the assumption that they'll quickly get bored" CreationDate="2010-12-17T20:48:10.590" UserId="73" />
  <row Id="5920" PostId="4953" Text="Use any of the techniques I indicated to have your profile run in noninteractive ssh commands. One of them (`command=` in `authorized_keys`) works transparently. Others require a specific shell or options in the ssh server configuration. The Mercurial equivalent of `--rsync-path` is `--remotecmd`." CreationDate="2010-12-17T20:58:59.773" UserId="885" />
  <row Id="5921" PostId="4934" Text="Your symlink might have been removed by `ldconfig`. Your description is confusing, could you edit it with the exact file names involved at each step?" CreationDate="2010-12-17T21:05:32.547" UserId="885" />
  <row Id="5922" PostId="4950" Score="1" Text="@Michael I say it's a dupe, if you have conceptual understanding of inode you realize that windows kind of does have them..." CreationDate="2010-12-17T21:06:10.283" UserId="29" />
  <row Id="5923" PostId="4936" Text="@Michael yeah this is pretty sad behavior from web hosting people.. I expect this from 4chan..." CreationDate="2010-12-17T21:09:43.700" UserId="29" />
  <row Id="5925" PostId="429" Score="2" Text="On Ubuntu systems (this might apply to all Linuxes), there is some debate weather `iotop` works correctly. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/493156 " CreationDate="2010-12-17T23:21:22.690" UserId="4" />
  <row Id="5926" PostId="429" Text="@Stefan: From what I read that will only affect distributions that have configured their kernel with CONFIG_TASK_DELAY_ACCT enabled.  Is there something else in the thread I missed?" CreationDate="2010-12-17T23:52:09.687" UserId="1207" />
  <row Id="5927" PostId="4956" Text="Does anyone _actually_ use the `!event` syntax in the first place? It's always caused me only trouble." CreationDate="2010-12-18T00:12:38.463" UserId="2179" />
  <row Id="5928" PostId="4957" Text="I'm not marking this answer as accepted, though, because it answers only this specific case. Generally, you can't get away with no expansion." CreationDate="2010-12-18T00:26:01.073" UserId="2179" />
  <row Id="5929" PostId="4958" Text="Didn't know about `$''`. :) PS: It was to try and use up those spare characters. I have a feeling of waste when I post tweets shorter than 140 characters." CreationDate="2010-12-18T00:45:40.807" UserId="2179" />
  <row Id="5930" PostId="4958" Text="@badp: So try to make it generate *memorable* passwords. (As in `pwgen` vs. `pwgen -s`.)" CreationDate="2010-12-18T00:47:47.087" UserId="885" />
  <row Id="5931" PostId="4958" Text="@gilles Might as well use dadadodo for memorable but nonsensical passphrases then :)" CreationDate="2010-12-18T00:50:14.233" UserId="2179" />
  <row Id="5932" PostId="4728" Text="@Blender Number of questions u ask don't matter. What matters is that they are useful and clear." CreationDate="2010-12-18T01:26:16.840" UserId="688" />
  <row Id="5933" PostId="4682" Text="F13(fully patched) has 8.4, and this option is present here. Changing my -1 to a +1." CreationDate="2010-12-18T02:04:21.533" UserId="195" />
  <row Id="5934" PostId="4728" Text="They're useful to me ;)" CreationDate="2010-12-18T02:08:55.523" UserId="3032" />
  <row Id="5935" PostId="4963" Text="How do you find the format for the fonts inside the quotes?" CreationDate="2010-12-18T11:13:22.243" UserId="3196" />
  <row Id="5936" PostId="4954" Text="Thanks Gilles for the answer.. But, i am not still able to get the whole concept. Could you please be a bit more simpler without reducing the information in it?" CreationDate="2010-12-18T11:15:33.700" UserId="2871" />
  <row Id="5937" PostId="4963" Score="1" Text="check the urxvt(1) man page, the section 'RESOURCES' has further explanation how to configure the font selection. Probably something like `urxvt -fn &quot;xft:Inconsolata&quot;`." CreationDate="2010-12-18T11:33:35.180" UserId="3069" />
  <row Id="5938" PostId="4967" Text="probably does run into the large number of files issue... but is not IO intensive as rsync." CreationDate="2010-12-18T12:13:22.907" UserId="29" />
  <row Id="5939" PostId="4944" Text="@Tok is it possible to do the copy's as hardlinks? so as not to waste IO. (like `-l` for `cp`)" CreationDate="2010-12-18T12:13:54.890" UserId="29" />
  <row Id="5940" PostId="4952" Text="@gilles to many arguments?" CreationDate="2010-12-18T12:16:02.720" UserId="29" />
  <row Id="5941" PostId="4921" Text="@TheLQ: I don't know you so I don't know if you would check the man page. All I knew is that the answers were right there, so instead of repeating it word for word, I pointed you at it. A more specific pointer is to look up non-interactive shells since that's what your ssh scenario is. If something in the man page is not clear, perhaps you can ask a more specific question." CreationDate="2010-12-18T12:52:55.753" UserId="1078" />
  <row Id="5942" PostId="4970" Text="@msw would it really end up being shell specific? :( I'm trying to keep this file shell agnostic" CreationDate="2010-12-18T13:14:21.943" UserId="29" />
  <row Id="5943" PostId="4969" Text="@hhh not sure what lookbabehind is... so I'm not gonna create that tag. created regex as a tag synonym though." CreationDate="2010-12-18T13:17:28.103" UserId="29" />
  <row Id="5944" PostId="4969" Text="xenoterracide:   'not\@&lt;!yes' is the lookbehind, matches &quot;yes&quot;, &quot;yesyes&quot; but no match with &quot;notyes&quot;" CreationDate="2010-12-18T13:26:32.140" UserId="2362" />
  <row Id="5945" PostId="4970" Text="A redundant path does mean slower traversals sometimes. You can feel it when you have path directories on NFS and you mistype a command name or your shell's cache isn't aggressive enough." CreationDate="2010-12-18T14:34:32.980" UserId="885" />
  <row Id="5946" PostId="4973" Text="This is close to a shell agnostic idempotent append, but even this snippet will yield `~/perl5/bin:~/.bin:~/.bin` when run twice because of the lack of trailing `:` from the first run. And you can't add a trailing `:` because the empty component thus generated implies `.`." CreationDate="2010-12-18T14:43:11.263" UserId="1294" />
  <row Id="5947" PostId="4970" Text="@Gilles, agreed. But, as noted in my comment to your answer, the semantics of null PATH components make this problem harder than it appears at first." CreationDate="2010-12-18T14:45:02.010" UserId="1294" />
  <row Id="5948" PostId="4970" Text="Also, twiddle `~` expansion and symlinks make this problem nearly insoluble in the general case." CreationDate="2010-12-18T14:51:08.680" UserId="1294" />
  <row Id="5949" PostId="4970" Text="@msw: `~` expansion has nothing to do with this. If you want to eliminate a component that's a symlink to another component, that's a different problem, but it's solvable (with the caveat that symlinks can change over time)." CreationDate="2010-12-18T15:19:03.927" UserId="885" />
  <row Id="5950" PostId="4973" Text="@msw: No, this snippet will yield `/usr/local/bin:/usr/bin:/bin:/home/xenoterracide/perl5/bin:/home/xenoterracide/.bin` if run twice (assuming `PATH` is `/usr/local/bin:/usr/bin:/bin` initially). Note that I'm matching `:$PATH:`, not `$PATH`." CreationDate="2010-12-18T15:20:34.830" UserId="885" />
  <row Id="5951" PostId="4973" Text="I did indeed miss the additional colons; you are correct. +1" CreationDate="2010-12-18T15:45:12.450" UserId="1294" />
  <row Id="5952" PostId="4878" Text="As far as I have seen, there isn't a way to emulate a CD drive &amp; ISO boot directly with a USB drive.  The way Multiboot works is by pulling off all the data from the CD and saving it on the USB drive in a way that makes sense for USB booting.  If you're trying to boot a proprietary filesystem off of an ISO, you're probably out of luck." CreationDate="2010-12-18T17:09:07.687" UserId="3139" />
  <row Id="5953" PostId="4903" Text="Holy crap, I had no idea Kvm was coming to powerpc! This gives our old G5 a whole new use!!" CreationDate="2010-12-18T18:07:27.263" UserId="1974" />
  <row Id="5955" PostId="4976" Score="2" Text="One of the few cases where my first thought is: &quot;This would be easier if you were using Plan 9&quot;" CreationDate="2010-12-18T20:16:48.237" UserId="1207" />
  <row Id="5956" PostId="4928" Text="@Neil: I didn't know about this command... do you know where I can read about it in the manual?  I couldn't find it for some reason." CreationDate="2010-12-18T20:41:18.040" UserId="479" />
  <row Id="5957" PostId="2143" Text="the family, N8XX and N9XX, has very poor keyboard designs -- darn hard to get even tilde and programming quotes -- that kills your productivity like hXll. Android phones in conrast, such as G1, have much better keyboards but otherwise not like Nokia family. Cannot recommend any of the infant products, they are disgraceful. I got rid of my Nokias and Androids, I think not worth to waste time on them yet." CreationDate="2010-12-18T21:22:08.450" UserId="2362" />
  <row Id="5958" PostId="4973" Text="@gilles since I didn't expect to get a loop... if I'm only doing path at a time... `~/perl5` doesn't exist on all systems... so what's the best way to do this if I'm only doing one at a time? either that or what's the best way to have this code test for directory existence before adding them to the path" CreationDate="2010-12-18T22:24:46.390" UserId="29" />
  <row Id="5962" PostId="4991" Text="@gilles, will this (or something similar) `if [ type keychain ]; then` not work? I get error `/home/xenoterracide/.zshrc:84: parse error: condition expected: type` I suppose I could write the function exists... I just thought this might be simpler in a sense... " CreationDate="2010-12-19T00:00:57.860" UserId="29" />
  <row Id="5963" PostId="4991" Text="@xenoterracide: Drop the brackets!" CreationDate="2010-12-19T00:03:42.850" UserId="885" />
  <row Id="5964" PostId="4991" Text="I think you are looking for `if type $APP &gt;/dev/null 2&gt;/dev/null; then ...` You don't want the `[]`." CreationDate="2010-12-19T00:05:51.930" UserId="1207" />
  <row Id="5965" PostId="4991" Score="4" Text="Bah, I knew I should have refreshed.  Beaten by Gilles again!" CreationDate="2010-12-19T00:06:18.560" UserId="1207" />
  <row Id="5966" PostId="4928" Score="1" Text="@calavera: &quot;:help c&quot; and then &quot;:help object-select&quot;" CreationDate="2010-12-19T01:36:24.480" UserId="3175" />
  <row Id="5967" PostId="4928" Text="@Neil: found it, thanks!" CreationDate="2010-12-19T01:49:44.403" UserId="479" />
  <row Id="5968" PostId="2635" Text="It looks like the problem is with Parallels, not with OS X, actually." CreationDate="2010-12-19T02:06:04.667" UserId="1820" />
  <row Id="5969" PostId="3350" Text="New efforts would be far more likely to use binfmt_misc than to have any of their own kernel code, wouldn't they?" CreationDate="2010-12-19T02:09:22.090" UserId="1820" />
  <row Id="5970" PostId="3350" Text="@SamB: Ever tried setting up a binfmt_misc handler in a chroot?  I think it's rather reasonable to handle binary formats for other UNIX-like systems in the kernel." CreationDate="2010-12-19T02:39:50.960" UserId="1779" />
  <row Id="5971" PostId="1786" Text="Wouldn't you also want to prevent it going to sleep *before* your SSH session?" CreationDate="2010-12-19T03:13:50.323" UserId="1820" />
  <row Id="5973" PostId="4976" Text="@Steven D: That was essentially my first thought as well :-)" CreationDate="2010-12-19T06:25:19.137" UserId="1820" />
  <row Id="5974" PostId="1893" Text="@xenoterracide: this is not an insurmountable problem when dealing with predetermined content such as movies; it's mostly a matter of buffering and of arranging things so that the latency is known and accounted for." CreationDate="2010-12-19T06:41:33.703" UserId="1820" />
  <row Id="5975" PostId="4981" Text="Thanks.  Figured this one myself, and answered with a bit more info at my [cross-post](http://superuser.com/questions/223527/renaming-a-fat16-volume/223530#223530)" CreationDate="2010-12-19T07:41:51.773" UserId="1535" />
  <row Id="5976" PostId="594" Text="Book is out now (has been for a bit) - it's great.  More should upvote this answer." CreationDate="2010-12-19T07:52:51.463" UserId="71" />
  <row Id="5977" PostId="5002" Score="10" Text="I know this has come up [before](http://unix.stackexchange.com/questions/4821/control-bandwidth-with-iptables), but you should really go through [your previously asked questions](http://unix.stackexchange.com/users/2914#questions) and [accept answers](http://meta.stackoverflow.com/questions/5234/how-does-accepting-an-answer-work/5235#5235) if they solved your problem. All you need to do is click the checkmark to the left of the answer to accept it" CreationDate="2010-12-19T08:01:29.003" UserId="73" />
  <row Id="5978" PostId="4989" Text="You sure about *stored at a high security level*? I say that because you express doubt, *could be*." CreationDate="2010-12-19T08:12:52.147" UserId="688" />
  <row Id="5979" PostId="5003" Text="It works thanks" CreationDate="2010-12-19T08:20:12.093" UserId="2914" />
  <row Id="5980" PostId="5000" Score="2" Text="If you want MEM%, pressing 'M' does the same stated above. 'c' adds command line parameters to the process list, may be informative for your problem." CreationDate="2010-12-19T08:46:22.447" UserId="3069" />
  <row Id="5981" PostId="5000" Text="@wag Oh, handy." CreationDate="2010-12-19T09:25:55.667" UserId="73" />
  <row Id="5982" PostId="5003" Score="1" Text="I'd guess you can get away with just typing `gnome-terminal`" CreationDate="2010-12-19T10:07:31.867" UserId="29" />
  <row Id="5983" PostId="5003" Text="@xenoterracide, I expect so, but I followed the OP's example.  But normally `/usr/bin` would be in the `$PATH`." CreationDate="2010-12-19T10:26:04.043" UserId="2421" />
  <row Id="5984" PostId="5003" Text="@cjm yeah, not criticizing you, more so mentioning it in case the OP doesn't realize it." CreationDate="2010-12-19T10:37:16.720" UserId="29" />
  <row Id="5985" PostId="5003" Score="6" Text="@user2914 I'm guessing &quot;It works thanks&quot; and the lack of a checkmark is a bad sign for the whole &quot;please accept answers&quot; thing" CreationDate="2010-12-19T11:00:27.030" UserId="73" />
  <row Id="5986" PostId="4989" Text="Well spotted Tshepang - I haven't got visibility of the environment that repo exists in, but that is they way I would set it up :-)" CreationDate="2010-12-19T12:05:57.810" UserId="3046" />
  <row Id="5987" PostId="5001" Score="4" Text="Under Linux, simply press `M` to sort by physical memory usage (RES column). Under *BSD, run `top -o res` or `top -o size`. But [htop](http://unix.stackexchange.com/questions/4999/how-to-find-which-processes-are-taking-all-the-memory/5004#5004) is a lot nicer and doesn't even consume more memory than top (however it's not part of the basic toolset so you might not have it installed)." CreationDate="2010-12-19T13:38:22.617" UserId="885" />
  <row Id="5988" PostId="4998" Score="2" Text="In theory, it's less portable than `type` or `command`; `which` is not in POSIX, for instance. In practice, `which` does exist almost everywhere, but in some places (where it's implemented as a csh script) it uses a different path (due to a `.cshrc`), which defeats the purpose." CreationDate="2010-12-19T13:50:00.647" UserId="885" />
  <row Id="5989" PostId="2435" Text="I use awk quite frequently, both for manipulating text datafiles and to help create complex file manipulation commands in conjunction with &quot;xargs&quot;.  The equivalent Perl script typically takes longer to write unless the operation is too complex to readily to create via awk." CreationDate="2010-12-19T14:07:57.020" UserId="3219" />
  <row Id="5990" PostId="4989" Score="3" Text="There is at least some form of higher security level: only the security team can push a package onto `security.debian.org`. I don't know the implementation details." CreationDate="2010-12-19T16:21:44.987" UserId="885" />
  <row Id="5991" PostId="5011" Text="Thank's alot, that works great." CreationDate="2010-12-19T17:52:36.757" UserId="2655" />
  <row Id="5992" PostId="5012" Text="[MultiseatX](https://help.ubuntu.com/community/MultiseatX) gives you independent displays, but there's no easy way of switching input devices between them and I'm not sure if it's possible to mix X and console.  What if you just ran X normaly with a fullscreen terminal on one monitor?" CreationDate="2010-12-19T18:47:48.140" UserId="1779" />
  <row Id="5993" PostId="5012" Text="@ephemient: Full screen terminal is what I do most of the time.  However, it doesn't handle the case where I've switched to a TTY to take care of some problem caused by my wonky hardware.  The fact that I haven't been able to get the TTY on the screen I want constantly adds insult to injury when I'm trying to recover from a too-slugish-to-use gnome session." CreationDate="2010-12-19T18:59:59.857" UserId="1207" />
  <row Id="5994" PostId="4860" Text="Thanks for the suggestions, but the site contains too little information. Maybe something else?" CreationDate="2010-12-19T20:54:54.907" UserId="3112" />
  <row Id="5995" PostId="2729" Text="&quot;Computer guys like to count from 0, remember&quot;. I'd say *computers themselves* like to count from zero ;-)" CreationDate="2010-12-19T21:50:29.743" UserId="1974" />
  <row Id="5996" PostId="2691" Text="Great answer! I may use that script myself :-)" CreationDate="2010-12-19T21:54:02.453" UserId="1974" />
  <row Id="5997" PostId="5013" Text="+1 for not doing that horrible sort" CreationDate="2010-12-19T22:00:52.967" UserId="2434" />
  <row Id="5998" PostId="3322" Score="2" Text="That's basically my question. OSX runs on a unix kernel. I was wondering what about it makes it special compared to other unix/linuxes" CreationDate="2010-12-20T01:57:38.240" UserId="1571" />
  <row Id="5999" PostId="4881" Text="I didn't think about less. Thanks" CreationDate="2010-12-20T01:58:23.340" UserId="1571" />
  <row Id="6000" PostId="5005" Score="1" Text="@pootzko I remember some talk about KDE trying to get a single API developed, with Gnome? but afaik, it has yet to be fruitful unfortunately. I'll try to look up some references later." CreationDate="2010-12-20T02:00:54.693" UserId="29" />
  <row Id="6001" PostId="4971" Text="@shawn I changed your code a little you can see it here: https://github.com/xenoterracide/dot_etc/blob/master/rc.d/keychain . I don't think any of my changes would account for my problem... but... I occasionally get 2 prompts for passwords... does my code have a problem? or is there something else causing a race condition." CreationDate="2010-12-20T03:11:04.447" UserId="29" />
  <row Id="6002" PostId="2729" Score="2" Text="That's a quibble, computers do what we tell them to do." CreationDate="2010-12-20T04:05:19.760" UserId="1397" />
  <row Id="6004" PostId="4995" Text="Currently doesn't seem to be working on my box. I'll debug and accept the answer in a few days. Thanks, djura-san." CreationDate="2010-12-20T08:00:43.747" UserId="3211" />
  <row Id="6005" PostId="4948" Text="@pingswept:Any updates on this??" CreationDate="2010-12-20T08:09:19.223" UserId="2871" />
  <row Id="6006" PostId="5015" Text="thanks for your suggestion. I've already tried that approach and I am pasting the error in the question description." CreationDate="2010-12-20T12:18:34.030" UserId="3158" />
  <row Id="6007" PostId="5015" Text="Why dont you just try giving &quot;--with-patched-kernel&quot; while configuring.." CreationDate="2010-12-20T14:12:18.877" UserId="2871" />
  <row Id="6008" PostId="5015" Text="I believe the options you gave while configuring is minimal.." CreationDate="2010-12-20T14:12:47.427" UserId="2871" />
  <row Id="6009" PostId="4944" Text="@xenoterracide - You can use the `-H` or `--hard-links` flags for rsync to preserve hard links." CreationDate="2010-12-20T14:14:51.437" UserId="2701" />
  <row Id="6010" PostId="4944" Text="@Tok yeah but that doesn't copy as hardlinks, it just preserves existing ones. I'm thinking of a copy like my `cp -bal` does" CreationDate="2010-12-20T14:20:28.170" UserId="29" />
  <row Id="6011" PostId="4944" Score="1" Text="@xenoterracide - You can use the `--link-dest=DIR` flag to achieve this behavior as: `rsync -avP --link-dest=/path/to/src /path/to/src/* /path/to/dest/` which will hard link into dst/ any unchanged files between src and src, in this case all files. Ordinarily you see this flag used when you wish to re-link backup files without copying their data such as `--link-dest=/most/recent/backup`." CreationDate="2010-12-20T14:46:35.580" UserId="2701" />
  <row Id="6012" PostId="4948" Text="@Sen: Negative. I'm still stumped. I read the linked thread, which suggests that inw() doesn't do what I thought: &quot;inb() and friends are _only_ for emulation of the PCI and ISA IO address space.&quot; I've been using an oscilloscope and reading a lot of kernel driver code as my next best options." CreationDate="2010-12-20T17:02:28.057" UserId="2996" />
  <row Id="6013" PostId="4817" Text="CTRL-EVENT-SCAN-RESULTS CTRL-EVENT-SCAN-RESULTS Trying to associate with 68:7f:74:47:50:96 (SSID='BigGiraffe' freq=2462 MHz) Associated with 68:7f:74:47:50:96 WPA: Key negotiation completed with 68:7f:74:47:50:96 [PTK=CCMP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 68:7f:74:47:50:96 completed (auth) [id=0 id_str=] " CreationDate="2010-12-20T18:02:50.500" UserId="3092" />
  <row Id="6014" PostId="5022" Score="3" Text="If you're looking for particular software recommendations, you can post those as individual questions ( [log files](http://unix.stackexchange.com/questions/ask?title=Tool+to+aggregate+log+files&amp;tags=software-rec), [process monitoring](http://unix.stackexchange.com/questions/ask?title=Tool+to+monitor+a+set+of+processes&amp;tags=software-rec), etc.), but a question about the &quot;best linux productivity tools&quot; is too broad. You should also try to avoid words like &quot;best&quot; in your title; try to keep it as non-subjective as possible" CreationDate="2010-12-20T18:07:35.463" UserId="73" />
  <row Id="6015" PostId="5025" Text="He also has a few other errors, but I don't think that is necessarily the source of the issue he brings up." CreationDate="2010-12-20T18:55:54.530" UserId="1207" />
  <row Id="6018" PostId="5025" Text="@Steven You're right, there were a couple more I didn't mention; it works for me with the fixes I've listed now" CreationDate="2010-12-20T19:00:14.043" UserId="73" />
  <row Id="6019" PostId="5025" Text="@Steven When I was throwing together the script to try it I abbreviated it to `[ -f $HOME/install.sh ] &amp;&amp; . $HOME/install.sh $NAME`; I should probably not do things like that when I'm looking for errors" CreationDate="2010-12-20T19:01:22.277" UserId="73" />
  <row Id="6020" PostId="5025" Text="It looks like the other problem I thought was there actually isn't a problem since he specifically mentions BASH." CreationDate="2010-12-20T19:05:25.533" UserId="1207" />
  <row Id="6021" PostId="5027" Text="&quot;In sh or dash your main.sh will not echo anything because the arguments to the sourced script are ignored and $1 will refer to the argument to main.sh&quot; That's exactly what's happening. Thanks for answering." CreationDate="2010-12-20T19:59:00.927" UserId="2689" />
  <row Id="6022" PostId="5027" Text="I marked you answer as accepted, because the real issue wasn't with errors in my script, but mainly because I equated sh with bash, and bash does a poor job of emulating sh in this situation. Your answer enlighned me about this issue, thanks;" CreationDate="2010-12-20T20:08:06.687" UserId="2689" />
  <row Id="6023" PostId="4971" Score="1" Text="Yes - There is time between the test -e $file and touch $file. This is why I used the mkdir in my example. You can read more about atomic operations here: http://unix.stackexchange.com/questions/70/what-unix-commands-can-be-used-as-a-semaphore-lock" CreationDate="2010-12-20T20:50:20.153" UserId="2180" />
  <row Id="6024" PostId="5029" Text="I use awesome 3.4.5, that snippet is from the Lua-configuration-file rc.lua. The configuration-file I made is a copy from the standard-file, that was installed by Ubuntu in /etc/xdg/awesome/rc.lua. The example-rules are defined there in the way given here. But I assume you can define it in really different ways, as Lua is a full fledged programming-language. I will try the option tomorrow back at work." CreationDate="2010-12-20T21:26:21.977" UserId="2655" />
  <row Id="6025" PostId="5029" Text="@Mne Oh, that is from the standard file; it happens to very strongly resemble the old configuration format. When I used awesome I ended up dropping the standard config and just rewriting it. If this doesn't work let me know so I can delete the answer; I'm not sure if it will " CreationDate="2010-12-20T21:31:28.533" UserId="73" />
  <row Id="6026" PostId="5029" Text="Yeah, I will look at it tomorrow. At home I have only one monitor, so I cannot test it yet." CreationDate="2010-12-20T21:34:36.187" UserId="2655" />
  <row Id="6027" PostId="5030" Score="2" Text="As it stands, this is pretty argumentative.  You might think about changing your question to &quot;How do the development tools for FreeBSD compare to the development tools for Linux?&quot; or &quot;What are the pros and cons of targeting FreeBSD vs Linux?&quot;  However, even those alternatives are pretty argumentative." CreationDate="2010-12-20T22:24:04.990" UserId="1207" />
  <row Id="6028" PostId="4935" Text="That's possible. See the related vim tip for the implementation principles: http://vim.wikia.com/wiki/Indent_text_object" CreationDate="2010-12-20T23:03:04.583" UserId="3240" />
  <row Id="6029" PostId="5033" Text="Jackpot-- that worked exactly right. There was one other problem I had to solve (MMC driver needing a longer timeout) that kept it from working when I tried this previously, but with that fixed, it worked beautifully. Thanks." CreationDate="2010-12-21T06:43:02.790" UserId="2996" />
  <row Id="6030" PostId="5037" Score="1" Text="And if you want to dive into a actual project, you can browse http://sourceforge.net/, http://code.google.com/, etc., where there are many open source projects." CreationDate="2010-12-21T07:08:21.117" UserId="3245" />
  <row Id="6031" PostId="5038" Text="Are GUI applications allowed?" CreationDate="2010-12-21T07:15:10.100" UserId="252" />
  <row Id="6032" PostId="5038" Text="No i want to do it from the command prompt" CreationDate="2010-12-21T07:23:52.373" UserId="2871" />
  <row Id="6034" PostId="5037" Text="Sorry but I am not sure how reading books you are suggesting is going to help. I am interested in differences in terms of opensource development methodology/ease/ethics/tools. " CreationDate="2010-12-21T08:10:58.640" UserId="1358" />
  <row Id="6035" PostId="5039" Text="Thanks for the reply, but i would like to know more about using fdisk and mkfs in getting this achieved." CreationDate="2010-12-21T08:20:11.083" UserId="2871" />
  <row Id="6036" PostId="5037" Text="For methodology, I think Raymond's The Art of UNIX Programming is very good. For tools, as my experiences, I prompt Emacs for an IDE, sed,awk,m4,bash,cmake,make,git,etc. for your daily programming assistants. For ethics, I think Raymond had written some good articles and you can find out them with google." CreationDate="2010-12-21T08:48:37.403" UserId="3245" />
  <row Id="6037" PostId="5040" Text="@alex : can you give me the commands i should use for achieving the same?" CreationDate="2010-12-21T09:35:22.980" UserId="2871" />
  <row Id="6038" PostId="4995" Text="@Pedro :: did you tried to see if there are any changes in Xterm with this? There should be some changes or maybe desired font is not available?" CreationDate="2010-12-21T10:14:23.727" UserId="2648" />
  <row Id="6039" PostId="5029" Text="Tried, but it doesn't work. :-(" CreationDate="2010-12-21T11:03:59.600" UserId="2655" />
  <row Id="6040" PostId="5029" Text="@mne Lame. Unfortunately I don't have awesome installed anymore, so I can't really mess with it. Good luck though; I'll poke around the documentation later today to see if I can find anything" CreationDate="2010-12-21T11:35:22.953" UserId="73" />
  <row Id="6041" PostId="5040" Score="1" Text="@Sen: sorry, no.  You'll have to figure it out.  Feel free to ask separate questions, specific to the command you'll trying to learn about.  Like 'How do I use resize2fs?'" CreationDate="2010-12-21T12:12:26.623" UserId="1946" />
  <row Id="6042" PostId="5039" Score="2" Text="I'd like to add that there is a very good GUI called gparted for libparted (I know GUI's not allowed but it is still worth mentioning)." CreationDate="2010-12-21T12:36:02.737" UserId="305" />
  <row Id="6043" PostId="5035" Score="1" Text="I think this is offtopic. I'll check back later... you should ask on [programmers](http://programmers.stackexchange.com/questions/tagged/contribution). also there was a question on here somewhere about where to get started with unix, but I can't find it at the moment." CreationDate="2010-12-21T13:01:44.923" UserId="29" />
  <row Id="6044" PostId="5035" Text="@xeno I thought it was close-worthy the [last time](http://unix.stackexchange.com/questions/5030/freebsd-or-linux-or-something-else) I closed it :). I hadn't considered off-topic, but you're probably right, this is a development question" CreationDate="2010-12-21T13:12:39.710" UserId="73" />
  <row Id="6045" PostId="5035" Text="Closing as at least 3 out of 4 moderators think it is off-topic." CreationDate="2010-12-21T13:18:02.840" UserId="305" />
  <row Id="6046" PostId="4796" Text="Both yours and Gilles' answers worked, but his was the one I used because it's easier for me to remember. Sorry! +1 anyway though!" CreationDate="2010-12-21T13:42:56.497" UserId="1974" />
  <row Id="6047" PostId="5051" Text="That's the opposite of what I want: I want to know how to know what tag is attached to a given commit..." CreationDate="2010-12-21T15:31:56.187" UserId="12" />
  <row Id="6048" PostId="5051" Text="I don't think the reverse is possible in other way then going through all tags and checking what commits they point to." CreationDate="2010-12-21T15:52:11.807" UserId="305" />
  <row Id="6049" PostId="5058" Text="If you want help with the CD mounting part (which you don't need here), you need to tell us what you tried and what happened when you tried." CreationDate="2010-12-21T19:07:30.513" UserId="885" />
  <row Id="6050" PostId="5060" Text="`P` leaves the cursor at the beginning of the pasted text in vi (at least in nvi and per POSIX)." CreationDate="2010-12-21T19:42:55.347" UserId="885" />
  <row Id="6051" PostId="5061" Text="I think &quot;vi&quot; is usually really &quot;vim&quot; in most distros, right?" CreationDate="2010-12-21T20:06:56.893" UserId="576" />
  <row Id="6052" PostId="5049" Score="3" Text="No, getting a repository (when there is one) is quicker. Building a package is not necessarily quicker, but for programs with many compilation options (vim is one) getting the build steps of the distribution is recommended, because it is far more likely to give you a configuration you're comfortable with. Building a package is also a major win if you want to install on multiple machines." CreationDate="2010-12-21T20:12:36.330" UserId="885" />
  <row Id="6053" PostId="5050" Text="What OS are you doing this on? Where did you get JACK (OS package, compiled it yourself, …)? What exact commands did you run?" CreationDate="2010-12-21T20:14:46.487" UserId="885" />
  <row Id="6054" PostId="5061" Text="@JoelFan: Most non-embedded Linux distros, maybe. Elsewhere, no. If you're ok with a vim-only solution, don't bring vi into the play: 99% of vim's configurability is not in basic vi." CreationDate="2010-12-21T20:18:50.277" UserId="885" />
  <row Id="6055" PostId="5042" Text="I get a syntax error with your code: `line 13: E15: Invalid expression: E15: Invalid expression: {` (…). I have vim 7.2, does your code require 7.3? By the way, while programming questions are usually redirected to SO, scripting answers (for shells, editors and other scriptable programs) are common here." CreationDate="2010-12-21T20:29:03.220" UserId="885" />
  <row Id="6056" PostId="5043" Text="How are you trying to open the file? Under most unices, this is a per-application concept, not a generic OS concept." CreationDate="2010-12-21T20:31:04.560" UserId="885" />
  <row Id="6057" PostId="5035" Text="Although many unix systems are open source, this site is not particularly about open source. You could try asking on Programmers.SE as xenoterracide suggests, and you may be interested in the [open source projects proposal](http://area51.stackexchange.com/proposals/13558/free-open-source-software-projects?referrer=GmMMxU7oJAo8lNv7oqp6JA2). But I recommend you make your question less vague: do you want to read the code? To know how the projects work? To patch an existing program? To create a new program? Is there any particular part of the system you're most interested in? etc." CreationDate="2010-12-21T20:42:48.237" UserId="885" />
  <row Id="6058" PostId="5035" Text="Thanks folks, I will try to ask programmers. " CreationDate="2010-12-21T20:54:09.027" UserId="1358" />
  <row Id="6059" PostId="5042" Text="Does you vim support dictionaries ? If yes, what happens if you add `set cpo&amp;vim` at the begining of the script -- which was tested and developped on a vim 7.2.148 on ... Windows XP. (I'm a bit tired of this scattering of the vim community, see the comments on this answer http://stackoverflow.com/questions/4488979/how-to-move-one-word-left-in-vi-editor)" CreationDate="2010-12-21T20:55:37.403" UserId="3240" />
  <row Id="6060" PostId="5062" Text="@Gilles: I've never done something like creating specific binary package for my distribution. If I compile the upstream source into /usr/local, can I just exclude it after if something goes wrong? I've never done something like this before, because I'm afraid of breaking other packages (I've done this mess before with ubuntu 8.04 here, all my python installations were just f***ed up)" CreationDate="2010-12-21T21:08:41.373" UserId="2689" />
  <row Id="6061" PostId="5062" Score="1" Text="@Somebody: The advantage of installing a package (created by you or someone else) is that you can uninstall it easily. If you do compile the package, I recommend using (x)stow." CreationDate="2010-12-21T21:26:32.943" UserId="885" />
  <row Id="6062" PostId="5061" Text="Waht about &quot;nvi&quot;?  I'm confused about all the different vi's.  I am mostly insterested in debian and ubuntu" CreationDate="2010-12-21T21:29:09.273" UserId="576" />
  <row Id="6063" PostId="5061" Text="@JoelFan: nvi is a pretty basic vi, it aims for compatibility with the original implementation and nothing more. If you're only interested in desktop installations or servers where you can install programs easily, you can assume vim is available. Familiarity with lesser vi implementations is only useful on locked-down servers and embedded devices." CreationDate="2010-12-21T21:42:10.360" UserId="885" />
  <row Id="6064" PostId="5063" Text="What's the output of `tail -n +1 /proc/sys/kernel/core_*` (shows various global kernel parameters related to core dumps)? Is there any related output in `/var/log/kern.log`?" CreationDate="2010-12-21T21:52:59.247" UserId="885" />
  <row Id="6065" PostId="5062" Score="3" Text="+1.  How have I never seen stow before? It looks fantastically useful." CreationDate="2010-12-21T22:07:25.150" UserId="1207" />
  <row Id="6066" PostId="5061" Text="@Gilles, I use &quot;vi&quot; mostly for servers, where I can install things, yes" CreationDate="2010-12-21T22:18:27.090" UserId="576" />
  <row Id="6067" PostId="5066" Text="Not exactly &quot;0&quot; windows applications: &quot;main()&#xA;{&#xA;    printf(&quot;Hello World&quot;);&#xA;&#xA;&#xA;}&quot; :-)&#xA;" CreationDate="2010-12-21T22:45:52.637" UserId="1207" />
  <row Id="6068" PostId="5064" Score="1" Text="@Utkarsh this is what I do for a living so, the question you need to answer is: *&quot;what language are you planning on running on your server?&quot;* the rest is irrelevant, unless you plan on having an unmanaged VPS. By language I mean, .net, php, python? what sql engine? if any?" CreationDate="2010-12-21T22:50:50.220" UserId="29" />
  <row Id="6069" PostId="5066" Text="@falmarri @steven you're both wrong, lots of server apps run on both, just not all." CreationDate="2010-12-21T23:00:52.180" UserId="29" />
  <row Id="6070" PostId="5066" Text="@Steven: That's not an app, that's source code. You can't run that. If you compiled that (so that it actually became an app) on windows, and tried to run it on centos, it would of course fail. @xen: No you're wrong. By server apps, let's assume you mean java apps. Java apps run on both only because there's version of the java virtual machine for both." CreationDate="2010-12-21T23:03:57.220" UserId="1571" />
  <row Id="6071" PostId="5068" Text="@Iain  lots of server apps run on both, just not all." CreationDate="2010-12-21T23:08:55.513" UserId="29" />
  <row Id="6072" PostId="5064" Text="@utkarsh though I modded them down because this is obviously a webserver question, not a desktop, they are right that not all applications run on both, and that goes both ways. The question really, usually you don't manage a server like you would a desktop, so it's not an issue that that's what you use on a desktop." CreationDate="2010-12-21T23:11:56.963" UserId="29" />
  <row Id="6073" PostId="5069" Text="Thanks! That's a very thorough answer. The part about the integrated chipset is pushing the limits of my understanding of the hardware, but it makes sense. As for USB 1.1 vs 2.0, I'm almost positive the devices are connected at full 2.0 speed because `lsusb` says &quot;480M&quot;, that's USB2.0 speed, right?" CreationDate="2010-12-21T23:22:17.800" UserId="1974" />
  <row Id="6074" PostId="5064" Text="@utkarsh I decided to close this in spirit of asking it slightly better manner and less localized" CreationDate="2010-12-21T23:26:30.030" UserId="29" />
  <row Id="6075" PostId="5069" Text="Yes, that's USB2.0 speed, and while you do have several ports you still just have the one controller and it's all funneling back through the one port, as it were, to the DMA spot. Remember it's a tree, there's always one root device for the USB (up to the level of a PCI or other bridge controller, then it gets onto the parallel bus of the backend of the system) So if you add a PCI USB card then you'll have two &quot;usb trees&quot; logically, which is what the point of the recommendation of the other card was ;)" CreationDate="2010-12-21T23:51:33.310" UserId="3258" />
  <row Id="6076" PostId="5063" Text="Ok, that's a highly specific issue. If you create the core file and put some contents in it, is it truncated? (Either set `core_uses_pid` to 0 or run `sh -c 'echo foo &gt;core.$$; exec ./mkcore'`.)" CreationDate="2010-12-21T23:53:35.460" UserId="885" />
  <row Id="6077" PostId="5063" Text="The Truth is at http://lxr.linux.no/linux+v2.6.36/fs/exec.c#L1963 , if anyone care to interpret it…" CreationDate="2010-12-21T23:55:52.637" UserId="885" />
  <row Id="6078" PostId="5073" Score="4" Text="Does `mount -t cifs` work? What programs do the samba packages provide (`rpm -ql`)?" CreationDate="2010-12-22T00:31:11.420" UserId="885" />
  <row Id="6079" PostId="5043" Text="@Gilles I tried in various ways: double-clicking from pcmanfm, clicking from the downloaded section of chromium, executing xdg-open. Firefox always comes up." CreationDate="2010-12-22T01:17:47.823" UserId="250" />
  <row Id="6080" PostId="5072" Text="I am not a specialist but isn't maintaining Windows server different then Windows desktop? I would imagine that even deep knowledge of the latter may not help with former." CreationDate="2010-12-22T01:56:46.503" UserId="305" />
  <row Id="6081" PostId="5063" Text="Gilles: An existing core file is not truncated." CreationDate="2010-12-22T06:37:18.700" UserId="3255" />
  <row Id="6083" PostId="5072" Text="and in the case of a managed server your own experience matters little." CreationDate="2010-12-22T10:43:20.623" UserId="29" />
  <row Id="6084" PostId="5084" Text="I have linux rht not fedora" CreationDate="2010-12-22T10:58:00.340" UserId="3266" />
  <row Id="6085" PostId="5084" Text="anyway - yam not defined in my linux" CreationDate="2010-12-22T11:00:22.677" UserId="3266" />
  <row Id="6086" PostId="5084" Text="@jennifer: I don't grok the difference in Fedora vs. RedHat, so I might be missing something.  And how would anyone know if you didn't specify it in the question?  Are you saying that `yum` is not installed on your box?  Did you spell the command correctly?" CreationDate="2010-12-22T12:17:48.157" UserId="1946" />
  <row Id="6087" PostId="5084" Text="hi , did I need first to download the rpm file (i686) " CreationDate="2010-12-22T12:43:44.203" UserId="3266" />
  <row Id="6088" PostId="5084" Score="1" Text="not, if you have `yum`.  `yum install` will locate download and install the rpm package based on it's name, if it's in the distribution packages list.  If you don't have `yum`, then... I guess you have a broken system." CreationDate="2010-12-22T13:18:33.437" UserId="1946" />
  <row Id="6089" PostId="5087" Text="I dont have block directory" CreationDate="2010-12-22T13:36:11.787" UserId="3266" />
  <row Id="6090" PostId="5086" Text="the command hwinfo &amp; lshw are not installed in my linux" CreationDate="2010-12-22T13:36:46.623" UserId="3266" />
  <row Id="6091" PostId="5090" Text="@Shawn:What is the role of the scheduler there? Or does it have any role?" CreationDate="2010-12-22T14:16:09.200" UserId="2871" />
  <row Id="6092" PostId="5087" Text="Use a recent kernel maybe, what distro are you using? try `dmesg | less`, should see the disks get probed." CreationDate="2010-12-22T14:20:05.187" UserId="2759" />
  <row Id="6093" PostId="5090" Text="In the spin lock method, the scheduler resumes the process every ~1 second to do its task (which is simply check the existence of a file).&#xA;&#xA;In the inotifywait example, the scheduler only resumes the process when the child process (inotifywait) exits. Inotifywait is also sleeping; the scheduler only resumes it when the inotify event happens." CreationDate="2010-12-22T14:32:06.150" UserId="2180" />
  <row Id="6094" PostId="4965" Text="See also: [How do I manipulate $PATH elements in shell scripts?](http://stackoverflow.com/questions/273909/2509) on stack overflow." CreationDate="2010-12-22T15:01:52.017" UserId="3270" />
  <row Id="6095" PostId="5069" Text="Ah, OK, so even though `lspci` lists two USB cards, and `lsusb` lists two USB busses, they're really all just one?" CreationDate="2010-12-22T15:08:20.890" UserId="1974" />
  <row Id="6096" PostId="5069" Text="As I understand the situation, yes. However, I've been known to be wrong before. I've installed USB PCI cards before that read as more than one to the system, with only one physical card. ~ I've also seen video cards with their own PCI bridge to give them better internal bandwidth for multiple monitors, which causes headache when you have a motherboard with a PCI bridge, and a chipset with a southbridge component. You think &quot;slots, card, work&quot; but noooo, hardware is a special beast, and needs TLC." CreationDate="2010-12-22T15:41:44.853" UserId="3258" />
  <row Id="6097" PostId="5069" Text="To be clearer on the last PCI bridge concern: The average system expects to find one PCI bridge, at most, after the southbridge. So the (Windows at least) kernel allocates enough whatever to handle one PCI bridge. If a second one is encountered, the kernel can't deal with it, so it ignores it as faulty hardware. So on a system with more than PCI bridge, if you have a Windows machine at least, you have to have a specific patch for that system. Interesting stuff that. This is a lesson to the Unix/Linux guys, let your board drivers be recursive, it's ok. ;)" CreationDate="2010-12-22T16:04:17.027" UserId="3258" />
  <row Id="6098" PostId="5086" Text="can you provide some more information about your system?" CreationDate="2010-12-22T17:07:06.393" UserId="3069" />
  <row Id="6099" PostId="5090" Text="So how is this scenario handled in a single core processor system?" CreationDate="2010-12-22T17:35:07.337" UserId="2871" />
  <row Id="6100" PostId="5095" Text="@Warren : A couple of doubts-  I would like to know more about this Big Kernel Lock and its implications. I also dint understand the last paragraph __&quot;doubling CPU cores from 2 to 4 probably will nearly double the speed of a Linux box, but doubling it from 16 to 32 probably won't&quot;__" CreationDate="2010-12-22T17:40:53.897" UserId="2871" />
  <row Id="6101" PostId="5095" Score="2" Text="Re: implications of BKL: I thought I made that clear above.  With only one lock in the kernel, any time two cores try to do something protected by the BKL, one core is blocked while the first finishes using its protected resource.  The more fine-grained the locking, the lower the chance that this will happen, so the greater the processor utilization." CreationDate="2010-12-22T18:01:09.430" UserId="138" />
  <row Id="6102" PostId="5095" Score="2" Text="Re: doubling: I mean that there's a law of diminishing returns when adding processor cores to a computer.  As the number of cores increases, so does the chance that two or more of them will need to access a resource protected by a particular lock.  Increasing lock granularity reduces the chances of such collisions, but there's overhead in adding too many, too.  You can easily see this in supercomputers, which often have thousands of processors these days: most workloads are inefficient on them because they can't avoid idling many processors due to shared resource contention." CreationDate="2010-12-22T18:07:13.573" UserId="138" />
  <row Id="6105" PostId="5036" Text="Regarding &quot;you can pass in your kickstart file as a kernel option along with a static networking configuration.&quot; -- This is not explained well in the RedHat manual. How would I do this? What options are available for `ks=`? I'm at the boot prompt, and the system doesn't know anything about the network. How can I configure the client to connect to the network?" CreationDate="2010-12-22T18:26:37.650" UserId="4" />
  <row Id="6106" PostId="5043" Text="@phunehehe: Chromium and xdg-open both use the FreeDesktop database. I don't know about pcmanfm." CreationDate="2010-12-22T18:53:46.150" UserId="885" />
  <row Id="6107" PostId="5044" Text="That's the FreeDesktop MIME database. Other applications might use the system database (`/etc/mailcap`, `~/.mailcap`); Firefox has its own proprietary database." CreationDate="2010-12-22T18:54:57.613" UserId="885" />
  <row Id="6108" PostId="5044" Text="I know it under name of MIME database (sounds completely different then FreeDesktop MIME database). As Freedesktop is set of standards for X desktop environments I don't think I was wrong to present is as standard - and I did mentioned not all apps respect it." CreationDate="2010-12-22T19:00:46.503" UserId="305" />
  <row Id="6109" PostId="5075" Score="2" Text="Do install OpenSolaris on your desktop computer, either dual-boot or in a virtual machine, and use it for as many things as possible (web browsing, mail, development, etc.). The best way to learn is to experience." CreationDate="2010-12-22T19:02:32.977" UserId="885" />
  <row Id="6111" PostId="5094" Score="1" Text="Indeed, there is unfortunately no way you can modify a symbolic atomically. The best you can do is remove the old link and create a new one. GNU coreutils has an option to do this with a single command (`ln -snf`), but there are still two system calls under the hood." CreationDate="2010-12-22T19:13:10.897" UserId="885" />
  <row Id="6112" PostId="5078" Text="Again: please link your SU question and your question here, so people who read the question on one site can also find answers on the other site." CreationDate="2010-12-22T19:36:54.723" UserId="885" />
  <row Id="6113" PostId="5083" Score="2" Text="Here, too, you need to specify your distribution (and version)." CreationDate="2010-12-22T19:49:14.703" UserId="885" />
  <row Id="6114" PostId="5086" Text="@jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of *collecting* all that information from many different places." CreationDate="2010-12-22T19:50:23.767" UserId="885" />
  <row Id="6115" PostId="5087" Text="@jennifer: `cat /sys/block/sd?/device/{model,vendor}` (`/sys/class/block` only appeared fairly recently, and your distribution is a little old)." CreationDate="2010-12-22T19:52:26.137" UserId="885" />
  <row Id="6116" PostId="5078" Text="What operating system did you create the backup on? Did it use SELinux? Does your current system have SELinux enabled?" CreationDate="2010-12-22T19:54:58.913" UserId="885" />
  <row Id="6117" PostId="5063" Text="@dave: From my reading of the [source](http://lxr.linux.no/linux+v2.6.36/fs/exec.c#L1963), a core file that's created but not truncated could mean: the file has a link count ≥2 (no); some weird caching behavior such that `d_unhashed` is true (?); the file is not a regular file (no); the file is not owned by you (no); you can't write to the file (no). Is the source of the kernel part of the Parallels tools available?" CreationDate="2010-12-22T20:09:04.443" UserId="885" />
  <row Id="6119" PostId="5095" Text="While this is an interesting explanation (+1 for that), I don't think it's effective in conveying the difference between spinlocks and other kinds of locks." CreationDate="2010-12-22T20:55:46.573" UserId="885" />
  <row Id="6120" PostId="5090" Text="@Sen: This is explained rather well in [Linux Device Drivers](http://lwn.net/Kernel/LDD3/)." CreationDate="2010-12-22T20:57:05.887" UserId="885" />
  <row Id="6121" PostId="2524" Text="For what it's worth, I feel that the tmux solution (although slightly more verbose) is actually &quot;cleaner&quot;, since it doesn't involve leaving setuid binaries floating around the filesystem." CreationDate="2010-12-22T21:01:03.560" UserId="3273" />
  <row Id="6122" PostId="5064" Text="@xenoterracide♦: I'm clearly missing something obvious - why is this a webserver question ?" CreationDate="2010-12-22T21:32:46.227" UserId="591" />
  <row Id="6123" PostId="5101" Text="Actually, I'd really like to be able to send messages to it's stdin from a script--maybe that's the question I should have asked.  Currently I'm just running the server from a script and am able to type to it in a terminal, but it just seems like it should be running as a service..." CreationDate="2010-12-22T22:46:52.207" UserId="3271" />
  <row Id="6124" PostId="5020" Text="Looks like this is exactly what I am looking for, thanks!" CreationDate="2010-12-22T23:36:28.743" UserId="1375" />
  <row Id="6125" PostId="5101" Text="@Bill: Ok, I see. Then the first thing that comes to my mind is a named pipe." CreationDate="2010-12-22T23:43:24.377" UserId="885" />
  <row Id="6126" PostId="5101" Text="I think this is exactly what I want @Gilles!  I need to understand it better though.  I'll spend some time sorting through man pages to figure it out--I honestly get very little of that (I get most of what you are doing and almost none of how you did it--and I thought I kind of had a clue with this stuff.)  My theory wasn't to connect directly to the process but to create yet another script that joined it's i/o to the deamons o/i to make it seem like the original console is running, but with the ability to do the echo 'FORWARD 10' from another script at the same time." CreationDate="2010-12-23T00:06:18.723" UserId="3271" />
  <row Id="6127" PostId="5101" Text="I think I get much of it.  If I break it down I now understand &quot;mkfifo pipe&quot; and &quot;tail -f pipe | command &gt; output&quot;, tested those and they work.  I think most of the other stuff you had was tricks to get it to run on one line--am I missing anything critical?" CreationDate="2010-12-23T00:23:27.750" UserId="3271" />
  <row Id="6128" PostId="5101" Text="@Bill: You could write to the terminal inside screen from the outside (using screen's `stuff` command). But you don't need the overhead (processing, but most importantly cognitive) of a terminal here, a pipe is almost enough (it's enough with a little end-of-file-ignoring relay process). You may want to experiment a little with `&lt;fifo cat` or `&lt;fifo tail -f | cat` in one terminal and `echo &gt;fifo; echo &gt;fifo` in another terminal; I think you'll be fine." CreationDate="2010-12-23T00:43:40.013" UserId="885" />
  <row Id="6129" PostId="4995" Text="@djura-san :: Thank you for your reply. It does work for Xterm with the second method. mrxvt stays the same. I'll further debug this in another few days." CreationDate="2010-12-23T00:50:43.177" UserId="3211" />
  <row Id="6130" PostId="5095" Text="If one wants to know the difference between a spin lock and, say, a semaphore, that's a different question. Another good but tangential question is, what is it about the Linux kernel design that makes spin locks good choices instead of something more common in userland code, like a mutex. This answer divagates plenty as is." CreationDate="2010-12-23T01:53:19.430" UserId="138" />
  <row Id="6131" PostId="5095" Text="I would like to know more about __what is it about the Linux kernel design that makes spin locks good choices instead of something more common in userland code__. Shall i post it as another query?" CreationDate="2010-12-23T05:53:43.857" UserId="2871" />
  <row Id="6132" PostId="5105" Text="haha yeah I agree this probably does what the OP wants, but it's not &quot;fetchmail without an mda&quot; lol" CreationDate="2010-12-23T07:52:27.877" UserId="250" />
  <row Id="6133" PostId="5064" Text="@Iain well I suppose there's a slim chance that it's not. But it's still obviously not a desktop question." CreationDate="2010-12-23T07:55:45.627" UserId="29" />
  <row Id="6134" PostId="5064" Text="@xenoterracide♦:see  http://unix.stackexchange.com/questions/how-to-answer point 1." CreationDate="2010-12-23T08:33:13.597" UserId="591" />
  <row Id="6135" PostId="5019" Text="Powerpc processors doesn't provide virtualization hardware support. So, KVM porting on powerpc doesn't depend on that support. From http://www.linux-kvm.org/page/PowerPC:   &#xA;&quot;Current development is aimed at running 440 Linux kernels as guests on 440 Linux host. Since the 440 processor does not implement virtualization hardware support, this is done via &quot;trap and emulate&quot; of privileged instructions executed inside the guest. &quot;  &#xA;So, even if qemu doesn't expose virtualization hardware support to the guest virtual machine, I think it is possible to run KVM (only for powerpc) on top of it." CreationDate="2010-12-23T09:56:46.380" UserId="3158" />
  <row Id="6137" PostId="5095" Text="Yes. One question per question. :)" CreationDate="2010-12-23T11:18:01.433" UserId="138" />
  <row Id="6138" PostId="856" Text="+1 Thank you! :)" CreationDate="2010-12-23T14:06:30.970" UserId="2626" />
  <row Id="6139" PostId="5107" Score="1" Text="Spinlocks are not always a waste in kernel code. This was [explained very well](http://unix.stackexchange.com/questions/5088/what-is-a-spinlock-in-linux/5104#5104) by @HandyGandy in your previous question." CreationDate="2010-12-23T14:11:14.437" UserId="2180" />
  <row Id="6140" PostId="5104" Text="@HandyGandy : __thread keeps spinning in place till it gets the lock__. Could you please tell me what is this spinning? Is it like it comes to the wait_queue and is put to execution by the Scheduler? Maybe i am trying to get into the low level, but still cant hold my doubt." CreationDate="2010-12-23T14:32:42.850" UserId="2871" />
  <row Id="6141" PostId="5107" Text="@Shawn : But i would like to make it a separate question, where i could get more clearer answers." CreationDate="2010-12-23T14:34:41.210" UserId="2871" />
  <row Id="6143" PostId="5072" Text="@Maciej. Maybe I did not phrase it correctly.  My point is, go with whatever your subcontractors are most experienced with.  If you determine that they have adequate Linux experience, then Linux is a consideration. Otherwise you are paying them to learn Linux ( and make all the mistakes doing this ) on your dime." CreationDate="2010-12-23T16:39:38.797" UserId="1257" />
  <row Id="6144" PostId="5036" Text="http://www.redhat.com/magazine/024oct06/features/kickstart/ I haven't tried initiating a kickstart off a cd/dvd, but I suspect it's possible." CreationDate="2010-12-23T16:56:56.893" UserId="2300" />
  <row Id="6145" PostId="5107" Score="1" Text="@Sen: Although the question you're asking here is not identical to your previous question, it *has* been answered by several people on the previous thread. And again, you should read chapter 5 of [Linux Device Drivers](http://lwn.net/Kernel/LDD3/), which explains this." CreationDate="2010-12-23T19:06:22.550" UserId="885" />
  <row Id="6146" PostId="5112" Text="That is a great tip!!" CreationDate="2010-12-23T22:51:18.417" UserId="1974" />
  <row Id="6147" PostId="5106" Text="Well, I took a loot at the cgroups-bin package on Ubuntu, and I am fairly sure it &quot;does this&quot; by default if I just install it. I assumed it would require setup, however I suppose it just does if you have special needs. I tested by running stress with 2 cpu threads under root and 2 under my user and all 4 threads seem to share 50% in top, which makes me think it is working. This may &quot;solve it&quot; for me, however if anything I would like to have a more clear way to confirm, or a better idea how to configure it, thanks again!" CreationDate="2010-12-24T03:04:38.377" UserId="2469" />
  <row Id="6148" PostId="5107" Text="@Gilles : Sure.. I will do that.. But I prefer understanding the concepts via discussion rather than reading and absorbing the books.. :-)" CreationDate="2010-12-24T05:49:00.710" UserId="2871" />
  <row Id="6149" PostId="5122" Score="4" Text="which features do you want?" CreationDate="2010-12-24T08:57:53.113" UserId="665" />
  <row Id="6150" PostId="5118" Text="Thanks, for the great answer!" CreationDate="2010-12-24T09:25:52.213" UserId="3086" />
  <row Id="6151" PostId="5128" Text="Thank you very much! :)" CreationDate="2010-12-24T12:12:28.670" UserId="2469" />
  <row Id="6152" PostId="5123" Score="1" Text="See also [Accidental Extract Location - How to Clean Up?](http://superuser.com/questions/198769/accidental-extract-location-how-to-clean-up)" CreationDate="2010-12-24T13:39:02.027" UserId="885" />
  <row Id="6153" PostId="5125" Score="2" Text="The commands as given won't work in the general case, and this is **dangerous** since you're removing files. `xargs` expects its input quoted in a peculiar way that `find` does not produce. Use `xargs -I rm {}` so that xargs processes one item per line instead. For the unzip command, what implementation do you have? Mine (Debian/Ubuntu) doesn't have `--list`, only `-l`, and it doesn't just print file names, so that extra processing is needed." CreationDate="2010-12-24T13:53:17.607" UserId="885" />
  <row Id="6156" PostId="756" Text="From my limited experience, Testing seems more problematic than Unstable, because broken packages can remain for more time in that state, while Sid's are more regularly updated." CreationDate="2010-12-24T14:40:09.943" UserId="3038" />
  <row Id="6157" PostId="5112" Text="I tried the double quoting around the backwards quote and diff still is looking for two filename arguments.  I think for bash you need diff &lt; $(jar -tvf org.jar) &lt; $(jar -tvf new.jar) but even this is giving an ambiguous redirect error.  It seems like you can't have two inputs to diff regardless of the shell.  Somehow I need to convert the inputs into temp files or use a different command that compares input streams and not files.&#xA;" CreationDate="2010-12-24T17:36:06.600" UserId="676" />
  <row Id="6158" PostId="5125" Text="@Gilles: 1) yes, it's dangerous, but since we've presumably overwritten the original files -- they're already gone. 2) I wasn't talking about `find`. 3) you are correct about `unzip`, I didn't test and there seem to be no option for undecorated listing.  No `--list` on my Ubuntu as well -- I just didn't test." CreationDate="2010-12-24T18:52:10.317" UserId="1946" />
  <row Id="6159" PostId="5122" Text="@pootzko: I guess that's the thing, I've never really used webcam software before (even on windows) so I'm not sure what's there" CreationDate="2010-12-24T21:11:30.410" UserId="1571" />
  <row Id="6160" PostId="5019" Text="My bad (I'm not specialist on PPC). However technically my answer is not wrong [KVM uses hardware acceleration now and it will allow emulate PPC on PPC efficiently I imagine (just not using hardware acceleration)]." CreationDate="2010-12-24T22:38:50.677" UserId="305" />
  <row Id="6162" PostId="5133" Score="2" Text="Setting fan may depend on ACPI. For example on Thinkpads you use its ACPI - http://www.thinkwiki.org/wiki/How_to_control_fan_speed . Please provide more details (manufacturer and preferably model)." CreationDate="2010-12-24T22:54:22.390" UserId="305" />
  <row Id="6163" PostId="5130" Score="1" Text="While I appreciate your intention, I can't stop wondering if this is a valid question. There can be no &quot;correct&quot; answer." CreationDate="2010-12-25T03:25:27.257" UserId="250" />
  <row Id="6164" PostId="5130" Text="@Tux : While we appreciate your efforts, please remember that this is a Q&amp;A site, and I don't think we can answer your question here. Please see the [FAQ: What kind of questions should I not ask here?](http://unix.stackexchange.com/faq) for the sorts of questions which should and should not be asked here." CreationDate="2010-12-25T05:49:24.540" UserId="4" />
  <row Id="6165" PostId="5122" Text="@Falmarri - well, you have to ask more precisely. otherwise how do you expect people to help you if you don't know what you want? you didn't formulate your question right then this one is too subjective... " CreationDate="2010-12-25T09:11:42.950" UserId="665" />
  <row Id="6166" PostId="5133" Text="medion WID 2000 notebook MD41205" CreationDate="2010-12-25T12:39:47.307" UserId="1924" />
  <row Id="6167" PostId="5130" Text="Closed as not a real question. Unless something changed getting Wikipedia account was rather straithforward. I guess twitter/identi.ca etc. are better suited for the task you described. Anyway - good luck with your project." CreationDate="2010-12-25T16:26:05.357" UserId="305" />
  <row Id="6168" PostId="5141" Score="2" Text="Is there any details on which port it tries to connect on your localhost?  Is it below 1024 (reserved for superuser)?" CreationDate="2010-12-25T19:02:27.840" UserId="1946" />
  <row Id="6169" PostId="5142" Text="Thanks a lot Shawn! I'll take a look through that book." CreationDate="2010-12-25T21:46:09.017" UserId="3170" />
  <row Id="6170" PostId="5136" Text="@wag : Thanks for this great answer. I would like to know why low mem is not full 1GB and more about the next part of the sentence __&quot;because the kernel always requires at least 128 MB of linear addresses to implement noncontiguous memory allocation and fix-mapped linear addresses.&quot;__" CreationDate="2010-12-26T07:27:45.330" UserId="2871" />
  <row Id="6171" PostId="5138" Score="3" Text="You should provide the stack trace or something with more information. I also have problem with 10.10, and the problem also gives &quot;not syncing&quot;. I haven't found a real solution, but a workaround is to add `acpi=off` to the kernel parameter list during boot." CreationDate="2010-12-26T10:32:40.327" UserId="250" />
  <row Id="6172" PostId="5042" Text="@Luc: Thanks! How do I invoke it? I tried using `b` for all blocks but it still selects only `()` type of block. Do I have to call it differently, or did I install it wrong?" CreationDate="2010-12-26T10:51:08.093" UserId="2979" />
  <row Id="6173" PostId="5125" Text="@alex: Sorry about the canned response, substitute `tar -t` for `find`. But my other points stand. There is a real risk that your command as given would delete an unrelated file." CreationDate="2010-12-26T10:53:04.123" UserId="885" />
  <row Id="6174" PostId="5112" Text="@Andrew: No, I did mean `&lt;(…)`, it's what bash calls process substitution. It is a way to pass several inputs (or less frequently obtain several outputs) from a program. As far as I know tcsh doesn't have anythinig similar." CreationDate="2010-12-26T10:57:29.033" UserId="885" />
  <row Id="6175" PostId="5132" Text="In your first command, the `!` is between double quotes, where as other answers indicate it retains its history expansion meaning. You could use  `bash -c 'echo '\''hello World!'\'` or `bash -c &quot;echo 'hello World&quot;\!&quot;'&quot;`." CreationDate="2010-12-26T11:18:56.653" UserId="885" />
  <row Id="6176" PostId="5138" Score="4" Text="RAM sticks are complex pieces of equipment operating at top speed with no margin for errors, and they are tested for basic defects before shipping. So when you do encounter errors, it tends to be only for certain access patterns. Memtest does its best to try nontrivial access patterns, but any multitasking OS is still more stressful for a marginal RAM stick than memtest and can uncover errors." CreationDate="2010-12-26T11:29:27.693" UserId="885" />
  <row Id="6177" PostId="5136" Text="The kernel **has** to access high-memory code from time to time (f.e. BIOS and ACPI information reside on the first MB of the RAM), he cannot do that directly (like the lowmem area), therefore he needs to map low-memory to high-memory linear addresses, the 128MB is reserved only for this purpose. The vmalloc area is mostly temporary mapped onto some high-memory areas and get's remapped quite fast." CreationDate="2010-12-26T13:09:42.773" UserId="3069" />
  <row Id="6178" PostId="5042" Text="`ib` already means something. You use this one with `i%` or `a%` (see the mappings) =&gt; `di%`, `va%i%`, `c2a%`, etc" CreationDate="2010-12-26T13:46:12.323" UserId="3240" />
  <row Id="6179" PostId="5141" Text="No it's not below 1024." CreationDate="2010-12-26T16:28:47.407" UserId="3304" />
  <row Id="6180" PostId="5147" Text="Have I &quot;missed&quot; out on the ZONE_HIGHMEM here ? How does it get determined, how much of the physical memory goes to ZONE_NORMAL and how much goes to ZONE_HIGHMEM ?" CreationDate="2010-12-26T17:24:58.137" UserId="3307" />
  <row Id="6181" PostId="5146" Text="I believe that getting the DHCP server to agree with the DNS server is the only way to do this without having the DHCP clients update DNS somehow.  I have dhcpd configured to give out particular IP address to specific ethernet addresses.  Those IP addresses are in the hosts file used by dnsmasp." CreationDate="2010-12-26T19:08:24.623" UserId="732" />
  <row Id="6182" PostId="5141" Score="1" Text="@muteto output of `iptables -L -nv`? also do you have a session of ktorrent running as root? or any other user concurrently?" CreationDate="2010-12-26T22:05:52.650" UserId="29" />
  <row Id="6183" PostId="5155" Text="Thanks,I'm new with this can you please  elaborate on  some guide lines / send helpful links" CreationDate="2010-12-26T21:11:40.443" />
  <row Id="6184" PostId="5156" Text="If the free space is back after a reboot I highly doubt `/tmp`. Maybe some program creates large temporary files in there. Try running `Accessories &gt; Disk Usage Analyzer` and see which file is taking up the space." CreationDate="2010-12-27T03:00:25.717" UserId="250" />
  <row Id="6185" PostId="5156" Text="I agree with phunehehe. There are a number of good ideas for finding out what's taking up space in [this question](http://unix.stackexchange.com/questions/3961/how-to-understand-whats-taking-up-space); I think answers to this will probably just be duplicates of that, so I'm going to close it" CreationDate="2010-12-27T03:58:36.113" UserId="73" />
  <row Id="6186" PostId="5130" Text="Please see my apology above. This was my 1st post on the site and I should have read the FAQ link given above first. I'm sorry for posting an inappropriate question. If any one would like to let me know [by adding a comment here] whether my rewritten &amp; clarified version of the question is suitable for posting I'd be grateful I want to be sure not to repeat the same mistake. Oh, and thanks for the FAQ link: I of course should have read it before posting for the 1st time." CreationDate="2010-12-27T04:08:00.533" UserId="3283" />
  <row Id="6187" PostId="3970" Text="In deed, if I'm on Ubuntu I won't bother to look for any alternative. `baobap` is just enough." CreationDate="2010-12-27T04:09:33.140" UserId="250" />
  <row Id="6188" PostId="5130" Text="I've been thinking about it for a few minutes and I'm still not sure if &quot;Is there a comprehensive list of rolling-release Linux distros available online?&quot; is on-topic. I think it probably is; I'd go ahead and [post the question](http://unix.stackexchange.com/questions/ask), and if it closes, no big deal. I think it'll do ok, and I'll delete this once you've posted the new question" CreationDate="2010-12-27T04:37:56.063" UserId="73" />
  <row Id="6189" PostId="5159" Score="4" Text="Without more context for your question, and answer that is both comprehensive and useful is impossible.  Running the diff command on the source trees of the two projects would give you 'all the differences' in some sense, but the output would be completely useless.  Also, your accept-rate is very low, so people are less likely to bother to help you find useful information." CreationDate="2010-12-27T07:08:21.307" UserId="2413" />
  <row Id="6190" PostId="5159" Score="1" Text="@Renjith G, it looks like you need to start clarify your questions, do some upvoting, and then accept some answers...." CreationDate="2010-12-27T08:19:47.243" UserId="2567" />
  <row Id="6191" PostId="5159" Score="1" Text="Sorry all...i have accepted all the valid answers from you guys." CreationDate="2010-12-27T09:38:06.363" UserId="2269" />
  <row Id="6192" PostId="5163" Text="please explain with their expansions and reasons.." CreationDate="2010-12-27T09:38:46.223" UserId="2269" />
  <row Id="6193" PostId="5159" Text="Why do you care about code level details for KDE or GNOME just for using it? What do you meant by &quot;why these kind of classification&quot;? " CreationDate="2010-12-27T10:52:58.860" UserId="515" />
  <row Id="6194" PostId="5159" Text="@appu: Please read the subject and reply" CreationDate="2010-12-27T11:30:28.767" UserId="2269" />
  <row Id="6195" PostId="5159" Score="2" Text="@Renjith...Still the question doesn't make sense. Embedded development has no relation with KDE or GNOME. They are just desktop environments providing rich graphical user interface. " CreationDate="2010-12-27T11:40:37.517" UserId="515" />
  <row Id="6196" PostId="5147" Text="@TheLoneJoker: The system in your question doesn't have high memory, so my answer didn't address this complication." CreationDate="2010-12-27T12:12:53.663" UserId="885" />
  <row Id="6197" PostId="5165" Text="Linux doesn't care. Most BIOSes don't care (though some do). Separate swap and boot partitions are not necessary, and `/boot` is no longer recommended on modern hardware (it was a kludge to bypass BIOS limitations on disk sizes and lack of support for advanced disk modes such as LVM in Grub 1)." CreationDate="2010-12-27T12:39:30.087" UserId="885" />
  <row Id="6198" PostId="5165" Text="@Gilles You mean, I can have LVM without a separated `/boot`? If so, why is it better to leave `/boot` in the same partition as `/`?" CreationDate="2010-12-27T13:01:29.397" UserId="250" />
  <row Id="6199" PostId="5162" Text="It will be helpful if you can include the command that you used and the error message that you got when trying to install. For example, have you tried `grub-install /dev/sda`?" CreationDate="2010-12-27T13:05:33.950" UserId="250" />
  <row Id="6200" PostId="5165" Text="@phunehehe: You can have LVM without a separate `/boot` with Lilo or Grub 2, but not with Grub 1. A separate `/boot` has an administrative cost (you need to make one more partition, and you need to be careful not to mix up `/boot` with `/`), so you would only use one if there's a reason (such as your bootloader not understanding LVM)." CreationDate="2010-12-27T13:08:52.407" UserId="885" />
  <row Id="6201" PostId="5168" Text="It's used by the guest Gentoo OS in VirtualBox. I have created a .vmdk virtual disk which back-end by a raw `image.ext4`. The reason I use the entire disk for one file system is that, I want to mount the volume directly in the host OS, without the tricky partition offset like `-o loop,offset=1048576` . " CreationDate="2010-12-27T13:56:29.007" UserId="3267" />
  <row Id="6204" PostId="5166" Text="It is installed but as far as I understend it does not boot Linux directly but it have to chainload one." CreationDate="2010-12-27T15:03:48.003" UserId="305" />
  <row Id="6206" PostId="5162" Text="I have already recreated the disk layout with MBR, and copied the raw file system into the single partition of the disk. Though, I'll retry a new Gento installation and paste the error message some time later. Thanks" CreationDate="2010-12-27T16:51:43.147" UserId="3267" />
  <row Id="6207" PostId="5165" Score="1" Text="@Gilles now you make me feel like reinstalling..." CreationDate="2010-12-27T16:57:12.410" UserId="250" />
  <row Id="6208" PostId="5138" Text="@phunehehe.&#xA;I can only write the memory addresses down, because after booting with the damaged RAM, the PC is frozen. Is this what you'd like to see?" CreationDate="2010-12-27T17:14:59.510" UserId="3214" />
  <row Id="6209" PostId="974" Text="Actually isn't `/bin/sh` guaranteed to point to korn-compatible shell while tcsh is csh-derived shell. It is likely that `/bin/sh` already points to bash or other compatible shell and it is nearly certain it won't be affected by changing of *user* shell. csh and sh are completly uncompatible. " CreationDate="2010-12-27T18:49:13.230" UserId="305" />
  <row Id="6210" PostId="5167" Text="How would setting the fan to 100% cause components to overheat?" CreationDate="2010-12-27T19:53:39.823" UserId="3322" />
  <row Id="6211" PostId="5167" Score="1" Text="That was a general notice, if a custom tool/script does not work like intended, the system could overheat." CreationDate="2010-12-27T20:01:59.163" UserId="3069" />
  <row Id="6212" PostId="5166" Text="Oh, right. Well, Grub 2 is getting way to weird for my tastes, so I switched to extlinux (part of syslinux package), which also now does support ext4.  It's simple and straightforward to install. It just works. http://syslinux.zytor.com/wiki/index.php/EXTLINUX" CreationDate="2010-12-27T20:57:19.433" UserId="3082" />
  <row Id="6213" PostId="5141" Text="It doesn't show any rule, like i said i flushed the iptables, and no, i don't have a session of ktorrent running as root." CreationDate="2010-12-27T20:57:48.890" UserId="3304" />
  <row Id="6214" PostId="5171" Text="Those links look rather too wordy for me. I prefer to use Suse's [imagewriter](http://en.opensuse.org/SDB:Live_USB_stick) program to create a self contained live USB system." CreationDate="2010-12-27T22:13:08.763" UserId="273" />
  <row Id="6215" PostId="5135" Score="1" Text="A lightweight Linux distribution would made these machines a killer lo-end netbook, but I haven't find anything valuable on the Net. Also, there're some similar cheap tablets, I've seen one, named ePad, which runs Android - it is extremly slow, but what do we want for that money..." CreationDate="2010-12-27T22:23:57.493" UserId="3312" />
  <row Id="6216" PostId="4681" Text="lots of good answers here. don't really know what to accept. mostly because `sort -h` isn't anywhere near ubiquitous yet." CreationDate="2010-12-28T02:15:17.290" UserId="29" />
  <row Id="6217" PostId="5162" Text="**EDIT** I've added the error message. " CreationDate="2010-12-28T03:34:47.170" UserId="3267" />
  <row Id="6218" PostId="5176" Score="3" Text="Badge Unlocked: Strangest question of all time" CreationDate="2009-11-20T13:34:02.543" />
  <row Id="6219" PostId="5176" Text="Would you mind adding some detail: Are you using Karmic (which uses Grub2)? Also, do you share a /boot partition between both distros? Or does one distro's boot partition link to both distros kernel/initrd, etc?" CreationDate="2009-11-20T13:46:47.327" />
  <row Id="6220" PostId="5176" Text="It's not weird at all! I used to do this with a dedicated Linux partition that would restore Windows using Partimage. Every other boot would go to Linux for a restore, then an immediate reboot back into Windows. (But I used LiLo then with the -R switch IIRC.)" CreationDate="2009-11-20T13:49:31.113" />
  <row Id="6221" PostId="5177" Text="Great minds......." CreationDate="2009-11-20T13:41:11.020" />
  <row Id="6222" PostId="5177" Text="This should work for me. Thanks rjmunro." CreationDate="2009-11-21T15:15:25.137" />
  <row Id="6223" PostId="5178" Text="Thanks jhs. I think it will work out for me. But i will get to LILO if i fail to achieve the functionality with GRUB. " CreationDate="2009-11-21T15:14:42.610" />
  <row Id="6224" PostId="5130" Text="Thanks Michael. I greatly appreciate the guidance on what's OK or not to post. Thanks to everyone who commented. You've been incredibly patient with me &amp; my lack of familiarity with the site &amp; its policies. It must be annoying when newbies litter the site with bad posts forcing you to tidy up our mess! I'll post the revised question later today unless there's any objections raised beforehand; please do if you have any. If anyone objects to the new post after it's up, please close it, with my apologies to everyone for repeating the same mistake. Thanks to all of you - A very grateful newbie. " CreationDate="2010-12-28T04:28:40.677" UserId="3283" />
  <row Id="6225" PostId="5130" Text="Any suggestions on how best to word my revised question would be very welcome; as of course are any objections. I'm thinking of going with &quot;Where on the Web can I find a comprehensive list of rolling-release Linux distros?&quot; for the question, with an explanation for why I'm asking in the text below. Should the text specificity avoid mentioning that any help with the Wikipedia article is welcome? Is that against this site's guidelines? I want to be careful not to give the impression I'm posting to recruit. All I really want to know is is there already such a list; any help I get is just a bonus." CreationDate="2010-12-28T05:07:37.100" UserId="3283" />
  <row Id="6226" PostId="5180" Text="Reading documentation is not one of your strong skills, apparently..." CreationDate="2010-12-28T07:13:33.367" UserId="1946" />
  <row Id="6227" PostId="5182" Text="Why was 2.4 kernel non-preemptive?" CreationDate="2010-12-28T10:04:24.417" UserId="2871" />
  <row Id="6228" PostId="5182" Text="Better ask Linus Torvalds :)" CreationDate="2010-12-28T10:18:18.933" UserId="3198" />
  <row Id="6229" PostId="5184" Score="1" Text="You shouldn't want to _know_ that.  What you should want is _learn_ it." CreationDate="2010-12-28T12:03:55.223" UserId="1946" />
  <row Id="6230" PostId="5146" Text="That is another way to do it, by distributing fixed IPs over dhcp. That means that the clients would not need to be configured individually." CreationDate="2010-12-28T12:14:04.060" UserId="2932" />
  <row Id="6231" PostId="5166" Text="I've just sent him the link to extlinux." CreationDate="2010-12-28T12:20:54.777" UserId="305" />
  <row Id="6232" PostId="5180" Text="I would really like to know why anyone would want this Question closed. Really, please point why it's __not a real question__." CreationDate="2010-12-28T13:56:40.117" UserId="688" />
  <row Id="6233" PostId="5180" Text="@Tshepang : On reading the comment by Alex, and -1 flag which i got in just after 5 minutes i posted this question, i thought this one is silly. So i myself asked for closing it. If you find it really valid question, and i should move forward with it, I would like to know how can i pull my closed vote back?" CreationDate="2010-12-28T14:10:01.730" UserId="2871" />
  <row Id="6234" PostId="5180" Text="I saw that you asked the other Question. You should maybe have just edited this one. Forget the __close__ vote. It will go away after a number of days." CreationDate="2010-12-28T15:28:00.200" UserId="688" />
  <row Id="6237" PostId="5050" Text="Debian Lenny, from repos. I ran it from the GUI and simply pressed the play button. The same works on the repo version installed on Debian Squeeze several days ago." CreationDate="2010-12-28T17:10:46.103" UserId="1389" />
  <row Id="6238" PostId="2434" Text="I've always put off learning regex because I tell myself that I'll one day learn it by reading Kleene's original papers on logic that invented the concept before it became widely used in computers." CreationDate="2010-12-28T17:13:37.393" UserId="1389" />
  <row Id="6239" PostId="5135" Text="Thanks. I'm beginning to suspect the OS is in ROM (welcome back, 1980s!), and can't easily be replaced. The machine has no CD player, but does have USB ports (and an SD slot), so I suppose I could try installing Ubuntu or something. Sadly, even the Windows CE on this machine isn't working well, and I may have to return it :(" CreationDate="2010-12-28T17:25:39.910" UserId="2267" />
  <row Id="6241" PostId="5185" Text="[LXR](http://lxr.linux.no/linux/) is a nice interface for reading the Linux kernel source. Nice list, though beware that a lot of it is very architecture-dependent (this is the PC version)." CreationDate="2010-12-28T19:10:11.077" UserId="885" />
  <row Id="6242" PostId="5135" Score="1" Text="@barrycarter: It's unlikely to be an actual ROM (flash usually ends up cheaper), but even if it's flash, there might be no software access to a flashing interface." CreationDate="2010-12-28T19:15:55.350" UserId="885" />
  <row Id="6243" PostId="5135" Text="@Giles The machine comes up reading &quot;Loading device drivers&quot; with no &quot;press F1 to enter BIOS&quot;, so I think you're right." CreationDate="2010-12-28T19:22:21.150" UserId="2267" />
  <row Id="6244" PostId="5130" Text="I'm going ahead now with posting the revised question &quot;Where on the Web can I find a comprehensive list of rolling-release Linux distros?&quot;. I would again like to thank everyone. I also appreciate the two up votes - so thank you to whoever you are! Also thanks to anyone who didn't down vote -- despite it being a bad post!" CreationDate="2010-12-28T21:48:38.760" UserId="3283" />
  <row Id="6245" PostId="5202" Score="1" Text="+1 for the suggestion of virtualization! Personally I think VirtualBox might be an easier way to learn Ubuntu server, but the concept is the same." CreationDate="2010-12-28T22:19:11.503" UserId="1974" />
  <row Id="6246" PostId="5202" Score="3" Text="Thanks. Virtualbox is a *desktop* virtualization product, targetted at desktops, with a desktop-friendly interface. I didn't mention KVM for no reason: KVM is server-orientated. It is a Type 1 hypervisor, whereas Virtualbox is Type 2. KVM forces you to learn a little bit about how kernels work, what a hypervisor is and how you can make the kernel into a hypervisor. Virtualbox will merely teach you how to click. Learning Linux is not about 'easy'. It is about 'knowledge'." CreationDate="2010-12-28T23:12:16.890" UserId="272" />
  <row Id="6247" PostId="5202" Text="Oh and people, please, Ubuntu is not Linux. Ubuntu is just an incarnation of Linux. A nice one, to be sure, but still just one of the hundreds of distro's out there. So, as far as I'm concerned: install a whole bunch of Linuxes. Install CentOS, Fedora, Ubuntu, Gentoo (good one to learn a lot from), a couple of BSD's. You want to learn? Experiment! Try to make your eyes bleed ;-)" CreationDate="2010-12-28T23:15:38.277" UserId="272" />
  <row Id="6248" PostId="5206" Text="What I really want is execute 'pushd &lt;params&gt;' followed by another command that takes no params. I may not need a shell script for it - what's a good way to do this?" CreationDate="2010-12-29T00:23:25.020" UserId="3341" />
  <row Id="6249" PostId="5206" Text="@sarah-soto All you need then is `pushd &lt;params&gt;; other-command`" CreationDate="2010-12-29T00:26:05.327" UserId="2180" />
  <row Id="6250" PostId="5196" Text="you probably want to check the log, or use a command line (BTW it's not that scary) and post the output" CreationDate="2010-12-29T00:32:58.740" UserId="250" />
  <row Id="6251" PostId="5206" Text="I should have clarified: I want a shortcut so I am invoking both commands one after the after without implicitly calling both. I can't aliase the two commands to be alias p2='pushd; other-command' and then invoke 'p2 ~/temp' as the shell will return the error: '-bash: pushd: no other directory" CreationDate="2010-12-29T00:38:38.207" UserId="3341" />
  <row Id="6252" PostId="5206" Text="You could use a shell function: `function p2 () { pushd &quot;$@&quot;; other-command;}`" CreationDate="2010-12-29T00:46:12.833" UserId="1207" />
  <row Id="6253" PostId="5204" Text="Related question: http://unix.stackexchange.com/q/2976/250" CreationDate="2010-12-29T00:49:57.703" UserId="250" />
  <row Id="6254" PostId="5190" Text="OK, thanks for the tip!" CreationDate="2010-12-29T01:40:26.367" UserId="1375" />
  <row Id="6255" PostId="974" Text="I'm not sure what is guaranteed.  I know there are lots of people writing scripts for &quot;/bin/sh&quot; that are littered with Bash-isms which Bash-as-/bin/sh tolerates, but which confuse `dash` (Debian's `ash` and Bourne compatible shell)." CreationDate="2010-12-29T02:30:57.970" UserId="614" />
  <row Id="6256" PostId="5206" Score="2" Text="A shell script is a fine way to do this. It's inefficient, but this is not a case where optimization is worth bothering with. Defining a shell function in your `~/.bash_profile` (or whatever your shell uses, if not Bash) will also work. Your choice." CreationDate="2010-12-29T03:10:29.827" UserId="138" />
  <row Id="6257" PostId="5201" Score="1" Text="Adding to the list:  use your linux box as your home firewall w/NAT.    " CreationDate="2010-12-29T05:51:34.163" UserId="298" />
  <row Id="6258" PostId="5184" Text="thanks for the comment" CreationDate="2010-12-29T05:54:39.293" UserId="2269" />
  <row Id="6260" PostId="5202" Text="Hi wzzrd, thank you for your replies. Please see the edit." CreationDate="2010-12-29T09:50:47.497" UserId="3336" />
  <row Id="6261" PostId="5203" Text="Hi, thank you for your advise, please see the edit." CreationDate="2010-12-29T09:51:19.150" UserId="3336" />
  <row Id="6262" PostId="5201" Text="Hi, challenge is one side. I was concerned that I'll concentrate on something like file-servers or web servers without understanding fundamentals." CreationDate="2010-12-29T09:52:47.887" UserId="3336" />
  <row Id="6263" PostId="4544" Text="Not to mention this answer is misinformed, ill-stated and just plain wrong." CreationDate="2010-12-29T10:54:46.797" UserId="272" />
  <row Id="6264" PostId="5203" Score="2" Text="+1 for &quot;be very carefull about configuration changes&quot;. :)" CreationDate="2010-12-29T11:24:50.473" UserId="1327" />
  <row Id="6265" PostId="5203" Text="In software development there is an unofficial &quot;must read&quot; book - Gang of Four, it explains very important fundamentals and principles that a lot of software developers choose to ignore. Is there any similar literature for Linux?" CreationDate="2010-12-29T11:27:23.297" UserId="3336" />
  <row Id="6266" PostId="5198" Text="These netbooks have no BIOS, no USB boot or other conventinal boot trick. They're not the usual animals. They're like, say, a Nintendo DS or a Sony PSP." CreationDate="2010-12-29T13:11:33.783" UserId="3312" />
  <row Id="6267" PostId="5135" Text="Until you find a Linux distro, download WinCE MegaPack http://bento-linux.org/wiki/wm8505/vt8505/windows-ce/mega-pack I've found this stuff on the 3MX page http://www.littlelinuxlaptop.com/3mx-4-0/  which is a Linux distro for *similar* notebooks with **MIPS** processor." CreationDate="2010-12-29T13:23:03.477" UserId="3312" />
  <row Id="6268" PostId="5195" Score="1" Text="A hypervisor is the 'thing' that enables you to run virtual machines. You wanted to learn. The kernel is a fine place to learn. But it does have a steep learning curve :) " CreationDate="2010-12-29T14:32:04.780" UserId="272" />
  <row Id="6269" PostId="4118" Text="Next time you take a screenshot and tries to erase some text from the window, remember that your terminal is transparent, and we can see the Gimp window behind it. ;)" CreationDate="2010-12-29T15:23:43.887" UserId="474" />
  <row Id="6270" PostId="5214" Text="possible duplicate of [What is a spinlock in Linux?](http://unix.stackexchange.com/questions/5088/what-is-a-spinlock-in-linux)" CreationDate="2010-12-29T17:50:46.977" UserId="885" />
  <row Id="6271" PostId="5225" Text="Thanks, I tried with the first command but it failed. See my update. I don't want to use private repositories, but thanks anyway. I can live with Firefox." CreationDate="2010-12-29T18:21:56.113" UserId="1615" />
  <row Id="6272" PostId="5214" Text="@Gilles I looked at that one too, but the only mention of semaphores on the page is Warren commenting that &quot;If one wants to know the difference between a spin lock and, say, a semaphore, that's a different question.&quot;" CreationDate="2010-12-29T19:08:51.177" UserId="73" />
  <row Id="6273" PostId="5206" Text="I tried to define a shell function in my bash_profile - but should I alias the function as well? I tried this: alias pd2='function p2() { pushd &quot;$@&quot;; other-command;}' but upon running it as 'pd2 ~/Documents', I get the error: -bash: syntax error near unexpected token `~/Documents/'" CreationDate="2010-12-29T19:09:20.983" UserId="3341" />
  <row Id="6274" PostId="5226" Text="cross-posted on [askubuntu](http://askubuntu.com/questions/19297/saving-data-from-a-failing-drive) and [superuser](http://superuser.com/questions/227010/saving-data-from-a-failing-drive)" CreationDate="2010-12-29T19:27:35.037" UserId="1535" />
  <row Id="6275" PostId="5222" Text="Good explanation, I just want to emphasize one point. Semaphore vs mutex is a matter of interface: a mutex is held or not, while a semaphore is held by up to N threads; a mutex is a special case of semaphores with N=1. Spinlock vs other kind of lock is a matter of implementation: a spinlock keeps trying to acquire the lock, whereas other kinds wait for a notification. In a Linux kernel context, the only lock with a spin implementation has a mutex interface." CreationDate="2010-12-29T19:33:55.773" UserId="885" />
  <row Id="6276" PostId="5214" Text="@Michael: ok, I think answers there addressed the main point, but you're right that none explicitly stated that semaphores were one of the other kinds of locks." CreationDate="2010-12-29T19:36:06.070" UserId="885" />
  <row Id="6278" PostId="5206" Text="No, don't alias the function.  The function option is an alternative to shell script + alias.  Your other problem is due to the double-quotes, which are preventing Bash from interpreting the ~ in your directory.  You can remove them, in which case you won't be able to use this function with directories with spaces in their names, or you can avoid using the `p2` command with wildcards, `~`, or anything else handled by the shell. There's a third alternative, writing a much more clever `p2()` function (or script). " CreationDate="2010-12-29T20:21:54.360" UserId="138" />
  <row Id="6279" PostId="5196" Text="did you follow the advice: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Are there problems with your internet connection?" CreationDate="2010-12-29T21:09:50.720" UserId="3086" />
  <row Id="6280" PostId="5229" Score="1" Text="This is a spectacular idea" CreationDate="2010-12-29T21:14:49.677" UserId="73" />
  <row Id="6281" PostId="5196" Text="@NES: No, I didn't. But I did it now, and it works fine. Thanks." CreationDate="2010-12-29T21:21:37.437" UserId="1615" />
  <row Id="6282" PostId="5229" Score="1" Text="To supplement `^[ .` (`insert-last-word`), I like `copy-earlier-word`, which cycles between words of the line reached by `insert-last-word`. For your `.zshrc`: `autoload copy-earlier-word &amp;&amp; zle -N copy-earlier-word &amp;&amp; bindkey '^[,' copy-earlier-word`" CreationDate="2010-12-29T21:30:19.977" UserId="885" />
  <row Id="6283" PostId="5197" Text="Or `dpkg -p gnome`, since it's installed." CreationDate="2010-12-29T21:34:05.327" UserId="1779" />
  <row Id="6284" PostId="5229" Text="@Gilles thanks! That gets me closer to the functionality if I'm not able to get full autocompletion.  ~80% of the time, if it's not the last argument, it's the 2nd to last argument that I want and C-. + C-, is pretty good." CreationDate="2010-12-29T22:26:11.740" UserId="3360" />
  <row Id="6285" PostId="5225" Text="Did you run `sudo apt-get update` first?" CreationDate="2010-12-29T22:43:02.547" UserId="1571" />
  <row Id="6286" PostId="5231" Score="4" Text="There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client." CreationDate="2010-12-30T00:17:04.833" UserId="1571" />
  <row Id="6287" PostId="5210" Text="This works nicely. Thanks!" CreationDate="2010-12-30T00:27:59.460" UserId="2333" />
  <row Id="6288" PostId="4118" Text="@Denilson Sa: Good call." CreationDate="2010-12-30T01:49:30.863" UserId="1207" />
  <row Id="6289" PostId="5215" Score="1" Text="Thanks for your list. Searching by kernel ver. is a good idea! I should have thought of that!! :-) DistroWatch is my go-to as well BTW. I posted a comment on there suggesting indicating rolling distros + a search option. I might send an email to the maintainer to ask if he has any plans along these lines. DistroWatch is the obvious go-to and I think a lot of Linux users like to roll. My thought of producing a Wikipedia page is really a response to the lack of such on DistroWatch etc. If DistroWatch was a wiki I'd start a page on there." CreationDate="2010-12-30T04:24:36.973" UserId="3283" />
  <row Id="6290" PostId="5236" Text="Thank you. So is there an alternative for the X protocol to transmit 3D? Sorry, I should have put server and client in quotes, I only meant to have shorter words for the strong and weak PC - both PC's should be used as front-ends at the same time as if they were desktop PCs but with all CPU work and RAM access done by the better PC. The weak PC doesn't have enough CPU power and RAM to run the application itself" CreationDate="2010-12-30T10:41:29.500" UserId="863" />
  <row Id="6291" PostId="5236" Text="Not that I am aware of. The kind of 3D you are thinking of requires a LOT of bandwidth. " CreationDate="2010-12-30T10:47:58.463" UserId="3082" />
  <row Id="6292" PostId="5236" Text="that's true :( OTOH, [onlive](http://www.onlive.com), [gaikai](http://www.gaikai.com/) and others claim this is even possible for games over the internet..." CreationDate="2010-12-30T11:01:21.083" UserId="863" />
  <row Id="6293" PostId="5236" Text="Ok, I took a look. I don't think they are transmitting the frames that way, either. They are downloading and running local, and only transceiving control and update information, just like existing online games.Even if they did, it would have to be low resolution for high compression." CreationDate="2010-12-30T11:08:40.230" UserId="3082" />
  <row Id="6294" PostId="5236" Text="The way I understand it, they run the game remotely and just transmit a HD stream of the video while receiving keyboard and mouse events. But of course one couldn't transmit 30 fps in HD over the internet without any compression..." CreationDate="2010-12-30T11:13:39.507" UserId="863" />
  <row Id="6295" PostId="5239" Text="True, Samba should be easier. Can you recommend any tiny distribution with only that purpose?" CreationDate="2010-12-30T11:22:27.873" UserId="863" />
  <row Id="6296" PostId="5240" Text="+1 this sound exactly like what I'm looking for, thank you! (I'll accept the answer after (hopefully) successful testing)" CreationDate="2010-12-30T11:37:27.137" UserId="863" />
  <row Id="6297" PostId="5241" Text="Does it (subjectively) perform better than NTFS on Linux?" CreationDate="2010-12-30T13:01:02.940" UserId="863" />
  <row Id="6298" PostId="5241" Text="Haven't tested it. As I first started using it, the NTFS write support in the Linux kernel was not very good, so I had no choice." CreationDate="2010-12-30T13:46:47.017" UserId="2327" />
  <row Id="6299" PostId="3793" Score="1" Text="@Gilles the choice is between free software and &quot;partially closed-source software&quot;. It's not just &quot;open source&quot;. The open source camp is not after user freedom, which is the main reason of Linux-libre's existance. So the point is Linux-libre removes functionality but considers doing this an ethical advance, since freedom is an ethical requirement. More info: http://www.gnu.org/philosophy/open-source-misses-the-point.html" CreationDate="2010-12-30T13:48:16.123" UserId="312" />
  <row Id="6300" PostId="5242" Text="+1 great idea, I already forgot I read about coLinux... can you recommend a minimum distribution for this purpose? And does this offer a mapped drive maybe without having to use samba at all?" CreationDate="2010-12-30T13:53:36.917" UserId="863" />
  <row Id="6301" PostId="3793" Text="@Fernando: Since this is not the first time it comes up… In my comment above, I use “open source” as a less wordy and more widely understood synonym for “software that is free as in ‘free speech’” (the shorter wording “free software” being often understood as meaning software with a price tag of 0). The difference between these two expressions is irrelevant to answer the question in this thread, and off-topic on this site." CreationDate="2010-12-30T14:33:24.350" UserId="885" />
  <row Id="6302" PostId="5249" Text="Good point, I had thought the `ls -d a*` was a placeholder for something more complex - but I shouldn't have assumed that." CreationDate="2010-12-30T15:27:39.377" UserId="2974" />
  <row Id="6303" PostId="5249" Score="1" Text="actually it was a placeholder but this did the trick" CreationDate="2010-12-30T15:40:33.710" UserId="3374" />
  <row Id="6304" PostId="5247" Text="good to know! ty" CreationDate="2010-12-30T15:41:03.553" UserId="3374" />
  <row Id="6305" PostId="5198" Text="thanks ern0 for the information. after knowing that the only way i would go about is to open the thing, remove the hard disk and move it to a desktop and installing from there. what do you think?" CreationDate="2010-12-30T15:49:29.300" UserId="3338" />
  <row Id="6306" PostId="5235" Text="I found this rather old but related question at SO: [How can I run an OpenGL application installed on a linux machine from my windows machine?](http://stackoverflow.com/q/106201/321973) and at SF: [How can OpenGL graphics be displayed remotely using VNC?](http://serverfault.com/q/174003/45248)" CreationDate="2010-12-30T16:14:47.177" UserId="863" />
  <row Id="6307" PostId="5240" Text="aww, [my Radeon doesn't seem to support pbuffer](http://askubuntu.com/q/19418/929) which is required :(" CreationDate="2010-12-30T16:23:15.047" UserId="863" />
  <row Id="6308" PostId="5235" Text="Follow-up since the the PCs are next to each other anyway and I wonder why not using one PC for two users: [Can one PC be used by two users at the same time via dual-monitor?](http://unix.stackexchange.com/q/5251/863)" CreationDate="2010-12-30T16:27:09.550" UserId="863" />
  <row Id="6309" PostId="5057" Score="1" Text="Does the crosstalk occur when viewing through another program? (like camstream). At least then you'd know it's not motion's fault..." CreationDate="2010-12-30T19:14:52.953" UserId="1235" />
  <row Id="6310" PostId="5259" Text="Great answer, thanks. Does Wubi-based Ubuntu install has support for accessing NTFS partitions? That's quite important for me." CreationDate="2010-12-30T20:37:56.547" UserId="3235" />
  <row Id="6311" PostId="5259" Text="@Jas: [Ubuntu supports NTFS](https://help.ubuntu.com/community/MountingWindowsPartitions) through [NTFS-3G](http://en.wikipedia.org/wiki/NTFS-3g) like all modern Linux distributions. Wubi doesn't affect that support, except that I think the Windows partition on which the Wubi image resides has to remain mounted." CreationDate="2010-12-30T21:18:11.730" UserId="885" />
  <row Id="6312" PostId="5239" Text="@Tobias: Ubuntu's server has a vm optimized install and will offer during the installation to setup a Samba service." CreationDate="2010-12-30T22:13:11.297" UserId="1974" />
  <row Id="6313" PostId="5261" Text="Awesome, thanks! I should have clarified, while I put `sync; sync; sync; sync` in the title, and I do sometimes type it that way, I also heard it explained to me the same way, that is, sync, wait, sync again, wait, etc." CreationDate="2010-12-30T22:51:08.503" UserId="1974" />
  <row Id="6315" PostId="5254" Text="Huh. So I guess that's what those little glassy buttons are for on KDM. Thanks for your help on what turned out to be a pretty simple fix." CreationDate="2010-12-30T23:05:42.493" UserId="1510" />
  <row Id="6316" PostId="5218" Score="1" Text="It seems the problem is that the kernel sends keycodes larger than 255 which X doesn’t register because it is limited to an unsigned 8bit integer. And I’m now recompiling the kernel module with modified keycodes to test this theory..." CreationDate="2010-12-31T00:05:13.163" UserId="444" />
  <row Id="6317" PostId="4516" Text="Is it an android phone? If not, adb will not work, anyway." CreationDate="2010-12-31T03:05:35.090" UserId="3082" />
  <row Id="6318" PostId="5265" Score="3" Text="They're called modelines in emacs too. There's even an emacs module to let it parse vim modelines." CreationDate="2010-12-31T05:18:17.613" UserId="137" />
  <row Id="6319" PostId="5265" Text="Yeah. I've also found that, `vi` by default doesn't enable modelines, while `vim` does." CreationDate="2010-12-31T06:53:37.780" UserId="3267" />
  <row Id="6320" PostId="2273" Text="me curious why prefer ffmpeg?" CreationDate="2010-12-31T07:32:49.737" UserId="688" />
  <row Id="6321" PostId="2274" Text="thanks @micheal. " CreationDate="2010-12-31T08:31:18.963" UserId="1327" />
  <row Id="6322" PostId="2273" Text="ffmpeg is a very powerfull tool, so I thought it would be capable of merging two files together. However, as you can see from Micheal's answer we went with Avimerge." CreationDate="2010-12-31T08:33:07.463" UserId="1327" />
  <row Id="6323" PostId="5146" Text="I do not have admin powers over the router(s). " CreationDate="2010-12-31T08:35:44.120" UserId="1327" />
  <row Id="6324" PostId="2273" Score="1" Text="You can use `ffmpeg` command if you like (as it is not GUI I don't post it as answer) IIRC." CreationDate="2010-12-31T09:59:35.017" UserId="305" />
  <row Id="6325" PostId="2273" Text="@Maciej You might post your answer [here](http://unix.stackexchange.com/questions/2273/how-do-i-merge-two-avi-files-into-one)." CreationDate="2010-12-31T11:36:54.940" UserId="688" />
  <row Id="6326" PostId="2273" Text="excuse me, but you still didn't tell me why ffmpeg" CreationDate="2010-12-31T12:29:27.310" UserId="688" />
  <row Id="6327" PostId="5130" Text="The new post is up and titled &quot;Where on the Web can I find a comprehensive list of rolling-release Linux distros?&quot;. Thanks to everyone who commented. Michael, feel free to delete this post and thanks for the guidance. :-)" CreationDate="2010-12-31T15:04:51.417" UserId="3283" />
  <row Id="6328" PostId="2273" Text="ffmpeg is a standard tool in the linux toolbox. " CreationDate="2010-12-31T15:19:20.873" UserId="1327" />
  <row Id="6329" PostId="5279" Text="I think netcat is the answer, so thank you.  To clarify, what I'm trying to do is write a script as part of a load balancing procedure.  I need to start a process, wait for it to accept requests on the port and then shutdown the original.  If there are better ways of doing this, rather than writing my own script, I'm all ears." CreationDate="2010-12-31T16:36:17.273" UserId="3390" />
  <row Id="6330" PostId="5280" Text="No - I mean wrapped in file (even it is intended properly). Wrapping visualy is quite sane. Wrapping in file is imho insane for source/configuration files with few exceptions." CreationDate="2010-12-31T16:45:34.797" UserId="305" />
  <row Id="6332" PostId="5276" Score="2" Text="Try moving your .vimrc to the side and then opening a non-mangulated copy of your file. Vim shouldn't be adding newlines just because it thinks they should be there." CreationDate="2010-12-31T17:36:11.777" UserId="2827" />
  <row Id="6333" PostId="5279" Text="@Will: That's a very different question! I've written a different answer." CreationDate="2010-12-31T17:37:52.673" UserId="885" />
  <row Id="6334" PostId="5276" Text="Does the `very-long-string` contains invisible characters like 0x10 and 0x13 ? As pboi wrote, vim doesn't add characters." CreationDate="2010-12-31T18:36:58.620" UserId="393" />
  <row Id="6335" PostId="5255" Text="awesome, I'll try that soon, thanks! will it work with hardware acceleration (openGL)?" CreationDate="2010-12-31T19:20:01.313" UserId="863" />
  <row Id="6336" PostId="5251" Text="related: [Setting up a multiseat configuration](http://superuser.com/q/29879/35237) (@SU)" CreationDate="2010-12-31T19:31:37.653" UserId="863" />
  <row Id="6337" PostId="5270" Text="Even beyond broadcasting the existence of sshd, avahi will very easily provide you with up-to-date hostname resolution." CreationDate="2010-12-31T20:07:31.470" UserId="1207" />
  <row Id="6338" PostId="2274" Text="Debian doesn't have transcode, supposedly due to patent issues. There's a third-party repo found at debian-multimedia.org, but the transcode package (version __1.1.5-0.7__) doesn't have the `avimerge` binary. You might wanna make a note of that." CreationDate="2010-12-31T21:28:23.930" UserId="688" />
  <row Id="6339" PostId="2273" Text="wsup with the close vote?" CreationDate="2010-12-31T21:30:55.733" UserId="688" />
  <row Id="6340" PostId="5280" Text="it seems that it is enabled on gentoo as my .vimrc contains `set backupdir=/tmp` only.." CreationDate="2011-01-01T00:56:00.907" UserId="305" />
  <row Id="6341" PostId="2273" Text="@Tshepang: I wasn't one voting (well - obviously ;) ) but I guess it is referring to [the question you lined to](http://unix.stackexchange.com/questions/2273/how-do-i-merge-two-avi-files-into-one)" CreationDate="2011-01-01T01:21:56.337" UserId="305" />
  <row Id="6342" PostId="5300" Score="1" Text="Please do not post LiveCD-based distributions that can be used on usb like SysResCD." CreationDate="2011-01-01T16:20:19.400" UserId="305" />
  <row Id="6343" PostId="5297" Text="Post the contents of `/etc/default/grub`, and the exact transcript from `update-grub`." CreationDate="2011-01-01T17:00:08.807" UserId="885" />
  <row Id="6344" PostId="5304" Text="[crossposted on superuser.com](http://superuser.com/questions/227983/how-to-back-up-initial-state-of-external-backup-drive)" CreationDate="2011-01-01T18:39:07.807" UserId="1535" />
  <row Id="6345" PostId="5242" Text="too bad, neither supports 64 bit windows :-(" CreationDate="2011-01-01T18:56:56.707" UserId="863" />
  <row Id="6346" PostId="5306" Text="Already tried the stuff command but it only sends commands that are from screen. You see it accepts only the commands that are screen related, not the program am using related." CreationDate="2011-01-01T19:54:10.523" UserId="3357" />
  <row Id="6347" PostId="5306" Text="@CYREX: `stuff` sends characters, exactly as if you had typed them. What exactly did you try, what was the intended effect, and what happened instead?" CreationDate="2011-01-01T19:59:57.527" UserId="885" />
  <row Id="6348" PostId="5306" Text="I see you have the -p part. I did not have that. Added that part and it is sending the command now but how can i press ENTER for each command?" CreationDate="2011-01-01T20:52:30.377" UserId="3357" />
  <row Id="6349" PostId="5306" Text="Found it. Addint $ before the quotes and having C like escapes in it. Like this -X stuff $'show users\n'" CreationDate="2011-01-01T20:56:36.177" UserId="3357" />
  <row Id="6350" PostId="5306" Text="@CYREX: `-p` is necessary (or at least a good idea) if there is more than one window. To “press Enter”, just include a newline in the argument (i.e. inside the quotes), as I've done." CreationDate="2011-01-01T21:00:23.770" UserId="885" />
  <row Id="6351" PostId="5290" Score="1" Text="I think the answer is &quot;no&quot;, sorry. The closest thing is &quot;planner&quot;, but not [there yet](https://bugzilla.gnome.org/show_bug.cgi?id=132917). However, the new trend is web apps, such as [manymoon](https://www.manymoon.com/auth/login) that work great in Chromium on Linux." CreationDate="2011-01-02T00:21:57.767" UserId="3082" />
  <row Id="6356" PostId="5307" Text="Thanks.. I had a feeling I was forgetting something.." CreationDate="2011-01-02T05:40:05.280" UserId="1535" />
  <row Id="6357" PostId="5299" Text="Your thirst for going ahead and give the Answer regardless should have been quenched by going here: http://unix.stackexchange.com/questions/2273/how-do-i-merge-two-avi-files-into-one. Also, see my Comment on the Accepted Answer." CreationDate="2011-01-02T07:43:59.913" UserId="688" />
  <row Id="6359" PostId="5322" Text="Oh right, thanks. Got soft on the brain..." CreationDate="2011-01-02T09:22:21.133" UserId="3082" />
  <row Id="6360" PostId="5299" Text="Oh, sorry - somehow I missed that question..." CreationDate="2011-01-02T09:30:28.457" UserId="2661" />
  <row Id="6361" PostId="5323" Text="Possibly off-topic? Unless it is about UNIX systems only." CreationDate="2011-01-02T10:36:33.583" UserId="305" />
  <row Id="6362" PostId="5240" Text="I have a new PC now which supports pbuffer, but unfortunately [vglrun segfaults](http://unix.stackexchange.com/q/5330/863) now. Could this be because the server runs on 64 bit while the client is on 32 bit?" CreationDate="2011-01-02T10:38:33.193" UserId="863" />
  <row Id="6364" PostId="5329" Text="Do you just want to block Jack → Alice, or do you want to block Jack → Everyone but Bob? And do you want to block jack@externalsystem.example.com from sending to Alice too?" CreationDate="2011-01-02T12:51:55.367" UserId="2511" />
  <row Id="6365" PostId="5328" Score="1" Text="But of course only one kernel is running &quot;on the real hardware&quot; as the hypervisor." CreationDate="2011-01-02T12:52:50.373" UserId="2511" />
  <row Id="6366" PostId="5332" Text="Since the names are longer than the other columns, I used 150,200,250 rather than 100,200,300..." CreationDate="2011-01-02T13:03:02.480" UserId="12" />
  <row Id="6367" PostId="5325" Text="Yes and no. It is possible to enforce memory separation without virtual memory. Some microcontrollers have hardware memory protection but not virtual memory (see [jlliagre's answer](http://unix.stackexchange.com/questions/5323/is-it-possible-to-support-multiple-processes-without-support-for-virtual-memory/5326#5326)). And even without hardware support, you can enforce memory separation through static analysis (it's not easy, but it's doable)." CreationDate="2011-01-02T13:32:04.937" UserId="885" />
  <row Id="6368" PostId="5318" Text="Thanks. So basically, you are saying I do a sloppy chroot :) I'll give it a try with a proper chroot. `cp -ax` should be fine (maybe after dropping to single user runlevel) according to this old howto: http://tldp.org/HOWTO/Hard-Disk-Upgrade/copy.html " CreationDate="2011-01-02T14:52:42.517" UserId="2881" />
  <row Id="6369" PostId="5318" Text="Worked a charm! Thank you very much for the help." CreationDate="2011-01-02T15:50:11.593" UserId="2881" />
  <row Id="6370" PostId="5222" Text="__In a Linux kernel context, the only lock with a spin implementation has a mutex interface.__ I dint understand this line. Could you please expand on it?" CreationDate="2011-01-02T15:56:12.413" UserId="2871" />
  <row Id="6372" PostId="5335" Text="Friggin awesome and comprehensive answer - thanks!" CreationDate="2011-01-02T17:47:21.077" UserId="3408" />
  <row Id="6373" PostId="5343" Text="[cross-posted on SuperUser](http://superuser.com/questions/228325/power-management-of-usb-enclosed-hard-drives)" CreationDate="2011-01-02T20:18:51.477" UserId="1535" />
  <row Id="6374" PostId="5318" Text="@Janus: I'd copy data from Live distro to be on safe side. I'm glad however it worked." CreationDate="2011-01-02T20:37:03.827" UserId="305" />
  <row Id="6375" PostId="5222" Text="@Sen: He meant that spin lock in Linux behave binary (it is locked or not). It is possible to have a spinning lock behaving as semaphor." CreationDate="2011-01-02T20:39:13.217" UserId="305" />
  <row Id="6376" PostId="3402" Text="Renjith G: good questions, perhaps, it helps to analyze a bit. Beer can have repercussions such as hangover, while it is hard to see such repercussions from &quot;free speech&quot;. If software is free-as-in-beer, perhaps, the term is used to point to the less free long-term perspective. It is hard to invent a general rule how to use the terms, better to break it into parts and ask when they are used as synonyms." CreationDate="2011-01-02T21:50:59.720" UserId="2362" />
  <row Id="6377" PostId="3703" Text="Or Auto-Nice daemon -- same concept, different implementation. &lt;http://and.sourceforge.net/&gt;" CreationDate="2011-01-02T22:43:05.513" UserId="2511" />
  <row Id="6378" PostId="2581" Text="`bar` doesn't wrap `mv` yet." CreationDate="2011-01-02T23:04:24.817" UserId="2729" />
  <row Id="6379" PostId="5297" Text="(thoughts after adding solution): It might actually be that the problem was that I hadn't updated `/etc/fstab` in the `chroot` (this would be consistent with `update-grub` complaining that &quot;\ isn't mounted&quot;). Were I to do this again, I would try first without bothering to mount the special file systems in the chroot. " CreationDate="2011-01-03T01:12:38.863" UserId="2881" />
  <row Id="6380" PostId="5275" Text="I think this route has potential, but it seems that there is a problem. This command executed as root: &quot;dd if=/dev/mem bs=1 skip=10000 count=512&quot; gives this error: &quot;dd: /dev/mem: Bad address&quot; I'm not sure what that means. Google tells me that it's something to do with changes introduced in the 2.6 kernel, but I don't understand enough about this yet to work around it." CreationDate="2011-01-03T03:21:50.103" UserId="2996" />
  <row Id="6381" PostId="5329" Text="Hi Mattdm, I want to restrict user jack to send mail to alice. But everyone can send mail to user alice except user jack...                                             " CreationDate="2011-01-03T03:29:35.030" UserId="2914" />
  <row Id="6382" PostId="5120" Text="Can you try a hardlink instead of a symlink?" CreationDate="2011-01-03T03:54:35.633" UserId="1571" />
  <row Id="6383" PostId="5334" Text="@Luc: just to clarify, is your &quot;No.&quot; meant to mean that you're seeing similar problems with this addon?" CreationDate="2011-01-03T04:46:24.707" UserId="1535" />
  <row Id="6384" PostId="5344" Text="Qiqi's answer agrees with this one: http://superuser.com/questions/128716/ubuntu-latest-samba-version-symlinks-no-longer-work-on-share-mounted-in-window" CreationDate="2011-01-03T04:49:00.143" UserId="2881" />
  <row Id="6385" PostId="5346" Score="4" Text="Perhaps see the question: http://unix.stackexchange.com/questions/1279/how-can-i-edit-large-file" CreationDate="2011-01-03T06:21:29.983" UserId="1071" />
  <row Id="6386" PostId="5343" Text="[cross-posted on AskUbuntu](http://askubuntu.com/questions/19804/power-management-of-usb-enclosed-hard-drives)" CreationDate="2011-01-03T06:36:15.523" UserId="1535" />
  <row Id="6387" PostId="5350" Text="@Michael Thanx for the support, it is running fine !! but can you please let me know about this : .\{6\} , that you have used with grep command." CreationDate="2011-01-03T07:39:31.437" UserId="1608" />
  <row Id="6388" PostId="5334" Text="No, sorry, It's meant to mean wikia is not the right place to fill bug reports. Otherwise, I've seen some kind of regression with the `:Info` command since I've migrated from one environment to another. So I can't tell much to help you as I haven't investigate the problem." CreationDate="2011-01-03T07:54:51.527" UserId="3240" />
  <row Id="6389" PostId="5339" Score="1" Text="Thanks for this brilliant answer.. While doing fork(), the child anyways is going to get a new process ID and its associated Virtual space, then why should it still make a copy of the process's virtual memory table? I am not clear in that part." CreationDate="2011-01-03T08:11:59.017" UserId="2871" />
  <row Id="6390" PostId="5352" Text="Sorry, that page requires a minimum of a 1GB USB stick, I need to run the installer from one with 480MB, so a minimal install which then downloads anything else." CreationDate="2011-01-03T10:07:41.067" UserId="3425" />
  <row Id="6391" PostId="5352" Score="3" Text="That is not a problem. There are always Mini ISO available for this purpose. You can download for Ubuntu on this page: https://help.ubuntu.com/community/Installation/MinimalCD" CreationDate="2011-01-03T10:14:23.497" UserId="3198" />
  <row Id="6392" PostId="5350" Text="@Michael what about \ sign before { and } ?? please" CreationDate="2011-01-03T10:24:20.937" UserId="1608" />
  <row Id="6393" PostId="5351" Text="Why dont you shift the question to Ubuntu forum.&lt;http://askubuntu.com/&gt; Hope you will get great response." CreationDate="2011-01-03T10:30:10.480" UserId="2871" />
  <row Id="6394" PostId="5352" Text="Those instructions require a CD, can I create a bootable USB drive in the same manner as the normal Ubuntu install? I'll look into that..." CreationDate="2011-01-03T10:32:17.607" UserId="3425" />
  <row Id="6395" PostId="5352" Text="Yes, you can ..." CreationDate="2011-01-03T10:35:00.947" UserId="3198" />
  <row Id="6397" PostId="5351" Text="Sorry, I didn't know that one existed. " CreationDate="2011-01-03T11:27:55.973" UserId="3425" />
  <row Id="6398" PostId="5290" Text="@keith You sure that Planner is that advanced? I thought openproj had more features." CreationDate="2011-01-03T11:35:51.093" UserId="688" />
  <row Id="6399" PostId="5290" Text="@Tshepang No, I don't think it is advanced. It's pretty basic. I didn't know about openproj, but now I see it looks pretty good. Except that it's written in Java.... ;-)" CreationDate="2011-01-03T11:42:27.373" UserId="3082" />
  <row Id="6400" PostId="5350" Text="@Paresh Otherwise `grep` will look for `{` and `}` symbols, but not `6` repetitions of preceeding pattern." CreationDate="2011-01-03T11:50:52.143" UserId="1946" />
  <row Id="6401" PostId="5354" Text="Naming of products in technology is just awful. Thanks for your answer though." CreationDate="2011-01-03T12:06:32.120" UserId="3425" />
  <row Id="6402" PostId="5361" Score="2" Text="What system are you using? If Linux it is because it goes through FUSE so it  goes from userspace to kernel back to another piece of userspece back to kernel." CreationDate="2011-01-03T13:39:01.893" UserId="305" />
  <row Id="6403" PostId="5355" Text="That is not actually true in for example Linux. Linux allocate physical space on access - not on allocation request. Therefore it is entirely possible for process to allocate more space then there is memory+swap still not triggering OOM as long as it do not access the memory. Additionally the mmap-ed files are written to disk rather then swap and may trigger page fault." CreationDate="2011-01-03T14:05:35.917" UserId="305" />
  <row Id="6404" PostId="5355" Text="Huh, I implicitly wrote my description didn't apply to Linux which is an overcommiting OS. mmap-ed files are IMHO off topic as the question is about swap." CreationDate="2011-01-03T14:15:56.997" UserId="2594" />
  <row Id="6405" PostId="5352" Text="You can create a bootable USB from any bootable ISO image. You can even make an ISO from a disc, then use that ISO too." CreationDate="2011-01-03T14:25:07.703" UserId="261" />
  <row Id="6406" PostId="5355" Text="RAM used by mmaped files can be freed to their back-end so it's not that much off topic with Linux and the likes." CreationDate="2011-01-03T14:25:26.983" UserId="2594" />
  <row Id="6407" PostId="5354" Text="Out of curiosity, what do you find awful about it? If it's not commercial then it's not product-spamming." CreationDate="2011-01-03T14:27:18.793" UserId="261" />
  <row Id="6408" PostId="5354" Text="@wez: Even I had the same question to Bravax. Was there any problem in my answer?" CreationDate="2011-01-03T14:38:18.583" UserId="2871" />
  <row Id="6409" PostId="5363" Score="3" Text="Sorry - what do you mean by reuse? Writting dirty cache? Using sharing memory? Deallocating/reallocating physical space?" CreationDate="2011-01-03T14:41:09.630" UserId="305" />
  <row Id="6410" PostId="5363" Text="I think I am meant to say __De-allocating/reallocating physical space__." CreationDate="2011-01-03T14:47:04.133" UserId="2871" />
  <row Id="6411" PostId="5355" Text="Ups. Sorry I haven't noticed that (hence edit). " CreationDate="2011-01-03T14:51:56.560" UserId="305" />
  <row Id="6412" PostId="5241" Text="thanks. Unfortunately ext2ifs doesn't seem to work with 64 bit win 7 at the moment" CreationDate="2011-01-03T15:32:26.897" UserId="863" />
  <row Id="6413" PostId="5362" Text="No sure about what you mean with &quot;allocate physical space immanently (perhaps immediatly?)&quot;. In any case, Non over-committing Unixes like Solaris do reserve virtual memory at allocation time to make sure any further use would not trigger an out of memory situation. When the virtual memory is limited to physical memory, that is a real waste of RAM. That's the reason why it is always recommended to have enough swap area set with Solaris and similar Unixes. " CreationDate="2011-01-03T15:43:17.400" UserId="2594" />
  <row Id="6414" PostId="5363" Text="Possibly [my answer from other question will be useful](http://unix.stackexchange.com/questions/5336/how-is-paging-managed-in-the-absence-of-swapping/5362#5362). However please see [discussion if those questions are on-topic](http://meta.unix.stackexchange.com/questions/363/are-operating-system-questions-are-on-topic)." CreationDate="2011-01-03T15:45:41.547" UserId="305" />
  <row Id="6415" PostId="5362" Text="@jilliagre: Yes - wrong option chosen in spell checker. I also clarify what I meant." CreationDate="2011-01-03T15:50:39.467" UserId="305" />
  <row Id="6416" PostId="5275" Score="1" Text="Maybe try using the mtdblock driver.&#xA;&#xA;Check this out: http://en.gentoo-wiki.com/wiki/Using_Graphics_Card_Memory_as_Swap&#xA;&#xA;But instead of pointing it to your graphics card RAM, maybe try pointing it to the device registers." CreationDate="2011-01-03T15:51:29.337" UserId="3389" />
  <row Id="6417" PostId="5367" Score="1" Text="@wag Thanks. Also, Esc will put the selected command on your command line without executing, while Enter will run the selected command." CreationDate="2011-01-03T16:08:56.667" UserId="3429" />
  <row Id="6418" PostId="2353" Text="Don't forget that almost all external executables rely on library files.  Sometimes catastrophes happen and those libraries can't be loaded (advice: NEVER issue `ldconfig` unless you know EXACTLY what you are doing).  Also, what if you blow away your /bin, or worse, your /sbin partition, but still have a shell loaded?" CreationDate="2011-01-03T16:09:02.853" UserId="3389" />
  <row Id="6419" PostId="5354" Text="No, your answer was perfectly fine, I've up voted it, I can only accept one as the answer though. It's not your answer which was horrible it was the crunchbag, unetbootin, etc that i dislike." CreationDate="2011-01-03T16:47:57.657" UserId="3425" />
  <row Id="6420" PostId="5328" Text="Some high end servers support multiple kernels running concurrently on the same machine (a.k.a. physical domains) but I don't think Linux is supported on these boxes. Solaris definitely is." CreationDate="2011-01-03T17:21:35.357" UserId="2594" />
  <row Id="6421" PostId="5365" Text="... and it should be noted that fork() does copy everything, so you may be able to call exit(), and you can definitely return from the current function." CreationDate="2011-01-03T17:39:53.877" UserId="977" />
  <row Id="6422" PostId="5367" Score="1" Text="I find CTRL+E better for this than ESC, because escape is awkward to reach for but I am already hitting CTRL+R, so E is right there. This also positions the cursor at the end of the line, which is handy in case I wanted to change something (like a file name) which I find to be a common case." CreationDate="2011-01-03T17:41:03.360" UserId="2025" />
  <row Id="6423" PostId="5211" Text="I'm just curious why you don't want the drive to spin down." CreationDate="2011-01-03T18:35:23.900" UserId="688" />
  <row Id="6424" PostId="5208" Text="thanks for helping make Wikipedia better" CreationDate="2011-01-03T18:36:45.583" UserId="688" />
  <row Id="6425" PostId="5255" Text="@Tobias, I'm not sure.  I don't immediately think there would be a problem, but that is just a hunch." CreationDate="2011-01-03T19:02:02.837" UserId="1207" />
  <row Id="6426" PostId="5339" Text="@Sen: `fork` needs to create a separate virtual memory mapping so that subsequent copy-on-write copies affect only one of the two processes." CreationDate="2011-01-03T19:10:00.147" UserId="885" />
  <row Id="6427" PostId="5361" Text="You get about 1/3 of the speed as … what? Your question is meaningless unless you describe the systems you're comparing: what filesystem are you comparing against? What operating system, running on what hardware, configured how? What are you measuring (reading/writing small/large files/directories etc.)?" CreationDate="2011-01-03T19:30:53.997" UserId="885" />
  <row Id="6428" PostId="5355" Text="Page faults can occur for other reasons, e.g. when a process tries to dereference an invalid pointer (pointing outside its address space)." CreationDate="2011-01-03T19:41:55.377" UserId="885" />
  <row Id="6429" PostId="5334" Text="Hmm.. I guess somebody should update vim.org, then.  The banner at the top of each addon page gives a link to its wiki page with the label &quot;Comments, bugs, improvements&quot;." CreationDate="2011-01-03T19:45:40.583" UserId="1535" />
  <row Id="6430" PostId="5374" Text="Oh. Well that's easy enough. Thanks =]" CreationDate="2011-01-03T20:08:26.750" UserId="1571" />
  <row Id="6431" PostId="5355" Text="Indeed. Editing my reply to clarify this specific case." CreationDate="2011-01-03T21:42:23.540" UserId="2594" />
  <row Id="6432" PostId="5340" Text="That terminology vary. Swapping can be used to describe moving all memory associated to a process to/from the swap area in a single operation while (demand) paging is used when smaller fixed size blocks of memory are moved to/from the same swap area. While implemented by most Unix/Unix like OSes, swapping as described here isn't implemented in the Linux kernel so swapping and paging are often used interchangeably in this context." CreationDate="2011-01-03T22:22:42.210" UserId="2594" />
  <row Id="6433" PostId="5378" Score="1" Text="Awesome, thanks! On my system, it was actually `firewire0`, not `eth2`, but I knew what it should be." CreationDate="2011-01-03T23:22:37.123" UserId="1974" />
  <row Id="6434" PostId="5340" Text="I am looking at it from the perspective of the processor architecture." CreationDate="2011-01-04T01:21:45.830" UserId="2932" />
  <row Id="6435" PostId="5113" Score="1" Text="which part fixed your problem? the EDIT?" CreationDate="2011-01-04T01:40:26.110" UserId="688" />
  <row Id="6436" PostId="5382" Text="I'll give you the same advice here. ;-)" CreationDate="2011-01-04T02:19:18.257" UserId="3082" />
  <row Id="6437" PostId="5211" Text="Well, for the moment, it's because I have that drive mounted via NFS on another machine, and if I boot machine #2 while the drive is spun down, it timesout, and the NFS partition doesn't mount.  " CreationDate="2011-01-04T02:31:38.600" UserId="298" />
  <row Id="6438" PostId="5382" Text=":-D Hey Keith. So far I like your advice.." CreationDate="2011-01-04T02:37:02.460" UserId="3436" />
  <row Id="6439" PostId="5075" Score="1" Text="Doesn't anyone think this question needs expanding? @manoj are you asking for a comparison/differences?" CreationDate="2011-01-04T02:52:09.477" UserId="688" />
  <row Id="6440" PostId="5371" Text="Thanks. I'm not sure this would work here: as I understand it, `grub-install` only updates the grub image files and writes the MBR: In particular, `grub.cfg` is not updated. As I commented above, mounting the special dirs might be overkill, but I still think the chroot is the way to update `grub.cfg` in a simple way?" CreationDate="2011-01-04T07:23:15.677" UserId="2881" />
  <row Id="6441" PostId="1433" Text="`powerwake` seems to be included in a separate, eponymous package, at least under ubuntu 10.10." CreationDate="2011-01-04T07:54:25.327" UserId="1535" />
  <row Id="6442" PostId="5382" Text="I'm using openbox and xcompmgr too... and its awesome... You might try blackbox?" CreationDate="2011-01-04T08:22:46.617" UserId="1327" />
  <row Id="6443" PostId="5387" Text="this question seems to be a almost duplicate of your other question: http://unix.stackexchange.com/questions/5343" CreationDate="2011-01-04T08:25:18.487" UserId="1327" />
  <row Id="6444" PostId="5387" Text="@Stefan: It's an elaboration/clarification of what's sort of a side point on that other post.  It's also distinct in that it's focusing more on the system side of things, whereas that question is more about the typical capabilities of the attached devices themselves." CreationDate="2011-01-04T09:07:23.533" UserId="1535" />
  <row Id="6445" PostId="5387" Text="@Stefan: Thanks for mentioning that though.. now that I know the landscape a bit better it's clear to me that this should be a separate question, so I've edited that other one." CreationDate="2011-01-04T09:11:32.593" UserId="1535" />
  <row Id="6446" PostId="5370" Text="Thanks. I booted from Arch and successfully chrooted, but Arch doesn't recognize the grub or grub-install commands. I noticed Arch has /sbin/grub2-install, tho" CreationDate="2011-01-04T09:12:19.393" UserId="2993" />
  <row Id="6447" PostId="5370" Text="(Last comment got cut off) I noticed Arch has /sbin/grub2-install, though. I tried &quot;/sbin/grub2-install /dev/sda4&quot; and got a warning about how it's a bad idea to not install to MBR and how grub can only be installed with blocklists, which are unreliable. I'm not sure what to do; I'm using Refit on the MBR in order to dual-boot with OS X, so I'm afraid of messing that up." CreationDate="2011-01-04T09:17:14.287" UserId="2993" />
  <row Id="6448" PostId="5370" Text="Oh, I finally got it! I used the Arch live cd with the instructions here: http://ubuntuforums.org/showpost.php?p=121355&amp;postcount=5" CreationDate="2011-01-04T09:42:15.800" UserId="2993" />
  <row Id="6449" PostId="5340" Text="The processor architecture has little to do with these concepts. What you describe as &quot;swapping&quot; is what everyone else calls paging. I'm wondering what is your own definition of paging." CreationDate="2011-01-04T11:00:13.817" UserId="2594" />
  <row Id="6450" PostId="5364" Text="if you're interested in an earlier [discussion of ontopic-ness of unix C API calls](http://meta.unix.stackexchange.com/q/314/29)" CreationDate="2011-01-04T11:16:51.800" UserId="29" />
  <row Id="6451" PostId="5361" Text="@Gilles: To be more specific I have 10+ drives running JFS (previously on Gentoo). The initial conversion of JFS to ZFS on Gentoo + Fuse gave me about 1/3 of the speed. These are unmirrored (until after conversion), non-raid drives. I'm talking about 5-7 megabytes per second (JFS into new ZFS) vs a normal drive to drive (JFS to JFS copy) of 25-29 megabytes per second. This is regardless of Fuse on Gentoo or FreeBSD access. The data insertion seems to be about 1/3 of the speed. Other (read) access is much more respectable." CreationDate="2011-01-04T11:48:42.990" UserId="2274" />
  <row Id="6452" PostId="5340" Text="On certain processor architectures, the page table can be paged in hardware between the MMU and primary memory. On others, this operation is handled by the OS. However, no processors are able to swap the pages to disk in hardware and rely on the OS to do this. Hence, the different terms I used to describe the concept of 'virtual memory' from a hardware perspective, as opposed to 'disk swap' in the OP." CreationDate="2011-01-04T11:52:06.880" UserId="2932" />
  <row Id="6453" PostId="5382" Text="The last stable Blackbox-Release was 5 years ago, that discourages me somehow...   :/" CreationDate="2011-01-04T13:09:03.147" UserId="3436" />
  <row Id="6454" PostId="5392" Text="How awesome is this? :D I LOVE lambda calculus.. Will definitely try it out.. +1 as soon as I'm able to vote ;))" CreationDate="2011-01-04T13:13:23.423" UserId="3436" />
  <row Id="6455" PostId="5375" Text="__vfork does not allow the child process to access the parent's memory__? But i thought they share the same address space, so the child can access parents address space. Was that understanding wrong?" CreationDate="2011-01-04T13:46:20.443" UserId="2871" />
  <row Id="6456" PostId="5375" Text="__After fork, there is no such restriction: the parent and child process are now completely autonomous.__ Does that mean i can call an __exit()__ from a child of a fork? " CreationDate="2011-01-04T13:51:08.007" UserId="2871" />
  <row Id="6457" PostId="1633" Text="How much of your system wasn't compiled by GCC? :)  But I think the distinction is mostly valid when you're talking about the libc. Android, for example, uses a different implementation, hence it isn't GNU/Linux." CreationDate="2011-01-04T13:51:28.087" UserId="3038" />
  <row Id="6458" PostId="5392" Text="I love Haskell. I've planned part migration on some of my set up's. BTW - how can you comment (which require 50 of reputation according to FAQ) but not vote (which requires 15 according to same FAQ)?" CreationDate="2011-01-04T13:53:06.940" UserId="305" />
  <row Id="6459" PostId="1629" Text="&quot;In short we should all try to share as much code an API's as possible instead of creating a new library every time we want to do something.&quot; Personally, I think the distinction should be made. You can use the same API but have different libraries/implementations of it, and that's fine, because that allows integration without forcing uniformity." CreationDate="2011-01-04T13:55:54.697" UserId="3038" />
  <row Id="6460" PostId="1629" Text="@andre well I'm not saying that's all bad either ;) just that I hate it when we have 5 mediocre different implementations of the same concept with no shared API, when we could have 1 movement that got it done. See Poppler vs libpurple, libmsn, kopete, etc." CreationDate="2011-01-04T14:04:56.690" UserId="29" />
  <row Id="6461" PostId="5392" Score="1" Text="@Maciej Piechotka: I /think/ you can comment on your own question and its answers even without the 50 rep." CreationDate="2011-01-04T14:08:41.363" UserId="3038" />
  <row Id="6462" PostId="5390" Score="2" Text="This does work since `.` isn't a valid character in a variable name; see [wag's answer](http://unix.stackexchange.com/questions/5389/how-can-i-concatenate-a-shell-variable-to-other-other-parameters-in-my-command-li/5391#5391) if you want to concatenate a string that does start with valid characters (e.g. &quot;$WEBSITEsql&quot; wouldn't work)" CreationDate="2011-01-04T14:58:07.123" UserId="73" />
  <row Id="6463" PostId="5351" Text="@Bravax Don't be sorry, it's on-topic here too" CreationDate="2011-01-04T15:05:52.370" UserId="73" />
  <row Id="6464" PostId="5350" Text="Argh. I accidentally [deleted a comment trying to edit it](http://meta.stackoverflow.com/questions/73322/editing-another-users-comment-deletes-it); sorry whoever's that was. @Paresh As that comment pointed out, it's to escape the braces so they're treated as part of the regular expression (`X{Y}` means &quot;find the X character Y times&quot;); without the escapes it searches for actual braces" CreationDate="2011-01-04T15:28:24.760" UserId="73" />
  <row Id="6465" PostId="5396" Text="Damn! Both keys &lt;kbd&gt;Mod4&lt;/kbd&gt; (which is mapped to &lt;kbd&gt;Win&lt;/kbd&gt;) and &lt;kbd&gt;P&lt;/kbd&gt; are so imporant, I CANT just lever them off!" CreationDate="2011-01-04T16:41:29.957" UserId="3267" />
  <row Id="6466" PostId="5397" Text="@Patrick: Are you saying that 'svnuser' needs to read AND write to these files and directories, or does it just need to read the files and directories?" CreationDate="2011-01-04T17:20:57.873" UserId="4" />
  <row Id="6467" PostId="5397" Text="@Stefan Lasiewski I only need to commit them, so I guess it cannot read it... not sure." CreationDate="2011-01-04T17:56:05.140" UserId="2504" />
  <row Id="6468" PostId="5375" Text="@Sen: The child is not allowed to access the parent's memory. If you try it, it might work, because the kernel will not protect you. But the effect might not be what you intend; for example, if your compiler decides to leave some value in a register, it won't be seen by the parent process." CreationDate="2011-01-04T19:15:37.223" UserId="885" />
  <row Id="6469" PostId="5343" Text="I think you took out the only part of this question that made it on-topic; the rest is probably best on SU" CreationDate="2011-01-04T19:16:30.123" UserId="73" />
  <row Id="6470" PostId="5375" Text="@Sen: After a fork, you can do call exit or any other function. *Every* process starts after a fork (on Linux, even the initial process `init` is forked by the kernel)." CreationDate="2011-01-04T19:16:31.387" UserId="885" />
  <row Id="6472" PostId="5391" Score="1" Text="This works for all Bourne-style shells (Bourne, POSIX, bash, ksh, zsh), C-style shells (csh, tcsh), and even in fish without the braces. So it's really universal amongst unix shells. I wouldn't call the braces good practice. But I do call systematically using double quotes around variable substitutions good practice." CreationDate="2011-01-04T20:17:16.237" UserId="885" />
  <row Id="6473" PostId="5404" Text="Just as an addendum, while not included by default, a `pager` generic could be used by the alternative system that is found in Red Hat derivatives such as Fedora.  Also, if one really wanted to, I'll bet one could implement such a system on other Unixes since I've seen alternative frameworks implemented in perl." CreationDate="2011-01-04T20:42:58.003" UserId="1207" />
  <row Id="6474" PostId="1433" Text="I see. `powernap` and `powerwake` are included in the same source tree but in such a way as to make two packages.  I'll update the post in a bit, once I think of a good way to mention this fact." CreationDate="2011-01-04T20:48:44.227" UserId="1207" />
  <row Id="6475" PostId="5340" Text="Your statement &quot;the page table can be paged in hardware between the MMU and primary memory.&quot; doesn't make sense to me. It's not the page table which is paged but blocks of memory. These blocks of memory are paged from/to primary memory to secondary storage which is usually a disk drive. The MMU isn't a storage device. Perhaps are you confusing paging memory and cache memory." CreationDate="2011-01-04T21:01:16.793" UserId="2594" />
  <row Id="6476" PostId="5404" Text="@Steven: It's [not surprising](http://lists.debian.org/debian-curiosa/2002/06/msg00000.html) that Red Hat's alternatives look like Debian's. And the framework *is* implemented as a Perl script (`/usr/bin/update-alternatives`) — [or was](http://raphaelhertzog.com/2010/05/27/rewriting-update-alternatives-in-c/)." CreationDate="2011-01-04T21:13:43.560" UserId="885" />
  <row Id="6477" PostId="5386" Score="1" Text="The OpenBSD equivalent of hdparm is [`atactl`](http://www.openbsd.org/cgi-bin/man.cgi?query=atactl&amp;sektion=8). But I don't know if it works on USB devices; `atactl(8)` is referenced by [`wd(4)`](http://www.openbsd.org/cgi-bin/man.cgi?query=wd&amp;sektion=4) (the IDE disk driver man page) but not by [`umass(4)`](http://www.openbsd.org/cgi-bin/man.cgi?query=umass&amp;sektion=4) (the USB storage driver man page)." CreationDate="2011-01-04T21:26:23.967" UserId="885" />
  <row Id="6478" PostId="5394" Text="If you're using the default Ubuntu interface, this is the sort of question that [Ask Ubuntu](http://askubuntu.com/) is more likely to answer. If you ask there, please hyperlink the questions to each other." CreationDate="2011-01-04T21:29:40.703" UserId="885" />
  <row Id="6479" PostId="5409" Text="What does the `-o` does? " CreationDate="2011-01-04T21:42:50.080" UserId="229" />
  <row Id="6480" PostId="5409" Text="@OscarRyz: See my update." CreationDate="2011-01-04T21:50:36.673" UserId="1207" />
  <row Id="6481" PostId="5409" Text="I'm only getting the .txt files.  :( Thanks anyway +1 " CreationDate="2011-01-04T21:54:07.530" UserId="229" />
  <row Id="6482" PostId="5408" Text="This worked, thank you!" CreationDate="2011-01-04T21:54:24.440" UserId="229" />
  <row Id="6483" PostId="5409" Text="Oh, this is better than mine; I didn't know about `-o`. @OscarRyz It works for me, I get both" CreationDate="2011-01-04T21:55:14.943" UserId="73" />
  <row Id="6484" PostId="5409" Text="@Michael: When I remove the `-print0` etc. etc, it prints everything, but when I run the full version, the tar.gz file doesn't contain any .log file" CreationDate="2011-01-04T22:03:05.180" UserId="229" />
  <row Id="6485" PostId="5409" Text="@OscarRyz Oh, I didn't test it with the full expression. I think Gilles just fixed it, you need parentheses or it interprets as `-name '*.log' -o ( -name '*.txt' -print0 )`" CreationDate="2011-01-04T22:05:21.750" UserId="73" />
  <row Id="6487" PostId="5409" Score="1" Text="Thanks for the edit Gilles!" CreationDate="2011-01-04T22:06:36.333" UserId="1207" />
  <row Id="6488" PostId="5409" Score="1" Text="Yeap, that worked, I have +1'ed but to be fair, I'll leave Michael answer as accepted for I have already sent the  .tar.gz file via email  long ago :) :) " CreationDate="2011-01-04T22:17:21.190" UserId="229" />
  <row Id="6489" PostId="5401" Text="Thanks a lot. I think that was exactly I was looking for. Let me try." CreationDate="2011-01-04T22:31:45.130" UserId="3198" />
  <row Id="6490" PostId="5399" Text="Thanks , that is helpful to know." CreationDate="2011-01-04T22:32:09.077" UserId="3198" />
  <row Id="6491" PostId="4756" Text="@Giles: You win. The RedHat source should contain the definitive answer. In this case, (the source seems to differ from the installed files)[unix.stackexchange.com/questions/4815], but that is a different topic." CreationDate="2011-01-04T23:12:22.093" UserId="4" />
  <row Id="6492" PostId="1633" Text="@andre I'm sure not much wasn't compiled by gcc, and I do believe we use glibc. but I don't think 2-4 of the 1000 packages I have installed require me to say GNU/Linux." CreationDate="2011-01-05T01:33:59.790" UserId="29" />
  <row Id="6494" PostId="5394" Text="Thank you, I have duplicate this question on askubuntu: http://askubuntu.com/questions/20113/how-to-stop-mod4-p-from-switching-the-display   Please close this, thanks." CreationDate="2011-01-05T02:15:15.957" UserId="3267" />
  <row Id="6495" PostId="5413" Text="This showed up midway through my writing the (basically the same) suggestion: `for file in * ; do if [ -d &quot;$file&quot; ] ; then dest=&quot;$(echo $file | sed y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/)&quot; ; [ &quot;$dest&quot; != &quot;$file&quot; ] &amp;&amp; mv &quot;$file&quot; &quot;$dest&quot; ; fi ; done`" CreationDate="2011-01-05T04:02:35.200" UserId="1071" />
  <row Id="6496" PostId="5413" Text="I was trying to work it out with `find -type d`, but couldn't quite get it" CreationDate="2011-01-05T04:07:44.230" UserId="73" />
  <row Id="6497" PostId="5413" Score="1" Text="My instinct would have been to do `for fd in */;`, thus avoiding the need for the check if it was a directory, but I have no idea if this instinct was a good one." CreationDate="2011-01-05T04:27:50.320" UserId="1207" />
  <row Id="6498" PostId="5413" Text="Yep, for...*/ would be better." CreationDate="2011-01-05T04:42:11.640" UserId="2180" />
  <row Id="6499" PostId="5343" Text="@Michael: you may be right.  Well, feel free to delete, it's already cross-posted over there.  I guess the rationale for keeping it here would be that the enclosure's power management functionality has to be accessible from *n*x, i.e. not controlled by custom Windows drivers." CreationDate="2011-01-05T05:04:49.170" UserId="1535" />
  <row Id="6500" PostId="5350" Text="@Michael Mrozek thanx a lot for such helpful hints and answer. Thanx once again" CreationDate="2011-01-05T06:04:20.197" UserId="1608" />
  <row Id="6501" PostId="5340" Text="Maybe the terminology is wrong. You're correct - the blocks of memory are paged, and the translation tables that are used to map the pages are stored in the MMU. However, the MMU space is limited and the rest of the mapping is stored in a page-table in main memory. So, parts of the page-table are moved into the MMU to perform the paging as and when the particular page is required." CreationDate="2011-01-05T06:05:58.590" UserId="2932" />
  <row Id="6502" PostId="5413" Score="1" Text="@Shawn: `tr` already expects a range, so `tr '[A-Z]' '[a-z]'` translates `[` to `[` and `]` to `]` in passing. This is useless but harmlesss; however without the quotes the shell would expand the brackets if there was a file with a one-uppercase-letter name in the current directory." CreationDate="2011-01-05T08:21:32.157" UserId="885" />
  <row Id="6504" PostId="4672" Text="Why mention that I compile a 64-bit kernel? Debian repos already have such a kernel on their repos." CreationDate="2011-01-05T10:34:05.643" UserId="688" />
  <row Id="6505" PostId="5419" Text="At least on OS X this will fail if any directories are already lower case: `mv -i a a` give &quot;mv: rename a to a/a: Invalid argument&quot;.&#xA;" CreationDate="2011-01-05T12:09:14.530" UserId="2881" />
  <row Id="6506" PostId="4672" Text="@Tshepang I really ment *try* a 64-bit kernel." CreationDate="2011-01-05T13:46:34.780" UserId="2180" />
  <row Id="6507" PostId="5427" Text="Agreed on the SE/SO split -- I think I prefer the 'old' way when everything was in fewer places." CreationDate="2011-01-05T13:46:48.890" UserId="2827" />
  <row Id="6508" PostId="5426" Text="but i would like to know from where is it getting the __install path__?" CreationDate="2011-01-05T14:36:58.640" UserId="2871" />
  <row Id="6509" PostId="5413" Text="it seems very complex :/ thanks." CreationDate="2011-01-05T15:01:14.930" UserId="3453" />
  <row Id="6511" PostId="5255" Text="sounds great, now I [only have to get it setup](http://unix.stackexchange.com/q/5429/863)..." CreationDate="2011-01-05T15:06:07.000" UserId="863" />
  <row Id="6512" PostId="5431" Text="hi, and if i want to enable it again?" CreationDate="2011-01-05T14:46:37.607" />
  <row Id="6513" PostId="5431" Text="sudo update-rc.d avahi-daemon defaults" CreationDate="2011-01-05T14:48:23.250" />
  <row Id="6514" PostId="5431" Text="cheers! I m going to try it" CreationDate="2011-01-05T14:53:34.950" />
  <row Id="6515" PostId="5432" Text="so you are saying that the file /etc/default/avhi-daemon is useless? in debian there is no rc.conf file :(" CreationDate="2011-01-05T14:46:11.583" />
  <row Id="6516" PostId="5432" Text="`rcconf` is a program :) And the default file is for changing the behaviour of `avahi-daemon` not to stop it." CreationDate="2011-01-05T14:51:34.187" UserId="2601" />
  <row Id="6517" PostId="5432" Text="ah ok I got it! I don't have that program so I have to change the behavior.. Cheers! I m going to try it" CreationDate="2011-01-05T14:53:13.327" />
  <row Id="6518" PostId="5433" Text="possibly related: [freenas grub2 booting iso](http://unix.stackexchange.com/q/4202/863)" CreationDate="2011-01-05T15:17:33.870" UserId="863" />
  <row Id="6519" PostId="5433" Text="@Tobias Isn't that a duplicate? What's different about it?" CreationDate="2011-01-05T15:29:55.923" UserId="73" />
  <row Id="6520" PostId="5433" Text="@Michael Mrozek♦: That question doesn't state what its OP already knows about grub2, while my question is ground zero. Also I don't know if that question is specific to freenas only" CreationDate="2011-01-05T15:35:28.067" UserId="863" />
  <row Id="6521" PostId="5433" Score="2" Text="I think [this answer](http://unix.stackexchange.com/questions/665/installing-grub-2-on-a-usb-flash-drive/1041#1041) to [Installing Grub (2) on a USB flash drive](http://unix.stackexchange.com/q/665/863) answers most of it - if it does I'll probably add an answer myself later" CreationDate="2011-01-05T15:43:25.610" UserId="863" />
  <row Id="6522" PostId="5240" Text="(accepted since the answer is correct and the segfault is a separate question)" CreationDate="2011-01-05T15:48:51.847" UserId="863" />
  <row Id="6526" PostId="5437" Score="2" Text="You should be using `ip` instead of `ifconfig`, the latter has numerous known and unfixed problems." CreationDate="2011-01-05T16:04:17.157" />
  <row Id="6527" PostId="5437" Text="uhm ok...I understand" CreationDate="2011-01-05T16:08:54.633" />
  <row Id="6528" PostId="5427" Text="@Luc Hermitte: Since vim is multiplatform, indeed it's a bad idea to have posted here. I'm going to avoid it in the future." CreationDate="2011-01-05T18:58:22.370" UserId="2689" />
  <row Id="6529" PostId="5419" Text="@Janus: Right, you get an error message, which is ugly (though harmless at the command line). But anyway I should have used zmv, which takes care of this case." CreationDate="2011-01-05T19:05:08.947" UserId="885" />
  <row Id="6530" PostId="5422" Text="@Janus: checking for collisions is easy: `mv -i`. A bigger problem is that you haven't used proper quoting, so your command will fail if there are special characters (whitespace or `\[*?`) anywhere in the name. There's no point of using `find` unless recursing, and then you need `find -depth`, and `-path` must be `-name`. See my answer for working examples." CreationDate="2011-01-05T19:07:46.493" UserId="885" />
  <row Id="6531" PostId="5437" Score="3" Text="@dany: If you're using a static IP address, there shouldn't be a DHCP request. It looks like Network Manager is misconfigured. How did you configure it? Did you also configure the interface in `/etc/network/interfaces`? Is this Debian lenny or squeeze? By the way, there's nothing wrong with using `ifconfig` here." CreationDate="2011-01-05T19:13:40.950" UserId="885" />
  <row Id="6533" PostId="5430" Text="The avahi dae/etc/resolvconf/update-libc.d/avahi-daemonmon can be started by `/etc/network/if-up.d/avahi-daemon` and ``, but this too is disabled if you have `AVAHI_DAEMON_DETECT_LOCAL=0` in `/etc/default/avahi-daemon`. What version of the `avahi-daemon` package do you have? What is the full contents of `/etc/default/avahi-daemon`?" CreationDate="2011-01-05T19:24:37.627" UserId="885" />
  <row Id="6534" PostId="5424" Score="3" Text="Specifically http://en.wikipedia.org/wiki/Teletypewriter" CreationDate="2011-01-05T19:27:20.947" UserId="885" />
  <row Id="6535" PostId="5427" Text="@Somebody and others: See [this meta question](http://meta.unix.stackexchange.com/questions/309/are-questions-about-vi-vim-and-other-clones-on-topic-here). So far most respondents support vi(m) questions on this site." CreationDate="2011-01-05T19:30:53.453" UserId="885" />
  <row Id="6536" PostId="5420" Text="“it doesn't work”… “it” being what? On a hunch: have you checked that all relevant directories are group writable?" CreationDate="2011-01-05T19:34:22.500" UserId="885" />
  <row Id="6537" PostId="5427" Text="It's not like all the people on SO/SU are aware on this topic which isn't even flagged vim." CreationDate="2011-01-05T20:49:46.647" UserId="3240" />
  <row Id="6538" PostId="5380" Text="The alternate install CD is definitely the way to go. " CreationDate="2011-01-05T21:48:47.510" UserId="3435" />
  <row Id="6539" PostId="5440" Text="I'm using xen virtualization, I've updated the question to clarify" CreationDate="2011-01-05T23:59:07.173" UserId="3466" />
  <row Id="6540" PostId="1633" Text="@xenoterracide: I think their position is that the GNU packages (and let's not forget the GNU GPL license, under which the kernel is developed, and that for good or bad has shaped the Linux project) are the indispensable core to build and boot any distributions, while the rest sits on top but it's not really part of the OS. Having said that, I never actually call it GNU/Linux unless I'm referring also to &quot;other&quot; Linuxes (android, webos, etc)." CreationDate="2011-01-06T00:22:03.427" UserId="3038" />
  <row Id="6541" PostId="3961" Text="you might wanna accept one of the answers" CreationDate="2011-01-06T01:46:36.197" UserId="688" />
  <row Id="6542" PostId="4020" Text="grammar problem on first sentence" CreationDate="2011-01-06T01:52:36.643" UserId="688" />
  <row Id="6543" PostId="5386" Text="I'm going to play with this, though since usb drives mount using the /dev/sd* devices, I'm not sure wd and atactl apply.  Time to do some reading/playing.  " CreationDate="2011-01-06T02:08:17.043" UserId="298" />
  <row Id="6544" PostId="5393" Text="I tried Awesome and I must say I quite liked it at first, but then I had massive problems implementing some widgets (I guess the reason for that is that my Lua skills are basic at best...) " CreationDate="2011-01-06T05:00:55.300" UserId="3436" />
  <row Id="6545" PostId="4707" Score="2" Text="My understanding is that AskUbuntu is to Unix and Linux as Unix and Linux is to SuperUser: if it's an ubuntu-specific question, it goes to AU; if it's otherwise *n*x-ish, it goes here; otherwise it goes to SU or to ServerFault." CreationDate="2011-01-06T05:04:41.443" UserId="1535" />
  <row Id="6546" PostId="5393" Text="@fakemustache: have you tried the existing widget libraries like Vicious and Obvious? They have plenty of stuff ready to use, and reading their source is very educational. Bashets is a good one too, since it lets you use the output of shell scripts in text boxes. See the Awesome wiki for more: https://awesome.naquadah.org/wiki/Main_Page#Statusbars_and_widgets" CreationDate="2011-01-06T05:19:23.920" UserId="3038" />
  <row Id="6547" PostId="5393" Text="Yes I did, but it just kept crashing.. I spent hours on starring at the library code and my rc.lua, trying to figure out what went wrong.  &#xA;But I guess I will give it another try, and if it's just for the challenge ;)) I guess if it runs, Awesome might just be what I'm looking for in the end.." CreationDate="2011-01-06T05:40:07.187" UserId="3436" />
  <row Id="6548" PostId="5422" Text="@Giles. Thanks! I saw your `mv -i` after writing this. Good point with the quoting..." CreationDate="2011-01-06T05:45:02.140" UserId="2881" />
  <row Id="6549" PostId="3961" Text="@Tshepang - you're right, accepted." CreationDate="2011-01-06T06:21:56.070" UserId="1594" />
  <row Id="6550" PostId="4020" Text="@thsepang.. nice catch, fixed" CreationDate="2011-01-06T06:34:49.940" UserId="1327" />
  <row Id="6551" PostId="3922" Text="oh snap... nice answer +1" CreationDate="2011-01-06T06:41:15.737" UserId="1327" />
  <row Id="6552" PostId="5446" Text="@ephemient thanks for the lead, I was originally looking at v4l2vd but then thought a single device wasnt the problem... just the access control which brought me to udev.  If v4l2vd can be a single reader with multiple virtual devices, ill look back to it for a solution... BUT it is not so straightforward to me. Can you give me a bit more direction?" CreationDate="2011-01-06T07:44:17.270" UserId="3468" />
  <row Id="6553" PostId="5448" Text="[cross-posted on AskUbuntu](http://askubuntu.com/questions/20266/power-persist-file-not-found-in-usb-device-sysfs-directory)" CreationDate="2011-01-06T07:52:03.247" UserId="1535" />
  <row Id="6554" PostId="5446" Text="V4L2VD does not support audio. This might not be a show stopper, will just need my streamer app to be able to select a separate audio device and for that audio device to be available to both Kopete and the streamer." CreationDate="2011-01-06T07:53:12.367" UserId="3468" />
  <row Id="6555" PostId="5449" Score="1" Text="If your question is about how to branch to a piece of code in a particular programming language, ask on [Stack Overflow](http://stackoverflow.com/)." CreationDate="2011-01-06T08:23:13.723" UserId="885" />
  <row Id="6556" PostId="5443" Text="this is really a very nice link..thanks for the help" CreationDate="2011-01-06T09:20:44.423" UserId="2269" />
  <row Id="6558" PostId="5393" Score="1" Text="@fakemustache: try joining #awesome at irc.oftc.net. Plenty of helpful people, including the main developers. They also share their rc.lua for reference." CreationDate="2011-01-06T13:25:42.857" UserId="3038" />
  <row Id="6559" PostId="5457" Text="How can I append line breaks? Is there a way that I can pull this off with just one line of commands?" CreationDate="2011-01-06T13:41:03.403" UserId="3476" />
  <row Id="6560" PostId="5457" Score="2" Text="@jon-doe You can append line breaks by using `echo` - by default, it sends a line break; if you want more, you would do (for adding 4 line breaks) `echo -e '\n\n\n'`. To do it in one line, you can use braces `{ echo &quot;text&quot;; echo date; } &gt;&gt; file`." CreationDate="2011-01-06T14:07:08.430" UserId="2180" />
  <row Id="6562" PostId="5463" Text="Added `function cdd(){ cd ${PWD/$1/$2}; }` to my `.bashrc`. Thanks!" CreationDate="2011-01-06T15:03:54.783" UserId="1878" />
  <row Id="6563" PostId="5441" Text="What do you mean by left-handed? You want applications on the right and shutdown on the left?" CreationDate="2011-01-06T16:04:00.660" UserId="250" />
  <row Id="6564" PostId="5463" Text="I don't think this works always correctly. E.g. it would change the path from `/foosomething/foo` into `/bar/bazsomething/bar/baz`." CreationDate="2011-01-06T16:48:23.110" UserId="2303" />
  <row Id="6565" PostId="5472" Text="You *can* have a messed up dpkg database. But it's easier to repair, because it's all plain text. I'm also willing to believe that it's rarer." CreationDate="2011-01-06T18:47:51.533" UserId="885" />
  <row Id="6566" PostId="5472" Text="I didn't say dpkg couldn't be messed up.  It's the duplicate package case for rpmdb that's so awful.  Study how easy it is to get into a state with duplicate packages and how hard it is to get out." CreationDate="2011-01-06T19:00:14.857" UserId="2472" />
  <row Id="6567" PostId="5472" Text="&quot;package-cleanup --cleandupes&quot; is a tragic comedy.  Instead of cleaning the database it tries to remove the packages." CreationDate="2011-01-06T19:01:13.920" UserId="2472" />
  <row Id="6570" PostId="5477" Text="Is that your router's IP?" CreationDate="2011-01-06T20:52:06.623" UserId="1571" />
  <row Id="6571" PostId="5477" Text="No, all machines on the network are of the form 192.168.0.x. The router is at 192.168.0.1." CreationDate="2011-01-06T21:02:54.253" UserId="3483" />
  <row Id="6572" PostId="3737" Score="1" Text="If you use `gnome-screenshot --interactive` you can select the option to select an area instead of the whole screen or window." CreationDate="2011-01-06T21:17:08.423" UserId="252" />
  <row Id="6573" PostId="5485" Text="`xdo_getwinprop(xdo, window, atom_NET_WM_PID, &amp;nitems, &amp;type, &amp;size)` ⇒ it's just a shell wrapper to read `_NET_WM_PID` (useful, but not what I asked for)." CreationDate="2011-01-06T23:44:47.110" UserId="885" />
  <row Id="6574" PostId="5486" Text="I read documentation on the web but it did not appear in placed I looked at." CreationDate="2011-01-07T02:49:02.447" UserId="305" />
  <row Id="6575" PostId="5491" Score="1" Text="Note that puts the numbers first. If you were fussy about the order, you could do: `uniq -c filename.txt | sed 's/[^0-9]*\\([0-9]\+\\) \\(.*\\)/\2 \1/'`" CreationDate="2011-01-07T03:28:36.070" UserId="1071" />
  <row Id="6576" PostId="5491" Score="6" Text="Also note that it only counts adjacent repeat lines.  A common idiom is `sort | uniq`" CreationDate="2011-01-07T03:54:36.423" UserId="1207" />
  <row Id="6577" PostId="5495" Score="2" Text="Is this homework?" CreationDate="2011-01-07T04:40:05.480" UserId="1535" />
  <row Id="6579" PostId="5495" Text="yes :( i'm not sure if they mean different if statements or are there other things as well" CreationDate="2011-01-07T04:49:21.883" UserId="3476" />
  <row Id="6583" PostId="5479" Text="This looks helpful: http://www.zsh.org/mla/users/2004/msg00917.html . It's not as easy as a single command, but you can adapt [this script](http://www.zsh.org/mla/users/2004/msg00926.html) to your program (read the follow-ups for corrections)." CreationDate="2011-01-07T07:58:57.913" UserId="3491" />
  <row Id="6588" PostId="5428" Text="@Warren Young Thanks, I'm now using rsync. However I got an error: rsync error: some files could not be transferred (code 23). How do I know which files have not been transferred and why ?" CreationDate="2011-01-07T09:12:42.393" UserId="2504" />
  <row Id="6590" PostId="5476" Text="doesn't mkv container have the ability to handle multiple streams?" CreationDate="2011-01-07T09:55:04.913" UserId="688" />
  <row Id="6592" PostId="5507" Text="This is the command i'm using now. I'm aware that the username/password is not for the website but for the proxy. De problem is I still get the error. My current configfile contains this: # volg http redirects -L # negeer certificaaten -k # proxy instellingen --proxy prxn001:8080 --proxy-ntlm --proxy-user txxxxxxb:cxxxxxxxx" CreationDate="2011-01-07T10:26:22.140" UserId="3492" />
  <row Id="6593" PostId="5501" Score="1" Text="Not too knowledgeable on networking, but have you tried setting the IP statically? Have you also connected one of them on a LAN cable and see if the problem persists?" CreationDate="2011-01-07T10:28:04.997" UserId="688" />
  <row Id="6594" PostId="5510" Text="related [Tutorial (or livedisk) for multiseat setup with dual-head display supporting openGL direct rendering?](http://unix.stackexchange.com/questions/5429/tutorial-or-livedisk-for-multiseat-setup-with-dual-head-display-supporting-open) " CreationDate="2011-01-07T11:02:44.437" UserId="863" />
  <row Id="6596" PostId="5511" Score="1" Text="Same question for Windows 7: http://superuser.com/q/230210/35237" CreationDate="2011-01-07T11:31:31.763" UserId="863" />
  <row Id="6597" PostId="5441" Text="I mean write on the tablet using my left hand with all the tablet buttons on the right-hand side (so they're not pressed accidentally)." CreationDate="2011-01-07T11:36:04.420" UserId="1055" />
  <row Id="6598" PostId="5513" Text="I'm running GNOME 2.30 on Debian and my __Remove__ button is not selectable. What are you suing? I was able to add it (gmrun) anyway, and reassigned the shortcut." CreationDate="2011-01-07T12:37:39.957" UserId="688" />
  <row Id="6599" PostId="5513" Text="If you click on a shortcut the **New shortcut...** appears, now hit Backspace to disable it (like the green info indicates)." CreationDate="2011-01-07T12:46:54.480" UserId="3069" />
  <row Id="6600" PostId="5506" Score="1" Text="I think we should close this as too localized, this won't be right in 5 years when the next debian is released." CreationDate="2011-01-07T13:12:29.333" UserId="29" />
  <row Id="6602" PostId="5484" Text="@Maciej ^r is search right. in vi mode use  enter command mode, and type / then search paramenter, enter, n or N to go forward and backwards." CreationDate="2011-01-07T13:16:17.443" UserId="29" />
  <row Id="6603" PostId="5491" Score="1" Text="uniq also puts the count in front of the datum.  The original question would actually need something like this: sort filename | uniq -c | awk '{print $2, $1}'" CreationDate="2011-01-07T13:25:56.020" UserId="732" />
  <row Id="6604" PostId="5518" Text="outsize of I think zimage is gz compression and bzimage is bz compression... jut naming, afaik none of it means a damn thing. but I could be wrong." CreationDate="2011-01-07T14:26:42.130" UserId="29" />
  <row Id="6606" PostId="5518" Text="-1. are you going to learn such trivial things yourself at least sometime?" CreationDate="2011-01-07T15:16:36.403" UserId="1946" />
  <row Id="6607" PostId="5518" Text="@alex Is this such a bad question? What's so trivial about it?" CreationDate="2011-01-07T17:10:52.127" UserId="688" />
  <row Id="6608" PostId="5524" Score="1" Text="I think it means that your disk does not consist of an integer number of cylinders. Some tools and OSes like partitions to consist of an integer number of cylinders (typically 1cyl is a few MB), but the boundaries are stored with sectors (always 512B until recently) as the unit, and Linux doesn't require any alignment." CreationDate="2011-01-07T18:32:05.723" UserId="885" />
  <row Id="6609" PostId="5522" Text="The best way to find out *what* is to run it. The best way to find out why is to read the documentation of the three commands involved." CreationDate="2011-01-07T18:34:50.540" UserId="885" />
  <row Id="6610" PostId="5518" Text="@Tshepang: It's a question about a detail requiring no deep background explanation where the obvious Wikipedia article gives the answer." CreationDate="2011-01-07T18:38:23.437" UserId="885" />
  <row Id="6611" PostId="5517" Text="Most unices have a similar feature. Unfortunately each has its own interface, and many have no shell API." CreationDate="2011-01-07T18:40:02.577" UserId="885" />
  <row Id="6612" PostId="5518" Score="1" Text="@Gilles Isn't it a case that a whole bunch of questions in here can also be answered by reading Wikipedia? I just want to know what criteria is there? I thought the idea was that this becomes THE canonical Q&amp;A on matters related to Unix/Linux." CreationDate="2011-01-07T18:59:27.920" UserId="688" />
  <row Id="6614" PostId="5518" Text="@Tshepang: This should be discussed on Meta. It's come up on the [main meta](http://meta.stackoverflow.com/search?q=wikipedia), with no clear consensus." CreationDate="2011-01-07T19:17:52.670" UserId="885" />
  <row Id="6615" PostId="4495" Score="1" Text="@intuited: iPython has been pretty good for the stuff I want to do, thanks!" CreationDate="2011-01-07T19:23:39.483" UserId="479" />
  <row Id="6616" PostId="5518" Score="1" Text="I created a discussion on meta for this. See [Is it okay to ask questions here when Wikipedia already has the answer?](http://meta.unix.stackexchange.com/questions/377/)" CreationDate="2011-01-07T19:45:33.390" UserId="4" />
  <row Id="6617" PostId="5518" Text="@Tshepang: it's utterly trivial to correctly guess from the names of these alone what are they really.  There's readme files, docs and google for this kind of questions." CreationDate="2011-01-07T19:55:29.800" UserId="1946" />
  <row Id="6618" PostId="5522" Score="1" Text="Although, if you truly haven't seen the commands before, it might be a better idea to read the documentation *first*.  One does not want to get into the habit of simply running any command they come across." CreationDate="2011-01-07T20:04:10.253" UserId="1207" />
  <row Id="6619" PostId="5476" Text="Sure, but that doesn't get you DVD menus." CreationDate="2011-01-07T20:27:41.803" UserId="138" />
  <row Id="6621" PostId="5518" Text="@alex I've been considered [dumb before](http://meta.serverfault.com/questions/1012/why-limit-site-to-many-desktop-pcs-and-no-mention-of-laptops), and I think I'm dumb again, here. It's trivial to you, but not to me (and Sen, supposedly). Oh, and a large of questions here (practically all of them) can be answered by docs, goodle, and readme files." CreationDate="2011-01-07T20:31:11.690" UserId="688" />
  <row Id="6622" PostId="5428" Text="You should probably post a separate question asking about rsync error 23.  I've never had it happen, but if I had, I'd add one or more v's to the option set. You can add up to 3, each increasing the verbosity of rsync. Due to rsync's nature, running it multiple times won't hurt. Just keep increasing the verbosity until it tells you something helpful." CreationDate="2011-01-07T20:31:22.143" UserId="138" />
  <row Id="6625" PostId="5529" Text="How do I do that?" CreationDate="2011-01-07T21:56:59.720" UserId="3502" />
  <row Id="6626" PostId="5528" Text="possible duplicate of [Keep SSH Sessions running after disconnection.](http://unix.stackexchange.com/questions/479/keep-ssh-sessions-running-after-disconnection). Also near-dupes: [How can I close a terminal without killing the command running in it?](http://unix.stackexchange.com/questions/4004/how-can-i-close-a-terminal-without-killing-the-command-running-in-it) [Running continuous jobs remotely.](http://unix.stackexchange.com/questions/1037/running-continuous-jobs-remotely)" CreationDate="2011-01-07T21:57:55.940" UserId="885" />
  <row Id="6627" PostId="4495" Text="@calavera: You are quite welcome.  Enjoy." CreationDate="2011-01-07T23:09:13.370" UserId="1535" />
  <row Id="6628" PostId="3381" Text="@ayush can u delete this answer then" CreationDate="2011-01-08T00:51:53.647" UserId="688" />
  <row Id="6631" PostId="5518" Text="As __Tshepang__ has told, i know you can get the answer by looking at the readme files, docs, google and wiki. But i thought by asking this question here, the future searches on this question can be concentrated at this point alone. All others who have the same doubt could understand these terms just by coming at this link.  " CreationDate="2011-01-08T02:33:18.073" UserId="2871" />
  <row Id="6632" PostId="5536" Text="I don't really see how this is a convincing argument. Just because a package doesn't work since it's not invoked as root doesn't mean that the idea is not feasible. It's expected that PolicyKit wouldn't work for this type of situation. There are plenty of other packages that can be installed without root privileges. I am aware of software package managers (Python's is EasyInstall), but those aren't globally applicable as yum or apt-get are. Does anyone know the name of the program that Maciej is referring to? " CreationDate="2011-01-08T03:24:17.513" UserId="1517" />
  <row Id="6633" PostId="5501" Text="My wild guess: Can you make sure that the hostnames and IP addresses are unique? Also, can you try &quot;browsing&quot; using wget?" CreationDate="2011-01-08T04:19:20.600" UserId="250" />
  <row Id="6636" PostId="5473" Text="@Cheng, care to explain a bit more?  I'd be happy to update my answer if there is a problem/improvement." CreationDate="2011-01-08T04:45:43.950" UserId="1207" />
  <row Id="6639" PostId="4991" Text="`type -p` if you're specifically looking for a command in `$PATH` (not aliases or functions or builtins)." CreationDate="2011-01-08T06:34:26.083" UserId="1779" />
  <row Id="6640" PostId="5518" Text="@Tshepang: please take no offense from my words.  I'm just annoyed as hell to see this kind of noise in the otherwise meaningful stream of questions." CreationDate="2011-01-08T08:10:06.533" UserId="1946" />
  <row Id="6642" PostId="5539" Text="I wouldn't mind testing a different WM. However, MPWM doesn't show up on the gdm menu, is there anything else I need to do after a successful `sudo make install`?" CreationDate="2011-01-08T09:37:06.807" UserId="863" />
  <row Id="6643" PostId="5539" Text="Thanks for mentioning MPWM and the link to xephyir-with-gl size. [This blog entry from 2007](http://dodji.blogspot.com/2007/10/xephyr-xvideo-and-gl-has-landed.html) claims Xephyr would support OpenGL, which seems to [part of xserver's master branch](http://cgit.freedesktop.org/xorg/xserver/commit/?id=604ebb5a6de372e6a8a96e0ee997db7929126860), but what to do with this? Would I need a new compile of Xserver?" CreationDate="2011-01-08T09:42:56.020" UserId="863" />
  <row Id="6644" PostId="4991" Text="@ephemient: `type -p` isn't portable, and a bit strange in bash (see my edit)." CreationDate="2011-01-08T12:21:41.540" UserId="885" />
  <row Id="6645" PostId="5538" Text="`_NET_WM_PID` is set by the application: right, that does make more sense! But it's not the X11 protocol, it's the relatively recent [FreeDesktop](http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html) specification." CreationDate="2011-01-08T12:26:10.417" UserId="885" />
  <row Id="6646" PostId="5538" Text="In the ssh case, as far as the X server is concerned, this is a local connection from the sshd process. Though `_NET_WM_PID` seems to be set to the remote PID and `WM_CLIENT_MACHINE` to the remote connection (tested with xterm)." CreationDate="2011-01-08T12:26:44.627" UserId="885" />
  <row Id="6647" PostId="5478" Text="I've marked [ephemient's answer](http://unix.stackexchange.com/questions/5478/what-process-created-this-x11-window/5538#5538) as accepted because it clarified an important confusion of mine. But it doesn't answer the “if … doesn't play nice” part, so I'll change this if someone comes up with an answer to that part." CreationDate="2011-01-08T12:32:22.550" UserId="885" />
  <row Id="6648" PostId="5536" Score="1" Text="@elmt: Possibly [stow](http://unix.stackexchange.com/questions/5048/best-way-to-upgrade-vim-gvim-to-7-3-in-ubuntu-10-04/5062#5062), which might interest you anyway (but it's a tool, not a package source)." CreationDate="2011-01-08T12:46:15.227" UserId="885" />
  <row Id="6649" PostId="4338" Text="$ ed&#xA;&#xA;You are not a diety." CreationDate="2011-01-08T13:21:58.480" UserId="3512" />
  <row Id="6650" PostId="5546" Text="It looks like each user has a single screen session. I'm not familiar with byobu, why do you think there are five screen sessions?" CreationDate="2011-01-08T13:23:40.777" UserId="885" />
  <row Id="6651" PostId="5330" Score="2" Text="That might be it. But this is new, bleeding edge stuff so expect bugs. You can help by filing a bug at the project site." CreationDate="2011-01-08T13:36:18.147" UserId="3082" />
  <row Id="6652" PostId="5546" Text="@Gilles More research found out that there is only one screen session for each user. I thought their where more since `htop` showed multiple screen processes" CreationDate="2011-01-08T13:38:33.880" UserId="2630" />
  <row Id="6653" PostId="4379" Text="+1 for ASCII art." CreationDate="2011-01-08T13:41:13.957" UserId="3512" />
  <row Id="6654" PostId="5547" Text="You can simply include a newline at the end of the string to stuff." CreationDate="2011-01-08T14:05:29.843" UserId="885" />
  <row Id="6655" PostId="5536" Text="@Gilles: No - it had GUI and was meant to be 'simple'. I guess that current direction is more of synaptic/packagekit." CreationDate="2011-01-08T14:11:02.753" UserId="305" />
  <row Id="6656" PostId="5540" Score="2" Text="I'd add that there are 2 kinds of relocatability. Package may assume it is always in certain place or other things are in certain places (like `/bin`) or it may assume that it is installed in place specified by --prefix. While the latter may be work around by those projects the former requires patches on source code." CreationDate="2011-01-08T14:42:16.100" UserId="305" />
  <row Id="6657" PostId="5552" Text="Does `ls` only recognize `*` as a wildcard character?" CreationDate="2011-01-08T17:53:44.583" UserId="912" />
  <row Id="6658" PostId="5552" Text="also accepts `?` and `[ ]`" CreationDate="2011-01-08T17:59:33.540" UserId="3069" />
  <row Id="6659" PostId="5545" Text="+5 if I could. This is a well-written answer that gives both a direct answer, potential pitfalls with the direct answer, and an alternative." CreationDate="2011-01-08T18:02:09.643" UserId="195" />
  <row Id="6660" PostId="5552" Score="2" Text="It's not `ls` who expands wildcards: it's the shell who does." CreationDate="2011-01-08T18:14:36.607" UserId="1946" />
  <row Id="6661" PostId="2736" Score="1" Text="The files are not exactly stored in RAM: they're (for the most part) generated by the kernel on the fly when you read them. For the writable files, when you write to them, it doesn't store something in RAM, rather it changes a kernel setting." CreationDate="2011-01-08T18:28:22.340" UserId="885" />
  <row Id="6662" PostId="5501" Text="@phunehehe: Now that you mention it, these are exactly the symptoms of two machines having the same IP address. When one sends packet, some switch decides “hey, 1.2.3.4 is now on my left port”, and keeps this information in cache for a while. You should make this an answer." CreationDate="2011-01-08T18:32:30.387" UserId="885" />
  <row Id="6663" PostId="5539" Text="@Tobias: MPWM isn't really integrated into anything and I wouldn't recommend using it for anything other than testing, but you can kill your existing window manager and just start `mpwm`.  The GL support in upstream Xephyr isn't accelerated.  You can compile just the Xephyr server from that xserver branch." CreationDate="2011-01-08T19:54:38.930" UserId="1779" />
  <row Id="6664" PostId="5549" Text="Cross-posted at [Ask Ubuntu](http://askubuntu.com/questions/20621/permissions-issues-with-mounting-remote-server-into-a-specific-folder), [Unix Stack Exchange](http://unix.stackexchange.com/questions/5549/permissions-issues-with-mounting-remote-server-into-a-specific-folder) and [Server Fault](http://serverfault.com/questions/220129/permissions-issues-with-mounting-remote-server-into-a-specific-folder). Please hyperlink your questions when you cross-post so that people can find all answers, and don't waste time posting similar answer independently." CreationDate="2011-01-08T20:31:30.440" UserId="885" />
  <row Id="6665" PostId="5552" Score="2" Text="@Lazer What you're experiencing is the difference between [globbing](http://en.wikipedia.org/wiki/Glob_%28programming%29) and [regular expressions](http://en.wikipedia.org/wiki/Regular_expression). Unfortunately, these two grammars share some of the same symbols but they have very different meanings.  In regex, the `.` means any single character but with globs, this is specified by `?`. Shells understand globbing, not regex." CreationDate="2011-01-08T21:45:58.620" UserId="1338" />
  <row Id="6666" PostId="5552" Score="1" Text="In Bash, easy way to type `??????`: &lt;Esc&gt; 6 ? or Alt-6 ?" CreationDate="2011-01-08T22:43:54.307" UserId="1779" />
  <row Id="6667" PostId="5561" Text="Thanks, the howto plus this link helped me find what I needed: http://www.linuxquestions.org/questions/debian-26/how-to-mount-a-usb-flash-drive-380376/" CreationDate="2011-01-08T23:36:15.727" UserId="2076" />
  <row Id="6668" PostId="5563" Text="Thanks. The version of SQLite in Unstable is the one I needed." CreationDate="2011-01-09T00:51:36.107" UserId="688" />
  <row Id="6670" PostId="5565" Text="I swear this has come up before... hmm..." CreationDate="2011-01-09T03:35:48.197" UserId="29" />
  <row Id="6673" PostId="5565" Score="1" Text="possible [duplicate](http://unix.stackexchange.com/q/1293/29) @tshepang, it definitely contains answers to your question." CreationDate="2011-01-09T03:44:40.213" UserId="29" />
  <row Id="6674" PostId="5565" Text="@tshepang also this [question](http://unix.stackexchange.com/q/11/29)" CreationDate="2011-01-09T03:57:25.283" UserId="29" />
  <row Id="6676" PostId="5565" Text="@tshepang. I answered this using parts of what was said on the others. I'm accepting that it's different enough to remain its own question, but they are definitely related. Actually I think if you look at the real cause behind both other questions, you'll find you're all facing the same bugs, you've just asked the question differently." CreationDate="2011-01-09T04:08:50.777" UserId="29" />
  <row Id="6677" PostId="5564" Text="really makes me wonder what happened that my system wasn't all properly synced, but I'm sure it didn't sync up because it was the first drive and the kernel parts that weren't properly synced. Oh well." CreationDate="2011-01-09T04:14:12.517" UserId="29" />
  <row Id="6679" PostId="5565" Text="@tshepang so you actually believe the underlying problem is different? I don't. but I am not a Kernel Hacker, so I could be wrong. But I'm pretty sure all 3 questions go back to the same set of kernel bugs." CreationDate="2011-01-09T04:20:15.333" UserId="29" />
  <row Id="6681" PostId="5565" Score="1" Text="@tshepang, if you've tracked the last 10 kernel releases you'll have found several patches related to IO problems, from performance issues in ext3, ext4, CFQ, and probably a few other places, including this latest round of patches. Too bad I can't find all the other links right now." CreationDate="2011-01-09T04:30:55.897" UserId="29" />
  <row Id="6683" PostId="5565" Text="@tshepang well it may well be longer than that, and sporadic, I'm trying to include as much as I can find, but it's scattered, and I didn't keep notes." CreationDate="2011-01-09T04:55:16.553" UserId="29" />
  <row Id="6684" PostId="5573" Text="@ev00l I've modified your post, in the future please include the contents of your code in the question, do not use pastebins for that." CreationDate="2011-01-09T06:21:58.973" UserId="29" />
  <row Id="6685" PostId="5573" Text="I am sorry about that. I tried to include at first using the code button, but it made it look really bad with different font sizes and so." CreationDate="2011-01-09T06:24:19.677" UserId="3518" />
  <row Id="6687" PostId="5573" Score="2" Text="@ev00l I did it by putting it in a file, and doing this. `cat test| psp4` psp4 is an alias for prepend 4 spaces. `alias psp4=&quot;sed -e 's/^/    /'&quot;`" CreationDate="2011-01-09T06:29:18.340" UserId="29" />
  <row Id="6691" PostId="5573" Text="@xeno i will have to look up the sed command i guess :D bash --version gives me GNU bash, version 4.1.5(1)-release (i686-pc-linux-gnu)&#xA;" CreationDate="2011-01-09T06:45:36.267" UserId="3518" />
  <row Id="6692" PostId="5573" Text="@ev00l all I'm doing is prepending 4 spaces into the output, which allows me to easily copy and paste into markdown." CreationDate="2011-01-09T06:51:52.087" UserId="29" />
  <row Id="6693" PostId="5576" Text="I use gedit for editing. I have added a space to my if ( statement, and i also swapped the positions of the function and the code. The script still runs fine, but also still produces those outputs, just with a different line number i guess:&#xA;&#xA;minecraft_backup.sh: 11: function: not found&#xA;&#xA;minecraft_backup.sh: 45: run_backup: not found&#xA;" CreationDate="2011-01-09T06:54:14.047" UserId="3518" />
  <row Id="6694" PostId="5576" Text="@ev00l :S well maybe someone else will know better. I am not an expert bash coder, and I don't get those errors. I get a whole different set of errors. " CreationDate="2011-01-09T06:56:24.797" UserId="29" />
  <row Id="6695" PostId="5573" Text="And now i realize i need to look into regex :D" CreationDate="2011-01-09T06:57:22.487" UserId="3518" />
  <row Id="6696" PostId="5573" Text="To include code (formatted in monospace font), you can either :&#xA;use `` for one line of code&#xA;indent several lines of code by at least four spaces.&#xA;&#xA;taken from wikipedia :D Is that why you prepend 4 spaces?" CreationDate="2011-01-09T07:00:40.707" UserId="3518" />
  <row Id="6697" PostId="5576" Text="haha, i can imagine :D It just seems weird to my that it says not found, and then runs the function anyway." CreationDate="2011-01-09T07:04:28.053" UserId="3518" />
  <row Id="6698" PostId="5473" Text="It works. I guess. The --process things is confusing me, make me thought it was transfered again. " CreationDate="2011-01-09T07:23:05.220" UserId="1875" />
  <row Id="6699" PostId="5473" Text="I've edited my answer to explain a bit more." CreationDate="2011-01-09T08:07:08.983" UserId="1207" />
  <row Id="6700" PostId="5577" Score="3" Text="you should have just done `./script` then it would use the `#!` line to determine what to run it as." CreationDate="2011-01-09T08:23:22.613" UserId="29" />
  <row Id="6703" PostId="5556" Text="@Gilles ok thanks. One more question, Will the remote server be mounted forever ? I mean, until reboot ?" CreationDate="2011-01-09T09:05:53.440" UserId="2504" />
  <row Id="6705" PostId="5574" Text="You can also just right click a toolbar to get a checkbox menu of all of them" CreationDate="2011-01-09T09:15:20.860" UserId="73" />
  <row Id="6706" PostId="59" Text="@txwikinger the reason that swapping is slow is because RAM speeds are so much faster that hard disks. RAM seek time is measured in nanoseconds (10^-9). HDD seek times are measured in milliseconds (10^-3). That's six orders of magnitude, in other words RAM is one million times faster than swap. Your question is like asking how to make a bicycle go as fast as a Concorde jet. You can't." CreationDate="2011-01-09T09:16:22.813" UserId="3309" />
  <row Id="6707" PostId="5556" Text="Uhm it worked with allow_root instead. But then I got permissions error with rsnapshot tool.. but this is not related to this question." CreationDate="2011-01-09T09:19:43.180" UserId="2504" />
  <row Id="6709" PostId="5513" Text="I tried it and it didn't work (__Remove__ is unselectable). What are you using?" CreationDate="2011-01-09T10:10:42.987" UserId="688" />
  <row Id="6711" PostId="5015" Text="I tried qemu-kvm-0.11, and got it installed successfully." CreationDate="2011-01-09T10:18:51.423" UserId="3158" />
  <row Id="6713" PostId="5513" Text="You can't remove Gnome given shortcuts, **forget** Remove, just **Disable** it by hitting backspace." CreationDate="2011-01-09T11:38:18.870" UserId="3069" />
  <row Id="6714" PostId="5556" Text="@Patrick: As with any mount, it will remain mounted until you unmount it, or of course until a reboot." CreationDate="2011-01-09T11:45:55.870" UserId="885" />
  <row Id="6715" PostId="5582" Text="I found the &quot;at&quot; command, but that essentially implements my second solution of running a script every minute and requires atrun to be enabled. I'd still like to know how to edit the crontab through a shell script." CreationDate="2011-01-09T12:00:29.130" UserId="341" />
  <row Id="6716" PostId="5584" Text="I'm experimenting with at right now. It seems to be a bit weird and complains about &quot;garbled time&quot; when I try to use it and it required me to enable a 'service' (man atrun). I'm going to continue experimenting with it, but I'm still interested if there's a way to edit the user crontab through a shell script in a safe and portable way." CreationDate="2011-01-09T12:04:46.507" UserId="341" />
  <row Id="6717" PostId="5582" Score="1" Text="`at` should do exactly what you want. Why make things hard on yourself by insisting on a more complicated solution?" CreationDate="2011-01-09T12:35:02.787" UserId="281" />
  <row Id="6719" PostId="5576" Text="You don't need spaces around parentheses (except when they would be interpreted as extended patterns in ksh/bash/zsh). This doesn't mean it's not a good idea to use spaces. You do need spaces around square brackets and braces. Yeah, shell syntax is inconsistent." CreationDate="2011-01-09T13:07:32.180" UserId="885" />
  <row Id="6720" PostId="5582" Score="2" Text="@Michael: editing the crontab in a script is possible (call `crontab -e` with `EDITOR` set to an automated program instead of an interactive editor), but it's definitely not a way to do what you want. It would be a way to set up a *recurring* task. For a one-off, `at` is the appropriate tool." CreationDate="2011-01-09T13:14:51.223" UserId="885" />
  <row Id="6721" PostId="5584" Text="Got at working (it's weird that it wants to read the command from stdin rather than just accepting a one-liner as a parameter) after some experimentation." CreationDate="2011-01-09T13:17:38.500" UserId="341" />
  <row Id="6723" PostId="5460" Text="It's sad to have a downvote without a reason. It's not obvious to me, why I deserved this." CreationDate="2011-01-09T15:12:03.360" UserId="688" />
  <row Id="6724" PostId="5576" Text="@Gilles, like I said, might just be vim's syntax highlighting, but seemed like a good thing to rule out." CreationDate="2011-01-09T15:26:05.823" UserId="29" />
  <row Id="6725" PostId="5578" Text="@keith know the option to change the default behavior?" CreationDate="2011-01-09T15:30:26.690" UserId="29" />
  <row Id="6726" PostId="5591" Text="+1 for mentioning `function` is not standard. I wasn't sure, which is part of the reason I originally asked for `bash --version` I thought maybe it wasn't in all versions." CreationDate="2011-01-09T15:33:50.493" UserId="29" />
  <row Id="6727" PostId="5473" Text="@Cheng: I suspect you don't want the `--delete-excluded`. Without it, only `*.jpg` and `*.txt` may be deleted on the destination side. With it, unrelated files would be deleted as well. You may be interested in this [tutorial on rsync filters](http://unix.stackexchange.com/questions/2161/rsync-filter-copying-one-pattern-only/2503#2503)." CreationDate="2011-01-09T16:09:56.797" UserId="885" />
  <row Id="6728" PostId="5596" Text="I can't help wondering, will the Python module SimpleHTTPServer allow concurrent file sharing? Last time I checked it didn't seem to." CreationDate="2011-01-09T16:46:43.477" UserId="250" />
  <row Id="6729" PostId="5596" Text="@phunehehe if you want concurrency, try [this stackoverflow question](http://stackoverflow.com/questions/2455606/basichttpserver-simplehttpserver-and-concurrency) but if you go so far, keep apache, add mod_userdir, even like that it will be lighter." CreationDate="2011-01-09T16:56:35.603" UserId="2780" />
  <row Id="6730" PostId="5578" Text="@xeno it's the nomatch, which you unset with the NO_NOMATCH option. In bash there is a `failglob` option as well. The difference is the default behavior. See http://zsh.sourceforge.net/FAQ/zshfaq02.html#l9" CreationDate="2011-01-09T17:54:32.907" UserId="3082" />
  <row Id="6731" PostId="5597" Text="requires some tinkering --&gt; didn't work out-of-the-box" CreationDate="2011-01-09T18:04:40.133" UserId="688" />
  <row Id="6733" PostId="5599" Text="I went through that list, and it was what-a-waste-of-time (some of the stuff is hardly maintained, some isn't tinker-free), that's why I asked for specific recommendations." CreationDate="2011-01-09T18:08:15.760" UserId="688" />
  <row Id="6734" PostId="5598" Score="1" Text="requires some tinkering --&gt; didn't work out-of-the-box" CreationDate="2011-01-09T18:38:00.963" UserId="688" />
  <row Id="6735" PostId="5595" Text="Cherokee looks good. I also like how it displays the icons." CreationDate="2011-01-09T18:41:30.337" UserId="688" />
  <row Id="6737" PostId="5592" Text="+1 for the `map` suggestion. Although I personally dont want to do it _all_ the time, I'd like to use it when I want it." CreationDate="2011-01-09T19:35:30.660" UserId="2741" />
  <row Id="6742" PostId="5593" Text="Hi ring0, Here is dig and host (thanks for mentioning the tools):&#xA;http://pastebin.mozilla.org/918599&#xA;&#xA;As you can see host resolves an IP. I also ran nmap -p 80 on 172.26.4.49 and the port is open, but if I run it on uwyo.edu i get &quot;failed to resolve hostname&quot;. When I put the IP address in to my browser, i get &quot;uwyo.edu can not be found&quot;.&#xA;&#xA;change the nameservers and now when i run host -a uwyo.edu i get &quot;connection timed out; no servers could be reached&quot;" CreationDate="2011-01-09T21:51:46.430" UserId="3468" />
  <row Id="6743" PostId="5607" Text="That is not *directly*, unless you are suggesting a workaround?" CreationDate="2011-01-09T22:01:13.160" UserId="688" />
  <row Id="6744" PostId="5593" Score="1" Text="hold on now... thats a private block. if i use the public IP of 129.72.61.21 i can access the website.&#xA;&#xA;So, im thinking UW runs a split horizon DNS and blocks out going on port 53 to force the use of their DNS. Could this explain it? What are other explanations?" CreationDate="2011-01-09T22:01:31.510" UserId="3468" />
  <row Id="6745" PostId="5279" Text="I like netcat solution too.  I have a script using `nc -w 2 &lt;/dev/null &gt;/dev/null` — if the connection takes more than 2 seconds, it times out and fails — which is handy for my usage." CreationDate="2011-01-09T23:10:25.180" UserId="1779" />
  <row Id="6746" PostId="5607" Text="I could be wrong, but I'll bet the second option is about as directly as you will find." CreationDate="2011-01-09T23:17:59.007" UserId="1207" />
  <row Id="6747" PostId="5593" Text="The problem is not the routing to the IP address, but only the name resolution. Again, I suggest to use the Google DNS as nameserver (see my answer) since seemingly the campus server does not serve local clients from the private segment 10.*." CreationDate="2011-01-10T00:06:42.500" UserId="3527" />
  <row Id="6748" PostId="5594" Text="how little memory do you have? I suspect with the next to no use the server will receive, it doesn't really matter how light/heavy?" CreationDate="2011-01-10T01:48:46.293" UserId="29" />
  <row Id="6751" PostId="5437" Score="1" Text="Yet another casualty of NetworkManager. Get rid of it." CreationDate="2011-01-10T03:41:49.950" UserId="3082" />
  <row Id="6752" PostId="5593" Text="Thanks again. &quot;change the nameservers (to google [sic]) and now when i run host -a uwyo.edu i get &quot;connection timed out; no servers could be reached&quot; in the past I had also tired OpenDNS. I was actually thinking that trying non-UW NS is what started the mess, but since then, I have flashed the router." CreationDate="2011-01-10T04:09:41.560" UserId="3468" />
  <row Id="6753" PostId="5593" Text="check this out, -p 53 is open for the local dns but filtered when using google:&#xA;tom@sue:~$ sudo nmap -p 53 10.35.60.8&#xA;Starting Nmap 5.00 ( http://nmap.org ) at 2011-01-09 21:41 MST&#xA;Interesting ports on 10.35.60.8:&#xA;PORT   STATE SERVICE&#xA;53/tcp open  domain&#xA;Nmap done: 1 IP address (1 host up) scanned in 0.41 seconds&#xA;tom@sue:~$ sudo nmap -p 53 8.8.8.8&#xA;Starting Nmap 5.00 ( http://nmap.org ) at 2011-01-09 21:41 MST&#xA;Interesting ports on google-public-dns-a.google.com (8.8.8.8):&#xA;PORT   STATE    SERVICE&#xA;53/tcp filtered domain&#xA;Nmap done: 1 IP address (1 host up) scanned in 4.89 seconds" CreationDate="2011-01-10T04:43:49.467" UserId="3468" />
  <row Id="6754" PostId="5594" Text="I'm not even running short, but then again, I don't burn money just because I'm a billionaire. Also, I do think it matters, because it's likely that the bigger the httpd, the longer it takes to start." CreationDate="2011-01-10T04:50:51.957" UserId="688" />
  <row Id="6755" PostId="5602" Text="Where is this __decompress_kernel()__ function implementation located?" CreationDate="2011-01-10T05:43:15.493" UserId="2871" />
  <row Id="6756" PostId="5602" Text="Great Answer.. Thanks.." CreationDate="2011-01-10T05:44:07.443" UserId="2871" />
  <row Id="6757" PostId="5555" Score="1" Text="I didn't realize that the process' memory concept isn't well defined, I think that's what makes it all have more sense. Thanks" CreationDate="2011-01-10T06:00:12.983" UserId="3449" />
  <row Id="6758" PostId="5587" Text="That's exactly what I thought, but they can both join the network in another office (different location) without any problems. I think I'm just going to format one and see if that fixes it." CreationDate="2011-01-10T06:33:05.480" UserId="3489" />
  <row Id="6759" PostId="5417" Text="on our cPanel/CentOS systems it appears to be in `/var/log/sa`" CreationDate="2011-01-10T06:59:25.680" UserId="29" />
  <row Id="6760" PostId="5573" Score="1" Text="@xeno: Using temp files and `sed` to add spaces is not necessary: Next time you need to include code, just paste, mark, and click the 'code' icon over the edit box. You will then witness the magic of stackexchange javascript adding the four spaces for you :)" CreationDate="2011-01-10T06:59:54.210" UserId="2881" />
  <row Id="6761" PostId="5612" Text="Did you try: http://simple.wikipedia.org/wiki/Linux ?" CreationDate="2011-01-10T08:18:47.200" UserId="1946" />
  <row Id="6762" PostId="5613" Text="The kernel itself doesn't derive from the GNU project, but the GNU project is relevant because it made gcc, which as far as I know Linux used from the start. The MINIX source code was then not open source, you had to have purchased Tanenbaum's book." CreationDate="2011-01-10T08:25:37.850" UserId="885" />
  <row Id="6763" PostId="5613" Text="@Gilles: You are right.." CreationDate="2011-01-10T08:31:13.463" UserId="2871" />
  <row Id="6766" PostId="5616" Text="I use Debian Squeeze. Also, I just install `apache2` which installs whatever `apache2-mpm-worker` installs, and nothing more." CreationDate="2011-01-10T09:04:53.883" UserId="688" />
  <row Id="6767" PostId="5613" Text="@Renjith: When you down vote an answer could you please put the reason also, so that i can improve my future answers on the forum." CreationDate="2011-01-10T09:26:26.697" UserId="2871" />
  <row Id="6768" PostId="5602" Text="It is located at `/arch/$ARCH/boot/compressed/misc.c`, see here: http://lxr.linux.no/#linux+v2.6.37/arch/x86/boot/compressed/misc.c#L322" CreationDate="2011-01-10T09:28:16.757" UserId="3069" />
  <row Id="6769" PostId="5614" Text="What does the address there meant actually?" CreationDate="2011-01-10T09:54:31.143" UserId="3539" />
  <row Id="6770" PostId="5581" Text="Note that `[:digit:]` is a [POSIX character class](http://www.regular-expressions.info/posixbrackets.html)." CreationDate="2011-01-10T10:01:45.740" UserId="3523" />
  <row Id="6771" PostId="5573" Score="1" Text="@janus blah... I just did it the way i do on my system. it's habitual, though usually the files are already on my system" CreationDate="2011-01-10T10:39:01.990" UserId="29" />
  <row Id="6772" PostId="5613" Text="@Sen: Thank you very much for your answer , It is nothing like that as per your words." CreationDate="2011-01-10T11:03:21.850" UserId="2269" />
  <row Id="6773" PostId="5616" Score="1" Text="I'm not sure I understand your comment.  Apache2 uses mpm_prefork by default which is single threaded and so uses more memory." CreationDate="2011-01-10T11:11:19.093" UserId="3543" />
  <row Id="6774" PostId="5619" Text="You mean `virus`?" CreationDate="2011-01-10T11:25:48.100" UserId="250" />
  <row Id="6775" PostId="5578" Text="you can also put the thing with * in double quotes" CreationDate="2011-01-10T12:07:26.583" UserId="250" />
  <row Id="6776" PostId="5477" Text="@rich `cat /etc/resolv.conf` please, not that I don't trust you... but let's have the actual file." CreationDate="2011-01-10T13:07:33.077" UserId="29" />
  <row Id="6778" PostId="5567" Text="@tshepang, ask a kernel programmer, or better yet modify your question, I don't know." CreationDate="2011-01-10T13:54:01.367" UserId="29" />
  <row Id="6780" PostId="5567" Text="@tshepang yes and no, I got that you wanted information that I don't necessarily have or know. AFAIK, the processor doesn't just wait on the IO, but that specific process does. it needs the IO before it can continue to do other things. But perhaps I'm wrong. Truthfully, for the last few years it's felt like DMA is off when my systems are under IO. I had DMA issues back in the day, then they changed everything to libata, and everything went to hell." CreationDate="2011-01-10T14:04:57.453" UserId="29" />
  <row Id="6782" PostId="5621" Score="1" Text="do you use password or pubkey authentication? and if password, is the a `id_dsa` or `id_rsa` file in your `~/.ssh`? maybe your ssh installation tries the wrong authentication first and your server doesn't deny but simply ignore that request resulting in that 30s timeout" CreationDate="2011-01-10T14:11:35.327" UserId="863" />
  <row Id="6783" PostId="5567" Text="heh, maybe? idk. all I know is that back when I had an IDE before all interfaces went the way of (pretty sure it's libata) libata, I didn't have this problem. I turned DMA on and it was good. but then everything went libata and, and the problem was everywhere. At least that's my perception, I didn't know as much then. back then SATA and IDE ran off different code, now they run through the same code." CreationDate="2011-01-10T14:12:15.507" UserId="29" />
  <row Id="6784" PostId="5567" Text="@tshepang also if you don't know DMA stands for Direct Memory Access, all SATA should have it... in the days of IDE not turning it on was generally the cause of the system not responding when doing IO. if the drive/controller supported it." CreationDate="2011-01-10T14:17:07.140" UserId="29" />
  <row Id="6785" PostId="5567" Score="1" Text="@tshepang on [iowait](http://users.ca.astound.net/~baspence/AIXtip/iowait.htm)" CreationDate="2011-01-10T14:20:35.450" UserId="29" />
  <row Id="6786" PostId="5577" Text="@ev00l might consider accepting an answer" CreationDate="2011-01-10T14:26:56.270" UserId="29" />
  <row Id="6787" PostId="3164" Text="and even those of us who have them, haven't used them in years. I don't even know if mine still works, or where it is to be honest. worked fine on linux ~6 years ago." CreationDate="2011-01-10T14:30:31.023" UserId="29" />
  <row Id="6788" PostId="5622" Text="+1 good idea. @Tshepang does ssh connect faster when you use hostname's IP directly?" CreationDate="2011-01-10T15:24:03.343" UserId="863" />
  <row Id="6789" PostId="5493" Text="Hard to do when you don't actually have the device yet..." CreationDate="2011-01-10T15:26:10.910" UserId="2323" />
  <row Id="6790" PostId="5622" Text="@tobias takes half as much time" CreationDate="2011-01-10T15:28:34.163" UserId="688" />
  <row Id="6791" PostId="5610" Text="Thank you very much!" CreationDate="2011-01-10T15:40:49.247" UserId="3535" />
  <row Id="6792" PostId="5614" Text="`ps` and `klogd` do use `System.map` (but not necessarily)." CreationDate="2011-01-10T15:59:25.267" UserId="3069" />
  <row Id="6793" PostId="5620" Text="I think my question is not clear. Sorry for the confusion. `I want  to debug the inserted module, whose source i dont have with me.`" CreationDate="2011-01-10T16:21:44.183" UserId="3539" />
  <row Id="6794" PostId="5619" Text="Its something I suspect a rootkit. I just want to dissamble it for the purpose of analysis" CreationDate="2011-01-10T16:22:46.007" UserId="3539" />
  <row Id="6795" PostId="5622" Text="I'm getting `/etc/host.conf: line 2: bad command `mdns off'` when I run `ssh user@hostname`." CreationDate="2011-01-10T16:42:33.993" UserId="688" />
  <row Id="6796" PostId="5622" Text="Seems this is an outdated setting, since glibc 2.3.x (2006): https://forums.gentoo.org/viewtopic-t-476558-highlight-mdns.html. What are you using (OS, glic version)?" CreationDate="2011-01-10T16:53:07.163" UserId="688" />
  <row Id="6797" PostId="5622" Text="What do you mean by *Have you verified your DNS setup?*" CreationDate="2011-01-10T16:54:38.253" UserId="688" />
  <row Id="6798" PostId="5621" Text="@tobias I use password and I don't have `&quot;~/.ssh&quot;` file. That's a directory, and it only has `&quot;known_hosts&quot;` file in it." CreationDate="2011-01-10T16:59:25.300" UserId="688" />
  <row Id="6799" PostId="5628" Score="2" Text="I'm not quite sure about your level of knowledge about Linux/Unix but I noticed that there are 2 approaches to learning it 1. Install simple distribution (for ex. Ubuntu), use it (it should work out of box, so you can progress slowly when you have time) 2. Install low-level distribution with good community (for ex. Gentoo/Arch) and get it working (you will get into problems and solving them is part of the process). I haven't heard about Chakra project and I don't know about it's community but I don't think it is popular so I'd recommend against it if you want to learn Linux." CreationDate="2011-01-10T17:10:29.203" UserId="305" />
  <row Id="6800" PostId="5567" Score="2" Text="@tshepang I wish you wouldn't delete comments after they've been replied to; it makes this whole thread completely incomprehensible" CreationDate="2011-01-10T17:20:32.217" UserId="73" />
  <row Id="6801" PostId="5631" Text="Didn't xeno explain exactly how this has been solved in the Linux kernel the last time you asked?" CreationDate="2011-01-10T17:21:27.613" UserId="73" />
  <row Id="6802" PostId="5631" Score="1" Text="Given the edits, I think the intent is to have the previous question be about the progress being made towards fixing the problem while this question is about *why* the problem exists." CreationDate="2011-01-10T17:58:11.827" UserId="1207" />
  <row Id="6803" PostId="2780" Text="Also Data is separated from code and config files (var &amp; home; bin &amp; usr; etc). Look in Windows- Program Files- binaries, config files, data (MS SQL). You can mount dirs with no exec for data. Apps don't execute every file you trow at them (mail clients word processors). Open code for review. Quick fix for problems (check response time for RedHat and Debian guys after threat found in the kernel). When a problem found- the Distro pushes some update (I didn't realize for example- KDE is looking for +x flag on desktop shortcuts for example to execute them which feature was missing at some point) " CreationDate="2011-01-10T18:07:08.117" UserId="3432" />
  <row Id="6804" PostId="5631" Text="@mic Steven is right. We had a long discussion about what I meant with the previous question. xeno's answer was so good that I edited the question to fit it, and I re-asked the original question here." CreationDate="2011-01-10T18:07:53.840" UserId="688" />
  <row Id="6805" PostId="5631" Text="@Tshepang I understand, but your question seems to contradict the other one; here you say &quot;Can anyone explain this limitation and why it hasn't been solved in Linux kernel? Is there a kernel out there that doesn't have this problem?&quot;, but xeno's answer starts with &quot;I think for the most part it has been solved.&quot;" CreationDate="2011-01-10T18:11:43.180" UserId="73" />
  <row Id="6806" PostId="5631" Text="@mic Not really. The kernel still does __iowait__, meaning it still waits. I view xeno's answer as more of *system responsiveness has been improved*. And that I agree, as I've noted on the question." CreationDate="2011-01-10T18:21:02.560" UserId="688" />
  <row Id="6807" PostId="5636" Text="According to the verbose output and the output of `dmesg`, that looks like it should work -- see my edited answer -- but, sadly, it doesn't... ideas on where I could go from here?" CreationDate="2011-01-10T18:26:51.770" UserId="1974" />
  <row Id="6808" PostId="5614" Text="@wag: It looks like `ps` used to need `System.map`, but no longer does with kernels ≥2.6." CreationDate="2011-01-10T18:57:02.753" UserId="885" />
  <row Id="6809" PostId="5493" Text="@Neil: Which is why it says &quot;look it up with the vendor&quot;, or &quot;find a box&quot; (read: go to a store) ;-)" CreationDate="2011-01-10T19:12:58.047" UserId="3487" />
  <row Id="6810" PostId="5630" Text="Some Linux installers save the original boot sector, so they can restore it. That does assume you can at least boot your new system." CreationDate="2011-01-10T19:27:55.473" UserId="885" />
  <row Id="6811" PostId="5614" Text="ok, then it's like `lsof` which used to consult `System.map` too." CreationDate="2011-01-10T19:33:29.117" UserId="3069" />
  <row Id="6812" PostId="5630" Text="@Gilles: I don't think non-user-friendly installers (read Arch, Debian etc) do that. Anyway there is mention of Arch Linux shell and recent questions about Arch so bootability of Arch seems to be reasonable assumption." CreationDate="2011-01-10T19:38:17.847" UserId="305" />
  <row Id="6813" PostId="5567" Text="@mic Worry not, I've asked xeno to remove his to avoid this distraction. Comennts are 2nd-class citizens." CreationDate="2011-01-10T19:40:20.857" UserId="688" />
  <row Id="6814" PostId="5567" Text="@Tshepang Why didn't you just leave them? Were they actually useless?" CreationDate="2011-01-10T19:42:20.603" UserId="73" />
  <row Id="6815" PostId="5621" Score="3" Text="It looks like you have a 15s DNS timeout. Maybe the server is doing a DNS lookup; if you can, make sure you have `UseDNS no` in `sshd_config` on the server. In any case, run `ssh -vvv user@hostname` to see where the login is hanging." CreationDate="2011-01-10T19:52:34.127" UserId="885" />
  <row Id="6816" PostId="5645" Score="1" Text="I didn't try that. I wish I saw your comment before the process decided to die, because I think such a scenario is pretty much rare." CreationDate="2011-01-10T19:56:09.277" UserId="688" />
  <row Id="6817" PostId="5645" Score="4" Text="There are situations where sudoing it won't help either; hung filesystems are the ones I run into. I'm not sure how to deal with it in a general case" CreationDate="2011-01-10T19:58:15.343" UserId="73" />
  <row Id="6818" PostId="5644" Score="1" Text="Maybe, but not with the little information you've posted. You need to describe precisely what you're doing: where did you get the program (FFGUI?), on what OS (Ubuntu, but what version), how do you start it (click on a menu entry? command in a terminal?), what happens exactly? Be precise enough so that someone can reproduce what you're doing on their machine." CreationDate="2011-01-10T20:00:27.753" UserId="885" />
  <row Id="6819" PostId="5621" Text="@gil Thanks. I updated the question. I'll ask the admin to check for that __UseDNS__ setting." CreationDate="2011-01-10T20:07:44.737" UserId="688" />
  <row Id="6820" PostId="5645" Score="3" Text="@Michael: There's no general way to deal with processes blocked in uninterruptible wait. For example with an NFS client configured with “hard” interruption policy, you have to either provide an NFS server or reboot." CreationDate="2011-01-10T20:11:18.230" UserId="885" />
  <row Id="6821" PostId="5621" Score="1" Text="@Tshepang: Oh, you're using Kerberos (GSSAPI) authentication. I'm not familiar with it. If it's misconfigured, maybe it's causing the delay. This is something you can ask your admin. DNS might be a red herring; it's the most common cause in the wild, but perhaps your problem is different." CreationDate="2011-01-10T20:13:33.000" UserId="885" />
  <row Id="6822" PostId="5621" Text="@gil Does that mean that __UseDNS__ is no longer valid option?" CreationDate="2011-01-10T20:18:00.077" UserId="688" />
  <row Id="6823" PostId="5640" Text="yes i am running them before i run make.." CreationDate="2011-01-10T20:19:08.053" UserId="3552" />
  <row Id="6824" PostId="5643" Text="That's so awesome, thanks for the help. Here's what I came up with: `find docs \( -iname '*.pdf' -o -iname '*.mp3' \) -printf '&quot;%p&quot;\n' | xargs tar czf docs-media.tar.gz`" CreationDate="2011-01-10T20:26:13.257" UserId="3558" />
  <row Id="6825" PostId="5643" Score="2" Text="@mattalexx: Beware that this command will not work if any of the file names contain spaces or `\'&quot;` (xargs's fault), and will not work if there are too many file names (the kernel's fault)." CreationDate="2011-01-10T20:29:22.533" UserId="885" />
  <row Id="6826" PostId="5643" Score="1" Text="@Gilles Regarding filenames with spaces and single quotes, the `-printf '&quot;%p&quot;\n'` part takes care of that (at least it did for me). " CreationDate="2011-01-10T20:31:23.890" UserId="3558" />
  <row Id="6827" PostId="5643" Score="1" Text="@Gilles Interesting about the kernel restriction. How many arguments can you have in a command in Linux?" CreationDate="2011-01-10T20:32:10.130" UserId="3558" />
  <row Id="6828" PostId="5621" Text="@Tshepang: `UseDNS no` is a good idea *most* of the time (but in a managed network where the admin can trust the DNS `UseDNS yes` can be useful). I'd wait and see what the admin says." CreationDate="2011-01-10T20:33:19.257" UserId="885" />
  <row Id="6829" PostId="5650" Text="Oh yeah, I meant to mention zsh's `**`; I didn't even realize bash 4 had that now" CreationDate="2011-01-10T20:34:25.267" UserId="73" />
  <row Id="6830" PostId="5643" Text="@mattalexx: It's not the number of arguments, but their total length (including one terminating null byte per argument). Under Linux, the limit is 131072." CreationDate="2011-01-10T20:43:14.193" UserId="885" />
  <row Id="6831" PostId="5643" Score="4" Text="Oh, on the “will not work”, note that the failure mode here is that if the command line is too long, xargs will split it up, so that **the last tar invocation will silently overwrite files written by previous invocations**." CreationDate="2011-01-10T20:46:13.877" UserId="885" />
  <row Id="6832" PostId="5567" Text="@mic Am just a sucker for clealiness; The conclusion of the discussion was that I edit the question anyways, so I felt like the discussion was outdated." CreationDate="2011-01-10T21:03:39.893" UserId="688" />
  <row Id="6833" PostId="5630" Text="@Maciej: I can't even find one on Ubuntu. Though maybe it's because it's not a dual boot." CreationDate="2011-01-10T21:03:59.173" UserId="885" />
  <row Id="6834" PostId="5547" Text="Whats &quot;stuff&quot;? Removing it gives the error in byobu &quot;-X Unknown command 'uanme -a '" CreationDate="2011-01-10T21:05:12.777" UserId="2630" />
  <row Id="6835" PostId="5547" Text="It does what it says, it &quot;stuffs&quot; the command (in this case `uname -a`) into the `byobu` session." CreationDate="2011-01-10T21:11:35.920" UserId="3069" />
  <row Id="6836" PostId="5630" Text="@Gilles: I cannot recall stating that Ubuntu do save. I stated that I guess that Arch's and Debian's don't." CreationDate="2011-01-10T21:12:05.173" UserId="305" />
  <row Id="6837" PostId="5651" Text="@Mark: When you cite an external source, it's a good idea to put the gist of it in your post, in case the link disappears." CreationDate="2011-01-10T21:14:51.147" UserId="885" />
  <row Id="6838" PostId="5630" Text="@Maciej: I don't recall you stating that either. I thought I'd seen a distribution do it, and given my habits and environment it would probably be Debian or Ubuntu. Maybe I made this up from whole cloth." CreationDate="2011-01-10T21:18:42.297" UserId="885" />
  <row Id="6839" PostId="5655" Text="Ok, I want to try your suggestion. So that would imply I will end up with two /home the extended partition because I already have a /home for ubuntu and i will need another one for suse. Is this possible?  " CreationDate="2011-01-10T21:32:49.080" UserId="1836" />
  <row Id="6840" PostId="5655" Text="@Vaolter: You can have separate homes, or share them. You just have to tell the installation program what you want (create a home partition for Ubuntu, or mount an existing partition)." CreationDate="2011-01-10T21:42:37.533" UserId="885" />
  <row Id="6841" PostId="5651" Text="@Gilles: Good point.  I'll remember that in the future.  Thanks" CreationDate="2011-01-10T21:43:13.680" UserId="3557" />
  <row Id="6842" PostId="5567" Text="@xeno BTW, I managed to get some seriously bad responsiveness when 2 separate process fought for the disk; I was copying large files on one hand, and SQLite was doing integrity checks OTOH. __iowait__ was hovering around 70-80% for each of my processor cores." CreationDate="2011-01-10T22:04:01.130" UserId="688" />
  <row Id="6843" PostId="5547" Text="Ah, didn't make the connection there. Anyway, thanks for the help, it works perfectly!" CreationDate="2011-01-10T22:25:25.347" UserId="2630" />
  <row Id="6845" PostId="5655" Score="1" Text="Note that these partition types and limits only apply to MBR (traditional PC/MSDOS) partitioning.  Newer systems (like Windows 7 and all Linux distros) should be able to use GPT partitioning just fine.  NTLDR, LILO, Grub Legacy (0.9x) may be problematic, but winload and Grub 2 (1.9x) should be okay." CreationDate="2011-01-10T23:56:42.863" UserId="1779" />
  <row Id="6846" PostId="5643" Text="That failure can be avoided with `tar r` (as opposed to `tar c`).  However, it's not compatible with `tar z`, so you'll have to do the compression once at the end." CreationDate="2011-01-11T00:01:48.617" UserId="1779" />
  <row Id="6847" PostId="5633" Text="The actual limit is 65534. The last counter entry is used for a transient in the rename() system call." CreationDate="2011-01-11T00:03:30.350" UserId="3562" />
  <row Id="6848" PostId="5654" Score="1" Text="Equivalently, set `LD_RUN_PATH=/usr/local/lib` when compiling." CreationDate="2011-01-11T00:03:49.600" UserId="1779" />
  <row Id="6849" PostId="5632" Score="2" Text="Once upon a time this was accurate, but not for a long time now: modern `udev` listens for uevents on a netlink socket.  (The old way had serialization/concurrency issues.)" CreationDate="2011-01-11T00:06:21.050" UserId="1779" />
  <row Id="6850" PostId="5643" Text="@ephemient That's what [Gilles' answer](http://unix.stackexchange.com/questions/5641/tar-up-all-pdfs-in-a-directory-retaining-directory-structure/5650#5650) does" CreationDate="2011-01-11T01:30:52.760" UserId="73" />
  <row Id="6851" PostId="5664" Text="That's a good thought, sadly I tried that and it didn't resolve the situation..." CreationDate="2011-01-11T02:25:04.667" UserId="1974" />
  <row Id="6852" PostId="5643" Text="Gah, I fail at reading.  And here I was thinking of suggesting using `cpio` too, when `pax` is already in Gilles' answer…" CreationDate="2011-01-11T03:44:03.047" UserId="1779" />
  <row Id="6853" PostId="994" Score="2" Text="+1 for Gaurav's comment.  Vi works excellent for emergency editing of config files over a crappy 3G connection on a slow cell phone." CreationDate="2011-01-11T03:57:04.200" UserId="3389" />
  <row Id="6855" PostId="5647" Text="Zombie doesn't consume resource ? " CreationDate="2011-01-11T04:17:13.077" UserId="393" />
  <row Id="6856" PostId="5630" Text="@Maciej- I tried modifying the GRUB file as you mentioned but that takes me to a restore session and I can't go anywhere from there!! &#xA;&#xA;THe problem I faced in Arch Linux is that I couldn't get pacman working(probably due to network issues??)!" CreationDate="2011-01-11T04:36:20.967" UserId="3496" />
  <row Id="6857" PostId="5632" Text="Since I am new to this part of Linux(__udev__, __hotplug__), I would like to have idea on every line you have described here. So could you please elaborate on __starts with the kernel hotplug subsystem__." CreationDate="2011-01-11T04:59:11.393" UserId="2871" />
  <row Id="6858" PostId="5632" Text="@ephemient: Thanks for the reply. Could you please explain the sequence of events." CreationDate="2011-01-11T05:00:07.290" UserId="2871" />
  <row Id="6859" PostId="5666" Text="I've thought that as well, but it doesn't make sense to me. Why would a standard, root linux folder be named et cetera? But maybe that is the case..." CreationDate="2011-01-11T05:05:48.360" UserId="3572" />
  <row Id="6860" PostId="5647" Score="2" Text="@Luc M: AFAIK no (at least on Linux) - with exception of the entry in process table (i.e. PID along with such information as owner, exit status etc.). It is just process which wait acknowledgement from partent that it terminated." CreationDate="2011-01-11T05:16:06.427" UserId="305" />
  <row Id="6861" PostId="5630" Text="@infoquad: As of pacman - that's probably separate question. As of restore session - if it boots it seems that Windows bootloader is working. Try next partition (sometimes `(hd0,0)` is restore and you need `(hd0,1)`) - if it won't help I'm afraid that it's windows-side problem." CreationDate="2011-01-11T05:21:18.903" UserId="305" />
  <row Id="6862" PostId="5591" Text="Thank you so much. I haven't had the time to be online before now. Love this site already :D" CreationDate="2011-01-11T05:37:34.807" UserId="3518" />
  <row Id="6863" PostId="5591" Text="I hope i accepted the answer correctly." CreationDate="2011-01-11T05:39:32.483" UserId="3518" />
  <row Id="6864" PostId="5577" Text="Yeah i should have done that. I just read that i could either make it executable at ./ run it, or use the sh command ;D" CreationDate="2011-01-11T05:40:28.097" UserId="3518" />
  <row Id="6865" PostId="5663" Score="1" Text="@DeveloperChris, 15 is SIGTERM (friendly kill), not SIGHUP.  SIGHUP is for the controlling terminal being closed or the communication channel being lost" CreationDate="2011-01-11T05:53:02.777" UserId="576" />
  <row Id="6866" PostId="5622" Score="1" Text="You are telling it takes only half the time when you use the IP address. This means you have a problem with your name resolution (IP=&gt;FQDN or FQDN=&gt;IP). So first take a look at your DNS config and then try to find out whether you have a problem with ssh or not." CreationDate="2011-01-11T06:50:13.057" UserId="2327" />
  <row Id="6867" PostId="5622" Text="Added an example for gentoo. Hope this works for you." CreationDate="2011-01-11T07:01:12.750" UserId="2327" />
  <row Id="6868" PostId="5621" Text="@gilles What ssh client are you using? I use OpenSSH." CreationDate="2011-01-11T08:43:57.897" UserId="688" />
  <row Id="6869" PostId="994" Score="1" Text="+1 for using vi on a cell phone..." CreationDate="2011-01-11T09:40:58.090" UserId="29" />
  <row Id="6870" PostId="5647" Text="It's init's job to clean up Zombie's." CreationDate="2011-01-11T09:46:34.637" UserId="29" />
  <row Id="6871" PostId="5669" Score="7" Text="It could also now be used as a backronym for Environment &amp; Tool Configuration. Which is descriptive of what it has become IMHO. This does not refute the historic origin though!" CreationDate="2011-01-11T09:53:22.637" UserId="3201" />
  <row Id="6872" PostId="5658" Score="3" Text="Murphys law suggests that if you do this, you will one day forget, you will hibernate an OS, or boot it into a VM, and you will hose your system, and possibly data. Simple truth - disk space is dirt cheap, your data and work is probably not. Unless you are needing terabyte's of swap space for each OS, just make separate ones." CreationDate="2011-01-11T09:57:02.043" UserId="3201" />
  <row Id="6873" PostId="5644" Text="paste the whole shell command you use for it please." CreationDate="2011-01-11T09:58:07.470" UserId="3201" />
  <row Id="6874" PostId="5669" Text="I like it Danny!" CreationDate="2011-01-11T10:00:45.050" UserId="3575" />
  <row Id="6875" PostId="5656" Text="Get more ram, it's cheap, don't use swap, it'll help you with that IO issue. I realize this might not be feasible, but gone are the days where you must have swap." CreationDate="2011-01-11T10:10:53.017" UserId="29" />
  <row Id="6876" PostId="5647" Score="6" Text="@xenoterracide: Eventually yes but if parent process still lives (for example it is gnome-session or something which fullfill similar role) you still may have zombies. Technically it is parent job to clean up but if zombie is orphaned init cleans after it (terminology is the reason why the unix classes are done with closed doors - anyone hearing about orphans, zombies and killing in one sentence may have got wrong impressions)." CreationDate="2011-01-11T10:13:12.477" UserId="305" />
  <row Id="6877" PostId="5656" Text="@xeno that perf issue has nothing to do with swap; look at botton of ur answer for an example; oh, and I'm not running out of RAM either" CreationDate="2011-01-11T11:01:31.797" UserId="688" />
  <row Id="6878" PostId="5656" Text="@xeno if u dont have swap, u lose Suspend ability" CreationDate="2011-01-11T11:04:21.077" UserId="688" />
  <row Id="6879" PostId="5656" Score="1" Text="I don't use that, so... yeah I don't use that." CreationDate="2011-01-11T11:11:20.537" UserId="29" />
  <row Id="6880" PostId="5656" Text="if you're swapping it means (well can mean) heavy IO, heavy IO kills performance." CreationDate="2011-01-11T11:13:09.427" UserId="29" />
  <row Id="6881" PostId="5656" Text="@xenoterracide disks are also cheap, and oomkiller behave strangely." CreationDate="2011-01-11T11:16:19.847" UserId="2780" />
  <row Id="6882" PostId="5656" Text="IO is not cheap. I read there are improvements too OOM killer in 2.6.37" CreationDate="2011-01-11T11:17:08.347" UserId="29" />
  <row Id="6883" PostId="5656" Text="anyways, this is a comment, because it's not really intended to be an answer to the question, simply my own opinion to an alternative way of doing things. I have 6G of ram an no need for swap." CreationDate="2011-01-11T11:18:14.943" UserId="29" />
  <row Id="6884" PostId="5656" Text="@xenoterracide I like your optimistic point of view, but I will continue to have swap partitions because I like safety nets. Just change your `swapiness` to 0." CreationDate="2011-01-11T11:20:55.850" UserId="2780" />
  <row Id="6885" PostId="5656" Text="@shellholic, didn't work as well for me. I decided I'd rather have the space than have swap at all. If it doesn't work for you that's fine." CreationDate="2011-01-11T11:24:18.883" UserId="29" />
  <row Id="6886" PostId="5622" Text="I had `hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4` and changed it to `hosts: files dns`. It's now instant. Is that kool?" CreationDate="2011-01-11T11:26:01.113" UserId="688" />
  <row Id="6887" PostId="5622" Text="Also, can you comment on my glibc note." CreationDate="2011-01-11T11:26:29.207" UserId="688" />
  <row Id="6888" PostId="5678" Text="`texcount foo.tex | tee unmodified |sed s/$/'\\\\'/ &gt; modified` puts modified and unmodified versions of the output in the two files. How do I print the unmodified version to the terminal? I tried `tee stdout` but that prints nothing..." CreationDate="2011-01-11T11:49:47.307" UserId="12" />
  <row Id="6889" PostId="5648" Score="3" Text="Yor reply looks self contradicting. You start telling SIGKILL always works but end citing the uninterruptible sleep case, where SIGKILL might never work outside shutting down the kernel. There are also two cases where SIGKILL doesn't work. With zombies obviously as you can't kill already dead processes and with init, which by design is ignoring SIGKILL signals." CreationDate="2011-01-11T12:27:21.550" UserId="2594" />
  <row Id="6890" PostId="5607" Text="Nah, 2nd option doesn't work. It expects a normal file system: `libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed`." CreationDate="2011-01-11T13:36:48.860" UserId="688" />
  <row Id="6891" PostId="5678" Score="3" Text="You can't do that, because tee sends its input to stdout and a file.  The stdout is what becomes the input to sed.  You could add `&amp;&amp; cat unmodified` at the end.  That will dump the unmodifed output to the terminal." CreationDate="2011-01-11T13:46:03.273" UserId="31" />
  <row Id="6892" PostId="5676" Score="2" Text="Which version of Fedora?" CreationDate="2011-01-11T14:28:24.127" UserId="2871" />
  <row Id="6893" PostId="5686" Text="check the question again: &quot;is it a good idea?&quot; __VS__ &quot;is it possible&quot;" CreationDate="2011-01-11T14:39:22.853" UserId="688" />
  <row Id="6894" PostId="5477" Text="@xenoterracide with the @&lt;ip&gt; option to dig, dig goes directly to &lt;ip&gt; and ignore any nameservers listed in /etc/resolv.conf" CreationDate="2011-01-11T14:40:21.243" UserId="3154" />
  <row Id="6896" PostId="5686" Text="this also means you are essentially repeating what @shellholic said" CreationDate="2011-01-11T14:43:01.910" UserId="688" />
  <row Id="6897" PostId="5477" Text="@kjetil true, and I'll raise that a `/etc/hosts` and a `/etc/nsswitch.conf`. though I don't think dig uses any of that, but it certainly will speak loads of information about what the system is doing. and where's my `dig +trace`?" CreationDate="2011-01-11T14:47:46.337" UserId="29" />
  <row Id="6898" PostId="5686" Text="@Tshepang: I was actually thinking from the point of its possibility. Its my mistake. Will edit the answer appropriately." CreationDate="2011-01-11T14:50:06.643" UserId="2871" />
  <row Id="6899" PostId="5686" Text="Before you respond, check the other answers, to ensure you don't repeat what they said." CreationDate="2011-01-11T14:54:16.093" UserId="688" />
  <row Id="6900" PostId="5603" Text="thank you, lsof is exactly what I was looking for." CreationDate="2011-01-11T15:03:46.827" UserId="3531" />
  <row Id="6901" PostId="5669" Score="1" Text="&quot;et configurationa&quot;? " CreationDate="2011-01-11T15:04:49.943" UserId="1235" />
  <row Id="6902" PostId="5686" Text="I never actually Suspend. I really wanted to know if there were other issues I wasn't thinking of." CreationDate="2011-01-11T15:42:35.313" UserId="688" />
  <row Id="6904" PostId="5690" Text="This i great, I've added `Tag: %d` to the `vc` script linked to above, and copied a line in the `awk` script that extracts the information to a TeX macro. This gives me a macro that does: `(HEAD, tag: v1.01, master)` I just need to cut this down to the `v1.01` part only...&#xA;" CreationDate="2011-01-11T16:30:33.120" UserId="12" />
  <row Id="6905" PostId="5687" Text="+1 for mention of NFS. A few years back this happened to me every couple of months-- if the NFS server crashed, NFS clients on all (patched) RHEL boxes would hang. `kill -9` usually didn't work, even after waiting 60 minutes. The only solution was to reboot." CreationDate="2011-01-11T17:02:48.280" UserId="4" />
  <row Id="6906" PostId="59" Text="@bahamat. You are stating the obvious, but it is not the problem. The problem is that the swapping is done very ineffectively, and hence creates something in the direction of the philosopher's problem. " CreationDate="2011-01-11T17:08:41.743" UserId="5" />
  <row Id="6909" PostId="5648" Score="1" Text="@jlliagre: Killing a zombie doesn't make sense, it's not alive to begin with. And killing a process in interruptible sleep *does* work, it's just (as with other signals) asynchronous. I've tried to clarify this in my edit." CreationDate="2011-01-11T20:07:45.793" UserId="885" />
  <row Id="6910" PostId="5690" Text="`/^GITTag:/ {print $4}'` prints `v1.01,` Now I just need to delete that comma!" CreationDate="2011-01-11T20:14:38.207" UserId="12" />
  <row Id="6911" PostId="5648" Text="I wrote too killing a zombie doesn't make sense but that doesn't prevent many people to try it and complain. Killing a process in interruptible sleep indeed works by design, but I was talking about killing a process in uninterruptible sleep which can fail if the system call never wake up." CreationDate="2011-01-11T21:39:36.667" UserId="2594" />
  <row Id="6912" PostId="4530" Text="Yeah, see my answer :)" CreationDate="2011-01-11T21:57:36.193" UserId="1131" />
  <row Id="6913" PostId="5702" Text="note that someone has already mentioned this; see the accepted answer" CreationDate="2011-01-11T22:13:59.670" UserId="688" />
  <row Id="6915" PostId="5690" Text="`print substr($4,1,length($4)-1)` works" CreationDate="2011-01-11T22:22:56.973" UserId="12" />
  <row Id="6916" PostId="5644" Text="Is `_quot;LIKE A G6_quot;` actually part of the file name or was this some copy and pasting error?  Also, are you saying that this series of commands work when you type them in but not when you run your script using something like `$ ./myscript.sh`?" CreationDate="2011-01-11T22:26:37.983" UserId="1207" />
  <row Id="6917" PostId="5702" Text="You are right, Gilles added that case after I wrote about it in my first comment." CreationDate="2011-01-11T22:29:48.853" UserId="2594" />
  <row Id="6918" PostId="5704" Text="Nice answer, but it's for a different question: &quot;How to rip a DVD?&quot;" CreationDate="2011-01-11T22:35:42.980" UserId="688" />
  <row Id="6919" PostId="5704" Text="You asked 'How to re-encode a DVD into a single file?' - thus you have to somehow extract/rip your DVD _disc_? Or did you mean 'How to re-encode a DVD-image file into a single file?' Then you should phrase your question different - but this would not make much sense. Btw, when I think about it - re-encoding some mpeg stuff _without losing quality_ is simply impossible." CreationDate="2011-01-11T22:45:03.270" UserId="1131" />
  <row Id="6921" PostId="5476" Text="I've clarified my question." CreationDate="2011-01-11T23:02:28.983" UserId="688" />
  <row Id="6922" PostId="5706" Score="3" Text="When something like this happens, the PID actually changes. So I would have noticed." CreationDate="2011-01-11T23:19:47.823" UserId="688" />
  <row Id="6923" PostId="5702" Text="So can you delete this one then." CreationDate="2011-01-11T23:21:03.830" UserId="688" />
  <row Id="6924" PostId="5707" Text="I'm pretty sure that means it's hosed :( :( :( ... is this your new box that you just stood up or the old one?" CreationDate="2011-01-11T23:41:44.397" UserId="3258" />
  <row Id="6925" PostId="5707" Score="1" Text="Try again with `strace`, what are the last few lines of the output?" CreationDate="2011-01-11T23:43:05.143" UserId="2179" />
  <row Id="6926" PostId="5646" Text="@Gilles thanks for the edits!" CreationDate="2011-01-12T00:33:38.577" UserId="1974" />
  <row Id="6927" PostId="5660" Text="why use that? why is it better than the standard tools?" CreationDate="2011-01-12T00:53:29.907" UserId="688" />
  <row Id="6929" PostId="11" Text="progress http://unix.stackexchange.com/questions/5565/whats-the-progress-regarding-improving-system-performance-responsiveness-during" CreationDate="2011-01-12T01:35:50.247" UserId="688" />
  <row Id="6930" PostId="621" Text="`top` also has colors. Press `z`." CreationDate="2011-01-12T01:41:43.923" UserId="688" />
  <row Id="6931" PostId="5476" Text="I've clarified my answer. :)" CreationDate="2011-01-12T01:42:27.387" UserId="138" />
  <row Id="6932" PostId="5686" Text="I think Suspend is different from Hibernation. Was that a typo? If not, I dint get your doubt." CreationDate="2011-01-12T02:22:32.983" UserId="2871" />
  <row Id="6933" PostId="5266" Text="This didn't exactly answer my question, but it solved my problem.  So, I modified the original question, which was a bit rigid.  That said, I still want to know why the monitors are ordered the way they are." CreationDate="2011-01-12T02:38:01.963" UserId="2946" />
  <row Id="6934" PostId="5713" Text="So `/../../../../..` is a valid path then? (And is equal to `/`.)" CreationDate="2011-01-12T03:09:33.727" UserId="1049" />
  <row Id="6935" PostId="5713" Text="Yes. Try it and see." CreationDate="2011-01-12T03:19:20.790" UserId="138" />
  <row Id="6936" PostId="5713" Score="4" Text="@George I believe exploits that take advantage of relative paths use that; you don't have to guess the current folder, you just do `../../../../../../../../../../../../../../../../etc/passwd`" CreationDate="2011-01-12T03:36:00.660" UserId="73" />
  <row Id="6937" PostId="5720" Text="Thanks, but can you give me a detail explanation on how are directories maintained by the file system? At least some pointers to it." CreationDate="2011-01-12T05:45:39.067" UserId="2871" />
  <row Id="6938" PostId="59" Text="@txwikinger Ok, that's swell. How about you rewrite the vm subsystem for the Linux kernel that &quot;fixes&quot; swap and submit a patch then? We'll all appreciate that." CreationDate="2011-01-12T06:10:10.017" UserId="3309" />
  <row Id="6939" PostId="5607" Score="1" Text="Why is it that you are opposed to mounting it?" CreationDate="2011-01-12T06:16:06.577" UserId="3309" />
  <row Id="6940" PostId="5622" Text="OS is: SLES 11 SP1, glibc version 2.11.1" CreationDate="2011-01-12T07:29:16.503" UserId="2327" />
  <row Id="6941" PostId="5713" Score="5" Text="What difference would that make with simply using /etc/passwd ?" CreationDate="2011-01-12T07:46:49.920" UserId="2594" />
  <row Id="6942" PostId="5702" Text="Is there a policy to close correct answers ?" CreationDate="2011-01-12T07:49:36.563" UserId="2594" />
  <row Id="6943" PostId="5707" Text="Have you run a memory test lately? (E.g. from the boot menu in SystemRescueCD, in the Ubuntu livecd, etc.)" CreationDate="2011-01-12T08:05:35.910" UserId="885" />
  <row Id="6944" PostId="5713" Score="1" Text="@jlliagre: There are programs that check whether a file is under the current directory by testing whether it begins with `/`. Between `../` (not necessarily at the beginning!) and symbolic links, it's very hard to do, especially considering the attacker may be moving directories under the program's nose." CreationDate="2011-01-12T08:08:13.490" UserId="885" />
  <row Id="6945" PostId="5717" Text="See [pgrep and pkill alternatives on mac os x?](http://unix.stackexchange.com/questions/225/pgrep-and-pkill-alternatives-on-mac-os-x). `pgrep` and `pkill` are commands to reliably find or kill processes by name under Solaris and Linux." CreationDate="2011-01-12T08:12:37.357" UserId="885" />
  <row Id="6950" PostId="5724" Text="I answered a similar question on stackoverflow: http://stackoverflow.com/questions/4479579/bash-script-only-echo-line-to-bash-profile-once-if-the-line-doesnt-yet-exist/4480671#4480671" CreationDate="2011-01-12T13:03:07.550" UserId="1078" />
  <row Id="6951" PostId="5710" Text="@Warren: +1 for good advice, including running `badblocks -n` when the drive is unmounted. (A Virtual Machine has a backup vmkd on this drive so while it's not in use, it's also not easy to umount) Turns out this may have just been a silly mistake, running `yum` to update my system caused the problem to go away." CreationDate="2011-01-12T13:23:27.697" UserId="1974" />
  <row Id="6952" PostId="5720" Score="1" Text="The problem with that question is that no two filesystems do directories the same way. In some (SysV, FFS) directories are just files, albeit with a specified organization. In ResierFS, they're part of a database, almost: http://en.wikipedia.org/wiki/ReiserFS#Design  .  That question has as many answers as there are filesystems." CreationDate="2011-01-12T14:06:15.417" UserId="732" />
  <row Id="6953" PostId="5731" Score="1" Text="Do you how many logical partitions that would be?" CreationDate="2011-01-12T14:24:50.877" UserId="2567" />
  <row Id="6954" PostId="5718" Text="@siege you should redefine kill as a `for` loop that does `kill -i` for each `i` ;)" CreationDate="2011-01-12T14:29:55.280" UserId="12" />
  <row Id="6955" PostId="5713" Score="1" Text="I see, they should at least use canonicalize_file_name or realpath." CreationDate="2011-01-12T14:37:57.713" UserId="2594" />
  <row Id="6956" PostId="5734" Text="I believe you only need GPT if the partition /boot is on is greater than 2TB.  / should be able to be larger than 2TB since the kernel mounts it rather than the bootloader." CreationDate="2011-01-12T15:16:38.663" UserId="3447" />
  <row Id="6957" PostId="5734" Text="How would the non /boot partitions be defined ?" CreationDate="2011-01-12T15:38:01.430" UserId="2594" />
  <row Id="6959" PostId="5737" Text="its also known as DSL connection" CreationDate="2011-01-12T16:08:57.900" UserId="3496" />
  <row Id="6962" PostId="5727" Text="The '!' command isn't always available in 'sh', IIRC (yeah, I know you used bash).  It might be slightly more idiomatic sh to say:&#xA;&#xA;  grep -qF &quot;$LINE&quot; file.txt || echo &quot;$LINE&quot; &gt;&gt; file.txt" CreationDate="2011-01-12T16:23:26.677" UserId="234" />
  <row Id="6964" PostId="5644" Text="FFMPEG just doesn't print anything! It's good with code! There is just problem that gui doesn't print commands to SHELL!!" CreationDate="2011-01-12T16:39:03.960" UserId="1924" />
  <row Id="6965" PostId="5670" Text="For those who don't know who Peter Salus is: http://www.amazon.com/Quarter-Century-UNIX-Peter-Salus/dp/0201547775/" CreationDate="2011-01-12T17:02:22.493" UserId="138" />
  <row Id="6966" PostId="5666" Text="Only the most impoverished category systems lack a &quot;miscellaneous&quot; category. Unix is plenty big enough to need a &quot;misc&quot; folder; they just chose a different name is all." CreationDate="2011-01-12T17:03:46.593" UserId="138" />
  <row Id="6967" PostId="5734" Text="__There was also a misunderstanding of the standard by OS implementors, notably Microsoft and Linux which erroneously map file systems with (primary) partitions instead of subdividing their own partition in slices like BSD and Solaris which was the original intended goal.__ I dint understand this. Could you please elaborate on this?" CreationDate="2011-01-12T17:12:03.407" UserId="2871" />
  <row Id="6968" PostId="5740" Score="2" Text="This is not really a unix/linux question. But here is the [VMWare documentation](http://www.vmware.com/support/v2p/index.html) for such a transfer." CreationDate="2011-01-12T17:19:58.697" UserId="281" />
  <row Id="6969" PostId="621" Score="1" Text="You're right! `top` has colors! Too bad its colors are quite useless, specially when compared to `htop` (which fades other users processes and highlights the program basename)." CreationDate="2011-01-12T18:17:27.830" UserId="474" />
  <row Id="6970" PostId="5737" Text="My NIC card is Realtek RTL8168c" CreationDate="2011-01-12T18:24:42.203" UserId="3496" />
  <row Id="6971" PostId="5743" Text="With gigabit Ethernet, this is going to be a lot slower than a midrange SSD, and I'm not sure if you could even reach the speed of a 7200rpm hard disk. Maybe with Firewire you can reach the speed of local swap. But it would be more effective to simply add RAM." CreationDate="2011-01-12T21:06:14.893" UserId="885" />
  <row Id="6972" PostId="5644" Text="@oneat: I'm sorry, but I still don't understand what you're trying to do and where things don't work the way you want. Again, the best way to get people to understand your question would be to describe what you're doing *very precisely*, with enough information so that people could try it on their machine." CreationDate="2011-01-12T21:09:46.653" UserId="885" />
  <row Id="6973" PostId="5737" Score="1" Text="The RTL8168c looks like an ordinary (Ethernet) network card. Don't you have a DSL modem (maybe called a modem-router or DSL router or something like that)? In any case it's unlikely that you would need to use modprobe, most of the time the kernel will detect the hardware and automatically load the right driver." CreationDate="2011-01-12T21:13:33.123" UserId="885" />
  <row Id="6974" PostId="5731" Text="@Johan: The format doesn't impose any limitation, but most OSes do have one. See [jlliagre's answer](http://unix.stackexchange.com/questions/5730/whats-the-limit-on-the-no-of-partitions-i-can-have/5734#5734)." CreationDate="2011-01-12T21:14:52.000" UserId="885" />
  <row Id="6975" PostId="5734" Text="@Sen: the original goal was that each OS would use a single partition, and if an OS wanted more than one filesystem, it would divide the partition into slices. But Linux (originally) and Windows use separate partitions for each filesystem." CreationDate="2011-01-12T21:17:17.897" UserId="885" />
  <row Id="6976" PostId="5729" Text="@Tok: OSX doesn't have `/proc`. And there's already a robust tool to do this out there, called `pgrep` (available natively at least on Solaris and Linux)." CreationDate="2011-01-12T21:20:46.380" UserId="885" />
  <row Id="6977" PostId="5718" Text="@SiegeX: `pgrep` is not native on OSX, you have to get it from a third party. [The previous thread on the topic](http://unix.stackexchange.com/questions/225/pgrep-and-pkill-alternatives-on-mac-os-x) has proposals and alternatives." CreationDate="2011-01-12T21:21:47.843" UserId="885" />
  <row Id="6978" PostId="5750" Text="I have 2 cores without hyperthreading. Even the turbo mode is disabled." CreationDate="2011-01-12T21:27:46.047" UserId="305" />
  <row Id="6979" PostId="5754" Text="It is single processor, dual core, underclocked by cpufreq core 2 duo (mobile edition). There is no hyperthreading (it is in P4 and i3/5/7)." CreationDate="2011-01-12T21:30:20.380" UserId="305" />
  <row Id="6980" PostId="5727" Text="@Hari: `!` wasn't in Bourne, but it is in POSIX." CreationDate="2011-01-12T21:30:39.147" UserId="885" />
  <row Id="6981" PostId="5756" Text="Indeed. I didn't wrote nobody followed the intended goal, just that two mainstream OSes didn't, at least originally. The IBM PC-AT introduced the extended partition standard which was limiting the damage. Modern OSes like those using volume managers or even better, ZFS, no more demand a one to one relationship between file systems and partitions. " CreationDate="2011-01-12T21:41:56.720" UserId="2594" />
  <row Id="6982" PostId="5754" Score="1" Text="It is worth checking if you see this on 'top' as well, or if this is a bug in 'htop'." CreationDate="2011-01-12T21:55:44.523" UserId="3613" />
  <row Id="6983" PostId="5673" Text="I guess many rootkits inserts themselves into kernel to make things simpler (no need guessing what user have and downloading MBs of patched programs). However it is still worth checking (++vote)." CreationDate="2011-01-12T22:12:45.883" UserId="305" />
  <row Id="6984" PostId="5761" Text="k3b is a graphical CD burning utility with built-in image verification and other neat features." CreationDate="2011-01-12T22:51:44.220" UserId="3613" />
  <row Id="6985" PostId="5723" Score="4" Text="This book sounds fabulous.  I sure hope somebody finds it." CreationDate="2011-01-12T23:02:48.273" UserId="1207" />
  <row Id="6986" PostId="5762" Text="[cross-posted on AskUbuntu](http://askubuntu.com/questions/21286/preventing-battery-from-charging)" CreationDate="2011-01-12T23:08:02.263" UserId="1535" />
  <row Id="6987" PostId="228" Text="I suggest you remove the `function` keyword, it's deprecated. See [this post](http://stackoverflow.com/questions/4654700/what-are-the-parentheses-used-for-in-a-bash-shell-script-function/4654730#4654730)" CreationDate="2011-01-12T23:47:49.293" UserId="1338" />
  <row Id="6988" PostId="5747" Text="Is this reported this way on top as well?  If so, what happens when you toggle between &quot;Irix mode&quot; and &quot;Solaris mode&quot; (use the I key to toggle between the two)?" CreationDate="2011-01-13T01:01:03.177" UserId="1207" />
  <row Id="6991" PostId="5747" Text="@Steven D: I'll check when it'll have next time (probably soon)." CreationDate="2011-01-13T01:46:58.520" UserId="305" />
  <row Id="6992" PostId="5753" Text="Note that Solaris branded zones which belong to the OS-level virtualization class allow to &quot;run&quot; different OS releases (eg: Solaris 10 under Solaris 11 Express, or Solaris 8 under Solaris 10) or even different OSes with the lx brand (Linux 2.4.21 kernel emulation on top of Solaris 10). Of course, there is still a single kernel but an emulation layer is providing the required translation. http://docs.sun.com/app/docs/doc/817-1592/gepea?a=view" CreationDate="2011-01-13T02:15:39.977" UserId="2594" />
  <row Id="6995" PostId="5744" Text="So is there any problem if i place the System.map out of boot folder? __bzImage doesn't really care about System.map__ Does that mean both need not lie on the same directory?" CreationDate="2011-01-13T02:43:42.183" UserId="2871" />
  <row Id="6998" PostId="5550" Text="Sorry for the slow response user3487. I just used Wireshark to have a closer look at what's going on. We turned both machines on and pointed them both to the same website. The content loaded on one and not the other. Here is the output from wireshark- (http://www.speedyshare.com/files/26228631/machine_output_1 &amp;&amp; http://www.speedyshare.com/files/26228649/machine2). As you can see the first one worked, the second one didn't." CreationDate="2011-01-13T05:46:12.420" UserId="3489" />
  <row Id="6999" PostId="5764" Score="2" Text="+1 for ArchLinux" CreationDate="2011-01-13T07:43:16.453" UserId="3198" />
  <row Id="7002" PostId="5710" Text="@Warren: Actually, the open() succeeded, as you can see from its return value of 3.  The SIGSEGV happened somewhere in the `badblocks` code, not in a syscall.  In general, you'll never get a SIGSEGV while a syscall is in progress; if anything, you'd get a kernel OOPS." CreationDate="2011-01-13T09:43:13.320" UserId="3629" />
  <row Id="7004" PostId="554" Text="What memory statistics do you want? There are lots of them." CreationDate="2011-01-13T11:33:59.183" UserId="384" />
  <row Id="7005" PostId="554" Text="Memory usage over a given time frame, current usage, maximum usage, average." CreationDate="2011-01-13T11:33:59.247" UserId="163" />
  <row Id="7006" PostId="2685" Text="So, in a sense, swap is an __in-case__ measure? That, and the __hibernate__ thing?" CreationDate="2011-01-13T11:58:07.420" UserId="688" />
  <row Id="7008" PostId="5785" Score="3" Text="A subshell is not needed. You can just do `{ somecmd ; echo ; } | someothercmd`" CreationDate="2011-01-13T12:50:02.177" UserId="1078" />
  <row Id="7009" PostId="5785" Text="Then I'll shamelessly incorporate your better solution into my answer :)" CreationDate="2011-01-13T12:56:50.577" UserId="3154" />
  <row Id="7010" PostId="5787" Text="be aware there's no need for greetings on SE: http://meta.stackoverflow.com/questions/2950/should-hi-thanks-and-taglines-and-salutations-be-removed-from-posts" CreationDate="2011-01-13T13:20:50.033" UserId="688" />
  <row Id="7011" PostId="5787" Text="ok.. Thanks.. i 've updated the question" CreationDate="2011-01-13T13:23:10.987" UserId="2871" />
  <row Id="7012" PostId="5762" Score="1" Text="Just take your battery out." CreationDate="2011-01-13T14:08:55.333" UserId="3082" />
  <row Id="7014" PostId="5462" Text="i have tried this, but i dont understand why i get a segmentation fault for all values other than 1." CreationDate="2011-01-13T15:07:56.740" UserId="2871" />
  <row Id="7015" PostId="5792" Text="I installed webmin. I am surprised how good it is. I created a user, and was able to restrict all access, except what I needed. Thanks for the tip!" CreationDate="2011-01-13T15:16:33.287" UserId="3023" />
  <row Id="7016" PostId="5794" Score="3" Text="@infoquad what? `rm` is for deleting files. `pacman` asked you to delete what file? what's the exact error message" CreationDate="2011-01-13T15:35:51.073" UserId="29" />
  <row Id="7017" PostId="5791" Text="@christian but can `sar` be focussed on just one process? mostly it seems to monitor the system as a whole" CreationDate="2011-01-13T15:38:12.100" UserId="29" />
  <row Id="7018" PostId="5795" Text="Thanks. I tried Ubuntu but it was too slow on my PC. I'm hoping I'll be able to learn linux through Arch now :) " CreationDate="2011-01-13T15:41:28.017" UserId="3496" />
  <row Id="7020" PostId="5795" Score="1" Text="I'd try Lubuntu or Crunchbang or Puppy then. Heck, even Damn Small Linux would be easier than Arch." CreationDate="2011-01-13T15:51:41.913" UserId="1071" />
  <row Id="7021" PostId="5795" Text="I saw your other question regarding a lightweight distro. It's great that you are so keen on learning. Just keep in mind that you yourself asked for the steep curve :)" CreationDate="2011-01-13T15:56:45.023" UserId="250" />
  <row Id="7022" PostId="5764" Score="2" Text="I decided that too! :) Giving it a second try right now..." CreationDate="2011-01-13T15:58:29.950" UserId="3496" />
  <row Id="7023" PostId="5773" Text="Thanks. Seems `nullmailer` does queuing in `/var` which is something I want to avoid. http://www.l3jane.net/cgi-bin/man/man2html?8+nullmailer-send . Now I got googling, so I'll expand the question with a few alternatives :)" CreationDate="2011-01-13T16:10:48.423" UserId="2881" />
  <row Id="7024" PostId="5760" Text="Sounds good, thanks for the link!" CreationDate="2011-01-13T16:16:12.043" UserId="1375" />
  <row Id="7025" PostId="5762" Text="@Keith: Ideally I'd like to be able to use the battery until it runs (almost) down, and then switch over to UPS power.  There's at least half an hour of juice in the laptop battery, but I can't really use it effectively because it ends up sucking about that much extra out of the UPS battery in order to charge after I switch over.  Of course this is only part of the solution — I still have to find an automatable way to avoid using UPS power until the battery runs down.  For now I'm just reconnecting the laptop power supply to different outlets." CreationDate="2011-01-13T16:17:45.797" UserId="1535" />
  <row Id="7026" PostId="4626" Text="Slitaz is really good! I am very amazed by the 30mb size while being fully functional (with a Web browser too)" CreationDate="2011-01-13T16:26:00.447" UserId="2130" />
  <row Id="7027" PostId="5741" Text="more info on this: http://serverfault.com/questions/1898/virtualization-for-linux-vmware-vs-virtualbox-vs-kvm-vs" CreationDate="2011-01-13T16:33:09.257" UserId="688" />
  <row Id="7028" PostId="5778" Score="4" Text="See also: [BashFAQ/082](http://mywiki.wooledge.org/BashFAQ/082)." CreationDate="2011-01-13T16:38:54.177" UserId="382" />
  <row Id="7029" PostId="5781" Score="3" Text="Some Bourne-derived shells don't recognize `source`. Dash is one example." CreationDate="2011-01-13T16:40:37.763" UserId="382" />
  <row Id="7033" PostId="5754" Score="2" Text="check in `/proc/cpuinfo` - now much CPUs do u see there.." CreationDate="2011-01-13T17:51:50.617" UserId="3653" />
  <row Id="7034" PostId="5710" Text="Indeed. Removed the speculation based on unindicated nondeterminism." CreationDate="2011-01-13T18:01:58.257" UserId="138" />
  <row Id="7035" PostId="5782" Score="2" Text="The only thing I would add, is that I call '(' a paren, not a bracket (which is '[').  " CreationDate="2011-01-13T18:09:57.433" UserId="3656" />
  <row Id="7036" PostId="5644" Score="1" Text="@oneat, I heavily edited your question.  Please make sure it accurately reflects your problem." CreationDate="2011-01-13T18:15:59.833" UserId="1207" />
  <row Id="7037" PostId="5782" Score="9" Text="You deserve all kinds of upvotes simply for managing to type so many backticks." CreationDate="2011-01-13T18:39:49.757" UserId="2376" />
  <row Id="7038" PostId="2685" Text="@Tshepang: Having enough swap to fit your virtual memory isn't “in case”, it's necessary (otherwise your programs will crash due to the lack of memory)." CreationDate="2011-01-13T19:14:33.043" UserId="885" />
  <row Id="7039" PostId="2685" Text="That's what I meant. It's *in case* you run out of memory. Oh, and before they crash, there's always oom-killer (on Linux)." CreationDate="2011-01-13T19:18:42.387" UserId="688" />
  <row Id="7040" PostId="2685" Text="@Tschepang: The OOM killer is the reason they crash. (Technically you could do without an OOM killer and just not be able to allocate anything, but that would have a good chance of locking up the system; the OOM killer makes it a little more likely for the admin to be able to log in and for the important processes to keep running.)" CreationDate="2011-01-13T19:21:02.367" UserId="885" />
  <row Id="7041" PostId="5789" Score="2" Text="@Sen: When you post a forum link like this, please also post a short summary, so that people immediately what your answer is about, and in case the forum goes away or changes its URLs." CreationDate="2011-01-13T20:16:08.030" UserId="885" />
  <row Id="7042" PostId="5782" Text="@Jefromi: ...and, he got them.  :)" CreationDate="2011-01-13T20:16:37.793" UserId="3629" />
  <row Id="7043" PostId="5782" Text="@Kendall: and here I thought '{' was the left bracket for all those years..." CreationDate="2011-01-13T20:32:13.200" UserId="1820" />
  <row Id="7044" PostId="5774" Text="See also an [rsync filter tutorial](http://unix.stackexchange.com/questions/2161/rsync-filter-copying-one-pattern-only/2503#2503)." CreationDate="2011-01-13T20:35:58.120" UserId="885" />
  <row Id="7045" PostId="5065" Text="Isn't it hard to click the cancel button if the dialog is shaking?" CreationDate="2011-01-13T20:37:25.567" UserId="1820" />
  <row Id="7046" PostId="5747" Score="1" Text="`cat /proc/cpuinfo &gt; /dev/unix.SE`" CreationDate="2011-01-13T20:41:50.387" UserId="1820" />
  <row Id="7047" PostId="5778" Score="7" Text="For a second there I thought this was a jQuery question." CreationDate="2011-01-13T20:42:03.593" UserId="3702" />
  <row Id="7048" PostId="5065" Text="@SamB: The dialog shakes slowly and by less than half the width of the cancel button, so no, if I aim for the middle it's easy." CreationDate="2011-01-13T20:47:19.010" UserId="1974" />
  <row Id="7051" PostId="5811" Score="3" Text="Maybe you wanna split this question into two, one more generic, and one more specific: *How do you choose which monitoring application to use?* __VS__ *What are the differences between Munin and Collectd?*." CreationDate="2011-01-13T21:17:05.890" UserId="688" />
  <row Id="7053" PostId="5782" Text="@Sam: `{ }` is usually called &quot;curly brackets&quot; or &quot;braces&quot; http://en.wikipedia.org/wiki/Braces_(punctuation)#Braces" CreationDate="2011-01-13T21:35:41.797" UserId="3719" />
  <row Id="7054" PostId="3972" Text="OTOH if there is a big sub-sub-directory its bloat will show multiple time (for that dir and each parent dir) at the top of the results, and IMHO that distracts from the true bloat. Using &quot;ncdu&quot; suggested below could help with that, I'm gonna try it. =)" CreationDate="2011-01-13T21:39:31.313" UserId="3584" />
  <row Id="7055" PostId="5787" Text="Do you want to manually sync it (ie, like Gille's answer) or do you want a solution that will sync automatically anytime a change is made?  I don't recommend this, but it is possible." CreationDate="2011-01-13T21:51:11.023" UserId="1207" />
  <row Id="7057" PostId="59" Text="@bahamat: Well, I believe that had been done, but the changes have not been accepted by the kernel team. Anyway, I think we are digressing here." CreationDate="2011-01-13T21:57:48.960" UserId="5" />
  <row Id="7061" PostId="32" Text="I use this all the time. I constantly forget to type sudo before editing my hosts file. If that happens I just run sudo !!. +1" CreationDate="2011-01-13T22:16:28.470" UserId="3720" />
  <row Id="7062" PostId="5791" Text="The `pidstat` command also from the sysstat package provides a fairly nice interface for reporting statistics on single process." CreationDate="2011-01-13T22:21:57.920" UserId="1207" />
  <row Id="7063" PostId="5817" Score="2" Text="@Andrew: Please don't post just links to blogs or forums, summarize their contents so that readers can see what they're about, and to have something left if the sites disappear. Also, your first link is about libc, which is off-topic for this question." CreationDate="2011-01-13T22:24:52.827" UserId="885" />
  <row Id="7064" PostId="5138" Text="@Beavor or take a screencap with a digital camera." CreationDate="2011-01-13T22:58:42.783" UserId="1974" />
  <row Id="7065" PostId="4617" Text="atop also keeps historical data as well, if you like: then you can step through atop screens and watch what happened in the past." CreationDate="2011-01-13T23:33:01.503" UserId="3739" />
  <row Id="7066" PostId="5829" Text="[ https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide ]" CreationDate="2011-01-13T23:52:59.303" UserId="3731" />
  <row Id="7068" PostId="5820" Text="Fantastic article!" CreationDate="2011-01-13T23:55:01.983" UserId="3739" />
  <row Id="7069" PostId="5541" Score="2" Text="@badp: Removing `ubuntu-desktop` is a minor annoyance at most. But you don't have to remove the Network Manager package, just prevent it from loading." CreationDate="2011-01-13T23:55:14.463" UserId="885" />
  <row Id="7071" PostId="5827" Score="1" Text="I'm pretty sure none of this answered his question; pacman told him to remove `/var/lib/pacman/db.lck` and he doesn't know how -- he's looking for `rm /var/lib/pacman/db.lck`" CreationDate="2011-01-14T00:03:39.337" UserId="73" />
  <row Id="7072" PostId="5820" Text="Nice Article, but still relies on uptime, which is getting skewed from when he put the computer to sleep. But since it is using the same seconds.nanoseconds not sure if it would be subject to the same time difference" CreationDate="2011-01-14T00:10:08.767" UserId="3724" />
  <row Id="7073" PostId="5805" Text="@Gilles: Thanks for the input!  I think I've got it working better now.  Tried bash 4.1.5 in gnome-terminal and xterm, and bash 3.2.48 in OSX Terminal." CreationDate="2011-01-14T00:12:42.420" UserId="3629" />
  <row Id="7074" PostId="5827" Text="Agreed. `# rm /var/lib/pacman/db.lck` Got caught up in the why rather than how. *..sips coffee*" CreationDate="2011-01-14T00:15:40.470" UserId="3731" />
  <row Id="7076" PostId="5747" Text="@Steven D: I was able to reproduce extra ~15% in Irix mode (adding 2 processes - it seems still a bit too much for rounding errors). I was not able to reproduce it in Solaris mode so far." CreationDate="2011-01-14T02:53:59.833" UserId="305" />
  <row Id="7077" PostId="5782" Text="I also refer to '{' as curly braces.  Though it seems odd you need to add the qualifier &quot;curly&quot; if you call the other things brackets... I guess it's just because they actually curl." CreationDate="2011-01-14T04:23:53.923" UserId="3656" />
  <row Id="7078" PostId="5820" Text="He would have to account for the time the system slept in the calculation. There is no better way." CreationDate="2011-01-14T04:50:58.947" UserId="3613" />
  <row Id="7079" PostId="5809" Text="Thanks. Yes, I want to avoid `var` to keep the disk idle. You are right about `tmpfs` of course, but I'd like to keep it as simple as possible..." CreationDate="2011-01-14T05:36:48.913" UserId="2881" />
  <row Id="7080" PostId="5812" Text="I'll need the authentication. Plain could work, but StartTLS would probably be nice. But installing postfix seems like it would be massive overkill?!" CreationDate="2011-01-14T05:41:45.210" UserId="2881" />
  <row Id="7081" PostId="5787" Text="@Seven: If it is possible to do it automatically i would also like to know that." CreationDate="2011-01-14T05:55:53.273" UserId="2871" />
  <row Id="7082" PostId="5791" Text="@xenoterracide Steven D had the answer. I wasn't aware of this command before." CreationDate="2011-01-14T07:10:49.587" UserId="2327" />
  <row Id="7083" PostId="5772" Text="added another command which was mentioned in another question." CreationDate="2011-01-14T07:13:32.377" UserId="2327" />
  <row Id="7084" PostId="5795" Text="@phunehehe- Thanks for the encouragement!! :) pacman &#xA;worked after deleting the file it asked to delete. Issues are still coming up but at least I'm progressing!! :D" CreationDate="2011-01-14T07:18:42.040" UserId="3496" />
  <row Id="7085" PostId="5840" Text="typo: Zentyal :)" CreationDate="2011-01-14T07:19:12.550" UserId="250" />
  <row Id="7086" PostId="5785" Text="Thanks. Can you explain what this does { somecmd ; echo ; } . I understand how the subshell worked. Where should I read about this?" CreationDate="2011-01-14T07:34:38.080" UserId="2832" />
  <row Id="7087" PostId="5830" Text="Would my question be more appropriate for server fault? I.e. should it be moved or marked off topic?" CreationDate="2011-01-14T07:46:52.427" UserId="2072" />
  <row Id="7088" PostId="5744" Text="I tried to clarify the answer." CreationDate="2011-01-14T08:01:07.467" UserId="3069" />
  <row Id="7089" PostId="5839" Score="1" Text="From wikipedia: In the 1960s, Massachusetts Institute of Technology, AT&amp;T Bell Labs, and General Electric developed an experimental operating system called Multics for the GE-645 mainframe.[2] Multics was highly innovative, but had many problems.. In the 1970s Brian Kernighan coined the project name Unics as a play on Multics, (Multiplexing Information and Computer Services). Unics could eventually support multiple simultaneous users, and it was renamed Unix." CreationDate="2011-01-14T08:08:11.823" UserId="3372" />
  <row Id="7090" PostId="5744" Text="Thanks wag.. i understood it well.." CreationDate="2011-01-14T08:24:31.987" UserId="2871" />
  <row Id="7091" PostId="5835" Text="+1, that's the right way" CreationDate="2011-01-14T08:25:57.353" UserId="3769" />
  <row Id="7092" PostId="5248" Text="I'm sorry I haven't been able to get back to this question. I stopped using Windows already, so I want to switch completely to ext4 and I'm afraid that would mess up file permissions when I multiboot several Linux distributions." CreationDate="2011-01-14T08:35:50.767" UserId="250" />
  <row Id="7093" PostId="5245" Text="Sorry for the confusion, please see my update." CreationDate="2011-01-14T08:41:19.203" UserId="250" />
  <row Id="7095" PostId="1022" Text="How about screen + buobu?: https://launchpad.net/byobu, and maybe http://kmandla.wordpress.com/2010/01/03/byobu-a-shortcut-to-a-prettier-screen/ for screenshots" CreationDate="2011-01-14T08:44:53.533" UserId="2881" />
  <row Id="7096" PostId="5844" Text="As http://lxr.linux.no/#linux+v2.6.37/Documentation/filesystems/ntfs.txt states, the biggest limitation is that creating or removing files/directories is not supported." CreationDate="2011-01-14T09:10:15.353" UserId="3069" />
  <row Id="7097" PostId="3361" Score="1" Text="Just a note: on Ubuntu I've had lots of problems with dotdeb, and would never run it in production. But that's just on Ubuntu, might work flawlessly on Debian" CreationDate="2011-01-14T09:36:40.173" UserId="3775" />
  <row Id="7098" PostId="5848" Text="That works great, but of course now I can't seem to run this via ssh / command line `ssh -t -i ~/.ssh/id_dsa server_user@server_address screen -r minecraft -X stuff &quot;even other_server_name is getting in on the action! $(echo -ne '\r')&quot;`  I'm really not good with unix, unfortunately :/" CreationDate="2011-01-14T10:39:39.380" UserId="3778" />
  <row Id="7099" PostId="5785" Text="If you're wondering about the { list; } form, see the &quot;Compound Commands&quot; section of the manual page for bash. It executes a command-list in the current shell environment. The reason we use echo at the end is just to append a newline, by default echo emits a trailing newline. The reason we use the { list; } form has to do with the way bash parses and sets up redirections/pipes. somecmd; echo | someothercmd, will just connect a pipe between echo and someothercmd. With the compound command, the entire command list will have it's stdout connected with a pipe to someothercmd." CreationDate="2011-01-14T10:43:19.373" UserId="3154" />
  <row Id="7100" PostId="5782" Text="@Jefromi I was going to say, backticks are easy to type on a UK keyboard. But then I checked where they are on a US keyboard, and it's the same. Top left with no shift. So I don't get it." CreationDate="2011-01-14T10:53:45.023" UserId="3781" />
  <row Id="7101" PostId="5839" Score="1" Text="Multics may have initially been experimental, but it lasted quite a while. I learnt to program in FORTRAN 77 on a Honeywell Multics machine in 1987." CreationDate="2011-01-14T11:35:14.330" UserId="3783" />
  <row Id="7102" PostId="5844" Text="so that flag `CONFIG_NTFS_RW` is just a placeholder?" CreationDate="2011-01-14T13:01:28.830" UserId="250" />
  <row Id="7103" PostId="5794" Text="*wonders why this is now +1, as far as questions go this is pretty bad*" CreationDate="2011-01-14T13:18:45.060" UserId="29" />
  <row Id="7106" PostId="5850" Score="3" Text="Could you post `cat /var/log/Xorg.0.log | grep EE` and `cat /var/log/Xorg.0.log | grep WW`.  That would tell us why Xorg isn't working." CreationDate="2011-01-14T13:38:04.760" UserId="3447" />
  <row Id="7108" PostId="5850" Text="Umm.. how do I post these files from the linux console? I don't really know how to access this webpage from arch." CreationDate="2011-01-14T14:07:33.767" UserId="3496" />
  <row Id="7109" PostId="5827" Text="That's it! Thanks" CreationDate="2011-01-14T14:09:29.100" UserId="3496" />
  <row Id="7110" PostId="5850" Score="5" Text="Oh good point.  You could use a tool like `wgetpaste`.  You can use it like this `cat /var/log/Xorg.0.log | grep EE | wgetpaste`  Then it should give you a url to Pastebin.com and you can access that from a computer with a working GUI." CreationDate="2011-01-14T14:26:16.997" UserId="3447" />
  <row Id="7111" PostId="5852" Text="What are the permissions on the file? Can you paste the output of `ls -l`?" CreationDate="2011-01-14T14:40:32.480" UserId="3635" />
  <row Id="7112" PostId="5852" Text="-rwxr-xr-x  1 root root 431 Jan  7 19:42 sender.py&#xA;" CreationDate="2011-01-14T14:45:18.073" UserId="3798" />
  <row Id="7114" PostId="5854" Text="thanks for your reply. I will check and let you know the result. " CreationDate="2011-01-14T09:30:24.530" />
  <row Id="7115" PostId="1225" Text="If this is going to be a long term solution i wouldnt recommend running this though at I would create a function in the script which would work out whether it needs to run" CreationDate="2011-01-14T15:01:22.607" UserId="3784" />
  <row Id="7116" PostId="5782" Text="@slim: I meant typing so many within the SE engine's inline code blocks." CreationDate="2011-01-14T15:13:20.967" UserId="2376" />
  <row Id="7117" PostId="5771" Score="2" Text="Oops -- possible dupe of this question: http://unix.stackexchange.com/questions/1449/lightweight-outgoing-smtp-server" CreationDate="2011-01-14T15:16:32.353" UserId="2881" />
  <row Id="7120" PostId="5857" Text="thanks for the reply, as recommended by you i tried running the script as ashtanga, first like this: /home/custom-django-apps/SiteMonitor/sender.py , and then with a python in front of the directory, and both times were succesfull, but cron still cant run it " CreationDate="2011-01-14T16:11:14.427" UserId="3798" />
  <row Id="7121" PostId="5844" Text="No, the ntfs driver has write support, but only limited. See the ntfs.txt file." CreationDate="2011-01-14T16:19:53.270" UserId="3069" />
  <row Id="7122" PostId="5857" Text="try changing your cron to: `*/5 * * * *  ls -ltr /home/custom-django-projects/SiteMonitor/sender.py 2&gt;&amp;1 &gt; /tmp/test.log` and see what it prints in the log&#xA;" CreationDate="2011-01-14T16:33:44.763" UserId="872" />
  <row Id="7123" PostId="5852" Score="1" Text="@paulo what's `readlink -f sender.py` output." CreationDate="2011-01-14T16:36:14.403" UserId="29" />
  <row Id="7124" PostId="5830" Text="Well, it depends. If you intend to monitor OS other then Linux/Unix yes. If you have especific doubts about *nix, so this should be the place. But, at least search Server Fault. Since it's running for some time, you'll find lot's of good stuff over there." CreationDate="2011-01-14T16:40:32.003" UserId="3745" />
  <row Id="7125" PostId="5723" Text="Have you tried searching for unix books with black color on images.google.com or books.google.com with a defined time range?" CreationDate="2011-01-14T16:46:03.980" UserId="3069" />
  <row Id="7127" PostId="5852" Text="@ xenoterracide i ran it from root and this was the output /home/custom-django-apps/SiteMonitor/sender.py" CreationDate="2011-01-14T17:06:37.943" UserId="3798" />
  <row Id="7128" PostId="5857" Text="nothin in the logs, all i got was a mail from cron with the following error ls: /home/custom-django-projects/SiteMonitor/sender.py: No such file or directory" CreationDate="2011-01-14T17:10:42.867" UserId="3798" />
  <row Id="7129" PostId="5859" Text="i tried exporting the SHELL variable and changing it to /bin/sh and then ran the script from the user ashtanga, and it didn't throw an error" CreationDate="2011-01-14T17:16:12.927" UserId="3798" />
  <row Id="7130" PostId="5867" Score="1" Text="-1 This doesn't work. It should open up the file for editing, not open up stdin." CreationDate="2011-01-14T17:31:12.600" UserId="872" />
  <row Id="7131" PostId="5865" Text="This will try to open all the 'somefile.txt' " CreationDate="2011-01-14T17:31:16.703" UserId="2832" />
  <row Id="7132" PostId="5865" Text="that's what is required. We need to open the file found for editing." CreationDate="2011-01-14T17:31:57.090" UserId="872" />
  <row Id="7133" PostId="5865" Score="1" Text="ok. If that is what is needed, then &#xA;find -name somefile.txt | xargs vim" CreationDate="2011-01-14T17:37:57.727" UserId="2832" />
  <row Id="7134" PostId="5846" Text="Really cool utility. :)" CreationDate="2011-01-14T17:43:10.330" UserId="2832" />
  <row Id="7135" PostId="5865" Text="No, that doesn't work properly and might even mess up your terminal! You can't pipe to xargs vim, because vim expects input to come from an interactive terminal." CreationDate="2011-01-14T17:43:27.570" UserId="872" />
  <row Id="7136" PostId="5855" Text="Hey, I already set up an ADSL connection so thanks :)" CreationDate="2011-01-14T17:50:58.527" UserId="3496" />
  <row Id="7137" PostId="5870" Text="Thanks a lot.  Just for my edification, can point me at a man page, help, or web page, that documents this?  I couldn't get Google to point me at anything useful while trying to search for this." CreationDate="2011-01-14T17:55:45.020" UserId="1209" />
  <row Id="7138" PostId="5723" Text="I've been searching for unix books with black covers from 1975-1985, but it is hard to figure out whether the example he mentions is in the book." CreationDate="2011-01-14T17:57:45.143" UserId="1207" />
  <row Id="7139" PostId="5870" Score="1" Text="Google &quot;process substitution&quot;. e.g. http://www.tldp.org/LDP/abs/html/abs-guide.html#PROCESS-SUB" CreationDate="2011-01-14T17:59:41.587" UserId="872" />
  <row Id="7140" PostId="5859" Text="Did you try logging in as ashtanga running this command  /bin/sh /home/custom-django-projects/SiteMonitor/sender.py  ?  " CreationDate="2011-01-14T18:06:13.913" UserId="3804" />
  <row Id="7141" PostId="5870" Text="It should be noted that the &lt;() substitution uses file descriptors and on some operating systems will transparently create &amp; use temporary files." CreationDate="2011-01-14T18:21:05.190" UserId="3613" />
  <row Id="7142" PostId="5874" Text="This wont work, because there is the line numbers in the output of my command. Is there some substring command wherewith I could split the lines after the line number?" CreationDate="2011-01-14T18:56:31.370" UserId="3812" />
  <row Id="7143" PostId="5874" Score="1" Text="@Roland add cut -f2 -d' ' to the pipeline right before the suggested xargs" CreationDate="2011-01-14T18:59:53.350" UserId="2180" />
  <row Id="7144" PostId="5874" Text="try xargs -n1 rm -f" CreationDate="2011-01-14T19:00:42.377" UserId="3804" />
  <row Id="7145" PostId="5874" Text="Thanks for both of your. Luis solution worked. Now I get the full list with this funny command: find . -print | grep php | xargs grep 'eval' -sl | xargs wc -l | grep ' [1-2][0-9] ' | xargs -n1 | grep 'php'&#xA;" CreationDate="2011-01-14T19:05:59.190" UserId="3812" />
  <row Id="7146" PostId="5248" Text="@phunehehe: The three solutions I give work with ext4." CreationDate="2011-01-14T19:30:54.120" UserId="885" />
  <row Id="7147" PostId="5859" Text="thanks, i just tried it and yes it gave me the same error, what do can i do so that it finds it  " CreationDate="2011-01-14T20:09:38.890" UserId="3798" />
  <row Id="7148" PostId="5852" Score="1" Text="wow, i just noticed that i was trying to access the wrong directory by looking at the output from readlink -f sender.py and the error message, it now works !!,  thanks a lot guys for taking the time to help, i really appreciate it :D  " CreationDate="2011-01-14T20:32:24.587" UserId="3798" />
  <row Id="7149" PostId="5867" Text="You can't save the file (unless you know the original file name)." CreationDate="2011-01-14T20:35:30.077" UserId="1165" />
  <row Id="7150" PostId="5868" Text="i agree with loeser&#xD;&#xA;&#xD;&#xA;thats the only book even i could find" CreationDate="2011-01-14T20:47:31.543" UserId="3815" />
  <row Id="7151" PostId="3247" Text="If we were to answer this question, would we be doing your homework for you?&#xD;&#xA;" CreationDate="2011-01-14T20:56:28.600" />
  <row Id="7152" PostId="3247" Text="no, its not for homework, I graduated a long time ago, look at my profile page and my webpage link to check that out." CreationDate="2011-01-14T20:56:28.647" UserId="1325" />
  <row Id="7153" PostId="3748" Text="If you just want to run the last command, Up/Enter is fine, but if you want to add to it in some way (say, you forgot to `sudo`, or something), then you can do `sudo !!`, for example. That might be a bit faster than &quot;Up/Ctrl-A(or Home, if you are lucky enough)/sudo/space/enter&quot;. YMMV. :)" CreationDate="2011-01-14T20:57:04.057" />
  <row Id="7154" PostId="3196" Score="2" Text="The answers to your questions could have been got with some Google searching. You would get much better answers if you were to ask direct, &quot;to the point&quot;, specific questions. And what's compounding the problem is that you don't seem to want to help yourself. Please do a bit of research before you ask a question especially, when it is general in nature." CreationDate="2011-01-14T20:57:46.583" UserId="2212" />
  <row Id="7155" PostId="2359" Text="here is a correct link for plymouth http://cgit.freedesktop.org/plymouth/" CreationDate="2011-01-14T21:00:30.590" UserId="1132" />
  <row Id="7156" PostId="452" Text="Once I installed the gnome-control-center through the &quot;Install/Remove Software&quot; option in the &quot;System&quot; menu, I can now change my screen resolution.  Thank You!!!!" CreationDate="2011-01-14T21:00:50.420" UserId="3163" />
  <row Id="7157" PostId="1643" Text="@xenoterracide, thank you for your answer. The problem was I was in Gnome environment in openSUSE 11.3. After I installed kdebase4-workspace package, I could run systemsettings, and change the theme.&#xD;&#xA;&#xD;&#xA;-Joon" CreationDate="2011-01-14T21:01:08.797" UserId="2581" />
  <row Id="7158" PostId="2609" Text="above explains all but still *you can ask here* ;) " CreationDate="2011-01-14T21:01:58.577" UserId="2117" />
  <row Id="7159" PostId="4982" Text="Duplicate here? http://unix.stackexchange.com/questions/4903/how-to-install-kvm-in-debian-lenny-over-powerpc" CreationDate="2011-01-14T21:02:17.030" UserId="2292" />
  <row Id="7160" PostId="4982" Text="clearly not. This one is about nested virtualization." CreationDate="2011-01-14T21:02:17.140" UserId="3158" />
  <row Id="7162" PostId="5782" Text="@Kendall, i think this would be a question for english.SE, anyway to avoid further confusion lets refer to them as `( )`." CreationDate="2011-01-14T21:20:11.703" UserId="3069" />
  <row Id="7163" PostId="5870" Text="@Zoredache: Simply search for `&lt;(` in the bash manual (it's under “process substitution”)." CreationDate="2011-01-14T22:23:39.057" UserId="885" />
  <row Id="7164" PostId="5870" Text="@ewindisch, if a tool transparently creates a tempfile that is fine, I just didn't want to manually create one, when I was pretty sure I didn't need to." CreationDate="2011-01-14T22:26:02.177" UserId="1209" />
  <row Id="7165" PostId="5856" Text="And if you don't want to modify the file, just drop the `-i` to use perl as a filter." CreationDate="2011-01-14T22:31:18.113" UserId="885" />
  <row Id="7166" PostId="5851" Text="I don't know how you're getting that `^E` (what `Ctrl+0 Ctrl+3` do depend on your terminal emulator and keyboard layout). Character 3 would be `Ctrl+V Ctrl+C`." CreationDate="2011-01-14T22:32:32.077" UserId="885" />
  <row Id="7167" PostId="5771" Text="I closed as a duplicate, but I don't think it can be cleanly merged; most of these answers reference the question in ways that won't make sense on the other post" CreationDate="2011-01-14T22:39:15.490" UserId="73" />
  <row Id="7168" PostId="5868" Text="As in http://www.admin.com/ . The first edition was in 1988 (?) though." CreationDate="2011-01-14T22:57:38.607" UserId="885" />
  <row Id="7171" PostId="5890" Text="@Gilles: Good point, I've added that to the answer." CreationDate="2011-01-15T00:12:00.800" UserId="481" />
  <row Id="7172" PostId="5889" Text="@Gilles Thanks, it isn't too frequent that I learn something new about Unix tools :-) That is awesome.  Also, now reading the *find* documentation, one should really use -execdir instead." CreationDate="2011-01-15T00:12:36.483" UserId="3613" />
  <row Id="7173" PostId="5859" Text="If the permissions were the problem, the error would be `Permission denied`, even if it was some intermediate directory that was unreadable." CreationDate="2011-01-15T00:13:10.493" UserId="885" />
  <row Id="7177" PostId="5782" Text="How about we just call them Curlers (assuming you meant curly braces in that weird paren set you had in your comment)?" CreationDate="2011-01-15T02:56:52.133" UserId="3656" />
  <row Id="7178" PostId="5887" Text="So you did not unplug the original drive on the HP Z800 and now have 2 hard drives there?" CreationDate="2011-01-15T03:32:48.323" UserId="250" />
  <row Id="7179" PostId="5850" Text="Or save the output to a file and open it with a working installation, or take a photo and type the text back :)" CreationDate="2011-01-15T03:37:48.583" UserId="250" />
  <row Id="7180" PostId="5883" Text="i tried it but it does not fully open man, as in only the logo of the program shows up and the program does not open.. where as if i type the same thing on the terminal, the program gets started without any problems what so ever" CreationDate="2011-01-15T03:54:32.870" UserId="3815" />
  <row Id="7181" PostId="5877" Text="It would also be nice to add openrc, from Gentoo, to the comparison. " CreationDate="2011-01-15T04:28:54.850" UserId="3082" />
  <row Id="7182" PostId="5890" Text="&quot;use X instead of x which only adds the bits to directories or files which already have the executable bit set for some user&quot; - Thanks! I've missed this thing a lot!" CreationDate="2011-01-15T04:51:38.677" UserId="2119" />
  <row Id="7183" PostId="5897" Text="Is that a one-liner? Did I miss something?" CreationDate="2011-01-15T05:26:58.037" UserId="250" />
  <row Id="7184" PostId="5897" Text="As a one-liner for the pwd: pushd $(pwd) &gt;/dev/null; OIFS=$IFS; IFS=&quot;/&quot;; for dir in $(pwd); do stat -c &quot;$(pwd) %A&quot; .; cd ..; done; IFS=$OIFS; popd &gt;/dev/null" CreationDate="2011-01-15T05:33:58.717" UserId="3613" />
  <row Id="7185" PostId="5900" Score="1" Text="You can also reduce the calls to `grep` to 1." CreationDate="2011-01-15T05:40:16.727" UserId="1207" />
  <row Id="7186" PostId="5900" Text="@Steven D: that's right. I'm in the process of testing an edit that does that. I'll add it to the answer." CreationDate="2011-01-15T05:43:46.207" UserId="1078" />
  <row Id="7187" PostId="5883" Text="@john Right click on that launcher, and on __Type__ drop-down, select __Application in Terminal__. That way you'll get to see whatever error messages you get from the Terminal." CreationDate="2011-01-15T06:48:28.683" UserId="688" />
  <row Id="7188" PostId="5880" Score="4" Text="-1 for linking without putting any content back here. I don't care if you copy/paste blockquote but we shouldn't have to following through for a summary." CreationDate="2011-01-15T08:07:20.007" UserId="29" />
  <row Id="7189" PostId="5850" Text="wgetpaste isn't working. Download just stalls. Are there any alternatives?" CreationDate="2011-01-15T09:00:45.573" UserId="3496" />
  <row Id="7190" PostId="5649" Text="&quot;And Solaris doesn't even have /usr/local pre-created!&quot; Why would it ? This directory violates the SVR4 file system standard. &quot;man filesystem&quot; for details." CreationDate="2011-01-15T09:30:53.957" UserId="2594" />
  <row Id="7191" PostId="5904" Text="Well.. there's only one page in http://example.com :)" CreationDate="2011-01-15T09:57:47.920" UserId="3069" />
  <row Id="7200" PostId="5907" Text="Can you show the output from `getacl /opt/path` before you run anything, and then afterwards too?  Plus the output of `ls -ld /opt/path` both before and after too.  That way, there's a chance we'll see what's changed.  What was the UID of myUser?" CreationDate="2011-01-15T00:35:06.130" />
  <row Id="7202" PostId="5907" Text="@Jonathan the UID was 101 of the user, I am not sure if that is coincidental" CreationDate="2011-01-15T00:41:14.883" UserId="3828" />
  <row Id="7203" PostId="5908" Text="root:sys as owner:group" CreationDate="2011-01-15T00:15:45.433" UserId="3828" />
  <row Id="7204" PostId="5909" Text="Yeah, I just noticed, but if the missing space was a problem, I think there would be an error from `setacl`, or it would do nothing." CreationDate="2011-01-15T00:22:41.487" UserId="885" />
  <row Id="7205" PostId="5909" Text="Yeah - I think we can treat it as a transcription error.  On a HP-UX machine, running `$setacl -d user:101$PWD` generated `unknown user-id &quot;101/u/jleffler&quot;`.  So, technically an accurate answer, but not really the help the question needed.&#xA;" CreationDate="2011-01-15T00:28:34.540" />
  <row Id="7206" PostId="5909" Text="Oops typo on my part." CreationDate="2011-01-15T00:28:36.897" UserId="3828" />
  <row Id="7208" PostId="5904" Text="This isn't a bug, I can recursively download other pages. Run `wget -d -r http://tshepang.net` to see debugging results, maybe your site blocks all those requests or does not accept the wget user agent." CreationDate="2011-01-15T10:22:54.173" UserId="3069" />
  <row Id="7210" PostId="5914" Text="that doesn't work; I still get the same problem" CreationDate="2011-01-15T10:46:38.980" UserId="688" />
  <row Id="7211" PostId="5896" Text="fdisk is straightforward indeed, but it only gave me the choice of creating a slice (I'm running it off FreeBSD CD), so I don't remember seeing the term extended and logical there, but I'll check back anyways. Thanks" CreationDate="2011-01-15T11:45:09.943" UserId="3831" />
  <row Id="7212" PostId="5904" Score="1" Text="It seems like all the redirection caused `wget` to interrupt the request. Try with --no-cookies." CreationDate="2011-01-15T11:49:50.067" UserId="3069" />
  <row Id="7213" PostId="5915" Text="aren't those guys talking about a specific machine?" CreationDate="2011-01-15T11:57:52.673" UserId="688" />
  <row Id="7215" PostId="5915" Text="@tshepang well if you keep clicking up, in the article you'll reach [Basic Introduction to UNIX/linux](http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/basic/basic.html). So I'd say no, they're not talking about a specific machine" CreationDate="2011-01-15T12:08:25.677" UserId="29" />
  <row Id="7216" PostId="5915" Score="2" Text="@xeno Yeah, I did, but didn't stick around long enough. In that case, that page must be taken down. So misleading." CreationDate="2011-01-15T12:10:22.853" UserId="688" />
  <row Id="7217" PostId="5915" Text="@whoami How did you reach that link?" CreationDate="2011-01-15T12:10:40.513" UserId="688" />
  <row Id="7220" PostId="5915" Text="Here is the google query `bin vs /usr/bin`" CreationDate="2011-01-15T12:15:23.640" UserId="3368" />
  <row Id="7224" PostId="5900" Text="This isn't actually working, I'll play around with it.  The first section works but the piece contained in the single-quotes doesn't, even if I replace 'BREAK-IN...Illegal' with 'Jan'" CreationDate="2011-01-15T12:41:50.533" UserId="451" />
  <row Id="7227" PostId="5916" Text="So does it mean that I can share /usr/bin between two distros? like ubuntu 10.04 and 10.10?" CreationDate="2011-01-15T12:48:15.643" UserId="2832" />
  <row Id="7228" PostId="5876" Text="My solution does exactly the same but why is it down voted?" CreationDate="2011-01-15T12:51:10.243" UserId="2832" />
  <row Id="7229" PostId="5900" Text="This works `grep -E &quot;$(date &quot;+^%b %e&quot;)&quot;.*&quot;(BREAK-IN|Invalid user|Failed|refused|su|Illegal)&quot; /var/log/auth.log`" CreationDate="2011-01-15T13:03:47.807" UserId="451" />
  <row Id="7231" PostId="5900" Text="@Griffo: The `.*` should definitely be quoted. What system and shell are you using?" CreationDate="2011-01-15T13:05:28.787" UserId="1078" />
  <row Id="7232" PostId="5916" Score="1" Text="@balki no, they still have to be linked correctly, which means they'd have to be using the right version of the libs they are built against." CreationDate="2011-01-15T13:07:57.207" UserId="29" />
  <row Id="7235" PostId="5900" Text="I'm using Ubuntu and bash.  I just ran the command with the date of Jan 1st and Jan 15th.  This command works from command line `grep -E &quot;$(date '+^%b %e')&quot;.*'(BREAK-IN|Invalid user|Failed|refused|su|Illegal)' /var/log/auth.log` and this works as an alias `alias auth=&quot;grep -E \&quot;$(date '+^%b %e')\&quot;.*'(BREAK-IN|Invalid user|Failed|refused|su|Illegal)' /var/log/auth.log&quot;`" CreationDate="2011-01-15T13:25:17.343" UserId="451" />
  <row Id="7236" PostId="5880" Score="1" Text="-1 for making me read the whole thing, which doesn't answer my question" CreationDate="2011-01-15T13:51:09.623" UserId="688" />
  <row Id="7239" PostId="5173" Text="Though dated, that's a nice link." CreationDate="2011-01-15T14:46:08.117" UserId="688" />
  <row Id="7240" PostId="5915" Score="1" Text="That document can be considered 'historical reference'.  If you look at the &quot;about this document&quot; page, you will see that it was copyrighted originally in 1993.  If you look at the bibliography, it's most recent source is 1997.  Most of the popular unix-like operating systems have changed substantially since then.  " CreationDate="2011-01-15T15:02:57.487" UserId="298" />
  <row Id="7241" PostId="5904" Text="@wag pls help me clean this up" CreationDate="2011-01-15T15:16:04.763" UserId="688" />
  <row Id="7242" PostId="5883" Text="@John: My guess is that matlab requires some environment variables to be set and the install script wrote those into some rc file, which gets loaded when you open a shell, but not when you start gnome." CreationDate="2011-01-15T15:22:32.483" UserId="481" />
  <row Id="7243" PostId="5910" Text="@infoquad: When you ask a question like this, you should explain what wgetpaste is (write a sentence or two, and link to the home page or Wikipedia article or something), and say what you're looking in an alternative (extra feature, easier to use, more portable, …)." CreationDate="2011-01-15T15:37:31.213" UserId="885" />
  <row Id="7244" PostId="5922" Score="6" Text="I don't understand why you're so focused on syntax. I'd think that a language with similar syntax but completely different semantics would be much harder to learn than one with different syntax but similar semantics." CreationDate="2011-01-15T15:58:11.297" UserId="481" />
  <row Id="7246" PostId="5916" Score="1" Text="`/bin` is a link to `/usr/bin` on some unices, such as (some releases of?) Solaris." CreationDate="2011-01-15T16:08:02.930" UserId="885" />
  <row Id="7247" PostId="5912" Score="1" Text="Home partitions can certainly be shared between distributions! In some heterogeneous networks people have NFS-mounted home partitions that they can access from different unix variants. What doesn't always work is sharing dot files between different versions of specific applications, such as Gnome or Firefox. But that's no reason to wipe your home partition, just remove or rename offending dot files if you run into trouble." CreationDate="2011-01-15T16:11:45.203" UserId="885" />
  <row Id="7248" PostId="5896" Text="@Voulnet: BSD slice = PC primary partition." CreationDate="2011-01-15T16:19:28.290" UserId="885" />
  <row Id="7249" PostId="5895" Text="IIRC there's one of the *BSD that can't be installed on a logical partition, and another where you have to do nontrivial stuff when installing. I also remember a past thread on the topic on this site or perhaps [Super User](http://superuser.com/) (if you find it please leave a comment or add it your question). The simple option is to install each BSD on a primary partition, and Linux on logical partitions (or LVM)." CreationDate="2011-01-15T16:23:15.603" UserId="885" />
  <row Id="7250" PostId="5912" Text="Yeah, but I think between two distributions there will be difference in version. Anyway that's what I meant, clean up the dot files when in trouble. The unused dot files are harmless but I don't want to keep them (but again it's just me)." CreationDate="2011-01-15T16:24:49.880" UserId="250" />
  <row Id="7251" PostId="5900" Score="1" Text="I've edited the post a bit to fix the quoting.  The version I've posted works for me." CreationDate="2011-01-15T16:25:45.340" UserId="1207" />
  <row Id="7252" PostId="5897" Text="Your script won't work with file names containing spaces or globbing characters." CreationDate="2011-01-15T16:32:21.187" UserId="885" />
  <row Id="7253" PostId="5923" Score="2" Text="Recommending csh, even tcsh for scripting? [Definitely not](http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/). (I'm not recommending Bourne-style shells either, but I'd recommend them over tcsh.) And for interactive use, bash and zsh overtook tcsh long ago." CreationDate="2011-01-15T16:43:29.480" UserId="885" />
  <row Id="7254" PostId="5904" Text="I don't think it's helpful to remove comments, it's hard to follow the flow of activities that lead to the solution (and now it look like I'm schizophrenic)." CreationDate="2011-01-15T16:54:05.180" UserId="3069" />
  <row Id="7255" PostId="5900" Text="Yup, that works for me too.  Thanks" CreationDate="2011-01-15T17:32:56.363" UserId="451" />
  <row Id="7256" PostId="5923" Score="3" Text="@Gilles - The question is not about recommendation, but about existence. csh is a shell scripting language with C-like syntax. The answer is valuable, even if csh is not." CreationDate="2011-01-15T17:58:04.920" UserId="1383" />
  <row Id="7257" PostId="5923" Score="3" Text="@mouviciel Even though the word &quot;recommendation&quot; isn't in there, and the question is literally asking about the existence, it is apparent the author is intending to use one of the answers, thus, it is a recommendation. A disclaimer is definitely helpful." CreationDate="2011-01-15T18:17:00.153" UserId="2180" />
  <row Id="7258" PostId="5850" Text="Still couldn't get the whole file but I think here might be the problem-&#xA;[94.250] Failed to load module &quot;intel&quot;&#xA;[94.264] Failed to load module &quot;fbdev&quot; " CreationDate="2011-01-15T18:34:03.623" UserId="3496" />
  <row Id="7259" PostId="5850" Text="And on the other file (WW)-&#xA;Unable to estimate virtual size.&#xA;No valid modes left." CreationDate="2011-01-15T18:34:46.087" UserId="3496" />
  <row Id="7260" PostId="5914" Text="Why are you mentioning a windows path on a site about unix?" CreationDate="2011-01-15T18:47:42.993" UserId="3557" />
  <row Id="7261" PostId="5920" Text="You should mark the question answered then :)" CreationDate="2011-01-15T18:48:02.760" UserId="3557" />
  <row Id="7262" PostId="5838" Text="I believe the usual spelling was U&lt;smallcaps&gt;nix&lt;/smallcaps&gt;, but of course you can't do that in plain ASCII, nor do it easily in many word processors, so the smallcaps distinction is regularly ignored." CreationDate="2011-01-15T18:51:59.573" UserId="3270" />
  <row Id="7265" PostId="5904" Text="@wag well... in this case nothing would be missed (simple problem, simple solution)" CreationDate="2011-01-15T20:32:04.637" UserId="688" />
  <row Id="7266" PostId="5914" Text="@mark it's a mess, but I gotta admit it was helpful though: `--mirror` and `--html-extension`, and `--convert-links` all basically ended in my final command." CreationDate="2011-01-15T20:35:22.123" UserId="688" />
  <row Id="7267" PostId="5904" Text="@wag I think no important info should be kept in the comments. It should at least be summarized in the question (or answer)." CreationDate="2011-01-15T20:38:32.963" UserId="688" />
  <row Id="7268" PostId="5900" Text="@Steven D: The change in quoting was unnecessary and makes it worse (changes single quotes to double quotes). I assume that @Griffo's problems were because of the extra quotes added to make the command an alias. I would use a shell function instead and keep the same quoting. And the argument to `date` should be single quoted. That was my mistake." CreationDate="2011-01-15T22:20:22.060" UserId="1078" />
  <row Id="7269" PostId="5900" Score="2" Text="@camh: Under Linux, you can use `date -d '10 days ago' '+^%b %e'` to test." CreationDate="2011-01-15T23:26:26.957" UserId="885" />
  <row Id="7270" PostId="5775" Text="Doh!!. Thanks it is the simple answers that I like best :-)" CreationDate="2011-01-16T00:38:58.873" UserId="2375" />
  <row Id="7271" PostId="5897" Text="Gilles, I guess not. It had originally, but I mucked it up in editing. I've removed the xargs and it should work properly again." CreationDate="2011-01-16T00:54:05.597" UserId="3613" />
  <row Id="7272" PostId="5923" Text="While I agree that csh/tcsh should not be used for scripting it fails to mention existence of /dev/stderr and /dev/stdout" CreationDate="2011-01-16T01:17:29.850" UserId="305" />
  <row Id="7273" PostId="5897" Text="@ewindisch: Why use pushd and popd? Or eval, for that matter? You can use a subshell (parentheses) to keep all changes local. You need double quotes to protect directory names with spaces, and `set -f` to turn off globbing. `cd -P` follows all symlinks." CreationDate="2011-01-16T01:19:41.583" UserId="885" />
  <row Id="7274" PostId="5937" Text="unless I'm misunderstanding his question.... I think this has way overcomplicated things." CreationDate="2011-01-16T02:28:01.113" UserId="29" />
  <row Id="7275" PostId="5937" Text="@xeno: I think you are misunderstanding the question. I believe Gilles got it right." CreationDate="2011-01-16T02:44:56.963" UserId="481" />
  <row Id="7276" PostId="5937" Text="@sepp2k could be" CreationDate="2011-01-16T02:56:05.123" UserId="29" />
  <row Id="7277" PostId="5932" Text="@utdmr explaining how to update the mirrorlist if pacman is broken would make this even better." CreationDate="2011-01-16T02:58:19.757" UserId="29" />
  <row Id="7278" PostId="5939" Text="Unless you're also getting an error message along with that information, I don't see what the question is." CreationDate="2011-01-16T03:23:32.140" UserId="481" />
  <row Id="7279" PostId="5939" Text="Sorry, edited the post now. It's late here ;)" CreationDate="2011-01-16T03:39:50.533" UserId="3853" />
  <row Id="7280" PostId="5939" Score="4" Text="@Gabriel That's really the whole error? That's not really a problem; ext2 is a common filesystem choice, and partition type 0x83 is just &quot;Linux native&quot;, which is correct as well" CreationDate="2011-01-16T03:41:26.203" UserId="73" />
  <row Id="7281" PostId="5939" Text="@Gabriel , In addition... what virtualization product, and if you don't know that, what hosting?" CreationDate="2011-01-16T03:49:01.210" UserId="29" />
  <row Id="7283" PostId="5929" Text="it might be, seems it only does it for symlinks, though I don't remember what I was using and whether it was on a symlink." CreationDate="2011-01-16T04:16:53.940" UserId="29" />
  <row Id="7290" PostId="5944" Text="This isn't a very good option for us because we don't know what share they are trying to mound in advance, and because it looks like it requires us to hard-code their AD password into fstab. That's why I'm looking for something more interactive like sudo." CreationDate="2011-01-14T19:04:20.307" />
  <row Id="7291" PostId="5944" Text="understandable.  The issue of passwords showing up in /etc/fstab could be avoided with http://www.cyberciti.biz/faq/access-windows-shares-from-linux/ but the main problem still exists." CreationDate="2011-01-14T19:08:26.723" />
  <row Id="7292" PostId="5953" Text="Not that I actually recommend GNU/Linux. Configuring the above minimalist system from the command line was so much of an undocumented mess that I gave up on aptitude and the endless Debian repositories and moved to OpenBSD which just works." CreationDate="2011-01-16T06:49:05.003" UserId="483" />
  <row Id="7293" PostId="5953" Score="1" Text="repositories-- @jbcreix I recommend distro's that don't really recognize the repository concept, or where there's only one set and it doesn't step on other repo's toes. *gentoo* and *arch linux* are both designed not to need external repos. In arch you might have to enable non core repos but I think they're all in the conf to start." CreationDate="2011-01-16T07:40:36.980" UserId="29" />
  <row Id="7294" PostId="5929" Text="While I saw older manual pages that only mentioned symlinks, as both my example and the man page show, it words for all types of files and directories." CreationDate="2011-01-16T09:00:03.913" UserId="1207" />
  <row Id="7295" PostId="5896" Text="According to its documentation (Handbook 2.3.3) FreeBSD must be installed into primary partition. While it could mount filesystems from logical partitions pretty fine, it can boot only from primary partition." CreationDate="2011-01-16T09:28:43.100" UserId="1027" />
  <row Id="7296" PostId="5950" Text="May I ask why it must be based on apt?" CreationDate="2011-01-16T10:16:51.510" UserId="3082" />
  <row Id="7299" PostId="5940" Text="[related](http://unix.stackexchange.com/q/1583/29)?" CreationDate="2011-01-16T11:05:21.153" UserId="29" />
  <row Id="7300" PostId="5957" Text="@kizzx2 when was DSL deprecated?" CreationDate="2011-01-16T11:29:49.043" UserId="29" />
  <row Id="7301" PostId="5957" Score="2" Text="@xenoterracide: Sorry for the wrong use of language. I was trying to mean &quot;abandoned.&quot; According to [Wikipedia page](https://secure.wikimedia.org/wikipedia/en/wiki/Damn_Small_Linux) it says the last stable release was well over 2 years ago. IIRC there was a reason why the initial packager moved on to (I believe) Tiny Core Linux, but I do not remember the exact details (and am lazy to dig it out :P)" CreationDate="2011-01-16T11:32:55.980" UserId="2130" />
  <row Id="7302" PostId="5932" Text="updating it? the only thing you should do is adding that line to &quot;/etc/pacman.d/mirrorlist.conf&quot;. After you do that, you can update &quot;pacman-mirrorlist&quot; package with &quot;pacman -Sy pacman-mirrorlist&quot;." CreationDate="2011-01-16T12:11:55.963" UserId="2256" />
  <row Id="7303" PostId="5950" Score="1" Text="I also question the apt requirement, because it is quite memory-intensive. If you get a system running in 64MB, you're likely to need to increase that just while you're running apt." CreationDate="2011-01-16T12:20:59.197" UserId="885" />
  <row Id="7304" PostId="5958" Text="Does your network interface show up on `ifconfig`? Do you have an IP address?" CreationDate="2011-01-16T12:21:56.890" UserId="250" />
  <row Id="7305" PostId="5958" Text="How are you connected to your ADSL modem: Ethernet, USB, PCI card? How did you configure it? Are you sure it's not a problem at your ISP's end? Report the output of `ifconfig`, `route -n` and `traceroute -n 8.8.8.8` (these commands may not be on your `PATH` if you aren't root)." CreationDate="2011-01-16T12:23:49.617" UserId="885" />
  <row Id="7306" PostId="5940" Score="1" Text="Does the monitor switch off if you run `xset dpms force off`? What is the output of `xset q | grep -A1 DPMS`?" CreationDate="2011-01-16T12:26:56.163" UserId="885" />
  <row Id="7307" PostId="5958" Text="@Gilles- I used Ethernet and used pppoe-setup to configure it. I'll post the outputa ASAP." CreationDate="2011-01-16T12:32:21.360" UserId="3496" />
  <row Id="7308" PostId="3541" Text="Upstart's website claims Ubuntu has been using it since version 6.10" CreationDate="2011-01-16T13:05:42.273" UserId="2179" />
  <row Id="7309" PostId="5960" Score="1" Text="`Ctrl+S` only suspends scrolling output, not the underlying program (unless it gets blocked waiting for the terminal to accept its output), and only if you haven't disabled it." CreationDate="2011-01-16T13:31:59.277" UserId="885" />
  <row Id="7310" PostId="5960" Text="With the current 'S' status it doesn't resume. Is it safe to kill it using Ctrl+C and run rsync again? What other options do I have? Will have that in mind next time though, thanks." CreationDate="2011-01-16T13:32:43.520" UserId="1562" />
  <row Id="7311" PostId="3541" Text="@badp: Though 6.10, still used SysV-style init scripts in `/etc/init.d`. The transition to `/etc/init/*.conf` started later (8.04 was still all SysV-style, 10.04 was already transitioning)." CreationDate="2011-01-16T13:33:59.617" UserId="885" />
  <row Id="7312" PostId="5923" Text="Despite its name and what its manual page states, csh syntax is extremely remote to the C language one. I have always been puzzled by that claim. Even awk is much more C-like." CreationDate="2011-01-16T13:51:36.210" UserId="2594" />
  <row Id="7313" PostId="5962" Text="Great guide. The `ip` commands are Linux-specific, but the overall procedure isn't." CreationDate="2011-01-16T14:34:28.470" UserId="885" />
  <row Id="7314" PostId="5962" Text="@Gilles I was wondering about that: I specifically used them because someone else critiqued another answer for suggesting `ifconfig` instead of `ip`. Is there a universal set of commands? (For instance, does `ifconfig`, and `route` work on all Unices? Do other unicies have policy routing (that is, alternate routing tables and rules)?" CreationDate="2011-01-16T14:37:13.147" UserId="2180" />
  <row Id="7315" PostId="5958" Text="I had problems with my dsl/pppoe connection a while ago. See if you find this helpful: http://unix.stackexchange.com/questions/3605/dsl-connection-not-working-in-ubuntu-10-04" CreationDate="2011-01-16T15:20:47.313" UserId="1452" />
  <row Id="7316" PostId="5958" Text="And here's a related problem from earlier: http://unix.stackexchange.com/questions/4261/cant-access-select-https-sites-on-linux-over-pppoe" CreationDate="2011-01-16T15:31:36.753" UserId="1452" />
  <row Id="7317" PostId="5962" Text="@Shawn: All the unices that the [Rosetta Stone](http://bhami.com/rosetta.html) knows about have `ifconfig`, though the output format and command line can vary. The `route` command is also very common (even Windows has it), though its arguments differ a lot. `ip` (which is Linux-only) mainly has the advantage of combining a lot of IP-related settings under one tool. IIRC I critiqued that critique of `ifconfig`. I guess all unices have complex routing subsystems, but they're very different." CreationDate="2011-01-16T16:23:34.307" UserId="885" />
  <row Id="7320" PostId="5958" Score="1" Text="More information is needed to fix your problem, and here, the facts that it is on Arch Linux and that it is an ADSL connection isn't enough on their own to narrow down the solution. Consider making this question more generic (so more people find it), following the guide below, and posting a more specific question." CreationDate="2011-01-16T17:18:06.093" UserId="2180" />
  <row Id="7323" PostId="5812" Text="I updated my answer to include client auth and TLS support." CreationDate="2011-01-16T19:25:45.897" UserId="3309" />
  <row Id="7324" PostId="5938" Text="Sorry but if I understand correctly PS1 is just for the prompt, right? I want to change everything -- background, text, vim, etc." CreationDate="2011-01-16T20:53:26.000" UserId="3847" />
  <row Id="7325" PostId="5937" Text="This is a bit over my head; I am still pretty new to Linux. Am I to put the code for set_color_value() into my .bashrc? And how do I know if I'm using terminfo or termcap?" CreationDate="2011-01-16T20:55:11.130" UserId="3847" />
  <row Id="7326" PostId="5944" Text="You don't need to hardcode credentials in `/etc/fstab` if you use option `credentials=` pointing to a file (man mount.cifs). Still it doesn't allow to choose the username, only to protect credentials." CreationDate="2011-01-16T21:58:45.013" UserId="3633" />
  <row Id="7327" PostId="5050" Text="I'm having the same problem on Ubuntu 10.10.  It worked a few weeks ago; not sure what's changes since then" CreationDate="2011-01-16T23:16:49.337" UserId="3871" />
  <row Id="7328" PostId="5937" Text="@skoh-fley: Start with putting the `set_color_value` stuff in your `.bashrc`. If you're unsure about `.bashrc` vs `.profile` vs `.bash_profile`, search on this site, [Super User](http://superuser.com/) and [Ask ubuntu](http://askubuntu.com/) where the topic has been discussed at length. You may find that the color scheme goes away when you start a full-screen application; only then should you worry about the bit about the terminal reset. If you don't know, you probably have terminfo." CreationDate="2011-01-16T23:38:31.347" UserId="885" />
  <row Id="7329" PostId="5953" Text="@xenoterracide: hum, Debian is like that; I mean, they have one repo per version, but mixing them is strongly discouraged." CreationDate="2011-01-17T02:27:52.623" UserId="3038" />
  <row Id="7330" PostId="5838" Text="i didn't get you." CreationDate="2011-01-17T04:23:11.550" UserId="2269" />
  <row Id="7331" PostId="5839" Text="Thanks Marc-François Cochaux-Laberge" CreationDate="2011-01-17T04:24:07.243" UserId="2269" />
  <row Id="7332" PostId="5953" Text="@andre pretty sure to get full desktop functionality you have to add repo's to debian. but I could be wrong. Sure it has one core set, but I do remember adding repo's in ubuntu to get everything I needed, I know debian is not ubuntu." CreationDate="2011-01-17T04:42:38.413" UserId="29" />
  <row Id="7333" PostId="5970" Text="+1 for CINT: It is part of the awesome ROOT framework which is used for most of the data processing at CERN, so you know it will be actively developed for a while to come." CreationDate="2011-01-17T04:51:12.523" UserId="2881" />
  <row Id="7334" PostId="5026" Text="I asked a question about booting about install Grub on a USB stick. Since Grub can boot FreeBSD you can give that a try. http://unix.stackexchange.com/q/665/250" CreationDate="2011-01-17T05:31:51.107" UserId="250" />
  <row Id="7335" PostId="5973" Text="Actually, the manpage says `--mirror` implies `-r` and -`l inf` (unlimited depth). Am not so sure about `-A`, but it in my mirror I got images, javascript, and stylesheets, and all that without using that option." CreationDate="2011-01-17T09:14:25.000" UserId="688" />
  <row Id="7336" PostId="1010" Score="5" Text="the best comparison of vi and emacs I’ve seen yet" CreationDate="2011-01-17T09:24:23.743" UserId="688" />
  <row Id="7337" PostId="5969" Text="Thank you!!  This is probably what has happened, as we do use cPanel.  Will installing a second(?) version of perl cause problems with cPanel?" CreationDate="2011-01-17T12:38:07.330" UserId="3844" />
  <row Id="7339" PostId="5968" Score="1" Text="who said `bin` is only for system administrators? that's what `sbin` is for." CreationDate="2011-01-17T13:08:19.840" UserId="29" />
  <row Id="7342" PostId="5783" Text="related: **1.** http://serverfault.com/q/3104/, **2.** http://unix.stackexchange.com/q/554/, **3.** http://serverfault.com/q/99023/" CreationDate="2011-01-17T13:53:28.503" UserId="688" />
  <row Id="7343" PostId="5960" Text="Also note that Ctrl-Z to suspend a process is likely, after some time, to result in the timeout of any TCP network connections which were established by that program.  Thus leaving an rsync suspended for more than a few minutes will very likely cause it to quit abruptly with an error message when you put it back in the foreground and it finds that its opened sockets are returning errors from reads and writes." CreationDate="2011-01-17T14:18:20.150" UserId="1036" />
  <row Id="7344" PostId="5954" Text="[Tiny Core Linux](http://www.tinycorelinux.com/) can be considered the continuation of DSL.  Neither are based on Apt which is a strange requirement anyway." CreationDate="2011-01-17T14:22:51.267" UserId="3447" />
  <row Id="7345" PostId="5954" Text="@jones, mebbe I'm wrong, but I thought for sure you could use apt in dsl. It's obviously been some years since I've used it." CreationDate="2011-01-17T14:24:18.083" UserId="29" />
  <row Id="7346" PostId="5981" Text="*cursing* that was so close to the `sed` I tried first I could kick myself." CreationDate="2011-01-17T14:29:27.467" UserId="29" />
  <row Id="7347" PostId="5865" Text="Vim emits an alert, but it still works in the end." CreationDate="2011-01-17T14:39:54.830" UserId="3240" />
  <row Id="7348" PostId="5931" Text="condolences. now change control++ and preparing for hit by a bus scenario's ++ document **everything**" CreationDate="2011-01-17T15:01:44.073" UserId="29" />
  <row Id="7349" PostId="5968" Text="Misquoted you. Sorry, I was reading too fast." CreationDate="2011-01-17T16:23:21.463" UserId="3309" />
  <row Id="7350" PostId="5973" Text="Ok, suit yourself, but I mirror sites all the time with `wget -mrl 100 -A html,jpg,css`. Maybe your copy of wget is broken then? Or maybe you should try it before you -1 somebody?" CreationDate="2011-01-17T16:29:55.623" UserId="3309" />
  <row Id="7351" PostId="5973" Text="@bahamat I did not mean to offend. What version of wget are you using? I use `1.12` and that's what I get. If u use the same, try without the `-r` and `-A` and see what you get." CreationDate="2011-01-17T17:48:07.443" UserId="688" />
  <row Id="7353" PostId="5988" Text="Why can't you just look at your iPod? I'm not trying to be rude, but I also use Rhythmbox for my iPod (touch), and it's easy to check the iPod to see how charged it is." CreationDate="2011-01-17T18:19:57.247" UserId="3892" />
  <row Id="7354" PostId="5990" Text="Exactly what I wanted! Thanks!" CreationDate="2011-01-17T18:25:29.940" UserId="3097" />
  <row Id="7355" PostId="5988" Score="1" Text="@Cam: Cam i have an iPOD shuffle. Which has no display." CreationDate="2011-01-17T18:44:24.550" UserId="1267" />
  <row Id="7356" PostId="5993" Score="1" Text="If you're just trying to define an alias at startup then I recommend the .bash_aliases route.  A .bashrc file can get a little long depending on what you do with it so I prefer to have a separate place for alias definitions to go so that you can easily change/add aliases." CreationDate="2011-01-17T18:45:51.620" UserId="3596" />
  <row Id="7357" PostId="5995" Text="Thanks, @jet! I can in fact edit my current firewall script  and add what you suggested. But do I still have to do the bridging? (I guess I should, right?)" CreationDate="2011-01-17T18:59:21.797" UserId="3893" />
  <row Id="7358" PostId="5975" Score="2" Text="Could you elaborate a bit on &quot;I've tried using koconverter, a batch converter for KOffice documents included in KDE libs, but neither the one from KOffice 1.6.x nor the one from 2.2.x works.&quot; Do they not support the old format or are you running into some other error?" CreationDate="2011-01-17T19:26:27.093" UserId="1207" />
  <row Id="7359" PostId="5995" Text="nope, that is enough " CreationDate="2011-01-17T19:29:03.720" UserId="3432" />
  <row Id="7360" PostId="5953" Score="1" Text="@xenoterracide: Nope, Debian's main repo has everything; KDE, Gnome, XFCE, etc: http://packages.debian.org/stable/" CreationDate="2011-01-17T19:37:06.747" UserId="3038" />
  <row Id="7361" PostId="5988" Text="It's iPod and Apple. Not IPOD and APPLE." CreationDate="2011-01-17T20:30:20.993" UserId="3765" />
  <row Id="7364" PostId="5950" Score="1" Text="[Tshepang just reminded me of the existence of dselect](http://unix.stackexchange.com/questions/6002/what-are-pros-cons-of-dselect-and-apt-get), which if you're on Debian (or other system using dpkg) is sort of a lesser aptitude but consuming less memory." CreationDate="2011-01-17T22:42:00.750" UserId="885" />
  <row Id="7365" PostId="6005" Text="damn, that was easy! I don know why i didnt ever faced this command reading dozens of how to's and examples. Thank you so much" CreationDate="2011-01-17T23:28:41.190" UserId="3901" />
  <row Id="7366" PostId="5887" Text="The HP Z800 has 2 1TB drives in a RAID0 configuration, I just added the Linux drive to the third SATA connection basically. I then hit F12 for the boot menu and selected the drive to boot from it..." CreationDate="2011-01-18T01:48:01.803" UserId="3811" />
  <row Id="7367" PostId="6012" Score="3" Text="If you have it, `uuidgen` works too (sys-apps/util-linux in Gentoo)" CreationDate="2011-01-18T03:39:58.203" UserId="73" />
  <row Id="7368" PostId="6015" Score="3" Text="A warning though about installing squeeze packages on lenny. You may end up installing many more packages than you bargained for due to dependencies and you may begin to encounter obscure errors. In general it is better to be entirely on testing than to try to half-and-half it." CreationDate="2011-01-18T03:47:15.090" UserId="3309" />
  <row Id="7369" PostId="6016" Text="It's not really connected to a hotshoe (if you're speaking camera terminology), but I'll see what I can find out. I can't see how to code this (or even find the appropriate device API), so I guess it's back to disassembling toys to find those switches!" CreationDate="2011-01-18T04:04:13.833" UserId="3032" />
  <row Id="7370" PostId="6014" Text="You can optimize your command by using the environment variable `$PWD` instead of using command substitution and removing the need for tail:  `df -Ph $PWD | awk 'NR==2{print $4}'`" CreationDate="2011-01-18T04:17:55.877" UserId="1338" />
  <row Id="7371" PostId="5955" Text="GNU fails in this regard" CreationDate="2011-01-18T04:34:51.650" UserId="29" />
  <row Id="7372" PostId="6014" Text="@SiegeX: I agree doing it all in `awk` is better.  I included the longer command because I wanted to have an example of how one can construct a chain of simple commands to do something more complicated.  I've updated the answer to include your improvement." CreationDate="2011-01-18T04:41:25.107" UserId="1207" />
  <row Id="7373" PostId="5896" Text="@AlexD I read from some installation instruction of a BSD (long ago, I don't remember) with examples of /dev/sda7 so I assumed it worked with logical partitions... Will edit my answer to include this notice." CreationDate="2011-01-18T04:46:24.730" UserId="250" />
  <row Id="7374" PostId="6017" Score="2" Text="Aptitude is even better ;)" CreationDate="2011-01-18T05:03:26.280" UserId="3038" />
  <row Id="7375" PostId="6018" Text="That's a great tool! I find it very useful to validate the links in my project. Thanks to both!" CreationDate="2011-01-18T07:02:32.910" UserId="3879" />
  <row Id="7376" PostId="6008" Score="1" Text="Did you mean `du -h`?" CreationDate="2011-01-18T07:11:35.133" UserId="2318" />
  <row Id="7377" PostId="6017" Text="I'm old school." CreationDate="2011-01-18T07:25:42.150" UserId="3309" />
  <row Id="7378" PostId="5956" Text="+1 although this didn't answer my questions it came in very handy!" CreationDate="2011-01-18T07:42:38.953" UserId="3854" />
  <row Id="7379" PostId="6017" Text="@bahamat Why use `dselect` instead of `aptitude` for selection?" CreationDate="2011-01-18T08:18:55.037" UserId="688" />
  <row Id="7380" PostId="6017" Score="1" Text="@Tshepang I don't, I use apt-get. Although I do use `dpkg --set-selections` to set a large list of packages that I want then use `apt-get dselect-upgrade` to install them. This is extremely handy for automating system set up on a large scale." CreationDate="2011-01-18T08:25:31.800" UserId="3309" />
  <row Id="7381" PostId="6018" Text="Why add a note about Lenny? Here, we are trying to keep things generic, if we can help it." CreationDate="2011-01-18T08:30:04.153" UserId="688" />
  <row Id="7382" PostId="6017" Text="can u check the grammar on the last sentence; it's hard to parse :)" CreationDate="2011-01-18T08:40:45.890" UserId="688" />
  <row Id="7383" PostId="6017" Text="I'm not sure what doesn't make sense." CreationDate="2011-01-18T09:31:44.067" UserId="3309" />
  <row Id="7385" PostId="6017" Text="I looks like the last sentence should be split into 2. Also, can u explain why u discourage installing with dselect." CreationDate="2011-01-18T09:50:28.217" UserId="688" />
  <row Id="7386" PostId="5868" Text="It was not a handbook, but a tutorial-style book, not aiming at administrators in particular." CreationDate="2011-01-18T10:11:43.957" UserId="2496" />
  <row Id="7387" PostId="6017" Score="1" Text="I don't discourage it per sé. I don't particularly care for package menus. I already know what I want and don't need to browse. If I'm searching I much prefer apt-cache. But if you like to browse, then by all means. That's why there are different options. For a beginner, aptitude is much easier. But for an advanced user dselect is chock full of single keystroke commands and other difficult to discover goodies." CreationDate="2011-01-18T10:12:02.020" UserId="3309" />
  <row Id="7389" PostId="6010" Text="@vicfred you are using less as your pager right?" CreationDate="2011-01-18T10:54:13.420" UserId="29" />
  <row Id="7391" PostId="6030" Text="What is TUI? Terminal User Interface? Is that the same as CLI (Command Line Interface)?" CreationDate="2011-01-18T12:03:45.700" UserId="688" />
  <row Id="7392" PostId="5660" Text="It counts shared memory only once." CreationDate="2011-01-18T12:15:26.377" UserId="3563" />
  <row Id="7393" PostId="6030" Text="text user interface.. the old kind of programs" CreationDate="2011-01-18T12:35:27.500" UserId="3378" />
  <row Id="7394" PostId="6031" Text="the computer that works with no problem has blocked ICMP so ping doesnt work! THe other computer that has ping enabled has the problems... ping -D sends 64 byte.. i should try changing this ?" CreationDate="2011-01-18T12:38:39.303" UserId="3378" />
  <row Id="7395" PostId="6031" Text="First ensure that just `ping` works. Then start trying `ping -D` with increasing packet size. Stop at the moment where answers do not come back to you, add 28 (IP+ICMP header size) to last working value to calculate actual path MTU." CreationDate="2011-01-18T12:44:22.953" UserId="3886" />
  <row Id="7396" PostId="6026" Text="well, it should, but it doesn't =) Tried to switch primary screen in nvidia-settings, but anyway fullscreen appears on the laptop" CreationDate="2011-01-18T12:48:27.033" UserId="3901" />
  <row Id="7397" PostId="6031" Text="-D adds timestamp... i am trying to increase packet size with -s but i dont get anything different... only the first time it says about fragmentation..." CreationDate="2011-01-18T12:52:02.400" UserId="3378" />
  <row Id="7398" PostId="6018" Score="1" Text="@Tshepang: Because I'm trying to be useful. Does it bother anyone? Stop being pedantic, please." CreationDate="2011-01-18T14:04:52.720" UserId="3038" />
  <row Id="7399" PostId="6018" Text="@andre It only makes sense if I mentioned in my question &quot;Which tool can I use for checking broken web links in Debian Lenny&quot;? And, if someone doesn't know how to find how to install it, they can always ask &quot;How do I install linkchecker in Debian Lenny&quot;. Sorry if I come across as pedantic." CreationDate="2011-01-18T14:51:14.900" UserId="688" />
  <row Id="7400" PostId="6043" Text="No, its a production server. Is there no way I can create a service that I can start and stop from the terminal?" CreationDate="2011-01-18T14:51:17.660" UserId="3493" />
  <row Id="7401" PostId="6043" Text="Then put your script into `/etc/init.d` and make it understand the minimum of `start|stop|restart` commands.  You don't need `upstart` to run the script, only your usual command line." CreationDate="2011-01-18T14:56:19.127" UserId="1946" />
  <row Id="7402" PostId="6040" Score="1" Text="I think this is equivalent to `pkill`" CreationDate="2011-01-18T14:56:55.443" UserId="73" />
  <row Id="7403" PostId="6015" Text="Thanks, that explains it. I didn't understand that there were different versions of Debian. I was wondering what all those weird nicknames were about." CreationDate="2011-01-18T15:11:55.147" UserId="3904" />
  <row Id="7405" PostId="6045" Score="1" Text="possible dupe: http://unix.stackexchange.com/questions/5733/distro-lightweight-and-easy-to-install" CreationDate="2011-01-18T15:35:36.720" UserId="688" />
  <row Id="7406" PostId="6018" Text="@Tshepang: I disagree. I think it's a useful note that doesn't take away from anyone else - the source is still in the first link. Having said that, if a moderator asks me to remove it I will do so." CreationDate="2011-01-18T15:40:22.407" UserId="3038" />
  <row Id="7407" PostId="6018" Text="Ok, no trouble. It's not a big issue really." CreationDate="2011-01-18T15:41:57.213" UserId="688" />
  <row Id="7408" PostId="5053" Text="Any reason why you are not using Network Manager?" CreationDate="2011-01-18T15:52:57.407" UserId="688" />
  <row Id="7409" PostId="5300" Text="Can you explain what you mean by *...most LiveUSB distros are modified LiveCD ones so they assume sequential and slow base device...*." CreationDate="2011-01-18T15:55:54.313" UserId="688" />
  <row Id="7410" PostId="6050" Text="Once you invoke `shutdown -h now`, I believe you lose command line access immediately similarly to `halt -p` so there isn't much you can do." CreationDate="2011-01-18T16:41:42.057" UserId="3455" />
  <row Id="7411" PostId="6052" Text="Did not believe it at first, but yes. More specifically `ctrl+c`" CreationDate="2011-01-18T16:45:40.913" UserId="3455" />
  <row Id="7412" PostId="5462" Text="An argument of 1 just executes the function - although the function will create a copy of itself on the heap, it does not execute the heap-copy.  I don't know why you get a segmentation violation.  Can you give some more details about compiler, CPU, OS, etc etc?" CreationDate="2011-01-18T17:13:04.287" UserId="732" />
  <row Id="7413" PostId="6052" Text="@Ken: shutdown -c and [Ctrl]+[c] are entirely different.  shutdown -c is a command which cancels a previously scheduled shutdown (even &quot;now&quot; is scheduled in this sense --- but whether the cancellation will prevent the reboot is a bit of a race in that case).  [Ctrl]+[c] will cause you terminal to generate a SIGINT (interrupt signal) to whichever process was currently attached to it.  This might work on a running shutdown command but that's rather incidental to your question." CreationDate="2011-01-18T17:25:43.663" UserId="1036" />
  <row Id="7414" PostId="6052" Text="@Jim Dennis: I'm aware of the difference between `ctrc+c` and `shutdown -c`. But given the speed of the `-now`  option rather than its scheduled sibling, `ctrl+c` would be the fastest route to that end. I didn't believe you could stop an immanent shutdown, even more surprised that you can interrupt it, but apparently you can, but it's a race as you stated. " CreationDate="2011-01-18T17:45:41.670" UserId="3455" />
  <row Id="7415" PostId="6058" Text="Same results apparently.  It said OpenSuSE or Fedora..." CreationDate="2011-01-18T17:46:39.077" UserId="2258" />
  <row Id="7416" PostId="6047" Text="If I had another stick of 256MB PC133 (but I don't) I could get it up to 512MB, but that's about as far as this thing will go." CreationDate="2011-01-18T17:47:25.300" UserId="2258" />
  <row Id="7417" PostId="1154" Score="1" Text="LSB is Linux only afaik, so this would only work for Linux and not BSD, Solaris, or any other Unix system." CreationDate="2011-01-18T18:00:14.577" UserId="3447" />
  <row Id="7418" PostId="6050" Text="@Ken: on Ubuntu and Centos connected via putty the command line remains available for a few seconds. " CreationDate="2011-01-18T18:43:31.200" UserId="591" />
  <row Id="7419" PostId="6068" Text="Since I'm sure someone will mention it, I don't have inotify." CreationDate="2011-01-18T19:46:44.217" UserId="2333" />
  <row Id="7420" PostId="6070" Text="How do I get `inotify`? It's not installed (kernel 2.6.34) and there's no `/dev/inotify`." CreationDate="2011-01-18T19:52:39.887" UserId="2333" />
  <row Id="7421" PostId="2269" Text="@Gilles: No. I didn't." CreationDate="2011-01-18T19:55:52.080" UserId="305" />
  <row Id="7422" PostId="6070" Score="1" Text="@Wolf What distro? If you build your own kernel, it's `CONFIG_INOTIFY_USER` (`Filesystems` -&gt; `Inotify support for userspace`). `inotifywait` is probably in a package named something like `inotify-tools`" CreationDate="2011-01-18T20:01:16.777" UserId="73" />
  <row Id="7423" PostId="6065" Text="Which shell do you use?" CreationDate="2011-01-18T20:01:33.867" UserId="3806" />
  <row Id="7424" PostId="6070" Text="@Michael, it's openSUSE 11.3. I've never built a kernel; have only been using Linux about 5 months and it's a bit of a daunting concept. But I'll look around for a tutorial or something." CreationDate="2011-01-18T20:03:30.057" UserId="2333" />
  <row Id="7425" PostId="6070" Text="@Wolf Well, [dogbane's answer](http://unix.stackexchange.com/questions/6068/is-it-possible-to-find-out-what-program-or-script-created-a-given-file/6071#6071) might be easier if the kernel you have doesn't come with it" CreationDate="2011-01-18T20:07:17.660" UserId="73" />
  <row Id="7426" PostId="6065" Text="I'm using bash." CreationDate="2011-01-18T20:12:17.287" UserId="379" />
  <row Id="7427" PostId="6043" Text="@kau How about you [clone](http://unix.stackexchange.com/questions/2865/moving-linux-install-to-a-new-computer) your production server to some testing machine and install upstart, and test?" CreationDate="2011-01-18T20:17:05.813" UserId="688" />
  <row Id="7428" PostId="6070" Text="@Michael Intestingly, `/boot/config-2.6.37.7-0.7-desktop` (supposedly a copy of the configuration file used for the distro?) contains the lines `CONFIG_INOTIFY=y` and `CONFIG_INOTIFY_USER=y`. So I wonder why there's no inotify available." CreationDate="2011-01-18T20:19:37.220" UserId="2333" />
  <row Id="7429" PostId="6070" Text="@Wolf Are you sure it's not available? I don't have `/dev/inotify` on any of my machines; did you try running something that uses it?" CreationDate="2011-01-18T20:21:34.810" UserId="73" />
  <row Id="7430" PostId="6050" Text="Why say &quot;now&quot; if you don't mean &quot;right now&quot;?" CreationDate="2011-01-18T20:27:15.227" UserId="3274" />
  <row Id="7431" PostId="4875" Text="@stefan I don't think ur edit is accurate. jigdo is much closer to zsync that it is to bittorrent. Both rely on some central server (or it's mirrors), while bittorrent is decentralised." CreationDate="2011-01-18T20:38:05.047" UserId="688" />
  <row Id="7432" PostId="4645" Text="__note__: I haven't experienced this problem for weeks now, and have no idea what 'fixed' it. Nothing points to the kernel either." CreationDate="2011-01-18T20:41:20.673" UserId="688" />
  <row Id="7433" PostId="6075" Score="3" Text="See http://pam-mount.sourceforge.net/.  I know it can pass passwords to dm-crypt+luks, not sure about Truecrypt though." CreationDate="2011-01-18T20:42:45.437" UserId="1209" />
  <row Id="7434" PostId="6070" Score="1" Text="@Michael Actually, after a little more hunting and research, I added a community repository which, it turns out, contains the `inotify-tools` package, so I now have `inotifywait` (and `inotifywatch`). I tested it out and it seems to work." CreationDate="2011-01-18T20:46:54.337" UserId="2333" />
  <row Id="7435" PostId="6063" Text="Depending on your shell, &quot;function&quot; may not be supported. The POSIX-compatible way to define a function is without it. `func_name() {...; }`" CreationDate="2011-01-18T20:47:54.153" UserId="2180" />
  <row Id="7436" PostId="6075" Text="Pam_mount can pass passwords to many file or disk encryption methods supported by Linux (dm-crypt, encfs, …), but [note truecrypt](http://pam-mount.git.sourceforge.net/git/gitweb.cgi?p=pam-mount/pam-mount;a=blob;f=doc/bugs.txt;hb=93395a33115df99c7d012a391486ba466823e68e#1113)." CreationDate="2011-01-18T20:56:42.613" UserId="885" />
  <row Id="7437" PostId="6063" Text="Already using some functions that way (for non-trivial aliases)." CreationDate="2011-01-18T20:58:52.970" UserId="3932" />
  <row Id="7438" PostId="6073" Text="Hmm, will try that." CreationDate="2011-01-18T20:59:41.267" UserId="3932" />
  <row Id="7439" PostId="6069" Text="There are also ways to encrypt a whole directory or drive, but they are different in scope: they offer transparent encryption (you just type a password to mount the drive), but the result can't be read by GPG or PGP." CreationDate="2011-01-18T21:21:01.037" UserId="885" />
  <row Id="7440" PostId="6079" Text="Great, thank you." CreationDate="2011-01-18T21:23:33.500" UserId="3932" />
  <row Id="7441" PostId="6081" Text="`xterm` supports copy/paste, or at least it should. Are you using the wrong hotkey? Shift+insert should be paste by default" CreationDate="2011-01-18T21:39:59.923" UserId="73" />
  <row Id="7442" PostId="6081" Score="1" Text="What exactly have you tried? First try to copy-paste from an xterm to an xterm: select by holding down the left mouse button, paste by pressing the middle button." CreationDate="2011-01-18T21:52:51.560" UserId="885" />
  <row Id="7443" PostId="6010" Text="What terminal emulator are you using, and what does `echo $TERM` display?" CreationDate="2011-01-18T21:54:59.217" UserId="885" />
  <row Id="7444" PostId="6044" Text="This chart features prominently on [the Wikipedia page on Unix](http://en.wikipedia.org/wiki/Unix), which has already been cited." CreationDate="2011-01-18T22:01:45.107" UserId="885" />
  <row Id="7445" PostId="6081" Text="I see, but my MacBook Pro doesn't seem to have the insert key, and my mouse doesn't have a middle button..... can the keybindings be changed? Thanks." CreationDate="2011-01-18T22:21:13.840" UserId="1375" />
  <row Id="7446" PostId="4920" Text="If Michael's answer satisfies your question, you should accept it." CreationDate="2011-01-18T22:30:32.873" UserId="3038" />
  <row Id="7447" PostId="6009" Text="See also [this similar question at Super User](http://superuser.com/questions/134713/is-it-possible-to-install-one-testing-package-by-just-modifying-source-list-file)." CreationDate="2011-01-18T22:39:44.730" UserId="885" />
  <row Id="7448" PostId="6014" Text="`-P` is standard (the `P` is for POSIX). But `-h` is a GNU extension (also existing on some other systems, but e.g. on OpenBSD it's incompatible with `-P`)." CreationDate="2011-01-18T22:55:38.550" UserId="885" />
  <row Id="7450" PostId="5958" Text="Bounty intended for Shawn's answer (unless someone writes an even better answer)." CreationDate="2011-01-18T23:01:13.330" UserId="885" />
  <row Id="7451" PostId="6081" Text="Sounds like he's using X11.app on a mac. I think this should be migrated to apple.stackexchange.com." CreationDate="2011-01-18T23:02:12.947" UserId="3309" />
  <row Id="7453" PostId="1764" Text="Sorry for getting back to this question so late, but I've figured out that PuTTY *still* sends application cursor keys to the terminal, *even after I turn it off completely*. I am at a loss what else should I tweak to make it go away." CreationDate="2011-01-18T23:25:53.877" UserId="210" />
  <row Id="7454" PostId="1764" Text="@Alex: You don't need to make it go away, you can tell your applications about them (which I've found to be the path of least resistance). Or you can replace PuTTY by one of the alternatives such as mintty plus Cygwin ssh (but that's getting off-topic for this site)." CreationDate="2011-01-18T23:30:01.063" UserId="885" />
  <row Id="7455" PostId="1764" Text="@Gilles Finally fixed it. Just one typo in `map` commands: should be `map &lt;ESC&gt;5D`, rather than `&lt;ESC&gt;[5D`, since `ESC` is already `^[`." CreationDate="2011-01-18T23:41:35.020" UserId="210" />
  <row Id="7456" PostId="1764" Text="@Alex: On the terminal I chose as an example, `C-Left` sends `ESC [ 5 D` (4 characters). Another common sequence if `ESC O 5 D`. I don't think any terminal sends `ESC 5 D` for any key, these sequences usually start with `ESC [` or `ESC O`." CreationDate="2011-01-18T23:47:49.887" UserId="885" />
  <row Id="7457" PostId="1764" Text="@Gilles ah OK, got it." CreationDate="2011-01-19T00:15:09.847" UserId="210" />
  <row Id="7458" PostId="6012" Score="1" Text="UUIDs are *not* completely random. Random UUIDs are version 4 UUIDs, and have only 122 random bits, not 128. The fixed bits define the version (4) and variant of the UUID. You should use either `uuidgen` or `/proc/sys/kernel/random/uuid` to generate UUIDs." CreationDate="2011-01-19T00:18:10.000" UserId="1627" />
  <row Id="7459" PostId="6081" Text="@penyuan: The keybindings can be changed (look out for “translations” and “resources”), but there might be recommended settings for Macs that people on [Apple Stack Exchange](http://apple.stackexchange.com/) would know better. If you want to migrate your question there, flag your question for moderator attention." CreationDate="2011-01-19T00:19:38.677" UserId="885" />
  <row Id="7460" PostId="6088" Text="So, in other words, hardcoded?" CreationDate="2011-01-19T00:22:15.810" UserId="210" />
  <row Id="7461" PostId="6023" Score="1" Text="`ls` output is not meant to be parsed. `ls` is meant to produce user-readable output, and it may substitute characters in filenames." CreationDate="2011-01-19T00:25:07.693" UserId="1627" />
  <row Id="7462" PostId="6092" Score="1" Text="`[ ${PIPESTATUS[0]} -eq 0 ] &amp;&amp; true || false;` simplifies to `[ ${PIPESTATUS[0]} -eq 0 ]`" CreationDate="2011-01-19T00:39:40.463" UserId="885" />
  <row Id="7463" PostId="4680" Text="@Warren Young My main purpose is to map client IP address with their MAC address in such a way that no client machine get IP from DHCP server. this means that I would like to give them Internet access one by one through IP and MAC binding. Moreover, without mac binding no system should get IP from DHCP server. The client machine whose MAC address is not enterd in server, should not get ip address from DHCP server. So how can I implement this in Linux (RHEL 5 ) machine?" CreationDate="2011-01-19T00:50:59.227" UserId="2914" />
  <row Id="7464" PostId="685" Text="@David Zaslavsky: I could see problems arising if the new distro used earlier versions of applications than the previous, since they might not know how to read those config files.  That being said, I've not tried to do anything of the sort myself." CreationDate="2011-01-19T03:44:57.153" UserId="1535" />
  <row Id="7465" PostId="6082" Text="I copypasted the bash one on my .bashrc and it is giving off these errors: bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;'&#xA;bash: PROMPT_COMMAND: line 0: `;screen_set_window_title'&#xA;" CreationDate="2011-01-19T05:40:28.050" UserId="379" />
  <row Id="7466" PostId="6081" Text="I am in the process of migrating to Linux, so I was hoping for answers in that context. Sorry I wasn't clear." CreationDate="2011-01-19T06:31:51.863" UserId="1375" />
  <row Id="7467" PostId="6100" Text="Wow... cool explanation that lead to some insights that I have had before." CreationDate="2011-01-19T06:32:29.507" UserId="1070" />
  <row Id="7468" PostId="6087" Text="For how useful gnome-terminal profiles can be, see http://unix.stackexchange.com/questions/3850/how-to-run-commands-automatically-on-gnome-terminal-after-log-in" CreationDate="2011-01-19T06:47:21.397" UserId="688" />
  <row Id="7469" PostId="1210" Text="Check this counterargument: http://unix.stackexchange.com/questions/1203/which-laptop-is-most-compatible-with-linux/1250#1250" CreationDate="2011-01-19T07:43:04.797" UserId="688" />
  <row Id="7470" PostId="1691" Text="@uray You can delete the directories if you want. The only issue this might cause is if at some stage you try to install some game, and it doesn't check for the directory's existence. This is unlikely though, for I expect standard install tools to have such a sanity check (and a clear error message in case of trouble)." CreationDate="2011-01-19T08:04:34.683" UserId="688" />
  <row Id="7471" PostId="6082" Text="@David: Sorry, the point was to accumulate commands in `PROMPT_COMMAND` if there was already something, but I had the components in the wrong order." CreationDate="2011-01-19T08:08:25.777" UserId="885" />
  <row Id="7472" PostId="6062" Text="wow I didn't know such a convenient command exists! Many thanks!!" CreationDate="2011-01-19T08:19:35.557" UserId="3927" />
  <row Id="7473" PostId="6043" Text="@alex @Tshepang Can you take a look and advise, please? http://paste.ubuntu.com/555683/ The jar isnt executed." CreationDate="2011-01-19T08:31:53.820" UserId="3493" />
  <row Id="7474" PostId="6101" Score="2" Text="around here I'm just as likely to get the answer *&quot;you're not supposed to be using key auth&quot;* as I am *&quot;I don't know&quot;* I'd never get an actual answer." CreationDate="2011-01-19T08:53:55.983" UserId="29" />
  <row Id="7475" PostId="6023" Text="@Juliano Point taken - but using a shell glob &quot;*.file_ext&quot; risks an &quot;argument list too long error&quot;, whereas the error risks from &quot;\ls -1 | pipeline...&quot; are minimal - it's a more pragmatic solution." CreationDate="2011-01-19T08:58:47.977" UserId="3646" />
  <row Id="7476" PostId="6098" Text="Does this work in `zsh`?" CreationDate="2011-01-19T10:47:07.313" UserId="252" />
  <row Id="7477" PostId="6096" Score="1" Text="@mmckinst any chance this works in zsh?" CreationDate="2011-01-19T10:56:25.117" UserId="29" />
  <row Id="7478" PostId="6104" Text="@dogbane any chance @mmckinst answer works in zsh? or something like it? or perhaps any command that includes the command `| somecommand`" CreationDate="2011-01-19T10:57:38.597" UserId="29" />
  <row Id="7479" PostId="6104" Text="AFAIK there is no equivalent of bash's HISTIGNORE in zsh." CreationDate="2011-01-19T11:01:52.357" UserId="872" />
  <row Id="7480" PostId="6043" Text="You don't need `exec` there -- go read some manpages and/or books about shell scripting." CreationDate="2011-01-19T11:22:42.613" UserId="1946" />
  <row Id="7481" PostId="6086" Text="This is not entirely correct. In shell-scripts (Bash, Zsh) you can locate the binary using the first command line argument (i.e `$0`). In Python it is `sys.argv[0]`." CreationDate="2011-01-19T11:27:51.613" UserId="250" />
  <row Id="7482" PostId="6036" Score="2" Text="+1, sequence with wget is fresh." CreationDate="2011-01-19T11:29:21.813" UserId="2573" />
  <row Id="7483" PostId="6037" Score="1" Text="+1 for wajig install" CreationDate="2011-01-19T11:30:52.437" UserId="2573" />
  <row Id="7484" PostId="6077" Text="This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution." CreationDate="2011-01-19T13:06:14.140" UserId="3772" />
  <row Id="7485" PostId="5958" Text="Thanks, @Gilles. I didn't know you could place bounties on other people's questions." CreationDate="2011-01-19T13:40:55.890" UserId="2180" />
  <row Id="7486" PostId="5651" Text="&quot;crle&quot; is both risky and somewhat overkill as the binary won't work out of the box on other OS instances unless you run crle on all of them. The recommended way is to set the run path in one or other methods suggested in the other reply." CreationDate="2011-01-19T13:46:06.113" UserId="2594" />
  <row Id="7487" PostId="6082" Text="Awesome, its working perfectly now. Thanks!" CreationDate="2011-01-19T13:49:34.057" UserId="379" />
  <row Id="7488" PostId="6077" Text="The OP edited that in after my answer." CreationDate="2011-01-19T13:52:59.283" UserId="3069" />
  <row Id="7489" PostId="6113" Score="2" Text="In is not true in interactive mode in which the expansion is usually used. In interactive mode you may want to use shell specific features and those usually are important part of your choice (I use brace expansion in zsh). To lesser extend bash seems to be de facto standard and while in some places you can use bashisms; in others you want to keep compability with larger number of shells." CreationDate="2011-01-19T13:55:30.480" UserId="305" />
  <row Id="7490" PostId="6113" Score="1" Text="That is bull. Bashism are not bad at all, unless they are used in scripts that are meant to be portable, like scripts that belong to a multi-platform package. Brace expansion is pretty unlikely to be used in a script." CreationDate="2011-01-19T13:56:31.250" UserId="272" />
  <row Id="7491" PostId="6104" Text="@xeno zsh provides a hook function `preexec` that can be used for that. If it returns non-zero the command is not saved in history." CreationDate="2011-01-19T14:20:20.713" UserId="3082" />
  <row Id="7492" PostId="6120" Text="what is disown for? what if I run without it?" CreationDate="2011-01-19T15:09:56.693" UserId="3968" />
  <row Id="7493" PostId="6121" Text="what if I log out? the script should continue running." CreationDate="2011-01-19T15:13:57.877" UserId="3968" />
  <row Id="7494" PostId="6120" Text="@Marcel, `disown` removes the last job from the shell job table, making it sort of a daemon, like you asked. It is not a real daemon because it is still attached to terminal and is in the same process group, but it will keep running after you close the shell. " CreationDate="2011-01-19T15:14:48.013" UserId="1627" />
  <row Id="7495" PostId="6120" Text="okay great, that would work :D Just for curiosity how would i &quot;make&quot; a daemon?" CreationDate="2011-01-19T15:24:29.270" UserId="3968" />
  <row Id="7496" PostId="6120" Text="@Marcel the simple way is to call [daemon(3)](http://linux.die.net/man/3/daemon) from C or other language with library access (not from a shell script). [This is the hard way](http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html)." CreationDate="2011-01-19T15:35:58.383" UserId="1627" />
  <row Id="7497" PostId="6090" Text="Better than `argv[0]` is to do a `readlink()` to `/proc/self/exe`, when this file is available. If that fails, then you check `argv[0]` and `$PATH`." CreationDate="2011-01-19T15:44:32.253" UserId="1627" />
  <row Id="7498" PostId="6125" Text="thanks. is that what's called ASCII protocol?" CreationDate="2011-01-19T16:18:06.930" UserId="2657" />
  <row Id="7499" PostId="6129" Text="Yea, that was it.  Had no idea one could do that.  Thanks!" CreationDate="2011-01-19T16:23:31.227" UserId="3974" />
  <row Id="7500" PostId="6130" Text="Thanks, this would have been a nice solution as well." CreationDate="2011-01-19T16:41:12.453" UserId="3974" />
  <row Id="7501" PostId="6086" Score="2" Text="@phunehehe: There's no (portable) guarantee that `argv[0]` is the full path." CreationDate="2011-01-19T16:47:38.060" UserId="1779" />
  <row Id="7502" PostId="6125" Text="can be called so but mostly prefered as 'plain-text protocols'. ASCII is more of a character-encoding definition while plain-text means text that's unencrypted and that can be followed by naked eye." CreationDate="2011-01-19T17:05:01.060" UserId="3972" />
  <row Id="7503" PostId="6126" Score="1" Text="1. Why are you using backslash? 2. Why are you use dtatch instead of (arguably wider known and easier to use) screen or tmux? 3. Wouldn't it be better to open shell session inside the dtach session in which there would be vim session? Sometimes full-screen applications gets confused by changing screen size and suspend (&lt;kbd&gt;C-z&lt;/kbd&gt;) and resume (`fg`) fix it." CreationDate="2011-01-19T17:44:27.410" UserId="305" />
  <row Id="7504" PostId="6106" Text="in theory this should always make the connection established? i will try `ClientAliveInterval`" CreationDate="2011-01-19T17:53:18.197" UserId="3947" />
  <row Id="7505" PostId="6126" Text="I use `tmux`. I would like to learn `dtach` so that I can learn it and use it in combination with `dvtm`." CreationDate="2011-01-19T17:56:07.143" UserId="1390" />
  <row Id="7506" PostId="6138" Score="1" Text="No. That's not the question." CreationDate="2011-01-19T18:09:57.600" UserId="1390" />
  <row Id="7507" PostId="6090" Score="1" Text="@Juliano: This works for Linux, but not all flavors of Unix have a /proc" CreationDate="2011-01-19T18:17:48.510" UserId="31" />
  <row Id="7508" PostId="6090" Text="@Juliano: Indeed `/proc/self/exe` is another possibility on Linux, though I'm not sure if it's always preferable. If you invoke a program through a symbolic link, `/proc/self/exe` links directly to the target, which is not always desirable." CreationDate="2011-01-19T18:28:18.450" UserId="885" />
  <row Id="7509" PostId="6140" Text="Oh, and you can put all these on a separate disk or partition if you like, for security or whatever.  The idea is that you can umount /usr and the system will have all it needs for basic functioning, but it can't run any non-system applications." CreationDate="2011-01-19T19:16:46.347" UserId="3389" />
  <row Id="7510" PostId="5723" Text="Was this a hardcover book, softcover, or did it have special binding from a University print shop (Ring binder, etc.)? I work at a computer research facility in Berkeley, and my coworkers have many old Unix books on display. Some of the more common books were printed on cheap binding at the local University print shop." CreationDate="2011-01-19T19:35:51.720" UserId="4" />
  <row Id="7511" PostId="6115" Text="`ps -ef` shows all foreground processes for me. Which OS are you running on?" CreationDate="2011-01-19T19:49:44.613" UserId="3309" />
  <row Id="7512" PostId="6117" Text="`ps - ef` shows all processes, not just ones on &quot;this&quot; terminal." CreationDate="2011-01-19T19:51:12.787" UserId="3309" />
  <row Id="7513" PostId="6146" Text="Incidentally, how do I make `ctrl+L` look like a keyboard button?" CreationDate="2011-01-19T20:07:48.627" UserId="3309" />
  <row Id="7514" PostId="6146" Text="&lt;kbd&gt; element will give you the cool button thing, but not on comments.&#xA;&#xA;On another note, I had already tried `ctrl+L`, but it did not work, but you still get a +1 for a great suggestion." CreationDate="2011-01-19T20:09:30.637" UserId="1390" />
  <row Id="7515" PostId="6090" Text="Do binary distributed programs actually use argv[0] to get the install prefix? I mean, this even does not work when the binary is called via a symbolic link. Usually, binary programs are distributed via package managers, such that there is not a problem to compile-in the installation prefix. I noticed a binary distribution of some program (ghc), where the installer installed a wrapper shell script /usr/bin/foo which called the real foo with the install prefix as parameter. Similar, an installer could binary patch a proprietary distributed application with the correct installation prefix." CreationDate="2011-01-19T21:29:07.397" UserId="1131" />
  <row Id="7516" PostId="6151" Text="I tried `dtach -a dtach-pipe -r winch` and that did not seem to re-attach my vim session, either, but if I use the `-r winch` option on creation (`-c`), it does work. Now the question is, if I forget to use `-r winch` can I get my `dtach` session back?" CreationDate="2011-01-19T21:38:42.243" UserId="1390" />
  <row Id="7518" PostId="6137" Text="I see.. Do you know if there's a list somewhere of USB-to-VGA adapters known to work on recent distributions? Google returns lots of dated and incomplete informations.. :/" CreationDate="2011-01-19T23:07:03.533" UserId="1194" />
  <row Id="7519" PostId="6148" Text="worked a treat - on my laptop (1.4 core2) it took cpu usage down from a constant 20% to 3% :D. Thankyou!" CreationDate="2011-01-19T23:40:11.157" UserId="3984" />
  <row Id="7520" PostId="6137" Text="List in kernel sources (choose appropiate version) should give rough idea what kernel devs thinks should work." CreationDate="2011-01-19T23:43:52.197" UserId="305" />
  <row Id="7521" PostId="359" Text="@Avery Payne, @xenoterracide: my current `/boot` under ubuntu 10.10 is 463MB.  This is an old install that's been upgraded since kernel 2.6.22.  I guess Ubuntu's package management doesn't delete old kernels for some reason.  This was an ubuntustudio install at one point, so for a lot of the kernels I have both `-generic` and `-rt` versions. Also, there is a backup of each of the ~8MB initrd files.  Obviously this problem is easily resolved for someone who knows what's going on.  Maybe they don't delete old kernels unless `/boot` is full?" CreationDate="2011-01-20T01:04:25.180" UserId="1535" />
  <row Id="7522" PostId="6101" Text="In that case I'd bet the behavior is all default.  If you really weren't supposed to be using key auth, then you wouldn't be able to get in that way.  ;)" CreationDate="2011-01-20T01:22:24.250" UserId="3629" />
  <row Id="7523" PostId="6132" Score="1" Text="sounds like your bind config was broken, the servers you were forwarding to were, or your bind was. No offense, but I've never had a problem with non cached requests. Only time I've had a problem is when something else was going on" CreationDate="2011-01-20T02:13:32.263" UserId="29" />
  <row Id="7524" PostId="6146" Text="Bummer, I was hoping that was it ;-)" CreationDate="2011-01-20T02:18:12.527" UserId="3309" />
  <row Id="7525" PostId="5460" Text="@tshepang how about I downvoted it because because [You should only ask practical, answerable questions based on actual problems that you face](http://blog.stackoverflow.com/2011/01/real-questions-have-answers/), and I can't see this as an actual problem you're facing." CreationDate="2011-01-20T02:22:35.370" UserId="29" />
  <row Id="7526" PostId="6123" Text="You cannot use telnet over &quot;any TCP port.&quot;  You can use it over any TCP connectin *where the other side accepts text in its protocol handling*.  (However it is true that many traditional protocols are text based and thus allow the use of telnet for debugging and similar purposes)." CreationDate="2011-01-20T03:26:09.307" UserId="1036" />
  <row Id="7527" PostId="6126" Text="@Gilles thanks for adding the *dtach* tag. I would have if I had enough rep." CreationDate="2011-01-20T04:04:04.767" UserId="1390" />
  <row Id="7528" PostId="6160" Score="1" Text="Try this first: `cd /usr/ports &amp;&amp; make clean`, then `cd /usr/ports/ports-mgmt/portsnap &amp;&amp; make install clean`, then `portsnap fetch update`, then try to upgrade apache." CreationDate="2011-01-20T04:30:12.273" UserId="3226" />
  <row Id="7531" PostId="6165" Score="1" Text="+1 exactly.  If a pipeline isn't doing what you expect, test each part separately." CreationDate="2011-01-20T05:20:19.027" UserId="3169" />
  <row Id="7533" PostId="6162" Score="2" Text="From what I see, the difference *is* immediately obvious. `echo -n &quot;bar&quot;` gives &quot;bar&quot;, while `echo &quot;bar&quot; -n` gives &quot;bar -n&quot;" CreationDate="2011-01-20T05:42:52.193" UserId="250" />
  <row Id="7534" PostId="6138" Text="@kzh: okay, okay!  what's with this minus thing?  was it really necessary? :)" CreationDate="2011-01-20T06:01:29.383" UserId="1946" />
  <row Id="7536" PostId="6072" Text="Thanks, this works good except that gpg does not support --multiple key with --symmetric option (I want to encrypt only using passphrase)." CreationDate="2011-01-20T06:56:56.080" UserId="3934" />
  <row Id="7537" PostId="6102" Text="I found this to be the solution. It is not flexible and requires a lot of resources to tar and gpg date. Thanks for the answer!" CreationDate="2011-01-20T06:57:18.140" UserId="3934" />
  <row Id="7538" PostId="604" Score="2" Text="`less` is more than `more`, more or less, `more` is less than `less`. ;-)" CreationDate="2011-01-20T08:02:36.623" UserId="4002" />
  <row Id="7540" PostId="6168" Text="upvote since you're the only one to mention that's the expected getopt behavior." CreationDate="2011-01-20T08:41:17.657" UserId="4004" />
  <row Id="7541" PostId="5544" Text="Thank you all for your answers. I won't be able to test this for a while so I can't accept an answer yet, but I'll award [tmow's answer](http://unix.stackexchange.com/questions/5544/how-to-lock-one-mouse-keyboard-pair-to-each-screen/5842#5842) for quoting a bit more" CreationDate="2011-01-20T08:44:25.860" UserId="863" />
  <row Id="7542" PostId="5842" Text="thanks. however the first link is XFree86 related, does it still work with X11? Also, you miss-pasted the Arch link..." CreationDate="2011-01-20T08:45:06.670" UserId="863" />
  <row Id="7543" PostId="1354" Text="P.S. I was really looking for a script. That would have worked natively within unix." CreationDate="2011-01-20T08:56:41.460" UserId="1270" />
  <row Id="7544" PostId="1989" Text="Thank you for your answer however I was really looking for a script. That would have worked natively within OpenSuse." CreationDate="2011-01-20T08:57:24.080" UserId="1270" />
  <row Id="7545" PostId="6158" Text="Thank you for your answer however I was really looking for a script. That would have worked natively within OpenSuse." CreationDate="2011-01-20T08:58:27.103" UserId="1270" />
  <row Id="7546" PostId="5723" Text="@Stefan: If my memory serves, it was a standard black softcover, not university press." CreationDate="2011-01-20T09:06:33.037" UserId="2496" />
  <row Id="7547" PostId="6155" Text="I use Zsh and I have `setopt share_history` in `/etc/zsh/zshrc` so this problem should never happen to me :P" CreationDate="2011-01-20T09:11:27.867" UserId="250" />
  <row Id="7548" PostId="5460" Text="@xeno Considering that that post was published *after* your down-vote, is it what you had in mind?" CreationDate="2011-01-20T09:14:24.627" UserId="688" />
  <row Id="7549" PostId="6106" Text="This works great!!!! havn't disconnected for 24 hours, where normally breaks every hour." CreationDate="2011-01-20T09:34:09.740" UserId="3947" />
  <row Id="7550" PostId="5964" Text="On the command-line, what does `zypper lr`, `zypper -vv ref` and `zypper -vv up -D` say?" CreationDate="2011-01-20T09:45:17.097" UserId="3069" />
  <row Id="7551" PostId="5460" Text="@tshepang I think my generalized thought was that, this really is not a problem. But it's not offtopic either... which is why it wasn't closed. In all fairness this was me as a person, not as a moderator, saying I don't like this question and I don't think it's a good one." CreationDate="2011-01-20T09:56:35.607" UserId="29" />
  <row Id="7552" PostId="6168" Text="@jander why is echo a &quot;holdout&quot;? I think it's a gnu coreutil?" CreationDate="2011-01-20T10:25:52.973" UserId="29" />
  <row Id="7553" PostId="5842" Text="Yes, sure, it applies also to X.org. Sorry for the mistake, I've fixed it and actually that link should explain you much better a multi-seat configuration" CreationDate="2011-01-20T10:51:18.913" UserId="3372" />
  <row Id="7556" PostId="6174" Text="Added amazon link so you can see that it has a black cover ;-)" CreationDate="2011-01-20T11:29:25.527" UserId="286" />
  <row Id="7557" PostId="6174" Text="Quite fancy this book myself, it uses the popular dungeon-exploration game &quot;rogue&quot; in its examples :-D" CreationDate="2011-01-20T11:39:55.510" UserId="286" />
  <row Id="7558" PostId="6170" Text="Not really a tutorial, but I'd consider installing Emacs Starter Kit--I find it really useful." CreationDate="2011-01-20T11:54:43.303" UserId="1946" />
  <row Id="7559" PostId="6102" Text="@gladimdim: thanks for accepting, but what do you mean by &quot;not flexible&quot; and &quot;lot of resources&quot;?  Or was there a typo?" CreationDate="2011-01-20T11:59:49.720" UserId="1946" />
  <row Id="7560" PostId="6174" Text="@Rob: The examples look surprisingly familiar, but I can't read the Google eBook from outside of the US :( Is there some sample content somewhere?  Looks promising, though." CreationDate="2011-01-20T12:08:25.460" UserId="2496" />
  <row Id="7565" PostId="6177" Text="There *can* be if it's exactly two and at the beginning; [A pathname that begins with two successive slashes may be interpreted in an implementation-defined manner](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11). In practice I think this is right and they just get ignored" CreationDate="2011-01-20T00:22:13.160" UserId="73" />
  <row Id="7566" PostId="6177" Text="Thanks Chris, I appreciate the clarification! (unfortunately the OpenID login isn't working for me or I would vote you up)" CreationDate="2011-01-20T00:23:11.357" />
  <row Id="7567" PostId="6177" Text="@Rob You're unregistered, but still logged in (you're tracked by your cookie). You should be able to register now to connect an OpenID to your account, but you should be able to vote either way" CreationDate="2011-01-20T00:28:19.647" UserId="73" />
  <row Id="7568" PostId="6177" Text="Thanks Michael but &quot;you have to be log in or register to vote&quot;.  When you use just an email address and name you don't have full privileges.  And since OpenID is timing out and I don't feel like creating another account, I'm out of luck.  My fault for being lazy I guess, but I appreciate the help. " CreationDate="2011-01-20T00:35:08.003" />
  <row Id="7569" PostId="6178" Score="3" Text="Cygwin (while not a real UNIX) does translate `//remote/...` to remote filesystem access, probably for consistency with Windows' `\\remote\...`." CreationDate="2011-01-20T00:33:47.110" UserId="1779" />
  <row Id="7570" PostId="6178" Text="I believe (but can't google up a good reference right now) that Windows POSIX compat APIs will also treat `//remote/...` the same as the UNC path `\\remote\...` format." CreationDate="2011-01-20T00:39:50.007" UserId="1986" />
  <row Id="7571" PostId="6178" Text="I think I recall that Boost.Filesystem's portable pathnames handle `//` in a special way, in that they may test `false` for being absolute, conforming to the Unix/POSIX spec." CreationDate="2011-01-20T00:52:49.107" />
  <row Id="7572" PostId="6101" Text="@Jander probably ;) and that's been my opinion when people have said that. I think truthfully what the mean is you aren't supposed be using keyauth with a a passphrase, because too many people do that, instead of like me, who uses `keychain` I can type the password once a day, more than that is nuts." CreationDate="2011-01-20T12:56:47.430" UserId="29" />
  <row Id="7573" PostId="6174" Text="I'm outside the US too and can only see snippets when searching by keywords.  I suspect the full book isn't on Google books.No ebooks or PDFs around that I can find, but you should be able to pick up a secondhand dead tree version from that Amazon link I posted." CreationDate="2011-01-20T12:58:50.857" UserId="286" />
  <row Id="7574" PostId="6147" Text="@ken: I did try it but that doesn't work." CreationDate="2011-01-20T13:01:42.710" UserId="1267" />
  <row Id="7575" PostId="5916" Text="@balki you *might* be able to share `/usr` between two very similar distro's, though I wouldn't try it unless you know what you are doing, and you are prepared for the experiment to fail in a way that makes the computer not boot, or eat your data. Also be advised that many of the big differences between 10.04 and 10.10 will be in `/usr`" CreationDate="2011-01-20T13:23:30.270" UserId="29" />
  <row Id="7576" PostId="6172" Score="1" Text="I wonder why Red Hat and the like never try to get certified. I mean I know why Debian doesn't." CreationDate="2011-01-20T13:24:44.763" UserId="29" />
  <row Id="7580" PostId="6174" Text="Tested Google Books from a US machine I have remote access to.  Still no dice getting a PDF version, but I'm convinced its the book you want." CreationDate="2011-01-20T13:40:38.230" UserId="286" />
  <row Id="7581" PostId="6182" Score="4" Text="Curiously, why you looking for alternatives?" CreationDate="2011-01-20T14:11:46.370" UserId="688" />
  <row Id="7582" PostId="6184" Text="feel free to modify this with links to your distro" CreationDate="2011-01-20T14:20:11.067" UserId="29" />
  <row Id="7583" PostId="6182" Text="@tshepang more or less so I can say to an even stronger degree that I don't use GNU wares and thus it's not `GNU Linux` and also just to make my cli usage more robust." CreationDate="2011-01-20T14:22:11.517" UserId="29" />
  <row Id="7584" PostId="6183" Text="@jsbillings how would I go about installing BSD tools on a Linux distro? where would I get them?" CreationDate="2011-01-20T14:22:43.000" UserId="29" />
  <row Id="7585" PostId="6182" Text="@xeno &quot;More robust&quot;? Also keep in mind that your system (including kernel) is largely built with GCC and depends on GLibC :)" CreationDate="2011-01-20T14:24:48.490" UserId="688" />
  <row Id="7586" PostId="6184" Text="also, this is a favorite on embedded, so though an alternative it's probably not going to be enough to replace GNU for my desktop/server environment" CreationDate="2011-01-20T14:27:13.710" UserId="29" />
  <row Id="7587" PostId="6182" Text="@tshepang there's [uclibc](http://www.uclibc.org/) which IIRC ubuntu or debian was switching to at some point, but I could be wrong. `gcc` is one of the few things I can't think of any alternatives for. I don't really consider `busybox` a *viable* alternative for me, but it is one that I know." CreationDate="2011-01-20T14:30:48.943" UserId="29" />
  <row Id="7588" PostId="6182" Score="1" Text="@xeno Debian is actually now using [EGLIBC](http://www.eglibc.org/home), which sort of a fork of GLibC. But it follows GLibC closely, so the diff ain't that big." CreationDate="2011-01-20T14:41:57.317" UserId="688" />
  <row Id="7589" PostId="5929" Text="@steven not for me :( it long gives a long listing like that, for me, with symlinks." CreationDate="2011-01-20T14:43:09.107" UserId="29" />
  <row Id="7590" PostId="5929" Text="@steven what version are you using? I'm using *2.18*" CreationDate="2011-01-20T14:44:43.303" UserId="29" />
  <row Id="7591" PostId="6182" Text="@tshepang maybe that's what I'm thinking of. fork or no if it's not a GNU project, it must not be GNU." CreationDate="2011-01-20T14:47:39.550" UserId="29" />
  <row Id="7592" PostId="6182" Text="Both Clang and tcc could (at one time, anyway) compile the Linux kernel." CreationDate="2011-01-20T15:01:57.103" UserId="2180" />
  <row Id="7594" PostId="6183" Text="FreeBSD's entire OS is available via CVS http://www.freebsd.org/cgi/cvsweb.cgi/src/, however, getting the BSD userland to compile under a Linux kernel would be rather difficult.  GNU's userland is probably more portable than BSD, since GNU's userland (at least at the beginning) was built to be portable between multiple kernels." CreationDate="2011-01-20T15:32:34.893" UserId="3976" />
  <row Id="7595" PostId="6150" Text="you should post your edit as answer and accept it so this question doesn't look unsolved anymore" CreationDate="2011-01-20T15:43:39.213" UserId="863" />
  <row Id="7596" PostId="6189" Text="sorry but the announcement is like a book. I have to read and grok, before I can really include more here." CreationDate="2011-01-20T15:56:58.520" UserId="29" />
  <row Id="7597" PostId="6168" Text="@xeno: I've updated my answer.  Basically, GNU didn't want to break things." CreationDate="2011-01-20T16:16:06.603" UserId="3629" />
  <row Id="7600" PostId="6172" Text="The point is, why to spend money for a certification when customers don't ask for it?" CreationDate="2011-01-20T16:42:01.127" UserId="3372" />
  <row Id="7601" PostId="6183" Text="@jsbillings that sounds like a PITA, sure if it's reasonably possible someone somewhere has packaged it at least once for linux." CreationDate="2011-01-20T16:46:01.873" UserId="29" />
  <row Id="7603" PostId="6183" Text="Solaris (as of 140-something is also available) would also be an option. If you are using a distro you are crazy. Stop now. If you are using [LFS](http://www.linuxfromscratch.org/), rock on! Have fun! If you are making a distro, I applaud your bravery sir." CreationDate="2011-01-20T16:49:56.450" UserId="3309" />
  <row Id="7604" PostId="6174" Score="1" Text="So, I can't find an online version of the book, but I did find a site that allows you to search the content and return page numbers. (http://hdl.handle.net/2027/mdp.39015034661036).  It would seem from that link, that there is an example with students and grades around page 242." CreationDate="2011-01-20T16:50:41.567" UserId="1207" />
  <row Id="7605" PostId="6147" Text="Were you able to get the image written to the usb? When you explore the usb does it show various files associated to the image or is it blank? Did you you change the boot order so it boots from USB first? I'm sorry but *'that doesn't work'* isn't descriptive enough to pinpoint the issue." CreationDate="2011-01-20T16:53:34.590" UserId="3455" />
  <row Id="7606" PostId="6183" Text="Yeah, I'm not sure it's even possible.  It'd probably be easier to just install FreeBSD and enable linux compatibility.  You can easily get the GNU coreutils working under FreeBSD, but not vice-versa." CreationDate="2011-01-20T16:53:38.427" UserId="3976" />
  <row Id="7607" PostId="6194" Text="this isn't a question about &quot;which distro&quot; can I use, it's about replacing coreutils on Linux. Unless you're referring to opensolaris coreutils? also is this less of a PITA than the FreeBSD option?" CreationDate="2011-01-20T16:56:38.517" UserId="29" />
  <row Id="7608" PostId="5929" Text="I'm actually using an older version: 2.17.  What happens when you run it on an easy test case with no symlinks--being sure to pass it the full path name?  Also, does your `man namei` shed any light on this? " CreationDate="2011-01-20T16:57:12.090" UserId="1207" />
  <row Id="7609" PostId="6194" Text="The source code for OpenSolaris is just Solaris. The Solaris source code up until svn_14x was released by Sun/Oracle under CDDL. There are basically three main heritages for Unix userland. &quot;Genetic&quot; Unix (Solaris, AIX, True64, etc., which came from AT&amp;T code and is largely closed, but Solaris was open for a time), BSD (which finally stood on it's own as of 4.4-lite) and GNU. But I think that moving away from GNU will be equally difficult (or easy) wether you go with BSD or Solaris. Or you can get really ambitious and make xenocore-utils ;-)" CreationDate="2011-01-20T17:06:33.610" UserId="3309" />
  <row Id="7610" PostId="6190" Text="Can you explain the last sentence a bit." CreationDate="2011-01-20T17:44:51.030" UserId="688" />
  <row Id="7611" PostId="6189" Text="How is this better than @John's answer? Is it a placeholder? A promo of *H Online*?" CreationDate="2011-01-20T17:46:30.213" UserId="688" />
  <row Id="7612" PostId="6190" Score="1" Text="PulseAudio is a much-maligned sound system (http://www.pulseaudio.org/), originally written by Lennart Poettering, the author of systemd.  I was mostly making a joke here, because I know several people who like to complain about pulseaudio and I'm sure they'd complain about systemd too.  Honestly, I haven't had a problem with either systemd or pulseaudio." CreationDate="2011-01-20T17:48:06.413" UserId="3976" />
  <row Id="7613" PostId="6196" Text="There are a lot of details you left out here.  When you say &quot;could not access&quot;, what errors are you seeing?  Perhaps you should take a look at your /var/log/httpd/error_log to see if there are any errors?" CreationDate="2011-01-20T18:03:09.083" UserId="3976" />
  <row Id="7614" PostId="6189" Text="@tshepang well it actually links to the announcement of system d and the h online stuff has links to that and other interesting links. it's a long tedious read. I might add more once I've groked it... this is not a *simple* subject. when I wrote this I figured you might want to start reading sooner than later. but feel free to mod me down. certainly @jsbillings answer is decent, and better than mine so far. but not as good as reading the announcement itself" CreationDate="2011-01-20T18:03:33.947" UserId="29" />
  <row Id="7615" PostId="6189" Text="@tshepang I will probably add more tomorrow, after bed. h online stuff was just me being a good journalist and citing my sources." CreationDate="2011-01-20T18:05:40.433" UserId="29" />
  <row Id="7616" PostId="6196" Text="The only error messsages in error_log was because I had both wordpress and drupal in html:&#xA;    _default_ VirtualHost overlap on port 80, the first has precedence.    &#xA;  and sorry for the vagueness, and I worded that -really- poorly. When I go to redHatIP I see the following error message:&#xA;   The requested URL / was not found on this server." CreationDate="2011-01-20T18:11:29.923" UserId="4020" />
  <row Id="7617" PostId="6168" Text="One should also note that even if you have GNU coreutils, `echo` is usually implemented as a shell builtin and you will be using that--not that it really changes anything said above." CreationDate="2011-01-20T18:16:48.747" UserId="1207" />
  <row Id="7618" PostId="6138" Text="It wan't me. What's with this assuming thing? Notice how I do not have a &quot;Critic&quot; badge on my profile." CreationDate="2011-01-20T18:23:17.440" UserId="1390" />
  <row Id="7619" PostId="6201" Text="&quot;apache&quot; is the name of the software foundation. &quot;httpd&quot; is the name of the product Apache HTTP Daemon. What you are trying to build is the httpd-2.2.17 (the same name you should have found in the tarball you downloaded from the FTP), and not apache-2.2.17 (which doesn't exist)." CreationDate="2011-01-20T18:34:00.417" UserId="1627" />
  <row Id="7623" PostId="6209" Text="I'm more concerned with the issue being a symptom of a bigger problem than with avoiding it.  Why would `cfdisk` reach the conclusion that a partition table as produced by a manufacturer was invalid?" CreationDate="2011-01-20T19:42:34.960" UserId="1535" />
  <row Id="7624" PostId="6209" Text="Not every operating system, filesystem or partition tool do handle geometry information like `(c)fdisk` does. As your `sfdisk -l` implies, the partition is formated NTFS, which (could) lead to the conclusion, that this drive was mainly produced and partitioned for the Windows world (so why care about the cylinder interpretation of a Linux partition tool?)." CreationDate="2011-01-20T19:59:11.090" UserId="3069" />
  <row Id="7625" PostId="6160" Text="Thanks for your response. I was able to update apache22 and php5.3.5. although /usr/ports/ports-mgmt/portsnap &amp;&amp; make install clean gave me this error:&quot;portsnap-1.1 is now contained in the base system&quot;. but I did portsnap fetch update anyway then updated apache22 and php5 with make deinstall make reinstall. However now I got a different kind of error when I try to install php5-pdo_mysql." CreationDate="2011-01-20T20:23:56.353" UserId="3927" />
  <row Id="7626" PostId="6160" Score="1" Text="I just did /usr/ports/databases/php5-pdo_mysql &amp;&amp; make deinstall and make reinstall and it worked!! thanks a bunch!!" CreationDate="2011-01-20T20:24:56.523" UserId="3927" />
  <row Id="7627" PostId="6160" Text="I'll upvote your answer as soon as I reaches 15 points! thanks!" CreationDate="2011-01-20T20:26:18.333" UserId="3927" />
  <row Id="7628" PostId="6202" Text="Thank You. Exactly what I was looking for." CreationDate="2011-01-20T20:53:51.620" UserId="4024" />
  <row Id="7629" PostId="6201" Text="Made some edits. Thanks" CreationDate="2011-01-20T20:58:17.967" UserId="4024" />
  <row Id="7630" PostId="6214" Score="1" Text="If there is any `_last_command_args` completions, the others aren't shown. How do you get them in addition to the usual ones?" CreationDate="2011-01-20T21:06:10.050" UserId="885" />
  <row Id="7631" PostId="2382" Text="[Cross-posted at Serverfault](http://serverfault.com/q/184211/48279). Note that since then, [cross-posting has been declared as against policy](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073)." CreationDate="2011-01-20T21:12:40.573" UserId="885" />
  <row Id="7632" PostId="6168" Score="1" Text="Accepting options after the first non-option is specific to [GNU](http://www.gnu.org/software) utilities and program using [GNU libc](http://www.gnu.org/software/libc/)'s [getopt](http://www.gnu.org/software/libc/manual/html_node/Getopt.html) facilities. The user can always get backward-compatible behavior by setting the environment variable `POSIXLY_CORRECT`." CreationDate="2011-01-20T21:29:17.697" UserId="885" />
  <row Id="7633" PostId="6168" Score="1" Text="For the specific case of `echo`, there are also implementations that recognize `-e` or `-E` as options. For portability, don't start with a `-` or use something like `printf %s -e`." CreationDate="2011-01-20T21:30:46.260" UserId="885" />
  <row Id="7634" PostId="6182" Text="There are people working on a [GNU userland on a BSD kernel](http://www.debian.org/ports/#nonlinux), but I haven't heard of the other way round. Really switching kernels would be easier. You can try it first in a VM if you're shy." CreationDate="2011-01-20T21:36:34.457" UserId="885" />
  <row Id="7635" PostId="6187" Text="The discussion on the [bug](https://bugs.launchpad.net/ubuntu/+source/meta-gnome2/+bug/521492) cited by Andrejs Cainikovs seems to suggest that “span” doesn't work as desired (the wallpaper is not dimensioned properly) in either lucid or maverick. Does your experience suggest otherwise? Does this depend on the dual monitor mechanism (Xinerama, Twinview, …)?" CreationDate="2011-01-20T21:56:16.070" UserId="885" />
  <row Id="7636" PostId="6147" Text="@ken: During the boot up it says, operating system missing." CreationDate="2011-01-20T22:06:51.537" UserId="1267" />
  <row Id="7638" PostId="6218" Text="I can take that! Thanks!" CreationDate="2011-01-20T22:36:47.247" UserId="4029" />
  <row Id="7639" PostId="5891" Text="Before I do anything does this give you any other ideas, my grub setup: title Winddows XP&#xA;             rootnoverify (hd1,0)&#xA;             map (hd0) (hd1)&#xA;             map (hd1) (hd0)&#xA;             chainloader +1&#xA;I can post my actual configuration tomorrow maybe.." CreationDate="2011-01-20T23:41:20.157" UserId="3811" />
  <row Id="7640" PostId="2945" Text="I usually do such 'experiments' in my Arch VM. If it bombs I just roll it back." CreationDate="2011-01-20T23:47:39.070" UserId="3038" />
  <row Id="7641" PostId="5891" Text="@DemiSheep: Since the Linux kernel starts, your configuration of Grub is ok. It's the configuration of the Linux system (kernel command line), which is also stored in the Grub configuration file, that needs to be changed for your disk arrangement." CreationDate="2011-01-20T23:52:38.127" UserId="885" />
  <row Id="7642" PostId="4113" Text="'zsh: sure you want to delete all the files in / [yn]?' - it's quite useful" CreationDate="2011-01-21T00:04:32.507" UserId="3038" />
  <row Id="7643" PostId="6221" Text="Ohh thanks, that's it!" CreationDate="2011-01-21T00:14:42.437" UserId="1068" />
  <row Id="7646" PostId="6182" Text="The Glendix project is trying to build a Plan9/Linux distro, but it seems to be far from usable and it requires kernel patches, so it's not a valid answer to your question." CreationDate="2011-01-21T01:09:20.233" UserId="3038" />
  <row Id="7648" PostId="6190" Text="@jsbillings the system daemon patch isn't that much of a disadvantage, since daemons that don't do it will still work" CreationDate="2011-01-21T01:50:40.087" UserId="29" />
  <row Id="7649" PostId="6147" Text="It seems there's an issue with writing the image from what I gather. Did you make the USB bootable as pointed out in the tutorial (bottom of the page)? If that fails, I'd recommend http://unetbootin.sourceforge.net/ as applies to all Linux based distros. " CreationDate="2011-01-21T01:58:10.700" UserId="3455" />
  <row Id="7650" PostId="6214" Score="1" Text="Thanks for the answer, this got me close enough to get something working for me, so I'm accepting it.  What I did differently is noted as an update to the question above.  Your solution didn't print out both the arguments from the last command as well as files, etc from the normal completer.  I composed `_complete` inside the function I created and it works just like I wanted it to." CreationDate="2011-01-21T05:02:14.587" UserId="3360" />
  <row Id="7652" PostId="6138" Text="@kzh: yeah, my ego must be speaking for me :p  Take no offense from it :)" CreationDate="2011-01-21T08:01:10.000" UserId="1946" />
  <row Id="7653" PostId="6174" Text="I guess I will have to get a used copy and check this out." CreationDate="2011-01-21T08:17:38.777" UserId="2496" />
  <row Id="7660" PostId="6239" Text="I was hoping to disable it, although it doesn't really matter (my box is so powerful the weight of bind for caching isn't an issue). This is partially a matter now of just learning something new. Not being able to get it to work is a bit annoying. " CreationDate="2010-04-10T01:56:00.247" UserId="29" />
  <row Id="7661" PostId="6240" Text="actually I do have this you just have to scroll the file in the question." CreationDate="2010-05-06T11:48:32.627" UserId="29" />
  <row Id="7662" PostId="6243" Text="but shouldn't other stuff besides dig appear to be using it? this is a desktop system. I know that some of the software (like my package manager) doesn't implement its own cache." CreationDate="2010-08-02T20:53:55.190" UserId="29" />
  <row Id="7663" PostId="6243" Text="Also outside of my ISP this is the only computer on the network ;) I'm just trying to avoid latency since my connection is slow." CreationDate="2010-08-02T20:55:05.500" UserId="29" />
  <row Id="7664" PostId="6243" Text="Other software should indeed hit the nscd cache. Just make sure you restart the software after starting nscd." CreationDate="2010-08-04T10:41:49.270" />
  <row Id="7665" PostId="6243" Text="I rebooted the system.... only software to seemingly attempt to use nscd was ntp." CreationDate="2010-08-05T04:01:14.273" UserId="29" />
  <row Id="7666" PostId="6200" Text="thanks for all your advices but the problem is that the version of my opensuse is 10.2 nad its python is 2.2 and doesn't have any mercurial package (I followed exactly your commands) so I need to add this package and also I couldn't find anything name package management ." CreationDate="2011-01-21T09:58:49.137" UserId="4023" />
  <row Id="7667" PostId="6217" Text="thanks for your commands which are really helpful for me but as I explained above I need another way to install python so would you please tell me if I can install python like a software not by packages?" CreationDate="2011-01-21T10:07:56.183" UserId="4023" />
  <row Id="7669" PostId="6173" Text="Great. Will try this first." CreationDate="2011-01-21T11:27:03.023" UserId="2274" />
  <row Id="7670" PostId="6219" Text="Unable to determine IP address from host name org-mode.org. Is that correct?" CreationDate="2011-01-21T11:27:30.607" UserId="2274" />
  <row Id="7673" PostId="6230" Text="I did the change (though I had no commented-out __UseDNS__ option), reset my ssh server, and still the same problem." CreationDate="2011-01-21T12:16:16.463" UserId="688" />
  <row Id="7675" PostId="6138" Text="None taken. By the way, I prefer `tmux`. :)" CreationDate="2011-01-21T13:24:40.787" UserId="1390" />
  <row Id="7676" PostId="6167" Text="xdpyinfo just detects one screen in my dual-monitor configuration (with a size which is the sum of both size, same thing as xwininfo -root). Is this normal?" CreationDate="2011-01-21T14:32:36.990" UserId="3967" />
  <row Id="7677" PostId="1330" Score="3" Text="When opening SSH to the internet, NEVER EVER allow password authentication. Only public/private key auth, that way you can't get caught off guard." CreationDate="2011-01-21T14:47:27.490" UserId="1447" />
  <row Id="7678" PostId="6219" Text="Sorry about that, should be orgmode.org.  I'll correct the answer." CreationDate="2011-01-21T14:58:59.490" UserId="2150" />
  <row Id="7679" PostId="6157" Text="Unfortunately these didn't work. :-( I just ended up running `history | grep convert` in all windows. I am disappointed, I wanted to accept another great answer by Gilles!" CreationDate="2011-01-21T15:08:11.897" UserId="1974" />
  <row Id="7680" PostId="6225" Text="this could be caused by a broken theme engine, if Qt is using the same GTK theme. Try changing the theme." CreationDate="2011-01-21T15:17:03.033" UserId="1627" />
  <row Id="7681" PostId="6225" Text="By the way, &quot;QT&quot; = &quot;QuickTime&quot; = Video technology from Apple; &quot;Qt&quot; = &quot;Cute&quot; = GUI cross-platform toolkit from Trolltech/Nokia" CreationDate="2011-01-21T15:17:56.867" UserId="1627" />
  <row Id="7682" PostId="6167" Text="@nbarraille: Depends on Zaphod mode.  The new style setup has a single screen that all the monitors are arranged in, but the classic layout was to have a separate screen per monitor." CreationDate="2011-01-21T15:46:22.457" UserId="1779" />
  <row Id="7683" PostId="6251" Text="I am using KDE. I did try the System Settings&gt;Display, changed it there and applyed &quot;Set to Defaults&quot; but it doesn't work and everytime I reboot, it resets to &quot;Clone&quot;" CreationDate="2011-01-21T16:21:23.473" UserId="3967" />
  <row Id="7684" PostId="6251" Text="I think the &quot;Set to Defaults&quot; option reverts any changes you've made.  It doesn't create a new default." CreationDate="2011-01-21T16:23:17.603" UserId="3447" />
  <row Id="7685" PostId="6251" Text="In the menu Save as Default, you have two options: Save as Default and Reset. I assumed that Set as Default should set the current configuration as Default." CreationDate="2011-01-21T16:26:47.160" UserId="3967" />
  <row Id="7686" PostId="6250" Text="That was my conclusion as well. I've decided to stick with screen for now, which is a shame, as other than this oversight, tmux seems pretty nice." CreationDate="2011-01-21T16:30:04.073" UserId="2459" />
  <row Id="7687" PostId="5218" Text="Btw, instead of `cat` you can use `evtest` which gives nicely parsed info." CreationDate="2011-01-21T16:57:40.277" UserId="3633" />
  <row Id="7688" PostId="5891" Text="I am confused on what to edit exactly - see these links and let me know what I should do: 1: ( http://i461.photobucket.com/albums/qq337/demisheep/1.jpg ) 2: ( http://i461.photobucket.com/albums/qq337/demisheep/2.jpg ) 3: ( http://i461.photobucket.com/albums/qq337/demisheep/3.jpg ) 4: ( http://i461.photobucket.com/albums/qq337/demisheep/4.jpg )" CreationDate="2011-01-21T17:38:35.183" UserId="3811" />
  <row Id="7690" PostId="6255" Text="@tshepang welcome to the world of learning another distro, and what the real differences are. :P p.s. you don't have to, but I leave questions unanswered for ~24 hours, it gives people a chance to review and upvote things, as peopled tend to look at answered things less I've found." CreationDate="2011-01-21T18:17:12.373" UserId="29" />
  <row Id="7691" PostId="6255" Text="@xeno I get it. Well... in this case the solution worked immediately. Not doubts :)" CreationDate="2011-01-21T18:20:56.633" UserId="688" />
  <row Id="7692" PostId="6255" Text="@tshepang, often they do, I just do it so everyone has a chance to earn points I don't *think* [this Q&amp;A](http://unix.stackexchange.com/q/5980/29) would have gotten the upvotes it did had I accepted the answer the 5 minutes after I was told the 1 wrong character I did. but as I've said, you can do this however you want, unlike accepting your own answer there's no limits on when you have to do a regular answer. It also gives people a chance to write even better answers." CreationDate="2011-01-21T18:27:40.917" UserId="29" />
  <row Id="7693" PostId="6255" Text="@xeno BTW I never hesitate to change Accepted answer whenever a nicer one pitches. Also, luckily Gilles doesn't care whether there already is an accepted answer or not." CreationDate="2011-01-21T18:30:25.933" UserId="688" />
  <row Id="7694" PostId="6255" Text="@tshepang right... I just started doing it because it seems to keep more people (maybe not @gilles) interested for longer. about 1 day  is the max though." CreationDate="2011-01-21T18:32:44.467" UserId="29" />
  <row Id="7695" PostId="5891" Text="Ugh!!  Ok, so I thought I had tested the ghosted drive, but it seems I didn't. I went ahead and tested the ghosted drive in the old machine and sure enough I am having the same problem so it seems the ghost failed. I am reghosting it now and will test it ont he same machine before moving it to the new machine. I'll send an update when this is done and I may end up starting a new thread depending on what issues I run into from there. Sorry for any inconvenience I may have caused." CreationDate="2011-01-21T19:03:08.243" UserId="3811" />
  <row Id="7697" PostId="6189" Text="@tshepang. I've updated my answer. pretty sure I'm done unless the helpful people on irc://frenode.net/systemd decide they want to offer up a correction of some kind." CreationDate="2011-01-21T19:20:33.377" UserId="29" />
  <row Id="7698" PostId="5877" Text="@keith iirc openrc simply uses SysV, the advantage is a well designed collection of startup scripts that use common components and are portable (meaning work on any shell) It's a good cleanup, but not really a new initd" CreationDate="2011-01-21T19:26:00.277" UserId="29" />
  <row Id="7699" PostId="6257" Text="this is not an answer... but do you have all your repos installed and configured? I mean does it have any any place to get packages from out of the box? some repo distro's don't set up any by default" CreationDate="2011-01-21T19:30:16.137" UserId="29" />
  <row Id="7700" PostId="6189" Text="Thanks for summarizing the info. Do you mind asking Lennart the rationale of what led you to think *Personally this sounds like the most pointless thing...*? It appears he answers all questions on that blog post (which is still getting comments many months later!)." CreationDate="2011-01-21T19:35:45.767" UserId="688" />
  <row Id="7701" PostId="6189" Text="@tshepang I tried to get the rational for the time based event system out of them last night, but it wasn't anything that made any sense to me. They talked about using it for things like `updatedb` and `logrotate` and other things in `/etc/cron.d/daily`, which sounds good for a desktop system, because I bet most desktop systems use only that. Though I suggested that all those might be better with some kind of fsnotify event handler anyways, than even running on time based." CreationDate="2011-01-21T19:38:57.167" UserId="29" />
  <row Id="7702" PostId="6257" Text="@xeno I am able to install packages." CreationDate="2011-01-21T19:40:03.857" UserId="688" />
  <row Id="7703" PostId="6189" Text="Were you talking with Lennart? Maybe re-ask on the post so that the info is more public?" CreationDate="2011-01-21T19:41:15.930" UserId="688" />
  <row Id="7704" PostId="6189" Text="@tshepang I'm not sure what his irc handle is, so I can't say who I was talking to, though I have logs. feel free to ask anyone else anything you want. I'm simply giving my opinions on a couple of things, which could merely display my ignorance more than an actual problem" CreationDate="2011-01-21T19:43:40.250" UserId="29" />
  <row Id="7705" PostId="6257" Text="@tshepang, k that was my only thought" CreationDate="2011-01-21T19:58:54.903" UserId="29" />
  <row Id="7706" PostId="6189" Text="@tshepang all I can say is event timings seem like an unnecessary feature that is opposite of one program to do one thing well. Perhaps comes from too much launchd love, and that network socket listening sounds like another attack surface to me. But if you really want more of &quot;why&quot; you'll have to read the origin, or ask them yourself." CreationDate="2011-01-21T20:07:56.293" UserId="29" />
  <row Id="7707" PostId="6257" Text="`sudo` was updated to version 1.7.4p5-1.fc14 on January the 17. Can you check with `rpm -qi sudo` which version (including release) you have and also include the output of `yum -v repolist`?" CreationDate="2011-01-21T20:32:45.250" UserId="3069" />
  <row Id="7709" PostId="6184" Text="This is the only practical solution atm, if you don't want to hack C. And busybox versions should be pretty standard conforming." CreationDate="2011-01-21T21:25:01.713" UserId="1131" />
  <row Id="7711" PostId="6268" Text="Even if you don't IIRC it will move as much data as possible. While it may damage cache &amp; co. it is sometimes useful." CreationDate="2011-01-21T22:32:57.960" UserId="305" />
  <row Id="7712" PostId="6270" Text="This same problem will affect Apple iPod Touch when battery completely loses its charge. Fortunately, the fix works on it too!" CreationDate="2011-01-21T23:43:32.837" UserId="4053" />
  <row Id="7713" PostId="6269" Text="Swap memory is, by definition, not cache. Dropping the caches is very unlikely to change anything in the swap. Also, it is preferable to use sysctl instead of directly writing over files in the proc filesystem. `sysctl vm.drop_caches=X`. Also, sysctl is easier to sudo." CreationDate="2011-01-21T23:59:40.067" UserId="1627" />
  <row Id="7714" PostId="6230" Text="@Tshe hmm, odd. The only speed problems I've ever had with SSH was due to this. " CreationDate="2011-01-22T00:49:22.840" UserId="3229" />
  <row Id="7715" PostId="6261" Score="1" Text="Related: http://unix.stackexchange.com/q/665/250" CreationDate="2011-01-22T02:10:10.960" UserId="250" />
  <row Id="7716" PostId="6261" Text="Can you post the entry in `grub.cfg`?" CreationDate="2011-01-22T02:10:58.480" UserId="250" />
  <row Id="7717" PostId="6196" Text="Sounds like you need to look at your apache configuration files and see what's changed in there." CreationDate="2011-01-22T02:17:48.190" UserId="1397" />
  <row Id="7718" PostId="6265" Score="1" Text="For those of us who aren't specifically familiar with `sendmail`, it might help if you post a more complete set of log lines, and describe exactly what details you're paying attention to when you do this manually.  For example, in the line you've posted, is `p937blksdh3` the message-id?" CreationDate="2011-01-22T02:59:40.083" UserId="3629" />
  <row Id="7719" PostId="1631" Score="1" Text="Since ssh passes that part of its command line to the shell anyway, you don't need the `sh -c` part." CreationDate="2011-01-22T05:04:40.663" UserId="3629" />
  <row Id="7720" PostId="6272" Text="ugh... it pulls in gnome.... that's just probably not going to work for me probably." CreationDate="2011-01-22T08:02:25.117" UserId="29" />
  <row Id="7721" PostId="6261" Text="Thanks for the link. I've updated my question with the grub entry." CreationDate="2011-01-22T08:10:35.353" UserId="3895" />
  <row Id="7722" PostId="6273" Text="So the custom *Ubuntu menu presented when booting from a single-boot &quot;burnt&quot; CD/USB image is created by the bootloader in the image? This would then launch the ISO image itself with options depending on whether you wanted to install or just run the OS live?" CreationDate="2011-01-22T08:14:18.063" UserId="3895" />
  <row Id="7724" PostId="6269" Text="@julian virtual memory = ram + swap iirc. Both applications and caches use virtual memory. However I think that the op needs to clear everything *but* caches from swap, as I doubt those are really what's effecting him." CreationDate="2011-01-22T08:17:07.543" UserId="29" />
  <row Id="7725" PostId="6276" Text="You might want to take a look into gargoyle, also an open-source router firmware for the WRT family. Personally, I've found it much easier to use." CreationDate="2011-01-22T08:25:59.773" UserId="3455" />
  <row Id="7726" PostId="6261" Text="Just noticed that my example above exactly matches the one Gilles' used below." CreationDate="2011-01-22T08:37:30.087" UserId="3895" />
  <row Id="7727" PostId="6273" Text="There is a loopback.cfg in the /boot folder in the ISO itself, which contains the various entries (try, install, test memory, etc.) which are presented when single-booting. I see that different options are passed in. I didn't realize that this menu was actually a modified bootloader/grub menu." CreationDate="2011-01-22T08:40:02.580" UserId="3895" />
  <row Id="7729" PostId="6276" Text="@ken please give more info [here](http://unix.stackexchange.com/q/6277/29)" CreationDate="2011-01-22T08:53:47.340" UserId="29" />
  <row Id="7730" PostId="6268" Text="Thanks, i will try next time :)" CreationDate="2011-01-22T10:43:31.297" UserId="4030" />
  <row Id="7731" PostId="6280" Text="@camh what'st the appropriate way to reflash though? commands and such" CreationDate="2011-01-22T10:46:41.947" UserId="29" />
  <row Id="7732" PostId="6280" Text="@xenoterracide: see edit" CreationDate="2011-01-22T10:58:20.917" UserId="1078" />
  <row Id="7733" PostId="6280" Text="@camh man I swear what annoys me about openwrt is depending on which link I pull up, depends on which directions I get." CreationDate="2011-01-22T11:09:04.110" UserId="29" />
  <row Id="7734" PostId="6280" Text="@xenoterracide: Keep at it. You'll find plenty more things to get annoyed about :-)" CreationDate="2011-01-22T11:20:08.807" UserId="1078" />
  <row Id="7735" PostId="6280" Text="@camh heh, well this whole thing came up because I'm once again playing with my firmware due to running into bugs in the latest openwrt, and I'm tired of working around them." CreationDate="2011-01-22T12:09:45.167" UserId="29" />
  <row Id="7736" PostId="6269" Text="@xenoterracide: caches only make sense in real, RAM memory. It is pointless to store cache in the swap, they are complete opposites. Swap is *slow* memory used when the system is *short on physical RAM*; cache is *fast* memory used when the system has *plenty of unused physical RAM*." CreationDate="2011-01-22T12:49:28.983" UserId="1627" />
  <row Id="7737" PostId="6016" Text="Oh, yeah; it's just the trigger. It's still not a good idea. The way those work is one works is one side is a high voltage and the other side is low; connecting them forces them to the same voltage, and the electronics detects that change. You'd still have better luck with a GPIO board. If you wanted to do it cheaper, you could use an opamp to make a Shmitt trigger that altered the voltage level when a certain amplitude signal is received from the audio. This can be done for a couple of dollars if you already have a soldering iron. " CreationDate="2011-01-22T13:06:43.963" UserId="2180" />
  <row Id="7738" PostId="6269" Text="@juliano yes I know, but I believe they are both stored using virtual memory, though it's possible that caches only get stored in RAM. honestly dropping the caches makes no sense here, imo." CreationDate="2011-01-22T13:58:50.680" UserId="29" />
  <row Id="7739" PostId="6214" Text="You are right, my answer is not correct." CreationDate="2011-01-22T15:31:55.650" UserId="2231" />
  <row Id="7740" PostId="6283" Text="Would like to know why this was downvoted. Wireshark can read the interface on the fly and filter to just http traffic." CreationDate="2011-01-22T17:10:59.213" UserId="195" />
  <row Id="7741" PostId="6278" Text="This is usually due to an incompatibility with your firmware (motherboard, BIOS, ACPI, …). What motherboard (or computer model) do you have? Have you set up anything related to ACPI?" CreationDate="2011-01-22T17:12:55.263" UserId="885" />
  <row Id="7742" PostId="6283" Text="@Kevin M, Well, I did not downvote your answer. But to be fair your answer is a bit incomplete and off-topic. 1) It misses details on how exactly wireshark should be used, i.e. that a filter should be used, the exact filter expression, etc. 2) it does not allow for command line usage like sketched in the question - even if I am ok with the GUI approach, the default view displays GET requests, where the domain name is not displayed side by side - with is not that convenient for the sketched use case." CreationDate="2011-01-22T18:18:54.333" UserId="1131" />
  <row Id="7743" PostId="6283" Text="I mean: s/your answer/Phobia's answer/" CreationDate="2011-01-22T18:27:37.570" UserId="1131" />
  <row Id="7745" PostId="6291" Text="In addition to `lsmod`, if a module is loaded, you can try `rmmod pata_atiixp`. If the module is loaded and is used for anything, you won't be able to unload it." CreationDate="2011-01-22T18:44:49.660" UserId="885" />
  <row Id="7746" PostId="6291" Text="Interesting, ata_generic is not being used by anything apparently. It does use libata, as does ahci, so it seems to be safe to not load both pata_atiixp and ata_generic in my case." CreationDate="2011-01-22T18:58:44.013" UserId="3180" />
  <row Id="7747" PostId="6272" Text="&quot;ugh&quot; indeed. I see no reason for this to pull in gnome considering the requirements listed here: http://bazaar.launchpad.net/~gwibber-committers/gwibber/trunk/view/head:/INSTALL" CreationDate="2011-01-22T19:22:57.833" UserId="1207" />
  <row Id="7748" PostId="6292" Text="In Gedit and Gnucash, when you type `'` then `a`, what happens (do you get `'a`, `a`, nothing, something else)?" CreationDate="2011-01-22T20:12:44.327" UserId="885" />
  <row Id="7749" PostId="5877" Text="@xeno It does, but you can't really tell. there are no rcX.d or [KS] symlinks at all. Actually sysv init itself is pretty flexible, and the runlevels are not really used in the usual way. " CreationDate="2011-01-22T20:15:30.427" UserId="3082" />
  <row Id="7750" PostId="6092" Text="a) not so simple at all, you add a lot of complexity by using relative paths instead of absolute paths&#xA;" CreationDate="2011-01-22T20:15:52.427" UserId="3487" />
  <row Id="7751" PostId="6092" Text="b) the true || false trick works nicely! but only for a single exit code, not the entire inner pipe" CreationDate="2011-01-22T20:16:27.603" UserId="3487" />
  <row Id="7752" PostId="6093" Text="a) great info (at top of answer), thanks!" CreationDate="2011-01-22T20:20:00.330" UserId="3487" />
  <row Id="7755" PostId="6294" Text="it used to be open mosix, but last I checked it didn't work on 2.6 kernel... afaik the whole beowulf cluster has been kinda dead since 2.6. however I may be wrong and am hopeful to find that I am." CreationDate="2011-01-22T20:29:11.290" UserId="29" />
  <row Id="7756" PostId="6077" Text="@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer)." CreationDate="2011-01-22T20:50:14.643" UserId="688" />
  <row Id="7757" PostId="6089" Text="clarification: &quot;normal circumstances&quot; being when the command group does not participate in any 'outer' pipeline." CreationDate="2011-01-22T20:51:50.667" UserId="3487" />
  <row Id="7758" PostId="6298" Score="2" Text="http://unix.stackexchange.com/questions/6199/how-do-i-upgrade-python-on-opensuse is the original question, which should be renamed to 'How to I install mercurial under OpenSuse?' - this should be closed, @bahar, you should  extend your original question instead of creating duplicates such that SE keeps well-arranged" CreationDate="2011-01-22T21:10:12.157" UserId="1131" />
  <row Id="7759" PostId="6298" Text="I take that as 3 votes for closing." CreationDate="2011-01-22T22:16:40.460" UserId="305" />
  <row Id="7760" PostId="6300" Text="An advantage of `tcpflow` is that it is already available in the default repositories in Ubuntu 10.04 (justsniffer, httpry are not). The package info states that IP fragments are not recorded properly - don't know, if this matters for this use case - perhaps justsniffer can handle them better." CreationDate="2011-01-22T23:11:03.977" UserId="1131" />
  <row Id="7761" PostId="6299" Score="1" Text="[It’s perfectly fine to ask and answer your own question](http://unix.stackexchange.com/faq). If anyone gives you a hard time about this, point them to the [official FAQ](http://unix.stackexchange.com/faq) or to the [community FAQ](http://meta.stackoverflow.com/questions/17463) and [other](http://meta.stackoverflow.com/questions/12513) [Meta](http://meta.stackoverflow.com/questions/2706/2729#2729) threads." CreationDate="2011-01-22T23:29:58.973" UserId="885" />
  <row Id="7762" PostId="6300" Text="Since you're just grabbing the URL it doesn't seem like it'll matter. Tcpflow will display packets in the order they were received on the interface. Thus, if you were trying to capture file contents you can get packets that arrive out of order and will produce a corrupt file. But your use case listed in the question I think this will work for you. You can also widen your grep (or remove the -o) to see more of the packet data for sorting or whatnot later." CreationDate="2011-01-23T00:01:13.873" UserId="3309" />
  <row Id="7763" PostId="6278" Text="my motherboard is Gigabyte GA-MA790GP-UD4H and I did disable ACPI,and didn't solve the problem,note that I didn't have this problem with 2010.1" CreationDate="2011-01-23T00:36:18.057" UserId="1707" />
  <row Id="7764" PostId="6304" Text="@Magic Banana: small, but worth keeping in mind. I didn't know there was coreboot for laptops. :)" CreationDate="2011-01-23T01:34:20.813" UserId="4084" />
  <row Id="7766" PostId="6308" Score="1" Text="&quot;I dont believe you can readily boot an OS via USB&quot; - have u tried?" CreationDate="2011-01-23T08:18:51.407" UserId="688" />
  <row Id="7767" PostId="6279" Text="There is same question answered on http://superuser.com/questions/67428/possible-to-catch-urls-in-linux" CreationDate="2011-01-23T09:32:58.350" UserId="1027" />
  <row Id="7768" PostId="6309" Score="1" Text="So what happens if you start a terminal window and run `firefox -g`? Also, please post the output of `ls -l /etc/alternatives/java /usr/bin/java`." CreationDate="2011-01-23T11:23:21.870" UserId="885" />
  <row Id="7769" PostId="6314" Text="I don't think you needed to generalise this, especially because I specifically was asking about Debian, and there already is [the yum anwer](http://unix.stackexchange.com/questions/4705/how-to-find-out-which-package-a-file-belongs-to)." CreationDate="2011-01-23T12:05:16.607" UserId="688" />
  <row Id="7770" PostId="6275" Text="The file name thing is weird, anyway this answer works for me, thanks!" CreationDate="2011-01-23T12:08:30.350" UserId="250" />
  <row Id="7771" PostId="6314" Text="I can see Debian in your example, but not in the question you've asked." CreationDate="2011-01-23T12:10:01.107" UserId="3069" />
  <row Id="7774" PostId="6316" Text="It's not so clear here. You want to know how to use gcc to compile C program?" CreationDate="2011-01-23T13:28:14.207" UserId="688" />
  <row Id="7775" PostId="6316" Text="yes.. i want to compile it into a .so so that it can be used/executed." CreationDate="2011-01-23T13:31:02.383" UserId="3378" />
  <row Id="7777" PostId="6319" Text="Logging as in the `script` command common in many shells or writing unusual conditions into `/var/log`, or what?" CreationDate="2011-01-23T14:38:50.160" UserId="3270" />
  <row Id="7778" PostId="6314" Text="I tagged the question Debian." CreationDate="2011-01-23T14:51:31.327" UserId="688" />
  <row Id="7779" PostId="6314" Score="1" Text="A tag is not a strong indicator concerning the requested answer, a question is. You can't expect the people to figure out a matching answer by reading a tag." CreationDate="2011-01-23T15:06:58.073" UserId="3069" />
  <row Id="7780" PostId="6319" Text="More like having a log of all the command entered in /var/log. I thought I was clear. Sorry. " CreationDate="2011-01-23T15:11:48.530" UserId="4098" />
  <row Id="7781" PostId="6307" Score="1" Text="Can you change your title to more closely resemble your question? It should definitely have something about the grub prompt." CreationDate="2011-01-23T15:23:12.790" UserId="2180" />
  <row Id="7783" PostId="6323" Text="Err, forgot to add that I'm not using a desktop manager." CreationDate="2011-01-23T16:41:26.927" UserId="250" />
  <row Id="7784" PostId="6304" Text="I should correct myself, the Lemote uses the free PMON for the bios, not coreboot." CreationDate="2011-01-23T17:30:12.100" UserId="4084" />
  <row Id="7785" PostId="6325" Text="I think screen has its own color option that has to be enabled in its config if it doesn't detect it right." CreationDate="2011-01-23T18:04:39.903" UserId="29" />
  <row Id="7786" PostId="6317" Score="1" Text="Where `you_soname` should be the name of your charset, and `library_name` should be that name followed by `.so`." CreationDate="2011-01-23T18:14:22.060" UserId="885" />
  <row Id="7787" PostId="5764" Text="@infoquad: So, how is your Archlinux installation going? :)" CreationDate="2011-01-23T19:09:15.273" UserId="3616" />
  <row Id="7788" PostId="6319" Text="Then syslog is all you need." CreationDate="2011-01-23T19:19:25.410" UserId="3886" />
  <row Id="7789" PostId="6325" Text="@xeno Screen already has color. Its only when SSH is up that it go to only white" CreationDate="2011-01-23T19:22:29.380" UserId="2630" />
  <row Id="7790" PostId="5797" Text="I did it. It didn't work. I even reinstalled ffdshow and now inserting these commands directly to cmd  works. But Winff still can't pass them there.Any possibilities why?" CreationDate="2011-01-23T19:30:12.197" UserId="1924" />
  <row Id="7791" PostId="6100" Text="I modded you script to take an argument and place the put and get the environment to a file named by the argument... now I can have several environments! :D" CreationDate="2011-01-23T20:19:59.293" UserId="1070" />
  <row Id="7792" PostId="6100" Text="Question: what does &quot;.&quot; do in getstate?" CreationDate="2011-01-23T20:26:54.600" UserId="1070" />
  <row Id="7793" PostId="2171" Text="@gro any update?" CreationDate="2011-01-23T20:49:40.883" UserId="688" />
  <row Id="7794" PostId="6278" Text="Could you please provide the link to that forum thread, so that we know what already was tried?" CreationDate="2011-01-23T20:53:35.543" UserId="4106" />
  <row Id="7795" PostId="2171" Score="1" Text="@Tshepang, sorry I gave up. I don't work there anymore so don't have to worry about that anymore. Extremely happy with my MacBook now." CreationDate="2011-01-23T21:01:33.173" UserId="452" />
  <row Id="7796" PostId="6100" Text="The &quot;.&quot; says, &quot;Run the contents of this file using the current shell, as if they were typed at the command line&quot;.  Without the &quot;.&quot;, a new copy of `bash` would run the commands in the file and then exit, and the current shell's environment wouldn't change." CreationDate="2011-01-23T21:15:49.670" UserId="3629" />
  <row Id="7797" PostId="6278" Text="there you go http://goo.gl/DWDHR" CreationDate="2011-01-23T21:17:23.283" UserId="1707" />
  <row Id="7798" PostId="6331" Text="I guess SCADA systems do tend to include RTOS in some components (the ones driving actual machinery). While there are real-time unices, I don't know if they're suitable for SCADA. A unix system could be used in the UI bits." CreationDate="2011-01-23T22:18:10.353" UserId="885" />
  <row Id="7799" PostId="6332" Text="A proper answer to this is going to be epic, and basically replicate the information in the [Wikipedia article](http://en.wikipedia.org/wiki/Signal_(computing)#List_of_signals) on the matter, so I'll just point there." CreationDate="2011-01-23T22:21:56.213" UserId="2180" />
  <row Id="7800" PostId="6334" Score="1" Text="Interesting solution.  You'll need to adjust the grep command a bit to just get a list of packages and to account for packages installed by `aptitude` and other package managers.  If your logs have rotated away, well then you are out of luck." CreationDate="2011-01-23T22:27:39.470" UserId="1207" />
  <row Id="7801" PostId="6334" Text="@steven Updated. My grep-fu is of a novice, so I'll leave that to the reader. Also, I don't know if the thing rotates away. I only have to files in there myself." CreationDate="2011-01-23T23:03:04.067" UserId="688" />
  <row Id="7802" PostId="6332" Text="@Shawn: The Wikipedia article has a list of signals, but no clear presentation of who sends what signals." CreationDate="2011-01-23T23:08:35.453" UserId="885" />
  <row Id="7804" PostId="6337" Text="Wow... perfect! Thanks." CreationDate="2011-01-23T23:10:17.620" UserId="1049" />
  <row Id="7805" PostId="6337" Text="One thing to note: I used to do Windows programming and there was a way to handle illegal memory reads/writes by the application. I wrote a handler that grabbed the instruction pointer (IP), incremented it by one (I know, very poor idea) and then returned control to the application. Although it was quite neat and sometimes worked, it was very bad design. (x86 instructions are variable length... and arbitrarily skipping instructions isn't a good idea either.)" CreationDate="2011-01-23T23:15:25.663" UserId="1049" />
  <row Id="7806" PostId="6320" Text="Thank you for your answer. I'm going with syslog, since I don't need anything extravagant and don't want to include any extra dependency. Can you tell me if syslog() is available on other Unices like BSD or Solaris?" CreationDate="2011-01-23T23:42:36.440" UserId="4098" />
  <row Id="7807" PostId="6340" Text="Thanks - I assumed compdef was what I wanted to use. Out of interest, is there any reason you create a local variable and shift, rather than referencing $1 and $2 in your call to compdef?" CreationDate="2011-01-23T23:50:22.273" UserId="2459" />
  <row Id="7808" PostId="6340" Text="@Murali: That's so I can write something like `compdefas xterm cxterm uxterm xterm-color`." CreationDate="2011-01-23T23:53:32.683" UserId="885" />
  <row Id="7809" PostId="6324" Score="1" Text="+1 Cool. I see lots of other helpful uses for this." CreationDate="2011-01-23T23:54:32.620" UserId="1049" />
  <row Id="7811" PostId="6340" Text="@Gilles interesting - so I've defined two wrappers, one for 'man' and one for 'ssh'. Using compdef, completion for my 'man' wrapper works, but completion for my 'ssh' wrapper doesn't. Have you run into any issues like this before? Is there something else I have to poke in order for _ssh to work with my alias/wrapper?" CreationDate="2011-01-24T00:14:57.903" UserId="2459" />
  <row Id="7812" PostId="6093" Text="b) [comment deleted]" CreationDate="2011-01-24T00:50:10.303" UserId="3487" />
  <row Id="7813" PostId="6093" Text="c) amazing, seems you almost nailed it! theoretically anyway; all the examples involving fd 4 does not work, bash gives you '4: Bad file descriptor'. I think fd 4 does not exist because the first thing to happen is that a process is created to handle the pipe in the inner-most command group, and at that point the redirection of fd 4 into fd 1 has not yet taken place, because the redirection is part of the setup of the outer pipeline. maybe it can be fixed with exec redirection before the nested command groups starts?" CreationDate="2011-01-24T00:50:52.783" UserId="3487" />
  <row Id="7814" PostId="6339" Text="Which signal is sent when the `shutdown` command is used?" CreationDate="2011-01-24T00:51:32.407" UserId="1049" />
  <row Id="7816" PostId="6093" Text="d) don't need the exit codes in separate variables so that is OK. regarding workarounds: temporary files add complexity. single output stream sounds interesting, but I am not sure how to implement that. complete-cover error handling in perl is a horrible mess just as in bash etc. python sounds good (but of course that does not answer the question as such, just gives me a different set of problems)" CreationDate="2011-01-24T01:12:47.733" UserId="3487" />
  <row Id="7817" PostId="6329" Text="Haven't looked further, but VLC lets me raise volume up to 200%" CreationDate="2011-01-24T01:43:41.343" UserId="250" />
  <row Id="7818" PostId="6334" Text="Whether they rotate away will depend on your logrotate setup and how long your system has been around.  I'm unsure of Ubuntu defaults since it has been a long time since I changed them." CreationDate="2011-01-24T03:40:54.917" UserId="1207" />
  <row Id="7819" PostId="6342" Score="2" Text="It would be helpful to have the output for **fdisk -l**" CreationDate="2011-01-24T05:15:52.700" UserId="4122" />
  <row Id="7820" PostId="6348" Text="I would check for lsb_release and use it if available, but it isn't available everywhere. For instance, it isn't in the default install of Fedora 14." CreationDate="2011-01-24T05:47:06.900" UserId="1207" />
  <row Id="7821" PostId="6348" Text="Really?  Did you try spelling it with `-` and `_`?  Maybe it's in `/lib/lsb` or somewhere like that.  What does `rpm -qa &quot;lsb*&quot;` print?" CreationDate="2011-01-24T05:56:15.970" UserId="3169" />
  <row Id="7822" PostId="6345" Text="Are you sure `+-release` works?  Effectively you're looking assuming it will be `/etc/lsb-release`, so perhaps just call it that." CreationDate="2011-01-24T05:57:37.733" UserId="3169" />
  <row Id="7823" PostId="6348" Score="1" Text="`rpm -qa &quot;lsb*` prints nothing. According to `yum provides */lsb_release` it is contained in a package called redhat-lsb which I guess is not installed by default.  However, I'm not a Fedora expert, these are just the results from a random Fedora VM I have and could be very wrong." CreationDate="2011-01-24T06:01:50.740" UserId="1207" />
  <row Id="7824" PostId="6348" Text="Just installed Fedora 14 in a VM, and there is no `lsb-release`, as you said." CreationDate="2011-01-24T06:07:13.450" UserId="3169" />
  <row Id="7825" PostId="6345" Text="@Mikel: I replaced `*` with `+` to avoid the comment formating, it should be `etc/*-release`, it seems to work." CreationDate="2011-01-24T06:20:38.953" UserId="3858" />
  <row Id="7826" PostId="6348" Text="@Mikel: `lsb_release` seems to work great on Ubuntu 10.04 LTS, however in Fedora and CentOS I get a &quot;command not found&quot; error message. Also, `/etc/lsb-release` doesn't seem to exists in RHEL distros. On Fedora 13 for instance I have `fedora-release`, `redhat-release` and `system-release`." CreationDate="2011-01-24T06:24:13.770" UserId="3858" />
  <row Id="7827" PostId="6348" Text="@Mikel: `uname -s` outputs &quot;Linux&quot; on both Ubuntu and Fedora, `uname -r` seems to output the kernel version." CreationDate="2011-01-24T06:26:19.820" UserId="3858" />
  <row Id="7828" PostId="6339" Text="That depends on the shutdown scripts.  Typically, `SIGTERM` is sent first, followed by a delay, followed by  `SIGKILL`.  In principle, for a hard, immediate shutdown, the kernel doesn't need to send a signal at all; it could just stop running the process." CreationDate="2011-01-24T06:28:03.067" UserId="3629" />
  <row Id="7829" PostId="6348" Text="@Mikel: I've installed the `redhat-lsb` package on Fedora and it works great. I'm still surprised that there isn't a more straightforward way to find this info. I'll probably use this approach, however I've one question: how do I know if I should call `yum -y install redhat-lsb` or not? Do I have any easy way of finding out if I'm running a RHEL distro?" CreationDate="2011-01-24T06:38:03.470" UserId="3858" />
  <row Id="7830" PostId="6348" Text="@Steven D: I got the same results on Fedora 13 and I'll test that in a bit on CentOS 5.5. Thank you for the tip on `redhat-lsb`!" CreationDate="2011-01-24T06:40:23.157" UserId="3858" />
  <row Id="7831" PostId="6348" Text="@Alix Axel, yes, the `uname -s` is a fallback, in case you need something to work even if `lsb-release` can't be found, or it isn't Debian/Ubuntu or Red Hat/CentOS." CreationDate="2011-01-24T06:51:12.443" UserId="3169" />
  <row Id="7832" PostId="6337" Text="And SIGHUP, your modem has hung up. :-)" CreationDate="2011-01-24T07:10:12.070" UserId="3082" />
  <row Id="7834" PostId="6320" Text="It's available on FreeBSD from libc.so and I'm 95% sure that Solaris has syslog() too." CreationDate="2011-01-24T10:51:26.030" UserId="3886" />
  <row Id="7835" PostId="6352" Text=" I've added links above. I plan to use ext4 but I thought I had to set that up after I mirrored the volumes." CreationDate="2011-01-24T13:14:24.307" UserId="4110" />
  <row Id="7836" PostId="6314" Text="In other words, if you want the question to be Debian-specific, please re-word it accordingly." CreationDate="2011-01-24T13:40:55.737" UserId="1835" />
  <row Id="7837" PostId="5196" Text="Would you kindly untag this 'debian'?" CreationDate="2011-01-24T13:43:25.827" UserId="1835" />
  <row Id="7838" PostId="4748" Text="Since this question is not really to do with Debian (merely using it as an illustration), would you kindly remove the 'debian' tag?" CreationDate="2011-01-24T13:44:14.327" UserId="1835" />
  <row Id="7839" PostId="4553" Text="Would you kindly remove the 'debian' tag from your question,  as it is not really about Debian (so is not useful to people who watch the 'debian' tag for questions)?  Many thanks" CreationDate="2011-01-24T13:45:28.960" UserId="1835" />
  <row Id="7840" PostId="4257" Score="1" Text="The vast majority of security patches are trivially small: re-ordering the arguments to a memset, fixing a bounds check on a strncmp or what-have-you.  Of course, they could plausibly introduce other bugs, but the risk is very small and theoretical, whereas the discovered security bug is very much practical." CreationDate="2011-01-24T13:49:03.447" UserId="1835" />
  <row Id="7841" PostId="5009" Text="The security repo pre-dates signing the release files for repositories, so mirroring it was discouraged, as it diluted the implicit trust of downloading from security.debian.org.  That argument has gone away to some extent now that package metadata is signed." CreationDate="2011-01-24T13:50:03.760" UserId="1835" />
  <row Id="7842" PostId="4236" Score="1" Text="You can configure GNOME/KDE to add a 'Debian' sub-menu to their menus.&#xA;&#xA;Asides from that, policy says &quot;All packages that provide applications that need not be passed any special command line arguments for normal operation should register a menu entry for those applications&quot; -- so any that don't, should have a bug filed against them." CreationDate="2011-01-24T13:52:59.450" UserId="1835" />
  <row Id="7843" PostId="4273" Text="not bad, but misses the edge-case `/usr/games`." CreationDate="2011-01-24T13:53:45.080" UserId="1835" />
  <row Id="7844" PostId="5196" Text="@jmtd: I have retagged my question now." CreationDate="2011-01-24T14:00:54.877" UserId="1615" />
  <row Id="7845" PostId="6319" Text="I liked your code. Clean, simple and well documented! (+1) :)" CreationDate="2011-01-24T14:04:48.957" UserId="3616" />
  <row Id="7847" PostId="6363" Text="Thanks for the response. I was able to login in the UI but says that my user is not a sudoer. I made sure to set the root password during startup. It always says authentication failure when i log in using su. i was able to resolve it by booting to a live cd and added my user as sudoer." CreationDate="2011-01-24T04:01:43.393" />
  <row Id="7849" PostId="6348" Text="I'd be wary of using the redhat-lsb package, it's not always installed.  At least for RHEL and Fedora, the redhat-lsb package brought in a LOT of extra dependencies that aren't necessary for all servers.  For example, on RHEL5, redhat-lsb requires /usr/bin/lpr, which brings in cups, which brings in avahi.  I don't need mdns or printing on an HPC node or web server." CreationDate="2011-01-24T14:23:56.697" UserId="3976" />
  <row Id="7853" PostId="49" Score="3" Text="Just to add a few to these: Ctrl+A to go to the beginning of the line, Ctrl+E to go to the end of the line, Ctrl-K to erase from the cursor to the end of the line." CreationDate="2011-01-24T15:13:37.927" UserId="3686" />
  <row Id="7855" PostId="6312" Text="thank you wag! The problem is totally gone after I installed java-src, dev" CreationDate="2011-01-24T15:33:11.567" UserId="4093" />
  <row Id="7856" PostId="6358" Text="I have a setup somewhat like this, but with a ~/Docs/ folder.  That is where all &quot;my own data&quot; is, outside of this is other program data (specific to a machine or not).  Key config files are regularly backed up from ~/ to ~/Docs/configfiles/" CreationDate="2011-01-24T16:05:47.933" UserId="2150" />
  <row Id="7857" PostId="6370" Score="2" Text="The error &quot;Bad magic number in super-block while trying to open /dev/sda1&quot; indicates that /dev/sda1 is most likely not an ext2/3/4 filesystem.  Do you us LVM?  Is it some other filesystem, such as FAT, reiserfs, XFS, swap, etc.?  Maybe you should also post the contents of /proc/mounts ?" CreationDate="2011-01-24T16:12:29.630" UserId="3976" />
  <row Id="7858" PostId="5618" Text="are you trying to understand when you dock it on a computer or when you connect a usb device to the phone/tablet?" CreationDate="2011-01-24T17:14:01.637" UserId="3397" />
  <row Id="7859" PostId="4202" Text="I'm taking a look at this at the moment.  Some forums indicate that the cd is mounted as an iso9660 virtual ram drive by grub.  playing with it presently." CreationDate="2011-01-24T17:26:00.597" UserId="3397" />
  <row Id="7860" PostId="6312" Text="Installing new software can also trigger the `update-alternatives` program like described above." CreationDate="2011-01-24T17:29:42.160" UserId="3069" />
  <row Id="7861" PostId="6385" Text="I need something to play it in totem media player." CreationDate="2011-01-24T19:21:34.220" UserId="1924" />
  <row Id="7862" PostId="6371" Text="thanks, but I asked for a debian system..." CreationDate="2011-01-24T19:33:13.357" UserId="4133" />
  <row Id="7865" PostId="6380" Text="You end up trying to read the memory of whatever `$pid` is. As I explain in my answer, reading the memory of a different process requires you to ptrace it." CreationDate="2011-01-24T19:35:24.373" UserId="885" />
  <row Id="7866" PostId="6394" Text="Bah, I knew I should have refreshed the answers before typing mine up.  Very helpful link." CreationDate="2011-01-24T19:48:10.460" UserId="1207" />
  <row Id="7867" PostId="6337" Text="Another thing to note: `SIGFPE`, somewhat unintuitively, is also signaled on **integer** divide-by-zero, and sometimes on signed integer overflow." CreationDate="2011-01-24T19:53:24.127" UserId="1779" />
  <row Id="7868" PostId="6348" Text="Noted. But at no point did I suggest installing it. :-) Reading `/etc/redhat-release` is sufficient on Red Hat-like systems." CreationDate="2011-01-24T20:05:04.273" UserId="3169" />
  <row Id="7869" PostId="6394" Text="Sadly, this question ended up here because I said on SO that it should move here or SU, so of course it moved here when there was a duplicate on SU already :)" CreationDate="2011-01-24T20:06:26.083" UserId="73" />
  <row Id="7870" PostId="6391" Text="Brilliant, thanks!" CreationDate="2011-01-24T20:22:12.900" UserId="451" />
  <row Id="7871" PostId="6352" Text="@Jay Sheridan: updated answer" CreationDate="2011-01-24T20:24:20.790" UserId="1131" />
  <row Id="7872" PostId="6395" Text="With the caveat that this command returns an error code if the directory was empty (even though the command actually performed as intended)." CreationDate="2011-01-24T20:28:24.687" UserId="885" />
  <row Id="7873" PostId="6396" Text="That only moves the regular files in `Foo/`, not subdirectories and other files." CreationDate="2011-01-24T20:29:02.983" UserId="885" />
  <row Id="7874" PostId="6345" Score="1" Text="@Alix: Never introduce a syntax error to get formatting right. Besides, the formatting is wrong only in the preview, the final view picks up the syntax from the tags." CreationDate="2011-01-24T21:07:03.640" UserId="885" />
  <row Id="7875" PostId="6380" Text="Which is going to be bash. I wasn't saying your answer was wrong. I was just answering in more layman's terms &quot;why doesn't this work&quot;." CreationDate="2011-01-24T21:07:20.350" UserId="3309" />
  <row Id="7876" PostId="6352" Text="Even mirroring needs a log (in some form) to handle sudden failures (where one of the devices has written the data and not the other). See [this answer](http://unix.stackexchange.com/questions/3640/will-the-system-make-sure-that-mdadm-is-sync-ed-before-completing-a-reboot/5564#5564) for a few pointers to how mdadm does it; I don't know what LVM uses." CreationDate="2011-01-24T21:13:12.057" UserId="885" />
  <row Id="7877" PostId="6355" Score="2" Text="What Windows accepts is irrelevant on this site." CreationDate="2011-01-24T21:15:41.523" UserId="885" />
  <row Id="7878" PostId="6403" Score="1" Text="I'm really not a fan of &quot;most advanced&quot; -- what specific things are you looking for?" CreationDate="2011-01-24T22:00:22.257" UserId="73" />
  <row Id="7879" PostId="6403" Text="@mic Nothing specific. I just want to know what is the GIMP of video-editing (i.e. the most highly regarded in its class)." CreationDate="2011-01-24T22:03:27.467" UserId="688" />
  <row Id="7880" PostId="3729" Text="+1 I didn't know about `C-c C-p`.  Thanks!" CreationDate="2011-01-24T22:25:25.150" UserId="3169" />
  <row Id="7881" PostId="5125" Text="`tar -tf tarbomb.tar` will print file names one per line, so you could do `tar -tf tarbomb.tar | while IFS=$'\n' read -r filename; do rm &quot;$filename&quot;; done` or similar." CreationDate="2011-01-24T22:44:11.267" UserId="3169" />
  <row Id="7882" PostId="6407" Score="1" Text="Here is the wikipedia page I'm referring to [1], I just don't have enough reputation points yet to post more than one link in an answer&#xA;&#xA;[1]https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_video_editing_software" CreationDate="2011-01-24T22:46:48.923" UserId="4135" />
  <row Id="7883" PostId="5123" Text="Here's a script I use to automate the `mkdir; unzip` stuff so I'm never too lazy to do it!  http://svn.mikelward.com/svn/scripts/untar" CreationDate="2011-01-24T22:49:30.543" UserId="3169" />
  <row Id="7884" PostId="6355" Text="@Gilles: the OP [cross-posted to Yahoo answers](http://answers.yahoo.com/question/index?qid=20110124021038AAgYKC3), where he mentions that &quot;windows asks me for a pass-phrase&quot;. From that I knew that it wasn't really a question about unix/linux. Perhaps I should have mentioned this in my answer." CreationDate="2011-01-24T22:50:09.157" UserId="281" />
  <row Id="7885" PostId="6403" Text="**advanced** == **most complete** == **more features**" CreationDate="2011-01-24T22:51:38.697" UserId="688" />
  <row Id="7886" PostId="6352" Text="Good links. They have some good info on what an lvm mirror is typically used for. I'll look into how to use mdadm." CreationDate="2011-01-24T23:35:28.993" UserId="4110" />
  <row Id="7887" PostId="6410" Text="maybe try deleting weird settings in your home?" CreationDate="2011-01-25T01:33:21.763" UserId="250" />
  <row Id="7888" PostId="6410" Text="@phu I didn't change any settings." CreationDate="2011-01-25T01:34:26.310" UserId="688" />
  <row Id="7889" PostId="6348" Text="FYI: On Ubuntu `cat /etc/debian_version` outputs `squeeze/sid`" CreationDate="2011-01-25T02:52:47.680" UserId="2138" />
  <row Id="7890" PostId="6413" Text="echo $0 =&gt; /bin/bash" CreationDate="2011-01-25T04:58:59.907" UserId="3967" />
  <row Id="7891" PostId="6348" Text="Yep, but on Ubuntu, there should be `/etc/lsb-release` so it doesn't matter.  But I'm not saying my list is exhaustive.  It should be tested on all the systems you want it to work on." CreationDate="2011-01-25T05:05:39.073" UserId="3169" />
  <row Id="7892" PostId="6357" Text="I'm using zsh, I couln't post this before because I was a new user http://forums.gentoo.org/viewtopic-t-819833-start-0.html also typeset -p LESS printed this: &quot;typeset: no such variable: LESS&quot; and about the number 5, there's no ls.1.gz but there's ls.1.bz2 but it prints this &quot;gzip: /usr/share/man/man1/ls.1.bz2: not in gzip format&quot; the rest of the options work well but I still don't have coloured man pages." CreationDate="2011-01-25T05:08:02.743" UserId="2416" />
  <row Id="7893" PostId="6357" Text="`typeset -p LESS` not working is your problem.  But seeing as you are using `zsh`, you should put `export LESS=-r` in your `~/.zshrc`, not in `~/.bashrc`.  Please do that then try these steps again." CreationDate="2011-01-25T05:13:56.337" UserId="3169" />
  <row Id="7894" PostId="6413" Text="Well, then it either needs to go in `.bashrc` or `.bash_profile`, depending on your setup.  Please try both." CreationDate="2011-01-25T05:17:05.023" UserId="3169" />
  <row Id="7895" PostId="6357" Text="And change `zcat /usr/share/man/man1/ls.1.gz` to `bzcat /usr/share/man/man1/ls1.bs2`." CreationDate="2011-01-25T05:26:08.603" UserId="3169" />
  <row Id="7896" PostId="6357" Text="I have updated the instructions based on the information you just provided." CreationDate="2011-01-25T05:34:57.990" UserId="3169" />
  <row Id="7897" PostId="6357" Text="I added export LESS=-r but number 5 prints a normal man page with no colours." CreationDate="2011-01-25T05:42:58.870" UserId="2416" />
  <row Id="7898" PostId="6357" Text="I tried the new options and all of them work except the last one, it prints the man pages with no colours." CreationDate="2011-01-25T05:49:47.257" UserId="2416" />
  <row Id="7899" PostId="6357" Text="Really?  Even in a new terminal?  What does `typeset -p LESS` print in that window?  But does `man ls` give colors?  That's obviously the main thing." CreationDate="2011-01-25T05:51:19.567" UserId="3169" />
  <row Id="7902" PostId="6420" Text="Are you sure you don't have text left behind? &quot;it looks for&quot; what?" CreationDate="2011-01-25T06:02:53.823" UserId="250" />
  <row Id="7903" PostId="6357" Text="typeset -p LESS returns typeset -x LESS=-r but man ls doesn't give colours." CreationDate="2011-01-25T06:03:29.047" UserId="2416" />
  <row Id="7904" PostId="6357" Text="I have added a new number 4: `bzcat`... `| head -n 5 | cat -v`" CreationDate="2011-01-25T06:12:07.753" UserId="3169" />
  <row Id="7905" PostId="6420" Text="Hehe. . . one of the reason why I hate copy and paste. Edited." CreationDate="2011-01-25T06:15:21.670" UserId="4159" />
  <row Id="7906" PostId="6357" Text="it prints &#xA;LS(1)                            User Commands                           LS(1)&#xA;&#xA;&#xA;&#xA;^[[1mNAME^[[0m" CreationDate="2011-01-25T06:15:27.847" UserId="2416" />
  <row Id="7907" PostId="6357" Text="We have found your problem!" CreationDate="2011-01-25T06:16:57.343" UserId="3169" />
  <row Id="7908" PostId="6357" Text="First thing to try: change `/bin/sh /usr/bin/nroff -mandoc -Tutf8` to `/bin/sh /usr/bin/nroff -mandoc -Tutf8 -c` above." CreationDate="2011-01-25T06:19:29.853" UserId="3169" />
  <row Id="7910" PostId="6357" Text="now it returns LS(1)                            User Commands                           LS(1)&#xA;&#xA;&#xA;&#xA;N^HNA^HAM^HME^HE" CreationDate="2011-01-25T06:22:04.063" UserId="2416" />
  <row Id="7911" PostId="6357" Text="Cool.  There's many things the problem could be, but my best guess: try putting `export GROFF_NO_SGR=1` in your `.zshrc`, open a new terminal, and try `man ls` again." CreationDate="2011-01-25T06:30:59.640" UserId="3169" />
  <row Id="7912" PostId="6410" Text="and what did you expect to see with `lsof | grep delete`?" CreationDate="2011-01-25T06:31:05.017" UserId="1946" />
  <row Id="7913" PostId="6357" Text="If this doesn't work, I will need you to do some reading, and to think if you changed any `USE` variable or environment variable (e.g. an `export` line in your `.zshrc` or other config file) related to `color` or `sgr` or `man` or `nroff` or `groff` or `grotty`." CreationDate="2011-01-25T06:32:26.020" UserId="3169" />
  <row Id="7914" PostId="6357" Text="PS: When it prints `N^HNA^HAM^HME^HE`, you should be able to pipe that to `less` by adding `| less` at the end, and you should see the colors.  So we are aiming to have `nroff` produce this `N^HN`... output by default." CreationDate="2011-01-25T06:34:43.710" UserId="3169" />
  <row Id="7915" PostId="6357" Text="`GROFF_TYPESETTER`, `GROFF_NO_SGR`, `LESSCHARSET`, `LANG`, `LC_ALL`, `LC_CTYPE`, `man.conf`, and `--enable-sgr` are the the main things we need to look for." CreationDate="2011-01-25T06:36:44.083" UserId="3169" />
  <row Id="7916" PostId="6357" Score="3" Text="export GROFF_NO_SGR=1 worked, thank you, could you point me to some references on this? you were the only one who actually gave a different answer." CreationDate="2011-01-25T06:37:43.640" UserId="2416" />
  <row Id="7917" PostId="6357" Text="Most of it's based on things I have learned over many years, e.g. `man` runs `nroff`; old systems would make letters bold by printing the letter, backspacing, then printing the letter again, like a printer that uses ink would (printing the letter twice makes the letter darker); information about `LESS_TERMCAP_md` is under `md` in `man 5 terminfo`, and searching for &quot;xterm color escape sequences&quot;.  For the last part, my references were the man pages for `less`, `nroff`, `groff`, and `grotty`.  And of course, `zsh` commands to run for every `zsh` shell should go in `.zshrc`." CreationDate="2011-01-25T06:43:21.423" UserId="3169" />
  <row Id="7918" PostId="6419" Text="You got links to guides you followed? Can you add commands you tried?" CreationDate="2011-01-25T06:49:12.693" UserId="688" />
  <row Id="7919" PostId="6410" Text="@alex I was checking if there was some old proces still holding onto the audio device, blocking others from accessing it." CreationDate="2011-01-25T06:53:32.060" UserId="688" />
  <row Id="7920" PostId="6421" Text="Ok, thanks. Though I am fairly sure most of the methods (at least unetbootin) have problems." CreationDate="2011-01-25T07:03:11.470" UserId="2469" />
  <row Id="7921" PostId="6419" Text="I used the method to zcat boot.img.gz, but that only leaves room for a net install. :(" CreationDate="2011-01-25T07:03:47.367" UserId="2469" />
  <row Id="7922" PostId="6410" Text="and what that 'delete' thing has to do with that?" CreationDate="2011-01-25T07:13:48.317" UserId="1946" />
  <row Id="7925" PostId="6320" Text="I checked yesterday at work, it is indeed available on Solaris 10. Thanks!" CreationDate="2011-01-25T07:22:22.380" UserId="4098" />
  <row Id="7926" PostId="6303" Text="related: http://unix.stackexchange.com/q/1203/" CreationDate="2011-01-25T07:25:47.563" UserId="688" />
  <row Id="7927" PostId="6424" Text="I had a brief look, and it's quite dense. I searched for &quot;audio&quot; and &quot;audio track&quot; and nothing seemed obvious." CreationDate="2011-01-25T08:01:56.270" UserId="688" />
  <row Id="7928" PostId="6421" Score="1" Text="Download the usb-hdd version. the cd version does not work on unetbootin (well at least in my experience)" CreationDate="2011-01-25T08:24:37.280" UserId="4159" />
  <row Id="7929" PostId="6421" Text="Thanks also, I will give this a try." CreationDate="2011-01-25T08:39:38.290" UserId="2469" />
  <row Id="7930" PostId="5618" Text="@aking1012: Connecting USB into a tablet with Android stack" CreationDate="2011-01-25T09:19:37.367" UserId="3544" />
  <row Id="7931" PostId="6429" Text="That link explains how to extract audio from the file. You mind reading my question again." CreationDate="2011-01-25T10:13:53.183" UserId="688" />
  <row Id="7932" PostId="6421" Text="Actually, UNetbootin with the HD-Media worked! You just have to take care to ensure you have the correct one for your image (stable, testing, unstable). Thanks! :)" CreationDate="2011-01-25T10:21:06.683" UserId="2469" />
  <row Id="7933" PostId="4176" Text="I'm adding `sort -n -r -k2` to the end of this, for lots of directories, so that I know where the most usage is" CreationDate="2011-01-25T10:45:52.683" UserId="29" />
  <row Id="7934" PostId="6408" Text="Good answer.  I would suggest that you, and anyone else trying something similar, take a look at LVM." CreationDate="2011-01-25T11:57:28.950" UserId="1835" />
  <row Id="7935" PostId="6408" Text="Creating the setup with LVM would make it a lot more flexible and scalable. Using primary/logical partitions works fine for a static setup. Depends on the use case and the available time to implement a solution." CreationDate="2011-01-25T12:31:57.047" UserId="3069" />
  <row Id="7936" PostId="6413" Text="Ok, thanks for your post it was useful. I will try to put it in .bashrc and I'll let you know." CreationDate="2011-01-25T12:33:04.253" UserId="3967" />
  <row Id="7937" PostId="6422" Text="This could be it, because I installed it as well. But then I didn't even stop it, and the problem went away." CreationDate="2011-01-25T13:29:22.207" UserId="688" />
  <row Id="7940" PostId="6430" Score="1" Text="This is a duplicate of [this question](http://unix.stackexchange.com/questions/4195/is-there-a-way-in-bash-to-redirect-output-and-still-have-it-go-to-stdout)" CreationDate="2011-01-25T14:12:28.660" UserId="3780" />
  <row Id="7941" PostId="6430" Text="@Nuno No it's not. The OP wants to have different files for stdout and stderr." CreationDate="2011-01-25T14:12:28.783" UserId="872" />
  <row Id="7942" PostId="6430" Text="@dogbane Yes, you're right. Sorry about that." CreationDate="2011-01-25T14:12:28.817" UserId="3780" />
  <row Id="7943" PostId="5618" Score="1" Text="I can't put my finger on it at the moment but on: http://android.git.kernel.org/ I think it should be in platform/hardware or platform/external - probably external" CreationDate="2011-01-25T14:48:46.350" UserId="3397" />
  <row Id="7944" PostId="6433" Text="The real question is: why do you need that?  You don't trust what the process can do you the files you have access to?" CreationDate="2011-01-25T14:59:35.907" UserId="1946" />
  <row Id="7945" PostId="6433" Score="1" Text="@alex: I have a script executing multiple simulations (in different directories) and want to make sure no matter how bad the programming they can only access files in their own directory and not accidentally modify e.g. the output of the other simulations" CreationDate="2011-01-25T15:10:46.497" UserId="863" />
  <row Id="7946" PostId="6436" Text="That would only work if I knew the depth, otherwise I end up with `/`. Ok, I could check recursively, but isn't there something easier?" CreationDate="2011-01-25T15:41:00.330" UserId="863" />
  <row Id="7947" PostId="6430" Text="I still find this question very familiar. Let me look up... Here is a very similar one http://unix.stackexchange.com/q/4195/250, and here is a related one http://unix.stackexchange.com/q/1416/250" CreationDate="2011-01-25T15:57:41.287" UserId="250" />
  <row Id="7948" PostId="6437" Score="3" Text="`${#var}` is the length of `$var`, so you can generalize it as `[ &quot;${PWD:0:${#1}}&quot; = &quot;$1&quot; ]`" CreationDate="2011-01-25T15:58:08.973" UserId="73" />
  <row Id="7949" PostId="6436" Text="@tob If only I knew shell programming ;-)" CreationDate="2011-01-25T16:06:05.830" UserId="688" />
  <row Id="7950" PostId="6433" Score="2" Text="@Tobias: I got your point.  `chroot` would naturally fit there, but then again you're not root." CreationDate="2011-01-25T16:12:55.460" UserId="1946" />
  <row Id="7953" PostId="6449" Text="So you do think this is the most advanced FLOSS in this category? Note that I'm not looking for a recommendation." CreationDate="2011-01-25T18:14:00.210" UserId="688" />
  <row Id="7954" PostId="6403" Text="@Tshepang, == most reliable?" CreationDate="2011-01-25T19:17:50.663" UserId="2150" />
  <row Id="7955" PostId="6411" Text="Are you sure the name uniquely determines the content of a file, otherwise you should consider comparing files by their checksums." CreationDate="2011-01-25T19:22:26.210" UserId="2150" />
  <row Id="7956" PostId="6403" Text="@kas Nope, doesn't count." CreationDate="2011-01-25T19:22:59.127" UserId="688" />
  <row Id="7958" PostId="6408" Text="I use the light weight home and another partition for the heavy stuff with symbolic links. Works great, and you can add some configuration for common programs such as firefox in the shared &quot;heavy stuff&quot; partition and replace the files with symlinks." CreationDate="2011-01-25T19:36:47.880" UserId="312" />
  <row Id="7960" PostId="6310" Text="Locally I meant on the current hard drive I was using. I was able to fix the issue though. I appreciate the comments." CreationDate="2011-01-25T19:52:56.930" UserId="4090" />
  <row Id="7961" PostId="6310" Text="@Cross Your post was converted into a comment. To reply to an answer or comment in the future, use the `add comment` button below the answer. This is a [questions and answers site](http://unix.stackexchange.com/about), not a forum where posts appear in chronological order. Please delete this answer and post its contents as a comment where it belongs. You can also now accept your actual answer (click the checkmark next to it)." CreationDate="2011-01-25T19:52:57.010" UserId="885" />
  <row Id="7963" PostId="6426" Text="yes, that is. this seems to be related, though doesn't seem as extensive: https://wiki.ubuntu.com/Testing/Laptop/Reports" CreationDate="2011-01-25T20:11:13.640" UserId="4084" />
  <row Id="7964" PostId="6420" Text="How do you know that “it” (what?) looks for the kernel? Presumably from an error message, so reproduce it here. As you probably can't copy-paste, transcribe the messages (as search engine fodder) and post a screenshot." CreationDate="2011-01-25T20:25:21.500" UserId="885" />
  <row Id="7965" PostId="6452" Text="Doesn't work so well. Maybe it's a bug, but the audio comes back mangled, though it does do the job (remove the rest of the audio tracks)." CreationDate="2011-01-25T20:32:02.243" UserId="688" />
  <row Id="7966" PostId="6449" Text="Then why the heck are you asking? To stay on topic Kdenlive is probably not as &quot;advanced&quot; as Cinelerra, whatever that means." CreationDate="2011-01-25T20:40:37.580" UserId="2469" />
  <row Id="7967" PostId="6427" Text="Are you a programmer? You could attempt to submit a patch to them :)" CreationDate="2011-01-25T21:19:29.153" UserId="3635" />
  <row Id="7969" PostId="6272" Text="@steven, well I'm much too lazy to figure out which dep on arch pulls in a large chunk of gnome, esp when I run kde" CreationDate="2011-01-25T21:50:10.510" UserId="29" />
  <row Id="7970" PostId="6433" Score="1" Text="I think that selinux, apparmor, and grsecurity, *might* be able to do this, but I'm not sure. but then if those aren't available or configured by the sys admin, you're sol on that." CreationDate="2011-01-25T22:31:04.433" UserId="29" />
  <row Id="7971" PostId="6427" Text="@justin I'm actually a contributor to that project, and it's on my TODO list :-)" CreationDate="2011-01-25T23:04:29.703" UserId="688" />
  <row Id="7972" PostId="6410" Text="@alex I unistalled some programs, so was checking if they were still alive. Have you played with `lsof` before? When a process is still alive, and the file gets deleted, it's flagged as &quot;deleted&quot;." CreationDate="2011-01-25T23:07:20.743" UserId="688" />
  <row Id="7973" PostId="6453" Text="Accepted for good detail. Thanks, chap." CreationDate="2011-01-25T23:41:57.567" UserId="4180" />
  <row Id="7974" PostId="6461" Score="3" Text="That's true of Linux, but not of all OSes, e.g. OpenBSD amd64 can't run i386 binaries, and Solaris amd64/i386 can run both kinds of binaries on either kernel architecture." CreationDate="2011-01-26T00:56:55.120" UserId="885" />
  <row Id="7975" PostId="6423" Text="This looks promising -- but does it move the files, or just create symlinks? " CreationDate="2011-01-26T04:21:25.707" UserId="4153" />
  <row Id="7976" PostId="6428" Text="Sorry, I don't understand any of this!" CreationDate="2011-01-26T04:24:09.603" UserId="4153" />
  <row Id="7977" PostId="6423" Text="I think I understand most of this; but what does the `grep` line do? Does it just find the full path of the matching file in `dstlist`?" CreationDate="2011-01-26T04:29:34.417" UserId="4153" />
  <row Id="7978" PostId="3695" Text="It sounds like you're trying to dump LiveCD images for various distributions onto a USB drive and then be able to boot them.  Is this correct?" CreationDate="2011-01-26T06:53:00.563" UserId="4196" />
  <row Id="7979" PostId="5135" Text="You would probably need to approach this more like an ADSL router or smart phone than a PC.  The board probably has a serial interface and almost definitely has a JTAG interface.  So it's likely possible, but probably not just a matter of booting via USB or PXE/tftp.  Then again, tftp boot it worth a try.  If you can get a serial console hooked up (assuming it has one) you will likely be able to get more useful information." CreationDate="2011-01-26T07:01:02.593" UserId="4196" />
  <row Id="7980" PostId="6472" Text="voteup - thanks for letting me know about rsstail :)" CreationDate="2011-01-26T07:05:46.143" UserId="3913" />
  <row Id="7981" PostId="5198" Text="@ronin5000 It seems to have NAND flash rather than a hard drive.  Sounds more like a smart phone or ADSL router (with screen and keyboard, of course) than a PC.  Something like OpenWrt might be worth a try if it's possible to get a serial console or JTAG cable hooked up." CreationDate="2011-01-26T07:08:40.363" UserId="4196" />
  <row Id="7982" PostId="6410" Text="oh, didn't know that.  that might make sense" CreationDate="2011-01-26T07:09:45.650" UserId="1946" />
  <row Id="7983" PostId="6423" Text="@Dan: apparently by the use of `ln` it creates symlinks.  You may employ `mv` to move the files, but beware of overwriting existing ones.  Also, you might want to cleanup empty dirs if any, after moving the files away.  Yes, that `grep` command searches for a line which ends on the filename, thus revealing the full path to it in on destination drive." CreationDate="2011-01-26T07:13:35.040" UserId="1946" />
  <row Id="7984" PostId="6470" Score="2" Text="This works only for git itself.  The question is more generic." CreationDate="2011-01-26T07:15:25.907" UserId="1946" />
  <row Id="7985" PostId="2887" Text="Could also be bad disk, but RAM is more likely.  Power supply could also cause problems." CreationDate="2011-01-26T07:25:54.800" UserId="4196" />
  <row Id="7987" PostId="6481" Text="Oh very nice. Can you explain what `$(cat &quot;$i&quot;)` is doing? That is, I understand what the output of that will be, based on your example, but what does that syntax mean?" CreationDate="2011-01-26T09:26:08.857" UserId="4199" />
  <row Id="7988" PostId="6481" Text="This is called command substitution. `$(command)` will execute `command` and print the output of it (if any). In this case, `echo` will receive the output of `cat &quot;$i&quot;` as an input and processes that further. See the section 'Command Substitution' in `man bash`" CreationDate="2011-01-26T09:41:08.957" UserId="3069" />
  <row Id="7989" PostId="6480" Text="Thank you! Do you know how I can do the same under CentOS?" CreationDate="2011-01-26T09:49:44.510" UserId="3858" />
  <row Id="7990" PostId="6464" Text="Thanks I will try some of these things later today! Looks like this will be the accepted answer :)" CreationDate="2011-01-26T10:17:01.707" UserId="4185" />
  <row Id="7991" PostId="6461" Score="1" Text="Exactly, but the question explicitly mentions Linux. " CreationDate="2011-01-26T10:20:28.437" UserId="4135" />
  <row Id="7992" PostId="6480" Text="@Alix Not really and I don't have access to a CentOS box" CreationDate="2011-01-26T10:42:27.547" UserId="252" />
  <row Id="7993" PostId="6437" Text="@Michael Mrozek♦: Thanks, works perfect :)" CreationDate="2011-01-26T11:03:43.127" UserId="863" />
  <row Id="7994" PostId="6454" Text="+1 Thanks for this exhaustive answer. I didn't consider links and filesystem peculiarities when asking this, but it's definitely good to know" CreationDate="2011-01-26T11:08:51.900" UserId="863" />
  <row Id="7996" PostId="6441" Text="+1 for working, but a bit slower than a native bash test" CreationDate="2011-01-26T11:13:50.007" UserId="863" />
  <row Id="7997" PostId="6438" Text="+1 perfect, and for a more general case: `[ &quot;${PWD##$VAR}&quot; != &quot;$PWD&quot; ]` And if this were a [code-golf ](http://stackoverflow.com/questions/tagged/code-golf)question you'd have beaten me by two chars ;-) Also it looks more readable..." CreationDate="2011-01-26T11:16:36.460" UserId="863" />
  <row Id="7998" PostId="6485" Score="2" Text="Using the output of ls is also usually [a mistake](http://mywiki.wooledge.org/ParsingLs)." CreationDate="2011-01-26T13:14:00.897" UserId="2180" />
  <row Id="7999" PostId="6483" Score="3" Text="it's not. the fact that modules are loaded dynamically does not change the fact, that they are run with full kernel privileges, and as part of monolithic kernel." CreationDate="2011-01-26T14:05:43.670" UserId="3965" />
  <row Id="8000" PostId="6489" Text="This is only user-friendly if you have a GUI installed :)" CreationDate="2011-01-26T15:22:34.500" UserId="3069" />
  <row Id="8001" PostId="6489" Text="Is it possible to do it without internet connection? the VM is only connected to the host machine (windows)" CreationDate="2011-01-26T15:30:45.050" UserId="4211" />
  <row Id="8002" PostId="6489" Text="@jorgebg - Try to download all packages from .../mono/.../openSUSE_11.2/i586/ to a local directory on your VM, go to this directory and run `rpm -U *.rpm`" CreationDate="2011-01-26T15:42:33.470" UserId="4212" />
  <row Id="8003" PostId="6448" Text="Thank you so much this worked perfectly - just installed alsa-plugins-pulseaudio.i686, I suspected some explanation like yours, but I wasn't sure how to actually fix it. Thanks so much." CreationDate="2011-01-26T15:43:45.187" UserId="4176" />
  <row Id="8004" PostId="6489" Text="Depending on the virtualization software you use, it is possible to allow the VM to also use the same internet connection (if your host machine has internet)." CreationDate="2011-01-26T15:43:50.610" UserId="3069" />
  <row Id="8005" PostId="6489" Text="@developer thanks, I will download them all and I'll try" CreationDate="2011-01-26T15:50:13.403" UserId="4211" />
  <row Id="8006" PostId="6475" Text="Yeap -t cifs was the answer. I cound't accept Gilles comment as such, because, well it was a comment. :) " CreationDate="2011-01-26T15:54:21.993" UserId="229" />
  <row Id="8007" PostId="6483" Score="1" Text="For hybrid design it would be more important wheather some drivers (for USB, Scanners, Printers and graphics) are implemented in userspace rather then kernel. The distinction is not clear and Linux can be stated as hybrid kernel as there is libusb, sane, cups and mesa - not because there is insmod and rmmod." CreationDate="2011-01-26T16:02:32.360" UserId="305" />
  <row Id="8008" PostId="891" Text="may I ask... why?" CreationDate="2011-01-26T17:31:27.263" UserId="863" />
  <row Id="8009" PostId="6466" Text="/etc/mtab is it! That's where it's defined. When you use the &quot;mount&quot; command why don't you have to specify the type or if it's ro or rw like what's specified in /etc/mtab? " CreationDate="2011-01-26T17:35:52.160" UserId="431" />
  <row Id="8010" PostId="6403" Text="If &quot;reliable&quot; doesn't count in terms of &quot;most advanced&quot; for a linux video editor, then you clearly haven't used many linux video editors.  " CreationDate="2011-01-26T17:47:31.567" UserId="1207" />
  <row Id="8011" PostId="6428" Score="1" Text="`join` is really interesting.  Thanks for bringing it to my attention." CreationDate="2011-01-26T17:48:14.920" UserId="1207" />
  <row Id="8012" PostId="6403" Text="@steven Am lost in translation. Are you suggesting that the editors are unstable? If so, why do you think I'm suggesting that they are? My point was that the word advanced has nothing to do with stability. At least that's how interpret it." CreationDate="2011-01-26T18:00:28.197" UserId="688" />
  <row Id="8013" PostId="6461" Text="You MIGHT be able to run 32bit applications. It depends. Ubuntu is really good at including 32bit libs so I've never had a problem. But something like arch, getting 32 bit shared libraries on a 64 bit system isn't trivial. However if the binary doesn't have dynamic library dependences you should be fine. Unless you're building it from source." CreationDate="2011-01-26T18:13:58.753" UserId="1571" />
  <row Id="8014" PostId="6481" Text="@wag thank you!" CreationDate="2011-01-26T18:34:54.860" UserId="4199" />
  <row Id="8015" PostId="6499" Text="Actually ELILO is the EFI support for LILO. It exists. And unlike straight up LILO, gets updates." CreationDate="2011-01-26T18:43:42.567" UserId="366" />
  <row Id="8016" PostId="6500" Text="Slackware still uses LILO, at least as of version 13.1.  Slackware is noted for its robustness, and Patrick Volkerding is noted for not upgrading to obtain buzzword compliance." CreationDate="2011-01-26T19:14:44.707" UserId="732" />
  <row Id="8017" PostId="3439" Text="echox, your case statement does not correctly detect zsh4  &#xD;&#xA;&#xD;&#xA;&#xD;&#xA;    #Determine our shell without using $SHELL, which may lie  &#xD;&#xA;&#xD;&#xA;    shell=&quot;sh&quot;  &#xD;&#xA;    if test -f /proc/mounts; then  &#xD;&#xA;        case $(/bin/ls -l /proc/$$/exe) in  &#xD;&#xA;            *bash) shell=bash ;;  &#xD;&#xA;            *dash) shell=dash ;;  &#xD;&#xA;            *ash)  shell=ash ;;  &#xD;&#xA;            *ksh)  shell=ksh ;;  &#xD;&#xA;            *zsh*) shell=zsh ;; #matches zsh4  &#xD;&#xA;        esac  &#xD;&#xA;    fi  &#xD;&#xA;" CreationDate="2011-01-26T19:28:04.530" UserId="4203" />
  <row Id="8018" PostId="6466" Text="@tooshel: `/etc/mtab` doesn't define mount points, it is updated by the `mount` command. It contains the options that `mount` passes to the kernel." CreationDate="2011-01-26T19:28:27.743" UserId="885" />
  <row Id="8019" PostId="6403" Text="My point is that almost none of the &quot;popular&quot; linux video editing suites are, in my experience, stable enough to count on.  It would be nice to have one that didn't choke on huge clip imports.  I would consider that an &quot;advancement&quot;." CreationDate="2011-01-26T19:31:19.173" UserId="1207" />
  <row Id="8020" PostId="6403" Text="@steven Well, that would then be &quot;what is the most stable/reliable ...&quot;. Anyways, I found `avidemux` pretty stable, but it often gives junk output." CreationDate="2011-01-26T19:34:37.750" UserId="688" />
  <row Id="8021" PostId="6459" Text="You may also be interested in [My processor is 64-bit - does that mean I need the amd64 image?](http://askubuntu.com/questions/3378/my-processor-is-64-bit-does-that-mean-i-need-the-amd64-image) and numerous [threads on Super User](http://superuser.com/questions/tagged/linux+64-bit)." CreationDate="2011-01-26T19:38:15.547" UserId="885" />
  <row Id="8022" PostId="4590" Score="1" Text="You wanna add exactly which config options you changed?" CreationDate="2011-01-26T19:39:49.150" UserId="688" />
  <row Id="8023" PostId="6500" Score="1" Text="Slackware is also why I know LILO so well." CreationDate="2011-01-26T19:40:40.583" UserId="366" />
  <row Id="8027" PostId="6507" Text="None of this works. Thanks" CreationDate="2011-01-26T20:02:04.907" UserId="4223" />
  <row Id="8028" PostId="6508" Text="[user@somewhere cms]$ sudo yum install subversion&#xA;Loaded plugins: fastestmirror&#xA;Loading mirror speeds from cached hostfile&#xA; * addons: mirror.chpc.utah.edu&#xA; * base: mirrors.usc.edu&#xA; * extras: mirror.chpc.utah.edu&#xA; * updates: centos.mirror.facebook.net&#xA;Setting up Install Process&#xA;Package subversion-1.4.2-4.el5_3.1.i386 already installed and latest version&#xA;Nothing to do" CreationDate="2011-01-25T22:11:50.100" UserId="4223" />
  <row Id="8029" PostId="6464" Text="The find | grep '[[:print:]]' command seems to simply return all files. Shouldn't UTF-8 be compatible with many other encodings with &quot;normal&quot; characters?" CreationDate="2011-01-26T21:23:01.580" UserId="4185" />
  <row Id="8030" PostId="6510" Text="[rgriffin@lnxcmsdev ~]$ sudo rpm -i subversion-1.6.11-7.el5.src.rpm &#xA;[sudo] password for user: &#xA;warning: subversion-1.6.11-7.el5.src.rpm: Header V3 DSA signature: NOKEY, key ID 37017186&#xA;error: cannot create %sourcedir /usr/src/redhat/SOURCES" CreationDate="2011-01-26T21:25:36.217" UserId="4223" />
  <row Id="8032" PostId="6359" Text="all good just reverted back to my old kernel, need to rebuild that beast soon! " CreationDate="2011-01-26T21:39:55.097" UserId="3183" />
  <row Id="8033" PostId="6464" Text="@RobbieV: I typoed and meant `grep [^[:print:]]` to search for unprintable characters. But I've just tested with GNU grep and invalid UTF-8 sequences aren't caught by `[^[:print:]]` (which makes sense as they're not unprintable characters, they aren't characters at all). I've edited my post with a longer way of grepping lines with invalid utf8 sequences. Note that I've also fixed the direction of the `recode` and `iconv` examples." CreationDate="2011-01-26T22:14:49.970" UserId="885" />
  <row Id="8035" PostId="6485" Text="I happen to disagree with that. On my systems the file names are reasonable. That means no control characters, tabs, newlines, spaces, quotes ... If you expect weird or malicious file names, you should use C. Detailed discussion about the [problem](http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html)." CreationDate="2011-01-26T22:37:32.740" UserId="4204" />
  <row Id="8036" PostId="6466" Text="@tooshel: Regarding you not having to specify the type or ro/rw, mount will try to figure out the fs type on its own if you don't specify one. Likewise if you don't include any options it will default to rw and other options depending on what type the fs is. If you search the mount man page of your distro for 'mtab' and 'defaults' under '-o' it will tell you more." CreationDate="2011-01-26T22:38:07.943" UserId="3852" />
  <row Id="8037" PostId="6464" Text="That worked perfectly. Tried all the commands except the iconv one, and they all work as expected. Pure magic!" CreationDate="2011-01-26T22:55:14.927" UserId="4185" />
  <row Id="8038" PostId="6464" Text="Even the suggested latin1 encoding was the correct one :)" CreationDate="2011-01-26T22:55:55.207" UserId="4185" />
  <row Id="8039" PostId="6514" Text="When you've started `jackd`, can you play sound with `mplayer -ao jack`? Do you have another sound server running (`esd`, `pulseaudio`, …)?" CreationDate="2011-01-26T23:06:33.947" UserId="885" />
  <row Id="8040" PostId="6514" Text="@gilles I get a similar message, `jack server is not running or cannot be started`." CreationDate="2011-01-27T04:57:04.880" UserId="688" />
  <row Id="8041" PostId="6504" Text="Was history overwritten each time?" CreationDate="2011-01-27T04:59:28.980" UserId="688" />
  <row Id="8043" PostId="6516" Text="See also http://keithdevens.com/weblog/archive/2004/Jun/29/UTF-8.regex for a possible regex. " CreationDate="2011-01-27T06:54:19.373" UserId="3169" />
  <row Id="8044" PostId="6513" Text="mmckinst, It seems that the contents of http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/ cannot be seen from my end. Maybe the permission is restricted? Coz that would have been a better alternative than searching through rpm.pbone.net as I've suggested" CreationDate="2011-01-27T07:19:39.070" UserId="3913" />
  <row Id="8045" PostId="3086" Text="-1 As pointed out below Lucene or Tracker are good choices, but what's your problem with &quot;use gtk, or even worse qt&quot; ? Using just the command line is fine, but I don't see the point of criticizing a set of libraries..." CreationDate="2011-01-27T08:16:06.947" UserId="3372" />
  <row Id="8046" PostId="6516" Text="@Mikel: or http://unix.stackexchange.com/questions/6460/bulk-rename-or-correctly-display-files-with-special-characters/6464#6464 … I was hoping for something less clumsly." CreationDate="2011-01-27T08:18:20.737" UserId="885" />
  <row Id="8047" PostId="6517" Text="Ok, that's `iconv -c -t UTF-8 &lt;input.txt | diff input.txt - | sed -ne 's/^&lt; //p'`. It won't work as a pipeline, though, since you need to read the input twice (no, `tee` won't do, it might block depending on how much buffering `iconv` and `diff` do)." CreationDate="2011-01-27T08:22:15.083" UserId="885" />
  <row Id="8048" PostId="6504" Score="2" Text="@Tshepang: Yes, same as now if you don't use `histappend`." CreationDate="2011-01-27T08:22:42.197" UserId="885" />
  <row Id="8051" PostId="6472" Text="-o doesn't seem to work in 1.6 it's not even in the output of the wrong syntax help. though it is oddly in the man page." CreationDate="2011-01-27T11:05:19.447" UserId="29" />
  <row Id="8053" PostId="3086" Score="1" Text="@tmow: point taken, question edited. Didn't mean to undermine anyone's hard work, sorry if that's how it came through..." CreationDate="2011-01-27T11:24:44.360" UserId="1791" />
  <row Id="8054" PostId="6528" Text="Maybe I have misinterpreted it. I just remembered editing /etc/adduser.conf on a Debian server and the NAME_REGEX (ie the disallowed name regex) contained an underscore. It was commented there however, but I guess I assumed that it represented the default NAME_REGEX." CreationDate="2011-01-27T11:45:07.923" UserId="2518" />
  <row Id="8055" PostId="6530" Text="I've never seen such a note. Also, that's the reason there are mirrors." CreationDate="2011-01-27T12:29:31.200" UserId="688" />
  <row Id="8056" PostId="6531" Text="But the question was about `_` not `:`..." CreationDate="2011-01-27T13:13:43.937" UserId="1974" />
  <row Id="8057" PostId="6531" Text="Isn't the @ also allowed in posix, at least according to adduser" CreationDate="2011-01-27T13:16:53.610" UserId="2518" />
  <row Id="8058" PostId="6531" Text="And yeah while that explains why you shouldn't allow : it doesn't explain why _ is bad." CreationDate="2011-01-27T13:17:51.330" UserId="2518" />
  <row Id="8059" PostId="6528" Text="`NAME_REGEX` is the *allowed* name regex, not the *disallowed* name regex... i.e. if a name matches `NAME_REGEX` then it is valid." CreationDate="2011-01-27T13:20:23.070" UserId="1974" />
  <row Id="8061" PostId="6510" Text="Sorry, when I suggested you use the Source RPM, that meant you'd have to build it from the source.  This is what the CentOS maintainers will eventually do.  If you would like to build your own package, follow the instructions in the CentOS SetupRpmBuildEnvironment wiki: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment  (or, just wait until they release CentOS 5.6, which should be soon)." CreationDate="2011-01-27T13:31:05.017" UserId="3976" />
  <row Id="8062" PostId="6215" Score="1" Text="+1 -- **be very very *very* careful with `dd`!!!** :-)" CreationDate="2011-01-27T13:31:16.163" UserId="1974" />
  <row Id="8063" PostId="513" Text="@Kevin: Funny, that's one of my first experience with computers. At age 8 or so, I decided to &quot;clean up&quot; the System disk of my Apple IIGS. Sure, I could move any file anywhere... once. AFter I rebooted I couldn't use the computer anymore until I found a friend with an Apple IIGS and cloned his Systen disk :-)" CreationDate="2011-01-27T13:34:37.547" UserId="1974" />
  <row Id="8065" PostId="6531" Text="`_` is allowed by default, see the edit. I gave an example of the forbidden character `:` to show the possible problems with it." CreationDate="2011-01-27T13:48:13.223" UserId="3069" />
  <row Id="8066" PostId="6510" Text="... and here are the instructions to actually building the package: http://wiki.centos.org/HowTos/RebuildSRPM" CreationDate="2011-01-27T13:48:49.667" UserId="3976" />
  <row Id="8067" PostId="6530" Text="@Tshepang Here is the one for Gentoo (at the bottom of the page), I also remember seeing it for another distro as well http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&amp;chap=1" CreationDate="2011-01-27T14:22:15.817" UserId="250" />
  <row Id="8068" PostId="2009" Score="2" Text="Same question at http://askubuntu.com/questions/21645/an-application-asks-to-unlock-the-keyring-on-startup-but-it-doesnt-say-which-on" CreationDate="2011-01-27T14:39:19.420" UserId="269" />
  <row Id="8069" PostId="6532" Text="Thanks, but this is not really about me or my company. I was just thinking of it as a way to avoid having stress on the server of any distribution. Would be fantastic, wouldn't it?" CreationDate="2011-01-27T14:40:49.837" UserId="250" />
  <row Id="8070" PostId="5618" Text="@aking1012 is right, android uses a GNU/Linux kernel " CreationDate="2011-01-27T15:27:57.530" UserId="3372" />
  <row Id="8072" PostId="6538" Text="Perhaps you could show the evidence you've collected to show the memory leaks, to give us an idea of what's going on?" CreationDate="2011-01-27T16:14:40.070" UserId="3976" />
  <row Id="8073" PostId="6538" Text="Which OS? What version? Did you upgrade Xorg?" CreationDate="2011-01-27T16:15:32.743" UserId="688" />
  <row Id="8074" PostId="6538" Text="@jsbillings: top shows that the process `Xorg` takes a lot of memory (like 300m) even if I close all X11 applications (but Gnome ones)." CreationDate="2011-01-27T16:16:55.137" UserId="4041" />
  <row Id="8075" PostId="6539" Text="I don't think so. I'm using the proprietary nvidia drivers, haven't got KMS etc" CreationDate="2011-01-27T16:22:30.033" UserId="4041" />
  <row Id="8076" PostId="6537" Text="Look, this is the first answer of the kind that I was expecting :)" CreationDate="2011-01-27T16:38:42.963" UserId="250" />
  <row Id="8077" PostId="6530" Text="Perhaps that's unique to src-based systems?" CreationDate="2011-01-27T16:42:02.867" UserId="688" />
  <row Id="8078" PostId="891" Text="Because I needed to set all to it in the current directory, not from the root directory up..." CreationDate="2011-01-27T16:52:32.540" UserId="625" />
  <row Id="8079" PostId="6466" Text="Thanks . . . this let me in the right direction." CreationDate="2011-01-27T17:23:36.433" UserId="431" />
  <row Id="8080" PostId="5618" Text="@tmow Thanks - I was thinking they wanted everything in modules, but USB support is built into the android kernel itself.  Added the location of the relevant code in an answer." CreationDate="2011-01-27T19:13:02.717" UserId="3397" />
  <row Id="8081" PostId="6541" Text="`-x &quot;*CVS*&quot;` excludes any file or directory whose name contains `CVS` as a substring (ditto for `.svn`)." CreationDate="2011-01-27T19:16:07.900" UserId="885" />
  <row Id="8082" PostId="6529" Text="You won't be able to use `:`, a newline or a null character in a user name even if you edit `/etc/passwd` (or most other user databases) by hand." CreationDate="2011-01-27T19:22:33.370" UserId="885" />
  <row Id="8083" PostId="6528" Text="Debian lenny (stable as I write) doesn't have `NAME_REGEX` in `/etc/adduser.conf`, and the built-in default forbids `_`." CreationDate="2011-01-27T19:23:22.087" UserId="885" />
  <row Id="8084" PostId="6525" Score="3" Text="If the kernel crashes, the system often won't have time to handle the relevant log messages. See [How can I get a Kernel Core Dump](http://askubuntu.com/questions/3051/how-can-i-get-a-kernel-core-dump) and [Kernel Netconsole](https://wiki.ubuntu.com/Kernel/Netconsole) for advice on debugging kernel panics on Ubuntu, you may be able to adapt it to Debian." CreationDate="2011-01-27T19:29:26.917" UserId="885" />
  <row Id="8086" PostId="5135" Text="Keep in mind you're going to need to find a distro that builds things for the ARM chips.  It seems that people have linux running on similar systems, so it's possible, but it's definitely something that'll take some patience and experience. " CreationDate="2011-01-27T20:27:29.017" UserId="3976" />
  <row Id="8087" PostId="6548" Text="That works fine, thanks. So is that an array containing `\(`, `-iname`, `'*.aif'`, `-o`, `-iname`, ...? I've just never seen an array definition like that." CreationDate="2011-01-27T20:35:11.167" UserId="3558" />
  <row Id="8088" PostId="6552" Text="Oh, and this should work on Windows + NTFS too!" CreationDate="2011-01-27T20:58:09.707" UserId="2179" />
  <row Id="8089" PostId="6552" Text="I'll try this badp... I agree there's nothing unix-specific about your script since it's just python. I was posting here to see if there was some sequence of unix command which could do it but in reality python works too. Except the card is FAT32 formatted, will that support hardlinks?" CreationDate="2011-01-27T21:12:55.187" UserId="1974" />
  <row Id="8090" PostId="6553" Text="Wow that works perfectly, thanks! (I forgot to mention I was on Ubuntu)" CreationDate="2011-01-27T21:15:59.567" UserId="1974" />
  <row Id="8091" PostId="6553" Text="Because this adds line numbers, and then just uses the numbers for the new name, there's no possibility of collisions right? (Or am I understanding the code wrong?)" CreationDate="2011-01-27T21:18:20.407" UserId="1974" />
  <row Id="8092" PostId="6553" Text="@Josh: Right, the file names will use successive integers. The numbers will be globally unique even if there are subdirectories." CreationDate="2011-01-27T21:20:51.217" UserId="885" />
  <row Id="8093" PostId="6102" Text="@alex, by &quot;not flexible&quot; I meant that I needed manually tar directory then gpg it. I have about 60Gb of pics which are now tarballed and gpged. It took about 2 hours and 4 concurrent terminal windows to speed up this process. Now I just tarball and gpg every new directory with pics which I create." CreationDate="2011-01-27T21:51:49.217" UserId="3934" />
  <row Id="8094" PostId="6552" Text="@Josh No, then you can just copy :)" CreationDate="2011-01-27T21:52:38.880" UserId="2179" />
  <row Id="8096" PostId="6102" Text="Hm, that seems pretty reasonable time for that size of data.  Did you expect to run it a lot faster?  What's you plan when you need one those pics--decrypt/untar all the 60Gigs?" CreationDate="2011-01-27T22:01:14.520" UserId="1946" />
  <row Id="8097" PostId="6559" Score="3" Text="Not in any shell that I know of." CreationDate="2011-01-27T22:45:43.310" UserId="885" />
  <row Id="8098" PostId="6555" Text="And `sudo -si` gives you a shell with `SUDO_USER` set." CreationDate="2011-01-27T23:11:07.323" UserId="3309" />
  <row Id="8099" PostId="6555" Text="@bahamat: Just `sudo -i` gives you a shell. In fact: `sudo: you may not specify both the \`-i' and \`-s' options`" CreationDate="2011-01-27T23:13:29.220" UserId="885" />
  <row Id="8100" PostId="6557" Text="`who am i` is not a command on my system, and `whoami` returns &quot;root&quot;" CreationDate="2011-01-27T23:20:32.610" UserId="250" />
  <row Id="8101" PostId="6562" Text="As perl-DBI is in the base repo you should use another base mirror. it seems yum.singlehop.com has no base packages. And this is not git or perl related." CreationDate="2011-01-27T23:27:31.290" />
  <row Id="8102" PostId="6543" Text="That's hilarious. The only reason I use `sudo !!` is because it's faster and more convenient than the &quot;*interactive*&quot; way." CreationDate="2011-01-27T23:37:37.630" UserId="2180" />
  <row Id="8103" PostId="6571" Text="Side note: I also tried my script from command line and it works....$ echo &quot;CLI Test&quot;|./parse-subscribe.pl and I could get the &quot;CLI Test&quot; inside mail_received.txt" CreationDate="2011-01-28T03:16:15.847" UserId="3913" />
  <row Id="8104" PostId="6571" Text="Temporarily made /home/icasimpan 777 just to rule out permission problems but still the error is the same." CreationDate="2011-01-28T03:23:13.387" UserId="3913" />
  <row Id="8105" PostId="6471" Text="Thanks for the info, it is appreciated.  I have updated my question with the specific conditions of the app that prompted this question. If you have more details on the POSIX advice mechanisms for writing files, that would be appreciated, too." CreationDate="2011-01-28T05:42:09.560" UserId="4193" />
  <row Id="8106" PostId="6518" Text="@Gilles: Are you sure? I use unison for everything and often see it spotting files that have been renamed and/or moved far away. Are you saying that this only works for already synced files where unison has had a chance to record inode numbers (or whatever other tricks it uses)?" CreationDate="2011-01-28T07:13:30.017" UserId="2881" />
  <row Id="8107" PostId="6428" Text="@Dan. Sorry. The problem is that I don't know what assumptions I can make about your file names. Scripting without assumptions is no fun, especially in this case where I chose to output the file names to a file http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html ." CreationDate="2011-01-28T07:38:28.507" UserId="2881" />
  <row Id="8108" PostId="6529" Text="@Gilles yes you right, I corrected the answer, but the underscore is fine, to answer to the question the NAME_REGEX is there to prevent some kind of bugs, but it's not set as default because normally some of these chars are allowed." CreationDate="2011-01-28T07:53:04.773" UserId="3372" />
  <row Id="8109" PostId="2996" Text="I have the exact same problem. Have you been able to solve this problem permanently? Although rebooting solves the problem for me as well, this is not really a solution." CreationDate="2011-01-28T08:09:26.227" UserId="2810" />
  <row Id="8110" PostId="6574" Text="Thanks for the suggestion Mikel but it doesn't seem to work. I tried print $_ RCV_MAIL; or print RCV_MAIL $_; but no luck..." CreationDate="2011-01-28T08:19:39.323" UserId="3913" />
  <row Id="8111" PostId="6537" Text="@phunehehe thanks, I fixed a bit the answer." CreationDate="2011-01-28T08:24:53.487" UserId="3372" />
  <row Id="8113" PostId="6574" Text="Hmmm. Could that be a typo error? I don't see a &lt; in this perl reference http://www.perlfect.com/articles/perlfile.shtml" CreationDate="2011-01-28T08:32:33.273" UserId="3913" />
  <row Id="8114" PostId="6574" Text="Sorry, my last comment was wrong.  Please ignore it." CreationDate="2011-01-28T08:32:59.420" UserId="3169" />
  <row Id="8115" PostId="6530" Text="man, the correct answer should be to use appropriate cache headers, only fetch if newer... and I'm pretty sure that Arch has it somewhere... it's more for rolling distro's and people like me addicted to updates" CreationDate="2011-01-28T10:09:30.350" UserId="29" />
  <row Id="8116" PostId="6578" Score="2" Text="@dogbane `Ctrl+alt+backspace` has to be [enabled to kill the xserver](http://unix.stackexchange.com/q/375/29)" CreationDate="2011-01-28T10:18:25.053" UserId="29" />
  <row Id="8117" PostId="6575" Score="2" Text="as a comment windows bastardized ctrl+alt+del, it meant reboot for a long time, and then windows decided to make it pop a task manager instead." CreationDate="2011-01-28T10:21:29.047" UserId="29" />
  <row Id="8118" PostId="6572" Score="1" Text="@linuxpenseur not a answer, but I recommend the [APUE2e](http://www.apuebook.com/) for starting to learn the Unix API" CreationDate="2011-01-28T10:30:21.643" UserId="29" />
  <row Id="8119" PostId="6075" Text="you could do something like this: http://outlyer.net/howtos-linux/pam_mount-encfs/ note: I'm not saying use encfs.  It's a way to get a script to be run by pam_mount" CreationDate="2011-01-28T11:08:28.287" UserId="3397" />
  <row Id="8120" PostId="6225" Text="I have had sketchy performance from ubuntu on menus for both GTK and Qt recently.  Thinking Juliano is right on the themes.  I even had GDM crash during startup when applying theme (in my case I tracked it back to the gnome settings manager app)" CreationDate="2011-01-28T11:15:58.000" UserId="3397" />
  <row Id="8121" PostId="5300" Text="You could adapt the backtrack install to hard drive directions to most linux distros" CreationDate="2011-01-28T11:21:09.073" UserId="3397" />
  <row Id="8122" PostId="6575" Score="3" Text="Just as an aside, it's not really Ctrl+Alt+Del in Windows (although in some cases it does bring it up directly, but not always), but rather Ctrl+Shift+Escape." CreationDate="2011-01-28T12:02:13.530" UserId="1342" />
  <row Id="8123" PostId="3695" Text="@Wodin: Essentially, yes. LiveCD (but with write ability since it will be on writeable media), with one unified bootloader for all the distros/tools I'll want." CreationDate="2011-01-28T13:58:52.930" UserId="2517" />
  <row Id="8125" PostId="6318" Text="Just a further comment.  I grabbed a Pentium 4 machine (that runs Solaris just fine, so I KNOW it's pretty standard hardware!) with 1 GiB RAM and am getting the exact same results.  Are Celeron and Pentium 4 no longer supported by the current Linux kernel?" CreationDate="2011-01-28T14:14:14.157" UserId="2258" />
  <row Id="8126" PostId="6570" Score="1" Text="To further @Mikel's comments about why it wouldn't work:  The browser is speaking HTTP to port 80.  You'd need to somehow convince the browser that it visited a web server that returned a 302 status return, which would redirect the browser to the SSL page." CreationDate="2011-01-28T14:32:43.970" UserId="3976" />
  <row Id="8127" PostId="6537" Score="1" Text="something worth noting is that this would make international controls on crypto almost impossible...maybe why it hasn't been done - the US Govt for example considers crypto to be a &quot;weaponized&quot; tech.  it would kind of suck to get arrested as a weapons trafficker for hosting a linux package." CreationDate="2011-01-28T15:09:04.000" UserId="3397" />
  <row Id="8130" PostId="6593" Text="Cache isn't the only difference between tmpfs and ext3/4; they have journaling, for example, which will be written regardless of caching." CreationDate="2011-01-28T16:02:16.193" UserId="3038" />
  <row Id="8131" PostId="5764" Text="@Rizo- Not very good :(" CreationDate="2011-01-28T16:06:22.537" UserId="3496" />
  <row Id="8132" PostId="6594" Text="Even easier, use `killall nautilus`." CreationDate="2011-01-28T16:11:19.000" UserId="688" />
  <row Id="8133" PostId="6576" Score="2" Text="+1 for reimplementing existing tools. Writing a shell is excellent for learning - working with files, forking, etc." CreationDate="2011-01-28T16:19:28.553" UserId="3038" />
  <row Id="8134" PostId="6567" Text="My xev output looks almost identical to yours.  The difference being in every case my subw is 0x0, and on the letter b, the keycode is 56 instead of 57.  Other than that, it's just the position and times that are different.  I checked and sticky keys are not on.  I don't see any mapping in the keyboard shortcuts for ctrl+shift to anything, and there is nothing mapped to change the keyboard layout.  I selected my keyboard model exactly and still the same behavior.  Thanks for all the pointers though." CreationDate="2011-01-28T16:21:54.920" UserId="4261" />
  <row Id="8135" PostId="6537" Text="@ aking1012 This is a good point, but the control is feasible, it's enough to download all the packages and verify them one by one (the same with a normal distribution), the important thing is that the GNU/Linux distributor provide a list of packages with a cksum (sha*, md5, whatever), that is what happen, anyway, in normal package distributions." CreationDate="2011-01-28T16:34:39.933" UserId="3372" />
  <row Id="8136" PostId="6596" Score="5" Text="You asked and answered your own question here, so there's nothing for us to answer or help you with. Perhaps you might consider saving notes in your personal blog or email inbox?" CreationDate="2011-01-28T15:57:38.407" />
  <row Id="8137" PostId="6596" Score="2" Text="@joachim, you should ask the question in a question and provide an answer in an answer. There's no problem with answering your own questions but not as part of the question itself, since that breaks down the whole community-votes-on-the-best-answer advantage of SO. In addition, this is probably better suited for superuser since it's not programming related." CreationDate="2011-01-28T16:02:21.473" />
  <row Id="8138" PostId="6596" Score="2" Text="Where will you document how to get online and check SO if you forget your login?" CreationDate="2011-01-28T16:05:01.683" />
  <row Id="8139" PostId="6598" Text="Sorry, I only have finite brain space and I'm absolutely not going to waste it on cryptic stuff like that. Hence why I wanted to post this so I can find it again -- and other people too I hope." CreationDate="2011-01-28T16:51:25.023" UserId="4288" />
  <row Id="8140" PostId="6596" Text="@rlb.usa: I work in a lot of different places on a lot of different servers. Using SA for a note like this helps other people too, as I see it." CreationDate="2011-01-28T16:51:59.763" UserId="4288" />
  <row Id="8141" PostId="6557" Text="On my system it works: `whoami` returns 'root', `who am i` returns my username" CreationDate="2011-01-28T16:57:25.683" UserId="4289" />
  <row Id="8142" PostId="6602" Text="Tried and failed :(" CreationDate="2011-01-28T17:31:24.667" UserId="4290" />
  <row Id="8143" PostId="6559" Text="you are correct. it does not deletes sub-directories." CreationDate="2011-01-28T18:03:25.607" UserId="3934" />
  <row Id="8144" PostId="6518" Text="@Janus: Thanks for the correction, my comment was indeed wrong. Unison does detect files that were moved, even on the initial run. (It doesn't do this when both roots are local, which is why it didn't do it in my test.) So unison is a very good suggestion." CreationDate="2011-01-28T18:22:34.383" UserId="885" />
  <row Id="8145" PostId="6598" Score="2" Text="What's wrong with using the man page?" CreationDate="2011-01-28T18:55:30.153" UserId="3001" />
  <row Id="8146" PostId="2215" Text="Wait, we don't call it 'pound'?" CreationDate="2011-01-28T19:00:23.050" UserId="3998" />
  <row Id="8147" PostId="4714" Text="Agreed -- in fact, when talking to folks who know Unix things, I usually omit the 'dash' even.  I.e., &quot;rmrf slash&quot; . No one who doesn't know what that means doesn't need to be running the command." CreationDate="2011-01-28T19:05:26.427" UserId="3998" />
  <row Id="8148" PostId="2307" Text="@Joel -- ah, I made this exact observation above (in another comment).  'rmrf' needs no dashes, hacks, tacks, minuses, etc..  It's shorthand, and inscrutability to those who shouldn't run it is a plus." CreationDate="2011-01-28T19:07:58.980" UserId="3998" />
  <row Id="8149" PostId="5075" Score="3" Text="If Linux knowledge was required for Unix how would people have learned Unix before Linux ever existed?" CreationDate="2011-01-28T19:32:49.007" UserId="3447" />
  <row Id="8150" PostId="6575" Text="There's no standard GUI for Linux. Something like this is entirely dependent on a desktop environment (Gnome, KDE, …) or window manager configuration. But if only an application has crashed, the usual system menus will keep responding, and if the whole system has crashed, nothing will respond. There are a few intermediate states where some fundamental system component (e.g. the X server) has crashed, see [jsbillings's answer](http://unix.stackexchange.com/questions/6575/6607#6607)and [jwernerny's answer](http://unix.stackexchange.com/questions/6575/6582#6582)." CreationDate="2011-01-28T19:56:44.750" UserId="885" />
  <row Id="8151" PostId="6603" Text="Could a later rule be overriding yours? Is this the complete file listing? What other files come later (in lexicographic order) in `/etc/udev/rules.d`?" CreationDate="2011-01-28T20:05:28.547" UserId="885" />
  <row Id="8152" PostId="6568" Score="2" Text="Or `*(D)` (the `D` glob qualifier turns on the `glob_dots` option for this pattern)." CreationDate="2011-01-28T20:14:28.753" UserId="885" />
  <row Id="8153" PostId="6574" Text="`open(&quot;RCV_MAIL&quot;, …)` is horrible style, but it does work (Perl converts the string to a symbol). `print RCV_MAIL` works as well (it's a FILEHANDLE followed by an empty LIST, this only works if FILEHANDLE is a bare word IIRC)." CreationDate="2011-01-28T20:25:02.313" UserId="885" />
  <row Id="8154" PostId="6580" Score="1" Text="This is likely to be a shell misconfiguration, probably the lack of prompt protection [suggested by mikel](http://unix.stackexchange.com/questions/6580/why-is-gnu-screen-byobu-leaving-garbage-text-in-the-shell-during-a-reverse-sear/6581#6581). What shell are you using (probably bash, but please confirm)?" CreationDate="2011-01-28T20:26:53.433" UserId="885" />
  <row Id="8155" PostId="6612" Text="Thank you for your idea. However, I'm running into two problems: su does not have a -u option, at least on my machine. Running it correctly (su -c command user) leads to another problem, namely that su must be run from a terminal. It probably wouldn't work anyway as su opens a new subshell with that command." CreationDate="2011-01-28T20:20:29.797" />
  <row Id="8156" PostId="6612" Text="@Legate have you sudo on your system?" CreationDate="2011-01-28T20:23:12.510" UserId="3097" />
  <row Id="8157" PostId="6612" Text="@ulidtko: Yes, I do." CreationDate="2011-01-28T20:52:04.147" />
  <row Id="8158" PostId="6613" Text="Thank you for your answer. However, there's no problem in running the script as root, therefore no circumvention of security restrictions occurs." CreationDate="2011-01-28T20:22:05.397" />
  <row Id="8159" PostId="6617" Text="@ephemient I've been trying that, but my XDG configs are still showing up in `~/.config` such as `~/.config/akonadi`, here's [the script](https://github.com/xenoterracide/dot_etc/blob/master/env)that I copied to that directory. I actually gave this answer first, but deleted it when I realized it wasn't working" CreationDate="2011-01-28T23:20:42.557" UserId="29" />
  <row Id="8160" PostId="6617" Score="1" Text="@xenoterracide: The scripts must be named `*.sh`." CreationDate="2011-01-28T23:21:48.270" UserId="1779" />
  <row Id="8161" PostId="6617" Text="@ephemient well that's very un-unix-y gotcha's for the lose" CreationDate="2011-01-28T23:28:02.517" UserId="29" />
  <row Id="8162" PostId="6618" Text="The mounted volume was an NTFS partition. I haven't tried with another filesystem, so I don't know if it has anything to with it." CreationDate="2011-01-28T23:41:59.940" UserId="688" />
  <row Id="8163" PostId="6617" Text="@ephemient, tested, and renaming to use `.sh` works, mind adding that as part of the answer?" CreationDate="2011-01-28T23:43:52.677" UserId="29" />
  <row Id="8164" PostId="6595" Text="@user a dst issue, or an issue that the server is not in your timezone.. " CreationDate="2011-01-29T00:11:05.147" UserId="29" />
  <row Id="8166" PostId="6621" Text="In particular, the `zoo` package has lots of functions to deal with time series. PS: about your point 1: being Turing complete does not mean that a language can do everything. ;)" CreationDate="2011-01-29T01:29:22.487" UserId="3860" />
  <row Id="8167" PostId="6621" Text="Didn't say anything about Turing, but clarified point 1 anyway. :)" CreationDate="2011-01-29T01:35:59.843" UserId="138" />
  <row Id="8168" PostId="3543" Text="in kde 4.6 you could just put a whole new konsole in your other activity with other settings... so your shell reacts to your activity change..." CreationDate="2011-01-29T01:37:41.463" UserId="29" />
  <row Id="8169" PostId="6621" Text="I started using R for all my statistics and plotting at work, it's great!" CreationDate="2011-01-29T01:42:29.787" UserId="3976" />
  <row Id="8170" PostId="6621" Text="Good hint about libedit. Well, I am using the default gnuplot package on Ubuntu 10.04. It seems that it is linked against libedit which seems to support vi mode at least. But command completion is just minimal (works only for filenames) and not with gnuplot commands, i.e. it is basically useless (this is not the fault of libedit)." CreationDate="2011-01-29T02:07:41.643" UserId="1131" />
  <row Id="8171" PostId="6623" Text="A bit more clarity would help. What is a KDE activity?" CreationDate="2011-01-29T02:19:39.210" UserId="688" />
  <row Id="8172" PostId="6622" Score="2" Text="(Just to clarify): To enabled the `edit-command-line` “widget” you will need something like `autoload edit-command-line; zle -N edit-command-line` in one of your *zsh* init files (see the [ZLE Functions section](http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#SEC283) of the [`zshcontrib` documentation](http://zsh.sourceforge.net/Doc/Release/User-Contributions.html))." CreationDate="2011-01-29T03:14:31.643" UserId="1107" />
  <row Id="8173" PostId="6559" Score="1" Text="The problem is more likely to be that `*?*` will not match “dot” files/dirs (unless you have enabled the `dotglob` option in *bash*, the `GLOB_DOTS` option in *zsh*, or an equivalent for whatever shell you are using)." CreationDate="2011-01-29T03:21:55.553" UserId="1107" />
  <row Id="8174" PostId="6628" Text="should be CW, cant be answered objectively." CreationDate="2011-01-29T06:49:01.460" UserId="838" />
  <row Id="8175" PostId="6628" Text="I agree. However, there was no option for CW. :-(" CreationDate="2011-01-29T07:02:20.310" UserId="3540" />
  <row Id="8176" PostId="6631" Text="my `rm` is the same version as yours" CreationDate="2011-01-29T07:55:47.830" UserId="688" />
  <row Id="8177" PostId="6628" Score="2" Text="@akira &quot;Can't be answered objectively&quot; generally means it should be closed, but this seems like a decent question; I made it CW" CreationDate="2011-01-29T08:02:40.163" UserId="73" />
  <row Id="8178" PostId="6631" Text="How odd!  What happens if you do `env -i /bin/rm -r link/` instead of just `rm -r link/`?  I.e. clear the environment and avoid any potential shell aliases." CreationDate="2011-01-29T08:11:06.763" UserId="3629" />
  <row Id="8179" PostId="6628" Text="@akira @Michael I face this situation often. It would be great if moderators could edit/cross-post/redirect the question. Because the comment you leave doesn't help the user much in order to achieve what he really want. No offence, just a suggestion. Hope you understand." CreationDate="2011-01-29T08:37:25.730" UserId="3540" />
  <row Id="8180" PostId="1918" Text="Did [this](http://unix.stackexchange.com/questions/1918/wireless-networking/4528#4528) help?" CreationDate="2011-01-29T08:45:26.960" UserId="688" />
  <row Id="8181" PostId="6623" Text="@Tshepang, that doesn't require clarity, it requires knowledge of kde4. here you [go](http://www.google.com/search?aq=f&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=kde+activity) simply know something about why kde4 isnt' kde3 and you probably have run into activities. intoxicat[ed|ing] replies ftw!" CreationDate="2011-01-29T09:05:04.757" UserId="29" />
  <row Id="8182" PostId="6623" Text="oh... um... try [this](http://maketecheasier.com/use-kde-plasma-activities/2010/09/01). it's like this concept that's fleshed out... but isn't yet intuitive, and yet you're trying to use it intuitively" CreationDate="2011-01-29T09:12:11.297" UserId="29" />
  <row Id="8183" PostId="5607" Text="It's extra work." CreationDate="2011-01-29T09:20:10.283" UserId="688" />
  <row Id="8184" PostId="5625" Text="Curiously, did you do all of that as root? I say that because `#` normally implies that the command is ran [as root](http://unix.stackexchange.com/questions/3063/how-do-i-run-a-command-as-the-system-administrator-root)." CreationDate="2011-01-29T09:35:18.460" UserId="688" />
  <row Id="8186" PostId="6627" Text="gnome-disk-utility lets me see the existing logical volumes but not create or edit them. Is that what you mean by support, or is my version too low (2.30.1)?" CreationDate="2011-01-29T10:00:46.107" UserId="250" />
  <row Id="8187" PostId="6624" Text="Sounds interesting, missing preview is no that bad - just generating a png and using an image viewer side by side should be ok. Could you give an example of simple command line call of this tool?" CreationDate="2011-01-29T10:30:15.103" UserId="1131" />
  <row Id="8188" PostId="6633" Text="Thanks for you answer. However, a quick test with `sudo su postgres -c &quot;echo test&quot;` reveals that such a command does not print anything. Switching to root with `sudo -s` and then executing `su postgres -c &quot;echo test&quot;` does print _test_, so it seems that it is `sudo` that somehow eats the output. I've no idea why though, my guess is that `sudo` and `su -c` use subshells whose stdout is not dragged through to my own shell." CreationDate="2011-01-29T11:41:48.930" UserId="4297" />
  <row Id="8189" PostId="3543" Text="Do you mean you can initialize your new konsole with something similar to a .bashrc script?" CreationDate="2011-01-29T12:12:21.350" UserId="653" />
  <row Id="8190" PostId="6628" Text="@San: If you want to make a question community wiki, flag it for moderator attention. See the [community wiki FAQ](http://meta.stackoverflow.com/questions/11740/what-are-community-wiki-posts)." CreationDate="2011-01-29T12:16:54.910" UserId="885" />
  <row Id="8191" PostId="5764" Text="What's wrong? Where exactly are you having problems?" CreationDate="2011-01-29T12:25:01.217" UserId="3616" />
  <row Id="8192" PostId="6618" Text="[NTFS doesn't have an exact match for the unix concept of symbolic links](http://en.wikipedia.org/wiki/Symbolic_link#Microsoft_Windows). Your NTFS driver is translating between symbolic links and one of the similar concepts on NTFS, but the behavior is not exactly the same (perhaps it's using a junction point, which is closer to a hard link)." CreationDate="2011-01-29T12:43:19.570" UserId="885" />
  <row Id="8193" PostId="6618" Score="3" Text="See also [the slash (/) after a directory name on shell commands](http://unix.stackexchange.com/questions/870/the-slash-after-a-directory-name-on-shell-commands/874#874). POSIX says that `foo/` is mostly equivalent to `foo/.`, but implementations aren't very conforming on this point (even OpenBSD: with your example, `rm -r link/` just removes the link)." CreationDate="2011-01-29T12:49:48.173" UserId="885" />
  <row Id="8194" PostId="6627" Text="And I don't understand your point about udisks and solid... The links point to something strange. How do I install and try them?" CreationDate="2011-01-29T13:31:59.473" UserId="250" />
  <row Id="8195" PostId="6624" Text="http://www.mrtg.org/rrdtool/tut/rrdtutorial.en.html" CreationDate="2011-01-29T14:39:41.360" UserId="457" />
  <row Id="8196" PostId="6624" Text="Basically you run `rrdtool create ...` once to set up the RRD db, `rrdtool update ...` once per piece of data and `rrdtool graph ...` to generate a graph." CreationDate="2011-01-29T14:41:49.440" UserId="457" />
  <row Id="8197" PostId="6518" Text="@Gilles. Good to know -- there seems to be quite a few places where the algorithm distinguishes between local and remote syncs. I actually didn't think it would work for first sync. +1 for unison!" CreationDate="2011-01-29T15:43:38.313" UserId="2881" />
  <row Id="8198" PostId="6640" Score="1" Text="You should probably say if you are you running emacs in a terminal, in X, or some other way (say, CarbonEmacs on a mac), as it may make a difference. " CreationDate="2011-01-29T16:18:55.433" UserId="3270" />
  <row Id="8199" PostId="6640" Text="I am running Emacs in a X terminal, either in xterm in Linux, or Terminal in Mac OS X. Will update the question." CreationDate="2011-01-29T16:32:24.293" UserId="1375" />
  <row Id="8200" PostId="6633" Text="You must be missing something. `sudo su postgres -c &quot;echo \$USER&quot;` prints `postgres` on my box." CreationDate="2011-01-29T16:43:30.233" UserId="1946" />
  <row Id="8201" PostId="5607" Text="Then make a wrapper script. Name it `pi` for &quot;play image&quot;. The script mounts, plays, unmounts automatically. Now you're typing one less character every time." CreationDate="2011-01-29T16:49:34.577" UserId="3309" />
  <row Id="8202" PostId="6555" Text="Yes, you're right. That wasn't in the man page, but when executed that's the message that comes out." CreationDate="2011-01-29T17:03:49.200" UserId="3309" />
  <row Id="8203" PostId="6474" Text="The bug report actually discusses the use of filesystems with the journal=data option on.  This option is directly opposite in effect to the O_DIRECT flag.  Most ext3 and ext4 filesystems do not have this flag set and if they do, turning it off will permit opening the file with O_DIRECT." CreationDate="2011-01-29T17:57:02.567" UserId="4193" />
  <row Id="8204" PostId="6249" Text="Sorry for delay - it didn't." CreationDate="2011-01-29T18:45:35.823" UserId="305" />
  <row Id="8205" PostId="6621" Text="@Warren: mine was a (joking) remark about the &quot;can do anything&quot;. R can't do coffee, just to say one :P" CreationDate="2011-01-29T19:26:01.647" UserId="3860" />
  <row Id="8206" PostId="6643" Text="Thanks! Is what I am looking for, but when I tried it in Mac OS X Terminal running Emacs, the text that gets C-w in Emacs does not appear &quot;pastable&quot; in other Mac OS X applications. Is there more I should do? Thanks!" CreationDate="2011-01-29T20:48:23.120" UserId="1375" />
  <row Id="8207" PostId="6650" Text="But something is missing? because it does not work" CreationDate="2011-01-29T21:01:41.703" UserId="4311" />
  <row Id="8208" PostId="3683" Text="`find` gives me a semi." CreationDate="2011-01-29T21:02:16.240" UserId="3558" />
  <row Id="8209" PostId="6651" Text="thanks, but was wondering with a pattern in the file ... sorry for the ambiguous question" CreationDate="2011-01-29T21:03:14.617" UserId="4311" />
  <row Id="8210" PostId="6651" Text="If so, take Wolf's answer." CreationDate="2011-01-29T21:04:51.900" UserId="3069" />
  <row Id="8211" PostId="6650" Text="If you look for the string duck you must write it like /duck/ in Awk. Are you doing that?" CreationDate="2011-01-29T21:05:39.700" UserId="4312" />
  <row Id="8212" PostId="6650" Text="yes, the output: awk: read error (Is a directory)&#xA;" CreationDate="2011-01-29T21:07:03.177" UserId="4311" />
  <row Id="8213" PostId="6650" Text="Wolf's answer will give you duplicates. If there are several occurances of the string you are looking for in one of the files, it will count as extra matches." CreationDate="2011-01-29T21:08:23.827" UserId="4312" />
  <row Id="8215" PostId="6650" Text="Well, if you have directories in the folder you have to do some extra stuff like replacing the star with something like this `find . ! -name . -prune -type f` (don't miss the backticks). This command only lists the files in the folder." CreationDate="2011-01-29T21:11:16.430" UserId="4312" />
  <row Id="8216" PostId="6650" Text="you're right, you have a solution?" CreationDate="2011-01-29T21:13:09.873" UserId="4311" />
  <row Id="8217" PostId="6650" Text="Trying to write a complete command, but the backticks gets removed. This is what I intended to do:&#xA;&#xA;awk '/pattern_to_look_for/ {s+=1; nextfile;} END {print s}' `find . ! -name . -prune -type f`" CreationDate="2011-01-29T21:13:52.680" UserId="4312" />
  <row Id="8218" PostId="6653" Text="That will count the number of instances of the string. `grep -l &quot;string&quot; * | wc -l` will count the number of files." CreationDate="2011-01-29T21:18:02.800" UserId="3309" />
  <row Id="8219" PostId="6650" Text="sorry but the output I get is this: awk: cannot open find (No such file or directory)" CreationDate="2011-01-29T21:18:50.097" UserId="4311" />
  <row Id="8220" PostId="6650" Text="Take a look here: http://www.esentus.com/example.txt" CreationDate="2011-01-29T21:21:41.997" UserId="4312" />
  <row Id="8221" PostId="6653" Text="@bahamat thanks it works ..." CreationDate="2011-01-29T21:22:09.000" UserId="4311" />
  <row Id="8222" PostId="6630" Text="First example will work only in bash, not in POSIX shell." CreationDate="2011-01-29T22:30:30.280" UserId="3886" />
  <row Id="8223" PostId="6649" Score="2" Text="if you find an answer to your own question, you should post it as answer such that other can vote on it separately (yes, you can answer your own questions)" CreationDate="2011-01-29T22:31:36.503" UserId="1131" />
  <row Id="8224" PostId="6621" Text="Could you add a simple example R session for generating a basic plot (reading the (above sketched) file and issuing a plot function I guess)?" CreationDate="2011-01-29T22:35:52.190" UserId="1131" />
  <row Id="8225" PostId="6649" Text="@max: Thanks, I didn't know that." CreationDate="2011-01-29T22:58:40.777" UserId="2333" />
  <row Id="8226" PostId="6653" Text="@bahamat: Thanks, I forgot grep had that option." CreationDate="2011-01-29T23:00:39.060" UserId="2333" />
  <row Id="8227" PostId="6656" Text="Might as well run $(egrep -rl 'foo' .)" CreationDate="2011-01-29T23:37:46.283" UserId="3976" />
  <row Id="8228" PostId="6494" Text="It must take a long while to compute the md5's: all the content must actually be read. While if Dan is sure the files are identical, simply moving them in the directory structure is very fast (no reading). So, `md5sum` seems not to be the thing to use here. (BTW, `rsync` has a mode in which it doesn't calculate checksums.)" CreationDate="2011-01-29T23:48:11.930" UserId="4319" />
  <row Id="8229" PostId="4036" Text="Which languages are you interested in?" CreationDate="2011-01-30T01:26:31.043" UserId="4319" />
  <row Id="8230" PostId="5359" Text="stardict is nicer when it comes to displaying special characters (pronunciation, Greek etc.), but the databases need to be specially prepared for stardict, the standard dictd databases can't be immediately used." CreationDate="2011-01-30T01:28:12.133" UserId="4319" />
  <row Id="8231" PostId="4036" Text="In any case, separating the interface and the database would be reasonable for any dictionary software. There are many databases around, usually at least available in the form prepared for dictd, but a quality database in my understanding must be interconvertable between the formats for different interfaces. (If the authors didn't care about conversion, such a database doesn't look well-maintained, and hence doesn't look like a &quot;quality&quot; one.) And there are some interfaces around." CreationDate="2011-01-30T01:32:35.200" UserId="4319" />
  <row Id="8232" PostId="5359" Text="Also, stardict does popups and tracks the selected text." CreationDate="2011-01-30T01:55:10.790" UserId="4319" />
  <row Id="8233" PostId="6663" Text="I guess my question was whether there was information on specifically this change to this function. I'm new to kernel development, but I would think there would be something specific to this function." CreationDate="2011-01-30T02:42:22.043" UserId="1571" />
  <row Id="8234" PostId="6663" Text="Falmarri: I've added a link to the commit. Is this the sort of info you wanted? Otherwise, you can search the kernel mailing list for any discussion." CreationDate="2011-01-30T02:50:07.333" UserId="1078" />
  <row Id="8235" PostId="6249" Text="@Maciej I don't know much more than that. BTW may I ask why you want to stick with version 0.9.2?" CreationDate="2011-01-30T03:39:14.717" UserId="250" />
  <row Id="8236" PostId="6647" Text="This would create a read-only system, not really what I want." CreationDate="2011-01-30T03:58:53.797" UserId="250" />
  <row Id="8237" PostId="6630" Text="@gelraen hence the `#!/bin/bash`" CreationDate="2011-01-30T04:51:41.487" UserId="1338" />
  <row Id="8238" PostId="6494" Text="It's a tradeoff between accuracy and speed.  I wanted to provide a method that used a higher degree of accuracy than simply filenames." CreationDate="2011-01-30T05:37:35.363" UserId="4216" />
  <row Id="8239" PostId="6663" Text="I guess I just need to get more familiar with the kernel and kernel process. I think I was maybe expecting too much documentation =P" CreationDate="2011-01-30T08:23:18.133" UserId="1571" />
  <row Id="8240" PostId="6647" Text="This is true for unetbootin. However in the link I gave the Iso is mounted and the contents copied to harddisk (including kernel and initrd.gz). The steps to boot then depend on your bootloader and the details of your distribution (which I do not know)" CreationDate="2011-01-30T08:44:35.853" UserId="4309" />
  <row Id="8241" PostId="6668" Text="+1 for remapping of keys, my Caps Lock is mapped to Return, WHO NEEDS CAPS LOCK ANYWAY?" CreationDate="2011-01-30T09:58:50.260" UserId="3069" />
  <row Id="8242" PostId="6581" Text="Thanks. I will have a look at the color escape sequences. Weird that it doesn't happen in any other terminal... " CreationDate="2011-01-30T10:03:32.607" UserId="4276" />
  <row Id="8243" PostId="6580" Text="I am using bash. I will look at my PS1 and if I can't figure it out, post it here." CreationDate="2011-01-30T10:04:51.110" UserId="4276" />
  <row Id="8244" PostId="6669" Text="Sorry I got the second link to the Grub entry for Wubi wrong (because it is my first post my 2nd link was &quot;spam-protected&quot;). The right link is: http://blogold.chinaunix.net/u3/113851/showart_2311251.html" CreationDate="2011-01-30T10:14:15.067" UserId="4309" />
  <row Id="8245" PostId="6249" Text="Because the account it is installed on have small quota (something like 512MB-1GB) and version 0.9.2 is installed." CreationDate="2011-01-30T12:08:48.707" UserId="305" />
  <row Id="8246" PostId="2009" Text="if you are connecting to &quot;open wireless&quot; or a wired network, it wants the keyring but doesn't NEED it.  check the proof video over on askubuntu.  in my case I am SURE it's nm-applet." CreationDate="2011-01-30T12:08:56.053" UserId="3397" />
  <row Id="8247" PostId="1918" Text="nope... never solved this, just using wicd now" CreationDate="2011-01-30T13:19:10.783" UserId="1327" />
  <row Id="8248" PostId="6671" Text="Quite a few years ago, I resolved a similar bug in the `pl2303` module by simply carefully reading the code and finding the source for the NULL pointer. (Then this tiny fix was taken by GregKH, the maintainer.) Perhaps, you could use a debugger to help you, ask how to use a debugger with the kernel. Also contact the maintainers of the code, they might have ideas." CreationDate="2011-01-30T13:59:23.023" UserId="4319" />
  <row Id="8249" PostId="6668" Text="I'm a Vim user. It's typical for Vim users, to map Escape to Caps Lock. Emacs user tend to map Control to Caps Lock." CreationDate="2011-01-30T15:36:15.280" UserId="1290" />
  <row Id="8250" PostId="6658" Text="Note that special characters in file names (`\'&quot;` and whitespace) need to be protected against expansion by `xargs`." CreationDate="2011-01-30T19:10:01.797" UserId="885" />
  <row Id="8251" PostId="6656" Text="Using the result of command substitution as a list of file names doesn't work if the file names can contain special characters (`\[*?` or whitespace). This is also a problem in the question." CreationDate="2011-01-30T19:11:04.447" UserId="885" />
  <row Id="8252" PostId="6660" Text="Does it only happen on a particular server, from a particular client, or can you reproduce this on multiple machines? Are there clients from which this doesn't happen (on the same server)? What does the network look like between the client and the server? Do you have any problems scp'ing files? Does the session lock in the middle of typing, or only if you've been idle for a while? I wonder if you're running into an MTU issue or a broken NAT." CreationDate="2011-01-30T19:26:27.893" UserId="885" />
  <row Id="8253" PostId="6671" Score="1" Text="Well the thing is I know of other people who apparently have the module working. And I'm not sure the author is still around. I guess that's a good point about using a debugger with the kernel. Should I ask that as a new question or just wait until I get more answers here?" CreationDate="2011-01-30T20:27:43.243" UserId="1571" />
  <row Id="8254" PostId="6660" Text="@In my limited testing this doesn't affect Linux clients but does affect Windows clients (still testing Ubuntu). The degradation has mainly happened on XP with 2 installations of Putty. With SCP I recently did have an issue of it not letting me connect until I completely disabled Byobu; however this was only one time. With freezing times, it locks up randomly: In the middle of typing or when I leave it alone (sometimes). And I only have this one CentOS server to test, so I'm not sure if it affects other machines. As I said I'm still testing if Byobu locks up in Ubuntu. " CreationDate="2011-01-30T20:30:37.940" UserId="2630" />
  <row Id="8255" PostId="6643" Text="Unfortunately, when you are running emacs from the terminal, none of the solutions presented here will do much for you as far as I know." CreationDate="2011-01-30T20:44:51.097" UserId="1207" />
  <row Id="8257" PostId="6680" Text="Thanks. I'll try this tonight." CreationDate="2011-01-30T21:26:19.380" UserId="1571" />
  <row Id="8258" PostId="6612" Text="then just use `sudo -u postgres psql -c '...' &gt; file` and edit sudoers to disable password prompts for this command" CreationDate="2011-01-30T21:33:59.923" UserId="3886" />
  <row Id="8259" PostId="6583" Text="Haha, this works. Thank you so much! :)" CreationDate="2011-01-31T00:36:40.490" UserId="3913" />
  <row Id="8260" PostId="6616" Text="This has been helpful to me too. Thank you :)" CreationDate="2011-01-31T00:37:21.567" UserId="3913" />
  <row Id="8261" PostId="6655" Text="IIRC, then yes, it is both in SUS and POSIX." CreationDate="2011-01-31T05:06:47.270" UserId="1627" />
  <row Id="8263" PostId="5123" Score="2" Text="See this related question and answers: http://unix.stackexchange.com/questions/5123/how-to-de-unzip-de-tar-xvf-de-unarchive-in-a-messy-folder" CreationDate="2011-01-31T08:43:26.787" UserId="1946" />
  <row Id="8264" PostId="5129" Text="I finally run into this problem today. As root! In the end I used a combination of &quot;By name&quot; and &quot;By date&quot;" CreationDate="2011-01-31T08:58:14.930" UserId="250" />
  <row Id="8265" PostId="5252" Text="The LSB is as consistent as the RPM standards are... ... ! (For those not in the know, see http://en.wikipedia.org/wiki/RPM_Package_Manager#Forks )" CreationDate="2011-01-31T09:03:56.580" UserId="2098" />
  <row Id="8266" PostId="6666" Text="Your answer should probably be a comment... Like this!" CreationDate="2011-01-31T09:08:11.100" UserId="2098" />
  <row Id="8267" PostId="2009" Text="the upstream bug is logged at https://bugzilla.gnome.org/show_bug.cgi?id=574315 - I've requested comments from the developers here" CreationDate="2011-01-31T10:00:29.073" UserId="269" />
  <row Id="8271" PostId="6599" Text="I personally only ever use the `zip -r9 archive.zip files...` syntax (-r=recursive -9=max compression)." CreationDate="2011-01-31T12:29:32.033" UserId="1655" />
  <row Id="8272" PostId="6697" Score="1" Text="It may sound stupid, but have you checked that the script is executable?" CreationDate="2011-01-31T12:39:21.620" UserId="250" />
  <row Id="8274" PostId="6698" Score="1" Text="This won't be persistent, a reboot or simply a `udevadm trigger` will reset the permissions to default." CreationDate="2011-01-31T12:57:40.367" UserId="3069" />
  <row Id="8275" PostId="6701" Text="Belongs on http://superuser.com" CreationDate="2011-01-31T12:32:29.423" />
  <row Id="8276" PostId="1402" Text="@Gilles - Not unless you type something." CreationDate="2011-01-31T13:02:23.207" UserId="1655" />
  <row Id="8277" PostId="6697" Text="Also, I think you mean `sudo update-rc.d scripts default` (without the `s`)?" CreationDate="2011-01-31T13:46:44.603" UserId="250" />
  <row Id="8278" PostId="6697" Text="Additional to the above comment, have you tried running it manually with `/etc/init.d/scripts start`?" CreationDate="2011-01-31T13:47:27.430" UserId="3192" />
  <row Id="8279" PostId="6704" Score="1" Text="I think you need to parse it thou pdf2text in order to get some usable results back..." CreationDate="2011-01-31T14:29:00.857" UserId="2567" />
  <row Id="8280" PostId="6705" Score="3" Text="Just use `strings file.pdf | grep &lt;...&gt;`, you don't need `cat`" CreationDate="2011-01-31T14:31:19.207" UserId="250" />
  <row Id="8281" PostId="6705" Text="Yeah - my mind seems to work better with streams... :-)" CreationDate="2011-01-31T14:57:06.627" UserId="3192" />
  <row Id="8283" PostId="6604" Text="Cheers! This got it done. %define AXISHOME %(echo ${AXIS2C_HOME})&#xA;" CreationDate="2011-01-31T15:10:25.810" UserId="4290" />
  <row Id="8284" PostId="6706" Text="so .. you extract the text before you grep it which means the answer is &quot;no&quot;." CreationDate="2011-01-31T15:18:01.757" UserId="838" />
  <row Id="8285" PostId="6705" Score="2" Text="wont work if text is compressed, which it is most of the times." CreationDate="2011-01-31T15:18:23.177" UserId="838" />
  <row Id="8286" PostId="6604" Text="%file %AXISHOME/blah.xml" CreationDate="2011-01-31T15:18:50.743" UserId="4290" />
  <row Id="8287" PostId="6697" Text="you should specify &quot;at startup&quot; a bit further... people might think &quot;startup of when they log in&quot;." CreationDate="2011-01-31T15:21:29.913" UserId="838" />
  <row Id="8290" PostId="6711" Text="Related: http://unix.stackexchange.com/questions/2751/the-myths-about-viruses-in-unix-linux" CreationDate="2011-01-31T15:59:13.850" UserId="3069" />
  <row Id="8291" PostId="6705" Score="1" Text="Even if the text is uncompressed, it's generally small pieces of sentences (not even necessarily whole words!) finely intermixed with formatting information.  Not very friendly for `strings` or `grep`." CreationDate="2011-01-31T16:08:59.390" UserId="3629" />
  <row Id="8292" PostId="6691" Score="2" Text="+1 for the nesting.  Love that feature." CreationDate="2011-01-31T16:36:51.887" UserId="3629" />
  <row Id="8293" PostId="6292" Text="I got the first option: `'a`" CreationDate="2011-01-31T16:39:51.717" UserId="3084" />
  <row Id="8294" PostId="6702" Text="nope. That's exactly what I don't want to do. I don't want the script to be run as root only because I don't want dd to display the output. Your check would correct if I want the script to be run as superuser." CreationDate="2011-01-31T16:59:26.007" UserId="4353" />
  <row Id="8295" PostId="6700" Text="that was I'm afraid of." CreationDate="2011-01-31T16:59:55.380" UserId="4353" />
  <row Id="8296" PostId="6708" Text="Wow!! That's exactly what I wanted. Instead of commenting the the block I did `&lt;allow_active&gt;no&lt;/allow_active&gt;`. Hence I can't format it at all. But then `&lt;allow_active&gt;auth_admin&lt;/allow_active&gt;` seemed a better choice. Thanks a ton..!!" CreationDate="2011-01-31T17:10:14.307" UserId="4335" />
  <row Id="8297" PostId="6706" Score="2" Text="@akira The OP probably meant &quot;without opening the PDF in a viewer and exporting to text&quot;" CreationDate="2011-01-31T17:36:07.330" UserId="73" />
  <row Id="8298" PostId="6699" Score="3" Text="I'm lost on your last sentence, &quot;the script should not request for privileges&quot;. That doesn't seem to have anything to do with redirecting to `/dev/null` -- you're sudoing because `dd` needs write access to `/dev/r$temp1` (I assume). You're going to need to do that no matter how you suppress `dd`'s output; redirecting output to `/dev/null` doesn't require root" CreationDate="2011-01-31T17:40:07.593" UserId="73" />
  <row Id="8299" PostId="6713" Score="1" Text="Related http://unix.stackexchange.com/q/1416/250" CreationDate="2011-01-31T17:48:05.900" UserId="250" />
  <row Id="8300" PostId="6702" Text="@dierre So why did you need `sudo` in the first place? Normal users should be able to redirect things to `/dev/null` just fine." CreationDate="2011-01-31T17:50:18.363" UserId="250" />
  <row Id="8301" PostId="6718" Score="1" Text="Another reason it's not reliable is that you may remove a user without removing their home directory." CreationDate="2011-01-31T17:50:43.810" UserId="688" />
  <row Id="8302" PostId="6702" Text="I'm using Ubuntu and it's giving me operation not permitted...uhm..." CreationDate="2011-01-31T17:52:30.750" UserId="4353" />
  <row Id="8303" PostId="6699" Text="I'm an idiot. It was giving operation not permitted because of the use of /dev/r$temp1/. I'm really sorry. I'm editing a script that's not mine and didn't noticed it. Really sorry." CreationDate="2011-01-31T17:54:37.067" UserId="4353" />
  <row Id="8304" PostId="6702" Text="I'm sorry. I didn't notice I was creating something under /dev/. The script is not mine, I was editing it. I'm really sorry." CreationDate="2011-01-31T17:55:10.623" UserId="4353" />
  <row Id="8305" PostId="6699" Text="so the problem is regular user cannot write to /dev/r$temp1 or to dev/null" CreationDate="2011-01-31T18:05:08.990" UserId="3432" />
  <row Id="8306" PostId="6706" Text="@Michael Mrozek: then that should be clarified by OP, but &quot;grep only&quot; is pretty clear to me." CreationDate="2011-01-31T18:38:25.360" UserId="838" />
  <row Id="8307" PostId="6706" Score="1" Text="@akira Where do you see &quot;grep only&quot;?" CreationDate="2011-01-31T18:55:22.350" UserId="73" />
  <row Id="8308" PostId="6699" Text="@dierre Don't worry about it; I edited it a bit to remove the confusing part" CreationDate="2011-01-31T18:59:08.383" UserId="73" />
  <row Id="8309" PostId="6699" Text="If you're not using any of dd's advanced features, use `cat`, `head` or `tail` instead." CreationDate="2011-01-31T19:46:28.917" UserId="885" />
  <row Id="8310" PostId="6725" Text="I have tried using split and 7-zip cannot recombine the files. It says &quot;Cannot detect file as splitted files.&quot;" CreationDate="2011-01-31T19:53:05.397" UserId="131" />
  <row Id="8311" PostId="6727" Text="Using copy first-part + second-part output gets a 50kb output file, not the original file. " CreationDate="2011-01-31T19:56:52.337" UserId="131" />
  <row Id="8312" PostId="6722" Text="I get the same, except that at least I don't get a blank screen. That last line remains at `[BUSY]`." CreationDate="2011-01-31T19:57:57.427" UserId="688" />
  <row Id="8313" PostId="6704" Text="See also [Is there some sort of PDF to text -converter?](http://unix.stackexchange.com/questions/4759/is-there-some-sort-of-pdf-to-text-converter) and [Command line tool to search phrases in large number of pdf files](http://superuser.com/questions/163182/command-line-tool-to-search-phrases-in-large-number-of-pdf-files)." CreationDate="2011-01-31T20:01:14.407" UserId="885" />
  <row Id="8314" PostId="6727" Text="@Macha: Odd. I suggest you ask on [Super User](http://superuser.com/) for help with the Windows part. Since the questions will be closely related, link them to each other. Alternatively, flag your question for moderator attention and request a migration to Super User." CreationDate="2011-01-31T20:02:52.547" UserId="885" />
  <row Id="8315" PostId="6727" Text="@Gilles: Done. http://superuser.com/questions/240086/how-can-i-combine-two-files-on-windows" CreationDate="2011-01-31T20:08:47.330" UserId="131" />
  <row Id="8316" PostId="6724" Text="I have gotten the split file created on Linux, but I am having difficulty recombining it on Windows. Since there is no longer any Linux aspect to the remainder of the problem, I have opened  a SU question for that: http://superuser.com/questions/240086/how-can-i-combine-two-files-on-windows" CreationDate="2011-01-31T20:09:59.340" UserId="131" />
  <row Id="8317" PostId="6732" Score="2" Text="or http://tmux.sf.net" CreationDate="2011-01-31T21:01:53.910" UserId="838" />
  <row Id="8343" PostId="6732" Text="@akira: or Emacs…" CreationDate="2011-01-31T21:16:24.250" UserId="885" />
  <row Id="8346" PostId="6733" Text="Then, it won't be building from &quot;scratch&quot; ;)" CreationDate="2011-01-31T21:58:35.943" UserId="3482" />
  <row Id="8347" PostId="6380" Text="@bahamat: Are you thinking of `$$` when you write (and read) `$pid`?" CreationDate="2011-01-31T22:22:43.980" UserId="885" />
  <row Id="8348" PostId="6380" Text="Yes...he started out asking referring to `$$` and put `$pid` at the end. I transposed it in my head without realizing it. My entire answer should refer to `$$`, not `$pid`." CreationDate="2011-01-31T22:44:52.633" UserId="3309" />
  <row Id="8349" PostId="6671" Text="If you just care about the module being usable (and not necessarily helping yourself and the community by fixing the module to work with your kernel), then try it with the same kernel version and configuration as &quot;other people&quot; use." CreationDate="2011-01-31T22:48:19.410" UserId="4319" />
  <row Id="8351" PostId="6697" Text="From the help it appears ¨s¨ is required:&#xA;    update-rc.d [-n] &lt;basename&gt; defaults [NN | SS KK]&#xA;" CreationDate="2011-01-31T23:17:55.600" UserId="4352" />
  <row Id="8354" PostId="6380" Text="@bahamat: Is the question clearer now? (BTW I don't see your comments unless you use “@Gilles”, I just happened to see your edit and came to see.)" CreationDate="2011-01-31T23:23:38.240" UserId="885" />
  <row Id="8355" PostId="6380" Text="@Gilles it was clear before. He specifically mentions using `cat /proc/$$/mem`. I was explaining why that specific command doesn't work as expected. I've updated my answer to include a specific example." CreationDate="2011-01-31T23:35:03.887" UserId="3309" />
  <row Id="8356" PostId="6380" Text="@bahamat: I assure you that when I wrote `cat /proc/$$/mem`, I expected to see the memory of the shell. (Er, did you realize that I asked the question?)" CreationDate="2011-01-31T23:45:05.123" UserId="885" />
  <row Id="8357" PostId="6380" Text="@Giles: That's why I put &quot;Since non-privileged processes can only read their own memory space this gets denied by the kernel&quot;. (And nope, I didn't realize that until just now when you pointed it out. I thought this whole time I was trying to make it a little more clear to someone else. I don't usually look at the poster's name or rep...then again I'm new here. It makes more sense to me now why the conversation went the way it did.)" CreationDate="2011-02-01T00:00:59.870" UserId="3309" />
  <row Id="8358" PostId="6710" Text="Yes that is pretty much what I have done. Starting it with &quot;etc/init.d/scripts start&quot; leads to errors as described in my comments (above)" CreationDate="2011-02-01T01:06:44.207" UserId="4352" />
  <row Id="8359" PostId="6729" Text="I have changed it as per your instructions, but I think I may have another problem as the script won't run with &quot;start&quot; (see above)." CreationDate="2011-02-01T01:07:46.933" UserId="4352" />
  <row Id="8360" PostId="6209" Text="hmmrmm still kind of confused.. doesn't linux basically ignore C/H/S geometry?  I would have thought that linux tools would just go with the windows flow for this sort of thing.  Well, I guess I need to actually read those other paragraphs in the wikipedia entry.  Mostly I'm just being ultra-anal because the drive firmware is sort of abnormal in other ways.  But man was it cheap.  In any case, I've been using it for a while now and haven't had any problems." CreationDate="2011-02-01T03:45:50.427" UserId="1535" />
  <row Id="8361" PostId="6746" Text="You mean adding `setw -g alternate-screen off` in `/etc/tmux`? That doesn't make any difference." CreationDate="2011-02-01T05:04:38.267" UserId="250" />
  <row Id="8362" PostId="6706" Text="@Michael Mrozek: &quot;the power of grep, without converting the text&quot; is pretty clear. &quot;grep foo *.pdf&quot;." CreationDate="2011-02-01T05:21:20.093" UserId="838" />
  <row Id="8363" PostId="6714" Text="Thanks, exactly what I was looking for." CreationDate="2011-02-01T05:32:48.343" UserId="3170" />
  <row Id="8364" PostId="6715" Text="Thanks, you and wag tied. Just giving answer to highest up votes by community." CreationDate="2011-02-01T05:34:46.217" UserId="3170" />
  <row Id="8365" PostId="6706" Text="@akira Well, I already said what I think he probably meant; he doesn't want to export to text before processing it. I very much doubt he has a problem with *any* command that converts to text in any way; there's no reason not to" CreationDate="2011-02-01T05:52:18.460" UserId="73" />
  <row Id="8366" PostId="6739" Text="True, but you'd get a specific error message in that case (&quot;username is not in the sudoers file&quot;)" CreationDate="2011-02-01T05:54:20.847" UserId="73" />
  <row Id="8367" PostId="6747" Score="2" Text="What happens when you try to login as a normal user?" CreationDate="2011-02-01T06:32:15.993" UserId="73" />
  <row Id="8368" PostId="6747" Score="1" Text="What messages are in your logs (`/var/log/security` or `/var/log/messages`)?" CreationDate="2011-02-01T07:30:58.087" UserId="2327" />
  <row Id="8369" PostId="6706" Text="@Michael Mrozek: &quot;then that should be clarified by OP&quot;." CreationDate="2011-02-01T07:58:47.067" UserId="838" />
  <row Id="8370" PostId="6697" Text="@P Hemans: your quote chars look .. strange, are these really in your script or do you use `&quot;` there?" CreationDate="2011-02-01T08:11:21.473" UserId="838" />
  <row Id="8371" PostId="6750" Text="Thank you, thank you, thank you. Wasn´t the entire answer but it sure helped. I had copied and modified the code off the web and that is where the fancy quotes came from. However, the problem turned out to be the statement:  &#xA;´case “$1″ in ´&#xA;It should have been  &#xA;&#xA;´case $1 in ´&#xA;" CreationDate="2011-02-01T10:07:35.030" UserId="4352" />
  <row Id="8372" PostId="6725" Text="To recombine the files, just use `copy /b file1+file2+file3 recombined.zip`" CreationDate="2011-02-01T10:30:53.043" UserId="3633" />
  <row Id="8373" PostId="6633" Text="Well, it works on my Ubuntu notebook, but not on the Debian server where the script has to run." CreationDate="2011-02-01T10:37:47.333" UserId="4297" />
  <row Id="8374" PostId="6674" Text="Thanks Kowh, this answer is the most useful to me." CreationDate="2011-02-01T10:38:25.460" UserId="4297" />
  <row Id="8375" PostId="6598" Text="What's wrong with the man page? You want to go read it and then come back and tell me? It's completely obscure and impenetrable, that's why." CreationDate="2011-02-01T11:30:32.010" UserId="4288" />
  <row Id="8376" PostId="6755" Score="2" Text="This should be a comment not an answer." CreationDate="2011-02-01T12:09:18.997" UserId="3547" />
  <row Id="8377" PostId="6525" Text="Please post further logs, specifically the `/var/log/messages`" CreationDate="2011-02-01T12:09:47.670" UserId="2671" />
  <row Id="8378" PostId="6749" Score="1" Text="There is no ARM version of Fluppy or Puppy Linux, or any of the other tools you mentioned.  The Netbook mentioned above has a VIA WM8505 ARM CPU." CreationDate="2011-02-01T13:19:42.383" UserId="3976" />
  <row Id="8379" PostId="6169" Text="this is the only solution I got working so far..." CreationDate="2011-02-01T13:52:50.687" UserId="863" />
  <row Id="8380" PostId="6747" Score="1" Text="also check /var/log/secure for login/pam errors." CreationDate="2011-02-01T14:11:24.960" UserId="3976" />
  <row Id="8381" PostId="6752" Text="Could you explain this a bit more deeper: __The easiest way would be to copy the code you need to the boot loader.__" CreationDate="2011-02-01T14:15:08.123" UserId="2871" />
  <row Id="8382" PostId="6627" Text="Accepting this answer because system-config-lvm works quite well on Ubuntu. I have problem installing it in Gentoo though." CreationDate="2011-02-01T14:16:06.590" UserId="250" />
  <row Id="8383" PostId="6760" Text="First thing you should do is to look back at your previous questions and accept answers that work for you. Your 20% is too low." CreationDate="2011-02-01T14:56:53.060" UserId="250" />
  <row Id="8384" PostId="6752" Text="@Sen: do you know how to copy and paste text between files?  Just how much deeper do you need it? :D" CreationDate="2011-02-01T15:04:08.773" UserId="1946" />
  <row Id="8385" PostId="4590" Text="@Tshepang the config options is in the post I linked to, do I really have to duplicate it here?" CreationDate="2011-02-01T15:09:57.673" UserId="250" />
  <row Id="8386" PostId="6725" Text="Try doing `split -b 1024m -d somefile somefile.0` (this will make the files called 'file.001' instead of 'file.01'. 7zip can be picky on its recognizing the its a simple split and not an archive. The copy also works, I just never remember it :-)" CreationDate="2011-02-01T15:27:02.777" UserId="4358" />
  <row Id="8387" PostId="6750" Score="1" Text="Well, the quotes should work around the `$1` provided that they aren't fancy quotes.  Glad to hear it is worked out." CreationDate="2011-02-01T15:35:18.757" UserId="1207" />
  <row Id="8388" PostId="4590" Text="I'm interested only in the ones you changed --&gt; &quot;when I set this and that option to that and this, the problem got fixed&quot;. Don't make me read the whole thread :)" CreationDate="2011-02-01T15:49:12.567" UserId="688" />
  <row Id="8389" PostId="6759" Score="2" Text="I'd hate to accidentally use that on a multi-gigabyte .gz file.  Maybe you ought to tack on a `| head -c1` or something." CreationDate="2011-02-01T16:18:04.660" UserId="3629" />
  <row Id="8390" PostId="6747" Text="how did you setup the user a/c?" CreationDate="2011-02-01T16:38:46.710" UserId="3482" />
  <row Id="8391" PostId="4590" Text="@Tshepang The working configuration is already on the post I linked to (it is an anchor that links exactly to where the configuration is). Anyway I included that in the answer." CreationDate="2011-02-01T16:42:04.340" UserId="250" />
  <row Id="8392" PostId="6754" Text="+1 Was about to suggest savedefault, but you beat me to it ;)" CreationDate="2011-02-01T17:08:17.510" UserId="3959" />
  <row Id="8393" PostId="6671" Text="@imz: Well I've only seen one mention of it actually being used, and I don't know the exact kernel and config that they used, only that it was built with the meerkat kernel. I'd like to learn though so I'll probably start debugging this when I have some time." CreationDate="2011-02-01T17:22:55.413" UserId="1571" />
  <row Id="8394" PostId="4590" Text="I'm aware of the anchor. The point is, what were your initial settings? Did you lose them?" CreationDate="2011-02-01T18:25:52.163" UserId="688" />
  <row Id="8395" PostId="6703" Text=" It takes longer to boot.. the screen resoultion is 1366X768        " CreationDate="2011-02-01T19:17:58.433" UserId="4391" />
  <row Id="8396" PostId="6113" Score="3" Text="If your bash script starts with `#!/usr/bin/env bash`, `#!/bin/bash`, etc. then bashisms are fine to use. Why would this be wrong?" CreationDate="2011-02-01T20:04:01.277" UserId="4" />
  <row Id="8397" PostId="6774" Text="Thanks, that clears it up!!" CreationDate="2011-02-01T20:21:00.947" UserId="4390" />
  <row Id="8398" PostId="6774" Text="@Gilles just to clarify how the second command you wrote works, it means find files in zUnorganized that are NOT files or that have these types and do nothing, otherwise print? " CreationDate="2011-02-01T20:27:28.850" UserId="4390" />
  <row Id="8399" PostId="6113" Score="2" Text="@Stefan Lasiewski: Of course. IMO, programming languages and their features are there to serve us, humans, and not the other way round! We shouldn't limit us to the features of the standard sh and make our work more troublesome." CreationDate="2011-02-01T20:29:00.237" UserId="4319" />
  <row Id="8400" PostId="6671" Text="If you go through the debugging yourself, you'll ultimately be able to post one of the best answers to your question here!" CreationDate="2011-02-01T20:30:21.013" UserId="4319" />
  <row Id="8401" PostId="6771" Text="I assume `LC_ALL=C` is there to ensure that gzip does not put in thousand separators in numbers so the field can be compared to zero?" CreationDate="2011-02-01T20:36:51.503" UserId="1078" />
  <row Id="8403" PostId="6036" Score="2" Text="This can be used for argument duplication as well. Say you have some program which requires a '-f' argument for every file to operate on. instead of doing `program -f file1 -f file2 -f file3`, you can do `program &quot;-f file&quot;{1..3}`" CreationDate="2011-02-01T20:42:31.870" UserId="4358" />
  <row Id="8405" PostId="6759" Text="Good point @Jander !" CreationDate="2011-02-01T20:54:40.210" UserId="3069" />
  <row Id="8406" PostId="6774" Score="1" Text="It evaluates left-to-right, and [short-circuit evaluation](http://en.wikipedia.org/wiki/Short-circuit_evaluation) means it only bothers to evaluate -print if all the preceding tests are false." CreationDate="2011-02-01T21:33:15.170" UserId="457" />
  <row Id="8407" PostId="6774" Text="@Kowh thanks!!!" CreationDate="2011-02-01T21:58:39.093" UserId="4390" />
  <row Id="8408" PostId="6778" Text="Thanks for your answer and pointing me to a link on bash string manipulation! " CreationDate="2011-02-01T22:03:00.493" UserId="4390" />
  <row Id="8409" PostId="6779" Text="Thanks for your answer. Don't have perlrename on the server, but I'm going to be playing around it with it later today!" CreationDate="2011-02-01T22:03:51.333" UserId="4390" />
  <row Id="8410" PostId="6760" Text="ok will do that, thanks." CreationDate="2011-02-01T22:19:39.870" UserId="1836" />
  <row Id="8411" PostId="6763" Text="I added ubuntu to suse grub manually because it did not appy automatically. How do I add recovery mode to the grub." CreationDate="2011-02-01T22:28:22.413" UserId="1836" />
  <row Id="8412" PostId="6765" Text="I dont have recovery mode on my grub how do I manually add it." CreationDate="2011-02-01T22:29:37.093" UserId="1836" />
  <row Id="8413" PostId="6771" Text="@camh: It's more general paranoia when parsing formatted output from a command. It could be the number format, or that in some language there are two header lines, or many other things I just haven't thought of. In the case of gzip, I think nothing bad happens, but `LC_ALL=C` can't hurt." CreationDate="2011-02-01T23:44:05.337" UserId="885" />
  <row Id="8414" PostId="6756" Text="actually it is, but I had to get talked through it by aseigo ... and even then it wasn't straight forward. I'll write my own answer later." CreationDate="2011-02-02T00:51:45.330" UserId="29" />
  <row Id="8415" PostId="6781" Score="3" Text="See: http://stackoverflow.com/questions/4572809/what-does-the-bash-command-rm-do" CreationDate="2011-02-02T01:19:21.183" UserId="1078" />
  <row Id="8416" PostId="6782" Text="Ah! I was overthinking it. Thought it was removing all home directories or something..." CreationDate="2011-02-02T01:20:03.490" UserId="4249" />
  <row Id="8417" PostId="6782" Score="10" Text="`~` only get expanded into a home directory if it appears at the start of a word." CreationDate="2011-02-02T01:21:27.013" UserId="3169" />
  <row Id="8418" PostId="6750" Text="Turned out that my keyboard driver was messed up. Was wondering why I had to type &quot; twice to get it to work:  &#xA;http://ubuntuforums.org/archive/index.php/t-299219.html  &#xA;Still having the original problem though, where the program won't run on boot." CreationDate="2011-02-02T01:28:26.753" UserId="4352" />
  <row Id="8419" PostId="6776" Text="Can you elaborate on 'they're all &quot;1&quot; even though the master RPM I pulled them out of is correctly incrementing.'?  How are you pulling them out?" CreationDate="2011-02-02T01:30:35.033" UserId="3169" />
  <row Id="8420" PostId="6776" Text="@Mikel The install-server patch-RPM drops RPMs in specific locations in the Install Server. These RPMs are then installed to clients via the ssh-install process, using the -Uvh flag. `rpm -qip filename.rpm` on the install-server RPM shows a version of 6.11.3, where the sub-RPMs show a version of 6.11.1, the same version as the original installed software." CreationDate="2011-02-02T01:42:04.650" UserId="366" />
  <row Id="8421" PostId="6763" Text="@Vaolter: see the link in my question" CreationDate="2011-02-02T02:12:32.663" UserId="250" />
  <row Id="8422" PostId="6769" Text="Startup disk creator works only with Ubuntu and its derivatives. I've tried it." CreationDate="2011-02-02T03:49:04.083" UserId="4399" />
  <row Id="8423" PostId="6762" Text="Not sure if I want to dive that deep on this one.  Thanks for the info in any case.  I may end up doing this.  (+1)" CreationDate="2011-02-02T04:14:28.213" UserId="1535" />
  <row Id="8424" PostId="6712" Text="Just thinking out loud here but if the boot-loader checks the checksum of the kernel against it's own database before loading it, that would protect the kernel from a certain class of viruses. However, I'm not sure if OSX does this." CreationDate="2011-02-02T04:39:22.810" UserId="2932" />
  <row Id="8425" PostId="3972" Text="I find the -size option to &quot;find&quot; useful as well, as it lets you find all files under a certain.  At least for GNU find, you can do something like:  &quot;find . -size +100M&quot; to find files larger than 100M below the current directory." CreationDate="2011-02-02T04:48:02.600" UserId="298" />
  <row Id="8426" PostId="6748" Text="Thanks for the reply Jander. I could be confident now that the 300+ connections is nothing and could be something else. Perhaps, it could have something to do really with disk or network bottleneck :)" CreationDate="2011-02-02T05:13:26.490" UserId="3913" />
  <row Id="8427" PostId="6755" Text="Well I don't find an option to add comment on answers other than those made by me. Hence I added it as an answer. " CreationDate="2011-02-02T05:17:31.223" UserId="4335" />
  <row Id="8428" PostId="6769" Text="I used this before with non-Ubuntu images (even non-debian based ones). But yes, they were all Linux systems using grub bootloader." CreationDate="2011-02-02T07:27:23.683" UserId="3959" />
  <row Id="8429" PostId="6764" Text="This is essentially answer 1!" CreationDate="2011-02-02T09:14:02.450" UserId="3094" />
  <row Id="8430" PostId="6785" Score="1" Text="http://unix.stackexchange.com/questions is a better place to ask" CreationDate="2011-02-02T08:16:02.180" UserId="3860" />
  <row Id="8431" PostId="6785" Text="So why is this tagged fedora12??????" CreationDate="2011-02-02T08:22:03.833" />
  <row Id="8432" PostId="6785" Text="I updated the tags" CreationDate="2011-02-02T08:28:20.093" UserId="3860" />
  <row Id="8433" PostId="6788" Text="Interesting, I didn't know symlinks behaved that way." CreationDate="2011-02-02T10:58:50.173" UserId="4297" />
  <row Id="8435" PostId="5719" Text="Your last approach is the one I would have started with.  And I agree that the corruption is probably some symbol confusion.  Sadly I don't have an answer for you." CreationDate="2011-02-02T12:29:47.967" UserId="3397" />
  <row Id="8436" PostId="6770" Text="I've heard good things about this service" CreationDate="2011-02-02T12:44:05.393" UserId="3397" />
  <row Id="8437" PostId="6788" Score="4" Text="@legate, symlinks don't, applications can. the best example of a program that uses it's name to define how it executes is  `busybox`. symlinks are just the number one way of defining the 0th argument to an application. simply renaming a file would also suffice." CreationDate="2011-02-02T12:50:43.180" UserId="29" />
  <row Id="8438" PostId="1633" Text="@xenoterracide: you mean &quot;vote&quot; down, right?  Or what is &quot;mod down&quot; supposed to mean?" CreationDate="2011-02-02T14:01:25.703" UserId="4206" />
  <row Id="8439" PostId="5600" Score="1" Text="Does the path contain non standard characters? And what do you mean by 'extract'? Do you mean that you mount the iso file and read the contents directly?" CreationDate="2011-02-02T14:16:04.317" UserId="3519" />
  <row Id="8440" PostId="5600" Text="@asoundmove The path contains normal characters; I updated the answer." CreationDate="2011-02-02T14:16:04.397" UserId="688" />
  <row Id="8442" PostId="5600" Text="http://ubuntuforums.org/archive/index.php/t-512698.html shows a similar discussion to the one you've started here. Maybe that will help?" CreationDate="2011-02-02T14:16:04.443" UserId="3519" />
  <row Id="8443" PostId="6789" Score="1" Text="Does MPlayer even support menus?" CreationDate="2011-02-02T14:25:31.023" UserId="688" />
  <row Id="8444" PostId="5607" Text="I just wanna right-click and hit play. No CLI." CreationDate="2011-02-02T14:26:16.407" UserId="688" />
  <row Id="8445" PostId="5600" Text="**update**: this works on a fresh Debian install (right-click, select VLC, and voila!) ; I don't know what the fix is" CreationDate="2011-02-02T14:31:23.717" UserId="688" />
  <row Id="8446" PostId="6764" Text="... which was posted after this one." CreationDate="2011-02-02T15:45:05.517" UserId="3976" />
  <row Id="8447" PostId="6793" Text="Thanks! I kept looking in /sbin instead of /usr/sbin but both of those worked! Hopefully Google will index this answer instead of the garbage that is out there." CreationDate="2011-02-02T16:15:21.107" UserId="431" />
  <row Id="8448" PostId="6703" Text="the 3-d effects were there even before the installation of ATi Catalyst . &#xA;now Dragging of windows slow/laggy .... how do i uninstall the ati Catalyst &#xA;please somebody HELP" CreationDate="2011-02-02T16:18:27.460" UserId="4391" />
  <row Id="8449" PostId="6793" Score="1" Text="@tooshel: You could have tried locate.  &quot;locate bin/httpd&quot;.  Assuming it's installed, not sure it's standard on CentOS." CreationDate="2011-02-02T16:39:26.567" UserId="4206" />
  <row Id="8450" PostId="6772" Text="It was already done. See the comment to the question." CreationDate="2011-02-02T16:41:41.773" UserId="688" />
  <row Id="8451" PostId="6790" Text="&quot;is not working&quot; is not working.  See?  You don't know what I mean, and likewiese do we not know what you mean.  I mean (yes) *what* is not working?  Could be about anything.  Could be tmow's guess is correct, but it's only a guess (and pretty good one I think, but still)." CreationDate="2011-02-02T16:44:10.570" UserId="4206" />
  <row Id="8452" PostId="5607" Text="@Tshepang: so probably the answer to your question is &quot;You can't&quot;" CreationDate="2011-02-02T16:49:38.477" UserId="2130" />
  <row Id="8453" PostId="6750" Text="@P Hemans: If you used a proper editor with syntax highlight (i.e. Vi) that could have been very obvious :P" CreationDate="2011-02-02T16:51:02.187" UserId="2130" />
  <row Id="8454" PostId="6790" Text="Yes, if you can be more specific with what results you are seeing, we will be better able to determine what the problem is.  I.e., what do you mean &quot;not working&quot; (: " CreationDate="2011-02-02T16:57:48.020" UserId="298" />
  <row Id="8455" PostId="5607" Text="@kiz Actually I can. Check the update on the question (a comment)." CreationDate="2011-02-02T17:43:29.677" UserId="688" />
  <row Id="8456" PostId="6794" Text="Bad $PATH is the most common cause of scripts that work by hand, but not from cron." CreationDate="2011-02-02T19:10:36.670" UserId="4358" />
  <row Id="8457" PostId="6790" Text="I dont see any log in the syslog, and the scripts are doing some inserts into a db which are not happening, and they happend if I run the script by hand." CreationDate="2011-02-02T19:11:30.470" UserId="4413" />
  <row Id="8458" PostId="6802" Text="One last question. How do I determine which architecture the system is? Either 64 bit or 32 bit?" CreationDate="2011-02-02T19:34:19.580" UserId="4223" />
  <row Id="8459" PostId="6805" Text="And Wikipedia is not really a reliable reference, as this goes to show." CreationDate="2011-02-02T19:50:48.847" UserId="4206" />
  <row Id="8460" PostId="6802" Text="I ran uname -a and found out that it is i386 however, the response from the command: 'sudo yum install --nogpgcheck http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm' was No package http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm available." CreationDate="2011-02-02T19:52:08.333" UserId="4223" />
  <row Id="8461" PostId="6639" Text="+1 for the .vimrc" CreationDate="2011-02-02T20:06:10.630" UserId="3959" />
  <row Id="8462" PostId="6802" Text="I also tried downloading the package and running your proposed command:" CreationDate="2011-02-02T20:08:31.003" UserId="4223" />
  <row Id="8463" PostId="6802" Text="sudo yum install --nogpgcheck ./rpmforge-release-0.5.2-2.el5.rf.i386.rpm &#xA;Loaded plugins: fastestmirror&#xA;Loading mirror speeds from cached hostfile&#xA; * addons: mirrors.xmission.com&#xA; * base: mirrors.easynews.com&#xA; * extras: mirror.nic.uoregon.edu&#xA; * rpmforge: ftp-stud.fht-esslingen.de&#xA; * updates: mirrors.easynews.com&#xA;Setting up Install Process&#xA;Examining ./rpmforge-release-0.5.2-2.el5.rf.i386.rpm: rpmforge-release-0.5.2-2.el5.rf.i386&#xA;./rpmforge-release-0.5.2-2.el5.rf.i386.rpm: does not update installed package.&#xA;Nothing to d" CreationDate="2011-02-02T20:09:01.220" UserId="4223" />
  <row Id="8464" PostId="6810" Text="Damn! You beat me to it." CreationDate="2011-02-02T20:23:14.020" UserId="3309" />
  <row Id="8465" PostId="6808" Text="I believe you are correct." CreationDate="2011-02-02T20:33:29.147" UserId="3887" />
  <row Id="8466" PostId="6812" Text="Don't always assume that it's Linux. His laptop may be a Mac. And Debian disables `/dev/tcp`. Ubuntu being Debian derived may as well (but I have no specific knowledge). But if `/dev/tcp` is available, then yes this is perfectly valid." CreationDate="2011-02-02T20:35:28.087" UserId="3309" />
  <row Id="8467" PostId="6806" Text="I would've guessed 'data dump' " CreationDate="2011-02-02T20:45:49.473" UserId="261" />
  <row Id="8468" PostId="6808" Text="Yes this does make sense, functionally, even if the origins say something else. " CreationDate="2011-02-02T20:48:57.783" UserId="261" />
  <row Id="8469" PostId="6812" Text="thx for your feedback, i've wrote it on a Mac." CreationDate="2011-02-02T20:49:51.137" UserId="4418" />
  <row Id="8470" PostId="6805" Text="It also says `It is jokingly said to stand for &quot;disk destroyer&quot;, &quot;data destroyer&quot;, or &quot;delete data&quot;` - cross referencing this with the Jargon file clicks a switch, I believe this is the answer we're looking for!" CreationDate="2011-02-02T20:49:55.443" UserId="261" />
  <row Id="8471" PostId="6805" Text="I always thought it was data duplicate too." CreationDate="2011-02-02T21:07:05.773" UserId="3169" />
  <row Id="8472" PostId="6805" Text="Oh, Wikipedia doesn't even *assert* anything, it just says (which is probably violating WP:NOR) &quot;is most likely inspired from[sic] DD&quot;." CreationDate="2011-02-02T21:25:31.467" UserId="4206" />
  <row Id="8474" PostId="6646" Text="FWIW, the filename completion is `Esc``Esc` or `Esc``=` in `ksh`, and `Tab` works in `ksh93`.  Just in case anyone is stuck with it or prefers it." CreationDate="2011-02-02T21:35:38.503" UserId="3169" />
  <row Id="8475" PostId="6810" Text="thanks, didn't know nc , i was wondering why `nc -z -w 2 192.168.0.123` ( -w is the timeout option, in seconds ) does not timeout :|" CreationDate="2011-02-02T23:12:52.483" UserId="4417" />
  <row Id="8476" PostId="6812" Text="thanks, even if `exec 3&gt;/dev/tcp/${HOST}/22` looks really &quot;bizarre&quot;" CreationDate="2011-02-02T23:17:23.570" UserId="4417" />
  <row Id="8477" PostId="6770" Score="1" Text="The OpenSuse Build Service is awesome! It does give you a yum repository -  or several depending which targets one selects. It even supports .deb based distributions. Even the Ubuntu PPA service does not support Debian distributions and Ubuntu is based on Debian ... I hope Novell keeps this service alive. So far, it works quite well and is convenient to use." CreationDate="2011-02-02T23:44:19.237" UserId="1131" />
  <row Id="8478" PostId="6807" Text="The usecase is pretty simple... the utility does a fairly complex transformation on a vendor's code repo, importing it to a local mercurial repo. Prints a bunch of status details out (like how many roots/heads/branches the resulting repo has), and then launches a shell to let the user investigate further. When they finish, the script asks if it should continue with the &quot;difficult to undo&quot; parts of the process. (In summary... privs aren't an issue here, but I want to make the users as comfortable with their own settings as possible)" CreationDate="2011-02-03T01:08:34.733" UserId="455" />
  <row Id="8479" PostId="6756" Text="@xenoterracide I would like to know too, where is your answer?" CreationDate="2011-02-03T01:26:23.663" UserId="1627" />
  <row Id="8480" PostId="6802" Text="It looks like you already installed the package. Perhaps the repo got disabled? Look for /etc/yum.repos.d/rpmforge.repo and see if enabled=0. If so, change it to 1. If that file is missing entirely, remove and reinstall the package. Also, I fixed my install command in the original post" CreationDate="2011-02-03T01:33:34.723" UserId="4358" />
  <row Id="8482" PostId="6798" Text="as for the Subversion SRPM, did you follow the instructions described here: http://unix.stackexchange.com/questions/6506/need-to-upgrade-svn-on-centos/6510#6510" CreationDate="2011-02-03T03:09:06.360" UserId="3976" />
  <row Id="8483" PostId="6805" Text="I've heard that it came from JCL from some sysadmin old-timers.  See the documentation for DD to compare: http://publib.boulder.ibm.com/infocenter/zos/basics/topic/com.ibm.zos.zjcl/zjclc_jclDDstmt.htm" CreationDate="2011-02-03T03:20:55.983" UserId="3976" />
  <row Id="8484" PostId="6808" Text="Probaby a backronym. https://secure.wikimedia.org/wikipedia/en/wiki/Backronym" CreationDate="2011-02-03T03:22:01.877" UserId="3976" />
  <row Id="8485" PostId="6816" Score="1" Text="For the CentOS 5 httpd rpm, mod_deflate is included and already loaded.  You do need to use the DEFLATE output filter as bahamat describes above." CreationDate="2011-02-03T03:47:01.993" UserId="3976" />
  <row Id="8486" PostId="6826" Score="1" Text="+1 for mentioning `ld.so` (clever)" CreationDate="2011-02-03T03:59:37.587" UserId="1655" />
  <row Id="8487" PostId="6826" Text="I tried your two commands; &quot;cannot open shared object file: No such file or directory&quot; - due to sh being copied but bash being run. So then I tried `/lib/ld-2.10.1.so $HOME/sh` and it returned another error while loading shared libraries: `/home/chronos/user/sh: failed to map segment from shared object: Operation not permitted`. I'm not sure if what you said was untrue, or if something else is interfering. For example, / is mounted as read-only." CreationDate="2011-02-03T04:06:18.733" UserId="3194" />
  <row Id="8489" PostId="6810" Text="You need to specify a port too. nc -z -w 2 192.168.0.123 22 works as expected." CreationDate="2011-02-03T07:36:07.913" UserId="3959" />
  <row Id="8490" PostId="6842" Text="Is your shell `bash`, `zsh`, or something else?" CreationDate="2011-02-03T07:49:09.170" UserId="3169" />
  <row Id="8491" PostId="6794" Text="@Patrick Of course it is a problem if cron doesn't know where is php, otherwise the Elzo crontab would work without any issues, it MUST be a PATH problem." CreationDate="2011-02-03T08:01:28.703" UserId="3372" />
  <row Id="8492" PostId="6639" Text="Great tips which I never knew." CreationDate="2011-02-03T08:11:13.683" UserId="3540" />
  <row Id="8493" PostId="6720" Text="@Patrick indeed your solution is nice, but /etc/login.defs is used on GNU/Linux systems and doesn't apply on all the unix flavors. Then getent is not a standard as well, but just a tool." CreationDate="2011-02-03T08:20:28.477" UserId="3372" />
  <row Id="8494" PostId="6719" Text="@Steven I would add as well to analyze the /etc/group" CreationDate="2011-02-03T08:22:11.313" UserId="3372" />
  <row Id="8495" PostId="6839" Text="Quite interesting. But, I have a doubt. Where should the code reside?" CreationDate="2011-02-03T08:23:09.330" UserId="3540" />
  <row Id="8496" PostId="6828" Text="I loved the mcd option. Nice one, Thanks." CreationDate="2011-02-03T08:24:07.300" UserId="3540" />
  <row Id="8497" PostId="6840" Text="Yeah, I know this. I was asking if there is a header-only package available in Fedora 14 (i.e. which does not depend on the shared library ones). I mean if I want to create a package, which only requires the boost headers, it does not help that I can manually install them outside of the package manager." CreationDate="2011-02-03T09:07:45.297" UserId="1131" />
  <row Id="8498" PostId="6836" Text="Yeah, this is what I've stated in the question." CreationDate="2011-02-03T09:08:51.690" UserId="1131" />
  <row Id="8499" PostId="6844" Score="2" Text="It seems like you've started `stunnel` as a normal user, which then tries to bind to port 443. Generally, ports below 1024 can only be used by root." CreationDate="2011-02-03T09:47:51.017" UserId="3069" />
  <row Id="8500" PostId="6756" Text="@juliano with my internet and tuits. power went out yesterday and my internet still hasn't been back up at home, at work atm, and it does't work in kde-4.5. hopefully I can write it this weekend." CreationDate="2011-02-03T10:42:21.297" UserId="29" />
  <row Id="8501" PostId="1633" Text="@jae yes I would say I did mean that... sorry I wasn't a moderator then... and so I doubt it was as ambiguous when I said it. I've modified it." CreationDate="2011-02-03T10:44:51.870" UserId="29" />
  <row Id="8502" PostId="6842" Text="I suggested changing the title because I don't think the question is specific to Fluxbox.  No harm leaving it in the tags or the question tho." CreationDate="2011-02-03T12:29:40.600" UserId="3169" />
  <row Id="8503" PostId="6839" Text="In `.bashrc` presumably." CreationDate="2011-02-03T12:30:47.650" UserId="3169" />
  <row Id="8504" PostId="6839" Text="yes, that's in my ~/.bashrc" CreationDate="2011-02-03T13:35:16.920" UserId="3976" />
  <row Id="8505" PostId="6836" Score="2" Text="the `boost-devel` package is the only package that has the boost header files, and it requires the other packages, so the answer to your question is:  No, there are no packages you can install that would only provide the headers.  Fedora packages typically have their -devel packages require the other package that includes any libraries used to compile using the headers in the package, as is in this case." CreationDate="2011-02-03T15:03:28.473" UserId="3976" />
  <row Id="8506" PostId="6826" Text="Well, I couldn't say for certain because I don't have a copy of ChromeOS to try with. I'm fairly confident that it can work with some modification but without being able to try it myself I don't know what that might be." CreationDate="2011-02-03T15:21:55.830" UserId="3309" />
  <row Id="8507" PostId="6835" Score="1" Text="But the postings go on to say: `He's not sure if it was ever actually called cc in UNIX, but he is _certain_ that the name dd comes from the jcl dd command (so does the wreched syntax).`" CreationDate="2011-02-03T15:41:30.483" UserId="3635" />
  <row Id="8508" PostId="2142" Score="1" Text="&quot;rent from Apple&quot; - muahhahaa. +100 man. I just realized that iphones are exactly that - you don't own them - you rent them :)" CreationDate="2011-02-03T16:48:34.187" UserId="2657" />
  <row Id="8509" PostId="6816" Text="I added the LoadModule to a conf in conf.d and yeah, after restarting apache it's already loaded. How can I tell if it's serving everything compressed and why would google keep telling me to compress everything? Guess those are questions best asked elsewhere." CreationDate="2011-02-03T17:08:15.410" UserId="431" />
  <row Id="8510" PostId="6816" Score="1" Text="If you look at the headers (each browser has its own way, or use a sniffer such as wireshark or tcpflow to see them) one of them will be something like `Content-Encoding:gzip`. You should use an actual desktop browser (e.g., firefox, chrome, etc) rather than a lower level client (lynx, curl, telnet, etc) because the lower level clients may not support/request/advertise compression capability. " CreationDate="2011-02-03T17:56:45.473" UserId="3309" />
  <row Id="8511" PostId="6858" Text="Are you sure it's not available everywhere? Which have you found lacking?" CreationDate="2011-02-03T18:24:11.287" UserId="688" />
  <row Id="8512" PostId="6858" Text="RHEL5, what I run on all our servers and workstations.  It might be in some 3rd party repo but I don't really need it if I have `dmidecode`." CreationDate="2011-02-03T18:33:10.180" UserId="3976" />
  <row Id="8513" PostId="2300" Text="@jll It's tagged [linux], so I suppose..." CreationDate="2011-02-03T19:16:52.543" UserId="688" />
  <row Id="8514" PostId="6852" Text="`dd` is the right tool for the job - looks like you came up with a nice, elegant solution to your problem." CreationDate="2011-02-03T19:50:08.420" UserId="3635" />
  <row Id="8515" PostId="6187" Text="The discussion of that bug is kind of all over the place. Someone claimed &quot;I mean a silly work around is use GIMP to resize the wallpaper you want to put into the exact total screen solutions.&quot; &#xA;I think the gist of it is that these people want an arbitrarily sized image to scale and span exactly how they want it. But what I'm saying is that you can create the image to the right size so the software doesn't need to adjust it.&#xA;I don't think it is dependent on Xinerama or Twinview." CreationDate="2011-02-03T20:04:35.737" UserId="4016" />
  <row Id="8516" PostId="6805" Text="good call @jsbillings, I guess 'Description' and 'Definition' was synonymous then. Totally valid considering the terms I've come across in legacy systems." CreationDate="2011-02-03T21:05:16.580" UserId="261" />
  <row Id="8517" PostId="6835" Text="This is proving quite an investigation. 'Copy and Convert' describe's dd's function nicely! Some systems did have cc as the 'C-Compiler', and light-bulb moment: does gcc stand for 'GNU C Compiler'? :-) Interesting. " CreationDate="2011-02-03T21:12:41.453" UserId="261" />
  <row Id="8518" PostId="6835" Text=" +1 for digging up that interesting page!" CreationDate="2011-02-03T21:18:54.050" UserId="261" />
  <row Id="8519" PostId="6864" Score="1" Text="See also http://unix.stackexchange.com/questions/6850/what-is-the-fedora-equivalent-to-the-debian-ubuntu-package-search-pages - at the end I extend the question to RHEL as well" CreationDate="2011-02-03T22:15:09.440" UserId="1131" />
  <row Id="8520" PostId="6867" Score="1" Text="Nice article. BTW, we prefer a small summary/explanation of whatever you link to, beyond just the title. That is, we need to know beforehand what you are asking us to visit." CreationDate="2011-02-03T22:18:27.553" UserId="688" />
  <row Id="8521" PostId="6868" Text="oh wow... cool!" CreationDate="2011-02-03T22:30:47.983" UserId="1070" />
  <row Id="8522" PostId="6867" Score="1" Text="Thanks, I edited my answer." CreationDate="2011-02-03T22:30:52.643" UserId="4449" />
  <row Id="8523" PostId="6869" Text="So, there is no way to do this without having that ID?" CreationDate="2011-02-03T22:49:29.553" UserId="688" />
  <row Id="8524" PostId="6857" Text="Another trick if you want to transfer multiple files at once is to do `ssh user@example.com 'tar -c /path/to/file1 /path/to/file2' | tar -C / -x` or to send `tar -c /path/to/file1 /path/to/file2 | ssh user@example.com 'tar -C / -x'`" CreationDate="2011-02-03T22:52:48.443" UserId="4358" />
  <row Id="8525" PostId="6873" Text="Regarding the pbone search, are the results I get for official RHEL packages, or simply packages built for RHEL?" CreationDate="2011-02-03T23:02:14.020" UserId="688" />
  <row Id="8526" PostId="6873" Text="View the page and see for yourself.  There is no option for RHEL5 or RHEL6, only CentOS." CreationDate="2011-02-03T23:05:13.887" UserId="3169" />
  <row Id="8527" PostId="5403" Score="2" Text="In here, we prefer more than just links to pages. A little bit of a summary/explanation will help." CreationDate="2011-02-03T23:06:11.833" UserId="688" />
  <row Id="8530" PostId="6869" Text="Well if you have a legal copy of RHEL you should have that ID :-/. But thats the most official site youre going to get. You can browse the centos repos, but thats as close as you can get" CreationDate="2011-02-03T23:16:19.037" UserId="4358" />
  <row Id="8531" PostId="6720" Text="@tmow, Ya, its OS dependent. And getent is on all the linux and solaris boxes we run, so seems to be common enough." CreationDate="2011-02-03T23:22:52.650" UserId="4358" />
  <row Id="8532" PostId="6873" Text="Actually, there is, for RHEL 5 and lower." CreationDate="2011-02-03T23:24:18.633" UserId="688" />
  <row Id="8533" PostId="6871" Text="Hmm... maybe I'm doing something wrong, but I couldn't get the :set command to work. To experiment, I opened vim to trash.txt, inserted some text, and then pushed &lt;esc&gt;:set mouse=a" CreationDate="2011-02-03T23:30:45.233" UserId="1070" />
  <row Id="8534" PostId="6873" Text="Pardon me!  There is!  :-)" CreationDate="2011-02-03T23:33:17.803" UserId="3169" />
  <row Id="8535" PostId="6873" Text="I tried searching for `coreutils` and the links all pointed to a site in Spain that looked to be a Scientific Linux mirror.  So I'm pretty sure they're not official RHEL packages." CreationDate="2011-02-03T23:34:04.323" UserId="3169" />
  <row Id="8536" PostId="6827" Score="1" Text="@Tshepang: I don't understand. Have you mixed up question mark and full stop in your comment? And what typo are you referring to? Just point out the typo or edit my question and fix it since you have already spotted it. I fix the last question - but I don't know if this is the typo you mean ..." CreationDate="2011-02-04T00:12:42.993" UserId="1131" />
  <row Id="8537" PostId="6865" Text="Thanks! I didn't know that piped input carried over to a second process like that - that's very neat. I can't believe I didn't think of `bs=1131 skip=1` though :-/" CreationDate="2011-02-04T00:35:02.653" UserId="2913" />
  <row Id="8538" PostId="6866" Text="Thanks - I didn't know piped input continued to a second process like that, I guess that's the sub shell? I'll definitely remember that! I've given Marco the tick because he got here first but +1 and thanks for the answer!" CreationDate="2011-02-04T00:36:49.917" UserId="2913" />
  <row Id="8539" PostId="6808" Text="Disk Dump is correct. Back then it was normal to use DD to backup a hard drive partition to tape. Most of the other options were related to things that people wanted to do with tapes, such as convert EBCDIC to ASCII." CreationDate="2011-02-04T02:43:10.620" UserId="2642" />
  <row Id="8540" PostId="6805" Text="It was definitely Dataset Definition. Dataset was the IBM term for File. In JCL you needed to write a DD record to define the file that you wanted to use and give a 2 character unit number code to reference in your Open statements." CreationDate="2011-02-04T02:44:45.597" UserId="2642" />
  <row Id="8541" PostId="6871" Text="@John you put `set mouse=a` in the file `~/.vimrc`. Read more here http://vim.wikia.com/wiki/Open_vimrc_file" CreationDate="2011-02-04T02:45:10.380" UserId="250" />
  <row Id="8542" PostId="6629" Text="Learn a scripting language like Python, Ruby, maybe even PERL, so that you don't have to force the shell to do everything for you. You can even get Javascript (Rhino) to run on a UNIX system and almost everyone needs to know some Javascript." CreationDate="2011-02-04T03:17:00.193" UserId="2642" />
  <row Id="8543" PostId="6826" Text="Oh well, I'd like to think that it's because Chrome OS is properly locked down. It does seem to be pretty secure but I guess we'll see over time!" CreationDate="2011-02-04T04:09:49.717" UserId="3194" />
  <row Id="8544" PostId="6882" Text="I tried `dd`ing to a partition, the thing would not boot (the error is something like &quot;Cannot mount root device&quot;)" CreationDate="2011-02-04T04:57:24.230" UserId="250" />
  <row Id="8545" PostId="6882" Text="CD's don't use hard drive filesystems so dd is never going to work well. I have edited the answer to use tar instead of dd for copying. And that is the beauty of using Virtualbox to test this stuff beforehand." CreationDate="2011-02-04T05:07:31.103" UserId="2642" />
  <row Id="8546" PostId="6871" Score="1" Text="@John If you are on Mac, the default Terminal.app does not support the mouse. Use [iTerm](http://sites.google.com/site/iterm2home/)." CreationDate="2011-02-04T05:17:10.853" UserId="2174" />
  <row Id="8547" PostId="6858" Text="I think dmidecode is the way to go. Also see [this answer](http://askubuntu.com/questions/18372/how-can-i-find-out-what-ram-a-computer-system-has) for a little more info." CreationDate="2011-02-04T06:07:47.260" UserId="3998" />
  <row Id="8548" PostId="6839" Text="Will try that.." CreationDate="2011-02-04T06:12:23.500" UserId="3540" />
  <row Id="8549" PostId="6843" Text="I wrote the `bashprompt` script.  You should now have everything you need." CreationDate="2011-02-04T06:42:01.283" UserId="3169" />
  <row Id="8550" PostId="6885" Text="Can you revise the first sentence. Do you want to add the tar files **to** the iso image." CreationDate="2011-02-04T06:58:54.777" UserId="688" />
  <row Id="8552" PostId="6858" Text="dmidecode has served me well multiple times for memory querying" CreationDate="2011-02-04T07:49:10.040" UserId="2350" />
  <row Id="8553" PostId="6866" Text="@Rup, yes, the sub-shell - created via the parentheses - provides a stdin file descriptor and both dd calls successively consume the input from it. Yeah - Marco beat me by 29 seconds :)" CreationDate="2011-02-04T08:23:51.200" UserId="1131" />
  <row Id="8554" PostId="6885" Text="yes... i mean the same... i.e, adding some file to the .iso image of the installation cd... and then running some script post installation...." CreationDate="2011-02-04T08:24:57.033" UserId="4457" />
  <row Id="8555" PostId="6879" Score="2" Text="To prove your point about wasting time with the shell and being more time efficient with a scripting language you could post the code (e.g. an one liner) in your favorite scripting language." CreationDate="2011-02-04T08:26:50.337" UserId="1131" />
  <row Id="8556" PostId="6836" Text="Ok, good that you mention how -devel packages are structured (in general) in the Fedora world. I did not know that." CreationDate="2011-02-04T08:32:40.893" UserId="1131" />
  <row Id="8557" PostId="6886" Text="+1 Shorter than mine, but of course you'd still need to use my `.bashrc` above." CreationDate="2011-02-04T08:34:36.273" UserId="3169" />
  <row Id="8558" PostId="6887" Score="1" Text="The last line is unclear. Also, wouldn't this fit more in SF?" CreationDate="2011-02-04T08:40:21.100" UserId="688" />
  <row Id="8559" PostId="6827" Score="2" Text="I made those prompts `#` because you said you ran the commands as root. That's the convention, and that's what root prompt looks like." CreationDate="2011-02-04T08:43:42.747" UserId="688" />
  <row Id="8560" PostId="6788" Text="I failed to parse this one: *Note that there is also called a hard link that will have the same effect.*" CreationDate="2011-02-04T09:01:01.987" UserId="688" />
  <row Id="8562" PostId="6788" Text="I have re-written that sentence.  Hopefully it is clearer now." CreationDate="2011-02-04T09:09:16.947" UserId="3169" />
  <row Id="8563" PostId="6889" Score="2" Text="-1 worded poorly and patronizing. I AM the hosting provider, and it's the damn customers site on our server that I need to test. We have a network boot linux that I do not have admin access to, and I don't believe I can boot a VM on it." CreationDate="2011-02-04T10:01:03.767" UserId="29" />
  <row Id="8564" PostId="6887" Text="@tshepang ... no because I need to do this on a linux desktop?" CreationDate="2011-02-04T10:03:37.353" UserId="29" />
  <row Id="8565" PostId="6879" Score="2" Text="But now I know how to use dd properly I can't see how python could possibly be better. I have programmed this before - when I'm on Windows and don't have a port of dd to hand I usually bash out a quick program in C - but I can't see the benefit now." CreationDate="2011-02-04T10:18:48.920" UserId="2913" />
  <row Id="8566" PostId="6888" Text="@max unfortunately much like the op in that question none of these seem viable." CreationDate="2011-02-04T10:28:19.483" UserId="29" />
  <row Id="8567" PostId="6837" Text="that command fails." CreationDate="2011-02-04T10:33:49.223" UserId="1836" />
  <row Id="8568" PostId="6887" Score="1" Text="Still not so clear. What does &quot;or other options are helpful&quot; mean exactly? Don't make me guess." CreationDate="2011-02-04T10:53:33.743" UserId="688" />
  <row Id="8569" PostId="6877" Text="monowall is 1) based on FreeBSD and 2) even more stripped down than OpenWRT. I don't know Sentry but it seems to be running from a CD image in a ramdisk." CreationDate="2011-02-04T11:37:03.067" UserId="3959" />
  <row Id="8570" PostId="6876" Score="2" Text="Why not install the distro of your choice and set up your wifi interface as an AP? Am I missing something?" CreationDate="2011-02-04T11:39:29.037" UserId="3959" />
  <row Id="8571" PostId="6892" Text="I think that should read &quot;man groff&quot;" CreationDate="2011-02-04T11:53:31.103" UserId="3959" />
  <row Id="8572" PostId="6892" Text="There are separate man pages for each file format supported by groff.  The ones for man pages should be in `groff_an` or `groff_man`, but you might need to install a non-default package to get it." CreationDate="2011-02-04T11:56:49.190" UserId="3169" />
  <row Id="8573" PostId="6892" Text="But yes, I did briefly say `groff_an`, and for most people it will be `groff_man` if that's what you were referring to. :-)" CreationDate="2011-02-04T12:03:35.953" UserId="3169" />
  <row Id="8574" PostId="6858" Text="This worked great, thanks!" CreationDate="2011-02-04T12:49:48.360" UserId="1974" />
  <row Id="8575" PostId="6856" Text="This was extremely handy to know, thanks! Both of your answers worked, and since I could only accept one I accepted jsbillings' and upvoted yours." CreationDate="2011-02-04T12:52:03.770" UserId="1974" />
  <row Id="8576" PostId="6889" Text="@xenoterracide there is not too much to say. It's really not feasible what you are asking for, except you change the way a SOCKET is created." CreationDate="2011-02-04T13:01:32.637" UserId="3372" />
  <row Id="8577" PostId="6889" Score="1" Text="@xenoterracide BTW, there wasn't any intention to offend." CreationDate="2011-02-04T13:08:20.537" UserId="3372" />
  <row Id="8578" PostId="6856" Text="@josh If what the guy says is true, that `lshw` isn't available everywhere, then surely his answer is superior." CreationDate="2011-02-04T13:47:24.740" UserId="688" />
  <row Id="8579" PostId="6856" Text="That's what I was thinking, but it's difficult when both answers were correct AFAICT! Also, he has less rep, so he could use the extra +5 more, that's how I see it anyway... :-)" CreationDate="2011-02-04T14:01:06.757" UserId="1974" />
  <row Id="8580" PostId="6837" Text="How does it fail?  Are you running `/usr/sbin/grub-install`?  Are you installing it to the right drive?" CreationDate="2011-02-04T14:01:35.697" UserId="3976" />
  <row Id="8581" PostId="6896" Text="No, that's not it." CreationDate="2011-02-04T15:44:46.030" UserId="688" />
  <row Id="8582" PostId="6793" Text="Yeah, we do have locate . . . I found out because another colleague was convinced I didn't move something because the &quot;locate&quot; index was not updated. I still always forget it's there! Thanks!" CreationDate="2011-02-04T16:25:57.000" UserId="431" />
  <row Id="8583" PostId="6816" Text="I think the problem is I needed to add AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css to httpd.conf. Now it seems to be working." CreationDate="2011-02-04T16:27:30.303" UserId="431" />
  <row Id="8584" PostId="6905" Text="This is a good question, so I tried to generalize it a bit" CreationDate="2011-02-04T16:54:55.797" UserId="73" />
  <row Id="8585" PostId="6905" Text="The 'fourth chmod octal digit' is a bit confusing, the digit in question is actually the first when reading from left to right." CreationDate="2011-02-04T17:05:22.370" UserId="3976" />
  <row Id="8586" PostId="6905" Text="@jsbillings Fixed, thanks" CreationDate="2011-02-04T17:29:34.440" UserId="73" />
  <row Id="8587" PostId="6196" Text="Since it appears your question is related to servers, can you try http://serverfault.com/?" CreationDate="2011-02-04T18:20:34.967" UserId="688" />
  <row Id="8588" PostId="6196" Text="I've reformatted the question. Can you check if my edits are okay?" CreationDate="2011-02-04T18:23:59.720" UserId="688" />
  <row Id="8589" PostId="5850" Text="Are you still experiencing this problem? Can you paste here the output of of `cat /var/log/Xorg.0.log | grep EE &amp;&amp; cat /var/log/Xorg.0.log | grep WW` on your post. Also, where do you get the above `Failed to load module` message?" CreationDate="2011-02-04T18:29:28.633" UserId="688" />
  <row Id="8590" PostId="5850" Text="Or, to make the command line less confusing (and remove the useless use of `cat`) just run:&#xA;`egrep 'EE|WW' /var/log/Xorg.0.log`" CreationDate="2011-02-04T18:35:40.443" UserId="3976" />
  <row Id="8591" PostId="4724" Text="He didn't mean there isn't. He actually doesn't know. His point is that your more likely to get a better answer on http://serverfault.com/." CreationDate="2011-02-04T18:39:21.113" UserId="688" />
  <row Id="8592" PostId="3609" Text="Are you still experiencing this problem. If not, how did you fix it?" CreationDate="2011-02-04T18:43:29.390" UserId="688" />
  <row Id="8593" PostId="2775" Text="Are you still experiencing this problem?" CreationDate="2011-02-04T18:44:32.273" UserId="688" />
  <row Id="8594" PostId="1660" Text="A kernel panic is better than a BSOD because its name implies what the user should do when it happens." CreationDate="2011-02-04T18:44:58.517" UserId="1655" />
  <row Id="8595" PostId="2656" Text="Are you still experiencing this problem?" CreationDate="2011-02-04T18:45:25.067" UserId="688" />
  <row Id="8596" PostId="2488" Text="+1 for mentioning built-in vs. module in kernel compile." CreationDate="2011-02-04T18:47:35.393" UserId="1655" />
  <row Id="8597" PostId="6912" Text="Sadly, it can't monitor a single process, and it doesn't log. The second requirement (logging) is much more important that the first one though. Oh, and it doesn't run without admin privileges :(" CreationDate="2011-02-04T19:25:50.283" UserId="688" />
  <row Id="8599" PostId="6888" Text="@xenoterracide - I updated my answer - perhaps the redirector add-on is an option?" CreationDate="2011-02-04T19:38:28.843" UserId="1131" />
  <row Id="8600" PostId="6908" Score="1" Text="related: http://superuser.com/questions/189128/something-that-logs-network-traffic-bandwidth-usage-per-process" CreationDate="2011-02-04T20:08:18.490" UserId="838" />
  <row Id="8601" PostId="6914" Text="Works quite nicely. Thanks." CreationDate="2011-02-04T20:19:21.257" UserId="688" />
  <row Id="8602" PostId="5616" Text="In Debian, **apache2** is a meta-package that depends on **apache2-mpm-worker** or **apache2-mpm-prefork** or **apache2-mpm-event** or **apache2-mpm-itk**, in that order. That is, running `apt-get install apache2` will pull in **apache2-mpm-worker**, and if it's not available, will go on to the next one, and so on." CreationDate="2011-02-04T20:42:19.427" UserId="688" />
  <row Id="8603" PostId="6913" Text="This is good, although I'd prefer to _keep_ the empty line between paragraphs. I assume you could do something like this by adding an extra new line somewhere in the first print command? Also, what is `/./` doing: it seems to be acting like and `else` for the `/^$/` string match, is that right?" CreationDate="2011-02-04T21:26:07.593" UserId="12" />
  <row Id="8605" PostId="6916" Text="One problem this has is that there are no spaces between the sentences." CreationDate="2011-02-04T22:10:07.837" UserId="1207" />
  <row Id="8606" PostId="6879" Text="C is not a scripting language so I don't recommend this. Consider that you might stick this dd command in a shell script for future use. But in future the number of bytes to skip may be different in which case you are back to square one. But with a Python, PERL or Ruby script, you simply edit the skip count, and run it, or make it more general and have the skip count as an argument. In 197s it was necessary to figure out how to do the job without resorting to compiling C code, but today we have more powerful tools standard on UNIX OSes." CreationDate="2011-02-04T22:22:56.080" UserId="2642" />
  <row Id="8607" PostId="6038" Text="Thanks gokoon... There's nothing quite like the voice of experience (your experience ;) I'll give Scite(Scintilla) a miss (Scite is available in the Ubuntu repository) ... I would use notepad++ in wine but even though is many reports say it works flawlessly, that is not my expereince (maybe they haven't tried &lt;Ctrl&gt;&lt;NumPad+&gt; / &lt;Ctrl&gt;&lt;NumPad-&gt; .. it leave a trail of +/- chars for each keypress... and I've noticed a couple of there things... Oh well I'm surviving without it, but aybe Emacs will do what I want (as mentioned by sepp2k).. I've starting to look at Emacs only very recently...." CreationDate="2011-02-04T23:28:24.693" UserId="2343" />
  <row Id="8608" PostId="6893" Score="3" Text="They are Gnome warning messages. Given that Gnome's `CRITICAL` messages are commonplace and not considered bugs by the Gnome maintainers, I wouldn't worry about a mere `WARNING`." CreationDate="2011-02-04T23:33:39.083" UserId="885" />
  <row Id="8609" PostId="6897" Score="1" Text="Most usefully, make your wrapper redirect the opening of [`/etc/nsswitch.conf`](http://www.gnu.org/software/libc/manual/html_node/Name-Service-Switch.html#Name-Service-Switch) to `~/.nsswitch.conf`, and make a `~/.nsswitch.conf` that queries your DNS databases." CreationDate="2011-02-04T23:49:32.037" UserId="885" />
  <row Id="8610" PostId="6865" Text="Most modern implementations of shell utilities work correctly with binary files (i.e. they have no trouble with null characters and won't insert an extra newline at the end of the file). Certainly GNU and *BSD implementations are safe." CreationDate="2011-02-05T00:04:09.377" UserId="885" />
  <row Id="8611" PostId="6907" Score="3" Text="Nearly all implementations of *chmod(1)* can use commas in symbolic mode arguments. Thus, your equivalent of 2777 can be done in one command: `chmod a+rwx,g+s filename`. Or, more strictly (being sure to clear the setuid and sticky bits as the numeric mode would): `chmod a=rwx,g+s filename`." CreationDate="2011-02-05T01:17:58.367" UserId="1107" />
  <row Id="8612" PostId="6671" Text="@Falmarri: &quot;Should I ask that as a new question [about using a debugger] or just wait until I get more answers here?&quot; Well, I thought that at least modifying the title of this post to make clear that you are ready to go into debugging would attract more relevant answers and hints." CreationDate="2011-02-05T03:24:47.990" UserId="4319" />
  <row Id="8613" PostId="5440" Text="@jillagre: for comments use comments, not answers." CreationDate="2011-02-05T06:27:38.643" UserId="838" />
  <row Id="8614" PostId="5439" Text="its a bit foggy what you want: a) you want to look at the xsession running inside the VM? and b) i dont understand &quot;i would like it to behave the same as pressing&quot; ... pressing what? or do you want to log off the xsession if you detach from the VM?" CreationDate="2011-02-05T06:31:30.590" UserId="838" />
  <row Id="8615" PostId="6914" Text="I don't think this is actually a per-process counter; I think it's just the total interface count from the process' point of view.  I ran a client/server `nc` pair over localhost, sending one byte per second, and watched `/proc/&lt;listening-nc-pid&gt;/net/dev`.  Then I ran a second `nc` pair, sending at maximum rate.  The file I was watching very obviously counted the second pair's data along with the first pair's.  Running on Linux 2.6.32." CreationDate="2011-02-05T08:33:12.110" UserId="3629" />
  <row Id="8616" PostId="6924" Text="Thanks for asking this one. My 'knowledge' was mostly a guess... until now." CreationDate="2011-02-05T09:46:20.883" UserId="688" />
  <row Id="8617" PostId="6932" Text="So if somebody ask the above question i can interpret it as the difference between a System call and a Function Call." CreationDate="2011-02-05T10:16:12.917" UserId="2871" />
  <row Id="8618" PostId="2872" Text="10MB? You could probably do it under 1MB" CreationDate="2011-02-05T10:22:51.883" UserId="1571" />
  <row Id="8619" PostId="6910" Text="You meant ^$, not $^ in the first sed-command." CreationDate="2011-02-05T10:27:43.093" UserId="4485" />
  <row Id="8620" PostId="6913" Score="1" Text="@Seamus, sure - just replace the first print (updated the answer) - /./ matches all lines which are at least one character long, i.e. the complement of the /^$/ pattern which matches only empty lines." CreationDate="2011-02-05T10:39:44.147" UserId="1131" />
  <row Id="8622" PostId="6835" Text="There is a very simple issue involved here.  'DD' is from IBM's JCL and 'dd' is from UNIX .. one is Upper-case, the other Lower-case where case ma.ttered... IBM didn't really have much to do with UNIX and vice-versa... and DD/dd did different things... So, to me, *anything other than this* is a possibility" CreationDate="2011-02-05T11:13:17.543" UserId="2343" />
  <row Id="8623" PostId="6805" Text="//SYSUT1#3 DD DISP=(SHR,KEEP),DSN=DDAG.D1006Y00.SHT.APPLTN.NAMES ...(some real JCL, with a real 'IBM' DD :) ..There is no way it is relatd to the nix 'dd' ..BTW, the '//' is not a comment indicator" CreationDate="2011-02-05T11:32:57.823" UserId="2343" />
  <row Id="8624" PostId="6912" Text="You'll almost certainly need root privileges for this." CreationDate="2011-02-05T11:34:58.660" UserId="1571" />
  <row Id="8625" PostId="6933" Text="do you want the practical answer (gdb pid) or how debugging works at general, not only under linux (because windbg works the same as gdb, essentially)?" CreationDate="2011-02-05T13:22:36.627" UserId="838" />
  <row Id="8626" PostId="5440" Text="That was both a comment and an answer. I might have split it indeed." CreationDate="2011-02-05T13:51:14.510" UserId="2594" />
  <row Id="8627" PostId="6910" Text="@user yes, yes I did." CreationDate="2011-02-05T15:01:45.257" UserId="12" />
  <row Id="8628" PostId="6880" Text="Thanks, this is the kind of thing I was looking for. " CreationDate="2011-02-05T15:14:16.213" UserId="4364" />
  <row Id="8629" PostId="6943" Text="[cross-posted on AskUbuntu](http://askubuntu.com/questions/24932/keeping-multiple-root-directories-in-a-single-partition)" CreationDate="2011-02-05T16:08:59.927" UserId="1535" />
  <row Id="8630" PostId="6944" Text="For further explanation, `-i` means &quot;interactive&quot;. It will prompt you for each matching file before deleting it." CreationDate="2011-02-05T21:01:18.253" UserId="3309" />
  <row Id="8631" PostId="6957" Text="Thanks Steven.. This is looking good.. one step closer, but you have reminded me of the Devanagari hurdle... If you have a momemt could you look at a previous questiion I posted about Unicode in Emacs (http://askubuntu.com/questions/13157/ibus-client-for-gnu-emacs-installed-but-how-do-i-start-it)... If I can get the unicode part up and running, its &quot;goodbye gedit, hello emacs&quot; ...  any suggestions are welcome" CreationDate="2011-02-06T01:21:39.257" UserId="2343" />
  <row Id="8632" PostId="6953" Text="Do you have quotas enabled or anything like that?" CreationDate="2011-02-06T02:11:24.917" UserId="3169" />
  <row Id="8633" PostId="6957" Score="1" Text="Hello hello Emacs! ... I've managed to get IBus Unicode working in Emacs... Happy day! ...  Thanks again Steven... I'm sure I'll manage to 'twiddle' my way through the Emacs syntax stuff as I familiarize myself with **my new editor**  :)" CreationDate="2011-02-06T03:02:46.220" UserId="2343" />
  <row Id="8634" PostId="6038" Text="more general info... As Scite/Scintilla doesn't match my requreiemnts, I've now looked specifially at Emacs.. and it can do the job..(so I'm now on an Emacs learning curve... but I'll have a coffee before I start :) .... I posted another related question... so for anyone who is interested in this issue, here is the link: http://unix.stackexchange.com/questions/6922/text-editor-with-font-size-selection-for-specific-human-languages-ie-unicode-bl" CreationDate="2011-02-06T03:16:30.863" UserId="2343" />
  <row Id="8636" PostId="6969" Text="actually - that's my goal - to become better in cli :) i'm trying to replace whatever possible with cli alternatives now." CreationDate="2011-02-06T04:52:30.967" UserId="2657" />
  <row Id="8637" PostId="6969" Score="1" Text="I did it for exactly the same reason :) GUIs are bad if you want to become better in CLI. But there are some window managers like awesome (http://en.wikipedia.org/wiki/Awesome_%28window_manager%29), which are more command line centric." CreationDate="2011-02-06T05:01:44.657" UserId="3482" />
  <row Id="8638" PostId="6889" Text="@tmow, well as the hosting provider... I have &quot;sudo rights&quot; actually, I have real root on every box, and full access to everything... except my desktop (eyeroll) but if they haven't wanted to change their nameservers yet.. I can't help that..." CreationDate="2011-02-06T05:02:41.203" UserId="29" />
  <row Id="8639" PostId="6888" Text="@max I don't think so from the way it's worded.. what I really need to do is modify the HTTP headers that are sent... as an alternative option to hacking around using hosts" CreationDate="2011-02-06T05:14:19.970" UserId="29" />
  <row Id="8640" PostId="6888" Text="@max I poked around the SO solution (TamperData) but I didn't see how to modify the host in that. I wonder if the live http headers thing really does allow me to modify headers, it says it's a viewer." CreationDate="2011-02-06T05:18:54.407" UserId="29" />
  <row Id="8641" PostId="6887" Score="2" Text="@tshepang I don't know what I'm looking for... if I knew why would I be asking? there might be options that I haven't considered. I feel like you're asking me to explain how apache virtual hosts, http, and dns work together." CreationDate="2011-02-06T05:20:05.997" UserId="29" />
  <row Id="8642" PostId="6899" Text="easier said than done, considering the great firewall that's been erected to block us from ssh-ing out..." CreationDate="2011-02-06T05:21:42.360" UserId="29" />
  <row Id="8643" PostId="6888" Text="@max I think the Modify Headers extension listed down a bit in the SO one works... if you use Host hostname... in it... not yet tested... outside of breaking sites using it." CreationDate="2011-02-06T05:32:13.763" UserId="29" />
  <row Id="8644" PostId="6889" Score="1" Text="@tmow: with LD_PRELOAD you can 'override' specific 'low level' functions and do what you want, eg. telling the program about your own '/etc/hosts' on `open()` and any other low level call .. as long as dynamic loading of code is invovled (.so)" CreationDate="2011-02-06T05:34:05.533" UserId="838" />
  <row Id="8645" PostId="6945" Score="1" Text="@aviral just a note... red hat, and every other distribution, save ones that say they try not to, do modify that software. Arch tries not to." CreationDate="2011-02-06T06:06:35.187" UserId="29" />
  <row Id="8646" PostId="2215" Text="Interesting, that site says calling a '#' &quot;splat&quot; is rare. I've always heard it called &quot;pound&quot; &quot;hash&quot; and &quot;splat&quot; all fairly frequently." CreationDate="2011-02-06T09:29:20.147" UserId="4358" />
  <row Id="8647" PostId="6944" Text="Great idea, but I had to replace `?` with `*` to make it work. `rm: cannot remove '?': No such file or directory`. What am I missing?" CreationDate="2011-02-06T12:42:19.177" UserId="4490" />
  <row Id="8648" PostId="2439" Score="3" Text="Here in Germany: minus=Minus, dash=Strich, hyphen=Bindestrich. Minus is international. " CreationDate="2011-02-06T13:23:02.237" UserId="4485" />
  <row Id="8649" PostId="6789" Text="You can watch the mpeg stream behind animated menus but the hotspots aren't connected up to anything useful." CreationDate="2011-02-06T13:43:18.723" UserId="4410" />
  <row Id="8650" PostId="2439" Text="+1 In Russian,the word for &quot;hyphen&quot;--[defis]--although not longer than &quot;minus&quot;,but doesn't sound &quot;colloquial&quot; enough to be used in normal speech. Another colloquial word for &quot;hyphen&quot; is [chortochka], but it's not good because of some ambiguity: it means &quot;short line&quot;, so can  be interpreted as &quot;slash&quot; or &quot;backslash&quot; or &quot;pipe&quot; or whatever. The word [tire] (&quot;dash&quot;) is associated only with a long dash used as a punctuation sign. So I feel that the nicest way to pronounce this stuff is to say &quot;minus&quot;. And true: probably I learned &quot;minus&quot; from other Unix people, and was glad there's such a nice way." CreationDate="2011-02-06T13:50:31.083" UserId="4319" />
  <row Id="8651" PostId="2439" Text="Also, a hyphen ([defis] in Russian) occurs usually &quot;inside&quot; a word, to connect two parts of a word. So it's unnatural to say &quot;hyphen&quot; when you pronounce the beginning of a &quot;word&quot; (the option).  I can imagine me pronouncing &quot;apt-get&quot; as &quot;apt defis get&quot; or &quot;apt get cherez defis&quot; (= &quot;with a hyphen inside&quot;); the latter is the usual way to talk about spelling of some compound words in Russian." CreationDate="2011-02-06T13:58:41.590" UserId="4319" />
  <row Id="8652" PostId="6969" Text="Actually, you dont have to be expert cli command user. Just start using it and you will find a way to do whatever you want in cli. Gui is nice for looking and speeding up some of your tasks but if you get used to cli.... :)" CreationDate="2011-02-06T14:27:20.363" UserId="2648" />
  <row Id="8653" PostId="6977" Text="Hi,&#xA;&#xA;Even if Firefox, ctrl-space (the configured shortcut) seems to do nothing.  The ibus icon in the systray brings up the message &quot;No input window&quot; when clicked." CreationDate="2011-02-06T14:41:30.430" UserId="4495" />
  <row Id="8654" PostId="6953" Score="1" Text="fsck would be a good idea." CreationDate="2011-02-06T15:17:43.313" UserId="1627" />
  <row Id="8655" PostId="6950" Text="This question can be improved by adding information about the distro. Without it things may not get specific enough." CreationDate="2011-02-06T15:32:04.450" UserId="250" />
  <row Id="8656" PostId="6982" Text="You are right -- my example only counts the occurences in the first line." CreationDate="2011-02-06T15:49:03.247" UserId="4518" />
  <row Id="8657" PostId="6945" Text="Your SELinux question might make a good separate question on its own." CreationDate="2011-02-06T16:47:37.817" UserId="3976" />
  <row Id="8658" PostId="6349" Text="Got a whole bunch of strange results in byobu from your batch of commands. But your last config finally fixed the problem. Thanks!" CreationDate="2011-02-06T18:34:41.143" UserId="2630" />
  <row Id="8659" PostId="6966" Text=" Ok, thanks that is what I needed to know!" CreationDate="2011-02-06T18:37:09.363" UserId="4481" />
  <row Id="8660" PostId="6966" Text="This modified initrd is part of a cloning script for automating installation of about 100 workstations of various age and hardware.  I could disable kernel updates, but not if the newer kernel fixes security issues.    &#xA;Questions:  &#xA;&#xA;1) How frequently do kernel updates address security holes?  &#xA;&#xA;2) If I do have to update the kernel on these workstation in the future, I plan to write a script that does something along these lines:  &#xA;&#xA;  a) Let yum update the kernel  &#xA;&#xA;  b) Run a script that unpacks, updates and re-packs initrd in each station.  &#xA;&#xA;Thoughts on this?&#xA;" CreationDate="2011-02-06T18:48:33.410" UserId="4481" />
  <row Id="8661" PostId="6968" Text="Ok, thanks for the help!" CreationDate="2011-02-06T18:51:36.183" UserId="4481" />
  <row Id="8662" PostId="2212" Score="1" Text="Call me weird, but I call it `tack`." CreationDate="2011-02-06T19:08:54.467" UserId="3447" />
  <row Id="8664" PostId="6966" Text="@Lars: My guess would be that kernel upgrades very rarely are for security reasons. But don't take my word for that." CreationDate="2011-02-06T19:49:57.707" UserId="1571" />
  <row Id="8665" PostId="6945" Text="jsbillings: By that, I meant, &quot;Hey, this is interesting ... I've heard about it before. Let's check it out...&quot;" CreationDate="2011-02-06T19:54:26.797" UserId="489" />
  <row Id="8668" PostId="5271" Text="The Linux kernel has built-in routines to turn off the computer based on the temperature sensors. My older motherboard (Intel D865GV) and CPU (Celeron D) do not have temperature sensor hooks in them, so the BIOS returns a spurious value.&#xD;&#xA;&#xD;&#xA;The kernel reads this spurious value and will not allow the kernel to boot. &#xD;&#xA;&#xD;&#xA;I can not turn off this behavior in the BIOS.&#xD;&#xA;&#xD;&#xA;lm-sensors is not part of the kernel and is an external utility.&#xD;&#xA;&#xD;&#xA;Does anyone have a real solution?" CreationDate="2011-02-06T20:01:37.830" UserId="4079" />
  <row Id="8670" PostId="5271" Text="@gilles Rubbish. The answer given does not work. This site becomes useless if you encourage the posting of incorrect answers without discussion. " CreationDate="2011-02-06T20:01:37.987" UserId="4522" />
  <row Id="8671" PostId="5271" Text="@perspectoff: Discussing the validity of a specific answer should be done in the comments to that answer. Also, this answer was never accepted as correct so you shouldn't assume it will just work. Finally, what part of the answer is incorrect and doesn't work?" CreationDate="2011-02-06T20:01:38.033" UserId="1571" />
  <row Id="8672" PostId="6944" Text="Perhaps your locale is wrong and so your shell sees the degree/ring symbol as two characters rather than one.  Again, what does `locale -a` print?" CreationDate="2011-02-06T20:15:01.630" UserId="3169" />
  <row Id="8673" PostId="6961" Text="Are you comparing RHEL with Ubuntu LTS or with normal Ubuntu releases?" CreationDate="2011-02-06T20:38:59.953" UserId="688" />
  <row Id="8674" PostId="6949" Text="How does RHEL compare with Ubuntu LTS?" CreationDate="2011-02-06T20:40:46.750" UserId="688" />
  <row Id="8675" PostId="6991" Text="Thanks - that did it." CreationDate="2011-02-06T20:41:26.247" UserId="4524" />
  <row Id="8676" PostId="2215" Text="@patrick *splat* is usually *** in what I've used" CreationDate="2011-02-06T20:50:55.580" UserId="29" />
  <row Id="8677" PostId="6993" Score="2" Text="What are you looking for that GParted doesn't have?" CreationDate="2011-02-06T21:05:09.970" UserId="73" />
  <row Id="8678" PostId="6966" Score="1" Text="@Lars: 1.) Actually, nearly every RHEL5/CentOS5 kernel update I've seen has been because of some security fix in the kernel. 2.) You might benefit from patching the scripts that generate the initrd rather than running something that unpacks/repacks the initrd after the original scripts do their job.  Look through /sbin/mkinitrd to find the stabilize commands." CreationDate="2011-02-06T21:05:25.073" UserId="3976" />
  <row Id="8679" PostId="6756" Text="@let_me_be @julian ok, my internet finally came back up an I was able to post an answer with screenshots." CreationDate="2011-02-06T21:09:04.147" UserId="29" />
  <row Id="8680" PostId="6994" Text="hmmm, ok this works and points me into right direction. now I know where to look (where to change the color value). thank you!" CreationDate="2011-02-06T21:24:04.947" UserId="665" />
  <row Id="8681" PostId="6993" Text="^^ This. GParted is the default for partition editing tasks on Linux. I would not know what is not 'credible' so, pray tell, what bothers you about it?" CreationDate="2011-02-06T21:32:13.207" UserId="272" />
  <row Id="8682" PostId="2212" Text="@jonescb You're weird.  :-p. But seriously, any reason why?  Where'd you first hear that." CreationDate="2011-02-06T21:54:05.290" UserId="3169" />
  <row Id="8687" PostId="2307" Text="Apparently the official pronunciation of `sudo` is &quot;sue-doo&quot;.  Not that it matters much, but thought I'd mention it while we're on the topic.  http://en.m.wikipedia.org/wiki/Sudo?wasRedirected=true" CreationDate="2011-02-06T21:58:55.627" UserId="3169" />
  <row Id="8690" PostId="6984" Text="There has to be some FS-agnostic way to have this information. Reading directly from the inode is definitely not an option. I was looking for something like `SEEK_DATA` and `SEEK_HOLE` parameters for `lseek()`, like there are in Solaris: http://www.opensolarisforum.org/man/man2/lseek.html" CreationDate="2011-02-06T22:04:06.537" UserId="1627" />
  <row Id="8691" PostId="6984" Text="@Juliano A look at the Linux lseek option doesn't have these options.  Solaris supports very few file systems, so it would be relatively easy to support.  Linux supports a wide variety of file systems, some of which do not support sparse files.  Support for SEEK_DATA / SEEK_HOLE would impose support in code for all the file systems.  These methods may not do what you expect.  See http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data for more data from the Sun side." CreationDate="2011-02-06T22:20:16.237" UserId="4520" />
  <row Id="8692" PostId="6944" Text="Actually, the output of `locale` without `-a` would be better." CreationDate="2011-02-06T22:25:21.137" UserId="3169" />
  <row Id="8693" PostId="6999" Text="Thanks. Now, grep woudl give me `File date    : 2011:02:03 20:25:09`. How can I filter only the second column?" CreationDate="2011-02-06T22:27:55.437" UserId="2309" />
  <row Id="8694" PostId="6999" Text="So I only rename the file as 20:25:09" CreationDate="2011-02-06T22:36:34.057" UserId="2309" />
  <row Id="8695" PostId="6984" Text="@Bill Filesystems don't need to support anything with the lseek() interface, the kernel witelists the filesystem modules that support SEEK_DATA/SEEK_HOLE through a module property. This is in the manpage itself and the linked blog: &quot;For filesystems that do not supply information about holes, the file will be represented as one entire data region.&quot;" CreationDate="2011-02-06T22:38:46.373" UserId="1627" />
  <row Id="8696" PostId="6999" Text="@Tomas, updated the answer - if you really only want the time (what about collisions then?) you have to modify the regular expression, of course." CreationDate="2011-02-06T22:45:14.030" UserId="1131" />
  <row Id="8697" PostId="6999" Text="`j=\`jhead &quot;$i&quot; | grep date | sed 's/.* //'\`.jpg` instead?" CreationDate="2011-02-06T22:45:39.700" UserId="1071" />
  <row Id="8698" PostId="6984" Text="@Juliano Still requires kernel mods as well as changes to lseek.  As per the blog entry this is fairly new functionality at Sun.  For it to work the file system code needs to modified as well.  It certainly would require changes to all the file systems supporting sparse files to provide the kernel hooks. " CreationDate="2011-02-06T22:46:20.050" UserId="4520" />
  <row Id="8699" PostId="6998" Text="I don't understand the minor/maximum sentence and the preceding example. Could you clarify this?" CreationDate="2011-02-06T22:47:01.830" UserId="1131" />
  <row Id="8700" PostId="6999" Text="@maxshlepzig: Thanks, you missed a `'` before ``.jpg`" CreationDate="2011-02-06T22:50:19.537" UserId="2309" />
  <row Id="8701" PostId="6999" Text="@frabjouse: That way is better, although I realized it doesn't work if the session went trough the midnight. I just wanted to have no spaces." CreationDate="2011-02-06T22:52:59.957" UserId="2309" />
  <row Id="8702" PostId="557" Text="you can split vertically in screen as well. mmm... at lest it works in default Ubuntu 10.10 screen install." CreationDate="2011-02-06T22:58:27.673" UserId="2657" />
  <row Id="8703" PostId="6998" Text="That minor/maximum file names is one step up. Because, once I have the files named in a way they represent which is older and newer, I can easily rename to 001.jpg, 002.jpg, etc with another program, although it'd be better to do that with another script." CreationDate="2011-02-06T23:01:57.967" UserId="2309" />
  <row Id="8704" PostId="6998" Text="The &quot;renaming table&quot; would be `ls *.JPG | wc &gt; rename` And then I'd have to use a script rename to XXX.JPG" CreationDate="2011-02-06T23:03:51.957" UserId="2309" />
  <row Id="8705" PostId="6998" Text="Sory, is not `wc`, I forgot the one to order by name." CreationDate="2011-02-06T23:07:11.550" UserId="2309" />
  <row Id="8706" PostId="2212" Text="@Mikel.  I actually heard it on an episode of Hak5 a year or two back." CreationDate="2011-02-07T00:20:30.887" UserId="3447" />
  <row Id="8707" PostId="6362" Text="@Marc Can you post the solution as an answer? There's an &quot;answer your own question&quot; button at the bottom. Then you can accept it and the question will be marked as solved (and you'll get rep for accepting an answer)" CreationDate="2011-02-07T02:32:14.820" UserId="73" />
  <row Id="8708" PostId="6966" Text="@jsbillings: 1) Ok, that's a pain...; 2) Ok, but if yum updates the mkinitrd script in the future,  would my changes there not get lost as well?  Also, unpacking an initrd, running a simple perl script to massage the init script and then packing it back up again seems easier (and keeps my custom stuff decoupled from the standard CentOS stuff).  I guess either way works, as long as it gets the job done...  By the way, could you elaborate on the how stabilize command relates to this? (I know very little about it, except that it delays boot by 15 seconds, which seems excessive)" CreationDate="2011-02-07T02:33:58.767" UserId="4481" />
  <row Id="8709" PostId="6966" Text="I think the stabilize command has a bug, where it claims the delay should be in milliseconds but in fact is 10x as long.  See this bug: https://bugzilla.redhat.com/show_bug.cgi?id=632839" CreationDate="2011-02-07T03:20:29.167" UserId="3976" />
  <row Id="8710" PostId="6966" Text="Thanks.  Funny that RH insists on not fixing it.  Could I safely just change the interval from 1000 to 100 as a workaround, since I am messing with the init script anyhow?" CreationDate="2011-02-07T03:56:34.717" UserId="4481" />
  <row Id="8711" PostId="6961" Score="1" Text="LTS. its better, but still not as long term worry free as RHEL. " CreationDate="2011-02-07T04:49:47.430" UserId="2878" />
  <row Id="8712" PostId="6680" Text="Well I went through some debugging steps and followed the stacktrace. But when I rebooted my computer and reloaded the modules it just worked. So, I don't know what was wrong." CreationDate="2011-02-07T05:23:21.430" UserId="1571" />
  <row Id="8713" PostId="6933" Text="@akira: yes, I want a practical answer." CreationDate="2011-02-07T06:05:40.677" UserId="2871" />
  <row Id="8714" PostId="5196" Score="1" Text="I am having the same problem.  Anyone have any other ideas?" CreationDate="2011-02-07T06:43:07.663" UserId="4534" />
  <row Id="8715" PostId="7012" Score="2" Text="thanks, I didn't know one could `&lt;` into a whole loop. Although it makes perfectly sense now I saw it" CreationDate="2011-02-07T11:06:31.510" UserId="863" />
  <row Id="8716" PostId="6683" Score="1" Text="@amph I hope to get around to trying this soon... why not upload it on CPAN... App::relink or something" CreationDate="2011-02-07T11:12:42.790" UserId="29" />
  <row Id="8717" PostId="6934" Text="@phunehehe since arch is not a source distro you won't find an equivalent of revdep-rebuild I rarely find broken ones... but it happens... and then I just rebuild and reinstall with the pkgbuild and let arch devs know if that worked. happened to smplayer a few months back." CreationDate="2011-02-07T11:16:46.843" UserId="29" />
  <row Id="8718" PostId="6867" Score="1" Text="@cahuk I would vote up twice if I could" CreationDate="2011-02-07T11:34:20.510" UserId="29" />
  <row Id="8719" PostId="6995" Text="Aha, I misread your question. I thought that you want to associate the application permanently, not just move a window into another activity." CreationDate="2011-02-07T11:37:03.080" UserId="2671" />
  <row Id="8720" PostId="7020" Text="`autoclean` doesn't work as advertised; I guess I must file a bug" CreationDate="2011-02-07T11:51:23.650" UserId="688" />
  <row Id="8721" PostId="7020" Text="Does it work after doing `apt-get update`?" CreationDate="2011-02-07T11:52:00.220" UserId="3169" />
  <row Id="8722" PostId="7020" Text="The command `rpm -qa` doesn't return anything, even though I have packages installed via alien; Has it worked for you before?" CreationDate="2011-02-07T11:52:36.550" UserId="688" />
  <row Id="8723" PostId="7020" Text="Yes, I did an update." CreationDate="2011-02-07T11:53:08.920" UserId="688" />
  <row Id="8724" PostId="7020" Text="I'm not sure.  It would make sense if it worked, but I don't have any packages installed using alien that I can test with." CreationDate="2011-02-07T11:53:54.303" UserId="3169" />
  <row Id="8725" PostId="7020" Text="Sounds like I'm zero for two.  Sorry." CreationDate="2011-02-07T11:54:56.830" UserId="3169" />
  <row Id="8727" PostId="7021" Score="7" Text="Thanks for the laughs ;)" CreationDate="2011-02-07T12:10:01.917" UserId="688" />
  <row Id="8728" PostId="7010" Text="@Darwin The point about `pacman -Qe` is interesting, I'm not familiar with the &quot;group&quot; thing. Regarding the side note, arent `--asdeps` and `--asexplicit` supposed to do just that?" CreationDate="2011-02-07T12:12:51.263" UserId="250" />
  <row Id="8729" PostId="6934" Text="@xenoterracide Thanks for the info, but in this question I couldn't care less about revdep-rebuild :)" CreationDate="2011-02-07T12:16:16.670" UserId="250" />
  <row Id="8730" PostId="7020" Text="Actually, autoclean just removes packages from the cache. It doesn't uninstall them. Remember the cache is where packages are kept so they don't have to be re-fetched from a repo in case of a re-install." CreationDate="2011-02-07T12:18:48.697" UserId="688" />
  <row Id="8732" PostId="6680" Text="Good deal.  Glad it's working for whatever reason" CreationDate="2011-02-07T13:43:35.920" UserId="3397" />
  <row Id="8733" PostId="7024" Text="Just an additional note.  Cross compiling may require some library installation on the target(MSYS possibly)" CreationDate="2011-02-07T13:46:00.410" UserId="3397" />
  <row Id="8734" PostId="5569" Text="knowing that vuescan will do it makes me think you might look at what options it passes to the scanner driver.  i don't have a scanner to test/debug on though" CreationDate="2011-02-07T13:48:54.467" UserId="3397" />
  <row Id="8735" PostId="7023" Score="1" Text="I'm embarrassed to say that with years of experience I didn't know about `su --`. That's really useful and I'm going to start using it today. Thanks" CreationDate="2011-02-07T13:55:47.363" UserId="4248" />
  <row Id="8738" PostId="6884" Text="I grasp the security implications and the difficulty the developers of gnome-keyring have in identifying the caller for keychain access.  My proposed solution is to offload the work onto the application that uses keyring.  For example, if your app wants access to the keyring it should emit a dialog stating something to the effect of &quot;/me wants access to the keyring&quot;.  This removes the need for an API change that would break current functionality and keeps devs of the keyring from getting overwhelmed.  Just thoughts." CreationDate="2011-02-07T15:10:09.667" UserId="3397" />
  <row Id="8739" PostId="5153" Score="1" Text="so your answer is &quot;no.&quot; plus: your 'open' is most likely only working on mac in the way you think it works. on linux it is a symlink to `openvt` which &quot;starts a program on a new virtual terminal&quot;. on linux it would be `xdg-open` or `gnome-open`." CreationDate="2011-02-07T15:13:05.813" UserId="838" />
  <row Id="8740" PostId="6884" Text="An alternate workaround is to create an empty default-keyring and force the user to switch between keyrings if they MUST have autologin AND a keyring without a hassle box." CreationDate="2011-02-07T15:18:22.920" UserId="3397" />
  <row Id="8741" PostId="7021" Score="1" Text="Thanks! Quite funny way to explain it. ;)" CreationDate="2011-02-07T16:02:56.660" UserId="4335" />
  <row Id="8742" PostId="761" Text="@phunehehe I think your thinking of the init=/bin/sh trick. That does indeed not require the root password. However runlevel 1 does still require root pass" CreationDate="2011-02-07T16:16:18.883" UserId="4358" />
  <row Id="8743" PostId="7033" Text="Hi l0b0,  It worked..Thanks a lot!!!" CreationDate="2011-02-07T16:51:10.360" UserId="4544" />
  <row Id="8744" PostId="6262" Text="What I really love about this one is the fact that he was concerned with how long emacs was but didn't just use `alias e=emacs`." CreationDate="2011-02-07T16:55:27.673" UserId="1207" />
  <row Id="8746" PostId="7039" Text="+1 for xpra, because it is awesome. I think it'd be better to call it &quot;a separate project&quot;, because it's neither an enhancement to `screen` nor to the X protocol itself." CreationDate="2011-02-07T17:30:39.870" UserId="2511" />
  <row Id="8747" PostId="7028" Text="This can be done in a number of ways. Which one is preferred/best/recommended/easiest is distribution-specific." CreationDate="2011-02-07T17:32:12.317" UserId="2511" />
  <row Id="8748" PostId="7039" Text="Ah thank you, well that's a bit of a pain, I was hoping having it running under screen would keep the process live and just have the X window 'hidden' until reattach." CreationDate="2011-02-07T17:32:20.183" UserId="4555" />
  <row Id="8749" PostId="7024" Text="@aking1012 — I don't think that's necessarily an issue with cross-compiling itself." CreationDate="2011-02-07T17:33:07.230" UserId="2511" />
  <row Id="8750" PostId="7037" Score="2" Text="Cross-compiling is more generally compiling for a different _platform_, not just a different CPU type. For example, MinGW can be used as a cross-compiler to build MS Windows executables on Linux — x86 in both cases." CreationDate="2011-02-07T17:36:44.680" UserId="2511" />
  <row Id="8751" PostId="7024" Text="@mattdm - if we are talking cross compiling across architecture it is not.  if we are talking about cross compiling from linux to windows...maybe I'm interpreting cross-compiling differently." CreationDate="2011-02-07T17:38:52.223" UserId="3397" />
  <row Id="8753" PostId="7033" Text="what does return 2 mean here ?" CreationDate="2011-02-07T17:48:57.703" UserId="4544" />
  <row Id="8754" PostId="7024" Text="@aking1012 — I think it's an implementation detail in either case." CreationDate="2011-02-07T17:53:40.690" UserId="2511" />
  <row Id="8755" PostId="6993" Score="1" Text="Did you find that this was related to your USB stick problem (http://unix.stackexchange.com/questions/7028/how-to-get-my-usb-stick-to-auto-mount)? If so would you mind updating this question? It sounds more like a distribution-related (automounter) problem than a problem with gparted." CreationDate="2011-02-07T18:07:34.407" UserId="4559" />
  <row Id="8756" PostId="7047" Score="2" Text="You could also avoid the forest of backslashes if you have a `sed` such as GNU sed that supports extended regular expressions: `echo &quot;AXIS2C_HOME=/usr/local/Axis2C&quot; | sed -r 's/(^AXIS2C_HOME=)(.*)/\2 \1/'`" CreationDate="2011-02-07T18:32:26.013" UserId="1207" />
  <row Id="8757" PostId="4116" Score="2" Text="In addition to the real answers below, bear in mind that many Unix users developed their habits before tabbed terminals windows existed. Many of us even worked without a graphical environment, at least part of the time. People tend to stick with their habits, even as new options arise." CreationDate="2011-02-07T18:52:51.120" UserId="4445" />
  <row Id="8758" PostId="6926" Text="That was the solution! I enabled IO APIC for the virtual machine and now I am installing." CreationDate="2011-02-07T19:08:30.597" UserId="1067" />
  <row Id="8759" PostId="7046" Text="Hint: `apropos sleep; man 1 sleep`" CreationDate="2011-02-07T19:34:25.300" UserId="1946" />
  <row Id="8760" PostId="6993" Text="@ith You are right." CreationDate="2011-02-07T19:44:20.907" UserId="688" />
  <row Id="8761" PostId="7052" Text="Wouldn't asking a question for each of those examples be more appropriate? I would list unix.stackexchange as a practical source to answer those questions. *shrug*" CreationDate="2011-02-07T19:44:53.997" UserId="3642" />
  <row Id="8762" PostId="7052" Text="Absolutely not.  Learning yourself is much more practical then asking others every time, IMO." CreationDate="2011-02-07T19:49:21.890" UserId="1946" />
  <row Id="8763" PostId="7023" Score="3" Text="`su --` is the same as `su`." CreationDate="2011-02-07T20:08:52.060" UserId="3169" />
  <row Id="8764" PostId="7020" Text="I didn't say it uninstalled them.  The point is to see what it prints when you run it.  Perhaps even with `--dry-run` so you can do it multiple times without changing anything." CreationDate="2011-02-07T20:12:38.030" UserId="3169" />
  <row Id="8765" PostId="7057" Score="1" Text="This is rather difficult with a large number of files." CreationDate="2011-02-07T20:13:06.983" UserId="4143" />
  <row Id="8766" PostId="6999" Text="@Tomas: I've added it" CreationDate="2011-02-07T20:16:14.067" UserId="1131" />
  <row Id="8769" PostId="7061" Text="So it should loop from first to last rather than stopping at the first?" CreationDate="2011-02-07T20:39:03.180" UserId="3169" />
  <row Id="8770" PostId="7061" Text="@mikel Yeah, that's right." CreationDate="2011-02-07T20:40:31.370" UserId="688" />
  <row Id="8771" PostId="6318" Text="Interesting. Have you tried just loading an older distro? Or is that not an option in this case?" CreationDate="2011-02-07T20:41:20.533" UserId="2610" />
  <row Id="8772" PostId="7061" Score="1" Text="Perhaps you need a better way to search.  Maybe just running `history | grep &lt;something&gt;` then running `!&lt;number&gt;` would be a way of doing it?" CreationDate="2011-02-07T20:42:23.003" UserId="3169" />
  <row Id="8773" PostId="7061" Text="@mik That's quite a bit to type :(" CreationDate="2011-02-07T20:44:25.123" UserId="688" />
  <row Id="8774" PostId="7060" Text="Hm, down-vote ... - why?" CreationDate="2011-02-07T20:45:04.527" UserId="1131" />
  <row Id="8775" PostId="6318" Text="I'm able to load older distros on other boxes with the same symptoms.  Ended up just scrapping this box as the older distro was unacceptable.  Oh well, we tried to keep it going but at some point there's just no helping it anymore I guess." CreationDate="2011-02-07T20:53:51.837" UserId="2258" />
  <row Id="8776" PostId="7061" Score="1" Text="So make an alias or function for it. ;-)" CreationDate="2011-02-07T20:56:44.010" UserId="3169" />
  <row Id="8777" PostId="7060" Text="I didn't downvote. But I just tried `crontab -l -u root` (because those cronjobs I want to know about run under `root`), and it says I don't have privileges to use `-u`. " CreationDate="2011-02-07T21:00:07.753" UserId="4329" />
  <row Id="8779" PostId="7060" Text="Then you have to call it with enough privileges - i.e. as `root` user." CreationDate="2011-02-07T21:02:52.657" UserId="1131" />
  <row Id="8780" PostId="7066" Text="Seems a topic for [Stack Overflow](http://stackoverflow.com)." CreationDate="2011-02-07T21:08:41.743" UserId="688" />
  <row Id="8781" PostId="7065" Text="Thanks, I found them in `/etc/cron.daily`. How does that `daily` file work? What time will the daily jobs run? On my machine they seem to run around noon, but it'd like to tell my sysadmin how to change that to midnight instead." CreationDate="2011-02-07T21:21:52.010" UserId="4329" />
  <row Id="8782" PostId="7052" Text="See http://unix.stackexchange.com/questions/1841/tricks-and-tips-for-finding-information-in-man-pages" CreationDate="2011-02-07T22:07:04.893" UserId="1207" />
  <row Id="8783" PostId="6959" Text="oh, this is cool.  " CreationDate="2011-02-07T22:28:59.740" UserId="298" />
  <row Id="8784" PostId="7040" Text="That was my first guess, since it seems to be taken as a cdrom drive. " CreationDate="2011-02-07T22:30:42.153" UserId="3082" />
  <row Id="8785" PostId="7070" Text="+1 Disappointingly, neither shortcut resumes the search after pressing `Ctrl+R` again, and `Ctrl+G` is easier to type than `Alt+&gt;`." CreationDate="2011-02-07T23:12:57.937" UserId="3169" />
  <row Id="8786" PostId="7017" Text="when I &quot;su&quot; I get ~ and $HOME both evaluating to /root. Is the behavior you describe specific to certain shells or OS versions or something? It's my understanding that ~ can be expanded by the kernel. I've got zsh as my (and root's) shell." CreationDate="2011-02-08T00:05:00.107" UserId="4580" />
  <row Id="8787" PostId="7076" Score="2" Text="My guess is that you have some faulty syntax in one of the startup files when attempting to set your PATH (given the first error).  If your PATH is set to something wonky because of this, it would explain the other errors.  Could you post your `~/.bashrc` file?" CreationDate="2011-02-08T00:07:58.237" UserId="1207" />
  <row Id="8788" PostId="7070" Text="@Mikel Oh, I misunderstood the question. You're right; I'm not sure how to do that" CreationDate="2011-02-08T00:20:40.360" UserId="73" />
  <row Id="8789" PostId="6998" Text="The command is sort." CreationDate="2011-02-08T01:06:26.160" UserId="2309" />
  <row Id="8790" PostId="7017" Text="Your `.bashrc` or `/etc/bashrc` or `/etc/profile.d` scripts are setting `PATH`.  Look for `if [ $UID -eq 0 ]` or something like that." CreationDate="2011-02-08T01:14:23.013" UserId="3169" />
  <row Id="8791" PostId="7065" Score="2" Text="cron.daily is called from `/etc/crontab`, e.g. on my Ubuntu system it's: `25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / &amp;&amp; run-parts --report /etc/cron.daily )` which means 6:25 am." CreationDate="2011-02-08T01:20:41.957" UserId="457" />
  <row Id="8792" PostId="7075" Score="6" Text="Good except that Wine is *not* an emulator. Not any more than Chrome is an emulator of Firefox: those are both implementations of an HTTP browser. Wine is an implementation of Windows APIs." CreationDate="2011-02-08T01:27:22.350" UserId="2180" />
  <row Id="8793" PostId="3657" Text="+1 Nice!  Bash only, but way cleaner than the alternatives." CreationDate="2011-02-08T01:43:04.057" UserId="3169" />
  <row Id="8794" PostId="3536" Text="If you switch the redirections around, you don't need all the braces.  Just do `./stdout-stderr.sh 2&gt;&amp;1 &gt;/dev/null | grep err`." CreationDate="2011-02-08T01:45:59.047" UserId="3169" />
  <row Id="8795" PostId="7076" Text="It may be worthwhile to try executing some of those commands using their full paths, just to be sure it's a path issue (which seems likely).  Try /bin/ls and see what happens." CreationDate="2011-02-08T01:57:03.207" UserId="298" />
  <row Id="8796" PostId="3536" Text="Thanks for pointing that out @Mikel." CreationDate="2011-02-08T01:58:18.993" UserId="4" />
  <row Id="8797" PostId="3514" Text="Do you want it to still print stdout?" CreationDate="2011-02-08T02:06:47.107" UserId="3169" />
  <row Id="8798" PostId="5439" Text="@akira - I apologize for the lack of clarity in my question. What I would like would be to map various CTRL-SHIFT-Fn keys to GDM/X sessions from various Xen VMs. So instead of getting a GDM screen when the host computer boots up, I get login screens for some set of VMs that start up at system start up." CreationDate="2011-02-08T02:29:07.893" UserId="3466" />
  <row Id="8799" PostId="7077" Text="Um, `cd` is built into the shell.  It should work even with an invalid `PATH`." CreationDate="2011-02-08T03:13:52.047" UserId="1364" />
  <row Id="8800" PostId="5439" Text="@Chris Gow: well, edit your question and reclarify it." CreationDate="2011-02-08T04:14:49.403" UserId="838" />
  <row Id="8801" PostId="7086" Score="1" Text="Does it work if you pass in the path name of the control file rather than `*` ?" CreationDate="2011-02-08T04:30:22.433" UserId="1338" />
  <row Id="8802" PostId="7086" Score="3" Text="It might also help if you could post the output of an strace. `strace grep grep *`" CreationDate="2011-02-08T04:35:06.867" UserId="4358" />
  <row Id="8803" PostId="7037" Text="which one is too slow? " CreationDate="2011-02-08T04:51:23.490" UserId="2269" />
  <row Id="8805" PostId="7086" Text="Did you try grepping after copying the test file from one of the machine where you did not have this problem? By the way how was the file created? maybe it may have something to do with utf ?!?" CreationDate="2011-02-08T05:25:16.817" UserId="3482" />
  <row Id="8807" PostId="7071" Text="Thank you. It does not work for me, code in `__libc_main()` does not seem to be called and I get a `segment fault` (perhaps before calling it?), `_init()` cannot be linked because this function is already defined by `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../lib/crti.o:initfini.c`" CreationDate="2011-02-08T06:35:23.403" UserId="1501" />
  <row Id="8808" PostId="7090" Text="Does such thing exist? Seriously? I'm curious to see how the kernel lives without its tools and libraries." CreationDate="2011-02-08T06:51:55.087" UserId="250" />
  <row Id="8812" PostId="7086" Text="what does &quot;type grep&quot; say?" CreationDate="2011-02-08T08:52:47.040" UserId="3959" />
  <row Id="8813" PostId="7093" Text="+1 now you mention it I think _that's_ what some distribution I once tested used, not grub4dos..." CreationDate="2011-02-08T09:09:52.657" UserId="863" />
  <row Id="8815" PostId="7043" Text="Thanks! I am just messing around :)" CreationDate="2011-02-08T09:44:09.803" UserId="4290" />
  <row Id="8816" PostId="4863" Text="Yes. Some applications create duplicates which appears in the &quot;open with&quot; dialog like geany for you and I can remove them from here by editing gnome's Applications menu (in which they're present but hidden, so you don't see them by just browsing the menu, only in editor)." CreationDate="2011-02-08T11:34:03.967" UserId="1733" />
  <row Id="8818" PostId="6196" Text="Edits are fine, -but- I actually resolved this awhile ago, and I thought I edited my question to include that. Must not have saved it or something. Will edit it now." CreationDate="2011-02-08T12:28:20.127" UserId="4020" />
  <row Id="8819" PostId="6196" Text="yeah David, you had it right. a co-worker adjusted the files while he was on vacation without notifying me, for some reason :s" CreationDate="2011-02-08T12:37:38.683" UserId="4020" />
  <row Id="8821" PostId="7065" Text="cron.daily is called from /etc/crontab on my RHEL5 system too, if you'd like more data points.  " CreationDate="2011-02-08T13:34:40.920" UserId="3976" />
  <row Id="8822" PostId="3609" Text="Sorry Gilles, I seem to have missed your message. @Tshepang - I fixed this by disabling png. If you're trying to install sox, I can't remember too well, but I think it was a configure option, have a look in INSTALL." CreationDate="2011-02-08T13:54:42.620" UserId="2481" />
  <row Id="8823" PostId="7096" Text="@chris: hum, somebody on IRC a few days ago told me the problem could be that OOM Killer could have not enough memory to start up. If this is not the case why ain't I getting the browser (or something else) killed when my system memory is full? The system just slow down like if I had run a forkbomb (even the mouse pointer takes seconds just to move)." CreationDate="2011-02-08T14:39:24.600" UserId="4041" />
  <row Id="8824" PostId="7102" Text="Thanks, I'll try to play raise `min_free_kbytes` (although it's already set to 3798 on my system). I commended to chris answer about why I was thinking kernel cannot find enough memory to load the OOM Killer." CreationDate="2011-02-08T14:41:20.573" UserId="4041" />
  <row Id="8825" PostId="7101" Text="Thanks. I already tried to change the overcommit variables a couple of days ago, but that didn't work well: it killed my most memory-hunger applications when a big portion of my memory was still free (by a big portion I mean like 50%). I think that's because some applications (say Firefox) allocate a lot more memory than what they actually use." CreationDate="2011-02-08T14:48:21.223" UserId="4041" />
  <row Id="8826" PostId="7096" Score="2" Text="The oom killer just tries to guess who's responsible for being out of memory. You could set the browsers oomadj value to make sure it gets killed by the oom (/proc/&lt;pid&gt;/oomadj)." CreationDate="2011-02-08T14:49:48.167" UserId="3959" />
  <row Id="8828" PostId="7060" Text="Still not complete — some versions of cron run jobs from /etc/cron.d and /etc/cron.{daily,hourly,monthly,weekly} without a helper program called from /etc/crontab." CreationDate="2011-02-08T15:43:31.333" UserId="2511" />
  <row Id="8829" PostId="7053" Text="This isn't the answer to the question, but just a note on best practices. One _can_ configure these as per-user cron jobs for `root` or `apache` or whatever, but one _should_ use `/etc/crontab` or (better, in most distros) `/etc/cron.d` and `/etc/cron.[timeframe]`." CreationDate="2011-02-08T15:45:35.497" UserId="2511" />
  <row Id="8830" PostId="7065" Text="On newer Fedora (and probably RHEL6 -- haven't looked yet), the `cronie` daemon takes care of those using the configuration in `/etc/anacrontab`." CreationDate="2011-02-08T15:48:50.983" UserId="2511" />
  <row Id="8831" PostId="7094" Text="You should configure a swap partition or swap file. It won't get used unless necessary, and when it _is_ necessary, it will give you more breathing room for recovery." CreationDate="2011-02-08T15:54:10.263" UserId="2511" />
  <row Id="8832" PostId="7094" Text="You may also want to consider running the web browser (usually the main culprit, right?) under a ulimit constraining it to a reasonable fraction of your RAM." CreationDate="2011-02-08T15:54:52.773" UserId="2511" />
  <row Id="8833" PostId="7094" Text="@mattdm: yes, I should, but when I set up this system (3 years ago or so) I thought 2GB of memory were enough (and they were, at the time), and now I prefer avoid to change my partition table. The idea of limiting browser max memory is good, I'll do that." CreationDate="2011-02-08T16:12:10.137" UserId="4041" />
  <row Id="8834" PostId="7067" Score="1" Text="Normally, `play` shouldn't be adding a delay.  Try running `time play sound.wav` (replacing sound.wav with 0.17 second long wav file)." CreationDate="2011-02-08T16:12:49.520" UserId="3976" />
  <row Id="8835" PostId="7096" Text="@chris, well, nothing gets killed, not even the _wrong_ process, at the moment (or at least that's what it seems to happen. I should use `oom_adj`, but that's no so easy (don't want to do that by hand any time I start my browser, should write a wrapper that runs the browser and set that parameter), especially if the browser uses many processes (chromium)... Maybe I should open a new question asking how to do that." CreationDate="2011-02-08T16:16:59.697" UserId="4041" />
  <row Id="8836" PostId="7094" Text="You don't need to change your partition table — you can create a file with `dd`, run `mkswap` on it, and just use that. There isn't a significant performance penalty for doing so (and anyway any such penalty would be lost under the weight of &quot;they both are terribly slow&quot;)." CreationDate="2011-02-08T16:24:40.690" UserId="2511" />
  <row Id="8837" PostId="7060" Text="@mattdm, sure  - thus the first sentence 'Probably depends on the crond you are using' - but looking at /etc/crontab you usually see references of /etc/cron.d, /etc/cron.daily etc." CreationDate="2011-02-08T17:03:37.540" UserId="1131" />
  <row Id="8838" PostId="6525" Text="Do you get it with virtualization extensions both on and off?" CreationDate="2011-02-08T17:15:08.170" UserId="2345" />
  <row Id="8839" PostId="7060" Text="@maxschlepzig - but not always. And the question is &quot;how can I get a list of _all_ cron jobs&quot;; an reply which is &quot;well, here's some of them&quot; isn't the answer." CreationDate="2011-02-08T17:20:35.710" UserId="2511" />
  <row Id="8840" PostId="7087" Text="&lt;Ctrl&gt;-D does not do anything - I need to use &lt;Ctrl&gt;-C to kill grep. I agree though - it sounds like it is looking for input from stdin." CreationDate="2011-02-08T17:59:42.823" UserId="4587" />
  <row Id="8841" PostId="6525" Text="@thomas what is that?" CreationDate="2011-02-08T18:01:06.640" UserId="688" />
  <row Id="8842" PostId="7086" Text="**SiegeX:** It does work, and it also works if I use 'tex*'" CreationDate="2011-02-08T18:04:27.967" UserId="4587" />
  <row Id="8843" PostId="7107" Text="I don't understand the first sentence. Can you rephrase maybe?" CreationDate="2011-02-08T18:06:43.993" UserId="688" />
  <row Id="8844" PostId="7086" Text="**Patrick:** strace did the trick. Turns out there was an exceptionally __large__ file there that was causing grep to act like it was hanging. Thanks for the tip! strace is awesome. If you post your comment as an answer I'll be sure to give you credit!" CreationDate="2011-02-08T18:13:27.740" UserId="4587" />
  <row Id="8845" PostId="7095" Text="Thanks for your input - if Patrick doesn't post an answer, you'll get the credit." CreationDate="2011-02-08T18:18:53.397" UserId="4587" />
  <row Id="8846" PostId="6525" Score="1" Text="@Tshepang: In Settings &gt; System &gt; Process/Acceleration, there are various settings to enable/disable virtualization extensions (if available in the hardware). These include PAE/NX, VT-x, etc. ~ http://en.wikipedia.org/wiki/Hardware_virtualization#Hardware-assisted_virtualization" CreationDate="2011-02-08T18:33:14.283" UserId="2345" />
  <row Id="8847" PostId="6966" Text="@jsbillings: Just an update: It turned out to be easier to go your route of tweaking /sbin/mkinitrd instead of unpacking, modifying and re-packing the initrd.  Thanks for your help!  " CreationDate="2011-02-08T19:47:54.403" UserId="4481" />
  <row Id="8848" PostId="6966" Text="@Lars: good to hear." CreationDate="2011-02-08T19:50:24.060" UserId="3976" />
  <row Id="8849" PostId="7001" Text="ah, excellent, sar -d seems to give some good stats that I can use for comparison.  thanks!" CreationDate="2011-02-08T19:50:59.673" UserId="1196" />
  <row Id="8851" PostId="7026" Text="How is Gentoo BSDish?" CreationDate="2011-02-08T20:41:39.797" UserId="4206" />
  <row Id="8853" PostId="7114" Score="4" Text="The eternal reminder of how to *not lose data*...  Make a full and complete backup of your existing partiton **before** you attempt anything of this nature...  " CreationDate="2011-02-08T20:59:14.210" UserId="2343" />
  <row Id="8854" PostId="7114" Score="1" Text="There are some options, but it would help if you gave us your current partition layout.  What is the output of `fdisk -l /dev/sda` (or whatever your disk's device is called)" CreationDate="2011-02-08T21:00:51.707" UserId="3976" />
  <row Id="8855" PostId="7107" Score="1" Text="It means that other `yum` commands, e.g. `yum upgrade` will automatically run `yum check-update` if necessary.  In other words, `yum upgrade` is basically the same as `apt-get update; apt-get upgrade`." CreationDate="2011-02-08T21:02:51.397" UserId="3169" />
  <row Id="8856" PostId="7067" Text="@jsbillings: I've added time. Thanks for the suggestion." CreationDate="2011-02-08T21:20:01.720" UserId="2689" />
  <row Id="8857" PostId="7121" Score="1" Text="If you want a repeatable installation, use Kickstart." CreationDate="2011-02-08T23:49:28.693" UserId="2511" />
  <row Id="8858" PostId="7121" Text="I'm trying to make a kickstart config script via the GUI but I'm not getting consistent results!" CreationDate="2011-02-08T23:52:01.407" UserId="4585" />
  <row Id="8859" PostId="7119" Text="This is part of a cloning script for about 100 workstations of various hardware and age, so I included all SATA drivers in the initrd.  The size is different (and I obviously the md5sum as well).  This goes for most of the modules.  It is not causing a problem or anything, I am asking mainly to learn (but don't have the time to do a deep dive into the mkinitrd script at this time)." CreationDate="2011-02-09T01:03:27.003" UserId="4481" />
  <row Id="8860" PostId="7026" Score="1" Text="@jae portage and Gentoo's rc system are both BSDish. There may be other similarities, but those are the specifics I had in mind." CreationDate="2011-02-09T01:09:31.403" UserId="916" />
  <row Id="8861" PostId="7121" Text="@mattdm : Sounds like he's trying to install a system first, so he has an anaconda-ks.cfg file to work from." CreationDate="2011-02-09T01:30:33.080" UserId="4" />
  <row Id="8862" PostId="7121" Text="Thanks Stefan. Yes that's what I'm doing." CreationDate="2011-02-09T01:35:21.363" UserId="4585" />
  <row Id="8863" PostId="7121" Text="So, do it however, and then change the package selection to suit in the file itself." CreationDate="2011-02-09T02:27:07.543" UserId="2511" />
  <row Id="8864" PostId="1622" Text="@Maciej No what he said applies to userspace too." CreationDate="2011-02-09T02:44:06.750" UserId="373" />
  <row Id="8865" PostId="594" Text="Yup it is out, I bought it and it is indeed great" CreationDate="2011-02-09T03:06:00.273" UserId="373" />
  <row Id="8866" PostId="783" Text="that was silly of them... they shouldn't have put you on the same machine as webservers and stuff. (My school has the same thing, but we have severs dedicated to remote shells so the yearly forkbombs don't really get too out of hand)" CreationDate="2011-02-09T03:26:08.320" UserId="373" />
  <row Id="8867" PostId="7130" Score="6" Text="You might want `^` and `$` in that match, to force matching whole lines." CreationDate="2011-02-09T04:16:12.887" UserId="3629" />
  <row Id="8868" PostId="7023" Score="1" Text="-- is a flag that most programs interpret as &quot;nothing after this should be taken as a flag&quot;.  Useful for greping for things which start with a dash." CreationDate="2011-02-09T04:43:08.983" UserId="1397" />
  <row Id="8869" PostId="6949" Text="...except when they do change something.  Like the glibc change in 5.4 that hoses VMware Server 2.0.x." CreationDate="2011-02-09T04:48:05.297" UserId="1397" />
  <row Id="8870" PostId="6926" Text="nolapic strikes again." CreationDate="2011-02-09T04:59:22.043" UserId="1397" />
  <row Id="8871" PostId="7118" Text="How does LVM address the issue of not losing data when modifying partitions? " CreationDate="2011-02-09T07:16:17.697" UserId="2343" />
  <row Id="8872" PostId="6741" Text="The book is available for gratis on the web." CreationDate="2011-02-09T09:23:44.097" UserId="688" />
  <row Id="8873" PostId="7149" Score="5" Text="What was wrong with the answers there?  `/var/log/installer`, `/boot`, and `dumpe2fs` all look OK to me." CreationDate="2011-02-09T10:41:33.980" UserId="3169" />
  <row Id="8874" PostId="7137" Score="3" Text="And what about the encrypt and sign part of the question?" CreationDate="2011-02-09T10:45:03.010" UserId="1131" />
  <row Id="8875" PostId="6525" Text="Doesn't ubuntu &quot;require&quot; compiz effects now?  That's my bet on a likely culprit...probing for video card capabilities." CreationDate="2011-02-09T10:57:03.460" UserId="3397" />
  <row Id="8876" PostId="6525" Text="@aki I doubt it, although it's easily available, more easy than on either Debian or Fedora (i.e. a single click)." CreationDate="2011-02-09T11:19:05.373" UserId="688" />
  <row Id="8877" PostId="7149" Text="@Mikel. The reason is that they show different dates. For instance, dumpe2fs and /var/log/installer show creation date as 05.11.2010 while /boot shows as 29.01.2011. That is why I wanted to find out precise method to get this information without any doubts. " CreationDate="2011-02-09T11:27:12.153" UserId="4458" />
  <row Id="8878" PostId="7149" Score="3" Text="@Bakhtiyor Then most probably something happened to `/boot`. When `dumpe2fs` and `/var/log/installer` point to the same answer I won't keep any doubt." CreationDate="2011-02-09T11:49:00.280" UserId="250" />
  <row Id="8879" PostId="7149" Text="All right guys. So, what do you suggest me to do with the question? Just delete it or what?" CreationDate="2011-02-09T11:52:23.460" UserId="4458" />
  <row Id="8880" PostId="7149" Text="@Bakhtiyor If you still think something is wrong and you need help with it please edit your question to include that information. Or if you question has already been answered on the other site you can close this one." CreationDate="2011-02-09T13:36:44.883" UserId="250" />
  <row Id="8881" PostId="7067" Text="Try aplay instead of play. Still a bit of overhead, but a lot less. The file is /usr/share/sounds/k3b_wait_media1.wav right? :)" CreationDate="2011-02-09T14:07:05.970" UserId="3959" />
  <row Id="8882" PostId="7147" Text="Have you tried bringing the interface up and running the DHCP client manually?" CreationDate="2011-02-09T14:07:21.593" UserId="250" />
  <row Id="8883" PostId="7147" Text="@phun I have already set up my dhcp to manual" CreationDate="2011-02-09T14:50:16.363" UserId="2278" />
  <row Id="8884" PostId="7131" Text="SSH keys won't do a lot of good if it's http authentication." CreationDate="2011-02-09T15:04:28.583" UserId="3976" />
  <row Id="8885" PostId="7154" Text="Woa, dated back to 2001! I would have thought this lies in some hidden dot files..." CreationDate="2011-02-09T15:10:58.450" UserId="250" />
  <row Id="8886" PostId="5439" Text="@Chris Gow: quite ambitious :) i star your question to see if ANYONE solves this :)" CreationDate="2011-02-09T15:18:08.120" UserId="838" />
  <row Id="8887" PostId="7147" Text="@crodjer Please edit the question to make your it clearer. What's the outcome that you would expect? Are you able to get the connection up and running after the sleep using, say, `ifconfig eth0 up` and `dhcpcd eth0`?" CreationDate="2011-02-09T15:21:52.920" UserId="250" />
  <row Id="8889" PostId="7153" Text="wtmp begins Wed Feb  2 16:24:52 2011. This is what I get with last command in Ubuntu. Approximately my OS had been installed on November 2010. " CreationDate="2011-02-09T15:33:04.720" UserId="4458" />
  <row Id="8890" PostId="7153" Score="1" Text="@Bakhtiyor Try `grep ubiquity /var/log/installer/syslog | less`. I found that [here](http://ubuntuforums.org/showpost.php?p=1730026&amp;postcount=3)" CreationDate="2011-02-09T15:41:25.073" UserId="4335" />
  <row Id="8891" PostId="7153" Score="3" Text="I wouldn't rely on that.  For example, FreeBSD rotates /var/log/wtmp by default, so when I run last on one of my FreeBSD boxes I get &quot;wtmp begins Thu Feb  3 09:50:42 EST 2011&quot;.  My Slackware box does the same thing, I installed the OS on it years ago but last reports that wtmp began last week.  I don't have an Ubuntu box handy to check." CreationDate="2011-02-09T15:43:17.623" UserId="2210" />
  <row Id="8892" PostId="7154" Text="@mattdm Thanks. Won't prefer switching DE. Especially when GNOME 3 is round the corner. :) " CreationDate="2011-02-09T15:44:40.840" UserId="4335" />
  <row Id="8893" PostId="7147" Text="@phune `ifconfig eth0 up; dhcpcd eht0` worked but how can I configure it for my static ip. Also the network manager applet doesn't works either with this, i guess because now connection is being managed by other app?" CreationDate="2011-02-09T15:45:16.580" UserId="2278" />
  <row Id="8894" PostId="7153" Text="@Dharmit. sudo grep ubiquity /var/log/installer/syslog | less worked for me. Could you please post it as an answer, so that I could select your answer as an accepted one." CreationDate="2011-02-09T15:58:55.710" UserId="4458" />
  <row Id="8895" PostId="7127" Score="1" Text="Yeah. And most of those better responses say &quot;If you want a repeatable installation, use Kickstart.&quot;" CreationDate="2011-02-09T16:02:45.503" UserId="2511" />
  <row Id="8896" PostId="7153" Text="@Dharmit. I think now you can delete your first answer." CreationDate="2011-02-09T16:06:32.287" UserId="4458" />
  <row Id="8897" PostId="7153" Text="@Bakhtiyor Thanks. Your question helped me learn. I was very much interested in finding the installation date of my Fedora box so that I can boost its ROCK-SOLID STABILITY to my friends who format Windows at least once a month. But I was always lazy to Google for it. Today, after reading your question, I finally found that out. :)" CreationDate="2011-02-09T16:07:37.743" UserId="4335" />
  <row Id="8898" PostId="7127" Text="The difference is they actually give suggestions on best approaches...and they weren't sassy about it." CreationDate="2011-02-09T17:01:20.930" UserId="4585" />
  <row Id="8899" PostId="7132" Text="Actually, according to http://www.makelinux.net/ldd3/chp-10-sect-2.shtml only `fast interrupts (those that were requested with the SA_INTERRUPT flag) are executed with all other interrupts disabled on the current processor`" CreationDate="2011-02-09T17:38:58.463" UserId="3635" />
  <row Id="8900" PostId="7166" Score="1" Text="Just FYI, Stack Exchange now has a Unix and Linux site; check it out at http://unix.stackexchange.com/." CreationDate="2011-02-09T17:39:46.497" UserId="2610" />
  <row Id="8901" PostId="7166" Text="@Torgamus, didn't know that. Thanks" CreationDate="2011-02-09T17:41:54.107" UserId="4627" />
  <row Id="8902" PostId="504" Score="1" Text="@Alex B: The story is also part of the [Unix Horror Stories](http://www.cavecanen.org/linux/humour/horrorstories.txt), which is just great to read." CreationDate="2011-02-09T19:50:15.370" UserId="4106" />
  <row Id="8903" PostId="246" Text="The [release notes](http://www.debian.org/releases/squeeze/i386/release-notes/ch-upgrading.en.html#upgradingpackages) say apt-get is now recommended over aptitude for upgrades to squeeze." CreationDate="2011-02-09T19:55:31.877" UserId="1569" />
  <row Id="8904" PostId="7170" Score="1" Text="You could also do it in one with `find . -regextype posix-egrep -regex '.*filename.*'` (I don't know if the `egrep` part is important, but you used `egrep` in your answer so I included it)" CreationDate="2011-02-09T20:29:36.247" UserId="73" />
  <row Id="8905" PostId="7170" Text="You can, but grep is different than the equivalent DOS command.  `grep` uses regular expressions, while the DOS command uses shell wildcards." CreationDate="2011-02-09T20:36:31.293" UserId="3169" />
  <row Id="8906" PostId="7161" Text="Change the single quotes to double quotes.  If you have single quotes around the sed command, then `$OLD_NO` and `$NEW_NO` won't get expanded." CreationDate="2011-02-09T21:02:50.783" UserId="3169" />
  <row Id="8907" PostId="7153" Score="1" Text="`wtmp` gets rotated.  See `/etc/logrotate.conf`." CreationDate="2011-02-09T21:10:05.640" UserId="3169" />
  <row Id="8908" PostId="7153" Text="@mazianni it does on Fedora and Ubuntu as well." CreationDate="2011-02-09T21:10:48.103" UserId="3169" />
  <row Id="8909" PostId="7130" Text="@Jander: Sure, corrected" CreationDate="2011-02-09T21:44:30.020" UserId="3519" />
  <row Id="8910" PostId="7132" Text="@Justin: you're right of course, I made my comment more general - my point was theoretical: it aimed to address the meaning of nonpreemtible and reentrance." CreationDate="2011-02-09T22:00:49.897" UserId="3519" />
  <row Id="8911" PostId="7067" Score="1" Text="`play` doesn't normally have such a delay. Do you observe the delay with other files or on other machines? Can you put up the file on the web so other people may test on their machine? Are you running a sound server (PulseAudio, Esd, …)? The output of `strace -s9999 -rtt` might show what's going on." CreationDate="2011-02-09T22:38:13.127" UserId="885" />
  <row Id="8912" PostId="6927" Text="Most random-access storage drivers use SCSI somewhere, because most devices speak SCSI at some level. See [Why do my SATA devices show up under /proc/scsi/scsi ?](http://unix.stackexchange.com/questions/3901/why-do-my-sata-devices-show-up-under-proc-scsi-scsi/3902#3902), and I think I've seen more precise answers, maybe on another Stack Exchange site." CreationDate="2011-02-09T22:45:21.187" UserId="885" />
  <row Id="8913" PostId="7118" Text="@fred.bear: LVM makes it a lot less likely that you'll accidentally delete or overwrite a filesystem, because its basic operations are creating a volume on free space and deleting a volume, rather than creating a volume on whatever was there before." CreationDate="2011-02-09T22:47:01.730" UserId="885" />
  <row Id="8914" PostId="7051" Score="2" Text="The USB device is logically disconnected (there should be a message to that effect your kernel logs). It won't have a `/dev` entry any more, and IIRC won't show up in `lsusb` either. I don't know if there's a way to reconnect it." CreationDate="2011-02-09T22:49:26.953" UserId="885" />
  <row Id="8915" PostId="7108" Score="1" Text="Check `/dev/disk/by-id` and see if the device is truly gone.  I'll bet it's not, and can be remounted from there with a `mount` command." CreationDate="2011-02-09T22:55:57.127" UserId="3389" />
  <row Id="8916" PostId="7178" Text="Precisely what I was looking for.  Thank you." CreationDate="2011-02-09T22:56:36.783" UserId="3596" />
  <row Id="8917" PostId="7168" Text="Good answer and Shift + Page Up works but I was hoping to keep the keybindings of something like less so I don't need to go over to pageup/pagedown to scroll." CreationDate="2011-02-09T22:57:28.637" UserId="3596" />
  <row Id="8918" PostId="7063" Text="possible duplicate of [How to search the whole of bash history without needing to go forwards and backwards?](http://unix.stackexchange.com/questions/7061/how-to-search-the-whole-of-bash-history-without-needing-to-go-forwards-and-backwa)" CreationDate="2011-02-09T23:00:25.773" UserId="885" />
  <row Id="8919" PostId="7173" Score="1" Text="If `&lt;filename&gt;` contains wildcards, use quotes around it, e.g. `find . -name '*.txt'`." CreationDate="2011-02-09T23:03:38.767" UserId="885" />
  <row Id="8921" PostId="7175" Text="@mikel I say Vi and Nano, because nano/pico, vi are the only ones that I've seen universally installed." CreationDate="2011-02-10T00:27:24.397" UserId="29" />
  <row Id="8922" PostId="7125" Text="Ah yes that solves my question precisely!" CreationDate="2011-02-10T00:33:29.240" UserId="3455" />
  <row Id="8923" PostId="7129" Text="I thought those options were specific to an option other than sync, I suppose I read wrong. Thank you clarifying my misconception and answering my misinformed question simultaneously." CreationDate="2011-02-10T00:36:00.903" UserId="3455" />
  <row Id="8925" PostId="7175" Score="1" Text="Sure, it won't hurt to know how to use nano, but even if you've never used it before, you can figure it out using the on-screen help." CreationDate="2011-02-10T01:16:06.033" UserId="3169" />
  <row Id="8926" PostId="5003" Text="it may be helpful to mention other terminal programs as well: xterm, rxvt, eterm, mterm, konsole, etc." CreationDate="2011-02-10T01:30:17.867" UserId="298" />
  <row Id="8927" PostId="7182" Text="May possibly be Ctrl+Alt+F5 as well (:  depends, depends." CreationDate="2011-02-10T01:32:46.303" UserId="298" />
  <row Id="8928" PostId="7173" Text="@Gilles, updated my answer to say that, thanks." CreationDate="2011-02-10T04:32:23.140" UserId="3169" />
  <row Id="8929" PostId="7185" Score="1" Text="Good point.  In recent versions of bash, running `shopt -s globstar; echo **/filename` is equivalent to `find . -name &quot;filename&quot;`.  It also works in zsh." CreationDate="2011-02-10T04:41:58.400" UserId="3169" />
  <row Id="8931" PostId="7140" Text="Thanks for the input, but I have included all SATA modules in the initrd to be safe. I cannot easily use a jumpstart installation due to a lot of older hardware without a CD-ROM drive as well as slow WAN links.  A cloning script works much better in this scenario.  " CreationDate="2011-02-10T04:48:53.393" UserId="4481" />
  <row Id="8932" PostId="7170" Score="1" Text="Come to think of it, shell globs are also different than DOS wildcards.  For instance, `find . -name &quot;*.*&quot;` won't do what you'd expect from a DOS background.  Globs are close enough to be recognizable, though, while regexes are an entirely new beast." CreationDate="2011-02-10T08:14:00.627" UserId="3629" />
  <row Id="8933" PostId="7173" Text="And if you don't want a &lt;filename&gt;, just `find .` will do." CreationDate="2011-02-10T08:15:49.797" UserId="3629" />
  <row Id="8934" PostId="7173" Text="Using `&lt;filename&gt;` as marker for userinput is a bad habit in command-line environment, where `&lt; and &gt;` most of the time have specific meaning. I suggest just using `filename`, maybe FILENAME to emphasize it. Most people will understand, and those, who won't, might cause harm when not understanding that they aren't supposed to hit less-than or greater-than sign. " CreationDate="2011-02-10T08:25:00.073" UserId="4485" />
  <row Id="8935" PostId="3281" Text="Backticks are deprecated. Recommendet is $(...) instead, which is easy to nest, and not so easy to be overseen or confused with apostrophs: `for i in *.xml; do mv &quot;$i&quot; $(echo &quot;$i&quot; | sed -e &quot;s/[ -]//g&quot;); done`" CreationDate="2011-02-10T09:31:20.967" UserId="4485" />
  <row Id="8936" PostId="7033" Text="Instead of answering 'It worked, thank's a lot!' you should vote l0b0 up (arrow up on the left) and probably select the check mark." CreationDate="2011-02-10T09:36:37.233" UserId="4485" />
  <row Id="8937" PostId="7173" Score="1" Text="`&lt;filename&gt;` is a convention in a lot of UNIX documentation, so I think it's useful for people to be aware of it, but I agree `FILENAME` might be easier to understand." CreationDate="2011-02-10T10:48:46.850" UserId="3169" />
  <row Id="8938" PostId="7192" Score="5" Text="This won't work from within 'less'." CreationDate="2011-02-10T11:45:12.710" UserId="2827" />
  <row Id="8939" PostId="2000" Text="From 'man batch' on my Fedora 14 system: batch   executes commands when system  load  levels  permit;  in  other&#xA;               words,  when  the  load  average  drops below 0.8, or the value&#xA;               specified in the invocation of atd.&#xA;" CreationDate="2011-02-10T11:48:10.617" UserId="571" />
  <row Id="8941" PostId="7188" Score="4" Text="This may not matter to much anymore, but the original intent of the two environment variables was that VISUAL was curses-based (vi or emacs) and EDITOR was tty based (ed), which is why less looks for VISUAL first.  There may still be programs out there that see this difference.  I would suggest setting VISUAL instead of EDITOR." CreationDate="2011-02-10T12:08:51.847" UserId="4194" />
  <row Id="8942" PostId="7188" Text="@Arcege: small correction: VISUAL is supposed to point to a full-screen (and not line-based) editor.  Even though vi was, deep down, a line-based editor (&quot;vi&quot; (originally) stood for &quot;visual interface&quot; (to &quot;ex&quot;, an enhanced &quot;ed&quot;)." CreationDate="2011-02-10T12:27:52.890" UserId="4206" />
  <row Id="8943" PostId="7188" Text="@Arcege: Definitely, I remember having some issues when I set EDITOR to vim.  VISUAL is more suitable.  I don't remember what the issues were, but if you use the cli frequently, you will likely run into them." CreationDate="2011-02-10T12:39:47.083" UserId="298" />
  <row Id="8946" PostId="7067" Text="@jsbillings: Yes, running strace says that I'm using PulseAudio. Using aplay as suggested by @chris does the same delay. So, it means I'll have to just live with it?" CreationDate="2011-02-10T15:36:52.317" UserId="2689" />
  <row Id="8947" PostId="7199" Text="... Your hardware keeps failing, but you want to replace the software?" CreationDate="2011-02-10T09:26:09.710" />
  <row Id="8948" PostId="7199" Score="4" Text="I **guarantee** that the Linux distribution was not responsible for your hardware errors." CreationDate="2011-02-10T09:26:42.750" />
  <row Id="8949" PostId="7199" Text="Maybe consider where and how the hardware is used. Is it 24/7 running? Is it in surrounding that is hot (sunshine, heater), wet (rain, high humidity), dust/sand around, are its fans unblocked..." CreationDate="2011-02-10T09:32:51.007" />
  <row Id="8950" PostId="7200" Text="The problem is that the same hard disk, work fully operational with no bad sectors for 1 year (on Ubuntu 9.04), and how the newly hard disk is just 5 mouth and have a lot of bad sectors (on Ubuntu 10.04)" CreationDate="2011-02-10T13:05:11.873" />
  <row Id="8951" PostId="7201" Score="1" Text="In this case it's bad sectors (surface damage), so I find it unlikely that a motherboard could be the culprit." CreationDate="2011-02-10T09:33:30.730" UserId="1798" />
  <row Id="8952" PostId="7201" Score="2" Text="Unlikely but certainly possible. Rogue disk controller wrecked havoc in my drives before, other faulty hardware (e.g. RAM, fans) can easily cause them too, directly on indirectly. Even software (malicious or buggy) can cause them." CreationDate="2011-02-10T09:58:55.880" />
  <row Id="8953" PostId="7198" Text="Well, it did work. I owe you one. Thank you for your clear description and time!" CreationDate="2011-02-10T15:41:15.417" UserId="4657" />
  <row Id="8954" PostId="5153" Text="@akira: Indeed, using xdg-open works in my Ubuntu machine. I think I'll just create an &quot;open&quot; alias to xdg-open." CreationDate="2011-02-10T15:47:26.427" UserId="2689" />
  <row Id="8955" PostId="5067" Text="@Steven D: Well, I think using this approach with xdg-open pointed out by @akira because of @NES answer is the way to go. Until them, just an alias do xdg-open is good to me." CreationDate="2011-02-10T15:50:45.003" UserId="2689" />
  <row Id="8957" PostId="6732" Text="Go not to the elves^H^H^H Internet for counsel, for they will say both yes and no...and maybe and you should use Emacs... ;-)" CreationDate="2011-02-10T16:34:27.153" UserId="2210" />
  <row Id="8958" PostId="7197" Text="Very nicely asked question." CreationDate="2011-02-10T16:49:24.477" UserId="298" />
  <row Id="8959" PostId="7159" Score="1" Text="You might want to rephrase your question.  No one here can pretend to know why the 'skilled unix/linux users' you have seen would prefer using any editor over any other.  Perhaps:  What are the benefits of using the joe text editor?  Or something along those lines. " CreationDate="2011-02-10T16:51:43.757" UserId="298" />
  <row Id="8960" PostId="783" Text="Microsoft got the faculty to get into partnership and windows and .net were much promoted then already. Nobody expected a bunch of noobs on the server :)" CreationDate="2011-02-10T17:21:12.540" UserId="649" />
  <row Id="8961" PostId="7203" Text="I've heard that SMART isn't even 100% reliable on errors it does find.  It might say a drive is bad when it really isn't.  I'm pretty sure the tool the asker was using would have used SMART, so it may have been a false positive." CreationDate="2011-02-10T17:36:21.860" UserId="3447" />
  <row Id="8962" PostId="7208" Text="These things can sometimes be brand/model specific so a bit of information about the laptop in question might be useful." CreationDate="2011-02-10T17:42:27.450" UserId="1207" />
  <row Id="8963" PostId="7203" Text="Indeed, I've heard that too.  However, that's still the hardware's fault, and not Linux or the SMART tools thereon." CreationDate="2011-02-10T18:34:55.250" UserId="3976" />
  <row Id="8965" PostId="7210" Text="So, it can't proceed to the disc-burning stage?" CreationDate="2011-02-10T19:52:11.607" UserId="688" />
  <row Id="8966" PostId="7210" Text="Do you get a dialog stating the need for cdrdao?" CreationDate="2011-02-10T19:52:53.773" UserId="688" />
  <row Id="8968" PostId="7210" Score="3" Text="What wrong is that you didn't provide exact error message you get.  Our telepathy division is on vacation :)" CreationDate="2011-02-10T21:26:41.377" UserId="1946" />
  <row Id="8969" PostId="7209" Text="Thanks for the answer! But I don't know how to set up a chroot jail in Dropbear nor OpenSSH. Is there a link to more info? Or should I ask a new question? Thanks again." CreationDate="2011-02-10T21:28:49.907" UserId="1375" />
  <row Id="8970" PostId="7066" Text="Thank you. I'v now asked this there. http://stackoverflow.com/questions/4963029/executing-a-shared-library-on-unix" CreationDate="2011-02-10T21:39:16.147" UserId="1501" />
  <row Id="8971" PostId="7149" Text="For the other thread's answers, identify which method gave you a date that was *too late* . Unless there is something else wrong, an earlier non-fubar date is going to be a better answer for a born-on date. " CreationDate="2011-02-10T22:14:59.290" UserId="3998" />
  <row Id="8972" PostId="7157" Text="Won't `last` suffer from the same issue with wtmp rotation?  " CreationDate="2011-02-10T22:18:42.877" UserId="3998" />
  <row Id="8973" PostId="7177" Text="I see, thanks for the suggestion!, I'll try it! and mark as correct if it helps!" CreationDate="2011-02-10T22:41:42.580" UserId="4625" />
  <row Id="8974" PostId="7215" Text="I assume I can use some regular expression in there that will do this?" CreationDate="2011-02-10T22:46:19.483" UserId="4625" />
  <row Id="8975" PostId="7192" Text="@pboin probably like me I totally missed the fact that this was 'in less' on first and several repeat readings. I clarified the question." CreationDate="2011-02-10T22:54:54.337" UserId="29" />
  <row Id="8976" PostId="7217" Text="I think I saw this one somewhere recently. Did you ask it elsewhere?" CreationDate="2011-02-10T23:14:39.683" UserId="688" />
  <row Id="8977" PostId="7217" Text="No, I haven't asked this anywhere else. In fact, this need came up just a few hours ago. " CreationDate="2011-02-10T23:21:38.927" UserId="4669" />
  <row Id="8978" PostId="7209" Text="here's a tutorial that covers much of what you'll need to do: http://www.howtoforge.com/chrooted-drop-bear-howto" CreationDate="2011-02-10T23:55:36.127" UserId="3976" />
  <row Id="8979" PostId="7010" Text="@phunehehe No, pacman -Qe is a query (showing all explicitly installed packages) --asdeps and --asexplicit are sync options. --asdeps will INSTALL an application as a if it were a dependency. Since it is not actually required by anything, it will appear in a &quot;pacman -Qdt&quot; which lists all packages installed as dependencies that are no longer required by anything (usually those packages can be removed without consequence). The most confusing thing I found about pacman when I started (coming from ubuntu's apt-get/apt-cache) was that 1 utility was used for everything (behaviour changes with -S/-Q)" CreationDate="2011-02-11T00:13:56.153" UserId="4538" />
  <row Id="8980" PostId="7216" Score="1" Text="And this lets you see exactly what files will be deleted by removing the `-delete` as well as what files will be saved by removing `-delete` and the `\!`." CreationDate="2011-02-11T00:51:54.670" UserId="2180" />
  <row Id="8982" PostId="7204" Text="@Cedric Staub  Is it possible to do what UEFI bootloader does in UEFI BIOS?" CreationDate="2011-02-11T01:21:07.313" UserId="4682" />
  <row Id="8985" PostId="7212" Score="1" Text="I haven't worked it out yet, but I'm very interested... It seems that the mp4 (MPEG-4) container can handle seperate emedded suptitle streams.. so (to me) that would be the way to go.. If you you hard-graft the subtitles into the video itself, you need to re-encode the video and they are embedded forever... The only advantage of hard-&quot;coded&quot; subtitles is that the video player doesn't need to be mp4-subtitle-stream aware...  It's quite straight forward to hard encode an AVI , but I haven't had the need to use sutitle streams yet (yet :). Where is the format of your subtitles?" CreationDate="2011-02-11T01:42:42.817" UserId="2343" />
  <row Id="8986" PostId="7198" Score="1" Text="The ports for the *sshd* that is bundled with Mac OS X can not be configured through `/etc/sshd_config` because the bundled *sshd* is launched in “inetd mode”. In this mode *sshd* expects stdin and stdout to be already connected to the client, so it has no say over what port or protocols are used to listen for and accept clients. `/etc/sshd_config` is still effective for configuring other aspects of the default *sshd*. The plist file for the MacPorts *sshd* does not use “inetd mode”, so the ports for that *sshd* can be configured in its configuration file (`/opt/local/etc/ssh/sshd_config`)." CreationDate="2011-02-11T03:22:26.693" UserId="1107" />
  <row Id="8987" PostId="2652" Text="You mean xmms2, right?  It's my music player of choice.  The background-daemon design is a good idea." CreationDate="2011-02-11T04:08:50.863" UserId="3629" />
  <row Id="8988" PostId="7200" Text="@Xoke: So you got a bad hard drive. Why do you think that it's unheard of for a hard drive to fail after 5 months?" CreationDate="2011-02-11T06:51:34.093" UserId="1571" />
  <row Id="8989" PostId="7214" Text="I ended up going with a command like this. `while read -e -t 1; do : ; done`.  This seemed to be adequate for what I needed." CreationDate="2011-02-11T07:42:48.747" UserId="1209" />
  <row Id="8991" PostId="7204" Text="Not as far as I know." CreationDate="2011-02-11T08:14:32.537" UserId="4648" />
  <row Id="8992" PostId="7180" Text="Unless you are using **aptitude**, this doesn't happen by default. Your removal/purging command will look like `apt-get --auto-remove remove/purge`" CreationDate="2011-02-11T08:16:39.833" UserId="688" />
  <row Id="8993" PostId="7218" Text="I wonder why the minus?..  It's actually both easier and safer than anything proposed by others: you simply can't shoot yourself in a foot by hitting some special char in the filename." CreationDate="2011-02-11T08:34:31.273" UserId="1946" />
  <row Id="8994" PostId="7225" Text="That doesn't work. It results in mangled audio and video, and the video is truncated (initial file is ~1.6GB and resulting file is ~200MB). I use mencoder 1.0-rc3." CreationDate="2011-02-11T09:06:38.557" UserId="688" />
  <row Id="8995" PostId="7225" Text="Oh, I think it's because I was using Debian's version of mencoder, which got patented stuff removed from it." CreationDate="2011-02-11T09:12:13.590" UserId="688" />
  <row Id="8996" PostId="7225" Text="The non-Debian mencoder doesn't give me subtitles either." CreationDate="2011-02-11T09:28:22.203" UserId="688" />
  <row Id="8997" PostId="7203" Text="Harddrives increase in size since they were invented. If the likelihood of bad sectors would increase meanwhile, more people would encounter them and stop using such unreliable things. The argument is flawed; factories have tolerances, how many disks might fail, if they don't meet this criteria they won't sell the next generation." CreationDate="2011-02-11T09:41:09.543" UserId="4485" />
  <row Id="8998" PostId="7228" Text="Are you suggesting the OP must try each of those first before asking for a recommendation?" CreationDate="2011-02-11T10:03:23.453" UserId="688" />
  <row Id="8999" PostId="6692" Text="But my doubt is why I can't select it in kernel configuration. " CreationDate="2011-02-11T10:39:40.290" UserId="4018" />
  <row Id="9000" PostId="6900" Text="can u give a sample of the %post section, about how its done... i have been trying the same but not able to achieve it." CreationDate="2011-02-11T12:06:09.450" UserId="4457" />
  <row Id="9001" PostId="6714" Text="Like the tee tip. It had not occurred to me during my 15 years of unix sysadmining :-) Obvious when seen." CreationDate="2011-02-11T12:15:36.603" UserId="680" />
  <row Id="9004" PostId="7228" Text="@Tshepang I see the answer as a guidance. Knowing this one can search for erself first, without asking and waiting." CreationDate="2011-02-11T13:13:03.847" UserId="250" />
  <row Id="9005" PostId="7203" Text="@user unknown: I think the evidence backs me up here." CreationDate="2011-02-11T13:15:47.003" UserId="3976" />
  <row Id="9006" PostId="6900" Text="@pratap:  I'm not sure I know what you want to do.  Perhaps you want to simply download a script and run it?  An example:`wget -O somescript.sh http://mysite/somescript.sh; sh -x somescript.sh`" CreationDate="2011-02-11T13:17:46.940" UserId="3976" />
  <row Id="9007" PostId="7198" Score="1" Text="Thanks for the explanation, Chris. I didn't mean to imply that the native `sshd` ignored everything in `sshd_config`, only the `Port` setting. I like to turn off `PermitRootLogin` and `PasswordAuthentication` in mine on any host I've got port-forwarded to the Internet. Using a different port number is part of that securing process. It's merely &quot;security through obscurity&quot;, but it does cut down on a whole lot of bot attack traffic nevertheless." CreationDate="2011-02-11T13:29:54.887" UserId="138" />
  <row Id="9011" PostId="7219" Text="+1 for your last paragraph" CreationDate="2011-02-11T14:01:51.673" UserId="4667" />
  <row Id="9012" PostId="7228" Text="I've used gtk-recordmydesktop and istanbul in the past to record my desktop. But what I'm looking for is a way to stream the video live as it is happening so a group from different city can watch the meetup live and ask questions. " CreationDate="2011-02-11T15:40:26.657" UserId="4669" />
  <row Id="9013" PostId="7235" Text="This only records the desktop, I don't think I can stream the video live using gtk-recordmysesktop. " CreationDate="2011-02-11T15:41:10.493" UserId="4669" />
  <row Id="9016" PostId="7242" Text="So, I just add `force-unsafe-io` to **/etc/dpkg/dpkg.cfg**, and that's it?" CreationDate="2011-02-11T16:48:29.453" UserId="688" />
  <row Id="9017" PostId="7242" Text="I don't have a working linux box currently (PSU failure) but `echo &quot;force-unsafe-io&quot; &gt; /etc/dpkg/dpkg.cfg.d/force-unsafe-io` should work. Or you can add it to the main dpkg config file which I think is **/etc/dpkg/dpkg.cfg**." CreationDate="2011-02-11T16:51:37.103" UserId="3459" />
  <row Id="9022" PostId="7245" Text="since the clicknpaste action is something that is controlled by the terminal .. which one do you use?" CreationDate="2011-02-11T18:48:21.280" UserId="838" />
  <row Id="9026" PostId="7183" Text="The `rename` command with this syntax is a Linux utility, not available on OSX (and not even available by this name on most Debian and Ubuntu installations)." CreationDate="2011-02-11T19:23:56.817" UserId="885" />
  <row Id="9030" PostId="7165" Score="1" Text="[Do not parse the output of `ls`](http://mywiki.wooledge.org/ParsingLs). And generating a shell script is a sure way to shoot yourself in the head. Vault Boy's question contains a reasonable approach on the shell side, just missing the right sed incantation and some quoting." CreationDate="2011-02-11T19:28:12.867" UserId="885" />
  <row Id="9031" PostId="7256" Score="1" Text="I think uw-imapd also uses that placeholder message -- which might explain why there's a Trash and Deleted Messages folder -- created by a different mail client (Mail.app?) that uses a different folder name." CreationDate="2011-02-11T19:39:37.397" UserId="3976" />
  <row Id="9032" PostId="6679" Text="xrandr does not work correctly with NVidias TwinView, all it sees is one big screen." CreationDate="2011-02-11T20:05:33.787" UserId="4699" />
  <row Id="9033" PostId="6679" Text="@Wieland Ah, right. I'd phrase it as “Nvidia's TwinView does not work correctly with xrandr” though. I've edited my answer." CreationDate="2011-02-11T20:05:33.833" UserId="885" />
  <row Id="9034" PostId="7183" Text="Ah, didnt know you were on osx, bummer" CreationDate="2011-02-11T20:27:50.663" UserId="4358" />
  <row Id="9035" PostId="7228" Text="@jinxed_coder: That reminds me of vnc/vino, allthough I allways used it the other way round - I allways was the observer - and I only used it in a 1:1 connection, and don't know whether it is possible to have multiple viewers. Maybe it is possible with X11 alone. And maybe you need much bandwith. " CreationDate="2011-02-11T20:38:35.677" UserId="4485" />
  <row Id="9036" PostId="7228" Text="@Tshepang: I tried to answer the question. &quot;What software can I use to do that?&quot; " CreationDate="2011-02-11T20:40:28.967" UserId="4485" />
  <row Id="9038" PostId="7233" Text="A suggested edit by [ddeimeke](http://unix.stackexchange.com/users/678/ddeimeke) is to change the `egrep` argument to `&quot;^(file1|filename2|f1le)$&quot;`" CreationDate="2011-02-11T22:37:37.227" UserId="73" />
  <row Id="9039" PostId="7249" Text="it's in my package manager... I&quot;m more concerned about enabling." CreationDate="2011-02-11T23:01:40.727" UserId="29" />
  <row Id="9040" PostId="7246" Text="so kde has no built in way of enabling?" CreationDate="2011-02-11T23:02:14.877" UserId="29" />
  <row Id="9041" PostId="7257" Score="1" Text="you could also boot ubuntu again and restore GRUB" CreationDate="2011-02-11T23:28:41.377" UserId="3834" />
  <row Id="9043" PostId="1989" Text="I think you've missed the point. You don't need a script. You make a one-time change to these lines in menu.lst and then the settings you want will be applied every time a new kernel is installed. You can have them applied to every existing menu entry by running update-grub." CreationDate="2011-02-12T01:21:45.243" UserId="1620" />
  <row Id="9044" PostId="1989" Text="If you want to use a script to make an identical change to a large number of machines, that's really outside the scope of a question like this. You would need to ask a more general question. You could do a lot of damage if you don't understand what you're doing, so it's not a good idea just to take a script posted by someone else and use it as-is." CreationDate="2011-02-12T01:23:34.493" UserId="1620" />
  <row Id="9045" PostId="7270" Score="2" Text="Perhaps post a bit more code. My test example which looks just like your code seems to work fine." CreationDate="2011-02-12T03:58:28.333" UserId="1207" />
  <row Id="9046" PostId="1998" Text="@mxmissile: There are console programs smbclient and smbget that might be an alternative to using fstab. You can pass username and password on the command line, and disable world-read on the scripts ." CreationDate="2011-02-12T05:06:26.567" UserId="1620" />
  <row Id="9047" PostId="7273" Text="I have no gui, its a remote server. and its debian which is close to ubuntu but still no synaptics on it." CreationDate="2011-02-12T06:22:56.993" UserId="4069" />
  <row Id="9049" PostId="7273" Text="ok ,well i see you have aptitude (apt)..so you can use the option sudo apt-get --purge remove &lt;package name&gt; to completely remove something prior to re-installing it..  apt-get --purge reinstall &lt;package&gt; could be something to try first to see if this would fix the problem ...you can refer to this man page for all other options used by apt-get.. http://linux.die.net/man/8/apt-get" CreationDate="2011-02-12T07:57:44.380" UserId="4713" />
  <row Id="9050" PostId="7246" Text="I'm afraid KDE doesn't allow you to change your GTK theme (at least not that I know of)." CreationDate="2011-02-12T10:25:16.480" UserId="4699" />
  <row Id="9051" PostId="7159" Text="I agree with the criticism, the title of the question was not well chosen." CreationDate="2011-02-12T11:16:15.063" UserId="4628" />
  <row Id="9052" PostId="7275" Score="1" Text="From syntax I can see (s)he's using the grub2. If you are referring to any bug which have been fixed (IMHO unlikely) please include it for reference." CreationDate="2011-02-12T12:40:06.963" UserId="305" />
  <row Id="9053" PostId="7276" Text="IIRC you cannot use tar as initramfs (I don't post it as answer as I'm not 100% sure). BTW using Gentoo I find much easier to configure built-in initramfs rather then hand-made one." CreationDate="2011-02-12T12:53:56.190" UserId="305" />
  <row Id="9054" PostId="7276" Text="@Maciej I just want to know how to do it :) Furthermore I'm seeing a big boot time improvement by using my own initramfs" CreationDate="2011-02-12T14:51:15.023" UserId="250" />
  <row Id="9055" PostId="7276" Text="@phunehehe: You misunderstood me. The method I was talking about is by giving the kernel during configuration a spec file which files should be included in the initrd (including custom `/init` etc.) and kernel simply uses that one. I'm not taking about generating initramfs by genkernel or similar methods." CreationDate="2011-02-12T15:34:07.223" UserId="305" />
  <row Id="9056" PostId="7276" Text="@Maciej That looks fun! I'll try it sometime." CreationDate="2011-02-12T15:38:01.473" UserId="250" />
  <row Id="9057" PostId="7276" Text="@phunehehe: Well. It's IMHO easier to set up and it autoupdates with kernel (so I don't need to remember to copy new files into initrd)." CreationDate="2011-02-12T16:35:48.387" UserId="305" />
  <row Id="9058" PostId="7290" Text="great solution." CreationDate="2011-02-12T16:55:53.283" UserId="4721" />
  <row Id="9059" PostId="7289" Score="1" Text="See here for a number of solutions: http://unix.stackexchange.com/questions/1825/tool-in-unix-to-subtract-dates" CreationDate="2011-02-12T17:32:04.820" UserId="1207" />
  <row Id="9060" PostId="7260" Text="The perfect setup page had some guidelines on how to set pulse as the default in `/etc/asound.conf` but Arch had already set those up for me. I tested other ALSA applications and they all output to the correct source. I looked at the settings manager, but I didn't see anything about speaker outputs." CreationDate="2011-02-12T17:37:38.613" UserId="4397" />
  <row Id="9061" PostId="7294" Text="Migrating to Unix/Linux at the request of the asker." CreationDate="2011-02-12T19:34:22.150" />
  <row Id="9062" PostId="7296" Text="So, wht would the command line be to invoke an event-driven macro assigned to a common document to apply it to the document MyDocument.odt?" CreationDate="2010-05-19T05:31:08.707" UserId="3999" />
  <row Id="9063" PostId="7301" Text="Yes, each user's home directory is server by Samba from the Linux machine." CreationDate="2011-02-07T17:40:29.257" UserId="3999" />
  <row Id="9064" PostId="7301" Text="/srv/stevedore/SteveTrunks/ has steveLive/ which contains the published edition (.html or .pdf) and steveRepo/ which contains the bazaar source (.odt). The users never access steveRepo/, just the sever while the steveLive/ edition of the documents are accessed by the user via Samba.  Would this distinction be a cause for locating steveLive/ and steveRepo/ in different locations?" CreationDate="2011-02-07T18:12:26.360" UserId="3999" />
  <row Id="9065" PostId="7301" Text="/var/lib/stevedore sounds best then for those data files.  Both repo and live can be there together." CreationDate="2011-02-07T18:16:51.490" />
  <row Id="9066" PostId="7302" Text=".MyStevedore is not used as the directory name because MyStevedore is the user's interface to the server which uses inotify to monitor user actions." CreationDate="2011-02-07T18:03:36.697" UserId="3999" />
  <row Id="9067" PostId="7291" Score="1" Text="@Trey: Thanks.. nice links too... It works. I tried it 3 times and I've already outgrown it... I discoverd the f10 key which presents the exact same menu in an emacs-style... I'm starting to understand emac's reputation; it's seems to have pretty well everything covered :)" CreationDate="2011-02-12T20:16:13.717" UserId="2343" />
  <row Id="9068" PostId="7290" Text="Exactly what I would have done.  Looks like it depends on GNU `date` though; see the question Steven D linked to." CreationDate="2011-02-12T20:20:12.937" UserId="3629" />
  <row Id="9069" PostId="7306" Text="Better than just analyze, it converts back to a source file." CreationDate="2009-06-30T22:29:44.757" UserId="3999" />
  <row Id="9070" PostId="7310" Text="For testing programs so without modifying the code." CreationDate="2009-06-23T16:51:14.057" UserId="3999" />
  <row Id="9071" PostId="7310" Text="So, the first one." CreationDate="2009-06-23T17:48:35.360" />
  <row Id="9072" PostId="7314" Text="see man page:&#xA;http://unixhelp.ed.ac.uk/CGI/man-cgi?sed&#xA;&#xA;search for addresses paragraph" CreationDate="2009-06-16T20:55:02.247" />
  <row Id="9073" PostId="7317" Text="@C W Holeman II: I'm just going to edit the answer with that. Sorry about the long delay :)" CreationDate="2009-08-14T18:24:04.150" UserId="165" />
  <row Id="9074" PostId="7317" Text="Note that EDT has a direction mode so that rather than LLWW, EDT would use: Down AdvChar AdvChar AdvWord AdvWord and rather than HH, EDT would use: Up AdvChar AdvChar. EDT also uses the arrow keys rather than HJKL." CreationDate="2009-12-29T04:18:39.760" UserId="3999" />
  <row Id="9075" PostId="7317" Text="Vim also allows you to use the arrow keys - but using HJKL is supposedly faster if you type properly, as they are in the home row. I, however, do not type properly, so I find the arrow keys just as fast." CreationDate="2009-12-29T15:58:30.757" UserId="165" />
  <row Id="9076" PostId="7320" Text="Not quite the same thing, but it's probably as close as you're going to get in standard Linux." CreationDate="2009-06-14T15:57:19.777" />
  <row Id="9077" PostId="7320" Text="Oh I see. Thanks for letting me know, Paul." CreationDate="2009-06-14T15:58:30.337" UserId="4002" />
  <row Id="9078" PostId="7321" Score="1" Text="Wow, you learn something new every day.  Does xfs or zfs implement this flag?" CreationDate="2009-06-14T16:15:33.040" />
  <row Id="9079" PostId="7323" Text="It may be worth explaining in a little more detail how $DECK/$EOL work" CreationDate="2009-06-14T15:06:07.060" />
  <row Id="9080" PostId="7323" Text="Would someone who has a VMS system add to the question an example that matches the &quot;cat sample.txt &lt;&lt; EOF&quot; answer?&#xA;" CreationDate="2009-06-14T15:21:41.000" UserId="3999" />
  <row Id="9081" PostId="7270" Text="Where is myscript.ksh?  Unless it's in your home directory, you should be running `myscript.ksh`, not `ksh myscript.ksh`." CreationDate="2011-02-12T20:47:47.450" UserId="3169" />
  <row Id="9082" PostId="7270" Text="If your routing/fw allows it, I'd rather suggest that you coordinate your remote server access from one central host without hopping around (at least, that's how I fetch my backups)." CreationDate="2011-02-12T21:13:51.950" UserId="3069" />
  <row Id="9083" PostId="7293" Text="@Kevin M I like this approach, can you please give an example, or a man page, I think this is what I want.. I want to execute entire script many lines on multiple servers" CreationDate="2011-02-12T21:49:43.480" UserId="4709" />
  <row Id="9084" PostId="7263" Text="What do you mean by “not working”? What did you expect to happen, and what actually happened? The commands you give reinstall the software (binaries and configuration files). They won't give you your database back." CreationDate="2011-02-12T21:54:03.150" UserId="885" />
  <row Id="9085" PostId="7329" Text="This would probably have been better on http://unix.stackexchange.com/ or http://superuser.com/ as it isn't really a programming problem at all. The answer to the second half of your question (running a program at boot) is *&quot;Look into the init process.&quot;* (possibly a script under `/etc/init.d` is all it takes, but that depends on your timing requirements)." CreationDate="2011-02-12T17:45:05.627" UserId="3270" />
  <row Id="9086" PostId="7284" Text="Is the avi audio worse that the one you download? or is it only worse than the one you play/watch in the browser.. (maybe you are downloading a video with lower quality than the one you watch in the browser)... I ran your command for several of my .flv clips and the sound was fine...    What is the audio format of the downloaded file? Does it sound bad, or is it just out of sync? .. and what is the source bitrate?  There is no value in upping the bitrate more than the origial quality.. it will only lose quality by re-encoding it." CreationDate="2011-02-12T21:58:34.453" UserId="2343" />
  <row Id="9087" PostId="7284" Text="did you try to just copy the audio stream to the destination video? *ffmpeg [...] -acodec copy [...]* . To check if the input flv file has mp3 audio, *ffmpeg -i*. also, you can express bitrate in the *192k* format if you prefer" CreationDate="2011-02-12T21:59:50.430" UserId="4142" />
  <row Id="9088" PostId="7271" Text="Do you have the same problem without your `.Xmodmap` file? Do you have the same problem in another window manager or desktop environment (try something like `startx fvwm -- :1` from a text console (`Ctrl+Alt+F1`))?" CreationDate="2011-02-12T22:04:38.173" UserId="885" />
  <row Id="9089" PostId="5761" Text="There's no need for `dd` here. `cat /dev/cdrom` and `md5sum /dev/cdrom /path/to/file.iso` will work just as well." CreationDate="2011-02-12T22:06:42.780" UserId="885" />
  <row Id="9090" PostId="7329" Text="See [Which minimal but extendable Linux distribution to choose](http://unix.stackexchange.com/questions/3910/which-minimal-but-extendable-linux-distribution-to-choose), [Distro- lightweight and easy to install](http://unix.stackexchange.com/questions/5733/distro-lightweight-and-easy-to-install), and other questions under [`/distribution-choice`](http://unix.stackexchange.com/questions/tagged/distribution-choice). You may get more specific recommendations if you say what you're going to use the system for (networking? home/industrial automation? monitoring? …)." CreationDate="2011-02-12T22:13:05.980" UserId="885" />
  <row Id="9091" PostId="7297" Score="2" Text="Be 100% sure.  [linux/init/initramfs.c](http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=init/initramfs.c;hb=HEAD) unpacks a `cpio -H newc` archive." CreationDate="2011-02-13T01:29:08.397" UserId="1779" />
  <row Id="9092" PostId="7293" Text="@Kevin M Gotcha" CreationDate="2011-02-13T02:41:08.717" UserId="4709" />
  <row Id="9093" PostId="7297" Text="@ephemient This is really something. If there is no more answer coming in a few days I'll accept that `cpio` is used as a convention and that we have to use `cpio`." CreationDate="2011-02-13T02:57:02.717" UserId="250" />
  <row Id="9094" PostId="6721" Score="1" Text="I am facing a similar issue, though I used unetbootin to create my bootable usb stick" CreationDate="2011-02-13T04:12:43.313" UserId="898" />
  <row Id="9095" PostId="7337" Text="In which distro are you working on?" CreationDate="2009-07-03T20:29:41.200" UserId="736" />
  <row Id="9096" PostId="7344" Score="1" Text="what Linux distribution are you running?" CreationDate="2010-10-27T20:04:17.940" />
  <row Id="9097" PostId="7344" Score="2" Text="And the reason the distro matters is because depending on the distro and how you are creating users there are methods to extend the user creation tools to run a script of your choosing.  For example on Debian-based systems `/usr/local/sbin/adduser.local` will be called when you run adduser to create an account." CreationDate="2010-10-27T20:17:24.800" UserId="1209" />
  <row Id="9098" PostId="7344" Text="this is where a little script-fu wrapped around useradd might do the trick. Certain other distro's have 'adduser' which is a bash script doing just that! " CreationDate="2010-10-27T20:30:57.277" />
  <row Id="9099" PostId="7297" Text="@ephemient Thanks." CreationDate="2011-02-13T11:05:53.040" UserId="1524" />
  <row Id="9100" PostId="2656" Text="Yes, though I had other stuff to do in the meantime, would be nice to have that sorted out, though..." CreationDate="2011-02-13T11:30:34.513" UserId="1290" />
  <row Id="9101" PostId="7349" Text="Recommend you ask this on http://askubuntu.com/" CreationDate="2011-02-13T10:30:40.047" UserId="1004" />
  <row Id="9102" PostId="7349" Score="1" Text="The problem is your graphics driver. You'll have to install the vendor specific driver." CreationDate="2011-02-13T10:32:38.063" />
  <row Id="9103" PostId="7349" Text="Nopes its not the driver issue, i have compiz installed and it works perfectly alright! Every effect of compiz enabled and it works very very nice.... Its something other." CreationDate="2011-02-13T11:40:49.363" />
  <row Id="9104" PostId="7349" Text="I have just tried opera , it does some better then those of Firefox and Chrome but its choppy too... By the way is there anyway i can get Drivers for ATI Radeon 200 Xpress ? for Ubuntu Maverick!" CreationDate="2011-02-13T11:44:29.097" />
  <row Id="9105" PostId="7336" Text="remember that `sudo -u` starts the subprocess with a uid of the given user, not as root; you would want to limit based on that user." CreationDate="2011-02-13T14:14:59.757" UserId="4194" />
  <row Id="9106" PostId="7284" Text="@fred.bear. Actually one never knows what is the source bitrate or what is the audio format of the downloaded file. I just download it within a bash script using youtube-dl and the upper shown encoding. The sound is not out of sync but just bad. When I watch it in the browser on YouTube it sounds much better." CreationDate="2011-02-13T15:26:03.120" UserId="3214" />
  <row Id="9107" PostId="7336" Text="Actually, at least in Linux even sudo command is shown under target user (so, for example under root). So ps is not going to help." CreationDate="2011-02-13T15:26:45.493" UserId="4241" />
  <row Id="9108" PostId="7284" Text="@guido. ...-acodec copy was a good proposal. The sound is as good as at the source but now I have another problem. I can't forward the avi anymore. Actually I can forward it but when I forward in mplayer to any position, the sound begins from new. That means that I can't forward the sound, so it is out of sync. " CreationDate="2011-02-13T15:29:01.837" UserId="3214" />
  <row Id="9109" PostId="7284" Text="add: Obviously I don't have this weird problem in totem video player. An mplayer problem? Btw: Can you please post it as answer. " CreationDate="2011-02-13T15:32:25.423" UserId="3214" />
  <row Id="9110" PostId="7346" Score="1" Text="There are parts of your question I don't understand. Your basic strategy is right, but obviously you didn't implement it correctly, and your description is too vague to understand what you did wrong. Try posting the *exact* commands you tried and any error message you got (use copy-paste)." CreationDate="2011-02-13T15:41:05.757" UserId="885" />
  <row Id="9111" PostId="7284" Text="add2: Obviously the -acodec copy makes something bad. Because when I just write _ffmpeg -i ~/&quot;$2.flv&quot; -sameq ~/&quot;$2.avi&quot;_ is is possible to forward the movie and the audio stream will be forwarded too. But in this case the sound is very bad. So what could I do. -acodec copy produces a bad timecode, framestart or whatever, -acodec libmp3lame produces a worse audio quality and no attributes produces the worst sound quality.&#xA;" CreationDate="2011-02-13T15:44:39.810" UserId="3214" />
  <row Id="9112" PostId="7292" Text="Interesting. Do you know what this package actually does? I'm on slackware, and I can't think of why any glue would be required. Glad you got it working!" CreationDate="2011-02-13T15:56:14.267" UserId="1173" />
  <row Id="9113" PostId="7284" Text="I made some tests with different flvs right now. When I use -acodec copy, the video runs 5 or 6 times faster than usual, only the sound is normal. So it is extremly out of sync. I wonder why this depends on copying the audio stream?" CreationDate="2011-02-13T16:04:38.250" UserId="3214" />
  <row Id="9114" PostId="7292" Text="@gamen Apparently Flash is hardcoded to look for certain versions of certain library files. I think what this package does is install a library file that effectively redirects Flash output to pulse." CreationDate="2011-02-13T17:51:18.247" UserId="4397" />
  <row Id="9115" PostId="7243" Text="Brother printers can hardly be called *non popular*." CreationDate="2011-02-13T18:10:24.217" UserId="688" />
  <row Id="9117" PostId="6625" Text="For non-standard tech like that (because I've never heard of it :-), you better go ask on the project ML or IRC. Also, come back and share with us your solution." CreationDate="2011-02-13T19:09:00.633" UserId="688" />
  <row Id="9119" PostId="7365" Text="Regarding HAL, which version of Debian are you talking about? AFAIR X in Squeeze doesn't need HAL." CreationDate="2011-02-13T19:37:36.243" UserId="688" />
  <row Id="9120" PostId="7365" Text="The HAL part is optional, just reboot your X server." CreationDate="2011-02-13T19:43:35.603" UserId="2780" />
  <row Id="9121" PostId="7336" Text="It is possible under `ps` using the same method I just described for `top`: filter based on `TTY` (i.e. `ps -t &lt;tty&gt;`)." CreationDate="2011-02-13T20:19:21.463" UserId="3169" />
  <row Id="9122" PostId="7354" Score="1" Text="While gelraen is 100% correct: Unix/Linux as such does not care about file extensions, modern flavours of Linux do care in so far as some shell extensions provide special identification (colours or otherwise) of certain file types and file managers provide automatic associations with programs. But just as important is for the human user to know which file is what type. To that end it is convenient to stick to a standard scheme not just consistent for yourself but with others. In this respect things should not be overly different than MS Windows (or MIME)." CreationDate="2011-02-13T21:24:24.107" UserId="3519" />
  <row Id="9123" PostId="7354" Text="That said sometimes several different extension styles can match the same purpose. Thus .tar.gz is equivalent to .tgz, .tar.bz2 = .tbz, .ps.gz is often shortened as .ps (confusingly) and I'm sure there are many more." CreationDate="2011-02-13T21:28:19.250" UserId="3519" />
  <row Id="9125" PostId="7361" Text="CamelCase is an anti pattern on Unix.  The OP was asking about conventions." CreationDate="2011-02-13T21:46:51.817" UserId="3169" />
  <row Id="9126" PostId="7370" Score="1" Text="-1.  CamelCase is NOT used on Linux." CreationDate="2011-02-13T21:50:05.213" UserId="3169" />
  <row Id="9127" PostId="7368" Text="I am not transferring the disk but I could copy the entire drive if that would be easier. Assuming I did a clean install, I wanted to re-install the same packages, omitting hardware or system dependent ones." CreationDate="2011-02-13T22:00:31.893" UserId="4745" />
  <row Id="9128" PostId="7367" Text="The hardware will not be very similar, larger disk, different partitioning, different GPU. I don`t think copying the file hierarchy will work without drastic intervention because it will be an x86-&gt;x64 transition." CreationDate="2011-02-13T22:06:34.553" UserId="4745" />
  <row Id="9129" PostId="7368" Text="Also, it will be an x86-&gt;x64 transition." CreationDate="2011-02-13T22:07:35.537" UserId="4745" />
  <row Id="9130" PostId="7284" Text="@Bevor does mplayer complain about missing index or something while not allowing to seek in video? *mplayer -idx [...]* could fix that (before attempting something to repair the index of the avi stream). The other problems you talk about could be because the original flv stream ha audio encoded in some other format than mp3 (thus, -acodec copy is not a good thing). Can me point to one of the failing videos? i start wondering whether it's your ffmpeg installation that has problems." CreationDate="2011-02-13T22:14:06.130" UserId="4142" />
  <row Id="9131" PostId="7370" Text="Thank you, will remove." CreationDate="2011-02-14T00:04:00.493" UserId="4747" />
  <row Id="9132" PostId="7347" Text="vote to close, or migrate if you think this should be elsewhere." CreationDate="2011-02-14T02:13:56.257" UserId="29" />
  <row Id="9134" PostId="7361" Text="It's not &quot;bad&quot; versus &quot;good&quot;.  It's &quot;this is how it's usually done&quot;.  It's a _convention_ the OP was asking for.  The reason?  It could be because Unix people don't like pressing Shift, it could be because old systems only had UPPERCASE, or for another reason.  I'm not sure." CreationDate="2011-02-14T03:03:45.213" UserId="3169" />
  <row Id="9135" PostId="7364" Text="@Gilles I think the &quot;different hardware&quot; deserves another question, especially the move from x86 to x86-64." CreationDate="2011-02-14T03:08:11.993" UserId="250" />
  <row Id="9136" PostId="6900" Text="can u tell me if i have todo the same from cd instead of network then how this is done?" CreationDate="2011-02-14T03:44:04.640" UserId="4457" />
  <row Id="9138" PostId="7347" Text="@xeno (We don't have any migration paths, so we can't actually vote to migrate)" CreationDate="2011-02-14T06:26:44.443" UserId="73" />
  <row Id="9139" PostId="7373" Text="I thought those videos weren't stored on disk. Are you using some Extension? Can you check on your home dir." CreationDate="2011-02-14T06:48:32.043" UserId="688" />
  <row Id="9141" PostId="7378" Text="Quite a good idea, why the down vote?" CreationDate="2011-02-14T09:32:16.883" UserId="250" />
  <row Id="9142" PostId="7378" Score="1" Text="@alex I should add that one shout edit `/etc/hosts` to fake localhost as the website being mirrored. And this will only work well if the links all point to the same webpage (i.e no hot-linked images)." CreationDate="2011-02-14T09:34:31.997" UserId="250" />
  <row Id="9143" PostId="7373" Text="Whenever you play a video from Youtube or similar sites, videos do get stored in `/tmp`. If I play a video in firefox, these videos are still found in `/tmp`. But somehow I prefer Google Chrome.&#xA;Which specific location are you asking me to check in Home dir? I mentioned a path above which I checked but it hasn't got the thing I'm searching for." CreationDate="2011-02-14T09:56:32.487" UserId="4335" />
  <row Id="9144" PostId="7382" Text="The command you give does exactly the same thing as `Ctrl-A A`. And about the prompt, you mean I have to modify `$PS1` whenever I want the title not to change?" CreationDate="2011-02-14T11:45:45.880" UserId="4755" />
  <row Id="9145" PostId="7351" Text="As a general comment re the &quot;conventions&quot; ... I've just read all the answers so far, and it struck me how odd it is that there is almost an obscession with using only one case in a system where (I think) one of its strengths is the ability to meaningfully use both cases... Was the original design (case-sensitive) an over design)... just musing" CreationDate="2011-02-14T12:34:19.003" UserId="2343" />
  <row Id="9146" PostId="7356" Text="I'd replace &quot;standard&quot; with &quot;style&quot;, otherwise a +1" CreationDate="2011-02-14T12:45:40.133" UserId="4206" />
  <row Id="9147" PostId="7353" Score="1" Text="Of course, you *can't* even use &quot;/&quot; in filenames.  Everything else is possible.  And if you want to make it hard to access, even useful ;-)" CreationDate="2011-02-14T12:48:30.770" UserId="4206" />
  <row Id="9148" PostId="7373" Text="look in wherever XDG_CONFIG_HOME points to.. try `.config/chromium` it doesn't make sense but chrome dumps like everything in there, I filed a bug on them abusing it but they closed it because of a side thing I put in it" CreationDate="2011-02-14T12:49:50.017" UserId="29" />
  <row Id="9149" PostId="7347" Text="@michael wtf... when do we get these things? I thought we launched" CreationDate="2011-02-14T12:50:43.570" UserId="29" />
  <row Id="9151" PostId="7378" Text="What is SimpleHTTPServer? Is it the Python module? If so, can you show how to use it (so I can revoke my careless downvote)." CreationDate="2011-02-14T13:01:43.973" UserId="688" />
  <row Id="9152" PostId="7351" Text="my opinion: there is no convention.  file names are just strings.  pick your favourite style." CreationDate="2011-02-14T13:24:06.420" UserId="4667" />
  <row Id="9153" PostId="6692" Text="If you look at net/ipv4/Kconfig:623, YEAH is not an option, probably because it's experimental. It should be easy to hack this, select TCP_CONG_YEAH &lt;*&gt; and then make it default." CreationDate="2011-02-14T14:18:28.213" UserId="4346" />
  <row Id="9154" PostId="7331" Text="Little memory is as low as possible. I'm not looking at any bound. Thanks for the info!" CreationDate="2011-02-14T14:21:43.410" UserId="4758" />
  <row Id="9155" PostId="7333" Text="Yep, I've heard of LFS. But it definitely is more work than using arch. I will give it a shot. thanks!" CreationDate="2011-02-14T14:22:17.687" UserId="4758" />
  <row Id="9156" PostId="7350" Text="Oh this I have not heard of. Will check it out. Thanks!" CreationDate="2011-02-14T14:22:36.687" UserId="4758" />
  <row Id="9157" PostId="7356" Text="@jae: yep, that's a better word." CreationDate="2011-02-14T14:34:04.370" UserId="2688" />
  <row Id="9158" PostId="7385" Text="I tried this exact command line in Ubuntu but get &quot;grep: invalid option -- 'M'&quot; although I can't see any 'M' anywhere... puzzling" CreationDate="2011-02-14T14:45:55.760" UserId="4757" />
  <row Id="9159" PostId="7347" Text="@xeno They're added to sites that demonstrate a need for them, and we don't migrate very often, so probably a pretty long time" CreationDate="2011-02-14T15:00:47.450" UserId="73" />
  <row Id="9160" PostId="7381" Text="@Dayjay Whoa!! Awesome. Such a geeky style too!! Thanks a ton.. :)" CreationDate="2011-02-14T15:03:53.383" UserId="4335" />
  <row Id="9161" PostId="7378" Score="1" Text="@Tshepang Yes Python is pretty awesome with the huge load of modules :) SimpleHTTPServer is [my favorite](http://phunehehe.isgreat.org/2011/file-sharing-with-pythons-built-in-http-server/)" CreationDate="2011-02-14T15:10:07.360" UserId="250" />
  <row Id="9162" PostId="7385" Text="@Guido Works fine over here" CreationDate="2011-02-14T15:15:57.993" UserId="250" />
  <row Id="9163" PostId="5635" Text="I have crossposted this on [Ask Ubuntu](http://askubuntu.com/questions/26351/suspending-my-laptop-breaks-ethernet-over-firewire-are-there-commands-which-can) because I really would like a solution!" CreationDate="2011-02-14T15:33:01.937" UserId="1974" />
  <row Id="9164" PostId="7245" Text="Most often I'm in gnome-terminal." CreationDate="2011-02-14T15:33:33.777" UserId="3139" />
  <row Id="9165" PostId="7354" Text="@asoundmove .ps.gz means it's a compressed .ps file.  Just like .tar.gz means compressed .tar file." CreationDate="2011-02-14T15:42:43.550" UserId="3447" />
  <row Id="9166" PostId="7391" Text="Thanks, that looks promising. Can you elaborate a bit more? I'm unfamiliar with this." CreationDate="2011-02-14T16:05:11.600" UserId="250" />
  <row Id="9167" PostId="7391" Text="I suppose that I should add `session include pam_exec.so seteuid /path/to/script` to the file `/etc/pam.d/system-remote-login`. Is that correct?" CreationDate="2011-02-14T16:07:02.313" UserId="250" />
  <row Id="9168" PostId="7385" Text="In a [suggested edit](http://unix.stackexchange.com/edit-suggestions/25) [TomasG](http://unix.stackexchange.com/users/4695/tomasg) recommends changing the last `*` to `'*'`: &quot;Quoting the last wildcard is needed to avoid errors when some filename starts with -&quot;" CreationDate="2011-02-14T16:07:28.117" UserId="73" />
  <row Id="9169" PostId="7391" Text="Either `system-remote-login` or `sshd`, depending on how the user is coming in." CreationDate="2011-02-14T16:07:59.677" UserId="4565" />
  <row Id="9170" PostId="7331" Text="Last time I checked, it was not generally possible to buy a machine (including SoC etc) with less than 32 Mb of memory." CreationDate="2011-02-14T16:09:39.423" UserId="2011" />
  <row Id="9171" PostId="7391" Text="Awesome! It would be great if you edit the answer to include the information (you know, for others who search for it)." CreationDate="2011-02-14T16:13:58.047" UserId="250" />
  <row Id="9172" PostId="7363" Score="2" Text="So you want to know what's *installed*, what's *default* or what's *running*?" CreationDate="2011-02-14T16:14:32.507" UserId="3309" />
  <row Id="9173" PostId="7385" Text="In a strange twist of events, it now works for me too, as entered in the original answer. Thanks!" CreationDate="2011-02-14T16:34:56.017" UserId="4757" />
  <row Id="9174" PostId="7361" Text="@Mikel I also program Java where CamelCase is a convention. Sometimes patterns and conventions conflict." CreationDate="2011-02-14T17:16:03.127" UserId="4520" />
  <row Id="9176" PostId="7363" Text="@bahamat: what is running. That is why I want to know if there are some system files or commands for me to check that. But if you also know how to check for what's installed, what's default, then I also would like to know. Thanks!" CreationDate="2011-02-14T17:49:40.610" UserId="674" />
  <row Id="9177" PostId="7392" Score="1" Text="I often see shell scripts with a `.sh` &quot;extension&quot; on them. I personally find it somewhat annoying, but I have to admit that I may be ignorant of some good reason for using the `.sh`." CreationDate="2011-02-14T19:07:56.947" UserId="588" />
  <row Id="9178" PostId="7364" Text="For the simpler case when the processor architecture is the same, see [Moving linux install to a new computer](http://unix.stackexchange.com/questions/2865/moving-linux-install-to-a-new-computer). @phunehehe: The question originally didn't mention the architecture difference." CreationDate="2011-02-14T19:08:09.330" UserId="885" />
  <row Id="9179" PostId="7397" Score="1" Text="+1 for mentioning debconf, but -1 for restoring the dpkg selections. This marks all packages as manually installed on the new machine. Use `aptitude search '~i !~M'` to save the list of manually installed packages; see [this answer](http://superuser.com/questions/6338/how-do-you-track-which-packages-were-installed-on-ubuntu-linux/6932#6932) for more information." CreationDate="2011-02-14T19:28:47.433" UserId="885" />
  <row Id="9180" PostId="7382" Text="I mean check it doesn't contain ESC k something ESC \.  Ditto PROMPT_COMMAND." CreationDate="2011-02-14T19:58:04.393" UserId="3169" />
  <row Id="9181" PostId="7382" Text="ESC could be written `\e` or `\033`." CreationDate="2011-02-14T19:59:12.893" UserId="3169" />
  <row Id="9182" PostId="7392" Score="1" Text="A thing comes to mind that it's useful to emphasize the fact that it is a text-based script and not a binary." CreationDate="2011-02-14T20:00:35.457" UserId="3389" />
  <row Id="9183" PostId="7382" Text="The screen title docs links should have the necessary information" CreationDate="2011-02-14T20:03:03.997" UserId="3169" />
  <row Id="9185" PostId="7393" Text="There are a couple of obvious problems in your script: `/user/bin` should be `/usr/bin`, `$/etc` should be `/etc`. Did you try running the script in a terminal? Both problems would show an error message. If that's not your actual script, then **copy-paste** your actual script (except for the access keys of course)." CreationDate="2011-02-14T20:12:45.350" UserId="885" />
  <row Id="9186" PostId="7393" Text="Good point.  I've re-pasted in my script above, fixing the two errors you mentioned.  However, its still doing the same thing.  I run it, which results in no output.  Then I check the MyR53DNS, but there are still no entries for my instances.  Do you see any other problems with my script?" CreationDate="2011-02-14T20:30:30.883" UserId="4080" />
  <row Id="9187" PostId="7284" Text="This is a good example: http://www.youtube.com/watch?v=9w1PYLJEpxk&amp;feature=related. Download it with this script (if you have a working installation of youtube-dl installed)&#xA;`#!/bin/bash&#xA;if [ $# -ge 2 ]; then  &#xA;     echo &quot;Downloading $1...&quot;   &#xA;   youtube-dl &quot;$1&quot; -o ~/&quot;$2.flv&quot;  &#xA;   echo &quot;Converting $1 to $2.avi...&quot;  &#xA;   ffmpeg -i ~/&quot;$2.flv&quot; -sameq -acodec libmp3lame -vol 150 -ar 44100 -aq 100 -ab 2097152 ~/&quot;$2.avi&quot;  &#xA;else  &#xA;   echo &quot;Usage: ytdownloader YOUTUBE-URL TARGET-FILENAME&quot;   &#xA;fi`&#xA;&#xA;The audio quality of the downloaded file is much worse." CreationDate="2011-02-14T20:35:00.730" UserId="3214" />
  <row Id="9188" PostId="7385" Score="1" Text="@Guido: Your problem may have been due to a file in the current directory called `-Msomething`, or to a [`GREP_OPTIONS`](http://brainstorm.ubuntu.com/idea/24141/) setting." CreationDate="2011-02-14T20:43:30.147" UserId="885" />
  <row Id="9189" PostId="7384" Text="GNU grep has the common cases built-in with its `-r` option. No need for the heavy artillery." CreationDate="2011-02-14T20:44:15.217" UserId="885" />
  <row Id="9190" PostId="7409" Text="thanks, also thanks for the links.  It's been a real pain for me to find the documentation since none of the google links to the old http://docs.sun.com get redirected." CreationDate="2011-02-14T21:06:37.363" UserId="4768" />
  <row Id="9191" PostId="7374" Score="1" Text="You shouldn't be able to cause a syscall to hang from userland code. So I think that your custom kernel module is buggy. Did you write it? Otherwise, where did you get it?" CreationDate="2011-02-14T21:17:39.497" UserId="885" />
  <row Id="9192" PostId="7401" Text="Can you explain the part about issues with processor arch. I expect that there should not be a problem since he's moving from x86-32 to x86-64." CreationDate="2011-02-14T21:23:16.090" UserId="688" />
  <row Id="9193" PostId="7393" Text="@ks78: Run `tcsh -f -x /path/to/your/script`. This will show a trace of the commands the shell runs. Post the trace. Also make a copy of the script that stops at `/usr/bin/ec2-describe-instances` and post the output of that. On a separate note: I just happened to notice your edited question, but I wasn't notified of your comment. When you reply to a comment, you can use `@username` so that the author of the comment is notified." CreationDate="2011-02-14T21:25:32.903" UserId="885" />
  <row Id="9194" PostId="7401" Text="@Tshepang: As long as you're not changing the architecture, it's simpler to copy the whole installation (`/home`, `/etc`, `/var`, `/usr` and all) and just edit the few files in `etc` that need editing. That's not an option if you're switching to a different architecture, because you need to reinstall all binary packages." CreationDate="2011-02-14T21:28:32.400" UserId="885" />
  <row Id="9195" PostId="7393" Text="@Gilles:  I've posted the output above, at the end of my question.  I get the same output when the script stops at /usr/bin/ec2-describe-instances." CreationDate="2011-02-14T21:41:14.960" UserId="4080" />
  <row Id="9196" PostId="7355" Text="`cpio` may be able to handle `tar`-format archives, and vice-versa in some cases, but that doesn't matter.  The kernel can only unpack `newc`-style `cpio`-format archives, which no `tar` I know of produces." CreationDate="2011-02-14T21:44:59.483" UserId="1779" />
  <row Id="9197" PostId="7411" Text="Thanks, you made it very clear. I have indeed found a `preexec` function defined in my .zshrc.&#xA;&#xA;The thing is, that's the behavior I want... most of the time. I'd like to be able to disable it on the fly on one specific screen. There's maybe a variable that I can get in the `preexec` function when I manually set the title, or something like that?" CreationDate="2011-02-14T21:50:02.310" UserId="4755" />
  <row Id="9198" PostId="7411" Text="@gregseth: It's a bit hard to explain in general, but if you post your `preexec` function, I or someone else can probably suggest a simple change." CreationDate="2011-02-14T22:00:34.593" UserId="885" />
  <row Id="9199" PostId="7393" Text="@ks78: That's weird, the shell stops executing your script midway. Maybe there's a nonprintable character: compare the output of `cat -A aws-route53.sh` with `cat aws-route53.sh`. The only difference should be a `$` at the end of each line. Is there any non-alphanumeric character in `myaccesskeyid` or `myaccesskey`? " CreationDate="2011-02-14T22:08:34.067" UserId="885" />
  <row Id="9200" PostId="7393" Text="@Gilles:  Yes, in myaccesskey there's a &quot;/&quot; and a &quot;+&quot;.  I'm posting the rest of the results above, in my question." CreationDate="2011-02-14T22:14:22.577" UserId="4080" />
  <row Id="9201" PostId="7393" Text="@Gilles: Also, I just noticed there are &quot;`&quot; in the &quot;set root=&quot; line.  I changed them to &quot;'&quot;, but it didn't seem to make any difference." CreationDate="2011-02-14T22:24:58.197" UserId="4080" />
  <row Id="9202" PostId="7393" Text="@ks78: The backquotes were right. But you're not using the `root` variable anyway." CreationDate="2011-02-14T22:29:13.200" UserId="885" />
  <row Id="9203" PostId="7414" Text="I think you've solved my problem.  I'm getting another error, but it looks like it has to do with a missing dependency.  Once I have that fixed, I'll know for sure.  Thanks again." CreationDate="2011-02-14T22:34:46.217" UserId="4080" />
  <row Id="9204" PostId="7402" Text="Thanks for the explanation, but is there anything I can do to change the visual appearance?" CreationDate="2011-02-14T22:42:20.887" UserId="1375" />
  <row Id="9205" PostId="7402" Text="@penyuan: You need to check the documentation of each window manager. For example, with [scrotwm](http://www.scrotwm.org/man.html), put `color_focus` settings and so on in your `~/.scrotwm.conf`." CreationDate="2011-02-14T22:54:24.137" UserId="885" />
  <row Id="9206" PostId="7414" Text="Yes, that was it.  It works!  Thanks for all your help." CreationDate="2011-02-14T23:02:11.370" UserId="4080" />
  <row Id="9207" PostId="7354" Text="@jonescb, yes of course. My point about it being confusing is that when I see .ps I expect a non compressed file (which I should be able to cat or less), but often .ps files are compressed and should in fact be .ps.gz for clarity (as they require zcat or zless for source code viewing). Some people decided to just suffix compressed PostScript files with .ps anyway because some common ps viewers actually don't mind whether they are compressed or not." CreationDate="2011-02-14T23:03:26.090" UserId="3519" />
  <row Id="9208" PostId="7347" Text="@michael well do with this what you want... I guess." CreationDate="2011-02-15T00:47:03.110" UserId="29" />
  <row Id="9209" PostId="7407" Text="I've updated the question giving more background." CreationDate="2011-02-15T01:59:01.187" UserId="3466" />
  <row Id="9210" PostId="7418" Text="Perfect - that little script worked brilliantly. Slow, but that's OK as I need to scan the files by eye anyway." CreationDate="2011-02-15T02:44:22.467" UserId="4772" />
  <row Id="9211" PostId="7418" Text="(Ah, I didn't see the `sleep` command in there, no wonder)" CreationDate="2011-02-15T02:46:10.017" UserId="4772" />
  <row Id="9212" PostId="7418" Text="Yeah - originally, I had a `read` there. It took a little bit to figure out why it wasn't working. You might be able to use `read &lt; /dev/console`." CreationDate="2011-02-15T03:22:30.330" UserId="2180" />
  <row Id="9213" PostId="7307" Text="VMS, my old friend!" CreationDate="2011-02-15T03:34:02.877" UserId="393" />
  <row Id="9214" PostId="7418" Text="Okay, edited to be better." CreationDate="2011-02-15T03:46:55.253" UserId="2180" />
  <row Id="9215" PostId="7413" Text="I have this feeling too. Compiling is CPU intensive, rather than IO." CreationDate="2011-02-15T04:38:59.273" UserId="250" />
  <row Id="9216" PostId="7416" Text="That sounds quite useful.  I'll look into it and report back.  Thanks!" CreationDate="2011-02-15T05:14:43.913" UserId="4283" />
  <row Id="9217" PostId="7372" Text="This is useful in general, but what I really want is for my source code to have low swappiness, but everything else to have normal swappiness.  Essentially, I have a lot of stuff going on in the background, but I want to limit them to 6 of 8 GBs, while *always* keeping the other 2 GB for the source code.  I don't want to take the chance that it gets swapped...ever...because that's annoying." CreationDate="2011-02-15T05:20:46.280" UserId="4283" />
  <row Id="9218" PostId="7421" Text="This might prove to be DE-specific.  What's your desktop?" CreationDate="2011-02-15T06:00:43.790" UserId="1946" />
  <row Id="9219" PostId="7421" Text="i am using KDE." CreationDate="2011-02-15T06:18:05.013" UserId="4457" />
  <row Id="9220" PostId="7421" Text="I do not believe &quot;executables&quot; have icons, but I could be wrong. Generally this is faked with various .ini files." CreationDate="2011-02-15T06:45:37.247" UserId="763" />
  <row Id="9221" PostId="7423" Text="Nice... Off to google.." CreationDate="2011-02-15T06:57:07.680" UserId="4479" />
  <row Id="9222" PostId="4708" Text="Floating simply means &quot;Untiled&quot; in every other tiling window manager. But KDE's implementation of tiling is incredibly buggy, and incredibly badly documented. If its tiling you want, ditch KDM and use something else. If its not tiling you want, ditch it.   Generally, spiral isn't resizable, and one of those spiral parts recurses infinitely till you have a 1x1 window in the bottom-right of your screen." CreationDate="2011-02-15T07:11:53.840" UserId="763" />
  <row Id="9223" PostId="4682" Text="+1, this is my favourite trick \o/" CreationDate="2011-02-15T07:14:06.020" UserId="763" />
  <row Id="9224" PostId="7421" Text="What version of KDE? The answer may be different for KDE 3 and 4." CreationDate="2011-02-15T08:33:14.523" UserId="885" />
  <row Id="9225" PostId="7428" Text="I didn't want to walk down the slippery `bind` slope, since eventually you end up with a `.emacs` file more complex than the emacs source code, but it's certainly a viable option." CreationDate="2011-02-15T09:05:55.040" UserId="1262" />
  <row Id="9226" PostId="7430" Text="Yeah, I know that. But sometimes I don't remember which one of the last 3 commands it was, so I want to see them first on the screen, or change a few parameters. Thanks." CreationDate="2011-02-15T09:20:55.400" UserId="1262" />
  <row Id="9227" PostId="2290" Score="1" Text="no, i3 is i3, awesome is awesome =P . " CreationDate="2011-02-15T09:40:07.133" UserId="763" />
  <row Id="9228" PostId="6593" Text="Could you `time` your compilation and share the result with us? It would dispel some raising controversy. `make clean &amp;&amp; /usr/bin/time -v make` (do not use the bash built in `time` command)" CreationDate="2011-02-15T10:11:19.517" UserId="2780" />
  <row Id="9229" PostId="4708" Text="@Kent I just wanted to play with it" CreationDate="2011-02-15T10:23:31.577" UserId="29" />
  <row Id="9230" PostId="4708" Text="@kent, you also realize you could answer the question right?" CreationDate="2011-02-15T10:29:01.273" UserId="29" />
  <row Id="9231" PostId="4708" Text="I know, I just didn't have enough to actually form a real answer with, I attempted it, but then resolved to comment instead." CreationDate="2011-02-15T10:32:51.440" UserId="763" />
  <row Id="9232" PostId="7411" Text="Thanks, I edited the post to add the function." CreationDate="2011-02-15T10:33:24.477" UserId="4755" />
  <row Id="9233" PostId="147" Text="I believe the reason this works the way it does, is because 'console' translates 'underline' into colour, where-as X11 stuff supports underlines. You can test this theory by typing `echo -e &quot;\e[04mhello world\e[0m&quot;` in both the console and your X11 terminal and seeing the difference.  So this above hack *abuses* termcap to lie to LESS about what codes it needs to emit for bold/underline and forces it to produce colour escape codes instead. " CreationDate="2011-02-15T12:03:11.953" UserId="763" />
  <row Id="9234" PostId="4477" Text="This is a very well written answer." CreationDate="2011-02-15T13:15:01.737" UserId="4776" />
  <row Id="9235" PostId="6593" Text="@she Why not bash's built-in command?" CreationDate="2011-02-15T13:25:18.433" UserId="688" />
  <row Id="9237" PostId="7426" Text="If Esc is too far, why are you using vi mode at all? Why don't you stick with emacs mode?" CreationDate="2011-02-15T14:04:25.387" UserId="4667" />
  <row Id="9238" PostId="7430" Text="Then do `history`, then `echo !nnn` where nnn is the history number.  If you know it was the 2nd last command, then `echo !-2` also works" CreationDate="2011-02-15T14:05:27.353" UserId="4667" />
  <row Id="9239" PostId="7434" Score="2" Text="Here is one awk CSV Parser I used a while back..  It seems quite well thought out... http://lorance.freeshell.org/csv/" CreationDate="2011-02-15T14:11:09.657" UserId="2343" />
  <row Id="9240" PostId="1801" Text="I'd have thought that was OK, although presumably you're using composite out as it predates HDMI? What &quot;trouble with the install&quot; are you having?" CreationDate="2011-02-15T14:13:25.743" UserId="4776" />
  <row Id="9241" PostId="7426" Text="If you are a vi fan, I highly suggest binding your Caps Lock key to ESC." CreationDate="2011-02-15T14:30:22.107" UserId="2511" />
  <row Id="9243" PostId="5044" Text="Thanks for the right direction. The default application list is at `.local/share/applications/defaults.list` (which is also what `xdg-mime` edits)." CreationDate="2011-02-15T15:35:34.200" UserId="250" />
  <row Id="9244" PostId="6593" Score="1" Text="@Tshepang the `time` built in bash (`help time`) has a lot fewer details (no verbose option) than the GNU time (`man time`) concerning the I/O, context switches,..." CreationDate="2011-02-15T15:37:50.047" UserId="2780" />
  <row Id="9245" PostId="7363" Text="What do you want to do with this information? (Windowing system is at least almost always X windows)" CreationDate="2011-02-15T15:38:38.743" UserId="4776" />
  <row Id="9246" PostId="7363" Text="@pjc50: different types come with different sets of applications. I need the info to decide whether an application is for mine." CreationDate="2011-02-15T15:41:00.197" UserId="674" />
  <row Id="9250" PostId="7447" Text="Requires, I believe, bash v4 for `${parameter,,pattern}`" CreationDate="2011-02-15T16:04:42.647" UserId="4667" />
  <row Id="9251" PostId="7447" Text="@glenn: Correct. If on bash 3, there's always `EXT=$(echo $EXT|tr '[A-Z]' '[a-z]')`" CreationDate="2011-02-15T16:07:32.363" UserId="3959" />
  <row Id="9252" PostId="3120" Text="I think you can even hardlink it out of there (using the ln command)" CreationDate="2011-02-15T16:08:52.443" UserId="4776" />
  <row Id="9254" PostId="4061" Text="+1 Awesomely detailed question." CreationDate="2011-02-15T16:22:08.160" UserId="4776" />
  <row Id="9255" PostId="2656" Text="What boots on the VAX when there is nothing in the CD drive?" CreationDate="2011-02-15T16:49:48.397" UserId="3999" />
  <row Id="9256" PostId="7455" Score="1" Text="Tmux also does this, and many terminal programs have split views and tabs." CreationDate="2011-02-15T16:51:07.333" UserId="2180" />
  <row Id="9257" PostId="7455" Text="@shellholic - Just what I was looking for, thanks!" CreationDate="2011-02-15T16:58:54.567" UserId="3635" />
  <row Id="9258" PostId="7455" Text="One thing you might want to add - after splitting, you need to go into the new region and start a new session via `ctrl-a` `c` before you can use that area." CreationDate="2011-02-15T17:10:46.117" UserId="3635" />
  <row Id="9259" PostId="7458" Text="Are you using ping -b?" CreationDate="2011-02-15T17:13:20.467" UserId="4695" />
  <row Id="9260" PostId="7401" Text="I'm already using etckeeper but how do you propose to leverage it to facilitate migration?" CreationDate="2011-02-15T17:32:50.877" UserId="4745" />
  <row Id="9261" PostId="7462" Text="I *could*, in the strictest sense of the word, but this isn't real-time enough for my coworkers; they want to see stuff they upload as soon as they upload it. This + load-balancing makes for difficulties." CreationDate="2011-02-15T17:40:12.347" UserId="4565" />
  <row Id="9262" PostId="7465" Text="Interesting. I'll have to look in to CacheFS; it might be exactly what I need." CreationDate="2011-02-15T17:41:32.767" UserId="4565" />
  <row Id="9263" PostId="7404" Text="just used the ubuntu **geoiplookup** and it is good enough." CreationDate="2011-02-15T17:57:20.710" UserId="4763" />
  <row Id="9264" PostId="7468" Text="I get `775 drwxrwxr-x` for the directory." CreationDate="2011-02-15T18:12:45.147" UserId="688" />
  <row Id="9265" PostId="7401" Text="@user4745: Ideally you would commit each change in `/etc` individually with a meaningful commit message (as opposed to relying on the autocommit hooks), and commit machine-specific changes on a different branch from sysadmin preferences or site-wide configuration. But even basic use helps keep track of the changes you've made to `/etc`, so that you can replicate them on the new machine." CreationDate="2011-02-15T18:21:34.573" UserId="885" />
  <row Id="9266" PostId="7468" Score="1" Text="What's the group ownership of the directory?  Remember, the second 7 you mentioned is the permission the directory's group has, not your user's group." CreationDate="2011-02-15T18:39:11.150" UserId="3976" />
  <row Id="9267" PostId="7430" Text="@glenn, as I said: (1) I don't remember the exact number, (2) sometimes I need to edit the line lightly." CreationDate="2011-02-15T18:41:09.373" UserId="1262" />
  <row Id="9268" PostId="7426" Text="@mattdm, by who? by X? by bash? Unfortunately, I already have Capslock bound to the keyboard layout switch, and it's hard to find another reachable key..." CreationDate="2011-02-15T18:41:43.943" UserId="1262" />
  <row Id="9269" PostId="7426" Text="Yeah, by X. If you use the keyboard layout (altgr?) switch a lot, that might be unavoidable. I use the &quot;menu&quot; key for that, but I really use it only infrequently." CreationDate="2011-02-15T18:48:51.763" UserId="2511" />
  <row Id="9270" PostId="7451" Score="6" Text="The purpose is to tell you &quot;if you're under 30 characters you should probably expand on your answer a little&quot;" CreationDate="2011-02-15T18:55:45.483" UserId="73" />
  <row Id="9271" PostId="6570" Text="If you're using Firefox, you can also install the NoScript addon, which has a setting that allows you to force the use of HTTPS on whatever domains you specify. See http://www.ghacks.net/2010/10/31/how-to-force-https-connections/ for details." CreationDate="2011-02-15T19:06:22.177" UserId="4559" />
  <row Id="9272" PostId="7467" Text="Actually, from my tests, `kill -TERM 1` will do nothing but cause init to re-exec itself on most linux systems, and that the only thing you could do to cause a system to shutdown your system is to run `kill -PWR 1`" CreationDate="2011-02-15T19:08:24.593" UserId="3976" />
  <row Id="9273" PostId="7468" Text="How do I check for directory group ownership?" CreationDate="2011-02-15T19:14:19.490" UserId="688" />
  <row Id="9274" PostId="7468" Score="1" Text="`ls -ld /path/to/directory` or simply `ls -ld .` if you've already cd'd to that directory." CreationDate="2011-02-15T19:16:43.053" UserId="3976" />
  <row Id="9275" PostId="7468" Text="To use your command: `stat -c'%G %g %a %A' .`  %G is the group name, %g is the numeric group id." CreationDate="2011-02-15T19:19:20.290" UserId="3976" />
  <row Id="9277" PostId="7468" Text="That cmd gives `UNKNOWN 1002 775 drwxrwxr-x`." CreationDate="2011-02-15T19:38:19.733" UserId="688" />
  <row Id="9278" PostId="7468" Text="You'll need to change the group ownership of the directory to the unix group of the user trying to remove the file if you'd like that user to be able to remove files there.  Use `chgrp`." CreationDate="2011-02-15T19:42:12.757" UserId="3976" />
  <row Id="9279" PostId="7468" Text="I needed only change group ownership to user1 in my example. The trouble was the `UNKNOWN` thingy." CreationDate="2011-02-15T19:55:39.593" UserId="688" />
  <row Id="9280" PostId="7468" Score="1" Text="for whatever reason, stat can't look up group ID 1002.  stat looks up the group ID in /etc/group, NIS, LDAP, etc, and it's getting an error, that's why you're seeing UNKNOWN.  I'd try running `getent group 1002` to see if it gives you a more verbose error." CreationDate="2011-02-15T20:06:18.703" UserId="3976" />
  <row Id="9281" PostId="7477" Score="1" Text="The fact that she mentioned OS implies that choosing a router has something to do with the OS. Also, that SU note should be a comment." CreationDate="2011-02-15T20:15:28.627" UserId="688" />
  <row Id="9282" PostId="7415" Text="Thanks for your reply. I used `ffmpeg -i ~/&quot;$2.flv&quot; -acodec libmp3lame -qscale 8 -ab 196608 ~/&quot;$2.avi&quot;` now and it sounds almost as good as the original.&#xA;" CreationDate="2011-02-15T20:16:40.460" UserId="3214" />
  <row Id="9283" PostId="7476" Text="Does it matter when I am learning??" CreationDate="2011-02-15T20:16:45.457" UserId="4793" />
  <row Id="9285" PostId="7477" Text="@Tshebang - good points; I added a comment instead." CreationDate="2011-02-15T20:18:24.720" UserId="3635" />
  <row Id="9287" PostId="7473" Text="This is probably not the right site for this question. Superuser may be more appropriate..." CreationDate="2011-02-15T20:20:44.403" UserId="3635" />
  <row Id="9288" PostId="7476" Score="3" Text="I'd definitely set nocompatible, for the unlimited undo feature if nothing else.  In original `vi`, pressing the &quot;u&quot; key twice is the same as not pressing it at all, whereas in Vim, `u` and `Ctrl-r` are your multi-level undo and redo." CreationDate="2011-02-15T20:47:38.807" UserId="3629" />
  <row Id="9289" PostId="7464" Text="That's sort of what we were figuring, I guess I wasn't sure it was default but it would make sense... does _anyone_ use broadcast messages anymore?" CreationDate="2011-02-15T21:17:30.283" UserId="4176" />
  <row Id="9290" PostId="7478" Text="Very nice, not sure how I would've found that" CreationDate="2011-02-15T21:17:49.457" UserId="4176" />
  <row Id="9291" PostId="7471" Text="So does that mean all GUI programs that runs on X will use the X fonts?" CreationDate="2011-02-15T22:00:23.163" UserId="1375" />
  <row Id="9292" PostId="7473" Text="Could you clarify how the selection of router (hardware) is related to the OS? Is there any issue with connecting your Android device to routers suggested? It sound like general hardware advice." CreationDate="2011-02-15T22:14:07.120" UserId="4132" />
  <row Id="9294" PostId="7473" Score="2" Text="This question isn't related to unix, so it's off-topic here. On [Super User](http://superuser.com/), it would probably be closed because it's a shopping recommendation. I don't think there's currently a place in the Stack Exchange network for your question." CreationDate="2011-02-15T22:26:23.100" UserId="885" />
  <row Id="9295" PostId="7158" Text="@Amit, can you please explain how this answer solved your problem?" CreationDate="2011-02-15T22:32:52.830" UserId="3169" />
  <row Id="9296" PostId="5778" Text="The result might depend on the shell - some support both." CreationDate="2011-02-15T22:33:39.707" UserId="4132" />
  <row Id="9297" PostId="7411" Text="I was going to mention `preexec`, but Greg didn't say he was using `zsh`.  That'll teach me. ;-)" CreationDate="2011-02-15T22:33:47.227" UserId="3169" />
  <row Id="9298" PostId="7464" Text="Broadcast is so 1995.  Multicast is what the cool kids are doing now." CreationDate="2011-02-15T22:33:57.113" UserId="3389" />
  <row Id="9299" PostId="7411" Text="@Mikel: My explanation was better than yours, but your new `preexec` design is better than mine." CreationDate="2011-02-15T22:51:40.103" UserId="885" />
  <row Id="9300" PostId="7411" Text="I agree. :-)  My original answer was trying to teach the OP to find the answer for himself.  Yours was more immediately helpful.  Either way, we all win." CreationDate="2011-02-15T22:54:29.753" UserId="3169" />
  <row Id="9304" PostId="7485" Score="1" Text="Simpler: `rename 'next unless -e; ++$i; s/.*\.(.*)$/$i.\L$1/; s/jpeg$/jpg/' *.{jpg,JPG,jpeg,JPEG,png,PNG,gif,GIF}`. You don't need the shell loop since Perl can do the counting, and you don't need `nullglob` because `rename` ignores nonexistent file names." CreationDate="2011-02-16T00:10:20.910" UserId="885" />
  <row Id="9306" PostId="7493" Text="Thanks for the comments. I've flagged the question so it can be moved/merged here. I still believe here is the right place as the behavior seems to have been inherited from Debian." CreationDate="2011-02-16T00:41:37.157" UserId="48" />
  <row Id="9307" PostId="7493" Score="1" Text="You can enter c-cedilla using `AltGr` + `,`.  But when/whether/why it changed, I don't know." CreationDate="2011-02-08T21:20:32.633" UserId="3169" />
  <row Id="9308" PostId="7478" Text="@jphenow - you find it like so: `man ping`&#xA;Once inside the man program, do `/broadcast`. It jumps right to the relevant part." CreationDate="2011-02-16T00:58:23.027" UserId="2180" />
  <row Id="9309" PostId="6954" Text="Thanks for pointing out the necessity of keeping certain directories on the root partition.  Do you know what problems I might encounter because of bind-mounted root directories?" CreationDate="2011-02-16T01:22:45.813" UserId="1535" />
  <row Id="9310" PostId="7491" Score="1" Text="And of course if you don't have `repoquery`, run `yum install yum-utils`." CreationDate="2011-02-16T01:30:52.457" UserId="2511" />
  <row Id="9313" PostId="7494" Text="To keep the package manager from stepping on your changes, you can run (as root) `dpkg-divert /usr/lib/gtk-2.0/2.10.0/gtk.immodules`.  The package system will then write to `gtk.immodules.distrib` instead.  To undo this, add the `--remove` flag to the same command and copy the .distrib file over the original.  For more info, `man dpkg-divert`." CreationDate="2011-02-16T03:38:31.387" UserId="3629" />
  <row Id="9314" PostId="221" Text="This is one thing I really missed about Windows... until I realized that &quot;program&quot; was always emacs, so I stopped using shell to open files and just used C-x C-f (duh)." CreationDate="2011-02-16T04:11:47.837" UserId="4469" />
  <row Id="9315" PostId="7468" Text="Actually, I don't find this behavior confusing at all. It is identical to how an actual, &quot;real-life&quot; directory works, which is why it's *called* &quot;directory&quot;, and not, for example, &quot;folder&quot;, which would behave quite differently. If I want to delete someone from my phone directory, I don't go to her house and kill her, I simply take a pen and strike through her number. IOW: I need write access to the directory, and no access to her. Windows has folders, Unix has directories, and both of them behave like their real-life counterparts. Confusion only happens if you mix them up." CreationDate="2011-02-16T04:12:46.973" UserId="1466" />
  <row Id="9316" PostId="1223" Text="I tell you, `cd..` from DOS is ingrained in my muscle memory..." CreationDate="2011-02-16T05:04:08.713" UserId="3389" />
  <row Id="9318" PostId="7498" Text="You can't move it or right-click on it?" CreationDate="2011-02-16T06:02:21.450" UserId="688" />
  <row Id="9319" PostId="7498" Text="nope i cant do anything to it" CreationDate="2011-02-16T06:14:23.467" UserId="4807" />
  <row Id="9320" PostId="7500" Text="Again: no, the question is not about a *filesystem* becoming inaccessible (i.e. unmounted), it's about a *device* becoming inaccesible (the kernel doesn't see a device, so of course there is no entry under `/dev`)." CreationDate="2011-02-16T08:22:56.300" UserId="885" />
  <row Id="9321" PostId="7457" Text="+1 If this works, it's cool. A little bit of a blunt tool, but still useful in some cases :)" CreationDate="2011-02-16T08:30:10.513" UserId="2567" />
  <row Id="9322" PostId="7376" Score="1" Text="Finally i made it, all you have to do is to open youtube video any video then right click on video and choose Settings, then a dialogue box will appear, uncheck the &quot;Enable Hardware Acceleration&quot; from that box, reload the video and enjoy!! [SOLVED]&#xA;&#xA;" CreationDate="2011-02-16T08:51:35.380" UserId="4811" />
  <row Id="9323" PostId="7376" Score="1" Text="@Ahsan So you should delete the comment and post it as an answer. You are sure to get my vote :)" CreationDate="2011-02-16T08:59:25.603" UserId="250" />
  <row Id="9324" PostId="7496" Text="That looks like a proper PC and not some kind of exotic hardware. What kind of problem are you having?" CreationDate="2011-02-16T09:17:52.827" UserId="250" />
  <row Id="9325" PostId="1716" Text="these are amusing :) i love the way us geeks have the rather awesome sense of humour! fsk the win!" CreationDate="2011-02-16T09:39:31.603" UserId="4806" />
  <row Id="9326" PostId="4821" Text="Two months' been passed, and yet no answer accepted?" CreationDate="2011-02-16T09:54:59.987" UserId="1660" />
  <row Id="9327" PostId="7508" Text="@gnud: yes, they show. but when closing skype it remains closed. Let me check" CreationDate="2011-02-16T10:23:27.280" UserId="1267" />
  <row Id="9328" PostId="7503" Text="How did you export your share? How did you mount it?" CreationDate="2011-02-16T10:36:41.870" UserId="4355" />
  <row Id="9329" PostId="7509" Text="To quote the ask question page, &quot;The question you're asking appears subjective and is likely to be closed&quot;. You need to define &quot;best&quot;. Fastest? Most features? Most stable?" CreationDate="2011-02-16T10:44:26.797" UserId="73" />
  <row Id="9330" PostId="7509" Text="I hoped that this will obvious from my explain  before the question :)" CreationDate="2011-02-16T11:25:17.133" UserId="4814" />
  <row Id="9332" PostId="7503" Text="Oh, OpenBSD exports r/w by default :P Sorry =) Anyway, that means you can't write because of some permission problem." CreationDate="2011-02-16T12:22:16.477" UserId="4355" />
  <row Id="9333" PostId="7234" Text="This is exactly what I ended up doing. Thanks!" CreationDate="2011-02-16T12:45:30.407" UserId="4689" />
  <row Id="9335" PostId="767" Text="Its worth noting that aptitude is slated for removal from the default install on the next version of Ubuntu (although you could always install it using apt-get afterwards)" CreationDate="2011-02-16T12:47:58.780" UserId="286" />
  <row Id="9336" PostId="7062" Score="2" Text="Procmail: see http://blog.fealdia.org/2008/06/14/encrypted-system-logs-to-gmail/" CreationDate="2011-02-16T13:02:48.737" UserId="4776" />
  <row Id="9337" PostId="7503" Text="I am more concerned with the slow speeds." CreationDate="2011-02-16T13:04:19.460" UserId="3956" />
  <row Id="9338" PostId="7486" Text="Does that cache the files/data somehow on each machine?" CreationDate="2011-02-16T13:31:42.030" UserId="4565" />
  <row Id="9339" PostId="7516" Score="1" Text="Might be a good question for http://unix.stackexchange.com" CreationDate="2011-02-16T08:46:15.600" UserId="4783" />
  <row Id="9340" PostId="7516" Text="Which bootloader are you running?" CreationDate="2011-02-16T08:48:31.000" />
  <row Id="9341" PostId="7516" Text="@Jakob: Is not there a way to have the question on both the sites?" CreationDate="2011-02-16T08:58:23.750" UserId="4812" />
  <row Id="9342" PostId="7516" Text="Why would you bother? This isn't a programming question." CreationDate="2011-02-16T08:58:52.820" />
  <row Id="9343" PostId="7516" Text="Because I am developing a kernel module on the machine, and I need to reboot the machine at some points. I noticed that my makes were starting from scratch for some reason, and then I noticed that the kernels were being switched." CreationDate="2011-02-16T09:02:07.633" UserId="4812" />
  <row Id="9344" PostId="7516" Text="It's still not a programming question." CreationDate="2011-02-16T09:03:31.963" />
  <row Id="9345" PostId="7518" Text="The one and only. +1" CreationDate="2011-02-16T11:59:38.353" UserId="2056" />
  <row Id="9346" PostId="7517" Text="The title says &quot;kernel driver development&quot;, the question &quot;kernel development&quot;. What are you exactly looking for?" CreationDate="2011-02-16T14:40:17.190" UserId="3959" />
  <row Id="9347" PostId="6829" Text="The first link is to the Fedora Core 3 documentation, which is 5-6 years out of date." CreationDate="2011-02-16T14:54:22.370" UserId="1910" />
  <row Id="9348" PostId="6841" Score="2" Text="Note that the above url is for RHEL-5, which is 3 years old (so quite old compared to Fedora 14)." CreationDate="2011-02-16T14:56:03.147" UserId="1910" />
  <row Id="9349" PostId="7517" Text="@chris: Added clarification, I am looking for kernel driver development." CreationDate="2011-02-16T14:59:49.613" UserId="4819" />
  <row Id="9350" PostId="7518" Text="What makes me hesitate about the Linux Device Drivers book is that it targets the rather old 2.6.10 kernel. But maybe the API for drivers haven't changed much since then?" CreationDate="2011-02-16T15:04:04.553" UserId="4819" />
  <row Id="9351" PostId="7516" Text="@apoorv020 - Although there is no doubt a solution to your question, wouldn't you prefer that the system actually reboot rather than simply execute a different kernel? If so, init 6 with the proper bootloader settings should properly load your intended kernel." CreationDate="2011-02-16T15:10:05.043" UserId="2701" />
  <row Id="9352" PostId="690" Text="How do you do updates with this sort of setup?  Often (at least under Linux) packages will make changes to files in system-local directories, for example in `/etc`." CreationDate="2011-02-16T15:44:30.897" UserId="1535" />
  <row Id="9353" PostId="698" Text="What's the usual way of handling system updates in the first case?" CreationDate="2011-02-16T15:48:25.573" UserId="1535" />
  <row Id="9354" PostId="7519" Text="Depending on how many processors he has, and how many files `*fastq` matches, he would need quite a few more than two terminal windows.  Check out the `parallel` man page." CreationDate="2011-02-16T15:51:44.877" UserId="3629" />
  <row Id="9355" PostId="7471" Score="1" Text="@penyuan:  Not necessarily, but for the majority of cases, yes.  Many GUI programs use higher-level libraries (like GTK or Qt) that manage the fonts for you." CreationDate="2011-02-16T15:52:47.857" UserId="3976" />
  <row Id="9356" PostId="7503" Text="What is the speed of network traffic over other protocols (e.g. scp, http)?" CreationDate="2011-02-16T15:58:56.947" UserId="4776" />
  <row Id="9357" PostId="6829" Text="@James Antill: Yeah -  *kind of outdated* was used as an euphemism. ;) Anyways, when I googled the query, the 5-6 year old fedora link is what I got on the first result page (position &gt; 20). Don't know if the fedora project pages do some stuff to annoy the google bot?" CreationDate="2011-02-16T16:03:10.517" UserId="1131" />
  <row Id="9358" PostId="7529" Text="Are you familiar with OpenAFS?  Because it uses @sys in exactly that way, even using '@sys'.  If so, are you looking for an alternative to OpenAFS?" CreationDate="2011-02-16T16:04:21.967" UserId="3976" />
  <row Id="9359" PostId="7492" Text="Hi.  That did not work for me but I think it is because of how my .screenrc file is setup.  &#xA;&#xA;  1 termcapinfo xterm* ti@:te@&#xA;  2 hardstatus alwayslastline&#xA;  3 hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=    b C}[ %m/%d %c ]%{W}'&#xA;" CreationDate="2011-02-16T16:24:55.353" UserId="4785" />
  <row Id="9360" PostId="7529" Text="@jsbilling I'd like to know if this is possible on a standard filesystem, without AFS. I used to work on AFS a long time ago and could do this, hence why I asked." CreationDate="2011-02-16T16:28:12.240" UserId="872" />
  <row Id="9362" PostId="7478" Text="Oh I knew about the -b part, it was the option that needed changing, I use manuals quite often." CreationDate="2011-02-16T16:38:25.760" UserId="4176" />
  <row Id="9363" PostId="7464" Text="Haha yea our Network professor figured he'd dig way back into the ages of Networking." CreationDate="2011-02-16T16:38:54.170" UserId="4176" />
  <row Id="9366" PostId="7539" Text="Sidenote: pressing tab as of now does an actual tab (6 spaces or so)" CreationDate="2011-02-16T16:39:39.453" />
  <row Id="9367" PostId="7540" Text="I don't see an /etc/bash_completion, but I do see /etc/bash.bashrc and a folder called /etc/bash_completion.d/ which contains the files &quot;apatch2.2-common&quot;, &quot;debconf&quot; and &quot;insserv&quot; -- any good?" CreationDate="2011-02-16T16:37:19.797" />
  <row Id="9368" PostId="7540" Text="Have you got the `bash-completion` package installed? If you do `dpkg -l bash-completion` the first two characters should be `ii`. If not, install it with `apt-get install bash-completion`." CreationDate="2011-02-16T16:39:31.593" />
  <row Id="9369" PostId="7540" Text="I believe the bash-completion package just extends bash's completion feature, I think that's what's commonly referred to as the smart-completion or Programmable completion.  If I understand correctly, the standard completion isn't working either." CreationDate="2011-02-16T16:48:51.943" UserId="2210" />
  <row Id="9370" PostId="7540" Text="smart complete works for root, just not for my user." CreationDate="2011-02-16T16:57:01.643" UserId="4822" />
  <row Id="9371" PostId="7536" Text="That's a nice solution. Thanks." CreationDate="2011-02-16T17:05:52.100" UserId="4671" />
  <row Id="9372" PostId="7542" Text="Ah you nailed it. a quick echo of $SHELL spit back &quot;/bin/sh&quot; -- I switch to bin bash and I'm back in business. Thanks to everyone for the quick help." CreationDate="2011-02-16T17:08:57.750" UserId="4822" />
  <row Id="9373" PostId="994" Text="@ultrasawblade @xenoterracide : I registered specifically to up-vote your comments :) +1 vi(m) via 3g (or even gprs... yay). :wq (Oh it requires me to click &quot;add comment&quot; button...)" CreationDate="2011-02-16T17:33:37.937" UserId="4826" />
  <row Id="9374" PostId="7529" Text="@dogbane: I figured as much.  I know of no other filesystem that has 'magic' symlinks other than NetBSD's vfs.generic.magiclinks setting. (http://www.daemon-systems.org/man/symlink.7.html)" CreationDate="2011-02-16T17:34:02.477" UserId="3976" />
  <row Id="9375" PostId="7538" Text="or even if you just want 5 characters:  `ls ?????.tgz | ...`" CreationDate="2011-02-16T17:36:59.393" UserId="4667" />
  <row Id="9376" PostId="7527" Score="1" Text="Ours is able to boot from flash memory. That's great you got fedora working. Could you possibly explain what steps you took to install it, like what specific version &amp; disk image you used, did you install from a cd or bootable usb drive, did you have to change any BIOS settings? Also, did you do anything special to get the network card working? (R6040) That is one other problem we have had." CreationDate="2011-02-16T18:11:01.543" UserId="2562" />
  <row Id="9377" PostId="7532" Text="Thanks to everyone for their answers. I'm sorry that I can only accept one. :-)" CreationDate="2011-02-16T18:16:23.647" UserId="4671" />
  <row Id="9378" PostId="7496" Text="@phunehehe I updated my question for your comment, anything else you wonder?" CreationDate="2011-02-16T18:20:46.477" UserId="2562" />
  <row Id="9379" PostId="7536" Text="In general, you want to avoid parsing the output of `ls` when possible." CreationDate="2011-02-16T19:11:38.127" UserId="1207" />
  <row Id="9380" PostId="7489" Text="What UNIX/Linux filesystem are you using that has such a small maximum file size?" CreationDate="2011-02-16T19:14:25.520" UserId="3001" />
  <row Id="9381" PostId="7544" Score="2" Text="Not an answer, but just use Gnumeric and Abiword instead. ;-)" CreationDate="2011-02-16T19:14:36.487" UserId="3082" />
  <row Id="9382" PostId="7536" Text="@Steven: Sorry, don't follow. Can you elaborate?" CreationDate="2011-02-16T19:20:07.600" UserId="4671" />
  <row Id="9383" PostId="7536" Score="2" Text="When you parse the output of `ls` you can run into a lot of problems if you encounter filenames with special characters.  See the following for a better explanation: http://mywiki.wooledge.org/ParsingLs" CreationDate="2011-02-16T19:27:45.597" UserId="1207" />
  <row Id="9384" PostId="7536" Text="@Steven: Thanks for the link. The referenced article mentions newlines, but now that I think about it, in Windows world for example, they like filenames with spaces in them, and try to export it elsewhere, and that would by itself mess up the oneliner here, I think. What would you prefer as an alternative? find?" CreationDate="2011-02-16T19:32:14.017" UserId="4671" />
  <row Id="9385" PostId="7536" Text="I would use `find` for certain complicated cases and glenn jackman's answer in most easy cases.  I wouldn't be surprised if there was some magical shell globbing incantation possible with ZSH or Bash 4." CreationDate="2011-02-16T19:41:08.763" UserId="1207" />
  <row Id="9386" PostId="7544" Score="1" Text="This question is not appropriate here because it is too vague. If you have a specific performance problem with OpenOffice, we can help you with that. But this site is a [questions and answers site](http://unix.stackexchange.com/about), it's not appropriate for “tips and tricks”." CreationDate="2011-02-16T19:49:52.213" UserId="885" />
  <row Id="9387" PostId="7545" Score="1" Text="I think you may have reversed the order of the filenames in your last example.  That, or I'm missing something obvious." CreationDate="2011-02-16T19:52:54.783" UserId="1207" />
  <row Id="9388" PostId="7496" Text="From my understanding of the Wikipedia article, a kernel compiled for 586 (such as the default kernel in Ubuntu 10.04) should work on Vortex86DX or Vortex86MX (but not on Vortex86SX)." CreationDate="2011-02-16T19:52:55.503" UserId="885" />
  <row Id="9389" PostId="7536" Text="@Steven: Thank you for your informative comments." CreationDate="2011-02-16T19:55:38.693" UserId="4671" />
  <row Id="9390" PostId="7545" Text="@Gilles: Thanks, that's quite a variety of approaches! But you forgot to include an approach using find. :-)" CreationDate="2011-02-16T19:58:30.703" UserId="4671" />
  <row Id="9391" PostId="7507" Text="When I do this in Emacs 23.1, the numbers on the left scale with the rest of the text and eventually get too big for the space they are in (making it hard to see them) but the column they are in remains the same size.  Is this the same behavior you are seeing or are you seeing something else?" CreationDate="2011-02-16T20:10:52.953" UserId="1207" />
  <row Id="9392" PostId="7545" Text="@Steven: fixed. @Faheem: done." CreationDate="2011-02-16T20:11:39.910" UserId="885" />
  <row Id="9393" PostId="7518" Text="@bjarkef: LDD is still an interesting book. There haven't been any fundamental changes, but a few interfaces described there have been deprecated in favor of better ones. No matter what book you use, you should check online for evolutions between your book and your target kernel version." CreationDate="2011-02-16T20:28:52.513" UserId="885" />
  <row Id="9394" PostId="7485" Text="Thanks, I didn't know rename could understand other (besides s/// and y///) perl commands  too." CreationDate="2011-02-16T20:33:15.260" UserId="3806" />
  <row Id="9395" PostId="7492" Text="@user4785: If your prompt can set the Screen window title, Vim should be able to do it as well. What is your prompt? Does my `.vimrc` snippet work without your `.screenrc`?" CreationDate="2011-02-16T20:34:51.353" UserId="885" />
  <row Id="9396" PostId="7486" Text="@gms8994: Yes, files are cached for 999999999 seconds under `/var/cache/net/A`." CreationDate="2011-02-16T20:35:35.380" UserId="885" />
  <row Id="9397" PostId="7545" Text="@Gilles: thanks." CreationDate="2011-02-16T20:45:28.697" UserId="4671" />
  <row Id="9398" PostId="7489" Text="VFAT (FAT32) in quite old kernel has limit of 4GB file size." CreationDate="2011-02-16T20:51:38.540" UserId="4799" />
  <row Id="9399" PostId="7337" Text="It's worth noting that there's no standard for locale names. Most unices define locale names of the form `xx_YY` where `xx` is a [language subtag](http://en.wikipedia.org/wiki/IETF_language_tag) and `YY` is a region subtag, sometimes followed by a character set indication." CreationDate="2011-02-16T20:52:16.827" UserId="885" />
  <row Id="9400" PostId="7496" Text="@Gilles It seems to me that most are 686, and this results in lack of CMOV errors. IIRC, this was the problem with 10.04. (and yes, that is my understanding too. I have the MX, btw)" CreationDate="2011-02-16T20:54:13.517" UserId="2562" />
  <row Id="9401" PostId="7549" Score="1" Text="I'd point you to the [Debian CD FAQ](http://www.debian.org/CD/faq/), but the answer to [your question](http://www.debian.org/CD/faq/#search-for-package) is not up-to-date there! I don't know where to find the contents of the squeeze DVDs." CreationDate="2011-02-16T20:57:48.083" UserId="885" />
  <row Id="9402" PostId="7544" Text="This question is being [discussed in chat](http://chat.stackexchange.com/transcript/message/522572#522572)." CreationDate="2011-02-16T21:23:24.887" UserId="885" />
  <row Id="9403" PostId="7545" Text="@Gilles: fyi, if you put two @user in the same comment, only the first is notified. See item 7 in http://meta.stackoverflow.com/questions/43019/how-do-comment-replies-work/43020#43020" CreationDate="2011-02-16T21:29:50.177" UserId="4671" />
  <row Id="9404" PostId="7545" Text="@Faheem: [I've read that](http://meta.stackoverflow.com/posts/43020/revisions). I was counting on your being notified of my edit." CreationDate="2011-02-16T21:46:02.267" UserId="885" />
  <row Id="9405" PostId="7486" Text="What about changes to the source file? How are those propagated? If this is all explained in the help, let me know, and I'll quit bugging you. I just want to make sure everything is handled as necessary..." CreationDate="2011-02-16T21:49:27.833" UserId="4565" />
  <row Id="9406" PostId="7486" Text="@gms8994: I can't find anything in the documentation. Looking at the source, there seem to be cases where it'll compare the cached file's size and mtime with the upstream file, but I'm not sure if that's always done." CreationDate="2011-02-16T21:59:40.613" UserId="885" />
  <row Id="9407" PostId="7507" Text="Like Steven, what I observe is that the line numbers column stays the same width in pixels (so it becomes too small to fit the characters if you call `text-scale-adjust` with a positive argument). This looks like a bug in the implementation of the `left-margin` text property. I haven't investigated further." CreationDate="2011-02-16T22:18:19.093" UserId="885" />
  <row Id="9408" PostId="7506" Text="Thanks, your first suggestion worked just great." CreationDate="2011-02-16T22:18:45.707" UserId="4807" />
  <row Id="9409" PostId="7083" Score="1" Text="Many thanks! That, I have discovered, is part of tcsh 6.17.00 (comes with Ubuntu 10.4), but not tcsh 6.14.00 (comes with Centos 5.5 and OSX)" CreationDate="2011-02-16T23:16:27.557" UserId="3045" />
  <row Id="9410" PostId="7083" Text="Oh, and I would actually vote up your answer as well, but I'm unfortunately unable to, as I don't quite have the reputation for that yet..." CreationDate="2011-02-16T23:17:12.003" UserId="3045" />
  <row Id="9411" PostId="7503" Text="As fast as one would imagine over a 10/100 network they both perform good." CreationDate="2011-02-16T23:28:48.380" UserId="3956" />
  <row Id="9412" PostId="7550" Score="1" Text="It's kind of funny that some distros number their CDs/DVDs and people are confused. Same thing [happened](http://unix.stackexchange.com/questions/4311/single-cd-install-of-a-rhel-like-distribution/4324#4324) for Fedora too :)" CreationDate="2011-02-17T00:08:15.977" UserId="250" />
  <row Id="9413" PostId="2656" Text="Nothing. There's no OS on any of the drives. It just halts at chevron." CreationDate="2011-02-17T01:06:09.927" UserId="1290" />
  <row Id="9414" PostId="4431" Text="Red Hat Linux 9? Time to upgrade!" CreationDate="2011-02-17T01:53:21.973" UserId="2511" />
  <row Id="9415" PostId="7407" Text="The logical volumes in B were created before the reinstall but are not being recognized in the new install. I'm guessing that the LVs are referencing the old UUID of volume group B" CreationDate="2011-02-17T02:30:44.597" UserId="3466" />
  <row Id="9416" PostId="7544" Text="Perhaps this might help?  http://unix.stackexchange.com/questions/6143/xorg-performance-in-openoffice/" CreationDate="2011-02-17T02:31:44.473" UserId="3976" />
  <row Id="9417" PostId="7556" Score="2" Text="It's obviously not a duplicate question, but I think all you need to know can be found at the [&quot;Is Linux a Unix?&quot; question](http://unix.stackexchange.com/questions/4091/is-linux-a-unix)" CreationDate="2011-02-17T03:25:20.980" UserId="1071" />
  <row Id="9418" PostId="7557" Text="In addition, FreeBSD is a direct decendent of BSD4.4 which is derived from ATT Unix. The only reason FreeBSD cannot use the term Unix is because the certification costs money the organization can spend better elsewhere." CreationDate="2011-02-17T04:00:37.603" UserId="3887" />
  <row Id="9419" PostId="7560" Score="3" Text="Not quite.  `printf &quot;foo bar\nbaz bat&quot; | xargs echo whee` will yield `whee foo bar baz bat`.  Maybe add the `-L` or `-n` options?" CreationDate="2011-02-17T05:17:23.940" UserId="3629" />
  <row Id="9420" PostId="7560" Score="2" Text="@Jander The question was rather general, so I gave the general tool. True, you will have to adjust its behavior with options depending on the specific circumstances." CreationDate="2011-02-17T05:25:39.940" UserId="3082" />
  <row Id="9421" PostId="7549" Text="What is an ssh printserver?" CreationDate="2011-02-17T05:55:07.480" UserId="688" />
  <row Id="9422" PostId="7563" Text="Thanks. In my system `stat -c %W` returns 0 (creation time unknown), but that is another question..." CreationDate="2011-02-17T06:30:20.510" UserId="1501" />
  <row Id="9423" PostId="6603" Score="1" Text="Run `udevadm monitor` to watch `udev` events, and then re-plug your USB device (or use `udevadm trigger`)." CreationDate="2011-02-17T06:40:15.303" UserId="1779" />
  <row Id="9424" PostId="7557" Text="@Rob: Actually BSD could only become FreeBSD after it had replaced all ATT code. So it's no more derived from ATT Unix than Linux is." CreationDate="2011-02-17T07:37:21.020" UserId="885" />
  <row Id="9425" PostId="7564" Text="The comments in this file (on lenny) warn that the setting is only used by `login`, and that in general one should use the `pam_umask` module." CreationDate="2011-02-17T07:41:50.127" UserId="885" />
  <row Id="9426" PostId="7557" Text="it and ATT shares a common descendant then, Gilles :)" CreationDate="2011-02-17T09:41:55.363" UserId="4355" />
  <row Id="9427" PostId="7556" Text="It's &quot;duck typed&quot; Unix." CreationDate="2011-02-17T10:26:43.463" />
  <row Id="9428" PostId="7560" Score="1" Text="... | tr '\n' '\0'  | xargs -0 " CreationDate="2011-02-17T11:12:23.420" UserId="1653" />
  <row Id="9429" PostId="7569" Text="What's the error message? Also, why not just install an Ubuntu-provided package? Also, those instructions are heavily out-of-date (or rather, the version of Mono they are asking you to install)." CreationDate="2011-02-17T12:50:07.760" UserId="688" />
  <row Id="9431" PostId="7570" Text="ah ok thank you. :) i didn't know it was available through apt. :)" CreationDate="2011-02-17T13:14:45.833" UserId="4846" />
  <row Id="9432" PostId="7535" Text="Just wanted to add that you should probably add parameters from the current kernel's commandline from /proc/cmdline after the -l flag." CreationDate="2011-02-17T13:26:39.697" UserId="4812" />
  <row Id="9433" PostId="7557" Text="@Gilles - Linux is not based on or arrive directly from ATT Unix but Minix which also didn't come directly from ATT. FreeBSD was ATT Unix but had to be rewritten for legal reasons as you correctly identify." CreationDate="2011-02-17T13:27:16.550" UserId="3887" />
  <row Id="9434" PostId="7189" Text="This looks very promising, however I don't have `uvcdynctrl` on my Ubuntu box. I will investigate further and post back. Thanks!" CreationDate="2011-02-17T13:32:18.153" UserId="1974" />
  <row Id="9435" PostId="7567" Score="3" Text="Note, `xargs -0` uses the null byte as a record separator, so your awk print statement should be `printf(&quot;MyJavaProg --args \&quot;%s\&quot;\0&quot;,$1)`" CreationDate="2011-02-17T14:30:27.777" UserId="4667" />
  <row Id="9436" PostId="7575" Text="Is this form of quoting standard across shells, or is it bash-specific?" CreationDate="2011-02-17T14:37:39.707" UserId="4812" />
  <row Id="9437" PostId="7575" Text="It is bash-specific. Plain `/bin/sh` bourne shell is similar, but bash can do more things so it works slightly differently. Same with ksh, which is also _mostly kinda_ bourne-like. Tcsh and other csh-style shells work differently." CreationDate="2011-02-17T14:40:24.617" UserId="2511" />
  <row Id="9438" PostId="7557" Text="And Linux isn't based on Minix in any meaningful way. (It never shared any code, and the design isn't similar.)" CreationDate="2011-02-17T15:16:18.347" UserId="2511" />
  <row Id="9439" PostId="7581" Score="1" Text="I assume you mean ping the broadcast address, not the gateway. On modern systems, that probably won't work. See http://unix.stackexchange.com/questions/7458/cant-ping-broadcast" CreationDate="2011-02-17T15:25:29.850" UserId="2511" />
  <row Id="9440" PostId="7563" Text="But note that due to how files are handled by many programs, that creation time value _may not be useful_." CreationDate="2011-02-17T15:27:16.260" UserId="2511" />
  <row Id="9441" PostId="7581" Score="1" Text="@mattdm: [Multicast](http://en.wikipedia.org/wiki/Multicast_address) then? I wasn't aware most people turned it off. I haven't had encountered issues with it before." CreationDate="2011-02-17T15:31:15.397" UserId="163" />
  <row Id="9442" PostId="7581" Text="Haha yes thanks mattdm, a similar problem you can see I ran into. &#xA;&#xA;its not that people turn them off but they generally come with broadcast off lately apparently." CreationDate="2011-02-17T15:34:16.703" UserId="4176" />
  <row Id="9443" PostId="7220" Text="@Arcege: I checked your logic with Oracle. For some dates is ok, however for it generates a float number. I'm afraid I have to truncate to an integer number, is it?" CreationDate="2011-02-17T15:42:41.043" UserId="1578" />
  <row Id="9445" PostId="7582" Text="Good call on the -w addition, had to make it two though cause a bunch of computers didn't respond quick enough. Might look into adding some sort of periodic check-in as well or hand-shake but for now want to have the process relatively external to the computers I'm turning on." CreationDate="2011-02-17T16:00:13.237" UserId="4176" />
  <row Id="9446" PostId="7583" Score="1" Text="Looks like a cool tool but for the purposes of this little script might add some unnecessary chunk to the project, keepin' it as a pretty small script for now. Will definitely keep my eye on it though, looks like a tool I might use soon non-the-less." CreationDate="2011-02-17T16:01:31.287" UserId="4176" />
  <row Id="9447" PostId="7587" Score="4" Text="what error? Putting that alone in a text file and running `sh count.sh` works for me, though I'd prefer in general to use a shebang line, and possibly even an awk-only script... I still don't see why yours should generate an error, however." CreationDate="2011-02-17T16:03:56.667" UserId="1071" />
  <row Id="9448" PostId="7507" Text="Thanks Steven and Gilles... It seems to be the same behaviour.. My line-number col does not narrow (as I first thought. It just looked that way as the text got larger (black ln-nb-col, and charcoal &quot;wrap-indicator&quot; margin). The line-numbers do a tectonic disappearing act &quot;under&quot; the nargin and buffer proper..  (a bug it seems)     &#xA;" CreationDate="2011-02-17T16:06:05.837" UserId="2343" />
  <row Id="9450" PostId="7587" Score="1" Text="In general, if something is giving you an error, it's _really helpful_ if you copy the exact error into your question." CreationDate="2011-02-17T16:11:24.710" UserId="2511" />
  <row Id="9451" PostId="7564" Text="Right, on Squeeze I believe the comment says that pam_umask now reads the value from `login.defs`." CreationDate="2011-02-17T16:15:51.533" UserId="3459" />
  <row Id="9452" PostId="7557" Text="http://en.wikipedia.org/wiki/File:Unix_history-simple.svg has a fairly simplified tree showing a lot of the common inheritance of the BSDs.  It's based on the rather complex graph here: http://www.levenez.com/unix/" CreationDate="2011-02-17T16:21:07.550" UserId="3976" />
  <row Id="9453" PostId="7220" Text="The decimal is the fraction of a second and not necessarily needed." CreationDate="2011-02-17T16:22:14.037" UserId="4194" />
  <row Id="9454" PostId="7568" Text="Mentioning the io scheduler classes is good, because that's likely to be a big factor. Worth nothing that for the middle `-c2` scheduling class, processes are by default sorted by the nice level, so the example command you've given is really not necessary. One could try putting mplayer in the `-c1` realtime class. (With root access.)" CreationDate="2011-02-17T16:24:16.320" UserId="2511" />
  <row Id="9455" PostId="7582" Score="1" Text="I also use -s to send a smaller packet." CreationDate="2011-02-17T17:18:35.883" UserId="2180" />
  <row Id="9456" PostId="7582" Score="1" Text="I'll be shocked if sending a smaller packet makes a difference. " CreationDate="2011-02-17T17:24:21.230" UserId="2511" />
  <row Id="9457" PostId="7593" Score="3" Text="Commenting on my own answer:  the `alternatives` system is probably not the best solution to this problem.  You might benefit from Environment Modules (http://modules.sourceforge.net/), or just manually setting the old make in your PATH or the Makefile." CreationDate="2011-02-17T17:26:23.833" UserId="3976" />
  <row Id="9458" PostId="7593" Text="Thanks for the clear answer! This worked like a charm and cleared up confusion around the alternatives system." CreationDate="2011-02-17T17:29:08.153" UserId="4856" />
  <row Id="9459" PostId="7587" Text="Does it complain that `awk` was not found? :)" CreationDate="2011-02-17T17:35:31.547" UserId="1946" />
  <row Id="9460" PostId="7575" Text="@apoorv020: This is common to all Bourne-style shells (Bourne, POSIX, ash, ksh, bash, zsh, …), apart from the treatment of `!` as a history character which is specific to bash. Csh and fish have different rules." CreationDate="2011-02-17T17:56:30.800" UserId="885" />
  <row Id="9461" PostId="7575" Text="@mattdm: The parameters `*` and `@` get special treatment inside double quotes, but this means that `&quot;$*&quot;` and `&quot;$@&quot;` are special (actually only `&quot;$@&quot;` is special; `$*` and `$@` are special when unquoted) . Something like `&quot;@*&quot;` is perfectly ordinary, just a literal two-character string." CreationDate="2011-02-17T17:59:21.217" UserId="885" />
  <row Id="9462" PostId="7566" Text="@SHW: There is no cross-unix variant answer to this question. In general it's better to describe what OS you're using (including the distribution for Linux, but here it won't matter much if at all). I've added a `linux` tag, please change it if that's not what you're using." CreationDate="2011-02-17T18:05:05.780" UserId="885" />
  <row Id="9463" PostId="7560" Text="@Keith: like, &quot;the specific circumstances which give the right answer to the question&quot;. :)" CreationDate="2011-02-17T18:17:21.747" UserId="2511" />
  <row Id="9464" PostId="7593" Text="Hmm, thanks for the suggestion. I'll be sure to check that out." CreationDate="2011-02-17T18:24:33.847" UserId="4856" />
  <row Id="9465" PostId="7581" Text="Could use fping (http://fping.sourceforge.net/) to ping a list of hosts in parallel.  Then you don't have to rely on being able to ping the broadcast address." CreationDate="2011-02-17T18:31:16.770" UserId="2210" />
  <row Id="9466" PostId="7593" Text="+1 for &quot;the right answer is don't do this&quot;." CreationDate="2011-02-17T18:33:35.647" UserId="2511" />
  <row Id="9467" PostId="7518" Score="1" Text="I think LDD is still an excellent starting point. You need to learn the basics anyway, might as well start there. Once you get your feet wet then you worry about newer kernel releases." CreationDate="2011-02-17T18:39:58.170" UserId="4856" />
  <row Id="9468" PostId="4360" Text="As a Fedora user I am not sure how I ever missed this. Thanks for the link!" CreationDate="2011-02-17T18:44:40.070" UserId="4856" />
  <row Id="9469" PostId="7576" Text="I have Fedora 14 dual booting on an older Mac, using rEFIt. It works fine. Have you tried reinstalling Fedora since you set that up? That'd be my next step." CreationDate="2011-02-17T18:45:44.250" UserId="2511" />
  <row Id="9470" PostId="4324" Text="My only caution is that Fedora has frequent releases that test new features. People always advise to keep this in mind when thinking in terms of stability. However, I use Fedora 14 at home + work and it runs like a dream. I love it." CreationDate="2011-02-17T18:47:53.280" UserId="4856" />
  <row Id="9471" PostId="804" Text="Excellent answer, and a great reccomendation in &quot;Understanding the Linux Kernel.&quot;" CreationDate="2011-02-17T18:55:43.150" UserId="4856" />
  <row Id="9472" PostId="7545" Text="@Gilles: Ok. Just trying to be helpful. So, do all your solutions work for arbitary filenames? Ie. do they avoid the problem mentioned by Steven above?" CreationDate="2011-02-17T19:14:28.920" UserId="4671" />
  <row Id="9473" PostId="7582" Text="Aren't they pretty much already sent at near minimum size of packets?" CreationDate="2011-02-17T19:16:56.410" UserId="4176" />
  <row Id="9474" PostId="7545" Text="@Faheem: Above what? Do you mean in  If you mean in his comments to [bdk's answer](http://unix.stackexchange.com/questions/7532/7536#7536), the problems are due to the use of `ls`. All the commands in my answer work with arbitrary file names. Be sure to use double quotes everywhere I've used them. If you generalize to commands other than `tar`, you'll need to add `--` before `&quot;$z&quot;` or `{}` in some places, but here the file name is an argument to `tar`'s `-f` option, not directly to the `tar` command, so you don't need and cannot use `--`." CreationDate="2011-02-17T19:23:14.280" UserId="885" />
  <row Id="9475" PostId="7582" Score="2" Text="They're pretty small; there's a default of 56 data bytes, which you could reduce. But in any case, it's smaller than the ethernet MTU and bigger than nothing, so it comes down to &quot;one packet&quot; either way." CreationDate="2011-02-17T19:29:18.643" UserId="2511" />
  <row Id="9476" PostId="7597" Score="2" Text="The kill(1) man page should refer to the signal man page in the &quot;SEE ALSO&quot; section" CreationDate="2011-02-17T19:38:02.863" UserId="4667" />
  <row Id="9477" PostId="7593" Text="At any rate I think I'll be able to better use alternatives, if I find the right situation. ;)" CreationDate="2011-02-17T20:16:57.790" UserId="4856" />
  <row Id="9478" PostId="7545" Text="@Gilles: yes, I meant in Steven's comments in bdk's answer. Thanks." CreationDate="2011-02-17T20:23:31.090" UserId="4671" />
  <row Id="9480" PostId="1223" Text="This is a cheap version of pushd and popd though..." CreationDate="2011-02-17T21:30:51.407" UserId="934" />
  <row Id="9481" PostId="7586" Text="I've just tried on Debian lenny (dvtm 0.4.1) and Ubuntu 10.04 (dvtm 0.5.2), and the behavior is the expected one (`Ctrl+Z` suspends vim)." CreationDate="2011-02-17T21:44:56.037" UserId="885" />
  <row Id="9485" PostId="7606" Score="4" Text="I think you have part of the answer already - openness makes it easy for different groups of people or businesses to adapt it to their needs. Since the kernel was notably criticised for being monolithic I'm not sure it's initial design was deliberatly optimised for scalability in any way. I would guess that a greater number of people have worked on the core of Linux than on other operating systems - and perhaps this has forced the core maintainers to take care in dividing the code into pieces with clear interfaces? On the other hand some variants of BSD have portability as an explicit goal." CreationDate="2011-02-17T23:50:48.913" UserId="2974" />
  <row Id="9486" PostId="5761" Score="1" Text="'cat /dev/cdrom' might work, but you then have to pipe the output via your shell to discard it. I don't think this is really a better solution than using dd which is entirely self-contained. Using 'dd' will also provide errors, statistics, and other useful information that 'cat' will not." CreationDate="2011-02-18T00:16:11.003" UserId="3613" />
  <row Id="9487" PostId="5761" Text="You're right that md5sum can do the comparison on the file itself. For simple comparisons, it can be a better solution. However, it can be useful to throw 'pv' in the middle there, or to script around 'kill -USR1' to provide statistics. Remember that we're talking about relatively slow media such as CDs/DVDs. Besides, as silly of a reason as it might be, using 'dd' provided symmetry to the other example." CreationDate="2011-02-18T00:23:45.207" UserId="3613" />
  <row Id="9488" PostId="7609" Score="1" Text="But that's basically &quot;fork + exec&quot;, not just fork." CreationDate="2011-02-18T00:41:36.267" UserId="2511" />
  <row Id="9489" PostId="7609" Text="@mattdm: Uh? `&amp;` is fork, there's no exec involved. Fork+exec is when you launch an external command." CreationDate="2011-02-18T00:47:15.893" UserId="885" />
  <row Id="9490" PostId="7609" Text="@mattdm: Ah, I think I see what Cory is getting at. There's no `exec`, but the two languages do have different control flow." CreationDate="2011-02-18T00:55:34.933" UserId="885" />
  <row Id="9491" PostId="7609" Text="@Gilles: The bash control operator `&amp;` starts a subshell in which the given command is executed. Fork + exec. You can't just put `&amp;` with no preceding command to execute." CreationDate="2011-02-18T00:58:13.030" UserId="2511" />
  <row Id="9492" PostId="7609" Text="@mattdm: Yes, the control flow is different, but `exec` doesn't come into play. See it with `truss`/`trace`/`dtrace`/`strace` if you don't believe me!" CreationDate="2011-02-18T01:01:56.420" UserId="885" />
  <row Id="9493" PostId="7609" Text="@Gilles — that's an implementation detail because `echo` is a builtin. Try it with `/bin/echo` and of course there is an exec. But I don't mean literally; I mean conceptually. You can't fork and continue from there without giving some command — it just doesn't work like that." CreationDate="2011-02-18T01:30:36.357" UserId="2511" />
  <row Id="9494" PostId="7609" Text="(I think after your edit we're basically saying the same thing, although from a different direction.)" CreationDate="2011-02-18T01:31:12.080" UserId="2511" />
  <row Id="9495" PostId="7609" Text="@mattdm: Of course invoking an external command uses an exec — but that has nothing to with the use of `&amp;`. I don't understand your statement that “You can't fork and continue from there without giving some command”: similarly, you can't `echo` and continue from there without giving some command, the process keeps running until it calls `execve(2)` or `_exit(2)`, but what does this have to do with the topic at hand?" CreationDate="2011-02-18T01:34:11.327" UserId="885" />
  <row Id="9496" PostId="7609" Text="Well, if &quot;Forking is spelled &amp;&quot; were a true statement, you could put `&amp;` on a line by itself. But you can't. It doesn't mean &quot;fork here&quot;. It means &quot;execute the preceding command in the background in a subshell&quot;." CreationDate="2011-02-18T01:36:36.973" UserId="2511" />
  <row Id="9497" PostId="7586" Text="@Gilles You are right, `dvtm` is not the problem. Please see my edit." CreationDate="2011-02-18T02:14:08.560" UserId="250" />
  <row Id="9498" PostId="7591" Text="@Jander Thanks for your effort, but sorry it was my mistake. `dtach` is the one responsible for this, not `dvtm`." CreationDate="2011-02-18T02:15:36.030" UserId="250" />
  <row Id="9499" PostId="7596" Text="This looks like the `update-grub` script in Ubuntu, which doesn't allow customizing Grub, which I think the OP wants." CreationDate="2011-02-18T02:16:52.817" UserId="250" />
  <row Id="9500" PostId="7591" Text="@Gilles: You're right, and on further inspection, `dvtm` does what you've described.  And now that I've actually tried it instead of just assuming things and poking around in the source, I'm seeing the correct behavior as well." CreationDate="2011-02-18T02:17:52.127" UserId="3629" />
  <row Id="9501" PostId="7564" Text="I edited `/etc/login.defs` and it didn't work" CreationDate="2011-02-18T02:51:44.037" UserId="576" />
  <row Id="9502" PostId="7598" Text="I have not used ethtool for this, would you like to give a example? (or maybe a link)?" CreationDate="2011-02-18T07:17:59.530" UserId="2567" />
  <row Id="9503" PostId="622" Text="`kill -9`, huh?  You really are in BOFH mode on this one." CreationDate="2011-02-18T07:43:01.380" UserId="3629" />
  <row Id="9504" PostId="622" Text="@Jander You're kicking a user off the system; how nice do you need to be?" CreationDate="2011-02-18T07:58:47.290" UserId="73" />
  <row Id="9505" PostId="7616" Score="3" Text="The parentheses create a subshell, but that's fork+wait. `&amp;` is fork alone. If you want to execute more than one pipeline in the child process, it's enough to use braces (which perform grouping without creating a child process): `{ sleep 2; echo child; } &amp;`" CreationDate="2011-02-18T08:31:04.520" UserId="885" />
  <row Id="9506" PostId="7611" Text="It seems you are talking the OS, while the guy is talking about the kernel. Well, unless you know for sure if Windows kernel is bloated." CreationDate="2011-02-18T08:58:32.887" UserId="688" />
  <row Id="9507" PostId="7592" Text="@Justin Thanks for going so in-depth. It has been a while since I've developed in any flavour of C/C++ but I guess I can put it in my 'someday' pile. In the meantime, it won't hurt to put a feature request in so I'm off to do that now." CreationDate="2011-02-18T09:31:06.050" UserId="4821" />
  <row Id="9509" PostId="7372" Text="Swappiness is system wide. In fact if you are doing something else and your files get unloaded from memory, you just have to reload it with the second line. If memory has to be freed for something else, you really don't &quot;want to take the chance&quot; it to be done from swap. BTW, `tmpfs` in the same case would also be swapped away." CreationDate="2011-02-18T11:14:20.543" UserId="2780" />
  <row Id="9510" PostId="7625" Text="@Fussy, yeah but it did not give it runtime. or to rephrase the Question &quot;Is there any utility/tool to get the serial ID of monitor?&quot;" CreationDate="2011-02-18T12:02:54.203" UserId="4843" />
  <row Id="9511" PostId="1696" Text="+1 to all for the mention of external serial modems.  This will be the easiest way, trust me." CreationDate="2011-02-18T12:22:31.840" UserId="3389" />
  <row Id="9512" PostId="7490" Text="Thanks.  I will probably use `dd` or `cdread` instead of `split`-ting on device, though." CreationDate="2011-02-18T12:26:50.310" UserId="4799" />
  <row Id="9513" PostId="7625" Text="It seems to depend on the driver of the card and on the monitor itself ... I have found [this discussion](http://forums.fedoraforum.org/showthread.php?t=250723) (the `/sys` investigation is the lowest you can get usually) and the [Wikipedia entry about EDID](http://en.wikipedia.org/wiki/Extended_display_identification_data) is really interesting." CreationDate="2011-02-18T12:31:21.660" UserId="4595" />
  <row Id="9514" PostId="7628" Text="Like alex says, somehow the quote stays on execution. Can you (Barun) post the contents of $final_cmd and how you got it set?" CreationDate="2011-02-18T12:31:37.907" UserId="3519" />
  <row Id="9516" PostId="7567" Text="@glenn: Missed the null char, will update the answer " CreationDate="2011-02-18T12:43:07.867" UserId="2567" />
  <row Id="9518" PostId="7628" Text="Sure. I'm appending the script to my original post.&#xA;" CreationDate="2011-02-18T12:47:01.247" UserId="3879" />
  <row Id="9519" PostId="7630" Text="Thanks, Fussy! I too was trying to achieve the same, however, with string concatenation. But I think you gave me a better option. :)" CreationDate="2011-02-18T13:02:36.943" UserId="3879" />
  <row Id="9522" PostId="8405" Score="2" Text="What do you have set for root=UUID=?  I don't know if the UUID is being truncated or if it's set to /." CreationDate="2011-02-18T14:10:49.007" UserId="3447" />
  <row Id="9523" PostId="4575" Score="1" Text="@Tshepang - I love that kdiff3 will highlight individual characters that have changed in a line. Most diff tools will just highlight the whole line, which can make it more difficult to figure out what changed. Just one nice feature to keep in mind..." CreationDate="2011-02-18T14:12:59.047" UserId="3635" />
  <row Id="9524" PostId="7615" Score="1" Text="Regarding your `#!` line, you could use `#!/usr/bin/env awk`.  I've seen it used for Python frequently.  [Wikipedia on #! portability](http://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability)" CreationDate="2011-02-18T14:22:18.640" UserId="3447" />
  <row Id="9525" PostId="7638" Score="4" Text="I just tried your command, and it works ok. Why didn't you try it out?" CreationDate="2011-02-18T14:28:16.837" UserId="688" />
  <row Id="9526" PostId="7633" Score="1" Text="+1, good tip to isolate the problem..." CreationDate="2011-02-18T14:35:37.997" UserId="3635" />
  <row Id="9527" PostId="7639" Text="would this work? `yum install -y php mysql`" CreationDate="2011-02-18T14:39:52.267" UserId="3368" />
  <row Id="9528" PostId="7638" Text="I'm taking over from my college to finish our ks file, and he mentioned that he couldnt get it to work, so i presumed that he tried that. :(" CreationDate="2011-02-18T14:41:01.517" UserId="3368" />
  <row Id="9531" PostId="7636" Text="Thank you for the alternatives.  I am running 7z through subprocess in python, so I am wary of changing directory." CreationDate="2011-02-18T14:57:18.797" UserId="4874" />
  <row Id="9532" PostId="2488" Text="`lsmod` from a running kernel is also useful." CreationDate="2011-02-18T14:58:15.543" UserId="3389" />
  <row Id="9534" PostId="7613" Text="Well, someone would need to write a minimal amount of bootstrap code and C runtime for the target platform. Oh, and it has to support virtual memory. But otherwise true :)" CreationDate="2011-02-18T16:20:21.923" UserId="4885" />
  <row Id="9535" PostId="7606" Text="@Red: It was criticized for being a monolithic kernel instead of a micro kernel -- that's got nothing to do with it's design though. It has to do with how much of the kernel runs in userspace and how much runs in kernelspace. Windows NT's kernel (for example) is very modular, but it is still technically monolithic because most services (i.e. the filesystem) run in kernel mode rather than user mode." CreationDate="2011-02-18T16:23:09.457" UserId="4885" />
  <row Id="9537" PostId="7639" Text="Yes it works like a charm on my laptop running Fedora 14." CreationDate="2011-02-18T16:32:09.177" UserId="4335" />
  <row Id="9539" PostId="7480" Text="I use Fedora 14 and vim already came installed with it. Strange that you didn't get it pre-installed. " CreationDate="2011-02-18T16:37:24.790" UserId="4335" />
  <row Id="9540" PostId="7606" Text="@Billy: thanks for the correction. " CreationDate="2011-02-18T16:55:22.463" UserId="2974" />
  <row Id="9541" PostId="7611" Text="@Tshepang: To be fair, the questions asks about the &quot;Linux kernel and/or system&quot;. Do Windows 7 and Windows Phone 7 share a kernel? The little I've read suggests their kernels might have less code in common than the kernels of Ubuntu Server and Android." CreationDate="2011-02-18T17:05:24.530" UserId="2974" />
  <row Id="9542" PostId="7480" Text="I am using a custom version of Fedora, which is why the package is not on there by default." CreationDate="2011-02-18T17:17:08.630" UserId="3635" />
  <row Id="9544" PostId="7642" Text="Is 'non-local' relative to the host(s), network segment(s), or geographical location in question?" CreationDate="2011-02-18T17:53:31.280" UserId="2701" />
  <row Id="9546" PostId="4573" Text="What was the issue that you faced with Meld?" CreationDate="2011-02-18T18:11:10.580" UserId="3879" />
  <row Id="9547" PostId="4573" Text="@Barun see my updated answer" CreationDate="2011-02-18T18:11:10.640" UserId="688" />
  <row Id="9548" PostId="4573" Score="1" Text="@Tshepang I use Meld 1.3.0, which I believe is the latest version. Select the entire contents of the left hand side file (click over the text and press Ctrl+A), then right click over it. I get the the option &quot;Copy to Right&quot;, and clicking on it copies entire contents of the left hand side file to right hand side file. Similarly, I get the &quot;Copy to Left&quot; option for the other file. So, it does allow you to copy the entire contents of a file to the other." CreationDate="2011-02-18T18:11:10.640" UserId="3879" />
  <row Id="9550" PostId="4573" Text="@Tshepang Touché. News section at http://meld.sourceforge.net/ is outdated!" CreationDate="2011-02-18T18:11:10.673" UserId="3879" />
  <row Id="9552" PostId="4573" Text="@Barun Check my updated." CreationDate="2011-02-18T18:11:10.687" UserId="688" />
  <row Id="9553" PostId="7490" Text="@Jakub: `dd` is useless here, it won't do anything for you that `cat` wouldn't do. But see [Calculate md5sum of a CD/DVD](http://unix.stackexchange.com/questions/3792/calculate-md5sum-of-a-cd-dvd) about reading a CD's filesystem image exactly." CreationDate="2011-02-18T18:22:59.673" UserId="885" />
  <row Id="9554" PostId="7639" Score="2" Text="It helps if you summarize the link, so the user doesn't have to click through and they're not screwed if the link breaks" CreationDate="2011-02-18T19:00:38.653" UserId="73" />
  <row Id="9555" PostId="7639" Text="It just says &quot;Yum accepts multiple arguments, so just specify all of them on the command line&quot; in various ways. I don't think that having a link to some random forum posts that say that actually is useful." CreationDate="2011-02-18T19:30:36.953" UserId="2511" />
  <row Id="9556" PostId="7649" Text="I recommend a location like `/opt/python-2.7` or `/usr/local/stow/python-2.7`. Don't put manually-installed programs in `/usr` (outside `/usr/local`), it will make the package management a lot less useful for no good reason. I recommend a separate location, not directly `/usr/local/bin/python`, so you can decide to switch to your python by adding e.g. `/opt/python-2.7/bin` to the front of your `PATH`." CreationDate="2011-02-18T19:49:43.187" UserId="885" />
  <row Id="9557" PostId="7629" Text="Since you've found the answer to your own question, please use the `Answer Your Question` button to post it. You can then mark it as accepting by ticking the check mark next to it, though you'll have to wait until the question is 48 hours old to do that." CreationDate="2011-02-18T19:58:33.303" UserId="885" />
  <row Id="9558" PostId="7642" Score="4" Text="Your question is unanswerable in its present form. How fast is “fast bandwidth”? What do you mean by “non-local”? What kind of connection (HTTP, SSH, IMAP, …)? Is this a VPS, a racked server in a hosting provider's location, or part of infrastructure that you own? Do you have any reason to believe that the restriction is imposed by your server rather than your network provider?" CreationDate="2011-02-18T20:03:56.950" UserId="885" />
  <row Id="9559" PostId="7611" Text="Thanks, but the question was really about Linux and not any other OS. There are many others out there: http://en.wikipedia.org/wiki/List_of_operating_systems" CreationDate="2011-02-18T20:37:38.330" UserId="3635" />
  <row Id="9560" PostId="7657" Text="I figured this one out right before submitting the question, but as the atmosphere of stackexchange is one of learning, I thought I may as well add my question and answer to the pool of knowledge that is stackexchange, rather than just discarding it." CreationDate="2011-02-18T20:43:05.093" UserId="4143" />
  <row Id="9561" PostId="7656" Text="This gives the same 5.6GB figure as Nautilus. It also  tells me the 700mb warning is for the / partition." CreationDate="2011-02-18T20:47:34.373" UserId="131" />
  <row Id="9562" PostId="7657" Score="3" Text="And what you're looking for is in fact `[ &quot;$S1&quot; = &quot;$S2&quot; ]`. Otherwise, if `$S1` or `$S2` contain wildcard or spaces, they would be expanded (e.g. try both with `S1='a = a -o a'` and `S2='b'`). In ksh, bash and zsh, you can use `[[ $S1 = $S2 ]]`, because `[[`…`]]` is special shell syntax whereas `[` is an ordinary command with a funny name. Note that you also need spaces around the brackets in either case." CreationDate="2011-02-18T21:08:26.673" UserId="885" />
  <row Id="9563" PostId="7661" Text="Are you looking to make this work such that if any program (wget, FireFox, etc) requests `page1.html`, the client machine automatically redirects the request to `page2.html`?" CreationDate="2011-02-18T21:11:50.530" UserId="3635" />
  <row Id="9564" PostId="7659" Text="Very good explanation on why the spaces around the equals sign make a difference!" CreationDate="2011-02-18T21:15:33.617" UserId="4143" />
  <row Id="9565" PostId="7606" Text="@Billy: Windows NT is technically a *hybrid* kernel. I believe Microsoft still maintains the subsystems using message passing and keeps the ability to move pieces into user-space as desired. They did this with the graphics system in Vista: it's now in user-space after having been kernel-space since NT 4.0" CreationDate="2011-02-18T21:21:59.930" UserId="4893" />
  <row Id="9566" PostId="7612" Score="9" Text="And the small system and huge system definitions keep shifting all the time, so it's good kludges have been avoided. The multicore smart phones can now benefit from all the super-computer work done years ago." CreationDate="2011-02-18T21:28:24.353" UserId="4893" />
  <row Id="9567" PostId="7661" Text="What you're looking for is called a web proxy." CreationDate="2011-02-18T21:37:09.830" UserId="885" />
  <row Id="9568" PostId="7661" Text="justin : yes, basically, on my machine, as I would in /etc/hosts/, say &quot;any requests to that url get changed to this one&quot; and then any program that I open _thinks_ he's calling one page while actually the OS is requesting another one&#xA;gilles: no, a proxy is external and makes me run all my connection through it. /etc/hosts/ is just the OS requesting different host but the program still thinks it's calling the original URL, plus it's as simple as adding a line in /etc/hosts. I need something built-into unix." CreationDate="2011-02-18T21:47:40.467" UserId="4892" />
  <row Id="9569" PostId="7661" Text="Please clarify &quot;on a third party server only on my machine&quot;.  Do you mean that you want to fool your machine (and only your machine) into retrieving page2 when you ask for page1?  I assume by &quot;third party server&quot; you mean it is one you do not have control over. EDIT: Never mind, your comment clarifies this.  Didn't see it before posting." CreationDate="2011-02-18T22:01:37.070" UserId="4196" />
  <row Id="9570" PostId="7661" Text="That's right, just fool my machine." CreationDate="2011-02-18T22:05:13.417" UserId="4892" />
  <row Id="9571" PostId="7661" Text="A proxy is probably the easiest way to do this and it could be run on your machine, i.e. it needn't be external.  `/etc/hosts` works because it just affects name resolution, but what you want to do is at a higher level and therefore more difficult.  Perhaps you could set up a reverse proxy for website.com (on your machine) and then add website.com in /etc/hosts pointing at 127.0.0.1.  Then configure the proxy to know where the real website.com is and to rewrite page1 to page2?" CreationDate="2011-02-18T22:06:11.873" UserId="4196" />
  <row Id="9572" PostId="7606" Score="1" Text="@Zan: I was under the impression that the status as a &quot;hybrid kernel&quot; [was deputed](http://en.wikipedia.org/wiki/Hybrid_kernel#cite_note-0). Therefore I said &quot;monolithic&quot;. NT certainly has a lot of monolithic features even if it's split into library-esque pieces." CreationDate="2011-02-18T22:08:46.720" UserId="4885" />
  <row Id="9573" PostId="7661" Text="sound complicated though, any opensource currently existing and easy to use proxy on UNIX ? (Mac OS X if that helps)&#xA;But there's no low-level way to do this ?" CreationDate="2011-02-18T22:18:16.400" UserId="4892" />
  <row Id="9574" PostId="7661" Text="Looking on google a bit, I see I should create a Proxy Auto-Config file, PAC, how and where do I create that ?" CreationDate="2011-02-18T22:27:00.183" UserId="4892" />
  <row Id="9575" PostId="7649" Text="@Gilles: I agree.  I'd only put files in /usr/bin if I were packaging them, and some people prefer to package things into /usr/local/bin (although it's not something I'd suggest)." CreationDate="2011-02-18T22:27:41.390" UserId="3976" />
  <row Id="9576" PostId="7650" Text="You might want `hello\_s\+world` if there could be more than one whitespace character between them, of course." CreationDate="2011-02-18T22:30:53.393" UserId="4196" />
  <row Id="9577" PostId="7286" Score="1" Text="As [pointed out by guido](http://unix.stackexchange.com/questions/7283/create-user-that-cant-login-no-password-only-ssh/7667#7667), `passwd -d` makes the account passwordless, as in, you can log in without having to type a password. Use `passwd -l` to lock the account (think of it as giving an impossible-to-type password)." CreationDate="2011-02-18T22:34:05.753" UserId="885" />
  <row Id="9578" PostId="7286" Text="@rvs: I've added a warning to your post, because it is dangerous as it stands. I'll leave it up to you to decide whether to fix your answer, or delete your answer (if you think guido's is sufficient), or refute the warning." CreationDate="2011-02-18T22:37:27.480" UserId="885" />
  <row Id="9579" PostId="7667" Text="@guido: rvs won't be notified of your answer. You would need to add a comment to his answer for that (I've done it). Note that readers may read your answer before his, you should write answers that respond directly to the question. Well done for pointing this one out! It applies to most Linux distributions (the ones using the Linux shadow utilities)." CreationDate="2011-02-18T22:39:41.677" UserId="885" />
  <row Id="9580" PostId="7667" Text="@Gilles: sorry i am new to stackexchange; i only pointed out this one a bit hardly because it was like suggesting users to setup passwordless accounts, and it was accepted and marked as *useful*..." CreationDate="2011-02-18T22:42:48.160" UserId="4142" />
  <row Id="9581" PostId="7667" Text="@guido: No worries, I was just explaining how to make your warning more effective. In fact, in such extreme cases where an answer is dangerously wrong, it would be appropriate to suggest an edit adding a warning or correction (hopefully you won't encounter these situations too often on the site)." CreationDate="2011-02-18T22:58:37.557" UserId="885" />
  <row Id="9582" PostId="7606" Text="@Billy: It seems to me that if your kernel can be turned into a micro-kernel just by changing a few options and rebuilding, then it's something other than monolithic even if the most often used binary builds put everything in kernel address space." CreationDate="2011-02-18T23:14:06.293" UserId="4893" />
  <row Id="9583" PostId="7286" Text="Why oh why do people accept the answer that doesn't even work?" CreationDate="2011-02-18T23:47:22.863" UserId="1899" />
  <row Id="9584" PostId="7611" Text="The NT kernel is actually very efficient, but it's the vast number of layers surrounding it that make" CreationDate="2011-02-19T00:58:10.243" UserId="3389" />
  <row Id="9585" PostId="7286" Text="@mathepic: It does work, on debian. Exactly the way i asked" CreationDate="2011-02-19T01:14:15.737" UserId="4069" />
  <row Id="9586" PostId="5719" Text="@themoondothshine this might do better on SO, though tbh I don't understand it enough to say for sure. flag it if you'd like us to move it." CreationDate="2011-02-19T01:26:58.030" UserId="29" />
  <row Id="9587" PostId="7654" Text="When you said 5.6GB and 10GB do you mean the total or do you mean the remaining space?" CreationDate="2011-02-19T03:53:10.727" UserId="250" />
  <row Id="9588" PostId="5474" Text="Nothing really comes close to Transit... but Nautilus isn't bad really, for most simple operations." CreationDate="2011-02-19T04:36:36.213" UserId="375" />
  <row Id="9589" PostId="7649" Text="where can i a get the binary package?" CreationDate="2011-02-19T06:18:29.433" UserId="4884" />
  <row Id="9590" PostId="7352" Text="thanks... first start with the module how do I do it exactly in modprobe.conf , I wortel &quot;alias name mymodulename&quot; whats the meaning of doing soo? where do I need toput my .ko file?  " CreationDate="2011-02-19T09:19:51.177" UserId="4738" />
  <row Id="9591" PostId="7670" Text="Traditionally: with `loadkeys`. I think nowadays you can get the Linux console to read the X configuration, but I don't know how this works." CreationDate="2011-02-19T14:13:04.103" UserId="885" />
  <row Id="9592" PostId="7649" Text="zr01:  The instructions I gave was for building it from source.  I'm not aware of any third party repos that provide python 2.7 packages that are safe for OpenSUSE 11." CreationDate="2011-02-19T14:48:26.553" UserId="3976" />
  <row Id="9593" PostId="7672" Text="It works for me (Vim 7.1pl314 on Debian lenny or 7.2pl330 on Ubuntu 10.04, `C` or `en_US` or `en_US.UTF-8` locale, in xterm). What are your locale settings? In what terminal are you running this, and do other terminals make a difference? What is your version of Vim, what options was it compiled with? Does disabling your `.vimrc` with `vim -u /dev/null` make a difference?" CreationDate="2011-02-19T15:15:15.430" UserId="885" />
  <row Id="9594" PostId="7675" Text="I wrote my comment on your question before I saw your answer. So maybe the version or configuration of `col` is the culprit. `col` replaces spaces with tabs, so it's easy to see why it would influence column alignment. I don't know what could have gone wrong though." CreationDate="2011-02-19T15:16:58.657" UserId="885" />
  <row Id="9595" PostId="7675" Text="@Gilles Where is the configuration file for `col`? I looked in `/etc/` but no file name starts with &quot;col&quot;." CreationDate="2011-02-19T15:25:12.437" UserId="250" />
  <row Id="9596" PostId="7675" Text="@phunehehe: Now that I think of it, there shouldn't be any configuration for `col` (neither compile-time nor run-time). [`col` was standardized in earlier versions of Single Unix](http://pubs.opengroup.org/onlinepubs/007908799/xcu/col.html). Does `col -bx` solve the problem? What about `col -bp`?" CreationDate="2011-02-19T15:30:19.403" UserId="885" />
  <row Id="9597" PostId="7674" Text="I am Using Pardus 2011 linux(KDE flavour) currently.From your answer i understood that, i can safely install another version into /dev/sda7 , though it is an extended parttion.But my another doubt is clarified fully. That is , in my current installation , the &quot;/&quot; is mounted on /dev/sda3 and &quot;/home&quot; is mounted on /dev/sda5. If i install another version, how can i give / and /home on another drive. Also should i need another swap partition for new this installation?" CreationDate="2011-02-19T15:32:23.423" UserId="4868" />
  <row Id="9598" PostId="7675" Text="@Gilles `col -bx` works (`col -bp` does not)! Do you want to make that another answer?" CreationDate="2011-02-19T15:37:28.000" UserId="250" />
  <row Id="9599" PostId="7674" Text="@Gilles: my question is whether i can install in the EXTENDED drive." CreationDate="2011-02-19T15:47:24.927" UserId="4868" />
  <row Id="9600" PostId="7674" Text="@Robertew: Linux doesn't care about primary vs extended (logical, actually — extended is `sda4`, 5–7 are called logical partitions) partitions. You need a bootloader in the boot sector, but your existing installation has already taken care of that. [You can share swap partitions.](http://unix.stackexchange.com/q/5656/885)." CreationDate="2011-02-19T16:00:44.700" UserId="885" />
  <row Id="9601" PostId="7675" Text="@phunehehe: You thought the problem might be `col`, so just edit your answer." CreationDate="2011-02-19T16:04:23.577" UserId="885" />
  <row Id="9602" PostId="7674" Text="@Gilles: ok thanks. but i can mount my /home for new installtion in /dev/sda7 itself right?" CreationDate="2011-02-19T16:11:03.647" UserId="4868" />
  <row Id="9603" PostId="7674" Text="@Gilles: i need two mount points../ and /home in sda7 ..possible?" CreationDate="2011-02-19T16:13:05.037" UserId="4868" />
  <row Id="9604" PostId="7674" Text="@Robertew: Yes, you can share home directories, I should have mentioned that in the first place. I've edited my answer to cover this." CreationDate="2011-02-19T16:19:02.110" UserId="885" />
  <row Id="9605" PostId="7674" Text="@Gilles: Thanks. now i have two logical partitions unlike my above picture. ie /dev/sda7 and /dev/sda8 . I would like to give &quot;/&quot; mount point as /dev/sda7 and &quot;/home&quot; mount point as /dev/sda8 , this should work perfectly right?" CreationDate="2011-02-19T16:34:26.690" UserId="4868" />
  <row Id="9606" PostId="7527" Text="It was working with a custom version of Fedora 11. As far as I know, no special steps were required to get the networking card to work. " CreationDate="2011-02-19T20:09:47.833" UserId="3635" />
  <row Id="9607" PostId="7688" Text="@jasdeep, I receive no error. I'm using coreutils 8.10, maybe an old bug?" CreationDate="2011-02-20T00:39:33.567" UserId="29" />
  <row Id="9608" PostId="7686" Text="Turns out it's a problem with outbound NAT Policies on the Untangle box in front of the server.  Tried removing that policy on a whim and it's solid. So I'll go beg for wisdom at the Untangle forums." CreationDate="2011-02-20T00:42:14.380" UserId="4908" />
  <row Id="9609" PostId="7688" Text="@xenoterracide are you an a 64-bit system?" CreationDate="2011-02-20T00:47:21.213" UserId="3169" />
  <row Id="9610" PostId="7667" Text="@guido: Actually, on debian Squeeze (i dont know about lenny or etch) that answer DOES work. It doesnt allow anyone but root to log in, allows authorize keys but it isnt password less, it just accepts no password. I was surpised you could 'delete the password' and that it would work this way. But it did exactly what i wanted and exactly what this answer does and was the only answer so i just accepted it. This answer makes more sense and i'll accept it because i'm willing to bet other distos does allow anyone to login bc its passwordless unlike debian. Anyways good answer." CreationDate="2011-02-20T02:05:48.830" UserId="4069" />
  <row Id="9611" PostId="7690" Text="Are you planning on re-enabling it eventually? System lockdowns? If not, I'd simply remove the account." CreationDate="2011-02-20T02:30:51.273" UserId="3455" />
  <row Id="9612" PostId="7661" Text="From what I'm gleaning, If you're running Apache, this would be a simple addition to the conf files to allow the following of symbolic links. This way, a directory would be a link to another and apache would follow it." CreationDate="2011-02-20T02:34:26.743" UserId="3455" />
  <row Id="9613" PostId="7527" Text="And I have installed one via a CDROM..." CreationDate="2011-02-20T02:49:18.927" UserId="3635" />
  <row Id="9614" PostId="7662" Text="+1, exactly what I was looking for - thank you for such a detailed answer." CreationDate="2011-02-20T02:56:09.050" UserId="3635" />
  <row Id="9615" PostId="7694" Text="How do i 'change the shell to /bin/nologin.'?" CreationDate="2011-02-20T03:47:01.917" UserId="4069" />
  <row Id="9616" PostId="7692" Text="google authorized_keys or try reading this http://www.eng.cam.ac.uk/help/jpmg/ssh/authorized_keys_howto.html basically instead of using a password, you put your publuc key in that file and when you connect with ssh you will automatically be logged in if the one of the public matches your current private key" CreationDate="2011-02-20T03:50:12.430" UserId="4069" />
  <row Id="9617" PostId="7688" Text="@Mikel yes, I am" CreationDate="2011-02-20T04:01:01.423" UserId="29" />
  <row Id="9618" PostId="7694" Text="@acid Just edit `/etc/passwd`: look for that user's line and change for example &quot;/bin/bash&quot; to &quot;/some/invalid/path&quot;." CreationDate="2011-02-20T04:05:15.677" UserId="250" />
  <row Id="9619" PostId="7694" Score="4" Text="@mattdm This is not a complete solution, as a user can still specify a command to be executed. For example `ssh username@hostname /bin/bash` will give the user a bash prompt, regardless of the default shell." CreationDate="2011-02-20T04:07:37.033" UserId="250" />
  <row Id="9620" PostId="7528" Text="Thanks, it is a command that I expect to use quite a bit so it is good to know the intricacies." CreationDate="2011-02-20T05:08:26.993" UserId="4815" />
  <row Id="9621" PostId="7689" Text="Thanks Mikel, i believe so that i'm on a 32 bit machine. Actually, i'm working a remote server and the server wont reveal much information even with `uname` command except the fact that it says its an i686 machine, which i assume are 32 bit machines. As for the 2038 problem, yes, that problem is there infact in the remote server. Thanks again for your input! Much appreciated!!" CreationDate="2011-02-20T06:25:33.610" UserId="2833" />
  <row Id="9622" PostId="7693" Text="Thanks Chris!! i guess the machine is 32 bit indeed. :)" CreationDate="2011-02-20T06:27:26.400" UserId="2833" />
  <row Id="9623" PostId="7689" Text="Yes, i686 is 32-bit.  Glad to help.  If you need help dealing with dates older than that, try the Python and Perl modules I suggested, and post another question if you can't get it working." CreationDate="2011-02-20T06:31:52.343" UserId="3169" />
  <row Id="9624" PostId="7528" Text="The man page actually specifies ::: for the first example. The only difference I had is using bzip2 instead of gzip. " CreationDate="2011-02-20T07:14:01.857" UserId="4815" />
  <row Id="9625" PostId="7528" Text="This part of GNU parallel documentation should be updated then http://www.gnu.org/software/parallel/man.html#example__reading_arguments_from_command_line" CreationDate="2011-02-20T07:25:26.873" UserId="4815" />
  <row Id="9626" PostId="7528" Text="Ah!  I understand now.  It looks like there are at least two versions of `parallel` with different syntax.  The one we apparently both have on our systems is from the `moreutils` package and is not written by GNU.  Something's still very strange, though, if you can type `man parallel` at the command line and get the version with the `:::` syntax." CreationDate="2011-02-20T07:49:06.897" UserId="3629" />
  <row Id="9627" PostId="7698" Text="Someone could make a solution based on elastic tabstops: http://nickgravgaard.com/elastictabstops/" CreationDate="2011-02-20T09:24:23.093" UserId="3169" />
  <row Id="9628" PostId="7698" Text="See also: http://www.vim.org/scripts/script.php?script_id=294 and http://vimcasts.org/episodes/aligning-text-with-tabular-vim/" CreationDate="2011-02-20T09:29:00.197" UserId="3169" />
  <row Id="9629" PostId="7698" Text="And a Go implementation: http://golang.org/pkg/tabwriter/" CreationDate="2011-02-20T10:00:22.940" UserId="3169" />
  <row Id="9630" PostId="7699" Text="Easier than I thought, thanks." CreationDate="2011-02-20T11:02:22.630" UserId="688" />
  <row Id="9631" PostId="7701" Text="Um, thanks, but I was hoping there's a more &quot;portable&quot; way to do that." CreationDate="2011-02-20T11:08:19.643" UserId="1262" />
  <row Id="9632" PostId="7701" Text="Me too!  Couldn't find one.  `pr` and `nl` are the two basic tools for the formatting, and after that `awk`, `sed`, `perl`, etc." CreationDate="2011-02-20T11:13:39.557" UserId="3169" />
  <row Id="9633" PostId="7698" Score="6" Text="Tried piping it to `column -t`?" CreationDate="2011-02-20T11:45:59.193" UserId="1946" />
  <row Id="9634" PostId="7563" Text="@mattdm: What do you mean?" CreationDate="2011-02-20T11:51:12.370" UserId="4297" />
  <row Id="9635" PostId="7698" Text="@alex, that's what I was looking for. Please post it as an answer and I'll accept that." CreationDate="2011-02-20T11:51:27.730" UserId="1262" />
  <row Id="9636" PostId="7701" Score="1" Text="@mikel, it's as simple as `column`" CreationDate="2011-02-20T11:51:47.857" UserId="1262" />
  <row Id="9637" PostId="7702" Text="I'd like to use mRemote as my SSH client, and as far as I can tell, it doesn't support authentication based on key-pairs. This is why I wanted to setup user/pass authentication." CreationDate="2011-02-20T12:33:01.450" UserId="1594" />
  <row Id="9638" PostId="7702" Text="I have mRemote configured to use [PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) as the ssh client. This then allows me to use Pageant to store the keys and login using them. " CreationDate="2011-02-20T12:41:54.553" UserId="591" />
  <row Id="9639" PostId="7702" Text="Cool. Now a followup: http://superuser.com/questions/248091/how-to-ingerate-mremote-and-putty-pageant" CreationDate="2011-02-20T12:48:18.850" UserId="1594" />
  <row Id="9640" PostId="7707" Text="I'm not putting this as an answer because I don't really know but I think it has to do with inodes not being changed when you move a file." CreationDate="2011-02-20T13:25:36.627" UserId="1899" />
  <row Id="9641" PostId="7694" Score="1" Text="@phunehehe — have you tried it? You'll get, in the log, &quot;User [username] not allowed because shell /bin/nologin does not exist&quot;." CreationDate="2011-02-20T13:56:50.737" UserId="2511" />
  <row Id="9642" PostId="7563" Text="@Legate: if a text editor works by copying the file to a temporary location, editing the temporary working copy, and then moving the temporary copy over the original on save, when is the creation time?" CreationDate="2011-02-20T14:02:38.347" UserId="2511" />
  <row Id="9643" PostId="7708" Score="2" Text="&quot;Search around -- you'll probably not find a good answer but will understand it&quot; isn't a good answer." CreationDate="2011-02-20T14:07:07.410" UserId="2511" />
  <row Id="9644" PostId="7654" Text="@phunehehe: Remaining." CreationDate="2011-02-20T14:07:12.277" UserId="131" />
  <row Id="9645" PostId="7679" Score="2" Text="More precisely: an extended partition contains itself again a partition table, which can hold up to four partitions, each of which can in turn be an extended partition which holds a partition table ... leading to a 4-ary tree of partition tables. Or actually, a linked list, since DOS itself only supports one primary and one extended partition per partition table. In other words: an extended partition is a primary partition which itself contains another partition table, a logical partition is a primary partition which does not sit in the root partition table." CreationDate="2011-02-20T14:48:21.407" UserId="1466" />
  <row Id="9646" PostId="7694" Text="@mattdm The man page says &quot;If command is specified, it is executed on the remote host instead of a login shell.&quot; My apologies, I was wrong, that's not what happens." CreationDate="2011-02-20T14:59:20.893" UserId="250" />
  <row Id="9647" PostId="7694" Text="I would delete that embarrassing comment, but leave it here so as not to break the conversation." CreationDate="2011-02-20T15:02:31.100" UserId="250" />
  <row Id="9648" PostId="7709" Score="4" Text="It doesn't always signal an error. `diff` exits with a 0 if the compared files are the same, with a 1 if they are different, and 2 is an error." CreationDate="2011-02-20T15:04:35.333" UserId="2180" />
  <row Id="9649" PostId="7682" Text="That's interesting, I didn't know there where differences across distributions with those keymaps. Personally I use Gentoo, the keymaps are from the sys-apps/kbd-1.15 package." CreationDate="2011-02-20T15:11:07.597" UserId="4648" />
  <row Id="9650" PostId="7712" Score="1" Text="I agree with @dmckee, I just wanted to note: a program can `open` a file for reading **and writing** (as what has happened with the log file in the question)." CreationDate="2011-02-20T15:16:12.240" UserId="3976" />
  <row Id="9651" PostId="7712" Text="@jsbillings: Yes, but there is a risk. If all the filesystem names are gone, you can write GBs to a open file which will evaporate like the morning dew as soon as you close it." CreationDate="2011-02-20T15:21:10.307" UserId="3270" />
  <row Id="9652" PostId="7381" Text="Usint with &quot;flashget.sh&quot; it works really fine. But what does &quot;xargs mplayer&quot; do? For me it gives &quot;xargs: mplayer: No such file or directory&quot;, if I try with an existing directory it gives permition denied (even using sudo)" CreationDate="2011-02-20T15:23:50.400" UserId="3608" />
  <row Id="9653" PostId="7694" Score="1" Text="As far as I know, the invalid-shell behavior isn't actually documented. On the other hand, the man page says that if the password is has a leading !! on Linux the account will be treated as locked, and that doesn't actually work. So, y'know, documentation and reality are only approximate matches anyway. :)" CreationDate="2011-02-20T15:35:20.597" UserId="2511" />
  <row Id="9654" PostId="7668" Text="thank you Gilles" CreationDate="2011-02-20T15:35:28.880" UserId="3077" />
  <row Id="9655" PostId="7712" Score="1" Text="Also, the inode is copied into the kernel and that is what is operated on, not the disk copy.  So the file could be mv'd or cp', but an open file is already working with the kernal data stuctures, not the disk version.  So if you copy another file into the file that is open for writing, the process will still write to the same relative position as in the old file.  This is the reason why programs, like Apache httpd, have a signal handler which closes and reopens the log files." CreationDate="2011-02-20T15:36:24.467" UserId="4194" />
  <row Id="9656" PostId="7667" Text="@acidzombie: many programs, like SSH, have an option to disallow empty passwords. But not every program does. (It's possible that Debian has patched/configured every program they ship to behave this way, but I doubt it.)" CreationDate="2011-02-20T15:44:19.097" UserId="2511" />
  <row Id="9657" PostId="7286" Text="@rvs: are you sure that a _non-privileged_ user can't `su` to the user?" CreationDate="2011-02-20T15:47:35.023" UserId="2511" />
  <row Id="9658" PostId="7704" Text="See also http://superuser.com/questions/247127/what-is-and-in-linux/247131#247131" CreationDate="2011-02-20T15:55:14.770" UserId="4241" />
  <row Id="9659" PostId="7715" Text="One idea is to use it for all tasks you used to use Windows for. If you have hit hit a brick-wall/doubt, come back to ask something more specific." CreationDate="2011-02-20T16:13:17.523" UserId="688" />
  <row Id="9660" PostId="7715" Text="@Tshepang - that could work, but I'm trying to speed up the process." CreationDate="2011-02-20T16:22:06.177" UserId="1594" />
  <row Id="9661" PostId="7715" Score="1" Text="Also, look here Look here http://unix.stackexchange.com/questions/3409/beginning-to-learn-unix-and-linux" CreationDate="2011-02-20T16:28:16.313" UserId="688" />
  <row Id="9662" PostId="7715" Score="1" Text="Where do you want the ideal answer to start? What's your profiency with Linux-based systems? There's stuff like Desktop Environments, distros, and things specific to your job. Do you want the answer to contain details about installation/paritioning too? We really need a bit more info, if not something more specific?" CreationDate="2011-02-20T16:31:41.740" UserId="688" />
  <row Id="9663" PostId="7715" Text="@Tshepang - my proficiency is having using putty to connect to some servers, ps, grep, basic command line usage... This seems very basic when I think about running linux as my main OS." CreationDate="2011-02-20T17:16:15.777" UserId="1594" />
  <row Id="9664" PostId="7715" Score="2" Text="This is pretty wide open. *How* will you be using the computer? What do you need the system to do? Will you have admin access to it?" CreationDate="2011-02-20T17:36:31.443" UserId="2511" />
  <row Id="9665" PostId="7709" Text="It *never* signals an error. It's *only* the exit status of the previous command. The &quot;0 if normal exit&quot; thing is a convention (EXIT_SUCCESS/EXIT_FAILURE)" CreationDate="2011-02-20T17:41:25.603" UserId="489" />
  <row Id="9666" PostId="7715" Text="This is way too broad. I made it CW for now, but it should probably be closed unless it's made more specific" CreationDate="2011-02-20T17:58:04.523" UserId="73" />
  <row Id="9668" PostId="7715" Text="Maybe go to Google and search for &quot;introduction to Linux&quot; or something similar? There are lots of websites out there." CreationDate="2011-02-20T18:17:16.380" UserId="2333" />
  <row Id="9669" PostId="7721" Text="To put it in a nutshell, you have to write part of a terminal emulator in Vim, the part that handles the terminal escape sequences that are present in your input." CreationDate="2011-02-20T19:02:36.043" UserId="885" />
  <row Id="9670" PostId="7706" Text="Did you call `waitpid` between `ptrace(PTRACE_ATTACH,…)` and `read` (otherwise there's a possible race condition)? What error does `read` return? Is the child doing anything peculiar with its memory mapping — can you try your code with a simple child like `sleep`?" CreationDate="2011-02-20T19:11:07.097" UserId="885" />
  <row Id="9671" PostId="7722" Score="1" Text="Are you sure you weren't running an Ubuntu live image? It shouldn't be so slow." CreationDate="2011-02-20T19:23:26.480" UserId="688" />
  <row Id="9672" PostId="7718" Text="I'll wait a bit for Alex to get the credit, I think he deserves it. If he wouldn't answer in a few days I'll accept an answer from somebody else." CreationDate="2011-02-20T19:23:43.320" UserId="1262" />
  <row Id="9673" PostId="7691" Text="Copy-paste the exact commands you tried and the whole output you get. We can probably help you, but not without seeing the exact error messages." CreationDate="2011-02-20T19:41:09.663" UserId="885" />
  <row Id="9674" PostId="7661" Text="@Alexandre: For commenters to see your replies to their comments, you need to include @name in your comment, the way I did here; only one per comment will work. (I just happened to wander by.) A PAC file wouldn't particularly help here, you need a proxy to redirect `page1` to `page2`, and it might as well leave all other traffic unchanged, so you'd just point your browser at the proxy." CreationDate="2011-02-20T19:51:22.473" UserId="885" />
  <row Id="9675" PostId="7682" Score="1" Text="As of Ubuntu 10.04, the keymaps are in the `console-data` package. They're not installed by default. You can find out what package installs files in `/usr/share/keymaps` by running `apt-file search /usr/share/keymaps`." CreationDate="2011-02-20T19:55:10.643" UserId="885" />
  <row Id="9676" PostId="7701" Score="1" Text="@Elzar Excellent!  `column -t -s $'\t'` seems to do the job." CreationDate="2011-02-20T20:33:25.020" UserId="3169" />
  <row Id="9677" PostId="7714" Score="3" Text="More complicated syntax is necessary when there's more possibilities than just 0 or 1 — programs often communicate useful information through exit codes. And it's also useful if you need to re-use that value later on in the code (for logging, for example)." CreationDate="2011-02-20T20:42:48.320" UserId="2511" />
  <row Id="9678" PostId="7667" Text="@mattdm: interesting, i doubt that too. I tested by trying to log in via ssh, then i logged in as a nonroot user and used su which didnt work. su with root obviously did. I only know of two two ways to log in as a user." CreationDate="2011-02-20T20:44:36.977" UserId="4069" />
  <row Id="9679" PostId="7679" Score="1" Text="EFI can use either the legacy DOS MBR scheme and also a new scheme called GPT which does not have this limitation." CreationDate="2011-02-20T21:01:47.047" UserId="2511" />
  <row Id="9680" PostId="7725" Text="I recently tried you suggestion on reinstalling dbconfig-common, but to no avail. I've updated my questions with the results of that endeavor." CreationDate="2011-02-20T21:08:07.270" UserId="3455" />
  <row Id="9681" PostId="7696" Text="It provided the same result but without the verbose feedback required by aptitude. Thanks for catching my mincing of the command names. " CreationDate="2011-02-20T21:11:17.953" UserId="3455" />
  <row Id="9682" PostId="7725" Text="@Ken: Try `dpkg -i /var/cache/apt/archives/{dbconfig-common,php5-mcrypt,libjs-mootools}*.deb`. If you don't have the debs in your cache, download them from http://packages.debian.org . If there are error messages, post them and I (or someone else) *might* help you with them." CreationDate="2011-02-20T21:17:09.840" UserId="885" />
  <row Id="9683" PostId="7725" Text="Attempted to no avail. It seems as if a swarm of locusts have been unleashed on my clean Debian server. Question has been updated to reflect this latest attempt." CreationDate="2011-02-20T21:25:40.580" UserId="3455" />
  <row Id="9684" PostId="7725" Text="@Ken: You need to install the dependencies of `php5-mcrypt` as well. Aptitude would do the job for you; you can try, but I think it will refuse to budge until you bring `php5myadmin` to a good state. `dpkg` is lower level and can operate even on a partially-broken package database." CreationDate="2011-02-20T21:28:55.473" UserId="885" />
  <row Id="9685" PostId="7694" Text="`sudo chsh -s /bin/nologin` would be better than editing `/etc/passwd` by hand.  Also, on some systems, it's `/sbin/nologin`." CreationDate="2011-02-20T21:42:44.250" UserId="3169" />
  <row Id="9686" PostId="7706" Text="I did use wait after ptrace, and I've put a scanf in the child to force it to wait." CreationDate="2011-02-20T21:51:45.367" UserId="4537" />
  <row Id="9687" PostId="7667" Score="1" Text="@acidzombie24, @mattdn: they could have removed *nullok* from *pam.d/password-auth* if debian uses pam (i think so, but i am not a debian expert). However, passwd(1) manpage cleary states that *-d* argument is to create passwordless accounts, so any distro-specific speculation here is secondary, as the question was very general." CreationDate="2011-02-20T22:00:22.723" UserId="4142" />
  <row Id="9688" PostId="7694" Text="`/sbin/nologin` will work too, for different reasons. That'll print out something like &quot;This account is currently not available&quot; and exit. On the other hand, `/bin/nologin` will, with openssh, restrict access because the file _doesn't_ exist." CreationDate="2011-02-20T22:08:10.917" UserId="2511" />
  <row Id="9689" PostId="7694" Text="I'll update my answer with practical &quot;what to do&quot; steps." CreationDate="2011-02-20T22:08:31.553" UserId="2511" />
  <row Id="9690" PostId="7667" Text="@guido: and thats why i like this answer :)" CreationDate="2011-02-20T22:09:36.750" UserId="4069" />
  <row Id="9691" PostId="7729" Text="At a quick glance this kind of error could be triggered by a missing dependency (did you check that you had all the required stuff installed?), an out-of-date dependency (hopefully not the case if that's indeed the latest available module) or a misconfiguration (I've never compiled an Apache module, is there anything like `./configure`?). Is that your whole compilation log, or did you cut earlier output? The whole transcript of your session from when you unpacked might help." CreationDate="2011-02-20T23:07:30.560" UserId="885" />
  <row Id="9692" PostId="7732" Score="1" Text="stat -c %U /path, if brevity is a bonus." CreationDate="2011-02-20T23:18:05.803" UserId="179" />
  <row Id="9693" PostId="7732" Text="That assumes GNU stat, which is not the case on older Linux systems (even on newer systems I'd be wary, there might be a different `stat` (a site-wide standard) in `/usr/local/bin` or somewhere in the user's home), and is rarely available on other unices." CreationDate="2011-02-20T23:18:47.677" UserId="885" />
  <row Id="9694" PostId="7698" Text="Tucked away at the end of Mikel's perl answer is the clincher comment (by Mikel)... *`columns -t`* acts on general whitespace. To work with **tabs only**, use *`column -t -s $'\t'`* " CreationDate="2011-02-20T23:40:22.593" UserId="2343" />
  <row Id="9695" PostId="7729" Text="Gilles, compiling a apache module is not the traditional &quot;configure, make &amp; make install&quot;. All go thru apxs command line who call gcc and the libtool. The whole output of the command is show up there! I have done this before but it was with apache 1.x and MySQL 3.x (long time ago!). I pretty sure that it have something to do with MySQL 5.0 because the doc from source forge speak about 4.1 and in 2005, MySQL 5.0 was not really around." CreationDate="2011-02-20T23:49:48.660" UserId="4931" />
  <row Id="9696" PostId="7734" Text="This works on every non-embedded Linux system and a few others (e.g. Cygwin). Embedded systems are likely to have [Busybox](http://www.busybox.net/downloads/BusyBox.html#find), whose `find` doesn't have `-printf`." CreationDate="2011-02-21T00:22:25.710" UserId="885" />
  <row Id="9697" PostId="7732" Text="`stat -c %U` has the advantage of also working with [BusyBox](http://www.busybox.net/downloads/BusyBox.html#stat), if the `stat` command is compiled in." CreationDate="2011-02-21T00:23:32.167" UserId="885" />
  <row Id="9698" PostId="7729" Text="Someone report the exact same problem http://mail-archives.apache.org/mod_mbox/httpd-users/200512.mbox/%3C00c201c60502$1105e3f0$0200a8c0@ha30885127fb74%3E but no answer there!" CreationDate="2011-02-21T00:23:54.743" UserId="4931" />
  <row Id="9699" PostId="7679" Text="If you plan to run other operating systems on the same hd, during setup it's best to create just one primary partition and use extended for the rest.  Some other OS's won't install if there's isn't one free primary partition." CreationDate="2011-02-21T00:30:55.840" UserId="3389" />
  <row Id="9700" PostId="7734" Text="Like I said, GNU system. " CreationDate="2011-02-21T01:24:50.317" UserId="2511" />
  <row Id="9701" PostId="7725" Text="In attempting to install `php5-mcrypt`, It prompted first the removal of `phpmyadmin` and `dbconfig-common`. I couldn't get any other solutions so I thought it would fall flat on its face when I agreed. Contrary, simply the act that php5-mycrypt was 'suggested' for install allowed aptitude to properly clean the hooks and remove `phpmyadmin` and `dbconfig-common`. I've now since re-installed them along with `phpmyadmin` (albeit through a tar for more control). It appears that the latest version doesn't require mysql for self-organization. Thank you Giles for removing the locusts from my server!" CreationDate="2011-02-21T01:38:35.170" UserId="3455" />
  <row Id="9702" PostId="7721" Text="Thanks, I think I'm giving up. If it's not easy it doesn't make much sense anymore." CreationDate="2011-02-21T02:10:22.653" UserId="250" />
  <row Id="9703" PostId="7726" Text="An alternative to Qemu is VirtualBox. Some have found it easier to start with." CreationDate="2011-02-21T02:48:13.917" UserId="250" />
  <row Id="9704" PostId="7737" Text="wow, right on. I had no idea ffmpeg used email at all, before today (edit, i'll accept in 2 min when it allows me)" CreationDate="2011-02-21T02:52:56.513" UserId="4069" />
  <row Id="9705" PostId="7721" Text="By the way, if all you are trying to do is have a pager with syntax highlighting, look at this link: http://linux-tips.org/article/78/syntax-highlighting-in-less" CreationDate="2011-02-21T03:00:46.947" UserId="4158" />
  <row Id="9706" PostId="7735" Text="Addendum : Modify also this line #define STRCAT ap_pstrcat&#xA;for #define STRCAT apr_pstrcat, otherwise your module will not load (looking for a missing ap_pstrcat symbol, the 1.3 API version instead of the 2.0 version)" CreationDate="2011-02-21T03:07:57.003" UserId="4931" />
  <row Id="9707" PostId="7726" Score="2" Text="Honestly I felt qemu is easier if you are just booting a live cd. 'qemu -cdrom tinycore-current.iso'  and the cd boots.  Otherwise you must select like 10 menus and selections in VirtualBox. Not to mention VirtualBox is not compatible with some live CDs. " CreationDate="2011-02-21T03:54:44.567" UserId="4930" />
  <row Id="9708" PostId="7739" Text="Durrh! :( I couldn't see the obvious... Thanks :) " CreationDate="2011-02-21T03:54:50.860" UserId="2343" />
  <row Id="9709" PostId="7739" Text="In bash, {} expansion happens before $ expansion, so I don't think there's any other way to do this other than using eval or some other trick to cause two passes through the expression." CreationDate="2011-02-21T04:14:57.083" UserId="2511" />
  <row Id="9710" PostId="7742" Text="I was about to ask on SO, but it's more centralized here, and [C API calls are considered on-topic](http://meta.unix.stackexchange.com/q/314/250)." CreationDate="2011-02-21T04:59:30.440" UserId="250" />
  <row Id="9713" PostId="7743" Text="To your argument I would say we need `nreadfds`, `nwritefds` and `nexceptfds` instead of just one `nfds`." CreationDate="2011-02-21T05:46:44.933" UserId="250" />
  <row Id="9714" PostId="7718" Text="Sure! I too was unaware of `column` :)" CreationDate="2011-02-21T05:51:17.373" UserId="3879" />
  <row Id="9716" PostId="7739" Score="2" Text="I just &quot;got&quot; it!... There is *no brace expansion* with `{$one..$three}`, because it is not a valid form of brace-expansion, which in this case expects integers... It only becomes a valid form after the $var expansion, which `eval` then passes through the same process to generate a normal brace sequence expansion... 1 2 3 QED ;) ... Summary: the simple *presence* of a brace pair does't trigger brace expansion... only a valid form triggers it." CreationDate="2011-02-21T06:49:47.967" UserId="2343" />
  <row Id="9717" PostId="7722" Text="Yes i was using a live cd with persistence options chosen from the usb installer, how would i install it? " CreationDate="2011-02-21T08:05:23.477" UserId="4924" />
  <row Id="9718" PostId="7756" Score="2" Text="That, or the more recent [The Linux Programming Interface](http://www.man7.org/tlpi)" CreationDate="2011-02-21T09:44:34.953" UserId="3959" />
  <row Id="9719" PostId="7726" Text="qemu is quite fast if your processor supports VT-x or AMD-V" CreationDate="2011-02-21T09:48:41.830" UserId="3959" />
  <row Id="9720" PostId="7756" Text="APUE was updated recently too.  Second edition: http://www.amazon.com/gp/aw/d.html/ref=aw_d_detail?pd=1&amp;a=0201433079" CreationDate="2011-02-21T09:56:12.887" UserId="3169" />
  <row Id="9721" PostId="7756" Text="@chris I will check Linux Programming Interface out.  Thanks." CreationDate="2011-02-21T10:06:32.327" UserId="3169" />
  <row Id="9722" PostId="7041" Text="Except for the space you have after _HOME=) ...which isn't present in the imput, your statement is effectively the same as *Steven D's* solution in his comment to *jsbillings'* answer... ie. your form is using extended regular expressions. (-r is required)" CreationDate="2011-02-21T10:10:03.397" UserId="2343" />
  <row Id="9725" PostId="7047" Text="@Steven D: The forest is my friend... (bear pun half intended... the other half is: I think I'd be lost without them :) ... but I am considering it, now that you've mentioned -r ... (I've thought about it.. I'll stick with the backslashes, otherwise I'll lose the ability to understand everyone else's sed statements :)" CreationDate="2011-02-21T10:39:59.387" UserId="2343" />
  <row Id="9726" PostId="7731" Text="XFS supports live resizing (you can extend the FS while it's mounted and in use)." CreationDate="2011-02-21T10:42:15.017" UserId="1447" />
  <row Id="9727" PostId="7760" Text="Can you add line of your `last` output? It varies between systems." CreationDate="2011-02-21T11:21:00.910" UserId="4241" />
  <row Id="9729" PostId="7767" Score="2" Text="Maybe the *sruser* has *.* (cwd) in *$PATH* and a *ps* executable in his home directory?" CreationDate="2011-02-21T12:22:01.333" UserId="4142" />
  <row Id="9730" PostId="7768" Text="Perhaps i2cget from i2c-tools, if using Debian, would be useful as well..." CreationDate="2011-02-21T12:54:36.517" UserId="3389" />
  <row Id="9731" PostId="7756" Text="Thanks for the info, I will check on the books when I grab some time." CreationDate="2011-02-21T13:00:32.270" UserId="250" />
  <row Id="9732" PostId="7767" Score="3" Text="try `type ps` or `which ps` to see what is being executed" CreationDate="2011-02-21T13:05:33.857" UserId="250" />
  <row Id="9733" PostId="7768" Text="Can you explain in detail, how you solve the issue ?" CreationDate="2011-02-21T13:06:02.147" UserId="4843" />
  <row Id="9734" PostId="7766" Text="I'm curious that `last | grep -i shutdown` doesn't return anything." CreationDate="2011-02-21T13:12:13.217" UserId="250" />
  <row Id="9735" PostId="7768" Text="@unltrasawblade: I tried i2cget but it is not well-documented, how to do that. Can you enlist few example for the same ?   @elmarco: get-edid | parse-edid is also not useful. I tried that too." CreationDate="2011-02-21T13:44:47.080" UserId="4843" />
  <row Id="9736" PostId="7775" Text="I'm also wondering _if_ it actually makes a difference, but why would that additional slash be stored then?" CreationDate="2011-02-21T14:09:33.217" UserId="863" />
  <row Id="9737" PostId="7776" Text="+1 lsyncd sounds good, I'll have to invest some time to compile/install it without root permissions and lua installed however :(" CreationDate="2011-02-21T14:27:48.973" UserId="863" />
  <row Id="9738" PostId="7767" Text="Hope you didn't run that as `root`?  But how would `.` end up in root's `PATH`?  Hope you didn't add it there yourself." CreationDate="2011-02-21T14:31:01.997" UserId="1946" />
  <row Id="9739" PostId="7763" Text="Also note some technical details. You must have a proper VGA cable with ALL the pins connected, not just the image link, so you have the extra line with the monitor. Also some monitors can &quot;talk&quot; only via DVI and only if your video card natively supports digital DVI output. And, as the last impediment, you may need a video driver capable of requesting EDID information. For example my nvidia fx8600gt, with nvidia-config, can read the hole EDID info from my Samsung H2770P monitor." CreationDate="2011-02-21T14:32:54.300" UserId="2000" />
  <row Id="9740" PostId="7488" Text="+1, good point about how the terminal is what is really being split." CreationDate="2011-02-21T14:37:45.750" UserId="3635" />
  <row Id="9741" PostId="7763" Text="@Patkos:  I have the latest nvidia device driver. The monitor under Question is either DVI or HDMI. I get the EDID info when I run the Xorg with -logverbose 10 option. But the thing is that, I need the EDID info, whenever the new monitor is connected at runtime." CreationDate="2011-02-21T14:43:26.773" UserId="4843" />
  <row Id="9742" PostId="7760" Text="@Olli Sorry, I don't have access to that system right now, but it is a time between parentheses. It isn't described in the man page." CreationDate="2011-02-21T14:58:11.263" UserId="4463" />
  <row Id="9743" PostId="7757" Text="I've tried that and it doesn't have any effect. Thanks though! I should have mentioned that I tried that." CreationDate="2011-02-21T15:50:09.680" UserId="4937" />
  <row Id="9744" PostId="7760" Text="@Andrea: I misunderstood your question, but I edited my answer to reflect what you asked (at least what I understood you asked)." CreationDate="2011-02-21T16:13:58.020" UserId="4241" />
  <row Id="9745" PostId="7760" Score="1" Text="@Olli thanks for the edit! You nailed it. :)" CreationDate="2011-02-21T16:21:41.643" UserId="4463" />
  <row Id="9746" PostId="7760" Text="@Andrea: if my answer is answering to that question, you should accept it." CreationDate="2011-02-21T16:22:37.320" UserId="4241" />
  <row Id="9747" PostId="7766" Text="Thanks, the post is insightful and answers the question." CreationDate="2011-02-21T16:25:42.137" UserId="4463" />
  <row Id="9748" PostId="7760" Text="@Olli I know, thanks ;)" CreationDate="2011-02-21T16:30:12.097" UserId="4463" />
  <row Id="9749" PostId="7756" Text="@Mikel: APUE 2nd Ed: June 27, 2005 (covers linux-2.4.22) TLPI: October 2010 (covers linux-2.6.35)" CreationDate="2011-02-21T16:35:07.083" UserId="3959" />
  <row Id="9750" PostId="7598" Text="`ethtool {network_interface} | grep &quot;Link detected&quot; | cut -f 3 -d ' '` will return `yes` if a machine is connected, and `no` if it is not." CreationDate="2011-02-21T17:04:52.170" UserId="3389" />
  <row Id="9752" PostId="3291" Text="Doesn't free as in beer mean that you have some obligation (sales pitch or helping a buddy move) to the person originating the free beer?" CreationDate="2011-02-21T17:36:10.190" UserId="3258" />
  <row Id="9753" PostId="7755" Text="Reread the question, he wants to do `echo &quot;password&quot; | su` or something like that - NOT get rid of the password, NOT use sudo (which is less secure than su...)" CreationDate="2011-02-21T17:36:55.000" UserId="1899" />
  <row Id="9755" PostId="3299" Score="1" Text="Little old, but Is LAMP supposed to link to archlinux.org? :O" CreationDate="2011-02-21T17:42:15.273" UserId="1899" />
  <row Id="9760" PostId="7763" Text="Did you try nvidia-settings from console to query the EDID?" CreationDate="2011-02-21T18:37:17.710" UserId="2000" />
  <row Id="9761" PostId="7791" Text="Thanks Gilles, this is quite close to what I need, however I forgot to mention in my original post (re-edited it now) that I also need to identify the UNKNOWN patterns in the same fashion (one line per pattern). This would probably include some heavier script-based processing, I imagine?" CreationDate="2011-02-21T20:42:43.127" UserId="3235" />
  <row Id="9762" PostId="7791" Text="@Jas: See my edit. If you want to print all unknown lines, use `1 {print}`. Note that the default handler should come last. The `next` keyword causes all subsequent handlers to be skipped." CreationDate="2011-02-21T20:47:29.283" UserId="885" />
  <row Id="9763" PostId="7777" Text="The protocol that the monitor uses to report information to the computer is called [EDID](http://en.wikipedia.org/wiki/Extended_display_identification_data), so this question is actually a duplicate of [Edid information](http://unix.stackexchange.com/questions/7622/edid-information)." CreationDate="2011-02-21T20:48:09.517" UserId="885" />
  <row Id="9764" PostId="7777" Text="@SHW: I've just noticed you were the one who posted the original question. How is this one different? (I initially thought you were a different person who didn't know about EDID.)" CreationDate="2011-02-21T20:52:20.400" UserId="885" />
  <row Id="9765" PostId="7767" Score="1" Text="If `type ps` shows that `/usr/bin/ps` is being executed, run `truss ps` to see what's going on. (But `.` in `$PATH` is the most obvious explanation.)" CreationDate="2011-02-21T21:11:27.553" UserId="885" />
  <row Id="9766" PostId="7791" Text="@Gilles, this is certainly very helpful. Thanks." CreationDate="2011-02-21T21:15:58.390" UserId="3235" />
  <row Id="9767" PostId="7755" Text="@mathepic: If `su` is only being used for a specific command, giving the user `sudo` powers to run that command is a lot better security than storing the root password in a file in most use cases." CreationDate="2011-02-21T21:20:42.160" UserId="885" />
  <row Id="9769" PostId="7743" Text="Maybe it's so that `nfds` can go in a register for faster access.  If it had to track three numbers, along with all the other arguments, maybe the CPU would not have enough registers.  Of course, the kernel could have created its own `nfds` based on your hypothetical 3 variables.  So my guess is it's exposing an implementation detail to gain efficiency." CreationDate="2011-02-21T21:29:24.217" UserId="3169" />
  <row Id="9770" PostId="7755" Text="@Gilles: correct but a _certain_ distribution has sort of changed the normal use of sudo. I do like sudo for what it was meant to be used as - but not as a replacement for `su`." CreationDate="2011-02-21T21:37:49.397" UserId="1899" />
  <row Id="9772" PostId="7739" Text="@fred: Welcome :-)" CreationDate="2011-02-21T21:48:28.800" UserId="3519" />
  <row Id="9773" PostId="7743" Text="@Mikel, phunehehe: Separate `nfds` arguments would bring very little gain. Most of the times, the process has opened very few processes relative to `FD_SETSIZE`. A typical case might have (4,4,2) out of 1024; making the kernel check (4,4,4) is a big win over (1024,1024,1024), but optimizing down to (4,4,2) would be near-useless." CreationDate="2011-02-21T21:56:00.273" UserId="885" />
  <row Id="9774" PostId="7740" Text="Please provide some more details. Post your vsftpd.conf for example." CreationDate="2011-02-21T22:01:27.403" UserId="1447" />
  <row Id="9775" PostId="7743" Text="@Gilles: the gain would be a cleaner API.  (As it is, either the programmer has to do the extra work to calculate `nfds`, or be lazy and call `select(FD_SETSIZE, ...)`, which would be slower.)" CreationDate="2011-02-21T22:38:16.537" UserId="3169" />
  <row Id="9776" PostId="7743" Text="OTOH, tracking only one max variable could be easier for the programmer too." CreationDate="2011-02-21T22:44:16.637" UserId="3169" />
  <row Id="9777" PostId="7743" Text="@Mikel: The single-`nfds` API is cleaner on all counts: there are fewer arguments, and neither side needs to precisely track which fd is used in which direction. Passing the largest fd used anywhere in the program is almost always ok." CreationDate="2011-02-21T23:00:09.083" UserId="885" />
  <row Id="9778" PostId="7778" Text="@cjm thanks for the typo corrections" CreationDate="2011-02-21T23:02:58.510" UserId="2780" />
  <row Id="9780" PostId="7801" Text="You can replace &quot;wajig&quot; with *" CreationDate="2011-02-22T00:02:30.063" UserId="2536" />
  <row Id="9781" PostId="7803" Score="2" Text="Do the sources of software in [Where can I find Software for Unix/Linux that does X?](http://unix.stackexchange.com/questions/2787/where-can-i-find-software-for-unix-linux-that-does-x) help?" CreationDate="2011-02-22T00:29:31.593" UserId="885" />
  <row Id="9782" PostId="7803" Text="Does help, I will try my search there. Thanks! In the meantime, if you know of a specific one that's good, please let me know, too." CreationDate="2011-02-22T00:54:50.477" UserId="1375" />
  <row Id="9783" PostId="7743" Text="@Gilles: &quot;cleaner&quot; will depend on the use case.  Both ways seem to have advantages.  It would be good to discuss in more detail with you, but a 600-character comments box is not the place. ;-)" CreationDate="2011-02-22T02:25:31.360" UserId="3169" />
  <row Id="9784" PostId="7803" Text="Have to tried VLC?  In general I find that VLC covers most of these sorts of needs." CreationDate="2011-02-22T02:50:14.287" UserId="3936" />
  <row Id="9785" PostId="7735" Text="Addendum 2 : If you compiled, installed and start your apache server and it still doesn't work then try this line in your *.conf ou .htaccess file :  AuthBasicAuthoritative Off. Since Apache 2.2 all the auth stuff changed a lot!!!" CreationDate="2011-02-22T04:33:45.427" UserId="4931" />
  <row Id="9786" PostId="7799" Text="@Gilles: Thanks for the options.. It's good to see them all grouped .. I'll stick with bash and eval... eval is simple enough now that I know what's going on behind the scenes; so it's no longer a problem. No need to change a good horse because of the rider :)..." CreationDate="2011-02-22T04:36:06.123" UserId="2343" />
  <row Id="9788" PostId="6179" Text="I see you added the `thank you` part, which I removed. I'm not going to remove it (it's no big deal), but note that here there's no need for such (we consider it noise, and are only interested in the meat of the question itself), and in fact we consider participating more to be a better way to show gratitude." CreationDate="2011-02-22T05:08:16.103" UserId="688" />
  <row Id="9790" PostId="7767" Text="@guido Thanks for the answer.&#xA;@phunehehe @Gilles Thanks to you guys, TIL 3 new commands (I'm a UNIX newb)" CreationDate="2011-02-22T05:20:00.647" UserId="4950" />
  <row Id="9791" PostId="7804" Score="1" Text="OP mentioned `easy`, and by that I think he is thinking GUI. So maybe you could at least point to a tutorial that de-mystifies ffmpeg." CreationDate="2011-02-22T05:32:59.713" UserId="688" />
  <row Id="9792" PostId="7777" Text="@Gilles, Yes I am the one who posted that Question too. But the reason to post here with different Question ( and with same intention ), is to have the solution which will be something different than EDID solution. Though , still I am fighting with that solution too." CreationDate="2011-02-22T06:20:36.617" UserId="4843" />
  <row Id="9793" PostId="7761" Text="Thanks, I'll look into that." CreationDate="2011-02-22T06:52:59.103" UserId="2274" />
  <row Id="9794" PostId="6956" Text="Thanks. Got myself the video. Also following the inline tutorials." CreationDate="2011-02-22T06:54:00.927" UserId="2274" />
  <row Id="9795" PostId="7814" Text="You mind looking at the question again, and clarify; the 2nd and 3rd commands are exactly again." CreationDate="2011-02-22T07:47:26.967" UserId="688" />
  <row Id="9797" PostId="7795" Text="+1 that's an interesting corner-case" CreationDate="2011-02-22T08:17:38.313" UserId="863" />
  <row Id="9798" PostId="7815" Text="I don't know what's happening, but I'm giving you the best congratulations!" CreationDate="2011-02-22T09:01:11.970" UserId="250" />
  <row Id="9799" PostId="7820" Text="You can also make that a function and have several configuration directories, that is what I am currently doing, have a look at my bashrc at https://github.com/jdevera/dotfiles/blob/master/bashrc" CreationDate="2011-02-22T09:05:02.403" UserId="4974" />
  <row Id="9800" PostId="7818" Text="Thanks. I had tried using `lshw`, but the driver was lost within all the other configuration. :)" CreationDate="2011-02-22T09:11:56.130" UserId="4812" />
  <row Id="9801" PostId="7818" Text="PS, the 4th column is the dependencies column and 3rd column is the sum of these dependencies. One driver typically consists of several different .ko files, each of which has a corresponding in `lsmod`." CreationDate="2011-02-22T09:13:53.070" UserId="4812" />
  <row Id="9802" PostId="7821" Text="Are you looking for a command that would error if given arguments, or that just don't process their arguments?  I'm not immediately thinking of any in the former category (though one would be easy to create, and they may well exist), but the latter category has various examples.  And of course there are *many* unix commands that do something useful without any arguments, but I'm *guessing* that's not what you're asking." CreationDate="2011-02-22T09:56:38.273" UserId="2977" />
  <row Id="9803" PostId="857" Text="This is an interesting distinction.  I'm sure each of these has advantages, for different use cases.  (tmux advantage: two people attached to same tmux session e.g. for remote pair programming would always see the same thing; screen advantage: one person attached to the same screen from two places for two different purposes can have two different views, even simultaneously (with, say, side-by-side (OS/windowmanager-level) windows).)" CreationDate="2011-02-22T10:10:32.313" UserId="2977" />
  <row Id="9804" PostId="7820" Text="If you're going to quote the conf_file variable in your source command, it's probably good practice to quote it in your [[ pseudo-command, too.  This apparently isn't actually required, since bash seems to expand variables differently inside of it than out, but it would help prevent an accidental removal of them in other places...  To wit: compare: `foo='test this thing'; touch $foo; [[ -f $foo ]] &amp;&amp; echo true || echo false` versus `foo='test this thing'; touch &quot;$foo&quot;; [[ -f $foo ]] &amp;&amp; echo true || echo false` (run these from an empty directory for improved sanity)" CreationDate="2011-02-22T10:21:02.690" UserId="2977" />
  <row Id="9805" PostId="7228" Text="I'm fairly sure vnc has the ability to do multicast... if anybody still routes those packets.  a web search for &quot;vnc multicast&quot; does return some hits, though.  (Though they seem to be talking about different versions, and I could have sworn I remembered it being built in, as of c. mid-to-late 1990s... but I wasn't really using it myself, merely watching others do so.)" CreationDate="2011-02-22T10:27:24.367" UserId="2977" />
  <row Id="9806" PostId="7490" Text="I meant using e.g. `dd if=/dev/dvd of=iso-piece.2 bs=1024m count=1 skip=1024m` etc. instead of `split`." CreationDate="2011-02-22T11:08:14.027" UserId="4799" />
  <row Id="9808" PostId="7827" Text="You answer yourself with the question tags: sed, awk, regex :)" CreationDate="2011-02-22T11:36:34.480" UserId="1946" />
  <row Id="9809" PostId="7827" Text="Please specify a programming / scripting language in which you prefer the answer." CreationDate="2011-02-22T11:38:27.847" UserId="2000" />
  <row Id="9810" PostId="7827" Text="@Patkos - bash scripting + grep/awk/sed , whichever works best..." CreationDate="2011-02-22T11:40:49.537" UserId="3235" />
  <row Id="9811" PostId="7804" Text="@Tshepang - I would hope that anyone posting here would not require a GUI to make things easy for them." CreationDate="2011-02-22T12:17:03.077" UserId="3887" />
  <row Id="9812" PostId="7804" Score="2" Text="Why's that? There's many tasks that are made easy by using a GUI." CreationDate="2011-02-22T12:26:00.280" UserId="688" />
  <row Id="9813" PostId="7815" Text="I don't know what fixed your problem but these things happen with wlan cards. For example I turned it off once with the hotkey and it worked so well I couldn't turn it back on again. Then I fixed it from windows. Must be black magic. :)" CreationDate="2011-02-22T12:33:48.513" UserId="4477" />
  <row Id="9814" PostId="7822" Text="`yes` is another one." CreationDate="2011-02-22T12:44:55.337" UserId="3519" />
  <row Id="9815" PostId="7841" Text="Accept your own answer please if it's working." CreationDate="2011-02-22T13:21:27.117" UserId="2000" />
  <row Id="9816" PostId="7831" Score="1" Text="What do you do if token2 contains a whitespace?" CreationDate="2011-02-22T13:34:13.320" UserId="678" />
  <row Id="9817" PostId="7822" Score="1" Text="@asoundmove `yes` doesn't _require_ an argument, but it does accept/use one." CreationDate="2011-02-22T13:43:09.720" UserId="4355" />
  <row Id="9818" PostId="7831" Score="1" Text="In that case you better take the approach as **fred.bear** has suggested. However, please remember to restore your `IFS` to the original value in that case." CreationDate="2011-02-22T13:48:11.787" UserId="3879" />
  <row Id="9819" PostId="7821" Score="6" Text="I can't help myself. Why? :P" CreationDate="2011-02-22T14:11:22.387" UserId="4355" />
  <row Id="9820" PostId="7815" Text="@chandru by any chance did you ever check `dmesg` (or the kernel logs) when it was failing to work? or have any kind of info for us besides, it didn't work before now it does. what's the output of `lspci` or `lshw` for the card? we don't even know what you're running. For all I know the livecd was the first time you tried a reboot." CreationDate="2011-02-22T14:24:08.700" UserId="29" />
  <row Id="9821" PostId="7841" Text="@Patkos: I can do that only after 20 hours. ( as suggested by site )" CreationDate="2011-02-22T14:28:12.973" UserId="4843" />
  <row Id="9822" PostId="7843" Score="1" Text="In the first qurarter of the hour, this will produce a minutes output with only a single 0 instead of 00" CreationDate="2011-02-22T14:40:12.870" UserId="2343" />
  <row Id="9823" PostId="7832" Score="1" Text="Do NOT underestimate the importance of &quot;Important bit part 2&quot;. I've seen extraordinarily hard to debug problems arise from getting Important bit part 2 wrong." CreationDate="2011-02-22T14:44:15.423" UserId="732" />
  <row Id="9824" PostId="7810" Text="That did it, thanks!" CreationDate="2011-02-22T14:44:40.600" UserId="1070" />
  <row Id="9826" PostId="3299" Text="no, it should link to the lamp wiki on archlinux.. fixed.. and nice catch." CreationDate="2011-02-22T15:29:22.273" UserId="1327" />
  <row Id="9827" PostId="7854" Text="Sorry, I obviously have trouble explaining myself lately. The problem is that when I want to run something with the elevated privileges, I have to go through a special library call (something like `doCommandAsRoot`). And this function only accepts a path to the command and its arguments, so there’s no way for me to use output redirection right away. I could go through shell (as shown in the question), but I don’t like that security-wise." CreationDate="2011-02-22T16:10:43.160" UserId="4986" />
  <row Id="9828" PostId="5719" Score="1" Text="Try the `RTLD_LOCAL` and `RTLD_DEEPBIND` dlopen flags in you app. I don't have time to test this now but it should work based on the manpage." CreationDate="2011-02-22T16:15:28.447" UserId="4477" />
  <row Id="9829" PostId="7858" Text="Awesome! Thanks for pointing me in the right direction." CreationDate="2011-02-22T16:27:46.023" UserId="1655" />
  <row Id="9830" PostId="7854" Text="@zoul: I thought you are writing a shell script. Is it OK to write the magic cookie to a file that is accessible for unprivileged processes? If it is then write it to such a file and call `doCommandAsRoot(&quot;dd&quot;, &quot;if=/tmp/unprotected_file&quot;, &quot;of=/some/where/file&quot;)`." CreationDate="2011-02-22T16:28:44.747" UserId="4477" />
  <row Id="9831" PostId="7816" Text="Thanks, this cleared up what I was thinking!" CreationDate="2011-02-22T16:34:22.847" UserId="4972" />
  <row Id="9832" PostId="7854" Text="No, it’s a regular compiled application (question updated). I’m just looking for “shell” commands to serve as the helper so that I don’t have to write it myself. Yes, the cookie is nothing sensitive. The `dd` example is pretty close to what I want, thank you. Could you think of something even simpler?" CreationDate="2011-02-22T16:38:44.627" UserId="4986" />
  <row Id="9833" PostId="7837" Text="magic thanks. That explains it!" CreationDate="2011-02-22T16:40:43.857" UserId="4979" />
  <row Id="9834" PostId="7854" Text="Sure — you could use `cp` or `mv` instead of `dd`." CreationDate="2011-02-22T16:51:27.890" UserId="2511" />
  <row Id="9835" PostId="7854" Text="I mean simpler as *without the need to copy* :)" CreationDate="2011-02-22T16:54:59.093" UserId="4986" />
  <row Id="9836" PostId="7850" Text="Is there a reason why `/bin/sh -c 'echo magic &gt; /path/to/magic/file'` does not work?  That would be an executable file and two arguments.  You would need to build the last argument as a string (with sprintf or equivalent).  Is there as reason this wouldn't work for you?  From your question it sounds like doCommandAsRoot() does not take input to stream to the command, correct?  Otherwise you could replace the last argument with `'cat &gt; /path/to/magic/file'` and pass the data instead of constructing a string." CreationDate="2011-02-22T16:56:21.010" UserId="4194" />
  <row Id="9837" PostId="7854" Text="I don't think there are any standard programs which take a value on the command line and write that value to a file. However, since the command line and arguments aren't necessarily secure from snooping, you probably shouldn't do that with a magic cookie value _anyway_. So the copy approach is the best one I can think of." CreationDate="2011-02-22T17:03:30.460" UserId="2511" />
  <row Id="9838" PostId="7850" Text="The shell example works, but I’d hate to call the shell with root privileges just to create a simple file. The library does take a communication pipe argument (it’s [AuthorizationExecuteWithPrivileges](http://www.google.com/search?q=AuthorizationExecuteWithPrivileges)), that could be used to write the cookie using `tee`. Thanks!" CreationDate="2011-02-22T17:05:00.087" UserId="4986" />
  <row Id="9839" PostId="7856" Text="OMG.. true and false are commands!... must try this: true; echo $? ... 0 | false; echo $? ... 1 ... yup! ... an ineresting bit if info... bash **is** different :)&#xA;&#xA;" CreationDate="2011-02-22T17:17:23.853" UserId="2343" />
  <row Id="9840" PostId="7860" Text="Interesting. The Multiseat X sounds pretty cool albeit maybe not practical for some haha. Anyways thanks!. " CreationDate="2011-02-22T17:45:29.230" UserId="4877" />
  <row Id="9841" PostId="7863" Text="Thank you, this is a useful discussion. Fortunately the “magic cookie” is not a security device, it can be plainly seen by anybody." CreationDate="2011-02-22T18:39:31.670" UserId="4986" />
  <row Id="9842" PostId="7830" Text="To clarify: by &quot;writing something&quot;, that's &quot;producing some output&quot;, not &quot;writing to some file somewhere&quot;." CreationDate="2011-02-22T18:51:29.013" UserId="2511" />
  <row Id="9843" PostId="7829" Text="I'm not completely sure a weird setup involving mixed versions of SSH couldn't cause this message, but I highly doubt it. The “protocol version mismatch” in the message is about the rsync protocol, not about the underlying transport (which happens to be ssh here)." CreationDate="2011-02-22T19:17:25.907" UserId="885" />
  <row Id="9844" PostId="7822" Score="1" Text="As is so often the case, this largely depends on what Unix implementation you are using. Yes, POSIX doesn't specify any arguments for `true`, but that doesn't stop the GNU project: `true --help` yields&#xA;`Aufruf: /bin/true NAME&#xA; oder:  /bin/true OPTION&#xA;Aufruf: %s [ignorierte Kommandzeilen-Argument]&#xA; oder:  %s OPTION&#xA;Mit einem Status-Code beenden, der erfolgreiche Ausführung signalisiert.` (21 lines total.) You'll notice that it is even localized!" CreationDate="2011-02-22T19:32:41.460" UserId="1466" />
  <row Id="9845" PostId="7836" Text="You misunderstood the question. The point is to round the date (down) to a multiple of 15 minutes." CreationDate="2011-02-22T19:45:35.950" UserId="885" />
  <row Id="9846" PostId="2431" Text="Note &quot;If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe.&quot;" CreationDate="2011-02-22T20:00:03.183" UserId="2511" />
  <row Id="9847" PostId="7859" Text="Various dark corners of the systems are littered with the jumbled remains of several generations of solutions to this problem, the most user-visible of which is the `TERM` environment variable." CreationDate="2011-02-22T20:09:25.097" UserId="3270" />
  <row Id="9848" PostId="7841" Text="@It's too late now, but there's no need to make your answer community wiki just because you're answering your own question. This is explicitly allowed in the [FAQ](http://unix.stackexchange.com/faq)." CreationDate="2011-02-22T20:14:20.517" UserId="885" />
  <row Id="9849" PostId="5328" Text="@jlliagre — I believe in those cases what it *really* means is that there's a firmware-level hypervisor mediating access to the actual hardware." CreationDate="2011-02-22T20:36:44.817" UserId="2511" />
  <row Id="9850" PostId="7864" Text="On PCs (I don't know if this is also true on Macs) `showkey` doesn't show the same keycodes that X uses. Run `xev` to see the X keycodes and their actions. Show us the output of `xmodmap -pm` and the output of `xev` when you press each of the keys involved." CreationDate="2011-02-22T21:05:08.270" UserId="885" />
  <row Id="9851" PostId="7873" Score="1" Text="Finding the value of HZ (that is, jiffies per second) turns out to be ridiculously complicated! From comments in the `sysinfo.c` in the procps package, one can a) include the kernel header file (and recompile if a different kernel is used, b) use the posix sysconf() function, which, sadly, uses a hard-coded value compiled into the c library, or c) ask the kernel, and there's no official interface to doing that. So, the code includes a series of kludges by which it determines the correct value. Wow." CreationDate="2011-02-22T21:54:32.757" UserId="2511" />
  <row Id="9852" PostId="5328" Text="There is no such need with physical domains. The hardware resources are dispatched between the domains then are electrically isolated. Thanks to this isolation, there is no need for an underlying hypervisor layer on these kind of servers. " CreationDate="2011-02-22T21:55:59.743" UserId="2594" />
  <row Id="9853" PostId="7875" Score="1" Text="This is basically correct as to what the problem is, but the issue isn't really libraries (which could be dragged along) but system calls, which are requests to the OS kernel. If the OS doesn't provide a compatible system call interface, you are out of luck." CreationDate="2011-02-22T22:11:20.047" UserId="2511" />
  <row Id="9854" PostId="7875" Text="Aah, This is excellent. This is exactly the kind of constructive correction I was hoping for. Thanks a bunch :D&#xA;&#xA;Could you tell me more about these supposed system calls, or redirect me to somewhere I can learn more about them?" CreationDate="2011-02-22T22:16:21.370" UserId="4994" />
  <row Id="9855" PostId="7864" Text="[Do not cross-post between Stack Exchange sites.](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073) [Pick one](http://superuser.com/q/247764/42315) and flag the other to have it closed." CreationDate="2011-02-22T22:34:43.020" UserId="885" />
  <row Id="9856" PostId="7875" Score="1" Text="They're not &quot;supposed&quot;, they are actual. :) Here's a good start: http://www.ibm.com/developerworks/linux/library/l-system-calls/" CreationDate="2011-02-22T22:55:06.953" UserId="2511" />
  <row Id="9857" PostId="7875" Text="=P Good point, touché. And thanks again." CreationDate="2011-02-22T23:17:39.547" UserId="4994" />
  <row Id="9859" PostId="7832" Text="@Gilles: Your mod to the code (`set -f`, `set +f`) puzzles me; I don't see the connection between field seperators and globbing, but I'm happy to learn.. I am even more puzzled by the fact that when I introduce `&quot;  *  &quot;` to the first line, I get globbing of `echo normal. $A` which is the normal expectation.. However what has me completely baffled is that I get **no globbing** in any of the present lines when IFS=; This applies whether globbing is on or off..  And with globbing off  in the same block, a new line  `echo *` does expand!.. What's going on here? Globing *and* no globbing together." CreationDate="2011-02-23T00:04:41.920" UserId="2343" />
  <row Id="9860" PostId="7881" Score="1" Text="Or `basename $( readlink /sys/class/net/eth0/device/driver )`." CreationDate="2011-02-23T00:09:13.330" UserId="2511" />
  <row Id="9861" PostId="7875" Score="1" Text="That said, your &quot;crazy&quot; idea isn't completely impossible. Just a lot of work. The Wine project is essentially this for running MS Windows binaries on Linux (or OS X). It provides a translation layer for system calls. http://wiki.winehq.org/FAQ#head-c9e6502ad636315e905d07f7e44594757a6738e3" CreationDate="2011-02-23T00:12:31.220" UserId="2511" />
  <row Id="9862" PostId="7832" Text="@fred.bear: It's not about separators, it's about unprotected variable substitution (`$A`). Two things happen to `$A`: [field splitting](http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_05) (on `IFS`) and [pathname expansion](http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_06) (globbing). Compare `sh -c 'set -f; echo $0' '/*'` with `sh -c 'echo $0' '/*'`. I don't know what precise command has you confused, post a standalone example if you want me to look at it." CreationDate="2011-02-23T00:19:16.693" UserId="885" />
  <row Id="9863" PostId="7859" Text="Related question on the multiheading aspect: http://serverfault.com/q/183086/53362" CreationDate="2011-02-23T00:25:16.397" UserId="457" />
  <row Id="9864" PostId="7832" Text="You really got me thinking this time!... and I've finally worked it out! ... The *seemingly* eratic behaviour I observed comes from &quot;observational habit&quot; (If it looks like a duck, quacks like a duck, and walks like a duck, it's a duck! ... however all bets are off with *space* (the duck) when IFS=: ... the *space* may still be used by *people* as a visual delimiter, but globbing sees it only as just another character, and globbing needs a delimiter!... So `echo *` will expand &quot;normally&quot;, but `A=' *'`;echo $A` will only expand for a file whose name has a leading space...  Mystery unravelled! ;)" CreationDate="2011-02-23T01:43:26.470" UserId="2343" />
  <row Id="9865" PostId="7832" Text="PS... but I still don't see why I need to turn globbing off... (must go now.. I'll think about it as I drive... and read your reference links later..." CreationDate="2011-02-23T01:47:43.890" UserId="2343" />
  <row Id="9866" PostId="7883" Score="1" Text="@shrikant if crunchbang detected it... I'd say it has a bug in its installer if it didn't add it." CreationDate="2011-02-23T02:05:52.337" UserId="29" />
  <row Id="9867" PostId="7883" Text="Yeah, it definitely looks that way. I also doubt if it only occurs when installed through usb disk, not sure though." CreationDate="2011-02-23T02:39:45.680" UserId="898" />
  <row Id="9868" PostId="7884" Score="1" Text="Also, iBCS was maintained by SCO, and somehow they didn't much feel like contributing open source to Linux, nor did the Linux community feel like cooperating with them. Not that, when this entire clusterfuck happened, there were any developers left at SCO anyway, it was basically an empty shell of a company, consisting of the Unix license, the SCO brand name and a couple dozen lawyers." CreationDate="2011-02-23T02:41:38.140" UserId="1466" />
  <row Id="9869" PostId="7875" Text="Well, I figured it wouldn't be completely impossible, but I also did not expect it to be nearly as simple as I described it. I wrote the question with the intention of being corrected. This at times seems like a more efficient method of getting to the heart of the matter than asking a direct question such as &quot;How do I convert a linux binary to run on Mac OS &quot;. Also I have used wine from time to time, but I had never really pondered about how it worked before, I think I shall go look into it sometime now." CreationDate="2011-02-23T02:51:24.830" UserId="4994" />
  <row Id="9870" PostId="7812" Text="&quot;ps&quot; has no executable permission bits set in your ls output. It should then be ignored by the shell while exploring your PATH." CreationDate="2011-02-23T04:46:19.140" UserId="2594" />
  <row Id="9871" PostId="7885" Text="Thanks for the tips. For what its worth, I think I'll first blog my experience before I forget it :). I will try to reproduce it when I get home." CreationDate="2011-02-23T05:43:47.850" UserId="898" />
  <row Id="9872" PostId="7840" Score="3" Text="hey xeno, Thanks for your efforts up to now. It has been highly appreciated. Would love to see you as mod again." CreationDate="2011-02-23T09:11:13.257" UserId="1327" />
  <row Id="9873" PostId="6356" Text="Sadly, my router doesn't do QoS for wi-fi." CreationDate="2011-02-23T09:23:57.283" UserId="688" />
  <row Id="9874" PostId="3933" Text="How do you get it to display BW consumption per process? Look at my Answer to see what I'm looking for. Can this do that, or close enough?" CreationDate="2011-02-23T09:24:37.827" UserId="688" />
  <row Id="9875" PostId="7599" Text="The `-L` option is better because it also shows the numbers associated with the signal names, and puts them in a nice table format. My version of procps is **3.2.8**." CreationDate="2011-02-23T09:43:21.120" UserId="688" />
  <row Id="9876" PostId="7897" Text="What hardware tests did you run? What tools did you use?" CreationDate="2011-02-23T12:08:54.877" UserId="688" />
  <row Id="9877" PostId="7899" Score="5" Text="See http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard" CreationDate="2011-02-23T11:57:09.643" />
  <row Id="9878" PostId="7899" Score="4" Text="Offtopic. But the simple trick is to never install anything outside of the package management system." CreationDate="2011-02-23T11:58:45.387" UserId="2671" />
  <row Id="9879" PostId="7899" Score="1" Text="If it's not from APT then it probably isn't something you can just install - you'll need to compile and install it yourself. And then it'll start getting confused with APT-based packages. It's simplest to just find APT / .debs for whatever you need as far as you can." CreationDate="2011-02-23T11:59:36.170" UserId="2913" />
  <row Id="9880" PostId="7899" Score="2" Text="@Rup Plus if a software doesn't have a deb package you probably shouldn't install it, since it's either something deprecated, or bleeding edge, or incompatible with apt-based distributions." CreationDate="2011-02-23T12:05:50.067" UserId="2671" />
  <row Id="9881" PostId="7897" Text="HW is HP proliant, I used their util to check RAID status normal smart tools do not work, and I used memtest to check memory. I am having this problem for several months, and its never the same server." CreationDate="2011-02-23T12:26:19.730" UserId="5016" />
  <row Id="9882" PostId="7894" Text="I remember this question being ask before." CreationDate="2011-02-23T12:42:47.837" UserId="250" />
  <row Id="9883" PostId="7900" Score="1" Text="Good answer, really, but one shouldn't have to do it every day." CreationDate="2011-02-23T12:48:26.010" UserId="250" />
  <row Id="9884" PostId="7900" Score="1" Text="@phunehehe - You have to do it every day?" CreationDate="2011-02-23T12:52:53.887" UserId="3887" />
  <row Id="9885" PostId="7894" Score="2" Text="[This](http://unix.stackexchange.com/q/4195/250) is a duplicate. [This](http://unix.stackexchange.com/q/5677/250) is related." CreationDate="2011-02-23T12:53:42.043" UserId="250" />
  <row Id="9886" PostId="7706" Text="Is this only on Linux?  Solaris also has a /proc filesystem, but it's completely different from Linux, eve philosophically. Lots of &quot;binary files&quot;." CreationDate="2011-02-23T12:55:17.987" UserId="732" />
  <row Id="9887" PostId="7900" Score="2" Text="No, I was referring to the OP's &quot;this problem haunts me every day&quot;." CreationDate="2011-02-23T13:09:43.613" UserId="250" />
  <row Id="9888" PostId="7899" Score="2" Text="Once you get enough experience with building/installing software, you can just create your own packages.  Please be sure to provide feedback to the upstream provider!" CreationDate="2011-02-23T14:50:14.263" UserId="3976" />
  <row Id="9889" PostId="7899" Text="Right, usually software comes either as part of a pre-built package (RPM, deb, etc) or it includes a Makefile that allows you to run `make install` to install it in the appropriate place on your Linux system." CreationDate="2011-02-23T14:59:30.940" UserId="3635" />
  <row Id="9890" PostId="7900" Score="1" Text="In addition to the wikipedia link to FHS, read this one too: http://www.pathname.com/fhs/pub/fhs-2.3.html. Read the section that says &quot;Purpose&quot;." CreationDate="2011-02-23T15:04:03.137" UserId="3482" />
  <row Id="9891" PostId="7897" Text="What do RedHat support suggest?" CreationDate="2011-02-23T15:29:29.493" UserId="2974" />
  <row Id="9892" PostId="7820" Text="I always quote outside [[ but never inside, since there is not splitting or glob expansion inside [[. http://mywiki.wooledge.org/BashFAQ/031" CreationDate="2011-02-23T15:30:40.710" UserId="4974" />
  <row Id="9893" PostId="7832" Text="@Gilles: If I'm  wrong here, please let me know... (To glob or not to glob; that is the question) ... The anser is &quot;Turn it off!&quot;, in all cases, unless you specifically and quite intentionally need it... As I've just found out, IFS can be deceptive because of its unusual/unfamiliar behaviour...  I was focusing my question about globbing to the specific data in this example (which won't glob)... but now I'm a convert... globbing **off** (in the vast majority of cases)..." CreationDate="2011-02-23T15:50:30.460" UserId="2343" />
  <row Id="9894" PostId="7843" Text="Corrected, it is a simple sed after the original command." CreationDate="2011-02-23T15:53:34.550" UserId="678" />
  <row Id="9895" PostId="7804" Text="How difficult can this be?: ffmpeg -i video.avi video.webm" CreationDate="2011-02-23T16:30:27.603" UserId="3887" />
  <row Id="9896" PostId="7812" Text="@jlliagre thanks for correcting me. i copied the wrong snippet. it does have a executable permission." CreationDate="2011-02-23T16:54:55.063" UserId="4950" />
  <row Id="9897" PostId="7898" Text="Unless you have a static address configure your system to use a Smarthost.  Usually your ISP will have an SMTP server intended for such use." CreationDate="2011-02-23T17:01:23.707" UserId="4520" />
  <row Id="9899" PostId="7907" Text="@FussyS... Thanks (see modificaton in my question ) ...  You may have given me the answer to my intended question.. and that answer may be (probably is) &quot;There is no way to get IFS to behave in the manner I want&quot;... I intendet the  `tr` examples to show the problem... I want to avoid a system call, so I'll look at a bash option beyond the `${var##:}` which I mentioned in my comment to glen's ansewer..... I'll wait for a time.. maybe there is a way to coax IFS, otherwise the first part of your answer is was after...." CreationDate="2011-02-23T17:31:30.200" UserId="2343" />
  <row Id="9900" PostId="7910" Text="works good for a small number of people." CreationDate="2011-02-23T17:41:08.577" UserId="546" />
  <row Id="9902" PostId="7910" Text="That's true, you obviously can't stream it to a huge audience." CreationDate="2011-02-23T17:54:59.820" UserId="5006" />
  <row Id="9903" PostId="7908" Text="	&#xA;Thanks... I seem to have not been clear in my main request (modified question)... It's easy enough to do it by just changing my `$var` to `${var##:}` ... I was really after a way to tweak IFS itself..  I want to do this without an external call (I have a feeling that bash can do this more effeciently than any external can.. so I'll keep on that track)...   your method works (+1).... As far as modifying the input goes, I'd prefer to try it with bash, rather than awk or tr (it would avoid a system call), but I'm really hanging out for an IFS tweak...  " CreationDate="2011-02-23T17:57:56.773" UserId="2343" />
  <row Id="9904" PostId="7909" Text="Hi, I have acces to console directly (via KVM), and there was nothing there. I could switch between virtual terminals type in my username, but that's it, also ctr+alt+del did not work, but should from console." CreationDate="2011-02-23T18:00:46.360" UserId="5016" />
  <row Id="9905" PostId="7909" Text="Also servers have HP's ILO, I can reboot them and see staus of HW from remote. There was no error there" CreationDate="2011-02-23T18:02:00.337" UserId="5016" />
  <row Id="9906" PostId="3425" Text="What's running with that context when you get that error?  Run `ps -eZ|grep initrc_tmp_t`.  It might need to be relabeled with the appropriate SELinux attributes." CreationDate="2011-02-23T18:07:03.253" UserId="3976" />
  <row Id="9907" PostId="7911" Score="2" Text="Please see http://unix.stackexchange.com/questions/7013/why-do-we-use-su-and-not-just-su" CreationDate="2011-02-23T18:08:01.050" UserId="3976" />
  <row Id="9908" PostId="7909" Text="Did you check the syslogs during that time?  It sounds like a panicked kernel.  I don't trust KVMs on my linux servers, too often the kernel panic doesn't show up on the console, or it's corrupted or just the last couple lines, that's why I prefer a serial console." CreationDate="2011-02-23T18:12:26.083" UserId="3976" />
  <row Id="9909" PostId="7021" Score="2" Text="Simply superb! :)" CreationDate="2011-02-23T18:40:13.800" UserId="3879" />
  <row Id="9910" PostId="7911" Score="1" Text="They're the same because the path for your normal user is already the same as that for root." CreationDate="2011-02-23T19:38:48.790" UserId="2511" />
  <row Id="9911" PostId="7909" Score="1" Text="This does not sound like a kernel panic. Console switching still works and the login program is still active." CreationDate="2011-02-23T19:40:16.730" UserId="2511" />
  <row Id="9912" PostId="6538" Text="Does this problem happen with the non-proprietary drivers?" CreationDate="2011-02-23T19:50:45.230" UserId="2511" />
  <row Id="9913" PostId="6538" Text="And, does the Xorg memory usage grow, or does it start like that?" CreationDate="2011-02-23T19:51:45.417" UserId="2511" />
  <row Id="9914" PostId="7767" Text="See also http://unix.stackexchange.com/questions/4430/why-do-we-use-to-execute-a-file/4459#4459" CreationDate="2011-02-23T20:12:58.453" UserId="2511" />
  <row Id="9915" PostId="4459" Score="1" Text="A practical example of someone getting bit by this:http://unix.stackexchange.com/questions/7767/ " CreationDate="2011-02-23T20:13:19.140" UserId="2511" />
  <row Id="9916" PostId="7908" Text="@fred, as mentioned, IFS only slurps up multiple consecutive delimeters for the default whitespace value. Otherwise, consecutive delimiters results in extraneous empty fields. I expect one or two external calls is exceedingly unlikely to impact performance in any real way." CreationDate="2011-02-23T20:23:38.207" UserId="4667" />
  <row Id="9917" PostId="7917" Text="Huh, interesting. I've never heard of such a thing, but it sounds like it might be implemented as a feature of a window manager." CreationDate="2011-02-23T20:26:46.850" UserId="2511" />
  <row Id="9918" PostId="7812" Text="In any case, having . in your PATH as root is a poor practice but having it before the standard /bin, /usr/bin, sbin directories is quite suicidal." CreationDate="2011-02-23T20:26:50.220" UserId="2594" />
  <row Id="9919" PostId="7917" Text="Great idea -- I like it.  ( I also haven't heard of anything like this. )" CreationDate="2011-02-23T20:27:55.113" UserId="2827" />
  <row Id="9920" PostId="77" Text="and when a directory contains thousands of files, the size of the directory itself can easily be &gt; 10KB" CreationDate="2011-02-23T20:28:37.063" UserId="4667" />
  <row Id="9921" PostId="7917" Text="I've never heard of it either, but it's something that I've wanted for a long time... Maybe one of these days I'll get around to just writing the thing..." CreationDate="2011-02-23T20:28:37.973" UserId="5039" />
  <row Id="9922" PostId="7875" Text="@mattdm, would you &quot;interact with the operating system&quot; in other ways than system calls?" CreationDate="2011-02-23T20:48:06.853" UserId="4869" />
  <row Id="9923" PostId="7875" Text="@Thorbjørn Ravn Andersen — it depends where you draw the line of what you call an operating system. The answer is either &quot;no&quot; or &quot;yes&quot;. :)" CreationDate="2011-02-23T20:49:59.003" UserId="2511" />
  <row Id="9924" PostId="7911" Text="What distribution/operating system?  The exact answer depends, for example the defaults are different for Red Hat/Fedora and Debian/Ubuntu." CreationDate="2011-02-23T20:59:34.463" UserId="3169" />
  <row Id="9925" PostId="6538" Text="@mattdm: I didn't test with non-proprietary drivers, since I need 3D graphic acceleration (with good performance!) every now and then. Xorg memory usage grows with time." CreationDate="2011-02-23T21:09:22.613" UserId="4041" />
  <row Id="9926" PostId="6538" Text="I would suggest trying the open source driver to see if the problem exists there. That will narrow down the issue. If the proprietary driver is to blame, only nvidia can help you." CreationDate="2011-02-23T21:10:34.087" UserId="2511" />
  <row Id="9928" PostId="6538" Text="@mattdm: well, that's a nice idea... Ok, will switch to OSS driver next time I'll have to restart Xorg." CreationDate="2011-02-23T21:15:03.937" UserId="4041" />
  <row Id="9930" PostId="7907" Text="That treatment of `IFS` is the same in all Bourne-style shells, it's [specified in POSIX](http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_05)." CreationDate="2011-02-23T21:25:27.067" UserId="885" />
  <row Id="9933" PostId="7843" Text="One more bug: it doesn't work between H:08 and H:10. See [my answer](http://unix.stackexchange.com/questions/7833/date-get-current-15-minute-interval/7865#7865) for why and a fix." CreationDate="2011-02-23T21:33:26.253" UserId="885" />
  <row Id="9937" PostId="7925" Text="Wow thank you so much. Another quick question if you don't mind... when writing a bash shell script, what is the bash version of \c... when I put that in it echo's it verbatum instead of the next echo being on the same line.  " CreationDate="2011-02-23T22:09:12.413" UserId="5043" />
  <row Id="9938" PostId="7925" Score="1" Text="@whuff739: `echo -n`. If you want to be portable, use `printf %s 'print\this!exactly+with%no$newline*at;the&amp;end'`." CreationDate="2011-02-23T22:14:39.087" UserId="885" />
  <row Id="9940" PostId="7925" Text="You should also check out the `bc` program if you want to stuff other than basic add/multiply/subtract/divide. Example: `echo $(echo '2^3' | bc)` (using `ksh` here)" CreationDate="2011-02-23T22:16:47.460" UserId="193" />
  <row Id="9941" PostId="7925" Text="you're the man. thanks." CreationDate="2011-02-23T22:18:03.100" UserId="5043" />
  <row Id="9942" PostId="7925" Text="@Nitrodist, I'll definitely look into that, thanks a lot." CreationDate="2011-02-23T22:18:53.007" UserId="5043" />
  <row Id="9948" PostId="7934" Text="Oops, just noticed that @sebastian_k already mentioned checkinstall... Oh well!" CreationDate="2011-02-23T23:36:50.453" UserId="3587" />
  <row Id="9949" PostId="7919" Text="Someone just asked a related question, and the links in the answers might be enough for a start: [this one](http://unix.stackexchange.com/questions/7899/how-do-i-know-where-to-put-things-in-linux) :)" CreationDate="2011-02-23T23:49:50.650" UserId="5006" />
  <row Id="9952" PostId="7935" Score="1" Text="The answer to the last bit is `glibc-headers`." CreationDate="2011-02-24T00:36:51.517" UserId="2511" />
  <row Id="9953" PostId="7884" Text="One of the reasons this isn't a big deal for Linux programs → other platforms is: there's no significant Linux-only apps for which source isn't available. You want to run your program on OS X or Solaris, recompile it, and there ya go. There may be a little porting to do where the code was written in Linux-specific ways, but generally that's not a lot of work, especially compared to maintaining the compatibility layer. FreeBSD's Linux compatibility was a big deal back when Netscape was a binary distributed for Linux only, and probably still is used for Adobe Flash Player." CreationDate="2011-02-24T00:44:53.347" UserId="2511" />
  <row Id="9954" PostId="7884" Text="@Jörg W Mittag — also, you needed to have the system libraries from the other platform available. This _may_ have been the basis for their suit against AutoZone. But honestly I forget the details and barely care anymore. :)" CreationDate="2011-02-24T00:47:14.123" UserId="2511" />
  <row Id="9955" PostId="7932" Text="I'm not sure that you currently can. replace was only recently added, and I don't see that you can do a find/replace in more than one file at a time." CreationDate="2011-02-24T01:03:29.150" UserId="29" />
  <row Id="9956" PostId="7917" Text="well... the inverse exists... their's kde activities which allows you to assign apps to an activity. Then you can start and stop those activities... but otherwise I've never heard of anything like this" CreationDate="2011-02-24T01:24:15.263" UserId="29" />
  <row Id="9957" PostId="7885" Text="Oh yeah!! I am able to reproduce it. No windows listing after installation, but is listed after running `sudo update-grub` from my shiny new crunchbang installation. I've got screenshots to prove it :). Who do I tell this?" CreationDate="2011-02-24T02:09:13.237" UserId="898" />
  <row Id="9959" PostId="7908" Text="@glen.. (You said your answer is not &quot;pretty&quot;.. I think it is! :) However, I have put together an all bash version (vs an external call) and based on 10000 itterations of just building the arrray (no I/O)...  `bash 1.276s` ... `call (awk) 0m32.210s` ,,, `call (tr) 0m32.178s` ... Do that a few times and you might think bash is slow! ... Is awk easier in this case? ... not if you've already got the snippet :)  ... I'll post it later; must go now." CreationDate="2011-02-24T03:00:15.060" UserId="2343" />
  <row Id="9960" PostId="7429" Text="My final solution was in python since my Perl was too rusty.  Thanks." CreationDate="2011-02-24T03:02:18.863" UserId="1207" />
  <row Id="9961" PostId="7938" Score="2" Text="http://en.wikipedia.org/wiki/Debian_Almquist_shell - Dash, is faster, Bash has more features for the end-user.  Since you should almost never be using root shell normally, you don't really need all the features of bash." CreationDate="2011-02-24T02:47:19.567" UserId="1209" />
  <row Id="9964" PostId="7885" Text="@Shrikant There doesn't seem to be a bug tracker for CB, but I've seen people posting bugs on the [forum](http://crunchbanglinux.org/forums/forum/3/feedback-suggestions/)." CreationDate="2011-02-24T03:48:54.050" UserId="250" />
  <row Id="9965" PostId="7885" Text="@phunehehe oh boy, it needs registration. I'm spoilt by stackoverflow!" CreationDate="2011-02-24T05:19:39.197" UserId="898" />
  <row Id="9966" PostId="3890" Text="@fal Am trying both Debian and Ubuntu VM on Debian host." CreationDate="2011-02-24T05:36:44.447" UserId="688" />
  <row Id="9967" PostId="3926" Text="@echox I got rid of the acronym." CreationDate="2011-02-24T05:46:11.517" UserId="688" />
  <row Id="9969" PostId="4053" Text="I removed the requirement for FLOSS." CreationDate="2011-02-24T05:57:37.807" UserId="688" />
  <row Id="9970" PostId="607" Text="I've removed the reference, but if you are attached, you can put it back. Can we remove these comments?" CreationDate="2011-02-24T06:23:58.040" UserId="688" />
  <row Id="9971" PostId="7846" Text="Thank you for suggesting Webcam Studio. I got it to work. Ustream is not supported anymore since Ustream uses FME 3.0, but I can always use justin.tv or something similar." CreationDate="2011-02-24T06:33:47.433" UserId="4669" />
  <row Id="9972" PostId="3784" Score="1" Text="Mixing binary packages from different debian branches is not recommended and considered to greatly increase the chances of either breaking or making a system behave unstable." CreationDate="2011-02-24T06:57:10.323" UserId="3459" />
  <row Id="9973" PostId="3784" Text="@arr Am aware, that's why I mentioned that user must run a simulator first to see the risks (what packages will be installed, upgrade, and remove) beforehand." CreationDate="2011-02-24T06:59:15.250" UserId="688" />
  <row Id="9974" PostId="3784" Text="@Tshepang: The risks are always there just because the binary was built against different shared library versions, it has nothing to do with other packages being installed or not when you do it." CreationDate="2011-02-24T07:01:59.740" UserId="3459" />
  <row Id="9975" PostId="7902" Text="@sebastian_k : &quot;PS. Spend a weekend or two to learn how to program yourself, and things will become very obvious :-)&quot;. Bad advice in an otherwise excellent answer. Asking people to program to understand linux is like airline passengers to repair planes." CreationDate="2011-02-24T07:23:56.060" UserId="4812" />
  <row Id="9976" PostId="7599" Text="@Tshepang: Thanks!  Answer updated.  I hadn't actually thought to try anything but Bash's built-in `kill`." CreationDate="2011-02-24T07:26:39.600" UserId="3629" />
  <row Id="9977" PostId="7917" Text="I don't know, but for that purpose I use the virtual desktops and organize things so that project X apps/windows are all in one virtual desktop, project Y in another. The desktops can be labeled (using the virtual desktop configuration editor) for each project as well." CreationDate="2011-02-24T07:31:31.700" UserId="3082" />
  <row Id="9978" PostId="3784" Text="@arr In that case (AFAIK), the newer package will depend on the packages providing the specific shared libraries it was built against. That's why it's recommended that one should rather use backports if available." CreationDate="2011-02-24T09:09:47.480" UserId="688" />
  <row Id="9979" PostId="7944" Text="I use Debian GNU/Linux. " CreationDate="2011-02-24T09:13:10.173" UserId="688" />
  <row Id="9980" PostId="7902" Text="instead of programming just change it to compile your own linux, like LFS (linux from scratch) http://www.linuxfromscratch.org/" CreationDate="2011-02-24T09:17:05.590" UserId="4644" />
  <row Id="9981" PostId="7932" Text="Is this some kind of bot generating random 'how does one find and replace text in all open files with $EDITOR'??" CreationDate="2011-02-24T09:51:18.490" UserId="659" />
  <row Id="9982" PostId="7909" Text="yes I had syslog redirected to central syslog server. There is nothing unusual in the logs." CreationDate="2011-02-24T11:00:41.470" UserId="5016" />
  <row Id="9983" PostId="7950" Text="Okay, now that's a massive waste of 'unavailable' space. Maybe the 5% should be limited to drive sizes smaller than X (e.g. 5% of disk space to a maximum of 100MB)." CreationDate="2011-02-24T11:44:02.080" UserId="688" />
  <row Id="9984" PostId="7212" Text="@fred My subtitle file ends with `.srt`, and Nautilus tells me the format is SubRip subtitles (application/x-subrip)." CreationDate="2011-02-24T13:07:36.313" UserId="688" />
  <row Id="9985" PostId="7254" Text="I don't have the &quot;**/prc/acpi/video**&quot; directory. My kernel is **2.6.32** on Debian." CreationDate="2011-02-24T13:12:21.423" UserId="688" />
  <row Id="9986" PostId="7258" Text="What is `loader`?" CreationDate="2011-02-24T13:15:46.457" UserId="688" />
  <row Id="9987" PostId="7254" Text="What distro do you use?" CreationDate="2011-02-24T13:18:58.650" UserId="688" />
  <row Id="9988" PostId="7909" Text="the kernel can be wedged in such a way that you can switch consoles, but it's clear that the login process isn't active, otherwise it'd respond when the username was typed.  I think the only thing to do at this point would be to set up the netdump and initiate a crash dump, and analyse the crash dump." CreationDate="2011-02-24T13:27:17.667" UserId="3976" />
  <row Id="9989" PostId="7959" Text="If it matters, I use Debian." CreationDate="2011-02-24T13:28:05.437" UserId="688" />
  <row Id="9991" PostId="7947" Score="4" Text="This answer is long out of date. The kernel has been involved in graphics for a long time now.  " CreationDate="2011-02-24T14:45:56.787" UserId="2511" />
  <row Id="9992" PostId="7966" Text="And then how would I call it: `striplines filename`?" CreationDate="2011-02-24T15:03:52.650" UserId="12" />
  <row Id="9993" PostId="7966" Text="@glenn could you explain what the `&quot;$@&quot;` is doing?" CreationDate="2011-02-24T15:10:59.730" UserId="12" />
  <row Id="9994" PostId="7868" Text="@Gilles There's a suggested code change pending here; I'll let you approve/reject it" CreationDate="2011-02-24T15:20:05.587" UserId="73" />
  <row Id="9995" PostId="6190" Text="The authorship concern is worth noting. The main developer is very smart and prolific, although a bit abrasive. But most concerning, his initial attitude towards systemd seemed to be that the whole thing would be an easily-solved weekend project and then he'd be back to pulseaudio. Months later, my systemd test system frequently hits failures to shut down, and other quirks. Turns out, it's a hard problem! And the command-line user interface is less polished than before. To his credit, the developer hasn't actually vanished back to pulseaudio, but I still think attention span is a real worry." CreationDate="2011-02-24T15:25:16.743" UserId="2511" />
  <row Id="9996" PostId="6190" Text="That said, the _potential_ advantages are very exciting. If the project keeps the level of activity it's had for the last few months, the problems will get ironed out and the whole project is going to be a big step forward from traditional init. It's just still rough around the edges." CreationDate="2011-02-24T15:26:47.337" UserId="2511" />
  <row Id="9997" PostId="7932" Text="@axel He originally asked them [all in one question](http://unix.stackexchange.com/questions/7921/how-does-one-find-and-replace-text-in-all-open-files-with-geany-gedit-jed-kate), and it got closed. Several of us said (in insufficiently discouraging tones) that if he really needs to know in five different editors he should ask five questions, so he did" CreationDate="2011-02-24T15:29:52.690" UserId="73" />
  <row Id="9998" PostId="7258" Text="I've tried this, and I'm, still sitting with the problem." CreationDate="2011-02-24T15:34:02.220" UserId="688" />
  <row Id="9999" PostId="7966" Text="@Seamus, yes you'd call it exactly like that. The `&quot;$@&quot;` syntax sends the striplines arguments to awk undisturbed -- necessary if, say, any of your filenames contain spaces: `striplines &quot;file 1&quot; &quot;file 2&quot;` would sent two filenames to awk." CreationDate="2011-02-24T15:35:40.717" UserId="4667" />
  <row Id="10000" PostId="7908" Text="Just by the way, re your gawk script... I've basically not used awk before, so I've been looking at it (and others) in detail...I can't pick why, but I'll mention the issue anyhow.. When given quoted data, it looses the quotes, and splits at spaces between the quotes.. and crashes for odd numbers of quotes... Here's the test data: `var=&quot;The  \&quot;X\&quot; factor:::A single '\&quot;' crashes:::\&quot;One Two\&quot;&quot;`" CreationDate="2011-02-24T16:28:45.220" UserId="2343" />
  <row Id="10001" PostId="7902" Text="@apoorv, point taken. :)" CreationDate="2011-02-24T16:34:59.567" UserId="5006" />
  <row Id="10002" PostId="7932" Text="I am unable to tap my magic wand to cause all of the people that I advise and support to use the OS distribution and editors of my own choosing. Advising most of them to use the command line with something like find would not support one of my objectives of promoting Linux over MS Windows. So, knowing the functionality of multiple editors is useful." CreationDate="2011-02-24T16:35:22.530" UserId="3999" />
  <row Id="10003" PostId="7952" Text="Thanks for this, genuinely struggled with which answer to mark as correct - answer upvoted as it was first and spot on, mattdm's marked as correct due to the additional background and detail which helped me understand the &quot;Why&quot; more." CreationDate="2011-02-24T16:35:30.097" UserId="5067" />
  <row Id="10004" PostId="7999" Text="@dogbone: Thanks, I'm actually trying to find out how it is that the OP in the [linked question](http://serverfault.com/q/239674/9517) can assert that their bash expands {1..$NUM} into the sequence 1 2 3 ...NUM" CreationDate="2011-02-24T17:08:18.933" UserId="591" />
  <row Id="10005" PostId="8001" Text="@l0b0: Thanks, I'm actually trying to find out how it is that the OP in the [linked question](http://serverfault.com/q/239674/9517) can assert that their bash expands {1..$NUM} into the sequence 1 2 3 ...NUM. " CreationDate="2011-02-24T17:08:46.123" UserId="591" />
  <row Id="10007" PostId="7959" Text="Funny, I remember upvoting this question before..." CreationDate="2011-02-24T17:16:42.587" UserId="250" />
  <row Id="10008" PostId="7866" Text="The VLC solution also worked but it was very slow. Thank you for pointing to the right resources in the VLC docs." CreationDate="2011-02-24T17:34:43.770" UserId="4669" />
  <row Id="10009" PostId="7947" Score="3" Text="To expand on mattdm's comment, even when graphics are being driven by drivers from outside the kernel tree, they still use kernel services to control access to the graphical resources. The kernel *always* sits at the bottom of the stack." CreationDate="2011-02-24T17:44:17.753" UserId="3270" />
  <row Id="10010" PostId="7846" Text="Good to know that you found this useful :)" CreationDate="2011-02-24T17:57:12.427" UserId="3879" />
  <row Id="10011" PostId="7998" Text="This is a duplicate of http://unix.stackexchange.com/questions/7738/how-can-i-use-var-in-a-shell-brace-expansion-of-a-sequence" CreationDate="2011-02-24T18:27:37.937" UserId="2511" />
  <row Id="10012" PostId="7998" Text="@mattdm: It's not. I read that before I posted the question. Please read my question carefully it is not about how to do it it's about how the OP can say their bash does it." CreationDate="2011-02-24T18:30:43.853" UserId="591" />
  <row Id="10013" PostId="7998" Text="@Iain: that is puzzling. In that case, I'd recommend rewording the title of this question to make that clear (notice that the two answers you've gotten already also missed your point)." CreationDate="2011-02-24T18:36:04.747" UserId="2511" />
  <row Id="10014" PostId="7998" Text="@mattdm: Perhaps you're right but reading the title isn't the same as reading the question." CreationDate="2011-02-24T18:39:03.827" UserId="591" />
  <row Id="10015" PostId="7998" Text="@Iain: but once you've read the title, you're primed to read the question a certain way. So, ya want answers or not?" CreationDate="2011-02-24T18:46:35.087" UserId="2511" />
  <row Id="10016" PostId="7998" Text="FWIW, bash 4.1.7 and bash 4.2.0, from various versions of Fedora, act the way you and I expect." CreationDate="2011-02-24T18:47:55.710" UserId="2511" />
  <row Id="10017" PostId="6992" Text="+1 - I was having the same problem and - as you suggested - adding `term xterm` to my `~/.screenrc` file fixed it for me. Thanks again!" CreationDate="2011-02-24T18:59:30.713" UserId="3635" />
  <row Id="10019" PostId="7907" Text="Seeing your &quot;%#%#%#%#%&quot; reminded me of a script I used to us in Windows.. I've just made a bash version, and perhaps you or someone may be interested in it: `Find a unique non '\0' ASCII char` from   &#xA;http://paste.ubuntu.com/571860/  ... and I think you'll find that the your script will split at the other two default IFS chars: tab and  newline.... and you need `&quot;${arr[x]}' in the third last line .. It currently prints out repeats of the first element।" CreationDate="2011-02-24T19:30:16.140" UserId="2343" />
  <row Id="10020" PostId="7998" Score="2" Text="Count me as one more thinking either Boban isn't showing his actual script or he's running it with ksh and zsh (both expand `{1..$NUM}` to `1 2 3 4 …`)." CreationDate="2011-02-24T19:46:12.713" UserId="885" />
  <row Id="10021" PostId="6857" Text="@Patrick nice one; however you can just *scp file1 file2 file3 fileN user@example.com:*. Another useful one is *scp user@server:/path/file anotheruser@anotherserver:/path2/file2*." CreationDate="2011-02-24T20:11:36.857" UserId="4142" />
  <row Id="10022" PostId="7951" Text="By the way, this applies to all (Bourne-style, not csh) shells." CreationDate="2011-02-24T20:27:11.367" UserId="885" />
  <row Id="10024" PostId="6857" Text="If you just write `scp myfile.txt user@example.com:`, the file is copied to the user's home directory. More generally, the remote path is relative to the home directory (unless it begins with `/` of course)." CreationDate="2011-02-24T20:51:21.890" UserId="885" />
  <row Id="10025" PostId="7946" Text="or with GNU sed: `sed -i -e 's/ThrityLimit/ThirtyLimit/g' *.c`. Or `perl -i -pe 's/ThrityLimit/ThirtyLimit/g' *.c`. With zsh or bash 4, you can traverse subdirectories with `**/*.c`." CreationDate="2011-02-24T20:53:46.190" UserId="885" />
  <row Id="10026" PostId="7939" Score="1" Text="`/bin/sh` is guaranteed available too. But `csh` has better interactive features, plus it's become an accepted tradition. Other BSDs don't follow it; OpenBSD's root's shell is `/bin/ksh` (a pdksh derivative)." CreationDate="2011-02-24T21:15:58.197" UserId="885" />
  <row Id="10027" PostId="7238" Text="What filesystem, and how many packages do you have? For large directories, ext3 or above with the `dir_index` option, or Reiser, is a dramatic improvement compared to ext2 or ext3 without `dir_index`." CreationDate="2011-02-24T21:31:57.203" UserId="885" />
  <row Id="10029" PostId="7238" Text="@Gilles I use ext4 and have ~1400 packages installed." CreationDate="2011-02-24T21:39:42.837" UserId="688" />
  <row Id="10030" PostId="7939" Text="@Gilles Right. I chose `ksh` as `root`'s shell on my NetBSD VPS. I was just repeating the &quot;official&quot; explanation. Frankly, `csh` is a big reason I like having `toor` around: I much prefer `bash` or `zsh` myself." CreationDate="2011-02-24T21:43:04.097" UserId="916" />
  <row Id="10032" PostId="2935" Text="The Debian/Ubuntu terminology for this is *orphans*." CreationDate="2011-02-24T22:05:34.443" UserId="688" />
  <row Id="10035" PostId="7909" Text="&quot;I can enter a username, and characters do show, but after pressing Enter, nothing happens.&quot; — login works, but you can't spawn an new process to get past that. That says &quot;out of memory&quot; to me." CreationDate="2011-02-24T22:49:52.023" UserId="2511" />
  <row Id="10036" PostId="7909" Text="Likewise, ssh is answering, but then can't spawn a shell. This is classic." CreationDate="2011-02-24T22:51:08.450" UserId="2511" />
  <row Id="10039" PostId="8047" Text="You're including the header lines and some non-installed packages (e.g. `rc` (uninstalled but with config files left over)) in your count." CreationDate="2011-02-24T23:13:46.867" UserId="885" />
  <row Id="10041" PostId="7361" Text=".scr is also a Windows executable extension." CreationDate="2011-02-25T00:17:30.990" UserId="3389" />
  <row Id="10042" PostId="8057" Text="I want this to be in effect automatically after boot, without logging in. There is nobody who will type the command !&#xA;&#xA;Sometimes the screen blanks even during boot, for example if there is a SAN timeout." CreationDate="2011-02-25T00:28:54.097" UserId="5096" />
  <row Id="10043" PostId="8057" Score="1" Text="@markus_b: So add this command to an init script (something like `/etc/init/markus-console.conf` if you use Upstart, or `/etc/init.d/markus-console.sh` plus symlinks in `/etc/rd?.d` for SysVinit, I don't know the actual SuSE locations)." CreationDate="2011-02-25T00:35:32.700" UserId="885" />
  <row Id="10044" PostId="8057" Text="File that under &quot;things you can't do with systemd&quot;." CreationDate="2011-02-25T00:57:54.310" UserId="2511" />
  <row Id="10045" PostId="6189" Text="As I understand it, at some point the plan is to completely provide all of the capabilities of `atd` and `crond`, although not necessarily in a compatible way. There is also a plan to make it work as a session manager on the user level, so possibly that would work for per-user crontab. I dunno." CreationDate="2011-02-25T01:15:50.120" UserId="2511" />
  <row Id="10046" PostId="8051" Text="Very useful info! Thanks!" CreationDate="2011-02-25T01:18:04.673" UserId="5092" />
  <row Id="10047" PostId="8044" Text="hostfwd=tcp:127.0.0.1: **2222** -10.0.0.2:22, &quot;2222&quot; or &quot;22&quot;?" CreationDate="2011-02-25T02:06:13.740" UserId="5075" />
  <row Id="10048" PostId="8044" Text="another question. can i modify the **hostfwd** while the vm is running?" CreationDate="2011-02-25T02:08:13.177" UserId="5075" />
  <row Id="10049" PostId="7947" Text="I would not agree that the kernel is at the bottom of the stack. Of course, device drivers do use kernel services in order to get privileged access to the hardware, but an X application is talking out the network so there are more layers beyond even the network card." CreationDate="2011-02-25T02:21:15.850" UserId="2642" />
  <row Id="10052" PostId="8044" Text="@davidshen84: Port 2222 on the host (so it can run its own sshd on 22) sent to port 22 on the guest." CreationDate="2011-02-25T05:43:06.513" UserId="4477" />
  <row Id="10053" PostId="8044" Text="@davidshen84: You can't modify it but you can use it multiple times to forward other services." CreationDate="2011-02-25T05:46:30.517" UserId="4477" />
  <row Id="10054" PostId="8052" Text="So a framework like QT allows one application to draw itself, and desktop environments like Gnome and KDE decide how to draw multiple windows on the same desktop?" CreationDate="2011-02-25T06:02:56.410" UserId="4812" />
  <row Id="10055" PostId="8062" Text="The real question is why do you want it to be writable?" CreationDate="2011-02-25T06:53:35.983" UserId="1946" />
  <row Id="10056" PostId="8109" Text="+1 Off course! The `&quot;=` register. :-/" CreationDate="2011-02-25T07:42:35.647" UserId="2783" />
  <row Id="10058" PostId="8104" Text="`date` is an external command and `!` calls external commands while OP asks for vim commands." CreationDate="2011-02-25T08:51:58.750" UserId="2783" />
  <row Id="10060" PostId="7941" Text="See my updated question." CreationDate="2011-02-25T09:17:33.077" UserId="688" />
  <row Id="10061" PostId="8113" Text="[something more generic](http://unix.stackexchange.com/q/5740/)" CreationDate="2011-02-25T09:55:56.057" UserId="688" />
  <row Id="10062" PostId="8104" Text="@eelvex no he didn't. and the ! is a vim, and vi, command. This is the canonical method. Works for many other things as well." CreationDate="2011-02-25T11:29:26.633" UserId="3082" />
  <row Id="10063" PostId="8119" Text="I get `Nmap done: 1 IP address (1 host up) scanned in 0.01 seconds`." CreationDate="2011-02-25T11:32:52.093" UserId="688" />
  <row Id="10064" PostId="7909" Text="Well, I set up netdump, i have a screen with ssh connections to all 15 servers." CreationDate="2011-02-25T12:04:56.563" UserId="5016" />
  <row Id="10065" PostId="7909" Text="I also increesed nofiles resorce limit to 65500. Most other limits are set to unlimited. Are there any parameters in sysctl I should tweak?" CreationDate="2011-02-25T12:06:08.763" UserId="5016" />
  <row Id="10066" PostId="8120" Text="Can you quote where in RFC 1123 where it's said the name can't be *entirely numeric*. I can't find it." CreationDate="2011-02-25T12:28:06.060" UserId="688" />
  <row Id="10067" PostId="8119" Score="1" Text="@Tshepang - I did `nmap -sP 192.168.0.*` and it returned a list of output of the form: `Nmap scan report for justin-desktop2 (192.168.0.61)`&#xA;`Host is up (0.00056s latency).`&#xA;" CreationDate="2011-02-25T12:43:10.607" UserId="3635" />
  <row Id="10068" PostId="8120" Text="Exactly, the only thing I found was this: `a segment of a host domain name is now allowed to begin with a digit and could legally be entirely numeric (see Section 6.1.2.4).`" CreationDate="2011-02-25T12:46:30.717" UserId="3635" />
  <row Id="10069" PostId="8119" Text="@justin I'm using version **5.00** and it's now showing a number of machines on my network, with the form `Host 192.168.2.23 is up (0.0088s latency).`." CreationDate="2011-02-25T12:53:11.010" UserId="688" />
  <row Id="10070" PostId="8097" Score="3" Text="I would put `graphviz` as a serious answer, but I fear that I may get down-votes for it." CreationDate="2011-02-25T13:01:39.837" UserId="1390" />
  <row Id="10072" PostId="8106" Score="1" Text="If the OP Linux with PaX `mprotect` can't make an executable page writable or make a page executable which was writable before unless that feature is disabled with `paxctl -m`." CreationDate="2011-02-25T13:23:19.503" UserId="4477" />
  <row Id="10073" PostId="8122" Score="1" Text="I think the /etc/network/interfaces is the most &quot;debian way&quot; of doing this. Some distributions have init scripts by default which save and load iptables rules." CreationDate="2011-02-25T13:27:54.490" UserId="4477" />
  <row Id="10074" PostId="8097" Score="1" Text="`graphviz` is the choice if you want to &quot;generate&quot; diagrams, I mean automatically. But if you want to draw interactively, then I think dia is great." CreationDate="2011-02-25T13:38:43.750" UserId="3879" />
  <row Id="10075" PostId="8052" Text="Not quite. QT allows the application to draw itself (i.e. it allows application to specify how it behaves). WM like metacity (for Gnome) or kwin (for KDE) specifies how window behaves in the environment. Desktop environment is package which contains WM, panels and other applications like PIM providing overlall experience for user. " CreationDate="2011-02-25T13:42:23.310" UserId="305" />
  <row Id="10076" PostId="7947" Text="X being built upon network while important to some setups on many is implementation detail (especially for desktops) and there are such extentions as MIT-SHM. The kernel plays important role in current stack both providing DRM drivers, KMS as well as handling textures. " CreationDate="2011-02-25T13:47:06.803" UserId="305" />
  <row Id="10077" PostId="7909" Text="@mattdm: I hate to belabour the point, but simply because the TTY is responding to keypresses doesn't mean that the login process is actually doing anything.  If it responded with a password prompt, perhaps it's operational, but that's not the case.  I agree that there could be a memory resource limitation, but I find that unlikely.  Typically, if memory is exhausted like that, you'd see plenty of OOM messages on the console and/or logs, and the OP hasn't reported anything unusual in the logs, although OOM could have killed syslogd.  Check the local logs too?" CreationDate="2011-02-25T13:59:29.130" UserId="3976" />
  <row Id="10078" PostId="8125" Text="-1 UUOC http://partmaps.org/era/unix/award.html" CreationDate="2011-02-25T14:10:08.447" UserId="872" />
  <row Id="10079" PostId="8124" Text="What does it do exactly? Fr me, it just lists a few entries." CreationDate="2011-02-25T14:18:03.273" UserId="688" />
  <row Id="10080" PostId="8097" Score="1" Text="Right, I am really looking for an interactive tool." CreationDate="2011-02-25T14:26:59.467" UserId="3635" />
  <row Id="10081" PostId="8100" Text="Looks promising, thanks for the link!" CreationDate="2011-02-25T14:27:43.600" UserId="3635" />
  <row Id="10082" PostId="8131" Text="Related: [Installing Grub (2) on a USB flash drive](http://unix.stackexchange.com/q/665/250)" CreationDate="2011-02-25T14:28:59.750" UserId="250" />
  <row Id="10083" PostId="8112" Text="Looks promising, I see a screenshot over here: http://en.wikipedia.org/wiki/Calligra_Flow" CreationDate="2011-02-25T14:30:00.200" UserId="3635" />
  <row Id="10085" PostId="8135" Text="phunehehe,i have changed the code as u said still when i choose fedora Iso at grub,the pc restarts" CreationDate="2011-02-25T14:53:36.507" UserId="4391" />
  <row Id="10086" PostId="8132" Text="cdrom is not mounted. It is blank CD." CreationDate="2011-02-25T14:58:23.020" UserId="305" />
  <row Id="10087" PostId="7897" Text="Luka, at the console, does nothing happen after entering just the _username_ and hitting enter, or does it prompt you for the password and after _that_ not respond?" CreationDate="2011-02-25T15:05:24.020" UserId="2511" />
  <row Id="10088" PostId="8106" Text="@stribika Ah, good to know" CreationDate="2011-02-25T15:12:39.430" UserId="73" />
  <row Id="10089" PostId="8125" Score="1" Text="@dogbane: yeah, yeah. Edited. I'm sure you sometimes write less than optimal code, does it deserve such a harsh comment?" CreationDate="2011-02-25T15:43:18.237" UserId="3519" />
  <row Id="10090" PostId="8125" Text="&quot;I need to cut part *between* some dates&quot;... That sounds like just what you've done with the &quot;delete&quot; method ... It took me a few moments to understand why you chose the &quot;delete&quot; method..(until I checked the question)... and the `tee` is a nice touch.  " CreationDate="2011-02-25T16:21:03.730" UserId="2343" />
  <row Id="10091" PostId="8129" Score="1" Text="note: This will only print the first BAR of a series of consecutive BARS..." CreationDate="2011-02-25T16:35:55.857" UserId="2343" />
  <row Id="10092" PostId="8125" Score="1" Text="note: If there are multiple consecutive 'first-date' lines with the same date, all but the first will *not* be deleted, and will be introduced to the output... just something to be aware of... (it depends on the  situation)" CreationDate="2011-02-25T16:40:48.267" UserId="2343" />
  <row Id="10093" PostId="8034" Text="I was beginning to wonder if it was some weird version of bash on OSX or something." CreationDate="2011-02-25T17:02:53.347" UserId="591" />
  <row Id="10095" PostId="8104" Text="@Keith: yes `!` is a vi(m) command that calls *external* commands. You may be right OP not wanting to output only vim commands but if (s)he does, `!` will not do." CreationDate="2011-02-25T17:19:05.960" UserId="2783" />
  <row Id="10096" PostId="8062" Text="I'm teaching a security class that involves breaking a series of vulnerable programs, but one exercise involves writing to .dtors to exec shellcode.  It no longer works and I'm trying to track down the issue." CreationDate="2011-02-25T17:27:25.177" UserId="4896" />
  <row Id="10098" PostId="8159" Text="@fthinker - is there an fstab entry for the /media/LaCie file system and/or the /dev/sdb1 device? Is /dev/sdb1 labelled in anyway (e2label /dev/sdb1)?" CreationDate="2011-02-25T19:00:33.660" UserId="2701" />
  <row Id="10099" PostId="8216" Text="I'm using ack too, but I didn't like it. It's indeed fast, but it's not available in all installations, so I was thinking about grep. Thanks!" CreationDate="2011-02-25T19:23:24.410" UserId="2689" />
  <row Id="10100" PostId="7947" Text="DRM and KMS are more about device drivers that now have to communicate over a dedicated internal network connection to a graphical rendering CPU on the graphics card. This may be part of the graphical stack, and it may not (i.e. Amazon EC2 Linux)." CreationDate="2011-02-25T19:30:06.783" UserId="2642" />
  <row Id="10101" PostId="7361" Score="1" Text="@ultrasawblade Thanks, shows how often I script Windows.  I tried to skip the rarer executable extensions like cmd, pif, vb*, wsh, and the rest of them.   " CreationDate="2011-02-25T19:37:07.827" UserId="4520" />
  <row Id="10102" PostId="8217" Text="This will only print the first log entry for 2011-02-25 though." CreationDate="2011-02-25T19:54:16.000" UserId="885" />
  <row Id="10103" PostId="8215" Score="2" Text="`GREP_OPTIONS` in `~/.profile` comes close." CreationDate="2011-02-25T20:06:17.640" UserId="885" />
  <row Id="10104" PostId="8195" Score="1" Text="Actually, as explained in [Justin Ethier's answer](http://unix.stackexchange.com/questions/8191/what-is-fedoras-equivalent-of-apt-get-purge/8193#8193), `yum remove` is equivalent to `apt-get purge`." CreationDate="2011-02-25T20:08:47.047" UserId="885" />
  <row Id="10105" PostId="8215" Score="1" Text="@Gilles — good point. In fact, I forgot that I have that set myself for `--color=auto`!" CreationDate="2011-02-25T20:14:06.413" UserId="2511" />
  <row Id="10106" PostId="7254" Text="I use Ubuntu, but with a kernel on my own (2.6.37)." CreationDate="2011-02-25T20:23:26.763" UserId="4030" />
  <row Id="10107" PostId="8218" Text="This is THE answer I was looking for. I think I'll read more about ~/.profile. @Gilles, you're the man. Thanks for helping!" CreationDate="2011-02-25T20:26:06.830" UserId="2689" />
  <row Id="10108" PostId="8051" Text="@Gilles The part about `Debian Backports` was basically what I wanted. Thanks alot!" CreationDate="2011-02-25T20:28:32.580" UserId="5092" />
  <row Id="10109" PostId="8062" Text="The mismatch is because there are probably some data relocations (which need to be fixed up before marking read-only, and cannot be lazy anyway, so will be constant once fixed-up) there." CreationDate="2011-02-25T20:31:17.413" UserId="1987" />
  <row Id="10110" PostId="7195" Text="Why bother putting RUN_AS into a variable here?" CreationDate="2011-02-25T20:52:56.687" UserId="2511" />
  <row Id="10111" PostId="8141" Text="`for u in $(lid -g -n aa); do usermod -a -G tomcatdeploy $u; done` (I suppose you meant `$u` in usermod, not just `u`)&#xA;" CreationDate="2011-02-25T21:49:25.883" UserId="3519" />
  <row Id="10112" PostId="8124" Text="I think it just sends an arp to the broadcast IP, and lists what responds. Honestly I don't know *how* it works." CreationDate="2011-02-25T21:57:11.240" UserId="29" />
  <row Id="10113" PostId="8141" Text="Good catch! I just fixed the code in my answer." CreationDate="2011-02-25T22:09:03.587" UserId="3635" />
  <row Id="10114" PostId="8137" Text="What OSes do the NAS and router do? This is a huge question, I suggest you break it down into at least two, one about configuring the NAS and one for the router." CreationDate="2011-02-25T22:26:51.313" UserId="885" />
  <row Id="10116" PostId="8127" Text="What is the exact error message? Please copy-paste (in an English locale, i.e. `LC_MESSAGES=C burning_command /dev/sr0`)." CreationDate="2011-02-25T22:30:42.380" UserId="885" />
  <row Id="10117" PostId="8127" Text="(I use en_GB locale anyway). I'll post it as soon as I reproduce it." CreationDate="2011-02-25T22:32:51.150" UserId="305" />
  <row Id="10118" PostId="8159" Text="Nope there is no fstab entry. I believe it is labeled as it gets mounted at /media/LaCie. I'd need to install ntfslabel for sure to find out but I'm just about to leave work. It also comes up on my desktop as LaCie." CreationDate="2011-02-25T23:13:52.927" UserId="5122" />
  <row Id="10119" PostId="8220" Text="Thanks profy :) But the main thrust of my question is to alleviate the extreme frustration I feel every time I am forced to understand how automount and usb devices works. I am here to decipher the magic that is behind these complex systems. Besides, using fstab and usb devices is a bit tricky because they aren't always guaranteed to be plugged in on start up!" CreationDate="2011-02-25T23:17:39.647" UserId="5122" />
  <row Id="10120" PostId="8222" Text="The answer to your last question is Adobe Air." CreationDate="2011-02-25T23:20:37.803" UserId="1049" />
  <row Id="10121" PostId="8097" Text="See also [vector images in linux](http://unix.stackexchange.com/questions/2770/vector-images-in-linux)." CreationDate="2011-02-25T23:22:32.090" UserId="885" />
  <row Id="10122" PostId="8225" Text="There's no way to disable that?" CreationDate="2011-02-25T23:35:29.233" UserId="1049" />
  <row Id="10123" PostId="8225" Score="3" Text="@George There is, because rdesktop does it somehow (the password argument turns into `XXXXXXXX`); I'd love to know how. It might do something lame like just forking itself and passing a fake argument; I'm not sure" CreationDate="2011-02-25T23:39:45.463" UserId="73" />
  <row Id="10124" PostId="8227" Text="2. Yes but if I have an empty computer w/ no OS that I want to restore to, how do I do that? 3. Does that mean all my system files are not hardware specific, and that after the restore my system will just boot up and start working as if nothing happened? And OK, if I ask something like this again in the future I will split up the question. :) Sorry about the wordiness..." CreationDate="2011-02-26T00:03:25.673" UserId="1375" />
  <row Id="10125" PostId="8225" Score="7" Text="On Linux, a process can overwrite the argument array passed to it. This is the reflected in the process tree visible by other users. However, there's still always a time when they are exposed, and may be vulnerable to race conditions and timing attacks. " CreationDate="2011-02-26T00:06:22.160" UserId="2511" />
  <row Id="10126" PostId="8227" Score="1" Text="@penyuan: You need to start from some OS. If you have an empty computer, you'll need to boot from a CD/USB/…, and recreate the partitions and filesystems you want. Then you can use file-level backup tools such as rsync or rdiff-backup to restore your files." CreationDate="2011-02-26T00:13:26.700" UserId="885" />
  <row Id="10127" PostId="8125" Text="@fred: I though of writing `/first date in chunk/-1` but this does not work, though it would be great if it did, hence me pointing to `/last date prior to chunk/` and `/first date after chunk/` - this will work. dogbane's method is just as good, but needs more explaining: FOO needs to be the first date in chunk, BAR needs to be the last date in the chunk (inclusive)." CreationDate="2011-02-26T02:15:18.853" UserId="3519" />
  <row Id="10128" PostId="8230" Text="A quick double check of my `/etc/shadow` shows 2 entries that start with `$6$`." CreationDate="2011-02-26T02:23:34.470" UserId="1049" />
  <row Id="10129" PostId="8230" Text="Note that SHA-256 and SHA-512 are part of the SHA-2 set of hash functions." CreationDate="2011-02-26T02:33:24.180" UserId="2511" />
  <row Id="10130" PostId="8216" Text="ack is a single Perl program, downloadable as a plain text file.  If you want, you can go to http://betterthangrep.com/ack-standalone and cut &amp; paste the contents into a file.  I specifically made it so that it is available _anywhere_ you can run Perl." CreationDate="2011-02-26T03:52:37.917" UserId="1860" />
  <row Id="10131" PostId="8223" Text="A simple &quot;yes&quot; &quot;no&quot; answer to this question would contradict the content and the title :P&#xA;" CreationDate="2011-02-26T04:29:20.427" UserId="2130" />
  <row Id="10132" PostId="8098" Text="Well.. yes, but I'm holding out for some sort of explanation as to why `screen` doesn't just propagate the `$TERM` environment variable instead of overriding it with `&quot;screen&quot;`.  Presumably there are some circumstances where it's important to have `$TERM == screen`." CreationDate="2011-02-26T04:56:45.240" UserId="1535" />
  <row Id="10133" PostId="8233" Text="I removed the &quot;active-directory&quot; tag, it has a different meaning." CreationDate="2011-02-26T05:11:42.067" UserId="250" />
  <row Id="10134" PostId="8237" Text="Arch is binary based, Gentoo is source based. That's why Arch is more suitable for slower machines." CreationDate="2011-02-26T05:58:02.083" UserId="250" />
  <row Id="10135" PostId="7527" Text="I couldn't get fedora installation to recognize the local storage of my sd card or my usb drive, so no beans for me. Closest I've come though." CreationDate="2011-02-26T06:50:08.723" UserId="2562" />
  <row Id="10136" PostId="8241" Score="1" Text="How did you install Glib 2.12.0? Post (the relevant part of) `config.log`." CreationDate="2011-02-26T11:14:48.847" UserId="885" />
  <row Id="10137" PostId="8233" Score="1" Text="If you're running a shell command, the current directory is in the shell variable `$PWD`." CreationDate="2011-02-26T11:19:52.743" UserId="885" />
  <row Id="10138" PostId="8220" Text="I don't know how it's work, but I'm pretty sure that new devices is detected by an udev rules, take a look at /etc/udev/rules.d/ and at /lib/udev/rules.d/." CreationDate="2011-02-26T11:31:57.073" UserId="4030" />
  <row Id="10139" PostId="6409" Score="1" Text="On the topic of microkernels and Linux, see also [this very good answer to “Why linux is called monolithic kernel”](http://stackoverflow.com/questions/1806585/why-linux-is-called-monolithic-kernel/1806597#1806597)." CreationDate="2011-02-26T12:08:20.237" UserId="885" />
  <row Id="10140" PostId="8245" Text="This is better since you might possibly boot the system without the drive attached and if I remember correctly you get dumped in to single-user mode." CreationDate="2011-02-26T13:10:13.493" UserId="3389" />
  <row Id="10142" PostId="8137" Text="The NAS is a Synology specific Linux with kernel 2.6.32.12 that is using the dd-wrt ipkg repository, so I guess they are quite similar. The router has some kind of proprietary OS. Not possible to add software to it. Only to configure port forwards and similar. From Apple &quot;NAT, DHCP, PPPoE, VPN Passthrough (IPSec, PPTP, and L2TP), DNS Proxy, SNMP, IPv6 (6to4 and manual tunnels)&quot;. I agree that the question would be more manageable if I broke it down. I just don't know enough to know where to draw the line between different questions. That requires at least a rough idea about how to solve it." CreationDate="2011-02-26T13:40:00.927" UserId="5118" />
  <row Id="10143" PostId="8137" Text="A thought: Would it be easier if I bought a cheap DD-WRT compatible router and used it as a dedicated VPN Gateway? I was looking at D-Link DIR-300 wich is really cheap but sounds to be good enough. It doesn't have VLAN support. Will that matter?" CreationDate="2011-02-26T14:36:19.437" UserId="5118" />
  <row Id="10146" PostId="8257" Text="I meant rather a automated solution. I rarely access the NTFS partition (since I hardly have anything on it - however I sometimes need to use Windows)." CreationDate="2011-02-26T17:40:39.330" UserId="305" />
  <row Id="10147" PostId="8257" Text="If you are only interested in the same NTFS folders every time, e.g. 'Documents and Settings', you can wrap this logic into a simple script, or even an udev script if your NTFS drives are portable." CreationDate="2011-02-26T17:44:17.413" UserId="3633" />
  <row Id="10148" PostId="8249" Score="1" Text="Not everything is working normally. Mouse support isn't working, it needs a protocol such as gpm or the xterm mouse protocol." CreationDate="2011-02-26T17:52:08.233" UserId="1987" />
  <row Id="10149" PostId="8258" Text="Witopia don't give support for other software (or hardware) than their own." CreationDate="2011-02-26T18:01:50.400" UserId="5118" />
  <row Id="10150" PostId="8259" Text="I don't understand why you're looking for information under `/dev/disk`. Why not use `%c` and `%P`? If you need more information, it's available under `/sys`." CreationDate="2011-02-26T18:33:11.757" UserId="885" />
  <row Id="10151" PostId="8125" Text="another note... Big problems if either of the dates aren't present in the data!" CreationDate="2011-02-26T18:37:25.877" UserId="2343" />
  <row Id="10153" PostId="8129" Text="another note... Big problem if either of the dates aren't present in the data.. If the last date is not present, sed will keep outputting lines until it reaches EOF." CreationDate="2011-02-26T18:48:18.953" UserId="2343" />
  <row Id="10154" PostId="8261" Text="I don't understand how you get from `unknown` to `page2` and `page3`. More generally, what are you looking for? Do you want to see what wget downloaded? or what is chose not to download?" CreationDate="2011-02-26T19:02:30.270" UserId="885" />
  <row Id="10155" PostId="8154" Text="You should also be able to use the u32 classifier to tc filter instead of iptables." CreationDate="2011-02-26T19:40:00.183" UserId="3154" />
  <row Id="10156" PostId="8261" Text="I would like the wget command to return the page names that are stored in a given directory.&#xA;For instance, I give the input as &quot;example.com/&quot; and it returns with all the pages in the root directory of the website" CreationDate="2011-02-26T19:45:36.947" UserId="5152" />
  <row Id="10157" PostId="8259" Text="Well, $KVOL is something like `/dev/sda`, etc. But I would rather know the `/dev/disk/by-id` entry, as those are unqiue according to disk manufacturer and serial number. Knowing the `/dev/disk/by-id` entry lets check amongst a list of known volumes and apply the correct key.  Didn't know about `%c` or `%P`..." CreationDate="2011-02-26T19:54:00.170" UserId="3389" />
  <row Id="10159" PostId="8263" Text="So when I do &quot;wget -r www.example.com&quot; how is the wget command finding the various pages that are part of that website? (like www.example.com/page1)" CreationDate="2011-02-26T21:29:09.210" UserId="5152" />
  <row Id="10160" PostId="8263" Text="it parses the contents of the html page returned by the server and looks for links &lt;a href=&quot;(link)&quot;&gt;" CreationDate="2011-02-26T21:32:14.190" UserId="1501" />
  <row Id="10161" PostId="1718" Text="It'd be much better with `I read /var/spool/mail/$USER` (or is it referring to the command? Hmm...)" CreationDate="2011-02-26T23:41:55.660" UserId="5133" />
  <row Id="10162" PostId="8270" Text="You can run Linux commands as root on the Palm Pre, right? What do `ifconfig` and `iptables -nvL` show?" CreationDate="2011-02-27T00:51:55.230" UserId="885" />
  <row Id="10164" PostId="8271" Text="When I try to run &quot;sudo -u gdm dbus-launch gconf-editor&quot;, I get &quot;No protocol specified&quot; and &quot;Couldn't exec gconf-editor: No such file or directory&quot;. I'll re-read that page and poke around, though." CreationDate="2011-02-27T02:10:30.097" UserId="391" />
  <row Id="10165" PostId="8125" Text="People who care about useless use of cat are small in number but strong in convinction. It's like the UL equivalent of people who flip out when you call it the &quot;ternary operator&quot; on SO" CreationDate="2011-02-27T02:21:46.843" UserId="73" />
  <row Id="10166" PostId="8271" Text="@thomas-owens I added some steps to try." CreationDate="2011-02-27T02:56:04.437" UserId="2180" />
  <row Id="10167" PostId="8221" Score="1" Text="I hope you don't mind me splitting off your last question into [&quot;What I can I do to make the transition to some new computer hardware safe and smooth?&quot;](http://unix.stackexchange.com/questions/8272/what-i-can-i-do-to-make-the-transition-to-some-new-computer-hardware-safe-and-smo)" CreationDate="2011-02-27T03:00:54.220" UserId="1676" />
  <row Id="10168" PostId="8273" Text="Your requirements are very strange, why do you need a file full of timestamps? Perhaps you are ignoring the obvious solution that does not involve using the shell and a megabyte-long file of easily computable information..." CreationDate="2011-02-27T04:08:45.527" UserId="1627" />
  <row Id="10169" PostId="8273" Text="It would improve a little if your script *echoed* instead of appending (`&gt;&gt;`). Use `./script &gt; afile` to save the echoed data." CreationDate="2011-02-27T04:17:54.880" UserId="2783" />
  <row Id="10170" PostId="8250" Text="I copied `.Xauthority` to `/root` and that's it!" CreationDate="2011-02-27T04:27:07.377" UserId="250" />
  <row Id="10171" PostId="8271" Text="So I did this and launched gnome-appearance-properties, which is just the Appearance Preferences from System &gt; Preferences &gt; Appearance. There's no way to adjust anything about the login screen on that application. I'm now looking at gconf-editor, which I had to install separately. Nothing jumps out at me, but there are a ton of options, so I'll have to read some docs and poke around a little." CreationDate="2011-02-27T05:17:53.267" UserId="391" />
  <row Id="10172" PostId="8272" Text="Are you talking about a specific distro, or is this just hypothetical?" CreationDate="2011-02-27T05:31:59.230" UserId="250" />
  <row Id="10173" PostId="8222" Text="This reminds me very much of the [chumby](http://www.chumby.com/)" CreationDate="2011-02-27T06:16:06.480" UserId="73" />
  <row Id="10174" PostId="8273" Text="magabyte-long? ... I'm looking for gigabytes :) The volume of data is one of the things I want.. and ascending dates is another.. I want to test a script which searches a log by date.. and now I'm more interested in why it is so slow... I suspect that keeping it local to bash is the way to go... but that needs a date algorithm... I'll try that and see how it goes... I want to compare search methods on a large log... http://unix.stackexchange.com/questions/8121/how-to-cut-part-from-log-file/8264#8264" CreationDate="2011-02-27T06:51:55.387" UserId="2343" />
  <row Id="10175" PostId="1718" Score="1" Text="@new123456, It is a pun because the sentence is semantically ambiguous. A BOFH knows that lusers think 'ah nice guy, he is reading my mail I send him - how thoughtful!' - and at the same time he is recognized by fellow BOFHs as one of them (BOFHs don't care about the privacy of correspondence because they are BOFHs - they read the all the mail of their lusers if they are bored)." CreationDate="2011-02-27T10:07:10.453" UserId="1131" />
  <row Id="10176" PostId="8280" Score="3" Text="I will vote for you ;) I don't think we can do it without you. Ok, we can, but it'll be harder." CreationDate="2011-02-27T10:37:30.527" UserId="29" />
  <row Id="10178" PostId="8278" Score="1" Text="What is OpenCV, what are you trying to do with it, what didn't work (copy-paste the commands you used and the error messages)?" CreationDate="2011-02-27T10:48:33.883" UserId="885" />
  <row Id="10179" PostId="8112" Text="+1 I would have answered this if you hadn't." CreationDate="2011-02-27T11:30:36.097" UserId="29" />
  <row Id="10181" PostId="8272" Text="Yes this is really important to me, too. Any ideas?" CreationDate="2011-02-27T11:46:11.303" UserId="1375" />
  <row Id="10182" PostId="8221" Text="That's fine, in fact thanks for doing that!" CreationDate="2011-02-27T11:46:52.370" UserId="1375" />
  <row Id="10183" PostId="8222" Text="@laplie I'm sure someone does... I saw one of those gambling bar app systems which always seem &quot;flashy&quot; to me rebooting centos the other day." CreationDate="2011-02-27T11:52:43.550" UserId="29" />
  <row Id="10185" PostId="8281" Text="@Iain: Excellent, Thanks... It's obvious and I couldn't see it, even though I've been thinking about it lately... ie. how system calls beyond bash's own environment (eg. to `date`) incurr a serious (dare I say severe) overhead... My script issues a system call for each and every line in the log.. Whereas, in your case, you are making a total of 2 system calls to 'date'; 1 for the feeder, and 1 for the log itself.. QED!.. The 57 minutes has been reduced to 1 min...  (This must rate as a classic example of why to not make external calls in a willy-nilly manner... I plead ignorance :)  " CreationDate="2011-02-27T12:20:51.077" UserId="2343" />
  <row Id="10187" PostId="8284" Text="Thanks Gilles... It is a good thing that we learn by our mistakes... (I've been learning a lot lately :) ... I'm certainly more aware now of the these 'internal batch options' you've mentioned... " CreationDate="2011-02-27T12:32:45.670" UserId="2343" />
  <row Id="10189" PostId="8284" Text="OMG! ...500 times faster than my script ! 8.6 seconds (the seq needs some tweaking.. It's putting out scientific notation. I used brace expansion kludge, because I couldn't spot the right seq option.) ..." CreationDate="2011-02-27T13:19:17.717" UserId="2343" />
  <row Id="10190" PostId="8281" Text="@Iain: I've been amazed by your script, and 57 times faster is very good, but Gilles has come up with a script that means he has to get the 'best' answer ... Gille's script has pared it down to 8.6 seconds! (for the number of lines in **my example**) ...approximately 500 times faster than my script !" CreationDate="2011-02-27T13:28:45.353" UserId="2343" />
  <row Id="10191" PostId="8284" Text="@fred.bear: Ah, yes, it's annoying that `seq` doesn't accept integer formats. `%12.0f` will do the trick until the year 33658. Most architectures have 52-bit floating point mantissa, so you can go up to `%15.0f` and still be able to express integers exactly." CreationDate="2011-02-27T13:30:56.220" UserId="885" />
  <row Id="10192" PostId="8273" Text="I've now tried Eelvex's suggestion, and I also directed the output to /dev/null .. and all 3 methods are within a minute of each other, at 57 minutes... and surprisingley (while...do) &gt;&quot;$file&quot; was the slowest... That got me thingking.. I'm about to try Iain's answer...." CreationDate="2011-02-27T13:31:53.587" UserId="2343" />
  <row Id="10193" PostId="7195" Text="Post that in a new question, and I'll elaborate on what advantages and possibilities it will bring." CreationDate="2011-02-27T13:35:29.170" UserId="3959" />
  <row Id="10195" PostId="8284" Text="This is what I used: `eval echo -n @{$secBeg..$secEnd}\$\'\\n\'` .... it adds a leading space to all bar the first line, but it's okay for this situation... ;)" CreationDate="2011-02-27T13:40:21.443" UserId="2343" />
  <row Id="10196" PostId="8276" Score="2" Text="I think you're confusing `virtual filesystem` with `pseudo filesystem`. `/proc` is a `pseudo filesystem`. `virtual filesystems (VFS)` are explained in detail [here](http://en.wikipedia.org/wiki/Virtual_file_system)" CreationDate="2011-02-27T14:22:19.003" UserId="3959" />
  <row Id="10197" PostId="8271" Text="I should have added that the login screen is the background image for the gdm user. Previous versions of GDM supported themes, but it no longer does." CreationDate="2011-02-27T15:38:27.007" UserId="2180" />
  <row Id="10198" PostId="8270" Text="I've added the cmd results. I feel a little dumb now, I have very few knowledge about iptables." CreationDate="2011-02-27T15:39:05.963" UserId="3312" />
  <row Id="10199" PostId="8297" Text="We're kind of on the fence about whether [Plan 9 is on topic here](http://meta.unix.stackexchange.com/q/329/73), but either way, a generic &quot;what do you think of plan 9&quot; is too broad; see [this FAQ section](http://unix.stackexchange.com/faq#dontask), particularly the third bullet" CreationDate="2011-02-27T18:20:32.047" UserId="73" />
  <row Id="10200" PostId="8218" Text="Considering there are two possibilites to do this (GREP_OPTIONS and alias grep): Is one of them preferred? Why or why not?" CreationDate="2011-02-27T19:54:09.153" UserId="4297" />
  <row Id="10201" PostId="8276" Text="You're right: I goofed :) Thanks for pointing that out." CreationDate="2011-02-27T20:07:13.387" UserId="272" />
  <row Id="10202" PostId="8218" Score="1" Text="@Legate: An important difference is that `GREP_OPTIONS` will affect `grep` calls in scripts, while an alias won't. So `GREP_OPTIONS` should be used sparingly. The most common use is for `--color=auto`, which is in principle harmless in scripts because it only takes effect if the output is a terminal." CreationDate="2011-02-27T20:14:56.970" UserId="885" />
  <row Id="10203" PostId="8304" Text="@Mikel: OH! Now if the thing I'm trying to install had only SAID it needed the -devel libraries... Thanks! `make` ran just fine after I installed those." CreationDate="2011-02-27T21:27:40.993" UserId="2333" />
  <row Id="10204" PostId="8304" Text="If you build it using `rpmbuild` using [their spec file](https://build.opensuse.org/package/files?package=focuswriter&amp;project=home:gottcode), it might help tell you all the RPMs you need." CreationDate="2011-02-27T21:31:22.410" UserId="3169" />
  <row Id="10205" PostId="1062" Text="The fact that, as root, `dd` can do anything to any block device in the system, combined with the fact it's possible for root to do a lot of meddling, intentional and unintentional, with kernel and system stuff in /dev and /proc should be enough to convince anyone not to run as root unless needed." CreationDate="2011-02-27T21:46:47.643" UserId="3389" />
  <row Id="10206" PostId="7258" Text="It's a /boot/grub/menu.lst" CreationDate="2011-02-27T22:48:55.703" UserId="4705" />
  <row Id="10207" PostId="7258" Text="In my situation it helped me." CreationDate="2011-02-27T22:49:48.730" UserId="4705" />
  <row Id="10208" PostId="8300" Score="1" Text="English is a thief of words, but it has good taste :)" CreationDate="2011-02-27T23:16:03.140" UserId="5185" />
  <row Id="10209" PostId="8307" Text="Note that the mentioned LXC _is_ actually such a technology." CreationDate="2011-02-27T23:18:08.227" UserId="2511" />
  <row Id="10210" PostId="7661" Text="@gilles, thanks, I will look into that, however won't a proxy use up a lot of processing power ?" CreationDate="2011-02-27T23:44:37.637" UserId="4892" />
  <row Id="10211" PostId="7684" Text="@woodin thank you :) Will this use a lot of processing power though ?" CreationDate="2011-02-27T23:45:15.623" UserId="4892" />
  <row Id="10212" PostId="4149" Score="1" Text="You will find heavy duty filesystems implemented in fuse: LessFS, GlusterFS, MooseFS. Google's GFS (not POSIX) also runs in userspace." CreationDate="2011-02-28T00:36:34.563" UserId="2729" />
  <row Id="10213" PostId="8313" Score="4" Text="@Nok I think that is obvious here, considering he linked to the wikipedia article on it. Your answer is not valid to the question." CreationDate="2011-02-28T01:20:19.680" UserId="29" />
  <row Id="10214" PostId="8310" Text="VMbuilder is a Python script to build VMs, right? So there is still the question of which hypervisor is best for the task." CreationDate="2011-02-28T01:37:33.877" UserId="5184" />
  <row Id="10215" PostId="8310" Text="KVM is simplest." CreationDate="2011-02-28T01:40:26.973" UserId="2729" />
  <row Id="10216" PostId="8314" Score="2" Text="Good job, Watson." CreationDate="2011-02-28T01:41:33.900" UserId="2729" />
  <row Id="10217" PostId="8307" Text="It seems you are recommending a container/zone/jail over a hypervisor or emulator setup. I was already thinking an emulator would be too heavy. Why would you advise containers over a hypervisor?" CreationDate="2011-02-28T01:43:28.613" UserId="5184" />
  <row Id="10218" PostId="8120" Text="The statement you quoted doesn't address my question. Maybe you misunderstood (or I'm missing something?)." CreationDate="2011-02-28T04:25:59.427" UserId="688" />
  <row Id="10219" PostId="8324" Score="5" Text="Please specify the distro you installed. None of the ones I've used set /root to world readable." CreationDate="2011-02-28T05:58:02.727" UserId="3082" />
  <row Id="10220" PostId="8327" Score="1" Text="It is not only practical, it is essential when you need it... Are the designers of `seq` impractical? it can go orders of magnitude higher... Is it practical? absolutely (when you need it), Is it rare? I don't know, but I suspect so.. but a truck on the highway you don't see is also rare, but it is quite important :) ...  However, I need it now, and I'm looking for the best option... Because of this 'integer sequence' crashing, it has triggered a broader question.. &quot;What  governs the limits of shell brace expansion?&quot;" CreationDate="2011-02-28T07:06:14.243" UserId="2343" />
  <row Id="10221" PostId="8315" Text="Thanks for your answer. It solves one part of the problem, which is that the second error message (`Error: Can't open display: (null)`) is unrelated to ssh-agent. It's related to oh-my-zsh. On the other hand, still don't know why ssh-agent fails (and why I get the first error message), but it might also be because of oh-my-zsh." CreationDate="2011-02-28T07:15:48.870" UserId="645" />
  <row Id="10222" PostId="8284" Text="@Gilles, youv'e introduced me to another &quot;use the right tool for the job at hand&quot; ... `seq` is 6 times faster (for list generaton aspect) than is `echo {1..n}`.... `seq`'s  only limit seems to be it's 'float' cap (which, as you've mentioned, is &quot;adequate&quot; :)....Aside from speed, `echo {1..n}` bombs out, when my 3.2 GB RAM-gauge maxes out, with a tally of a trivial 15 million items... ( I need 429 million ) ... I've asked a seperate question about brace expansion limits: http://unix.stackexchange.com/questions/8326/what-governs-the-limits-of-shell-brace-expansion" CreationDate="2011-02-28T07:45:49.357" UserId="2343" />
  <row Id="10223" PostId="8284" Score="1" Text="For those interested, here is how it panned out using Gilles' method... For the finished product of 429520320 (429 million) lines; ie. 13.6 years of dates (one second per line):... The `seq` expansion alone (to /dev/null) takes 14 minutes... The entire job of creating an 8 GB file took 45 minutes." CreationDate="2011-02-28T08:27:54.173" UserId="2343" />
  <row Id="10224" PostId="8324" Score="2" Text="@Keith: Really? Ubuntu 8.04 and Debian 6 both have root as readable to others." CreationDate="2011-02-28T08:38:19.037" UserId="4069" />
  <row Id="10225" PostId="8250" Text="No I was wrong, after rebooting I got &quot;invalid key&quot; error." CreationDate="2011-02-28T09:07:10.470" UserId="250" />
  <row Id="10227" PostId="8281" Text="@Iain: I've been puzzling all day (well, not all day, but on and off) over why there is such a time difference  difference beteween your method and Gilles'...  I just spotted it (maybe??)... Although you make only 2 calls to `date`, you make 100000000 (or whatever) appends to file datein.txt. whereas Gilles' method uses 1 call to `seq` and then the shell just pipes it's output stream to `date`.... Wow! I need a coffee! but what a great lesson..." CreationDate="2011-02-28T09:44:37.347" UserId="2343" />
  <row Id="10228" PostId="8281" Text="@fred.bear:  Yes, using the method I proposed generating the input file takes a long time. The date command takes relatively little time." CreationDate="2011-02-28T09:45:00.310" UserId="591" />
  <row Id="10229" PostId="8281" Text="PS.. and `date` also has to read that file 100000000 times(?) .. whatever the exact details are, It seems that using the shell directly is the take-home message ..  .. I didn't get my edit done in time (again ;)" CreationDate="2011-02-28T09:50:53.537" UserId="2343" />
  <row Id="10230" PostId="8281" Text="Reading the file is quite cheap, it's the opens/write/close that is expensive." CreationDate="2011-02-28T09:57:37.413" UserId="591" />
  <row Id="10231" PostId="8324" Score="1" Text="Well, I don't use those. ;-)" CreationDate="2011-02-28T10:02:41.153" UserId="3082" />
  <row Id="10232" PostId="4645" Text="**note**: Well, I'm experiencing it again, but less randomly. I'm back using **2.6.32**." CreationDate="2011-02-28T11:50:00.547" UserId="688" />
  <row Id="10233" PostId="8330" Text="@Fussy Salsify: Thanks for your Answer. I haven't found these details using `our friends from google`." CreationDate="2011-02-28T11:50:47.427" UserId="5193" />
  <row Id="10234" PostId="856" Text="Thank you all for the comments, and votes! Great to know the answer is appreciated this well!" CreationDate="2011-02-28T13:07:51.677" UserId="728" />
  <row Id="10236" PostId="3291" Text="@Renjith G: Those &quot;beer&quot; and &quot;speech&quot; are just examples that people (at least in the western world) get, because they reference commonly used expressions. People associate &quot;free speech&quot; with freedom or &quot;freedom of speech&quot;, and &quot;free beer&quot; with taking benefit of something without paying." CreationDate="2011-02-28T13:15:20.700" UserId="728" />
  <row Id="10237" PostId="8120" Score="1" Text="I think there's ambiguity in the text between the original, 'no leading numeric' RFC and the later 'leading numeric OK' version.  That's the point.  All I know is fully-numeric hostnames cause frequent breakage, so they're a poor practice.  RFCs are not laws, nor are they guaranteed to be perfectly implemented." CreationDate="2011-02-28T14:28:04.183" UserId="2827" />
  <row Id="10238" PostId="8324" Text="@acid You sure? AFAIR Debian has never done anything like that (from an oft-unreliable memory), or at least as far as I started using it ~decade ago. Are you sure something didn't get screwed during daily usage? Was this a normal install? What exact OS are you using?" CreationDate="2011-02-28T14:40:25.877" UserId="688" />
  <row Id="10241" PostId="8125" Text="@asoundmove; your script only removes the FIRST line matching your first search expression: What about repeating dates? Here is a TEST example: EXPECTED output is CC CC DD DD, but it produces BB CC CC DD DD ... $ b=BB; e=EE ;echo -e &quot;AA\nAA\nBB\nBB\nCC\nCC\nDD\nDD\nEE\nEE\nFF\nFF&quot; &gt;logfile ; sed '1,/'$b'/d;/'$e'/,$d' logfile" CreationDate="2011-02-28T15:31:46.300" UserId="2343" />
  <row Id="10242" PostId="8121" Text="	&#xA;Hey guys, this question is about a **big** file, so it's &quot;Ante up!&quot;.. time matters...I've tested the favoured sed script on a real 8 GB file, with 85904064 lines (100 chars per line). I love sed, but as it stands, the sed script scans the entire file, **every** time. This makes it on average twice as slow as the awk script which exits-when-found... I think(?) the sed script **may** just need a q instead of d for the second expression... The test results are here: http://paste.ubuntu.com/573477/ .. Also, it doesn't produce the proper output.. see my comment at the end asoundmove's answer. " CreationDate="2011-02-28T15:36:54.470" UserId="2343" />
  <row Id="10249" PostId="8326" Text="The question is interesting, but I think the &quot;real&quot; answer — that is, beyond the academic interest — is definitely _this is one of those signs that it's time to switch to a scripting language_." CreationDate="2011-02-28T16:48:45.563" UserId="2511" />
  <row Id="10250" PostId="8145" Text="Good. It works &quot;as advertised&quot; :) ... However, `grep` will search the entire file, even if the date **range** is at the start of the file. On average this doubles the time of a search, when compared to &quot;exit-after-last-item-in-range&quot;... I'm only bothering to mention this because of the 8 GB file size mentioned in the question, Your grep time results are almost identical to the sed example here (1min 58sec). Here is the link to my time tests results: http://paste.ubuntu.com/573477/" CreationDate="2011-02-28T16:57:38.393" UserId="2343" />
  <row Id="10252" PostId="7299" Text="See also http://serverfault.com/questions/196285/secure-network-filesystems-for-linux-what-are-people-doing" CreationDate="2011-02-28T17:59:57.920" UserId="2511" />
  <row Id="10253" PostId="8328" Text="@Charles: Thanks for the answer. Your comment, &quot;It is not at all similar to seq...&quot; put things into sharp relief; the penny dropped...   I just now Alt-Tabbed to check my Terminal for the progress of `echo $(seq 1 1000000000)`, but the Terminal had vanished :) ... So, I gather that it is nothing to do specifically with either `echo` or brace-expansion... and that it is simply a matter of running out of RAM ... btw, this issue arose from this question: http://unix.stackexchange.com/questions/8273/fast-way-to-build-a-test-file-with-every-second-listed-in-yyyy-mm-dd-hhmmss-for" CreationDate="2011-02-28T18:02:11.787" UserId="2343" />
  <row Id="10255" PostId="7242" Text="I timed it with and without this option, and there was **no** noticeable change in performance." CreationDate="2011-02-28T18:18:27.390" UserId="688" />
  <row Id="10256" PostId="8048" Score="1" Text="I'm very tempted to ask you to try a [younger kernel](http://packages.debian.org/sid/linux-image-2.6.37-1-686)." CreationDate="2011-02-28T18:53:28.413" UserId="688" />
  <row Id="10257" PostId="8123" Text="This looks like an excellent answer, and now I'm going to have to ask you to spoon-feed me by including what commands to run for each task. I'm specifically interested in how to use Nmap to answer my question (don't make me read the docs :)" CreationDate="2011-02-28T18:57:46.070" UserId="688" />
  <row Id="10258" PostId="8344" Score="1" Text="I can hear the shell squealing under the torture" CreationDate="2011-02-28T18:58:49.797" UserId="591" />
  <row Id="10259" PostId="8336" Score="1" Text="Con you connect to any service running on the machine from localhost at all, or is it just spamd? One suggestion I have (although this is pretty much a shot in the dark) is to check your iptables settings (try iptables -L)." CreationDate="2011-02-28T19:00:02.620" UserId="4648" />
  <row Id="10261" PostId="8344" Text="Yeah sorry. That's why I stopped. :)" CreationDate="2011-02-28T19:08:26.457" UserId="2511" />
  <row Id="10262" PostId="7613" Score="1" Text="@Billy There are ports to nommu systems: uClinux, uClinux/ARM, and MontaVista Linux." CreationDate="2011-02-28T19:08:46.067" UserId="2729" />
  <row Id="10263" PostId="8344" Text="&quot;which is to make something which acts like a global variable&quot; - Well, indeed, that's what I was trying to acomplish. The ~/.myvar isn't pretty, but it works. Do you have another suggestion?" CreationDate="2011-02-28T19:11:39.613" UserId="2689" />
  <row Id="10264" PostId="8344" Score="1" Text="Well, let's step back a bit. Why do you want a global variable?" CreationDate="2011-02-28T19:12:19.357" UserId="2511" />
  <row Id="10265" PostId="8345" Score="1" Text="You can also create $HOME/bin and put all your scripts in there (and add it to PATH in your login profile). The CVS isn't going to know about shell aliases." CreationDate="2011-02-28T19:14:41.110" UserId="3082" />
  <row Id="10266" PostId="8340" Text="thanks for the correction." CreationDate="2011-02-28T19:42:08.707" UserId="3389" />
  <row Id="10267" PostId="7613" Text="@Tobu: Hmm.. I don't understand how that can be. The entire &quot;Unix Philosophy&quot; for multiple processes has the assumption that something like `fork` is possible, and `fork` cannot be done reasonably efficiently on a non virtual memory system. While the indicated ports probably use parts of the Linux kernel and can run some Linux software, for the most part it appears the APIs exposed by these ports are different than typical Linux kernels. (Example: memory mapping -- which obviously requires virtual memory)" CreationDate="2011-02-28T19:56:40.840" UserId="4885" />
  <row Id="10268" PostId="8344" Text="@mattdm: I have some &quot;bureaucracies&quot; that I have to obey. One of them is a bunch of codes I need to commit along with a comment. These codes are, now, in a folder hierarchy (home/user/projects/projectcode/code1/code2). I made a function that extracts code1 and code2 to env vars (so when I need to do an activity, I just call the function inside the dir with the codes), and them, when commiting, I use vim and there are some functions that read these vars and put in a comment automatically. I think using files for that can be a solution." CreationDate="2011-02-28T20:24:21.720" UserId="2689" />
  <row Id="10269" PostId="8352" Score="1" Text="@user4724: how did yuo generate the list ?" CreationDate="2011-02-28T20:30:37.267" UserId="591" />
  <row Id="10270" PostId="8356" Text="I did not unmount the card before removing it. Do we need to unmount the SD/MMC cards? In the driver implementation (drivers/mmc/core/core.c), it is assumed that card could be removed during the life cycle. I agree that there may be an on-going query (status inquiry, etc.) from kernel (bus) side, and it did not find the medium and raised this error. " CreationDate="2011-02-28T07:27:26.673" UserId="5168" />
  <row Id="10271" PostId="8356" Text="Now, that -123 issue is resolved. Thank you @Keith! The bigger query: (in general) how to track the error codes/numbers in Linux..what path is ideal for it?" CreationDate="2011-02-28T07:31:25.800" UserId="5168" />
  <row Id="10272" PostId="8356" Score="2" Text="You must unmount any mounted media before removing it. The kernel may have cached some data and not written it to the media yet. Your system may have automounted it (usually they are set up that way), but must be manually (in GUI or CLI tool) unmounted or ejected before you can safely remove it. All OSes require that." CreationDate="2011-02-28T07:32:33.600" UserId="3082" />
  <row Id="10273" PostId="8356" Text="I am not sure about the general question. I always just use grep and track it down in the header files. Perhaps I'll write a Python script. ;-)" CreationDate="2011-02-28T07:34:27.000" UserId="3082" />
  <row Id="10274" PostId="8344" Text="Files are definitely the normal way to solve that problem." CreationDate="2011-02-28T20:39:14.163" UserId="2511" />
  <row Id="10275" PostId="8344" Text="@mattdm: Yeah. Since it's my workstation machine only, I think I'm going to use '/tmp'. Thanks for the answer." CreationDate="2011-02-28T20:46:04.523" UserId="2689" />
  <row Id="10276" PostId="8348" Score="5" Text="A trick: use directories instead of files for locking, because `mkdir` works as an atomic test-and-create." CreationDate="2011-02-28T20:53:40.423" UserId="2511" />
  <row Id="10277" PostId="8345" Score="1" Text="You would want to add `&quot;$@&quot;` as the filename argument to vim in that script." CreationDate="2011-02-28T20:59:42.430" UserId="4667" />
  <row Id="10278" PostId="8345" Score="1" Text="Also, `rvim` is already a command (restricted vim). OP might want to choose a different name." CreationDate="2011-02-28T21:01:42.693" UserId="4667" />
  <row Id="10279" PostId="8339" Score="1" Text="The reason the alias doesn't work is that only the shell expands aliases, and likely cvs execs your editor without going through the shell, so it will have to be an actual command." CreationDate="2011-02-28T21:02:48.810" UserId="4667" />
  <row Id="10280" PostId="8264" Text="@fred, I would write it (taking the first one for example) a little more simply thus:&#xA; `awk -v from=&quot;$from&quot; -v till=&quot;$till&quot; '($2 &gt;= from) { if ($2 &lt;= till) { print } else { exit }' &quot;$file&quot;`" CreationDate="2011-02-28T21:17:57.273" UserId="3519" />
  <row Id="10281" PostId="8352" Text="https://pastebin.com/raw.php?i=EGvaAidz" CreationDate="2011-02-28T21:20:47.203" UserId="4724" />
  <row Id="10282" PostId="8357" Text="i need it recursively, sorry" CreationDate="2011-02-28T21:21:12.273" UserId="4724" />
  <row Id="10283" PostId="8357" Text="+ls -lt will list a full directory, if 1 file changes in it." CreationDate="2011-02-28T21:22:31.583" UserId="4724" />
  <row Id="10284" PostId="8356" Text="@Keith: Some OSes make you think you don't need to unmount cleanly, and turn off write buffering for removable media. [But it's not a good idea.](http://superuser.com/questions/180722/should-i-unmount-a-usb-drive-before-unplugging-it/180732#180732)" CreationDate="2011-02-28T21:22:47.660" UserId="885" />
  <row Id="10285" PostId="8356" Text="@Keith `perror(1)` already does this if you have mysql-server installed." CreationDate="2011-02-28T21:29:42.917" UserId="3169" />
  <row Id="10286" PostId="8361" Text="`perror(1)`? I never knew that. Oh, it's from MySQL, not everybody has this." CreationDate="2011-02-28T21:31:37.107" UserId="885" />
  <row Id="10287" PostId="8361" Text="@Gilles D'oh, you beat me to the `perl` version! ;-)" CreationDate="2011-02-28T21:37:04.443" UserId="3169" />
  <row Id="10288" PostId="7750" Text="Yeah vgs shows an empty data VG. It looks like I'm out of luck as I don't know the exact PE order" CreationDate="2011-02-28T21:41:01.373" UserId="3466" />
  <row Id="10289" PostId="7750" Text="marking this answer as my accepted answer as it seems closest to what I would need to do, if I actually followed the correct migration steps" CreationDate="2011-02-28T21:41:59.343" UserId="3466" />
  <row Id="10290" PostId="8352" Text="@user4724: That doesn't generate the same type of outpout for me that you have - no matter as Gilles has [the answer](http://unix.stackexchange.com/questions/8352/sorting-by-date/8359#8359) " CreationDate="2011-02-28T21:46:04.067" UserId="591" />
  <row Id="10291" PostId="8339" Score="1" Text="@glenn: And even if cvs executes the editor via a shell, under most setups, aliases are only available in *interactive* shells (the others don't read `.bashrc`/`.zshrc`/…)." CreationDate="2011-02-28T21:55:09.397" UserId="885" />
  <row Id="10292" PostId="8324" Score="1" Text="Always set the permission on files with passwords to 600 or 400.  The loosest permission I would allow is 640 or 440 if users in a specific group need access.  I have an ssl-certs group where this would apply." CreationDate="2011-02-28T21:58:57.980" UserId="4520" />
  <row Id="10293" PostId="8345" Text="Thanks for the comments, I improved my answer based on your suggestions" CreationDate="2011-02-28T22:08:04.080" UserId="4648" />
  <row Id="10295" PostId="8326" Score="1" Text="You're asking too much memory from bash. On my machine, 10000000000 immediately crashed bash with `bash: xmalloc: ../../../bash/lib/sh/stringvec.c:40: cannot allocate 11280523272 bytes (0 bytes allocated)`. (bash 3.2.39, amd64.) 15000000 caused too much swapping, so I killed it. You're just asking too much from poor bash." CreationDate="2011-02-28T22:19:49.343" UserId="885" />
  <row Id="10296" PostId="8291" Text="There's something wrong in your `.zshrc`. Line 47, I think (unless my crystal ball's gone misaligned again). Post your `.zshrc`, and try adding `set -x` at the beginning to see a trace of what it's doing." CreationDate="2011-02-28T22:25:13.783" UserId="885" />
  <row Id="10297" PostId="8343" Score="1" Text="Could you briefly explain (or point me to a resource which explains) what is meant by &quot;...and every file is a mount point&quot;? " CreationDate="2011-02-28T22:31:11.697" UserId="4856" />
  <row Id="10298" PostId="8324" Score="2" Text="@Tshepang: `/root` has always been 755 on Debian and Ubuntu, as far as I remember. My unreliable memory goes back to potato, and I can verify this for machines where the first install was etch, lenny, warty, hardy or lucid." CreationDate="2011-02-28T22:38:14.757" UserId="885" />
  <row Id="10299" PostId="8324" Text="Guys, whatever if it does or not, the question is still the same. Its just an example. What else should i change? I change www-data cause sites need mysql which require useraccounts which can modify their site data. Which is why i limit what can read the www folders. What else can i do? Maybe theres a folder containing mail information i like to limit? maybe there are other things?" CreationDate="2011-02-28T22:44:50.157" UserId="4069" />
  <row Id="10300" PostId="8366" Score="1" Text="You get the C preprocessor constant, but at the expense of having to install yet another utility, and a not very robust one at that. I'll stick to Perl or Python. Or even zsh, where you also get the constant name with `zmodload zsh/system; echo $errnos[123]`." CreationDate="2011-02-28T22:45:20.147" UserId="885" />
  <row Id="10301" PostId="8299" Text="I would suggest visiting [this question over on the English Language stack exchange](http://english.stackexchange.com/q/9969/3820) - but @Maciej covered it anyway." CreationDate="2011-02-27T20:28:22.177" UserId="3046" />
  <row Id="10302" PostId="7661" Text="@Alexandre: Compared to a web browser rendering the page, very little, I'd guess." CreationDate="2011-02-28T22:54:50.933" UserId="885" />
  <row Id="10303" PostId="8048" Text="Thanks for the suggestion: I've just upgraded to linux-image-2.6.37-1-686 and linux-base (only) from sid, and yes it now seems to be working very well (not a hint of trouble in dmesg)... I'm posting this over 3G after some surfing; the crashy version would never have got that far.  Not an entirely satisfactory solution (because by the time squeeze is retired, who knows what version wheezy/sid will have moved onto and whether upgrading will still be a viable option), but it certainly works for me now.  Care to submit your previous comment as a formal answer so I can accept it ?" CreationDate="2011-02-28T22:57:48.490" UserId="5094" />
  <row Id="10304" PostId="8272" Text="I currently have a few bits of software running on a Fedora 7 i686 box that I want to move &quot;the good stuff&quot; to a Fedora 14 x86_64 box. Most software I use claims it works with most Linux distributions, so I hoped that, with a bit of careful planning, the same process with only minor changes would also work for switching from any distro to any other distro." CreationDate="2011-02-28T23:00:04.890" UserId="1676" />
  <row Id="10305" PostId="8367" Score="2" Text="possible duplicate of [Disable screen blanking on text console](http://unix.stackexchange.com/questions/8056/disable-screen-blanking-on-text-console): look for a `setterm` command in your init files. If you have trouble with that, say so, and we'll leave your question open for that." CreationDate="2011-02-28T23:04:22.007" UserId="885" />
  <row Id="10306" PostId="8367" Text="i played around with setterm just before i asked the question and at first it seemed to have no impact at all... but now my monitor doesnt turn off any more... Strange because i thought that it had no effect and `setterm -default` ... so seems that gentoo allready messed around with the settings and setterm -default set them back. So yeah, seems to be a duplicate then ;)" CreationDate="2011-02-28T23:44:06.673" UserId="5216" />
  <row Id="10307" PostId="7242" Text="Did you try it with eatmydata? Additionally when I started using the force-unsafe-io option inside my pbuilder chroots, I remember a very noticeable difference." CreationDate="2011-02-28T23:46:27.507" UserId="3459" />
  <row Id="10308" PostId="8343" Score="1" Text="@Mr. Shickadance: Traditionally, you can only mount filesystems and you can only mount them on directories. On Linux, you can also mount directories on directories and files on files. So, in a sense, every directory and every file is a filesystem and every file (and not just every directory) is a mountpoint. Example: `cd /tmp; echo a &gt; a; echo b &gt; b; sudo mount --bind a b; cat b # =&gt; a`" CreationDate="2011-03-01T02:23:23.977" UserId="1466" />
  <row Id="10309" PostId="8264" Text="@asoundmove: Yes, that may **look** better, and it is definitely more **conventional**, but in reality, its execution time is only the duration of 1 extra `if` statement *in total* (not even 1 per line) ie. the logic flow is effectively the same, and the difference in run time would be counted in nanoseconds.... The only reason I didn't use &quot;else&quot; is that this is effectively my first ever `awk` script (aside from one day 4 years ago when I played with some examples)... and that is the first workable branch mechanism I found...(and as mentioned. it's just as fast).. I generly use `sed` Try `q`" CreationDate="2011-03-01T02:37:48.123" UserId="2343" />
  <row Id="10310" PostId="8370" Text="So if you have `/a/b`, and `b` has no `*.foo` files, but `/a/b/c` has `*.foo` files, obviously we don't want to run `rm -rf /a/b`, right?  In this case, I don't think `rm -rf` is the right approach, maybe we need something like `rm dir/*; rmdir dir`." CreationDate="2011-03-01T03:20:29.223" UserId="3169" />
  <row Id="10311" PostId="8283" Text="I must say, the link to the kernel documentation won this for me. Thanks for the help :)" CreationDate="2011-03-01T03:20:36.713" UserId="3170" />
  <row Id="10313" PostId="8125" Text="@asoundmove: This `q` mod will solve your speed issue, but it does introduce a blank line at the end. I've never worked with `q` before today.. I'm sure there is a cleaner way... but you will need introduce a sub-loop into your logic to cater for the extra leading records... Here is the `q` version:  `b=BB; e=EE ;echo -e &quot;AA\nAA\nBB\nBB\nCC\nCC\nDD\nDD\nEE\nEE\nFF\nFF&quot; | sed '1,/'$b'/d;/'$e'/{g;q}' ....(but until you add some sub logic, it will keep printing unwanted &quot;exclude-this&quot; arg1 repeated matches)" CreationDate="2011-03-01T03:40:44.940" UserId="2343" />
  <row Id="10314" PostId="8048" Text="Good to know I helped. Tell me, does the software that came with Vodafone (VMC) still work? Also, by all-Squeeze, do you mean that you are not using Vodafone's usb_modeswitch?" CreationDate="2011-03-01T04:58:31.960" UserId="688" />
  <row Id="10315" PostId="7879" Text="I strongly suspect that your approach would work. I've Accepted mine though because it's what I used (which was just before I saw your Answer)." CreationDate="2011-03-01T05:13:25.177" UserId="688" />
  <row Id="10316" PostId="8324" Text="@Gilles Maybe I'm lost regarding these permissions thing, but `stat -c'%a %A' /root/` gives me `700 drwx------`. I don't remember ever being able to go into &quot;**/root**&quot; directory as non-root." CreationDate="2011-03-01T05:17:22.960" UserId="688" />
  <row Id="10317" PostId="8362" Text="Thank you, @Gilles. I think, in python solution, os.strerror is required.." CreationDate="2011-03-01T05:28:00.983" UserId="5168" />
  <row Id="10318" PostId="8361" Text="Thank you, @Mikel! I never knew these many options are available..or am I lucky to be here!!! :)" CreationDate="2011-03-01T05:32:49.547" UserId="5168" />
  <row Id="10319" PostId="8058" Text="I have edited your Answer mercilessly, so don't hesitate to rollback if you don't like it. Also, please Accept your answer because it's the actual solution. You should not Accept an Answer just because you are grateful it led you to the actual answer, if there is actually a better Answer." CreationDate="2011-03-01T05:39:53.830" UserId="688" />
  <row Id="10320" PostId="8376" Text="Why go through so much pain? Why not upgrade to a later Fedora? You are over 10 releases behind. I'm just curious." CreationDate="2011-03-01T05:45:43.980" UserId="688" />
  <row Id="10321" PostId="8376" Text="In my office they still use that godforsaken machine with that antique os. When that OS boots it displays `Booting fedora Core 2.6` then after sometime the screen says `Redhat nash 4.1` and after when i get to the desktop I could see the RedHat Screen only. Now tell me this is'nt interesting :-). Could you tell any repo @Tshepang  " CreationDate="2011-03-01T05:57:15.100" UserId="5139" />
  <row Id="10322" PostId="8377" Text="I asked this question at Stackoverflow, but they closed the thread and redirected me to here." CreationDate="2011-03-01T06:01:22.970" UserId="5226" />
  <row Id="10323" PostId="8376" Text="It would be faster and easier to secretly install the latest Fedora. " CreationDate="2011-03-01T06:06:15.740" UserId="3082" />
  <row Id="10324" PostId="8376" Text="How to install latest fedora @Keith ? It would be playing pretty close to the chest. I just want firefox only. Not entire OS upgrade. mmmm need a good repository....thats all " CreationDate="2011-03-01T06:09:48.013" UserId="5139" />
  <row Id="10325" PostId="8324" Text="@Tshepang: Step 1: Download debian or ubuntu Step 2: Install it (perhaps on a VM) Step 3: look at the permissions for /root. Step 4: Wonder why you went through all this trouble when it has nothing to do with the question Step 5: Realize you dont have anything else to the thread ;)" CreationDate="2011-03-01T06:23:32.607" UserId="4069" />
  <row Id="10326" PostId="8376" Text="The problem is that once you follow the entire dependency chain you may have a whole new OS anyway. I don't find a pre-built binary for that combination. Maybe you can compile it from source." CreationDate="2011-03-01T06:28:30.183" UserId="3082" />
  <row Id="10327" PostId="8376" Text="okay @keith i shall try it to compile from the source tarball" CreationDate="2011-03-01T06:55:01.627" UserId="5139" />
  <row Id="10328" PostId="8328" Text="@fred: It could be a seg fault arising from some internal buffer overflow, or it could be some OS limit being exceeded and the program not handling the error condition gracefully.  Note that the expansion is done by the shell, not the terminal.  Maybe your terminal programs have a &quot;don't close on shell exit&quot; setting?  This way you might see how the shell exits." CreationDate="2011-03-01T07:14:33.427" UserId="5197" />
  <row Id="10329" PostId="8324" Text="@acid Oh, so one can go inside /root directory even though they don't have permissions to read the directory?" CreationDate="2011-03-01T07:32:35.867" UserId="688" />
  <row Id="10330" PostId="8376" Text="Why don't you just download Firefox from original provider and run from your home dir? I think that's possible." CreationDate="2011-03-01T07:50:01.740" UserId="688" />
  <row Id="10331" PostId="8362" Text="@TheCottonSilk: Thanks, fixed. Note that you can now suggest edits on any post." CreationDate="2011-03-01T08:01:39.463" UserId="885" />
  <row Id="10332" PostId="8048" Score="1" Text="Yes, throughout the course of this investigation I've only been using VMC, not the Gnome network manager support for mobile broadband (might have been interesting to see whether it fared any better, but without VMC's SMS support and usage monitoring, it's not a complete solution like VMC).  And yes by all-Squeeze I do mean using Squeeze's supplied version of usb-modeswitch." CreationDate="2011-03-01T08:23:20.693" UserId="5094" />
  <row Id="10333" PostId="8374" Text="Using the linux-image-2.6.37-1-686 and linux-base (only) currently in Sid seems to get the system working as expected.  Thanks." CreationDate="2011-03-01T08:25:22.643" UserId="5094" />
  <row Id="10336" PostId="8376" Text="Yeah thats what ive been trying to do. But when compiling that also emits the error that some package missing....It my fate that I stuck up with this poor old fedora." CreationDate="2011-03-01T09:43:07.927" UserId="5139" />
  <row Id="10337" PostId="8377" Score="1" Text="@Ako I'm kinda thinking this *might* be too broad. I'm not even sure what you mean by &quot;how they manage&quot;. Being knowledgeable about how `pacman` determines differences between version numbers, I know that you could get a really complicated answer just asking that (a full page of text at least). I'd personally prefer it if you split this question up and ask more specifically what you want on each package manager, and were more specific about what exactly you want to know." CreationDate="2011-03-01T10:08:24.690" UserId="29" />
  <row Id="10339" PostId="8375" Text="@Banti are you referring to this [Service Management Facility](http://en.wikipedia.org/wiki/Service_Management_Facility) ? SMF is an ambiguous acronym, which also means [Simple Machines Forum](http://www.simplemachines.org/)." CreationDate="2011-03-01T10:17:59.503" UserId="29" />
  <row Id="10341" PostId="3936" Text="What command do you use to get *usage statistics on a per socket basis*? Can you get usage on a per-process basis?" CreationDate="2011-03-01T12:18:25.887" UserId="688" />
  <row Id="10342" PostId="8260" Text="What are the dependencies that you cannot resolve? At least post some terminal output so others can guess the problem. Was [this page](http://en.opensuse.org/Scilab) in the openSUSE wiki of any help to you? I also found a link labeled &quot;1-Click install&quot; [here](http://software.opensuse.org/search?q=scilab&amp;baseproject=openSUSE:Factory&amp;exclude_filter=home:&amp;exclude_debug=true). Does it work?" CreationDate="2011-03-01T12:50:45.603" UserId="250" />
  <row Id="10343" PostId="8385" Text="Oh, `awk` is not a requirement, any solution will do. I'm not very good at Perl, could you provide a simple example?" CreationDate="2011-03-01T12:52:15.927" UserId="3860" />
  <row Id="10344" PostId="8125" Text="@asoundmove: Hello again :) This questin has really got me on a maximum learning curve :) ... As a result of it, I've started using `awk` for the first time, and now that you've got yours running in &quot;advanced&quot; sed mode, I've followed suit and finally got myself into gear and tangled with branching in sed, and I'v even used the holding space today (as a test)... Actually I don't think it should be called &quot;advanced&quot;; it does just a few basic text moves and shifts and offers very limited branching; it is just cryptic.. Anyhow your script is now on par timewise with `awk` (1% slower)....BUT..." CreationDate="2011-03-01T12:56:29.470" UserId="2343" />
  <row Id="10345" PostId="8125" Text="... but, even though I a pro-sed ++, I think this particular job is beyond its limits, for anything other than one' own personal tool.. Here is the main issue sed has in this case (yours, and mine.. I managed to get sed to do the same as yours.. it also ran within 1%).. back to the main issue..(which does not apply to awk).... Bug(not fixable): Regarding a date which is valid within the scope of the log, but is not actually present in the log will, in the case of the 1st arg, cause sed to print nothing, and in the case of the 2nd arg, sed wil print everything after the first date! ... more..." CreationDate="2011-03-01T13:01:31.540" UserId="2343" />
  <row Id="10347" PostId="8125" Text="Another, fixable bug: Is that it currently matches dates anywhewere in any line, including the data protion, but that's just a regex tweak.. And for anyone wanting to use it, perhaps you could comment that the args now refer to the first and last dates in range (not -1 and +1).. and finally.. my &quot;exacting standards&quot; are not mine. I am only the messenger of the Questioners request... The user *will* notice if it works as requested, or not.. This has been a great question for me.. I've learnt a lot :) ... and I glad to know that `sed` can match `awk` for speed, and it was actually a bit faster." CreationDate="2011-03-01T13:13:53.120" UserId="2343" />
  <row Id="10348" PostId="8121" Text="asoundmove's new sed version had addressed the speed issue, and it now matches awks's speed. and the new versin now outputs data correctly... see his comments for more detail." CreationDate="2011-03-01T13:21:50.510" UserId="2343" />
  <row Id="10349" PostId="8385" Score="1" Text="Something like `perl -0777 -pe 's/\xFF\xFF\xFF\xFF.*//s' &lt; infile &gt; outfile`, but I don't know how to set the encoding now." CreationDate="2011-03-01T13:25:31.703" UserId="5116" />
  <row Id="10350" PostId="8123" Score="2" Text="@Tshepang: I added some nmap examples but I hope you consider reading the docs. Nmap is one of the greatest network tools and the documentation is well written it is really worth the time." CreationDate="2011-03-01T13:42:39.727" UserId="4477" />
  <row Id="10351" PostId="8378" Score="1" Text="Johanm, it takes awk and sed only 1 minute, on average,  to search an 8 GB log file on my computer, and on the same compuer, just the inital file splitting, takes 4min 43sec ... :) " CreationDate="2011-03-01T13:49:21.343" UserId="2343" />
  <row Id="10352" PostId="8375" Text="@xenoterracide Actually i had posted this question in solaris so, SMF should be considered as Service management facility :)" CreationDate="2011-03-01T11:26:07.227" UserId="5229" />
  <row Id="10353" PostId="8375" Text="@Gyan answers are not comments ;) . I migrated it." CreationDate="2011-03-01T14:18:33.563" UserId="29" />
  <row Id="10354" PostId="1511" Text="Have you tried running `fsck` on the unmounted partition?" CreationDate="2010-09-02T21:14:39.250" UserId="592" />
  <row Id="10355" PostId="8388" Score="2" Text="Why do you place something of any value into `/tmp`? On some systems, it's just a `tmpfs` living in the virtual memory. You could hardlink the important files into another directory, so they stay there even if removed from `/tmp`." CreationDate="2011-03-01T14:22:34.680" UserId="5116" />
  <row Id="10356" PostId="4305" Text="Do you still have your &quot;user&quot; toolbar next to the date?&#xD;&#xA;Because I think it may be &quot;Notification zone&quot; item." CreationDate="2010-11-24T15:09:47.557" UserId="2793" />
  <row Id="10357" PostId="8393" Text="I've just tried this and it doesn't work, sadly." CreationDate="2011-03-01T14:34:20.983" UserId="2163" />
  <row Id="10358" PostId="8393" Score="1" Text="Yeah, it's completely wrong. This will keep _unprivileged_ (i.e., not-root) users from removing files they don't own from the directory even if they have write access to the directory yourself. (For example, `/tmp` itself is usually set this way.) It doesn't stop root from anything. (And in fact, it doesn't even protect the directory _itself_ from non-root users who have write access to the directory's parent.)" CreationDate="2011-03-01T14:40:19.937" UserId="2511" />
  <row Id="10359" PostId="8394" Score="1" Text="&quot;Frustrating confusion&quot; being the hallmark of SE Linux in general. \*sigh\*" CreationDate="2011-03-01T14:41:23.400" UserId="2511" />
  <row Id="10360" PostId="8376" Score="1" Text="Fedora Core 3? Please, please stop. The distribution hasn't gotten security updates for over five years. There are so many known root exploits that it isn't even funny. Pull that sucker off the Internet _now_, please, for the good of the world." CreationDate="2011-03-01T14:43:51.993" UserId="2511" />
  <row Id="10361" PostId="8386" Text="Perfect, thanks!!!" CreationDate="2011-03-01T14:44:16.410" UserId="3860" />
  <row Id="10362" PostId="8397" Text="I'd upvote this again and again, if I could." CreationDate="2011-03-01T14:57:19.007" UserId="272" />
  <row Id="10363" PostId="8395" Score="2" Text="+1 for the automatically-recreated symlink suggestion." CreationDate="2011-03-01T14:57:56.443" UserId="2511" />
  <row Id="10364" PostId="2443" Text="fschmidt, is absolutely correct EAC is the best tool  for ripping CD's. I used to use it on Windows all the time. I haven't had to rip anything on Linux recently, but when the time came I was going to try EAC under wine, and if that did not work, would have added it to an XP VM.&#xD;&#xA;&#xD;&#xA;" CreationDate="2010-09-26T21:21:28.803" UserId="1942" />
  <row Id="10365" PostId="2443" Text="@HandyGandy Could you add some reasoning *why* EAC in your opinion would be superior to e.g. cdparanoia?" CreationDate="2010-09-27T10:18:39.287" UserId="1131" />
  <row Id="10366" PostId="2443" Text="@max What do you want me to say? That it use the superior Ghirkov-Schmidt reduction algorithm to do it's error correcting. so it works well? Well I can't do that. I can only say that when visiting serious technical audiophile site or talking to such EAC always comes up as the best for ripping badly damaged CDs. That and the fact that it has done a good job on every CD, no matter how bad, I fed to it. You don't think that's right? Go see for yoruself. Google it and read." CreationDate="2010-09-30T02:57:20.870" UserId="1942" />
  <row Id="10367" PostId="2443" Text="@HandyGandy No offense - well, I just have the opinion that to give motivation/rationale/explanatory statements etc. is really the point of a technical/scientific discussion. Regarding audiophiles - good that you  mention that. There are a lot of audiophiles that pay $ 500/m for their SPDIF cables because they can hear the difference ..." CreationDate="2010-10-02T20:52:23.740" UserId="1131" />
  <row Id="10369" PostId="8378" Text="Let's say that you could cut those awk and sed times by 50% on the smaller files. Then we still need to do more than 10 of those operation before we gain on the total time... So maybe the file split is not the best idea for a few regressions... " CreationDate="2011-03-01T15:03:21.330" UserId="2567" />
  <row Id="10370" PostId="8398" Text="There's probably a smarter answer... but you could duplicate the directory structure, so you won't be dealing with the same file and you won't have caching problems!" CreationDate="2011-03-01T15:06:17.577" UserId="3860" />
  <row Id="10371" PostId="8398" Text="As an aside: Fedora 11 reached end-of-life in June 2010. It's time to upgrade. The upcoming Fedora 15 release looks really nice. Or, if you need something more stable over a longer lifespan (and it sounds like you might since you're still on 11), there's RHEL6 or any-day-now CentOS 6." CreationDate="2011-03-01T15:17:03.043" UserId="2511" />
  <row Id="10372" PostId="8399" Score="1" Text="`echo 1` will only drop the page cache, not any disk caches." CreationDate="2011-03-01T15:17:26.743" UserId="3976" />
  <row Id="10373" PostId="8399" Text="@jsbillings — er, yes. Fixed." CreationDate="2011-03-01T15:18:37.923" UserId="2511" />
  <row Id="10374" PostId="8267" Text="Cool, so this is basically an online Visio tool..." CreationDate="2011-03-01T15:31:41.517" UserId="3635" />
  <row Id="10375" PostId="8105" Text="Thanks for the link, although someone else had already provided it." CreationDate="2011-03-01T15:32:02.483" UserId="3635" />
  <row Id="10376" PostId="8099" Text="Interesting... but this is only for prototyping?" CreationDate="2011-03-01T15:32:47.600" UserId="3635" />
  <row Id="10377" PostId="8377" Text="@xenoterracide I am not looking for the architecture of all of them. If I could understand one, that would be enough. Thanks." CreationDate="2011-03-01T15:38:22.247" UserId="5226" />
  <row Id="10378" PostId="8391" Score="2" Text="And how are you going to trick `root` to run your script to wipe contents of `/tmp`?  I doubt actual administrator ever does this, it's normally done on system reboot." CreationDate="2011-03-01T15:47:17.533" UserId="1946" />
  <row Id="10379" PostId="8398" Text="It took me forever to upgrade from RH 7.3 to that! Upgrades break things and scare me." CreationDate="2011-03-01T15:48:03.920" UserId="2267" />
  <row Id="10380" PostId="8388" Text="Maybe there can be better answers if everything think of it as a way to alert `root` when he tries to delete a certain folder (not necessarily in `/tmp`). I edited the title, hope that helps." CreationDate="2011-03-01T15:49:13.643" UserId="250" />
  <row Id="10381" PostId="8403" Text="IRL, I run this command only occasionally, so the files* contents are never cached. I'm trying to optimize the grep to run fast in that situation. When files* contents are already in the cache, it runs in under a second (no point in optimizing that, since the output is intended for end user)" CreationDate="2011-03-01T15:49:21.157" UserId="2267" />
  <row Id="10382" PostId="8291" Text="here is my `.zshrc`: http://pastie.org/1621083" CreationDate="2011-03-01T15:51:07.150" UserId="645" />
  <row Id="10383" PostId="8399" Text="Unbelievably minor nitpicking: I had to do &quot;&gt;&gt;&quot;, not &quot;&gt;&quot;" CreationDate="2011-03-01T15:51:15.853" UserId="2267" />
  <row Id="10384" PostId="8377" Text="@ako I still thinks this question is vague. I'm not sure what you want in an answer. You're almost asking how a package manager works, which is not all that different from asking how a database works. How do you think that would fly on another site? I still have no idea what you're asking when you say &quot;how they manage the package list&quot;." CreationDate="2011-03-01T15:53:48.583" UserId="29" />
  <row Id="10385" PostId="8398" Score="1" Text="By turning off caching you'll benchmark not the speed of pattern matching, but the speed of your drive.  As others suggesting--just run the first command two times: first to prime the cache, second to benchmark." CreationDate="2011-03-01T15:53:49.293" UserId="1946" />
  <row Id="10386" PostId="8398" Text="I'll try it, but my main problem is the disk speed... the hard drive goes nuts when I run the grep. Hmmm, ok, so that may mean that optimizing the grep may not help at all... I need to optimize the amount of data I'm pulling." CreationDate="2011-03-01T16:01:14.017" UserId="2267" />
  <row Id="10387" PostId="8403" Score="2" Text="@barrycarter. If the files aren't cached, and it runs in under a second when they are, then I don't think you will find much opportunity for optimization.  Moving the files to faster storage would be the likely optimization." CreationDate="2011-03-01T16:08:08.100" UserId="4520" />
  <row Id="10388" PostId="8399" Text="@barrycarter: really? huh!" CreationDate="2011-03-01T16:08:22.623" UserId="2511" />
  <row Id="10389" PostId="8377" Score="1" Text="@xenoterracide Thanks again for your comment. Well what exactly I want to know is the complete architecture of one of the package managers. I know it is a big big topic, but I can put a lot of time on it. I want to know as much detail as possible about them, like keeping list of installed packages, updates, location of packages, installed files, and any other detail. I would be very glad if anyone could point me to a starting point." CreationDate="2011-03-01T16:26:02.907" UserId="5226" />
  <row Id="10390" PostId="8405" Text="Did you build your kernel with SCSI and libata support or as a module?  Do you use an initrd?  Does that initrd load the modules?  " CreationDate="2011-03-01T16:46:30.457" UserId="3976" />
  <row Id="10391" PostId="8345" Text="I'm doing your approach, but using $CVSEDITOR variable as suggested by @Gilles. Thank you both!" CreationDate="2011-03-01T17:17:51.663" UserId="2689" />
  <row Id="10392" PostId="8399" Score="2" Text="@barrycarter: you probably have set -o noclobber in your shell, which makes it so it won't let you use &gt; to overwrite an existing file." CreationDate="2011-03-01T17:18:53.457" UserId="3976" />
  <row Id="10393" PostId="8405" Text="What kind of device is /dev/sda? A SATA hard drive? SCSI? Also, what kind of file system is it using?" CreationDate="2011-03-01T17:40:53.353" UserId="3635" />
  <row Id="10395" PostId="8272" Score="1" Text="I'm looking more for &quot;a summary checklist of the entire process so I can be confident I haven't forgotten some important step&quot;, and less &quot;what command do I use for step 3?&quot;&#xA;I've posted three very different approaches as &quot;answers&quot; -- alas, each of them somewhat flawed.&#xA;Which approach is the best?&#xA;Or is there yet another superior approach, and if so, what is the entire process of that approach (in summary checklist form, please)?&#xA;" CreationDate="2011-03-01T17:59:44.730" UserId="1676" />
  <row Id="10396" PostId="8299" Text="I was going to suggest asking this question to google, but whatever B-)" CreationDate="2011-03-01T19:11:50.990" UserId="5039" />
  <row Id="10400" PostId="8414" Text="Sorry for the double post before, chrome was acting funny." CreationDate="2011-03-01T19:39:30.190" UserId="3115" />
  <row Id="10401" PostId="8267" Text="Yes, but it's free and will remain free. There's no login, you can store files locally and doesn't pester you to sign up to anything, because there's nothing to sign up to." CreationDate="2011-03-01T19:49:41.930" UserId="5156" />
  <row Id="10402" PostId="5109" Text="If the blocked caller *doesn't* context switch, how is it possible for that other thread to release the lock?" CreationDate="2011-03-01T20:07:10.660" UserId="1676" />
  <row Id="10403" PostId="8406" Text="Are you calling `dhclient` with any parameters? Is it emitting any output? Are you actually connected to a network with a DHCP server? Do you have a cached lease?" CreationDate="2011-03-01T21:00:47.507" UserId="885" />
  <row Id="10404" PostId="8376" Text="Taking your question title literally, I'd answer “it's Fedora Core 14”. If you must use an old distribution, you'll have to resign yourself to either using the old programs in the distribution or recompiling everything (i.e. upgrading your whole distribution save perhaps for the kernel). It would be easier to run a virtual machine." CreationDate="2011-03-01T21:05:46.457" UserId="885" />
  <row Id="10405" PostId="8406" Text="I just edited the main description but my only param is 'eth0.' There's no output. Yes, I know the network is setup with DHCP, when *not* using RHEL 6 (live-disc or otherwise) dhclient works just fine. " CreationDate="2011-03-01T21:06:53.790" UserId="4176" />
  <row Id="10406" PostId="8392" Text="It could be a bug in your board, in your USB controller or in your driver. Try each component separately (use the board on another computer, under a different OS, etc.). If you want to debug this yourself, you can browse the kernel source at [LXR](http://lxr.linux.no/), and should learn [kernel debugging](http://www.denx.de/wiki/DULG/DebuggingLinuxKernel) — hard work in perspective. If the bug is not in the Linux driver, you'll want hardware tools as well." CreationDate="2011-03-01T21:25:53.257" UserId="885" />
  <row Id="10407" PostId="8417" Text="This doesn't work on Mac - I'm upvoting it because it works on Linux." CreationDate="2011-03-01T21:33:49.813" UserId="3115" />
  <row Id="10408" PostId="8429" Score="1" Text="or [links 2](http://links.twibright.com/development.php) or [elinks](http://elinks.or.cz/) or [w3m](http://w3m.sourceforge.net/). Try them all and see whose rendering you like best." CreationDate="2011-03-01T21:59:50.887" UserId="885" />
  <row Id="10409" PostId="8429" Text="Yes, the version I tested with was actually links2" CreationDate="2011-03-01T22:03:33.097" UserId="36" />
  <row Id="10410" PostId="8433" Text="That's it. Instead of 90 seconds it takes 0.90 s." CreationDate="2011-03-01T22:14:11.180" UserId="5116" />
  <row Id="10411" PostId="8433" Text="@maaartinus: I'm curious: do you have a similar data set where you could try without `-p`? I wouldn't have thought it would make a difference." CreationDate="2011-03-01T22:15:46.053" UserId="885" />
  <row Id="10412" PostId="8433" Score="1" Text="@maartinus — other little optimizations: adding `-empty` should work with this one (although I'm not sure exactly how much it'll gain). And very, very trivially, since you probably don't want to remove `.`, use `-mindepth 1`." CreationDate="2011-03-01T22:19:36.263" UserId="2511" />
  <row Id="10413" PostId="8433" Text="It was not the removal but the process start up overhead, what took nearly all the time. I had overlooked the `-depth` argument, which makes `rmdir -p` useless. I've changed my comment already. The 90 s was my original attempt; there's nothing surprising here." CreationDate="2011-03-01T22:20:14.687" UserId="5116" />
  <row Id="10414" PostId="8433" Text="@mattdm: `-empty` will not work: if you have `a/b` with `b` empty and the only entry in `a`, `find` would not consider `a` empty. And I expect `-mindepth 1` to be slower (probably not measurably so) because it adds an extra test for each file just to very rarely skip calling `rmdir` on `.`." CreationDate="2011-03-01T22:25:28.383" UserId="885" />
  <row Id="10415" PostId="7522" Text="It is not just about disk space, it is also about installation times and the self-documenting specificity of the .spec file - i.e. if only boost-headers could be specified as dependency then there are no misunderstandings about the real dependencies of the program." CreationDate="2011-03-01T22:31:37.580" UserId="1131" />
  <row Id="10416" PostId="8433" Text="@Gilles: `-empty` works with `rmdir -p`; not otherwise. And although I haven't tested, `-mindepth 1` is an _option_ rather than a _test_, and therefore should only happen once. At least, I think. (That also may be a GNUism.)" CreationDate="2011-03-01T22:34:39.557" UserId="2511" />
  <row Id="10417" PostId="8433" Text="@mattdm: oh, right, `-empty` does work with `rmdir -p`. As to whether it helps, I think not, but it's not clear-cut: `-empty` + `-p` means fewer calls to `rmdir(1)` (for large data sets) but more calls to `rmdir(2)` and `stat(2)`." CreationDate="2011-03-01T22:45:08.383" UserId="885" />
  <row Id="10418" PostId="607" Text="Yeah, the comments here don't help . . . I don't remember the original question and I wrote it!" CreationDate="2011-03-01T23:17:27.613" UserId="431" />
  <row Id="10419" PostId="8435" Score="1" Text="Maybe [`File::Find`](http://search.cpan.org/perldoc?File::Find) would be the right tool for this job." CreationDate="2011-03-01T23:27:43.900" UserId="885" />
  <row Id="10421" PostId="8370" Text="If a directory contains `some.foo` and `some.bar`, should it be deleted? Your question is not clear in this respect." CreationDate="2011-03-01T23:31:26.050" UserId="885" />
  <row Id="10422" PostId="8371" Text="This was all going well until `a=\`find …\`` and so on, which will fail horribly if any matched path contains whitespace or other special characters." CreationDate="2011-03-01T23:32:19.247" UserId="885" />
  <row Id="10423" PostId="8372" Score="1" Text="There are more efficient implementations of `tree_contains_foo_files`, such as `[ -n &quot;$(find … | head -c 1)&quot; ]`, or (faster but requires GNU find) `[ -n &quot;$(find … -printf a -quit)&quot; ]`." CreationDate="2011-03-01T23:34:30.633" UserId="885" />
  <row Id="10424" PostId="8436" Text="thanks! awesome! looking into USE flags solved not only this problem with emacs, thank you very much" CreationDate="2011-03-02T00:21:39.203" UserId="5239" />
  <row Id="10425" PostId="8436" Score="1" Text="@valya, because it builds things from source and provides use flags, Gentoo is much more customizable than distros like Ubuntu.  The downside is that it's easy to leave out a feature that it turns out you actually do want.  Fortunately, that's usually not too hard to fix; you just adjust your use flags and reinstall whatever program is missing a feature." CreationDate="2011-03-02T00:47:45.853" UserId="2421" />
  <row Id="10426" PostId="8439" Score="2" Text="FWIW I don't see any such delay when running `vim` under `screen` myself.  I've got a more or less vanilla screen set up, subject to the defaults used in Ubuntu 10.10. ————— This sort of thing would happen if you've got a mapping set to `Esc`-something.  Maybe scan through the output from `:map` to check that." CreationDate="2011-03-02T01:14:39.950" UserId="1535" />
  <row Id="10427" PostId="8372" Text="Thanks for the suggestion.  You're right I should short-circuit as soon as a file is found.  Seeing as I'm using `read` already, how about `find ... | read file &amp;&amp; return 0`.  I think that is very slightly faster again." CreationDate="2011-03-02T01:21:44.247" UserId="3169" />
  <row Id="10428" PostId="8435" Text="I get an error on awk script line 5 running that, but it seems OK if I change `[\\\011-/]` to `[\011-]`." CreationDate="2011-03-02T01:28:28.283" UserId="3169" />
  <row Id="10429" PostId="8372" Text="Or of course `find ... | read -n 1 ...`." CreationDate="2011-03-02T01:31:24.100" UserId="3169" />
  <row Id="10430" PostId="8441" Text="Don't you mean `~/.bashenv` in step 4?" CreationDate="2011-03-02T02:47:23.957" UserId="2421" />
  <row Id="10431" PostId="8441" Text="So I'll have to change the script anyway, from `#!/bin/sh` to `#!/bin/bash`? Can I just do `bash my-script`?" CreationDate="2011-03-02T02:48:42.380" UserId="250" />
  <row Id="10432" PostId="8441" Text="I do!  Thanks.  Fixed." CreationDate="2011-03-02T02:49:31.223" UserId="3169" />
  <row Id="10433" PostId="8441" Text="phunehehe: Yes, I think `bash my-script` will work if you still do steps 1-4." CreationDate="2011-03-02T02:50:34.313" UserId="3169" />
  <row Id="10434" PostId="8440" Score="3" Text="Out of interest, why can't you change PATH?  Changing PATH and putting `#!/usr/bin/env python` at the top of your python scripts seems easier." CreationDate="2011-03-02T02:55:58.070" UserId="3169" />
  <row Id="10436" PostId="8378" Text="The awk script could (easily) be modified to output 10 different search results to 10 files..in one single pass, but that would slow the read down while actually outputing the reports... Sed could also do the same, but as I've mentioned in asoundmove's comments, sed will fail if a particular date/time has no entry in the log(eg, you are searching by the hour).. I use sed a lot and it is extremely useful, but it has its limits... Here is a sed FAQ about when to use sed vs awk.. I don't necessarily agree with all of it, but I can see what they mean...  http://sed.sourceforge.net/sedfaq6.html" CreationDate="2011-03-02T04:12:28.070" UserId="2343" />
  <row Id="10437" PostId="8440" Text="@Mikel This is even better than your other answer. Can't accept comments, though." CreationDate="2011-03-02T04:28:59.133" UserId="250" />
  <row Id="10438" PostId="8399" Text="@jsbillings You're right. I guess tcsh doesn't realize that /proc/* isn't a real file, which makes sense." CreationDate="2011-03-02T04:31:42.297" UserId="2267" />
  <row Id="10439" PostId="8440" Text="@phunehehe: I updated my answer to include that suggestion." CreationDate="2011-03-02T04:38:18.007" UserId="3169" />
  <row Id="10440" PostId="8397" Text="yea @mattdm i had picked up the 4th point you have said, and tried. But no luck mate. Most of the libraries are need to be changed. It aint gonna work. Gonna giveup the hope for firefox :(  Can I use other browsers like opera 10 or 11 though?" CreationDate="2011-03-02T05:17:36.833" UserId="5139" />
  <row Id="10441" PostId="8425" Text="Interesting forum there. Seems like yet another implementation of the SO concept?" CreationDate="2011-03-02T05:54:39.683" UserId="688" />
  <row Id="10442" PostId="8447" Text="the account name &quot;root&quot;? the toplevel directory &quot;/&quot; ?" CreationDate="2011-03-02T05:59:35.467" UserId="838" />
  <row Id="10443" PostId="8447" Score="3" Text="the username root" CreationDate="2011-03-02T06:00:56.307" UserId="4395" />
  <row Id="10445" PostId="8446" Text="Thanks, but it is slower than a sequential search. Have a look at my comments here http://unix.stackexchange.com/questions/8121/how-to-cut-part-from-log-file/8378#8378 (rather than re-writing the same thing here)" CreationDate="2011-03-02T06:32:41.240" UserId="2343" />
  <row Id="10446" PostId="7518" Text="LDD is in the mail right now. Thanks for the input. :)" CreationDate="2011-03-02T06:36:40.143" UserId="4819" />
  <row Id="10447" PostId="8435" Text="@Mikel: That's weird, I get no error under Gawk, Mawk or the original awk, and I don't see what could be wrong. Your regexp `&quot;[\001-]&quot;` (I assume `\011` is a typo) matches only `\001` and `-`, which is no good since the point is to protect `\\'&quot;` and whitespace." CreationDate="2011-03-02T07:58:09.787" UserId="885" />
  <row Id="10448" PostId="8441" Text="I don't recommend using aliases in scripts. It won't work if someone else runs your script, or if you run the script under `sudo` or other privilege elevation method. And it doesn't allow you to change the `virtualenv` per execution, which would be the main point of not having `~/virtualenv/bin` in your `PATH` permanently. Adding the directory in front of the `PATH` when needed is the best method." CreationDate="2011-03-02T08:02:58.003" UserId="885" />
  <row Id="10450" PostId="8402" Text="@shellholic Thanks, this works, but is there any way to accomplish this without having to embed an if-statement within the prompt?" CreationDate="2011-03-02T08:34:56.907" UserId="872" />
  <row Id="10451" PostId="8371" Text="@Gilles: thanks for noticing." CreationDate="2011-03-02T08:35:49.130" UserId="2783" />
  <row Id="10452" PostId="8435" Text="Yes, sorry, I meant `\001`." CreationDate="2011-03-02T08:53:13.787" UserId="3169" />
  <row Id="10453" PostId="8446" Text="@sifusam: by using 'split' you touch every single byte once. if you do that, you could just grep the whole 8gb as well." CreationDate="2011-03-02T08:54:45.823" UserId="838" />
  <row Id="10454" PostId="8447" Text="@yxkb: then please clarify your question ..." CreationDate="2011-03-02T08:55:19.363" UserId="838" />
  <row Id="10456" PostId="8454" Text="What information do you want from it?  Can you work with the OOXML .xlsx format instead, which makes life easier." CreationDate="2011-03-02T09:09:32.997" UserId="5197" />
  <row Id="10457" PostId="8450" Text="Huh, use `iptables`?" CreationDate="2011-03-02T09:24:04.643" UserId="1946" />
  <row Id="10458" PostId="8451" Score="1" Text="Your local MTA (Mail Transfer Agent) needs to be configured to send mail to external mail addresses.  You can try running `mail` w/o params to see if the message was returned to you by the local mailserver with the diagnostics message." CreationDate="2011-03-02T09:26:04.830" UserId="1946" />
  <row Id="10460" PostId="8425" Score="1" Text="It used to be hosted on the Betavine site and had a far more conventional format.  Then late last year they migrated to the vodafone developer site and the new clearly SO-inspired style.  But it's currently looking like a good example of what happens when an SO clone fails to achieve critical mass I think." CreationDate="2011-03-02T09:32:53.753" UserId="5094" />
  <row Id="10461" PostId="8455" Text="What version of Debian are you running?" CreationDate="2011-03-02T10:02:42.100" UserId="688" />
  <row Id="10462" PostId="8455" Text="I tried your command using Squeeze, and I don't experience your problem." CreationDate="2011-03-02T10:03:09.587" UserId="688" />
  <row Id="10464" PostId="8455" Text="I don't know what you mean by Squeeze" CreationDate="2011-03-02T10:07:25.110" UserId="5247" />
  <row Id="10465" PostId="8453" Text="/etc/group also has the usernames ..." CreationDate="2011-03-02T10:08:43.310" UserId="1653" />
  <row Id="10466" PostId="8455" Text="What version of Debian is that? You might run `updatedb` and then `locate php | grep bin`, this should check if there's anything PHP-y installed." CreationDate="2011-03-02T10:08:47.413" UserId="1290" />
  <row Id="10467" PostId="7706" Text="just do a system(&quot;pstack _pid_&quot;) and parse the output .." CreationDate="2011-03-02T10:11:09.813" UserId="1653" />
  <row Id="10468" PostId="8454" Text="No. Actualy I am trying to fetch data from a XLS file and trying to do some manupulation on that." CreationDate="2011-03-02T10:19:28.260" UserId="5250" />
  <row Id="10469" PostId="8457" Text="-bash: updatedb: command not found&#xA;" CreationDate="2011-03-02T10:24:21.180" UserId="5247" />
  <row Id="10471" PostId="8457" Text="I'm using debian 5.0 according to my provider" CreationDate="2011-03-02T10:26:10.790" UserId="5247" />
  <row Id="10472" PostId="8448" Text="@akira.. This looks really good, but I want to look at it a bit more first.. (so, until tomorrow....." CreationDate="2011-03-02T10:26:55.853" UserId="2343" />
  <row Id="10473" PostId="8455" Text="@polemon 	&#xA;I'm using debian 5.0 according to my provider but updatedb: command not found " CreationDate="2011-03-02T10:30:58.430" UserId="5247" />
  <row Id="10474" PostId="8446" Text="@sifusam.. I want to do a binary split search (not just split the files)  http://en.wikipedia.org/wiki/Binary_search_algorithm  ... so it was a good answer for a differnt question :).. Thanks for answering.. +1 to get you rolling .... " CreationDate="2011-03-02T10:32:06.160" UserId="2343" />
  <row Id="10475" PostId="8453" Text="Only of usernames when the group in question isn't their default group, but good point." CreationDate="2011-03-02T10:33:14.350" UserId="4949" />
  <row Id="10476" PostId="8457" Text="Have you run `apt-get update` recently? 5.0 is Lenny, but I still use that on several servers I haven't gotten around to scheduling a full upgrade for, and they have php5-cgi available no problem.&#xA;&#xA;`shadur@mercury:~$ dpkg -l php5-cgi`&#xA;&#xA;`ii  php5-cgi                    5.2.6.dfsg.1-1+lenny9`&#xA;`shadur@mercury:~$ cat /etc/debian_version `&#xA;`5.0.8`&#xA;" CreationDate="2011-03-02T10:37:03.627" UserId="4949" />
  <row Id="10477" PostId="8455" Text="Squeeze is Debian 6 and Lenny is Debian 5." CreationDate="2011-03-02T10:37:49.617" UserId="688" />
  <row Id="10478" PostId="8457" Text="@shadur I ran the update and one of the messages that showed up was `W: Failed to fetch http://ftp.debian.org/debian-security/dists/lenny/updates/main/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]`" CreationDate="2011-03-02T10:40:15.363" UserId="5247" />
  <row Id="10479" PostId="8455" Text="Show us the output of your &quot;/etc/apt/source.list&quot;. While at it, do `apt-get update' and try the install command again." CreationDate="2011-03-02T10:40:18.930" UserId="688" />
  <row Id="10480" PostId="8457" Text="anyhow, i just want to install php :( I don't know why this is so difficult. " CreationDate="2011-03-02T10:41:19.137" UserId="5247" />
  <row Id="10481" PostId="8457" Text="@kevinduke There's your problem - that URL is faulty. Edit `/etc/apt/sources.list` and enter&#xA;&#xA;&#xA;`deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free`&#xA;&#xA;For the main tree, and&#xA;&#xA;`deb http://security.debian.org/ lenny/updates main contrib non-free`&#xA;&#xA;For security updates.&#xA;" CreationDate="2011-03-02T10:41:53.360" UserId="4949" />
  <row Id="10482" PostId="8455" Text="everything in source.list is as follows `deb http://ftp.debian.org/debian lenny main contrib non-free&#xA;deb http://ftp.debian.org/debian-volatile lenny/volatile main contrib non-free&#xA;deb http://ftp.debian.org/debian-security lenny/updates main contrib non-free`" CreationDate="2011-03-02T10:45:52.830" UserId="5247" />
  <row Id="10484" PostId="8455" Text="@tshpang `apt-get update` yields `W: Failed to fetch http://ftp.debian.org/debian-security/dists/lenny/updates/main/binary-i386/Packages 404 Not Found [IP: 130.89.149.226 80]`" CreationDate="2011-03-02T10:48:26.590" UserId="5247" />
  <row Id="10485" PostId="8457" Text="That wasn't a command, that was an entry in a config file. See the answer below for details on what file to edit and what to put in it." CreationDate="2011-03-02T10:49:06.270" UserId="4949" />
  <row Id="10486" PostId="8458" Text="I don't know which is which so I'm going to just clear everything in that file with what you provided" CreationDate="2011-03-02T10:53:10.953" UserId="5247" />
  <row Id="10487" PostId="8458" Text="Don't clear it out, just insert a # in front of lines to comment them out if you're not sure you may need them later." CreationDate="2011-03-02T10:54:17.903" UserId="4949" />
  <row Id="10488" PostId="8458" Text="nice, thank you very much; I was able to updated to lated deb (i think) and i downloaded php fine with the command. However, it still says command php not found, do i need to restart my vps?" CreationDate="2011-03-02T11:05:30.350" UserId="5247" />
  <row Id="10489" PostId="8458" Text="actually I'm not 100% sure if it installed, but I think it did`" CreationDate="2011-03-02T11:12:52.543" UserId="5247" />
  <row Id="10490" PostId="8458" Text="The php command-line binary is in the `php5-cli` package, not `php5-cgi`.&#xA;&#xA;Once you've installed `php5-cli` the binary should be in /usr/bin/php. " CreationDate="2011-03-02T11:13:50.290" UserId="4949" />
  <row Id="10491" PostId="8458" Text="I just installed php5-cli but see no php in /bin.  Thanks a lot for your help by the way, I've been pulling my hair out over this for a while" CreationDate="2011-03-02T11:22:58.523" UserId="5247" />
  <row Id="10492" PostId="8458" Text="`/usr/bin/`, not `/bin/`. &#xA;&#xA;And you're welcome. Don't forget to mark this answer as helpful once you've got it working. :)" CreationDate="2011-03-02T11:25:39.530" UserId="4949" />
  <row Id="10493" PostId="8458" Text="yes in /usr/bin/ there is no php :( and just as a side note, squeeze doesn't work either meaning the apt-get updating didnt' work?  " CreationDate="2011-03-02T11:29:10.203" UserId="5247" />
  <row Id="10495" PostId="8458" Text="What, exactly, was the message you got when you ran `apt-get install php5-cli` ? Squeeze has nothing to do with this discussion; upgrading your distribution to the newest stable is another question entirely." CreationDate="2011-03-02T11:52:38.400" UserId="4949" />
  <row Id="10496" PostId="8450" Text="can you give me some example?" CreationDate="2011-03-02T11:57:37.083" UserId="4814" />
  <row Id="10497" PostId="8459" Text="I don't think anyone is disputing that renaming root is, at best, a terribly bad idea." CreationDate="2011-03-02T11:59:13.043" UserId="4949" />
  <row Id="10498" PostId="8458" Text="It is rather long but this is the output: `&#xA;http://pastebin.com/gVSEBege&#xA;" CreationDate="2011-03-02T12:00:10.927" UserId="5247" />
  <row Id="10499" PostId="8458" Text="For a long output you might want to use [http://pastebin.com] or something similar." CreationDate="2011-03-02T12:01:32.120" UserId="4949" />
  <row Id="10500" PostId="8458" Text="Okay. Like the output says at the end, you need to run `apt-get -f install` (without anything after it) to fix unresolved dependencies before you can install new software." CreationDate="2011-03-02T12:03:56.080" UserId="4949" />
  <row Id="10501" PostId="8458" Text="Another error :( `Need to get 0B/131MB of archives.&#xA;After this operation, 365MB of additional disk space will be used.&#xA;Do you want to continue [Y/n]? y&#xA;E: Internal Error, Could not perform immediate configuration (2) on libc6&#xA;`" CreationDate="2011-03-02T12:14:50.540" UserId="5247" />
  <row Id="10502" PostId="8458" Text="Use pastebin for longer errors, please." CreationDate="2011-03-02T12:18:17.877" UserId="4949" />
  <row Id="10503" PostId="8458" Text="http://pastebin.com/mC3s4tD5" CreationDate="2011-03-02T12:26:42.807" UserId="5247" />
  <row Id="10504" PostId="8458" Text="... Please tell me you didn't try to upgrade to squeeze while we were discussing this." CreationDate="2011-03-02T12:30:17.320" UserId="4949" />
  <row Id="10505" PostId="8458" Text="Try `dpkg --configure --pending` to see if that clears up the libc6 issue." CreationDate="2011-03-02T12:30:40.783" UserId="4949" />
  <row Id="10506" PostId="8458" Text="Someone above told me &quot;While at it, do `apt-get update` and try the install command again.&quot; And I did try that, I did nothing with Squeeze. Anyhow, I entered the command `dpkg --configure --pending` and it accepted it and I `apt-get -f install` again but get the same error message.  Thanks for your continued help." CreationDate="2011-03-02T12:40:38.067" UserId="5247" />
  <row Id="10507" PostId="8458" Text="Okay, I'm not sure how you managed to trip that error, but try the following: `apt-get -f install -o APT::Immediate-Configure=0` and see if that at least goes through the entire process without errors. " CreationDate="2011-03-02T12:43:43.987" UserId="4949" />
  <row Id="10508" PostId="8458" Text="http://pastebin.com/DtBKu9uy not sure if it worked but this isn't the full text output" CreationDate="2011-03-02T12:54:15.807" UserId="5247" />
  <row Id="10509" PostId="8460" Text="Same opinion. With straight-up shell script probably you'll not succed. Just to give you another option other than Perl, take a look at Apache POI (http://projects.apache.org/projects/poi.html). It's a JAVA lib that handles MS Office files." CreationDate="2011-03-02T12:56:58.133" UserId="3745" />
  <row Id="10510" PostId="8458" Text="Okay. Now `dpkg --configure --pending`, then `apt-get -f install` and you should be well on the way to clearing up those errors. (For the record, this happens more often if you don't keep your system at least _somewhat_ regularly up to date)" CreationDate="2011-03-02T13:07:58.397" UserId="4949" />
  <row Id="10511" PostId="8428" Text="Running in a VM is really not an option for us, and in any case just reverting to a snapshot means we remove all the other state the user may have set up." CreationDate="2011-03-02T13:10:59.200" UserId="2134" />
  <row Id="10512" PostId="8465" Score="1" Text="This might help: http://unix.stackexchange.com/q/8118/8123#8123" CreationDate="2011-03-02T13:14:26.483" UserId="688" />
  <row Id="10513" PostId="8458" Text="`dpkg --configure --pending` shows this: http://pastebin.com/ZFm2XYpg and `apt-get -f install` shows this: http://pastebin.com/nRUBBYEg" CreationDate="2011-03-02T13:15:55.420" UserId="5247" />
  <row Id="10514" PostId="8458" Text="Okay. Now try `apt-get -uf dist-upgrade` and hopefully that'll resolve the conflict between console-utilities and kbd." CreationDate="2011-03-02T13:22:44.173" UserId="4949" />
  <row Id="10515" PostId="8465" Text="Thanks, this is a great post." CreationDate="2011-03-02T13:25:17.957" UserId="5098" />
  <row Id="10516" PostId="8458" Text="ok, here's the output http://pastebin.com/FAQvCzSi" CreationDate="2011-03-02T13:28:53.460" UserId="5247" />
  <row Id="10517" PostId="8458" Text="Okay, try `apt-get remove console-utilities` " CreationDate="2011-03-02T13:33:14.960" UserId="4949" />
  <row Id="10518" PostId="8458" Text="http://pastebin.com/gPXKuWtS is what I get, I then try `apt-get -f install` and output is http://pastebin.com/HEVfZLRq" CreationDate="2011-03-02T13:36:27.650" UserId="5247" />
  <row Id="10519" PostId="8458" Text="`apt-get -f install kbd console-utilities-`" CreationDate="2011-03-02T13:38:16.920" UserId="4949" />
  <row Id="10521" PostId="8458" Text="http://pastebin.com/UrtW1SK4" CreationDate="2011-03-02T13:47:02.977" UserId="5247" />
  <row Id="10522" PostId="8436" Text="It's okay then the app is small, but I sometimes had to leave my computer building (or re-building) certain things while I'm asleep, because it took hours" CreationDate="2011-03-02T13:53:59.493" UserId="5239" />
  <row Id="10523" PostId="8458" Text="You left off the minus sign at the end of console-utilities. That tells apt-get that it needs to _install_ kbd and _remove_ console-utilities." CreationDate="2011-03-02T14:00:18.070" UserId="4949" />
  <row Id="10524" PostId="8420" Text="Would this not mean the next time around that there'd be a window in which we could hit the same bug again? i.e. the last mount time is 2038-01-18, so if the current time is set to that too, there's a race condition in which we're (as far as the system's concerned) trying to mount before the last mount again." CreationDate="2011-03-02T14:02:21.230" UserId="2134" />
  <row Id="10525" PostId="8458" Text="whoops, sorry.    http://pastebin.com/0gNYBtCx" CreationDate="2011-03-02T14:03:16.627" UserId="5247" />
  <row Id="10526" PostId="8458" Text="That should have worked. Try in the opposite order -- `apt-get -f install console-utilities- kbd` " CreationDate="2011-03-02T14:10:43.973" UserId="4949" />
  <row Id="10527" PostId="1071" Text="&quot;unless it is designed that way&quot;: The main reason for using threads is exactly so that you can share resources. It's rather like knocking down half a house." CreationDate="2011-03-02T14:55:34.767" UserId="4776" />
  <row Id="10528" PostId="8434" Text="Hmm, well /some/other/dir/source.h is definitely compiled by the make, and warnings are common so I will look into it. I'll be sure to report back. Thanks!" CreationDate="2011-03-02T15:00:49.760" UserId="4856" />
  <row Id="10530" PostId="8479" Text="Well, you *could*. It's not _just_ a port, since it has to do a whole bunch of stuff in order to map to rpm rather than dpkg underneath. And that means the semantics don't always line up cleanly." CreationDate="2011-03-02T16:19:03.547" UserId="2511" />
  <row Id="10531" PostId="8475" Text="Thank you. I selected your answer because it was the only one that answers the question (it was about *already* running process). I'm already using `screen` sometimes, though it has its issues and I don't want to use it for *every* bash session in my life" CreationDate="2011-03-02T16:58:30.497" UserId="5239" />
  <row Id="10532" PostId="8470" Text="Thanks, but, as I commented to the accepted answer: 1. the question was about already running process. 2. `screen` has its issues and I don't feel like using it for every bash session in my life" CreationDate="2011-03-02T16:59:39.920" UserId="5239" />
  <row Id="10533" PostId="8459" Text="kuhkatz, its just a precaution. if someone does that, it might help to revert it if you know what happens when someone changes root" CreationDate="2011-03-02T16:59:40.297" UserId="4395" />
  <row Id="10534" PostId="8471" Text="Thanks, but, as I commented to the accepted answer: 1. the question was about already running process. 2. `screen` has its issues and I don't feel like using it for every bash session in my life" CreationDate="2011-03-02T17:00:19.747" UserId="5239" />
  <row Id="10535" PostId="8472" Text="Thanks, but, as I commented to the accepted answer: 1. the question was about already running process. 2. `screen` has its issues and I don't feel like using it for every bash session in my life" CreationDate="2011-03-02T17:01:54.833" UserId="5239" />
  <row Id="10536" PostId="8453" Text="is it? i thought most of the apps go for UID and not the name.i think ideally, no application should assume &quot;root= UID 0&quot;" CreationDate="2011-03-02T17:10:53.987" UserId="4395" />
  <row Id="10537" PostId="8480" Text="for `bash`, USE=&quot;net nls -afs -bashlogger -examples -mem-scramble -plugins -vanilla&quot;. I generated the locale, dont work yet. And I think I did all steps from the guide, I'll try to reboot now" CreationDate="2011-03-02T17:12:28.290" UserId="5239" />
  <row Id="10538" PostId="8479" Text="It's also worth mentioning that apt-rpm doesn't seem to be actively developed or maintained. The last primary developer of the project now works for Red Hat and has taken over _rpm_ itself, so he has his hands full." CreationDate="2011-03-02T17:27:26.937" UserId="2511" />
  <row Id="10540" PostId="8475" Text="You don't use it for every bash session, but for every remote machine where you spend a lot of time." CreationDate="2011-03-02T17:33:42.407" UserId="4667" />
  <row Id="10542" PostId="8481" Text="Does that `hg` command run in the background? Does it send its output to stderr?" CreationDate="2011-03-02T17:40:28.173" UserId="4667" />
  <row Id="10543" PostId="8481" Text="Your output shows `localChanges: AL2` not `localChanges: ALZ` which indicates the alias you're actually running is not what you're showing us. Clean up or refresh the aliases in your shell, run it again and then show us what's happening." CreationDate="2011-03-02T17:42:12.257" UserId="4667" />
  <row Id="10544" PostId="8485" Score="1" Text="Two minutes doesn't seem that long to me.  But the real question is: &quot;Do you really want du to cache anything?&quot; Shouldn't du give you exact, as-current-as-possible, real disk block counts?" CreationDate="2011-03-02T17:47:11.123" UserId="732" />
  <row Id="10545" PostId="8472" Text="@valya I have seen references to disconnecting a running process from the program group.  I don't know of any tools to do so though.  The tool would likely need to redirect the std IO channels as well.  I think I may have got it to work once, but decided nohup was simpler. " CreationDate="2011-03-02T17:51:04.480" UserId="4520" />
  <row Id="10547" PostId="8485" Text="I agree that replacing `du` would be bad, but a faster wrapper script with an identical interface would be very useful for us. Further, I would expect that caching results dependent on last-modified time (and assuming no disk-wide operations, eg. defragmentation) would give exact size results: am I missing something?" CreationDate="2011-03-02T18:11:41.773" UserId="4292" />
  <row Id="10548" PostId="8481" Text="No, the HG command doesn't run in the background, but it would not shock me to learn that cygwin deals with running things in backticks in an unusual way.  I may try writing out to a file or using grep, which will set an exit level.  Hmmm." CreationDate="2011-03-02T18:34:35.100" UserId="5259" />
  <row Id="10549" PostId="8481" Text="The output not looking right is exactly the problem.  Not only did I launch a fresh shell before running the command, I launched a separate shell before both runs to ensure the first test did not affect the second test.  In both cases all I did was launch the shell, paste in the alias command, go to the directory with or without changes, and run the alias." CreationDate="2011-03-02T18:36:24.987" UserId="5259" />
  <row Id="10550" PostId="8481" Score="4" Text="consider using a function() { ... } instead ... i ve never seen such a monster of an alias" CreationDate="2011-03-02T19:06:16.670" UserId="838" />
  <row Id="10551" PostId="8058" Text="Sorry, like the original version better." CreationDate="2011-03-02T19:07:16.280" UserId="5096" />
  <row Id="10552" PostId="8458" Text="sorry for the delay http://pastebin.com/jjE8GkJj" CreationDate="2011-03-02T19:14:48.667" UserId="5247" />
  <row Id="10553" PostId="8442" Text="Any sufficiently complicated diff stats gathering script contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of diffstat?" CreationDate="2011-03-02T19:37:33.247" UserId="1987" />
  <row Id="10554" PostId="8485" Text="If you are concerned about too much disk usage you might consider implementing a quota." CreationDate="2011-03-02T19:20:54.023" UserId="5263" />
  <row Id="10555" PostId="8480" Text="As far as I know `bash` uses `sys-apps/readline`, which has Unicode support by default (no USE flag to toggle it on/off, it's always on). So I guess that should work." CreationDate="2011-03-02T19:45:14.500" UserId="4648" />
  <row Id="10556" PostId="8420" Text="@me_and: Yes, I'm afraid my kludge won't help against malicious users. If that's what you're up against, patching fsck looks to be the best option." CreationDate="2011-03-02T19:53:59.390" UserId="885" />
  <row Id="10557" PostId="8491" Text="There is very little meat on your question.  You need to post logs.  What do the logs look like when you receive the mail you think should be blocked?  What happens when you set it to another IP you control and both run it with -bh and actually receive email from that IP.  Change your -bh example to use -d to get debugging output.  In the controlled live example, set exim to listen to port 26 and run it in debug mode to see exactly what's happeneing." CreationDate="2011-03-02T20:05:41.907" UserId="5264" />
  <row Id="10558" PostId="8481" Text="Indeed this doesn't look like it should happen. Is your `hg` a cygwin program? What terminal is this running in (Windows console, some cygwin terminal)?" CreationDate="2011-03-02T20:11:01.187" UserId="885" />
  <row Id="10559" PostId="8481" Text="hg is a DOS command running in a Cygwin rxvt terminal" CreationDate="2011-03-02T20:18:00.877" UserId="5259" />
  <row Id="10560" PostId="8481" Text="UPDATE: I got it to work.  It was indeed the backticks causing the problems.  I refactored it as &quot;hg st -m | grep -q M&quot;, then checked the exit value of grep, which is working perfectly.  I still don't know why the backtick caused that problem.  I will try it in a real bash shell at home tonight.  " CreationDate="2011-03-02T20:21:22.993" UserId="5259" />
  <row Id="10561" PostId="8481" Text="@akira: What would be the advantage of implementing it as a function instead of an alias?" CreationDate="2011-03-02T20:21:54.397" UserId="5259" />
  <row Id="10562" PostId="8479" Text="@mattdm: Well, according to http://apt-rpm.org/scm/ there is some recent activity in 2010. not a lot, granted. Also, the last stable release was in early 2008. However, Debian's apt has also gone through long inactive periods too. Let's hope the project doesn't die. I assume you are talking about Panu Matilainen above." CreationDate="2011-03-02T20:43:33.450" UserId="4671" />
  <row Id="10563" PostId="8481" Score="2" Text="@dj_segfault: http://www.gnu.org/software/bash/manual/bashref.html#Aliases &quot;For almost every purpose, shell functions are preferred over aliases.&quot; .. function can have arguments, functions are not expanded on read, you wont need such a huge quoting block to hold together the subcommands of your alias etc etc etc." CreationDate="2011-03-02T20:50:57.923" UserId="838" />
  <row Id="10564" PostId="8471" Text="@valya Glad you found a solution. Just to be clear, though, `nohup` does work on a running process by using the `-p` option (if available)." CreationDate="2011-03-02T20:57:25.563" UserId="916" />
  <row Id="10565" PostId="8481" Text="Thank you, Akira.  I'll take your advice." CreationDate="2011-03-02T21:16:25.817" UserId="5259" />
  <row Id="10566" PostId="8497" Text="See [How do I find out what hard disks are in the system?](http://unix.stackexchange.com/questions/4561/how-do-i-find-out-what-hard-disks-are-in-the-system). If there's not enough information, what's missing?" CreationDate="2011-03-02T21:35:19.787" UserId="885" />
  <row Id="10567" PostId="8284" Text="&quot;I haven't made any benchmark&quot;.  See my answer for benchmarks." CreationDate="2011-03-02T21:36:36.293" UserId="3169" />
  <row Id="10568" PostId="8497" Text="@Giles : That's enough information. I didn't see that post after multiple searches." CreationDate="2011-03-02T21:39:41.000" UserId="4" />
  <row Id="10569" PostId="8499" Text="@Mikel: Nice. Could you also try Iain's answer (single call to `date`, but enumeration in the shell rather than `seq`)? What are your system characteristics (in particular the kernel and filesystem can strongly impact the costs of forking and file accesses)?" CreationDate="2011-03-02T21:41:29.063" UserId="885" />
  <row Id="10570" PostId="8471" Text="@Hank Gay: I can't see a `-p` option to `nohup` in the man pages; what system are you on?" CreationDate="2011-03-02T21:44:35.713" UserId="3169" />
  <row Id="10571" PostId="8499" Text="Sure.  It's Ubuntu 10.10 32-bit with Linux 2.6.35-25-generic, ext4 /tmp, on a dual-core AMD Athlon X2 system." CreationDate="2011-03-02T21:55:35.287" UserId="3169" />
  <row Id="10572" PostId="8499" Text="Great analysis - Is the  while loop faster than the for loop ?" CreationDate="2011-03-02T22:10:42.597" UserId="591" />
  <row Id="10574" PostId="8471" Text="@Mikel Before I learned to stop worrying and love the `tmux`, I used the `-p` option on a Solaris box. I also have vague memories of doing it on a mongrel CentOS box (possibly `zsh` has a builtin that supports it?), but I can't find any docs on that." CreationDate="2011-03-02T22:25:39.700" UserId="916" />
  <row Id="10575" PostId="8499" Text="@Iain: Average of 5 runs, lowest and highest removed: for loop=0.752666 sec, while loop=0.751333 sec.  So I don't think there's a difference." CreationDate="2011-03-02T22:34:29.527" UserId="3169" />
  <row Id="10576" PostId="8471" Text="@Hank Gay: Neither `bash` nor `zsh` on my Ubuntu Linux system provide `nohup`." CreationDate="2011-03-02T22:36:25.813" UserId="3169" />
  <row Id="10577" PostId="8499" Text="Thanks thats interesting to know. Out of curiosity I knocked up a simple c program to generate the seconds which are piped straight into `date -f - ...`  and get a logfile of size 1261440020 in 6m48 which is about 10.8Gb/Hr on my single core Ubuntu VM." CreationDate="2011-03-02T22:42:26.110" UserId="591" />
  <row Id="10578" PostId="8471" Text="@Mikel that combined with my failure to find any docs makes me think I just imagined that. The Solaris thing was real, though." CreationDate="2011-03-02T22:44:19.413" UserId="916" />
  <row Id="10579" PostId="8492" Text="Heh, thanks again Gilles. I'm still newish with Unix/Linux system administration. I appreciate the help :)" CreationDate="2011-03-02T22:49:24.123" UserId="3170" />
  <row Id="10580" PostId="8504" Text="Sweet! That's perfect. Thank you." CreationDate="2011-03-02T23:10:39.790" UserId="2333" />
  <row Id="10581" PostId="8499" Text="@Iain: C is faster than shell?  Well I never! :-&gt;" CreationDate="2011-03-02T23:14:11.270" UserId="3169" />
  <row Id="10582" PostId="7613" Text="http://www.linuxjournal.com/article/7814: says uCLinux does not support fork(), but a blocking variant called vfork(), applications under uCLinux have to be rewritten to use vfork or threads." CreationDate="2011-03-02T23:36:57.007" UserId="3389" />
  <row Id="10583" PostId="8490" Text="@kisplit: I've generalized the title of your question a little because the core issue isn't about `/proc`. By the way, it's a bit late for this time, but if you figure out the answer after posting the question, [it's fine to answer it yourself](http://unix.stackexchange.com/faq#ask), and leave it up for other people who might run into a similar problem." CreationDate="2011-03-02T23:55:07.437" UserId="885" />
  <row Id="10584" PostId="8505" Text="Great answer. Thanks." CreationDate="2011-03-03T00:24:13.983" UserId="5270" />
  <row Id="10586" PostId="8506" Text="Thanks for the detailed answer. It was the endianness that was tripping me up when I was trying to do the ASCII - octal conversion myself." CreationDate="2011-03-03T00:47:57.450" UserId="5270" />
  <row Id="10587" PostId="8491" Text="OK, I didn't know if by posting logs I'd be overloading people with too much data. I'll try the things you suggest." CreationDate="2011-03-03T00:48:14.270" UserId="2769" />
  <row Id="10588" PostId="8508" Text="thanks for the suggestion." CreationDate="2011-03-03T00:49:45.220" UserId="2769" />
  <row Id="10589" PostId="8508" Text="@jcomeau_ictx  On its own this rule is quite accurate, but after applying other rules, it becomes highly inaccurate. I am testing with the added condition added in my edit.  I no longer allow Spamhaus listed senders to send the email body, so my stats will be understated for the percentage that Spamhaus rejected." CreationDate="2011-03-03T01:18:56.107" UserId="4520" />
  <row Id="10590" PostId="8507" Text="I think the idea was to make the prompt be green on success and red on failure." CreationDate="2011-03-03T01:20:31.893" UserId="2511" />
  <row Id="10591" PostId="8377" Text="@Ako well I guess the community likes this question... so I'm going to leave it, unless the other mods tell me they agree. But no offense, good luck getting a good answer on a topic that deserves a book." CreationDate="2011-03-03T01:24:07.083" UserId="29" />
  <row Id="10592" PostId="8481" Text="@dj_segfault if you got it to work it would be appropriate to 'answer' the question, and then accept it once you can." CreationDate="2011-03-03T01:34:38.527" UserId="29" />
  <row Id="10593" PostId="8507" Text="Yes, `PS1` is wrong, but the advice to use `$'...'` for `RED` and `GREEN` should make it work using dogbane's `PS1`." CreationDate="2011-03-03T02:05:05.377" UserId="3169" />
  <row Id="10594" PostId="8498" Text="@Ross: Linux/bash flexibility is awsome (I definitely spent too long switching to Linux). I had just accepted akira's answer, but I've pulled that until I assess this more fully. `dd` jumps to a specific byte (as does `tail`), but it's a pain coding around unknown line lengths, and then a call to sed to strip off leading partial lines... It looks like tail|head can do that painlessly (as fast?). I don't understand how head can turn the tap off on tail, but it seems to :) It must be a case of: If head stops receiving, tail stops sending (and stops further reading). Must go.. back tomorrow." CreationDate="2011-03-03T02:06:25.487" UserId="2343" />
  <row Id="10595" PostId="8491" Text="I ran it in debugging mode: exim4 -bd -d -oX 2525, and it does the same thing as when I did the -bh test. it accepts yahoogroups.com and rejects yahoo.com. next step set exim4 to log at the debug level?" CreationDate="2011-03-03T02:10:31.817" UserId="2769" />
  <row Id="10596" PostId="8119" Text="What should I replace &lt;mynetwork&gt; with?" CreationDate="2011-03-03T04:04:09.613" UserId="688" />
  <row Id="10597" PostId="8506" Text="I was going to mention endieness but I am glad I didn't, Gilles explained it well." CreationDate="2011-03-03T04:39:39.133" UserId="4856" />
  <row Id="10598" PostId="8503" Score="1" Text="`ps -C xmms` should make your grep obsolete. " CreationDate="2011-03-03T05:02:26.677" UserId="4485" />
  <row Id="10599" PostId="8458" Text="@shadur Do you have any info on why this may be and what I should do next? Thanks :]" CreationDate="2011-03-03T06:26:22.350" UserId="5247" />
  <row Id="10600" PostId="8119" Text="@tshepang The network number, with host part zeroed and a CIDR mask. Like this: 192.169.1.0/24" CreationDate="2011-03-03T06:49:44.930" UserId="3082" />
  <row Id="10601" PostId="8510" Text="Will this always work? Suppose I have an executable in two different directories and I run `./someexecutable` in both?" CreationDate="2011-03-03T07:09:15.093" UserId="4812" />
  <row Id="10602" PostId="8495" Text="Thanks for that. Your username is strangely appropriate! ;)" CreationDate="2011-03-03T07:35:56.047" UserId="2163" />
  <row Id="10603" PostId="8458" Text="You're going to need to do something a little scary, I'm afraid. `dpkg --force-depends --remove console-utilities; apt-get -f install kbd` &#xA;&#xA;That will force dpkg to ignore dependency errors while removing console-utilities, which in turn will free up the conflict that keeps apt-get from installing kbd." CreationDate="2011-03-03T07:44:36.257" UserId="4949" />
  <row Id="10604" PostId="8458" Text="Here is the text output; still an error:   http://pastebin.com/HtTCb2y5" CreationDate="2011-03-03T07:56:15.717" UserId="5247" />
  <row Id="10605" PostId="8458" Text="... Oh, derp. That'll teach me to pay closer attention to error output. `apt-get -f install console-tools- kbd`" CreationDate="2011-03-03T07:58:18.523" UserId="4949" />
  <row Id="10606" PostId="8458" Text="lol it happens :), http://pastebin.com/s2zGNA8d" CreationDate="2011-03-03T08:01:25.773" UserId="5247" />
  <row Id="10607" PostId="8458" Text="... Okay. Try `dpkg --purge console-tools` " CreationDate="2011-03-03T08:23:13.913" UserId="4949" />
  <row Id="10608" PostId="8459" Text="the article you got that idea from notes that doing it breaks login as root, as using sudo. therefore, you only way to revert it would be a clean reinstall. therefore, you dont have to try it, it is obviously how to restore it. also, have a LART on hand, just in case a user of yours tries anyway." CreationDate="2011-03-03T08:26:10.823" UserId="3041" />
  <row Id="10609" PostId="8458" Text=":/ http://pastebin.com/iFEnX4dH" CreationDate="2011-03-03T08:28:49.323" UserId="5247" />
  <row Id="10610" PostId="8458" Text="Okay, at least that's expected. `dpkg --purge --force-depends console-tools` " CreationDate="2011-03-03T08:30:38.667" UserId="4949" />
  <row Id="10611" PostId="8458" Text="http://pastebin.com/V2TG0pwU" CreationDate="2011-03-03T08:31:51.253" UserId="5247" />
  <row Id="10612" PostId="8474" Text="I tryed to do this, but when I add some public IP, squid doesnt start... I read somewhere that squid can work like a reverse proxy... but I don't know how to configure this." CreationDate="2011-03-03T08:55:49.003" UserId="4814" />
  <row Id="10613" PostId="8498" Text="@fred.bear: `tail`/`head` are not able to blind guess the line-lengths as well. you have to jump to position x and then you can either look left or right of x for the next `\n`. it does not matter what the program is called. so, in both cases you jump to x and then use `head` to look to the right for the next end of line." CreationDate="2011-03-03T09:22:47.000" UserId="838" />
  <row Id="10614" PostId="8458" Text="Okay. NOW `apt-get -f install` should fix the missing dependencies. Once that's done, another `apt-get -uf upgrade` to make sure you've got everything to the latest." CreationDate="2011-03-03T09:24:12.317" UserId="4949" />
  <row Id="10615" PostId="8458" Text="ok no errors this time :) http://pastebin.com/5ybgyKum" CreationDate="2011-03-03T09:32:31.513" UserId="5247" />
  <row Id="10616" PostId="8458" Text="Okay. Now you should be able to install php5-cgi and php5-cli without further problems." CreationDate="2011-03-03T09:50:45.367" UserId="4949" />
  <row Id="10617" PostId="8458" Text="Thanks, it look like everything installed correctly when I did `apt-get install php5 php5-cgi php5-cli php5-gd php5-mysql libapache2-mod-php5` and `apt-get install php5-cli` (no error messages) but when I type `php -v` in the command I get this: http://pastebin.com/grti6exe" CreationDate="2011-03-03T09:58:19.650" UserId="5247" />
  <row Id="10618" PostId="8458" Text="That looks like your `/etc/php5/cli/php.ini` file refers to a whole list of modules that aren't installed. Where did you get it from? " CreationDate="2011-03-03T10:10:50.517" UserId="4949" />
  <row Id="10619" PostId="8458" Text="I have no idea :/ my vps came with preloaded stuff" CreationDate="2011-03-03T10:12:22.197" UserId="5247" />
  <row Id="10620" PostId="8458" Text="so would php work now or is it still &quot;broken&quot;?" CreationDate="2011-03-03T10:16:35.017" UserId="5247" />
  <row Id="10621" PostId="8458" Text="It should work now; Those warnings aren't critical -- although I do recommend you either remove the entries from your config or install the modules properly." CreationDate="2011-03-03T10:23:27.857" UserId="4949" />
  <row Id="10622" PostId="8458" Text="Ah ok thanks. I'll be online in a few more house to test it out" CreationDate="2011-03-03T10:26:48.363" UserId="5247" />
  <row Id="10623" PostId="6914" Text="I had an error `function strftime never defined`; it was fixed by installing **gawk**." CreationDate="2011-03-03T11:12:19.960" UserId="688" />
  <row Id="10624" PostId="1850" Text="This would be a great option, if it's even possible, I would like to know.  Building an outlook client into emacs would definitely be cool." CreationDate="2010-09-10T19:32:59.030" />
  <row Id="10625" PostId="7960" Text="Im going with Ken Thompson's appreciation of root beer :D" CreationDate="2011-02-24T20:14:45.537" UserId="5090" />
  <row Id="10626" PostId="8514" Score="2" Text="What didn't work? You didn't see the printer, you add the printer, or print on it? Did you restart samba after changing configuration? Do you have the printer configured in CUPS?" CreationDate="2011-03-03T12:47:30.533" UserId="2671" />
  <row Id="10627" PostId="8516" Text="Hmm, the description says otherwise. Are you sure?" CreationDate="2011-03-03T12:48:25.150" UserId="2671" />
  <row Id="10628" PostId="8516" Text="@Let_Me_Be: ok, maybe I read too quickly your question... If what you need is a not only a **format** conversion but a character conversion (i.e. é =&gt; e), give a try to [slugify](http://pypi.python.org/pypi/slugify) then." CreationDate="2011-03-03T12:53:18.690" UserId="5281" />
  <row Id="10629" PostId="8498" Text="`tail|head` offers the ability to not be concerned *at all* about `dd`'s count=val. With 'dd', if I don't grab enough data, it's &quot;game over&quot;. The flexibility of arbitary line lengths is great. I've written a function for 'dd' which returns the &quot;next nearest&quot; full line and its offset, but I'd prefer to avoid the length issue. I've now tested tail|head, and it initially performs well (to offset=100MB), but slows down dramatically to take 2 min for **one** access at offset=8GB (I can `awk` it in 1 min) ... so it's great for **smaller** file's.. Thanks for making me aware of the tail/head combo :)" CreationDate="2011-03-03T12:57:35.903" UserId="2343" />
  <row Id="10630" PostId="8510" Text="No, of course not, because both will show up as ./someexecutable or /bin/bash ./someexecutable " CreationDate="2011-03-03T13:44:27.117" UserId="4485" />
  <row Id="10631" PostId="8434" Text="Looks like you are correct, I just tried a make and it opened up my copied header file right at the line of the first warning. I like the features, like :cl to list build errors, however I find automatically bringing up the infringing file cumbersome. Now I need to see if I can disable this single feature, because I believe things like :cl are part of quickfix, no?" CreationDate="2011-03-03T13:52:32.087" UserId="4856" />
  <row Id="10632" PostId="8434" Text="Marking this answer -- looks like I need to simply read more into quickfix, as I think it will be difficult to get the behavior I want. Thanks!" CreationDate="2011-03-03T14:14:32.987" UserId="4856" />
  <row Id="10633" PostId="8525" Text="Well I can even enclose the argument in single quotes like `'*.png'` but I'd really like it to be completely transparent as if it were a builtin command" CreationDate="2011-03-03T14:31:51.643" UserId="1467" />
  <row Id="10634" PostId="8525" Text="Are you using bash or some other shell? Because in bash what you ask works, but in zsh (which I use) even `echo *.png` tries expanding to all png files." CreationDate="2011-03-03T14:40:47.067" UserId="5282" />
  <row Id="10636" PostId="8527" Text="After some thought I came to this conclusion but I couldn't find how to specify &quot;the rest of the arguments after the first two&quot;, I was just missing `shift` :)" CreationDate="2011-03-03T14:59:34.373" UserId="1467" />
  <row Id="10637" PostId="8521" Text="How common is /sbin/ip? I don't have it on any of my computers" CreationDate="2011-03-03T15:03:34.703" UserId="73" />
  <row Id="10638" PostId="8521" Score="2" Text="`ip` is available on all the Red Hat and Fedora distros I've used.  `ip` is part of the iproute2 package (http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2).  `ifconfig` and `route` are supposedly deprecated, although they continue to be used by a lot of people, particularly in scripts.  `ip` is much more parsable, in my opionion." CreationDate="2011-03-03T15:13:38.847" UserId="3976" />
  <row Id="10639" PostId="8324" Text="@Tshepang: There seems to be a difference depending on how you install Debian. When I used the Debian Squeeze NetInst while it was in Beta my /root is 755 but my pbuilder chroots have their /root as 700." CreationDate="2011-03-03T15:43:28.133" UserId="3459" />
  <row Id="10641" PostId="8533" Score="1" Text="which version of Ubuntu ? 8.04,9.04 or 10.04 ?" CreationDate="2011-03-03T16:13:05.673" />
  <row Id="10642" PostId="8533" Text="It's Ubuntu 10.10 Maverick Meerkat." CreationDate="2011-03-03T16:14:29.980" />
  <row Id="10643" PostId="8533" Text="Are you sure you aren't using LVM?" CreationDate="2011-03-03T16:17:52.423" UserId="3976" />
  <row Id="10644" PostId="8533" Text="@jsbillings The file system was definitely ext3; not sure what you mean by &quot;using LVM&quot;. I did make some changes to the partitions on the disk today (under Windows; I  dual boot), but successfully booted Ubuntu after that." CreationDate="2011-03-03T16:21:25.583" UserId="5285" />
  <row Id="10646" PostId="8533" Score="1" Text="LVM is the Logical Volume Manager.  What I suspect is that /dev/sda5 isn't actually an ext3 partition, but a physical volume in an logical volume managed by LVM.  `lvm pvdisplay /dev/sda5` should identify whether it is an LVM physical volume or not." CreationDate="2011-03-03T16:29:08.763" UserId="3976" />
  <row Id="10647" PostId="8533" Text="@jsbillings I tried that and got &quot;No physical volume label read from /dev/sda5&#xA;  Failed to read physical volume &quot;/dev/sda5&quot;&#xA;&quot;" CreationDate="2011-03-03T16:41:06.973" UserId="5285" />
  <row Id="10648" PostId="8532" Score="1" Text="Strange that it shows &quot;UNKNOWN&quot; when connected. It works, as it shows &quot;DOWN&quot; when disconnected, but is it correct to show &quot;UNKNOWN&quot; when connected?" CreationDate="2011-03-03T16:54:29.550" UserId="3608" />
  <row Id="10649" PostId="8474" Score="1" Text="@Wolfy: For a reverse proxy I would configure Apache (or nginx) to act as a reverse proxy.  Apache has very good controls to restrict access by IP address and/or require a password.  Apache can be configured as to cache responses if that is what you need." CreationDate="2011-03-03T17:21:42.867" UserId="4520" />
  <row Id="10650" PostId="8533" Text="@thepeer: Ok, then it's not LVM at least.  Deleting the journal and using ext2 isn't going to bring back the superblocks, those are unrelated to a journal." CreationDate="2011-03-03T17:37:22.340" UserId="3976" />
  <row Id="10651" PostId="8324" Text="@Arr I normally use netinst, and I was never able to even view inside of `/root` with **`ls`**." CreationDate="2011-03-03T17:48:15.437" UserId="688" />
  <row Id="10652" PostId="8515" Text="Hm, `iconv` is *the* command line tool for that task.  Mind to share how exactly it refuses to serve you?" CreationDate="2011-03-03T18:01:13.460" UserId="1946" />
  <row Id="10654" PostId="8532" Text="I get `UNKNOWN` on a Ubuntu 10.10 system, and `1000\` on a CentOS 5.5 system." CreationDate="2011-03-03T18:42:52.347" UserId="4" />
  <row Id="10655" PostId="7757" Text="The umask is set to 022. The rest of the vsftpd.conf is unchanged. The reason why I am confused by this is because different sites act differently. I think I am doing something different in the setup/creation that is doing this." CreationDate="2011-03-03T18:52:02.050" UserId="4937" />
  <row Id="10656" PostId="8536" Score="3" Text="A “paging request” means that the kernel has tried to access some memory that it should have been able to access. If it can't and you see this message, there is either a hardware bug (almost always bad RAM) or a kernel bug. If it's a kernel bug, the numbers in subsequent messages are needed to track it down, but it's often still very hard to go from the location in the code where the error is detected to the location where the erroneous code actually is." CreationDate="2011-03-03T19:48:09.427" UserId="885" />
  <row Id="10657" PostId="8534" Text="@ubolonton: While your question is on-topic here, it's quite specific to Ubuntu, so it may fare better on our sister site [Ask Ubuntu](http://askubuntu.com/). If you'd like to ask your question there, do not repost it, but use the “flag” button to request a moderator to migrate it." CreationDate="2011-03-03T19:51:43.123" UserId="885" />
  <row Id="10658" PostId="8497" Text="Having seen your answer in the other thread, I think it would actually make more sense here: you have a more specific question about a particular hardware RAID model." CreationDate="2011-03-03T19:54:25.023" UserId="885" />
  <row Id="10659" PostId="8533" Text="Like jsbillings I suspect you don't actually have an ext3 filesystem there. Either the filesystem was very heavily corrupted, or it's elsewhere. Post the output of `fdisk -l` and `file - &lt;/dev/sda5`." CreationDate="2011-03-03T19:56:11.293" UserId="885" />
  <row Id="10660" PostId="8536" Text="Yeah, tracking it down via the numbers is way over my head, so if it's not bad RAM, then I'll just use a different method. The system has 2 sticks of RAM in it, so I'm hoping that I'll just have to take one out. I'll post back with details in a few hours - thanks for the help, man." CreationDate="2011-03-03T19:57:45.977" UserId="5286" />
  <row Id="10661" PostId="8538" Text="Yes, send yourself a mail and you'll see 'You have new mail.' instead :D  Seriously though, why don't you want to be notified of the new mail upon logging in to a system?  It might be well important." CreationDate="2011-03-03T20:24:17.077" UserId="1946" />
  <row Id="10662" PostId="8434" Text="@Mr. Schickadance, after doing a bit checking on your own, you can post a new question regarding this specific behavior" CreationDate="2011-03-03T20:55:24.087" UserId="1131" />
  <row Id="10663" PostId="8539" Text="It's not Cygwin specific. I've tried it on a Fedora box and got the same effect. No idea why though, but it must be to do with how bash evaluates aliases." CreationDate="2011-03-03T21:05:56.450" UserId="2978" />
  <row Id="10664" PostId="420" Text="Original image is no longer there." CreationDate="2011-03-03T21:28:34.363" UserId="688" />
  <row Id="10666" PostId="8456" Text="@Vardhan Varma - Thanks for pointing me towards ptree. It did give encouraging results. From the process tree, with a little guess work, i was able to trace back to the actual user. But i'm not sure what this process is - `/usr/lib/ssh/sshd`. I've heard of `ssh` but not `sshd`." CreationDate="2011-03-03T21:47:24.073" UserId="4950" />
  <row Id="10667" PostId="8539" Text="@ak2: Indeed this is a long-standing alias expansion bug. (Bug, as in, no other shell behaves this way, I can't reconcile the behavior with POSIX, and I don't even understand what could be going on under the hood.) Thanks for the heads-up." CreationDate="2011-03-03T21:52:52.923" UserId="885" />
  <row Id="10669" PostId="8540" Text="Oh, that's totally awesome, thx." CreationDate="2011-03-03T22:03:30.090" UserId="2671" />
  <row Id="10670" PostId="8533" Text="`sudo tee /dev/sda5 | file -` or `sudo file -s /dev/sda5`, please." CreationDate="2011-03-03T22:06:34.940" UserId="885" />
  <row Id="10672" PostId="8533" Text="@Gilles: Edited the question" CreationDate="2011-03-03T22:10:19.513" UserId="5285" />
  <row Id="10673" PostId="8503" Text="pgrep would do it too." CreationDate="2011-03-03T22:10:27.913" UserId="2594" />
  <row Id="10675" PostId="8533" Text="@thepeer: Um, no, you didn't. The point is that you need to read `/dev/sda5` as root. Use either of the commands in my previous comment." CreationDate="2011-03-03T22:56:03.807" UserId="885" />
  <row Id="10676" PostId="8533" Text="Another edit with more output" CreationDate="2011-03-03T22:57:13.683" UserId="5285" />
  <row Id="10677" PostId="8533" Text="I am about to give up and wipe the partition. I need to get it working again by tomorrow. Are we getting anywhere?" CreationDate="2011-03-03T23:00:11.607" UserId="5285" />
  <row Id="10678" PostId="8544" Text="The output from the tail command was:  /dev/stdin: x86 boot sector; partition 1: ID=0x83, starthead 254, startsector 1, 68358144 sectors, extended partition table (last)\011, code offset 0x0. Is that the kind of thing you meant?&#xA;" CreationDate="2011-03-03T23:20:23.650" UserId="5285" />
  <row Id="10679" PostId="8544" Text="@thepeer: I think that means my suspicion about the partition start is right, so you haven't lost your data after all! Try modifying the partition boundary, or removing and recreating the partition. Make sure you end up with a logical partition that starts at the first sector inside the extended partition." CreationDate="2011-03-03T23:23:55.933" UserId="885" />
  <row Id="10681" PostId="8544" Text="GParted sees the volume as corrupt and refuses to work, and I can't figure out how to move the boundary with fdisk. Can you give me a hint?" CreationDate="2011-03-03T23:28:56.387" UserId="5285" />
  <row Id="10682" PostId="8544" Text="@thepeer: I don't know why GParted would say this. With fdisk, you have to delete the partition and re-create a logical partition at the right boundaries. I'm not sure if fdisk will spontaneously choose the proper boundary, you may need to go into expert mode. I suggest asking on [Super User](http://superuser.com/) where you'll find people who know this stuff better than me (plus it's past my bedtime already), or perhaps their [chat](http://chat.stackexchange.com/rooms/118/root-access)." CreationDate="2011-03-03T23:33:44.773" UserId="885" />
  <row Id="10683" PostId="8544" Text="Thanks for all your help, anyway!" CreationDate="2011-03-03T23:36:08.427" UserId="5285" />
  <row Id="10684" PostId="8521" Score="1" Text="`ip` is also available on all Debian and Debian based distros I've seen. It's part of the iproute package which is marked as important." CreationDate="2011-03-03T23:43:08.463" UserId="3459" />
  <row Id="10685" PostId="8456" Text="sshd will be ssh deamon .. sth that talks to to ssh, which is on client site ..  just like you have a http server ..." CreationDate="2011-03-04T01:12:27.213" UserId="1653" />
  <row Id="10686" PostId="8548" Score="1" Text="... and I'm pleased to report that, after removing the defective stick, everything is going quite smoothly. :D" CreationDate="2011-03-04T01:40:13.290" UserId="5286" />
  <row Id="10687" PostId="8550" Score="1" Text="@Alex why are you trying to delete in 2 terminals at once? it shouldn't be any faster, the filesystem nor hard drive is designed for that. I don't know if it will work but maybe `find /tmp/dirtest -delete` would" CreationDate="2011-03-04T02:28:33.950" UserId="29" />
  <row Id="10688" PostId="8550" Score="3" Text="@xenoterracide I'm not doing it deliberately, it's an artifact of our build system. `rm`-ing with two terminals is just an easy-to-reproduce artificial scenario." CreationDate="2011-03-04T02:47:47.627" UserId="210" />
  <row Id="10689" PostId="8547" Score="1" Text="Are you running the command [as root](http://unix.stackexchange.com/q/3063)?" CreationDate="2011-03-04T05:41:58.603" UserId="688" />
  <row Id="10690" PostId="8458" Text="It still doesn't work :/ typing `php -v` should at least tell me the version number but it says unable to load library: http://pastebin.com/LE9hN86D or am I wrong? Sorry I'm so dumb here. How would I fix the modules or remove them?" CreationDate="2011-03-04T07:41:01.750" UserId="5247" />
  <row Id="10691" PostId="8558" Text="It's said that the same change should be applied to &quot;gdm-password&quot;, for Fedora 13." CreationDate="2011-03-04T07:55:27.907" UserId="688" />
  <row Id="10692" PostId="8545" Text="Thanks! Could you describe more explicit what do do exactly for my case (put which lines in which files etc.) (I am an apache newbie - the server is only for my personal use)" CreationDate="2011-03-04T08:12:48.537" UserId="5289" />
  <row Id="10693" PostId="8563" Text="My whole point was to avoid writing a script and try to do it using a command instead. Writing the script will defeat the whole purpose of this question." CreationDate="2011-03-04T08:47:05.087" UserId="5295" />
  <row Id="10694" PostId="8563" Text="Do you consider `ruby -e 'program text'` &quot;writing a script&quot;?" CreationDate="2011-03-04T08:48:50.610" UserId="1946" />
  <row Id="10695" PostId="8558" Text="Yes, it's said on the page I linked to at the bottom: &quot;On Fedora 11 onwards, you also need to edit /etc/pam.d/gdm-password, following the above steps.&quot;.  I changed the main instructions from `/etc/pam.d/gdm` to `/etc/pam.d/gdm-password` based on that." CreationDate="2011-03-04T08:49:37.677" UserId="3169" />
  <row Id="10696" PostId="8559" Text="+1 You gave the Fedora-specific directions before me." CreationDate="2011-03-04T08:50:08.863" UserId="3169" />
  <row Id="10697" PostId="8566" Text="I thin you sort of misunderstood me, im trying to have my own output, none of what linux shows, so i have managed to remove Stopping udev, by commenting it out, but still an ok apears" CreationDate="2011-03-04T08:54:17.627" UserId="3368" />
  <row Id="10698" PostId="8559" Text="@Mikel +1 to you for linking to a more authoritative resource." CreationDate="2011-03-04T09:23:59.580" UserId="688" />
  <row Id="10699" PostId="8558" Text="Oh, I mixed them. Why didn't you mention the need to edit &quot;gdm&quot; as well?" CreationDate="2011-03-04T09:24:52.947" UserId="688" />
  <row Id="10700" PostId="8563" Text="I think I didn't understand you properly. Where can I get the 'program text'?" CreationDate="2011-03-04T09:25:58.207" UserId="5295" />
  <row Id="10701" PostId="8558" Text="According to Fedora documentation, the file is called `gdm` in Fedora 10, and `gdm-password` in Fedora 11 and above.  It sounded like there was no `/etc/pam.d/gdm` on Fedora 13 based on that." CreationDate="2011-03-04T09:26:36.537" UserId="3169" />
  <row Id="10702" PostId="8458" Text="It /is/ working. It's just telling you that a whole lot of libraries that its config files (`/etc/php5/cli/php.ini` and `/etc/php5/conf.d/*` ) want to include aren't actually installed on your system. You'll have to install them manually; the package names will likely be php-xxx where xxx is the name of the module (so php-curl for curl.so, php-mhash for mhash.so, and so forth )" CreationDate="2011-03-04T09:38:58.117" UserId="4949" />
  <row Id="10703" PostId="8558" Text="@Mikel You must have missed the word *also* in that page." CreationDate="2011-03-04T10:06:13.990" UserId="688" />
  <row Id="10704" PostId="8458" Text="Something is still wrong with my php. I have a file called test.php that has `&lt;?php phpinfo() ;?&gt;`. Instead of displaying the php file, it tries to download it. See here --&gt; http://206.217.223.136/test/" CreationDate="2011-03-04T10:53:28.850" UserId="5247" />
  <row Id="10705" PostId="8458" Text="That just means that apache isn't configured to use php - either via mod_php or via cgi. Have a look in `/etc/apache2/mods-enabled` and make sure there are entries for php5 in there." CreationDate="2011-03-04T11:27:55.077" UserId="4949" />
  <row Id="10706" PostId="8553" Text="+1 It's really interesting!" CreationDate="2011-03-04T12:44:40.920" UserId="3608" />
  <row Id="10707" PostId="8521" Text="I'm using an embeded system, and it don't have this command. But it's a nice way for the systems have the command." CreationDate="2011-03-04T12:57:13.767" UserId="3608" />
  <row Id="10709" PostId="8569" Score="3" Text="Be sure to add -s0 so you get the entire packet.  It's usually truncated by default." CreationDate="2011-03-04T13:38:10.783" UserId="5310" />
  <row Id="10711" PostId="8545" Text="@user5289 I updated the answer as requested." CreationDate="2011-03-04T14:46:48.557" UserId="250" />
  <row Id="10712" PostId="8574" Text="This is not an answer because I don't know it, but I don't think it makes any difference between doing like you said and leaving the job to `sudo`." CreationDate="2011-03-04T14:52:50.033" UserId="250" />
  <row Id="10714" PostId="8550" Text="@Alex you should state that in your question. That's a point that makes the problem interesting." CreationDate="2011-03-04T14:54:31.700" UserId="250" />
  <row Id="10715" PostId="8574" Score="5" Text="@phunehehe There is a difference because when a job completes, `sudo` deactivates while a true root shell remains open." CreationDate="2011-03-04T14:55:07.300" UserId="4248" />
  <row Id="10716" PostId="8565" Text="Be aware that if you're using Fedora, this is All Going Away with the advent of `systemd` in Fedora 15." CreationDate="2011-03-04T15:36:55.233" UserId="2511" />
  <row Id="10717" PostId="8566" Text="@whoami, `/sbin/start_udev` sources `/etc/init.d/functions`, which in turn calls `/etc/sysconfig/init` as @Mikel says. So this should work." CreationDate="2011-03-04T15:41:31.800" UserId="2511" />
  <row Id="10718" PostId="8576" Score="1" Text="Though no such exploit is known now, I'm going to keep on *not* leaving root shells open in screen.  Risks to the user account are sufficient as it is. Thanks." CreationDate="2011-03-04T15:42:18.367" UserId="4248" />
  <row Id="10719" PostId="8556" Text="Be aware that root-gui-login is off for your own protection. Very little GUI software is written with the idea of running with root privs in mind. If you know what you're doing, go for it, but better to log in as yourself. (Even, I think, for people who know what they're doing.)" CreationDate="2011-03-04T15:45:12.327" UserId="2511" />
  <row Id="10720" PostId="8577" Text="Try using `curl --fail -O ...` instead.  This will cause `curl` to fail completely if it receives an HTTP error instead of writing the error text to the output file." CreationDate="2011-03-01T18:16:23.787" />
  <row Id="10721" PostId="8577" Text="It doesn't fail. &#xA;$ curl --fail -O http://repo2.maven.org/maven2/com/dp4j/dp4j/1.1/dp4j-1.1-jar-with-dependencies.jar&#xA;  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&#xA;                                 Dload  Upload   Total   Spent    Left  Speed&#xA;100  341k  100  341k    0     0   576k      0 --:--:-- --:--:-- --:--:--  739k&#xA;" CreationDate="2011-03-01T21:28:41.737" UserId="5307" />
  <row Id="10722" PostId="8578" Text="tried that..It's not the issue (it works on linux). The jar is indeed downloaded, but corrupt. " CreationDate="2011-03-01T18:09:09.587" UserId="5307" />
  <row Id="10723" PostId="8578" Text="Open the jar in a text editor or `hexdump` it.  For some reason I was receiving an HTML file with a 404 message occasionally under both Windows and on my MacBook.  If the server responds with a 404 status and an error page, then `curl` will gladly write the error page out as a file for you." CreationDate="2011-03-01T18:13:49.470" />
  <row Id="10724" PostId="8578" Text="i did all that..it's full of byte code (I already had the problem you guys refer to =) )" CreationDate="2011-03-01T18:22:39.913" UserId="5307" />
  <row Id="10725" PostId="8578" Text="Run it through a zip repairer. See if it's still even remotely a zip file internally. winzip/7zip would do. the CLI zip for Linux has a repair option as well, but I can't remember what the arg is to invoke it. " CreationDate="2011-03-01T18:30:32.553" />
  <row Id="10726" PostId="8575" Score="4" Text="You used &quot;are&quot; in the first part of your sentence where you probably meant &quot;should be&quot;. Let's not get into the habit of making assumptions." CreationDate="2011-03-04T15:58:00.087" UserId="4949" />
  <row Id="10727" PostId="8563" Text="@kamaal: dunno.  Google?  Docs for your scripting language of choice?  CPAN comes to mind if you're using Perl." CreationDate="2011-03-04T17:21:01.813" UserId="1946" />
  <row Id="10728" PostId="7757" Text="Weird, are you using the same ftp client/parameters when uploading?" CreationDate="2011-03-04T17:29:45.977" UserId="1447" />
  <row Id="10729" PostId="8582" Score="1" Text="I meant if the attacker can control my path he can make me run anything instead of the real /usr/bin/sudo. For example /tmp/sudo which prints `Password: ` displays nothing when I type, sends what I typed to him, says the password is wrong, then execs the real sudo." CreationDate="2011-03-04T17:47:06.057" UserId="4477" />
  <row Id="10730" PostId="8582" Text="Hmm, I guess in that case you could just run /usr/bin/sudo directly instead of relying on the shell to find it for you. But you're right, it's a problem I didn't think of." CreationDate="2011-03-04T17:52:02.160" UserId="4648" />
  <row Id="10731" PostId="8582" Text="@CedricStaub: As far as I can tell noone seems to think of this. I can give the full path but try this: `alias /usr/bin/sudo=&quot;echo pwned&quot;` Besides that there are a ton of programs involved (X, xterm, the shell) any of which can steal the password. That's why I said there are far too many problems with switching safely." CreationDate="2011-03-04T17:59:10.290" UserId="4477" />
  <row Id="10732" PostId="8496" Score="1" Text="that reminds me of https://gist.github.com/782263 ... oh, that gist seems to answer my question, too" CreationDate="2011-03-04T18:01:33.527" UserId="5239" />
  <row Id="10733" PostId="8575" Score="1" Text="Uh? The pipes created by screen ARE only accessible by the owner (if you don't manually chmod them)." CreationDate="2011-03-04T18:05:07.197" UserId="2671" />
  <row Id="10734" PostId="8475" Text="I took the liberty of adding information about redirecting the output, please review it!" CreationDate="2011-03-04T18:05:54.383" UserId="5239" />
  <row Id="10735" PostId="8576" Text="-1 If I have an exploit that can change file permissions I don't need to hack some running screen. I can do whatever I want with the system." CreationDate="2011-03-04T18:08:03.327" UserId="2671" />
  <row Id="10736" PostId="8581" Text="In your ssh solution, do you mean that you want to ssh into the potentially comprimsed box from another box? 1/ If yes, then, to follow your train of thought, you must make sure that your other box is not compromised before you ssh from it. 2/ If no, then you have the same problem." CreationDate="2011-03-04T18:20:55.683" UserId="3519" />
  <row Id="10737" PostId="8586" Text="Sure thing but root-to-root or unprivileged-to-unpriviliged then switch to root? (I'm actually using 4096 bit keys just to be on the safe side. Larger keys are not supported everywhere.)" CreationDate="2011-03-04T18:23:43.500" UserId="4477" />
  <row Id="10738" PostId="8576" Text="@Let_Me_Be — it depends on _which_ file permissions your exploit lets you change. Maybe you can only do a few specific things under certain hierarchies. That's not so far-fetched." CreationDate="2011-03-04T18:24:40.447" UserId="2511" />
  <row Id="10739" PostId="8581" Text="@asoundmove: There are 4 users with my ssh situation: root@hosta, root@hostb, stribika@hosta, stribika@hostb. Assuming an attacker can run arbitrary code as both stribikas (after all they are running flashplugin and whatnot) I still want safe root access. So both boxes can be partially compromised." CreationDate="2011-03-04T18:36:10.770" UserId="4477" />
  <row Id="10740" PostId="8587" Score="1" Text="Have to be careful with `date` inside a cronfile: some crons (all?) treat `%` as the end of the command. (so the `$()` was not the problem). You have to escape all percent signs: `... touch &quot;/tmp/$(date +\%Y-\%m-\%d)&quot;` (nicer to use a date format that sorts lexicographically)" CreationDate="2011-03-04T18:36:32.127" UserId="4667" />
  <row Id="10741" PostId="8585" Text="Again, be careful to escape all `%` chars inside cron." CreationDate="2011-03-04T18:37:43.997" UserId="4667" />
  <row Id="10742" PostId="8586" Text="@stribika Well, both. If the machine is compromised you still don't loose your key. That prevents spreading (biggest problem with passwords)." CreationDate="2011-03-04T18:40:00.503" UserId="2671" />
  <row Id="10743" PostId="8562" Text="This isn't clear enough for me to understand." CreationDate="2011-03-04T18:55:24.903" UserId="688" />
  <row Id="10744" PostId="8585" Text="@glenn: Oops, sure. As to the lexicographic order, I just matched the OP's date format. I personally like the ISO format, like you." CreationDate="2011-03-04T18:55:47.650" UserId="3519" />
  <row Id="10745" PostId="8587" Text="glenn jackman is correct: escaping the '%' characters in the crontab entry above works. A RHEL 5.0 crontab entry looks like this:50 11 * * * touch &quot;/tmp/backup.$(date +\%Y-\%m-\%d).sql&quot;&#xA;" CreationDate="2011-03-04T19:11:15.407" UserId="732" />
  <row Id="10747" PostId="8583" Text="According to Wikipedia, [DECWindows is DEC's brand name for CDE](http://en.wikipedia.org/wiki/Wikipedia..cussion/Log/2010_February_17#DECwindows), and [CDE](http://en.wikipedia.org/wiki/Common_Desktop_Environment) has X inside." CreationDate="2011-03-04T19:39:51.313" UserId="885" />
  <row Id="10748" PostId="8588" Text="I will accept this as the answer since it clears up a lot about what the Ubuntu developers were thinking when making sudo the default method.&#xA;Remote logging also seems like a great idea and given that I'm using syslog-ng already it shouldn't be too hard to set up so all my computers log to all the others.&#xA;I'm going to stick with my current practice of switching to text-mode and logging in from there for full root access.&#xA;Delegating a subset of rights is certainly a good way to use sudo and one I have never considered." CreationDate="2011-03-04T19:42:00.990" UserId="4477" />
  <row Id="10749" PostId="8561" Text="Doesn't seem to work for me." CreationDate="2011-03-04T20:16:16.443" UserId="1304" />
  <row Id="10750" PostId="8193" Score="1" Text="That's not really true, &quot;rpm -e&quot; will remove the configuration files _if_ they haven't changed. If they have been changed they are moved to &lt;filename&gt;.rpmsave and not deleted." CreationDate="2011-03-04T20:18:07.567" UserId="1910" />
  <row Id="10751" PostId="2644" Text="@xenoterracide: Needs differ; it's not always considered essential to have all shells available early in the boot..." CreationDate="2011-03-04T20:34:15.277" UserId="1820" />
  <row Id="10753" PostId="8458" Text="ah there is nothing about php in that directory, I tried `apt-get install apache2 php5 libapache2-mod-php5` but don't see any changes" CreationDate="2011-03-04T21:00:44.883" UserId="5247" />
  <row Id="10754" PostId="8576" Text="Screen itself has a large attack surface. [I don't have a full attack to show](http://unix.stackexchange.com/questions/8574/is-it-secure-to-leave-a-root-shell-running-in-detached-screen-session/8603#8603), but there are clear weaknesses." CreationDate="2011-03-04T21:16:25.737" UserId="885" />
  <row Id="10755" PostId="8458" Text="Well, actually since the main problem is fixed, I'll open a new question. My greatest thanks to you Shadur, you have helped me tremendously! " CreationDate="2011-03-04T21:27:51.853" UserId="5247" />
  <row Id="10756" PostId="8563" Text="@kamaal: As the data format gets more sophisticated, descriptions of the operations to perform get longer. For example, `perl -0777 -MJSON -e '$t=from_json(&lt;STDIN&gt;); do_something_with($t)'` lets you process JSON with a minimum of fuss. You still have to tell the computer what to do with the data somehow." CreationDate="2011-03-04T21:33:42.413" UserId="885" />
  <row Id="10757" PostId="8555" Text="@thesteve: If `/sbin` is not in your `PATH`, it's because you're doing something wrong. The commands should be run as root, and any reasonable method to become root will add `/sbin` to the `PATH`." CreationDate="2011-03-04T21:37:04.313" UserId="885" />
  <row Id="10758" PostId="7379" Score="2" Text="@Josep: Welcome to Stack Overflow. Please don't just post a link, also describe what's behind that link (here: summarize what the script does). In this case, you'll notice that the script copies files from `/tmp`, and the asker's problem is that this technique no longer works with recent versions of Chrome." CreationDate="2011-03-04T21:41:23.530" UserId="885" />
  <row Id="10759" PostId="8603" Text="+1 Excellent answer.  Thanks for taking the time to explain it all." CreationDate="2011-03-04T21:46:15.337" UserId="4248" />
  <row Id="10760" PostId="7381" Text="@Dayjay, your script and command plays the video in mplayer, but what if you want to copy it and save it? I tried copying the hardlink but it doesn't work and the target says /tmp/FlashXXXXX (deleted)." CreationDate="2011-03-04T06:05:10.097" UserId="5299" />
  <row Id="10761" PostId="8582" Score="1" Text="Did you tried it? I did: ``bash: alias: `/usr/bin/sudo': invalid alias name``" CreationDate="2011-03-04T22:22:26.983" UserId="5116" />
  <row Id="10762" PostId="1326" Text="Grsecurity does this for single users except root." CreationDate="2011-03-04T22:29:22.813" UserId="4477" />
  <row Id="10763" PostId="8583" Text="As Gilles said, DECWindows is X11, so you should be able to use any X client eg xterm. How are you trying to access it with X? I assume you've specified which display to use? Have you authorised access (eg using xhost?)" CreationDate="2011-03-04T22:20:31.433" UserId="4958" />
  <row Id="10764" PostId="8606" Text=":( `sudo: service: command not found`" CreationDate="2011-03-04T22:43:35.313" UserId="5247" />
  <row Id="10765" PostId="8606" Text="lol - ok they are different in some respects - I'll modify my answer!" CreationDate="2011-03-04T22:44:57.760" UserId="4049" />
  <row Id="10766" PostId="8606" Text="Looking at the site you provided, I typed this: `vps:~# sudo a2enmod php4&#xA;ERROR: Module php4 does not exist!&#xA;`" CreationDate="2011-03-04T22:45:23.690" UserId="5247" />
  <row Id="10767" PostId="8606" Text="@Kevin - php4 definitely won't exist, you installed php5." CreationDate="2011-03-04T22:49:48.193" UserId="4049" />
  <row Id="10768" PostId="8606" Text="I get the same error for php5 :/" CreationDate="2011-03-04T22:51:15.227" UserId="5247" />
  <row Id="10769" PostId="8606" Text="And regarding your edited post, it says directory not found, perhaps I don't even have apache installed?" CreationDate="2011-03-04T22:52:14.040" UserId="5247" />
  <row Id="10770" PostId="8606" Text="Ah, reinstalling just said they are at their newest version. Not sure why I don't have /etc/apache or /ect/init.d/apache2" CreationDate="2011-03-04T22:54:29.733" UserId="5247" />
  <row Id="10771" PostId="8606" Text="@Kevin - a2enmod, a2dismod - enable or disable an apache2 module, you have it installed, but not enabled - What I'd try is removing php5 (apt-get remove php5 libapache2-mod-php5) then reinstall with apt-get install." CreationDate="2011-03-04T22:57:56.097" UserId="4049" />
  <row Id="10772" PostId="8606" Text="@Kevin - I hope that's not a spelling error? /ect/init.d/apache2 ???" CreationDate="2011-03-04T22:58:55.237" UserId="4049" />
  <row Id="10773" PostId="8606" Text="I can't remove php5.... here's the console output: http://pastebin.com/H8ZMMQq6" CreationDate="2011-03-04T22:59:59.713" UserId="5247" />
  <row Id="10774" PostId="8607" Text="Are you using `bash` or `zsh`?  There are actually some ways of making this happen automatically, but they're quite involved and depend on which shell you are using." CreationDate="2011-03-04T23:06:44.633" UserId="3169" />
  <row Id="10775" PostId="8606" Text="@Kevin - ok somehow your module for php5 dissappeared, I suggest you [fix that error](http://www.howtoforge.com/forums/showthread.php?t=30577) " CreationDate="2011-03-04T23:08:26.257" UserId="4049" />
  <row Id="10776" PostId="8606" Text="@Kevin - if you have errors, most of the time a Google on them will help you solve them - ;-)" CreationDate="2011-03-04T23:10:51.653" UserId="4049" />
  <row Id="10777" PostId="8609" Text="`notify-more` or `notify-send` could indeed be useful alternatives to playing a sound." CreationDate="2011-03-04T23:19:38.120" UserId="3169" />
  <row Id="10778" PostId="8608" Text="Yep, `play`, `aplay`, or `paplay`.  (My Ubuntu system has `aplay` and `paplay` by default.)" CreationDate="2011-03-04T23:20:05.000" UserId="3169" />
  <row Id="10779" PostId="8610" Text="+1 `paplay` is probably the best command to use to play a sound on a &quot;modern&quot; Linux system." CreationDate="2011-03-04T23:21:02.533" UserId="3169" />
  <row Id="10780" PostId="8609" Text="@Mikel I'm completely addicted to libnotify; everything on my system pops up notifications" CreationDate="2011-03-04T23:31:10.253" UserId="73" />
  <row Id="10781" PostId="8613" Text="also if you need bash to load your environment, you can use `bash --login`" CreationDate="2011-03-04T23:54:03.650" />
  <row Id="10782" PostId="8614" Text="Select your code and press CTRL+K to turn on code highlighting or optionally surround them in backticks `` if you want to highlight inline `like` so" CreationDate="2011-03-04T23:52:32.917" UserId="1338" />
  <row Id="10783" PostId="8614" Text="@SiegeX: Thank you for your helpful tip!" CreationDate="2011-03-04T23:53:28.470" />
  <row Id="10785" PostId="8617" Text="@geekosaur - thanks!" CreationDate="2011-03-05T01:04:20.170" UserId="5332" />
  <row Id="10786" PostId="8588" Score="2" Text="`sudo` is very similar to User Account Control in Windows Vista. Both are actually designed not to *increase* security, but actually to make it easier to *decrease* it in a controlled way. But *because* they make it easier to temporarily elevate your privileges in a low-friction manner, you don't need to run with elevated privileges for extended periods of time, thus increasing security. (This wasn't that big of a problem in Unix, but in Windows I remember running as Administrator for days on end, just because switching was *so* painful.)" CreationDate="2011-03-05T01:10:34.813" UserId="1466" />
  <row Id="10787" PostId="8561" Text="can you paste few  *.c lines of code " CreationDate="2011-03-05T02:54:47.360" UserId="5298" />
  <row Id="10788" PostId="8561" Text="They are empty files.  " CreationDate="2011-03-05T03:06:44.537" UserId="1304" />
  <row Id="10789" PostId="8593" Text="Are we allowed to consider that bastard c-shell syntax from Berkeley &quot;deprecated&quot; yet?" CreationDate="2011-03-05T04:39:31.680" UserId="1294" />
  <row Id="10790" PostId="8624" Score="4" Text="Since the OP specifies a large file, if the desired lines are not near the end of the file, then it may also be useful to include a `q` command so that *sed* can skip the rest of the file. Something like `3,$p;10q` would work and keep you from having to repeat the ending line number." CreationDate="2011-03-05T04:41:05.623" UserId="1107" />
  <row Id="10791" PostId="8589" Score="2" Text="An important aspect of the question is missing: why is myapp ending in the first place? I ask because often people will think to restart a process that failed because of an error; if so, you can get in a relaunch, fail, repeat loop which waste resources and hides the error." CreationDate="2011-03-05T04:57:51.140" UserId="1294" />
  <row Id="10792" PostId="8623" Score="2" Text="Many shells support reading less than a line, it is just not standard. *ksh* can read (e.g.) five bytes with `read -N5`, *bash* can read five (possibly multibyte) characters with `read -rN5`, *zsh* can read 5 (possibly multibyte) characters with `read -u0 -k5`. Both *bash* and *zsh* can read bytes instead of characters by using the C locale (or probably any 8-bit character ctype)." CreationDate="2011-03-05T05:02:00.263" UserId="1107" />
  <row Id="10793" PostId="8562" Text="@Tshepang: I have a clue as to what the possible meaning is for all of the Service Type values except &quot;Custom Location&quot; so, I am looking for an example." CreationDate="2011-03-05T05:09:53.060" UserId="3999" />
  <row Id="10794" PostId="8623" Score="1" Text="@Chris Consider writing up an answer!" CreationDate="2011-03-05T05:13:18.007" UserId="1207" />
  <row Id="10796" PostId="8626" Text="That &quot;munching&quot; is why I said &quot;remember to quote it&quot;; if you say `echo $foo`, `$foo` will get all whitespace (all characters in `$IFS`, to be pedantic) compacted to single spaces, whereas `echo &quot;$foo&quot;` will preserve them.  But you have to use it *consistently* to make sure the whitespace is always quoted." CreationDate="2011-03-05T05:15:54.397" UserId="5325" />
  <row Id="10797" PostId="8619" Text="Also consider one of the answers here: http://unix.stackexchange.com/questions/2072/whats-the-best-way-to-take-a-segment-out-of-a-text-file" CreationDate="2011-03-05T05:17:52.963" UserId="1207" />
  <row Id="10798" PostId="8623" Text="Apparently `read -N` is new in bash 4.2, so it may not be everywhere. Also, *bash* `LC_CTYPE=C IFS= read -rN 1` seems to eat certain bytes (0x00, 0xff). *ksh* seems to eat 0x00 (probably due to using NUL terminated strings internally). *zsh* seems to work correctly though." CreationDate="2011-03-05T05:30:05.183" UserId="1107" />
  <row Id="10799" PostId="8626" Score="1" Text="@geekosaur, it is not a quoting problem, it is due to the fact that *bash* seems to ignore IFS members in `read -n` (and `read -N` in 4.2). The workaround is to use `IFS= read -rn 1` (even then, *bash* still eats 0x00 and 0xff)." CreationDate="2011-03-05T05:37:46.657" UserId="1107" />
  <row Id="10800" PostId="8626" Text="This would be why I don't use `bash`; it always seems to have stupid bugs like that.  (My &quot;favorite&quot; `bash` bug was in some 2.x version where backslashes in case patterns didn't stop `*` from being a glob match.)" CreationDate="2011-03-05T05:40:50.940" UserId="5325" />
  <row Id="10803" PostId="8593" Text="no: http://www.tcsh.org/Welcome" CreationDate="2011-03-05T06:19:39.947" UserId="838" />
  <row Id="10804" PostId="8631" Text="Thanks for the quick response! but the first command is unsuccessful...&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;petros$ sudo launchctl unload -w com.jft.PdaNetMac&#xA;launchctl: Couldn't stat(&quot;com.jft.PdaNetMac&quot;): No such file or directory&#xA;nothing found to unload&#xA;&lt;/code&gt;&lt;/pre&gt;" CreationDate="2011-03-05T06:59:46.287" UserId="5341" />
  <row Id="10805" PostId="8631" Text="Also... what does you mean by evil? Is it doing something bad?" CreationDate="2011-03-05T07:01:18.110" UserId="5341" />
  <row Id="10806" PostId="8631" Text="Sorry, I switched gears somewhere in there; you have to use the same path that is then `rm`ed.  And the &quot;evil&quot; is that third party applications are not supposed to touch anything under `/System/Library` directly, because it belongs specifically to the OSX installation and a system update may modify or remove anything put there by someone else without warning." CreationDate="2011-03-05T07:08:15.327" UserId="5325" />
  <row Id="10807" PostId="8628" Text="Downvoted for suggesting /bin/sh as a shell for a ftp-only user. Use `/bin/false` or something similar to make sure the FTP user can't get shell access, or better yet, set up scponly in a chroot (see [http://sublimation.org/scponly/wiki/index.php/Install] for instructions)" CreationDate="2011-03-05T07:19:36.473" UserId="4949" />
  <row Id="10808" PostId="8628" Text="Note that he wants both a sending user and a server user.  The former may well be a shell account." CreationDate="2011-03-05T07:21:27.077" UserId="5325" />
  <row Id="10809" PostId="8598" Text="Yes, you could use VMware Fusion to run it as a VM on your Mac. It's also possible to dual-boot it, but that's more effort." CreationDate="2011-03-05T08:29:54.337" UserId="3082" />
  <row Id="10810" PostId="8634" Text="sir i am absolute beginner to this,do i require internet for these commmands,last time i wer trying $sudo install make ...it wer trying to connect to internet?" CreationDate="2011-03-05T08:49:52.253" UserId="5345" />
  <row Id="10811" PostId="8634" Score="1" Text="Well, yes - zypper is a package manager. When ordered to install software, it checks its list of available package archives for the package name you asked for, then downloads and installs the latest version of the package available in the repositories it knows about. " CreationDate="2011-03-05T08:51:34.053" UserId="4949" />
  <row Id="10812" PostId="8634" Score="3" Text="@sujith Put more bluntly, it's generally better to not try to install/compile software from source until you've learned your way around linux a bit more so that if/when you break something, you have a chance of knowing what you broke, why it broke and hopefully how to fix it." CreationDate="2011-03-05T08:52:53.540" UserId="4949" />
  <row Id="10813" PostId="8628" Text="Good point, but I'm kind of worried about the fact that he's trying to add a server user to a distro that's apparently specifically built /not/ to have them..." CreationDate="2011-03-05T08:54:36.033" UserId="4949" />
  <row Id="10814" PostId="8606" Text="@kevin @palhmbus Given the ungodly mess that occurred back [http://unix.stackexchange.com/questions/8455/fixing-debian-installer] I'm starting to suspect that there is something seriously screwed up about that VPS installation that's throwing out crazy error after crazy error..." CreationDate="2011-03-05T09:00:00.290" UserId="4949" />
  <row Id="10815" PostId="8606" Text="@kevin One possible solution is forcing reinstalls -- `apt-get --reinstall install apache2 php5 libapache2-mod-php5` and hope that that at least gets us a bit closer." CreationDate="2011-03-05T09:01:22.583" UserId="4949" />
  <row Id="10816" PostId="8635" Score="2" Text="Please don't [cross-post](http://serverfault.com/questions/243571/iptables-rule-for-separating-users) and [here](http://superuser.com/questions/253512/iptables-rule-for-separating-users)." CreationDate="2011-03-05T09:14:23.247" UserId="382" />
  <row Id="10817" PostId="8634" Text="@shadur ok i agree..but this is important for me.... i dont have connectivity with the linux pc and i need to install this mplayer somehow....is there any other way to install that doesnt require internet connectivity  or can i download the make tool from this pc and use it in linux pc" CreationDate="2011-03-05T09:17:51.260" UserId="5345" />
  <row Id="10818" PostId="8582" Text="@maaartinus: Interesting. It works in ZSH." CreationDate="2011-03-05T09:22:28.963" UserId="4477" />
  <row Id="10819" PostId="8634" Text="@sujith In that case you'd be better served manually downloading the package for your distro instead and installing it that way." CreationDate="2011-03-05T09:36:35.063" UserId="4949" />
  <row Id="10820" PostId="8637" Text="i want to separate the users form each other" CreationDate="2011-03-05T10:00:35.373" UserId="4724" />
  <row Id="10821" PostId="8637" Text="@user4724: So wireless user A shouldn't talk to wireless user B? That connection will not go through the router. WPA can do &quot;wireless client separation&quot;. I have no idea how to do that on wired networks." CreationDate="2011-03-05T10:05:13.773" UserId="4477" />
  <row Id="10822" PostId="8637" Text="@user4724: You could do it in the client firewalls. Drop everything from 10.0.0.0/8 except from the router in the input and output chains. If that's acceptable I will add it to my answer." CreationDate="2011-03-05T10:16:27.307" UserId="4477" />
  <row Id="10823" PostId="8638" Text="Title can be read as : How to test &quot;File system correction done by fsck&quot;. " CreationDate="2011-03-05T10:16:51.830" UserId="4858" />
  <row Id="10824" PostId="8628" Text="It's not a distribution *per se*; he's doing this on a router running the OpenWRT firmware, which is something of an advanced usage but well within the kinds of things people do with OpenWRT." CreationDate="2011-03-05T10:31:03.673" UserId="5325" />
  <row Id="10825" PostId="8637" Text="thank you! but the main problem is: &quot;it can sniff the unencrypted traffic&quot; - so if a client comes that's e.g.: a mobile device, that will don't have a firewall :\" CreationDate="2011-03-05T10:35:10.683" UserId="4724" />
  <row Id="10826" PostId="8637" Text="&quot;So wireless user A shouldn't talk to wireless user B? That connection will not go through the router.&quot; - Really? it cannot be done with the firewall on the OpenWrt router?? :((" CreationDate="2011-03-05T10:35:49.653" UserId="4724" />
  <row Id="10828" PostId="8606" Text="@palhmbus The link you provided didn't help either: http://pastebin.com/kDeKyAHV  @Shadur :( I don't know why my vps installation is so screwed up, when my vps crashed my providers said they had to reinstall the operating system " CreationDate="2011-03-05T11:40:11.430" UserId="5247" />
  <row Id="10829" PostId="8606" Text="@Shadur It appeared to have successfully installed http://pastebin.com/KurVTqGJ" CreationDate="2011-03-05T11:42:10.993" UserId="5247" />
  <row Id="10830" PostId="8641" Text="is there somewhere where I can reference this information. it makes sense but i am not allowed to reference a place such as stackexchange thank you very much :D" CreationDate="2011-03-05T11:47:53.650" UserId="5356" />
  <row Id="10831" PostId="8582" Text="It's a &quot;feature&quot; of zsh that it allows `/` in aliases if I remember correctly." CreationDate="2011-03-05T11:59:45.960" UserId="4648" />
  <row Id="10832" PostId="8641" Text="Not offhand; it's a programming best practice, I would expect it to be covered in any book which discusses developing applications." CreationDate="2011-03-05T12:04:31.197" UserId="5325" />
  <row Id="10833" PostId="8636" Text="Upvoted, excellent explanation of package management in general and how zypper works in particular. I'm more of a Debian guy myself, so I don't have any experience with it." CreationDate="2011-03-05T12:20:28.113" UserId="4949" />
  <row Id="10834" PostId="8642" Score="1" Text="I don't understand your question: it seems to me that the iptables rule you give does what you want. Your tcpdump shows that a client is pinging another client, and that's obviously not something you can prevent on the router; but you seem to have successfully prevented the other client from seeing this ping, what else did you expect? It's also confusing that you sometimes distinguish between “server” and “router”, yet they seem to be the same machine and it's only acting as a router." CreationDate="2011-03-05T12:27:25.127" UserId="885" />
  <row Id="10835" PostId="8641" Score="1" Text="@Mintuz: Depending on the circumstances, when you save editor might either create a new file and rename it into place, or write to the original file. There are up- and downsides to both methods. I know this has been discussed before, either on this site or on [Stack Overflow](http://stackoverflow.com/) or [Super User](http://superuser.com/), though I can't find the thread right now." CreationDate="2011-03-05T12:39:48.297" UserId="885" />
  <row Id="10836" PostId="8606" Text="Also, it looks like apache is already running on port 80 but has not been started by the usual script. Try `/etc/init.d/apache2 stop` to see if it does stop correctly." CreationDate="2011-03-05T12:53:25.230" UserId="4949" />
  <row Id="10837" PostId="8638" Text="@user4858: I've tried to make your question more readable. I don't understand the expression “in common”. Note that if you want to fix a mistake in your question, you can edit it (just click the “edit” button) — don't leave a comment with a correction to your own post." CreationDate="2011-03-05T13:00:51.743" UserId="885" />
  <row Id="10839" PostId="8633" Score="1" Text="@sujith: What does “typo doesnt exist” mean? Always copy-paste complete error messages." CreationDate="2011-03-05T13:09:03.327" UserId="885" />
  <row Id="10840" PostId="8637" Text="@user4724: At least not with iptables. You might be able to disable client-to-client communication in hostapd.conf. I don't have too much experience with hostapd.&#xA;&#xA;Or some dirty trick like putting every client in their own /2 subnet with DHCP to force them to connect through the router." CreationDate="2011-03-05T13:24:58.137" UserId="4477" />
  <row Id="10841" PostId="8598" Text="An issue you might run into with a VM is memory. You would want to dedicate ~512 MB to the VM. With 2 GB of RAM that is a large chunk. On the other hand I don't run OSX so you may just be fine." CreationDate="2011-03-05T13:34:25.680" UserId="3635" />
  <row Id="10842" PostId="8545" Text="I added: &lt;Directory /var/lib/dokuwiki/data/media&gt;&#xA;Options FollowSymLinks&#xA;&lt;/Directory&gt; to my /etc/apache2/httpd.conf, and restarted apache, however it does not work.&#xA;" CreationDate="2011-03-05T13:38:12.240" UserId="5289" />
  <row Id="10843" PostId="8645" Score="2" Text="`/tmp` should be on an in-RAM filesystem (tmpfs), as should be the parts in `/var` that don't need to be persistent." CreationDate="2011-03-05T14:28:11.917" UserId="885" />
  <row Id="10844" PostId="8644" Text="Many routers (including my wrt router) mount the root filesystem read-only. For a read-write filesystem, you should use one of the filesystems specially designed for flash: [JFFS](http://en.wikipedia.org/wiki/JFFS), [JFFS2](http://en.wikipedia.org/wiki/JFFS2), [YAFFS](http://en.wikipedia.org/wiki/YAFFS), etc." CreationDate="2011-03-05T14:31:30.150" UserId="885" />
  <row Id="10845" PostId="8645" Text="Only issue with that is many embedded devices with internal flash also have low amounts of RAM.  On my Guruplug with 512MB of RAM, I've opted to put /tmp on a USB flash drive, for example.  Flashable routers are even worse with 16MB/32MB of RAM.  But if your /tmp space requirements are low, do it!" CreationDate="2011-03-05T14:31:56.137" UserId="3389" />
  <row Id="10846" PostId="8545" Text="Entries in Directory are relative to the document root of Apache, not the root of your filesystem. You should create a symlink in your Apache document root: `ln -s /var/lib/dokuwiki/data/media /var/www/wiki/media`, then go with `&lt;Directory /wiki&gt;Options FollowSymLinks&lt;/Directory&gt;`" CreationDate="2011-03-05T14:34:16.340" UserId="250" />
  <row Id="10847" PostId="8648" Text="`bash` will only source `~/.bashrc` unless you use `sudo -i`." CreationDate="2011-03-05T15:03:14.490" UserId="5325" />
  <row Id="10848" PostId="8650" Text="Nice to hear, but I'm asking for the opposite, a shell for which doesn't handle it sanely. " CreationDate="2011-03-05T15:49:07.180" UserId="4485" />
  <row Id="10849" PostId="8650" Text="You're assuming that someone would go in and rip out the info page's reference to extra quoting just because Linux systems all have newer `csh`.  Not everyone runs GNU utilities on Linux; in fact it's quite common to install them on older commercial Unix systems whose bundled commands are limited.  (Replacing `csh` on those systems is less likely, because system scripts may rely on the idiosyncrasies of the original `csh`, and even if users were all configured to use a newer `csh`, `root` would almost certainly need to remain the bundled version.)" CreationDate="2011-03-05T15:55:51.373" UserId="5325" />
  <row Id="10850" PostId="8651" Text="Interesting. This was on Fedora 12, for what it's worth..." CreationDate="2011-03-05T16:22:53.017" UserId="3635" />
  <row Id="10851" PostId="8652" Text="Ah, I see that in my file. So, not that I want to, but if I added `/usr/local/bin` to this directive then I *would* see it in my path when running via `sudo`, right?" CreationDate="2011-03-05T16:25:23.313" UserId="3635" />
  <row Id="10852" PostId="8652" Text="I just tried it and now I see `/usr/local/bin`. Thank you so much for explaining this!" CreationDate="2011-03-05T16:27:00.597" UserId="3635" />
  <row Id="10853" PostId="8648" Text="Any shell invoked through `sudo` or `su` is a new shell. What `su -` does is to invoke a *login* shell, so that environment variables are reset and `~/.profile` or `~/.bash_profile` is read. But the situation is more complicated than this, because `sudo` also modifies the `PATH`." CreationDate="2011-03-05T16:27:28.980" UserId="885" />
  <row Id="10854" PostId="8590" Score="1" Text="That'll work, but you do run the risk msw pointed out above -- if myapp.py exited because of an error, it'll start up again, crash again, start again, etc in an infinite loop... Potentially locking up your system by hogging CPU time, if the crash happens quickly enough." CreationDate="2011-03-05T16:28:43.520" UserId="4949" />
  <row Id="10855" PostId="8649" Text="+1 - Cool, I was wondering why it was not in the path, and that makes sense. For what it's worth, I was building node.js from scratch to play around with it, so it makes sense why it would have been put there, and why `sudo` would exclude this directory by default." CreationDate="2011-03-05T16:29:55.150" UserId="3635" />
  <row Id="10856" PostId="8590" Text="@Shadur: I supposed that the program exits normally since OP says that his application *&quot;finishes&quot;*. Off course, in all other cases you are right." CreationDate="2011-03-05T16:32:37.010" UserId="2783" />
  <row Id="10858" PostId="8121" Text="@thesis. I just noticed you said &quot;cut&quot; (which typically means remove)... Do you really mean &quot;cut&quot;, or do you mean &quot;copy&quot;? .... If you did mean &quot;cut&quot;, then `sed` will do it easily." CreationDate="2011-03-05T17:20:53.370" UserId="2343" />
  <row Id="10859" PostId="8645" Text="OpenWRT puts `/tmp` on a `tmpfs` file system.  Frequently changed parts of `var` which do not need to persist are symlinked into `/tmp`.  There is no default `swap` device.  The filesystem on flash only gets updated when the configuration is changed or files are modified in `/root`.  I mount an old USB flash drive for `swap` and `/home`.  I should redirect `/root` to `/home/root`." CreationDate="2011-03-05T18:29:27.443" UserId="4520" />
  <row Id="10860" PostId="8659" Text="What does `dvd+rw-mediainfo` say about the discs? (Under Debian, that utility is in the `dvd+rw-tools` package.)" CreationDate="2011-03-05T19:04:06.043" UserId="885" />
  <row Id="10861" PostId="8650" Text="No. I'm in a debate with a guy who says, that in our wiki we should give the advice to use &quot;{}&quot; all the time, because the man page says so. And now I would like to know if there is a shell I'm not using, like ksh, zsh, tcsh, csh or XYZsh which I don't know, for which this claim is true, or whether I honestly can assume, that there isn't. If there are shells for different Unixes which need the &quot;{}&quot;, that would be a fine explanation why the sentence is still in the man page, but not appropriate as advice for linux beginners. " CreationDate="2011-03-05T19:14:37.763" UserId="4485" />
  <row Id="10862" PostId="8659" Text="Updated...I noticed that the reported transfer speed is slightly different...1385 vs 1382...not sure if thats an issue." CreationDate="2011-03-05T19:15:24.753" UserId="4856" />
  <row Id="10863" PostId="8606" Text="It looks like it stopped correctly `Stopping web server: apache2.`" CreationDate="2011-03-05T19:23:48.083" UserId="5247" />
  <row Id="10864" PostId="8650" Text="Now I'm wondering if `pdksh` does the right thing... although the correct answer to *that* is probably &quot;real `ksh` is FOSS these days&quot;." CreationDate="2011-03-05T19:26:27.410" UserId="5325" />
  <row Id="10865" PostId="8654" Text="    2@mress:3 B$ ls -d {te,pl}*&#xA;    platform-tools/ platforms/      temp/&#xA;    2@mress:4 B$ echo $BASH_VERSION&#xA;    3.2.48(1)-release&#xA;(hm, markup doesnt work in comments)" CreationDate="2011-03-05T19:28:17.503" UserId="5325" />
  <row Id="10866" PostId="8545" Text="I tried your suggestion, however it didn't work. Note that there is already a file /etc/apache2/conf.d/dokuwiki.conf with contains: `Alias /dokuwiki /usr/share/dokuwiki/&#xA;&#xA;&lt;Directory /usr/share/dokuwiki/&gt;&#xA;	Options +FollowSymLinks&#xA;	AllowOverride All&#xA;	order allow,deny&#xA;	allow from localhost 127.0.0.1 192.168.1.34&#xA;&lt;/Directory&gt;` Futhermore /var/www/dokuwiki is a symbolic link to /usr/share/dokuwiki. Finally there is a link /usr/share/dokuwiki/data which points to /var/lib/dokuwiki/data." CreationDate="2011-03-05T19:48:08.773" UserId="5289" />
  <row Id="10867" PostId="8654" Text="@geekosaur: [Only a small subset of markdown works in comments](http://meta.stackoverflow.com/questions/19756/how-do-comments-work/19757#19757). I don't know what you're trying to say. If this is about ksh et al's brace expansion, read my paragraph beginning with “Ksh implements brace expansion as an incompatible extension”." CreationDate="2011-03-05T19:52:00.167" UserId="885" />
  <row Id="10868" PostId="8606" Text="@Kevin - on a completely unrelated note, why use PHP for a file server, doesn't ftp suit your purposes?" CreationDate="2011-03-05T20:15:37.523" UserId="4049" />
  <row Id="10869" PostId="8654" Score="2" Text="That was `bash` (see `$BASH_VERSION`).  Brace expansion is very much alive and well." CreationDate="2011-03-05T20:18:10.643" UserId="5325" />
  <row Id="10870" PostId="8658" Score="5" Text="http://www.pathname.com/fhs/ for further reference." CreationDate="2011-03-05T20:27:16.517" UserId="5377" />
  <row Id="10871" PostId="8606" Text="@palhmbus I have a really nice php file brower that allows multiple people to login and change things, ftp is less user friendly and presents a problem when other people go looking into stuff that's not theirs. I already tried jailing people in their directory but it just wouldn't work and I ended up screwing even more stuff. Anyhow I think the php filebrower is a win-win, I didn't know how much of a pain getting this to work would be. Anyhow what would my next step be?" CreationDate="2011-03-05T20:36:39.613" UserId="5247" />
  <row Id="10872" PostId="8607" Text="$ echo $SHELL returns &quot;/bin/bash&quot;" CreationDate="2011-03-05T20:39:21.797" UserId="4784" />
  <row Id="10873" PostId="8625" Text="I got several errors during the process, here's my full output: http://pastebin.com/2hmbC1Su" CreationDate="2011-03-05T20:41:20.450" UserId="5247" />
  <row Id="10874" PostId="8650" Score="2" Text="@geekosaur: Pdksh, like mksh, ksh93, bash and zsh, only expands braces when there's a comma in between (or `..` for ksh93, bash and zsh). Only (t)csh expands `{foo}` to `foo`, and even it leaves `{}` alone (at least on recent BSD's)." CreationDate="2011-03-05T20:42:44.727" UserId="885" />
  <row Id="10875" PostId="8610" Text="printf '\7' doesn't work for me, but this command worked as I wanted it `time python MyScript.py -n 40 &amp;&amp; paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg || paplay /usr/share/sounds/ubuntu/stereo/phone-outgoing-busy.ogg`" CreationDate="2011-03-05T20:43:38.173" UserId="4784" />
  <row Id="10876" PostId="8654" Text="@geekosaur: Yes, but what does this have to do with `{}`? Brace expansion (in Bourne-style shells) only triggers when there is a comma or sometimes `..` between the braces, never for `{}`. Also, it is not condoned by POSIX, not even mentioned as an extension, but obviously you need to protect braces in the general case (not `{}`) since most shells out there perform it." CreationDate="2011-03-05T20:44:03.867" UserId="885" />
  <row Id="10877" PostId="8662" Score="1" Text="Do you mean that you want to restore the Fedora installed bootloader? Or just add new entries for Fedora and Windows?" CreationDate="2011-03-05T20:45:26.190" UserId="4856" />
  <row Id="10878" PostId="8608" Text="`time python MyScript.py -n 40; paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg` worked, thanks." CreationDate="2011-03-05T20:46:37.657" UserId="4784" />
  <row Id="10879" PostId="8654" Score="2" Text="That *was* the point.  The `{}` syntax originated in `csh`, but `{}` expanded to the empty string.  Newer shells recognize that that's nonsensical, but there are still some old `csh`s out there." CreationDate="2011-03-05T20:47:39.337" UserId="5325" />
  <row Id="10880" PostId="8606" Text="@Kevin - your VPS is causing problems, either it isn't a very reliable VPS setup / company, I'd start from scratch with a complete reinstall of the VPS, I recommend you don't install debian (maybe their debian images are bad), try a ubuntu server, at least it would be simpler to get up. ;-)" CreationDate="2011-03-05T21:14:52.387" UserId="4049" />
  <row Id="10881" PostId="8654" Text="@geekosaur: Can you say which specific csh-version on which specific platform? I would prefer to test it myself (if it is possible on linux) or be assured, that the person testet it himself. " CreationDate="2011-03-05T22:30:20.780" UserId="4485" />
  <row Id="10882" PostId="8666" Text="If you don't mind that he can have all your user's rights screen + ssh can do this pretty well." CreationDate="2011-03-05T22:40:51.720" UserId="4477" />
  <row Id="10883" PostId="8663" Text="This doesn't answer the user's question." CreationDate="2011-03-05T23:54:54.283" UserId="4885" />
  <row Id="10884" PostId="8669" Text="On a side note: If someone even remotely capable got into your system and shut you out there probably wont be any trace of it." CreationDate="2011-03-06T00:16:44.837" UserId="5261" />
  <row Id="10885" PostId="8662" Text="I want to use the Fedora bootloader instead of the Backtrack one. However, i can't even get my Fedora to boot up by using the Backtrack bootloader." CreationDate="2011-03-06T00:39:05.403" UserId="5376" />
  <row Id="10886" PostId="8631" Text="Thanks for the explanation of their evilness... ;) I cant find the files in finder though. What else can I do to find these?" CreationDate="2011-03-06T01:17:31.303" UserId="5341" />
  <row Id="10887" PostId="8594" Text="It uses default i.e. `.NTFS-3G/UserMapping` with respective to NTFS partition." CreationDate="2011-03-06T01:25:28.010" UserId="305" />
  <row Id="10888" PostId="8674" Text="I was under the impression that the bridge that KVM creates is configured for NAT, not for bridging. If its NAT, then I can not access the VM from other hosts on the network." CreationDate="2011-03-06T02:40:13.160" UserId="3466" />
  <row Id="10889" PostId="8606" Text=":( I have lots of work saved on that vps" CreationDate="2011-03-06T02:52:54.520" UserId="5247" />
  <row Id="10891" PostId="503" Score="1" Text="@Wadih: `passwd` behaves funny when run as root. For example, when failing the typo check, it asks again." CreationDate="2011-03-06T03:57:47.347" UserId="3512" />
  <row Id="10892" PostId="8661" Text="I think the server is just smb/afp, no ssh.&#xA;&#xA;&gt; ssh: connect to host server.example.edu port 22: Connection refused&#xA;" CreationDate="2011-03-06T04:04:47.910" UserId="4617" />
  <row Id="10893" PostId="7849" Text="Just for clarification — by &quot;system call&quot;, you mean &quot;fork/exec/wait, like the system() call&quot;, not _system call_ in general. (I mention this because making system calls also has an overhead within a program, because of the user/kernel switch. That's not the particular issue here.)" CreationDate="2011-03-06T06:03:11.177" UserId="2511" />
  <row Id="10894" PostId="7865" Text="&quot;The tricks of the trade&quot; ...a good one. :)" CreationDate="2011-03-06T06:05:08.103" UserId="2343" />
  <row Id="10895" PostId="8677" Text="Something tells me it's a carryover from Unix. On that assumption, I'd guess that most such truncations are based on prominent syllables. " CreationDate="2011-03-06T06:32:59.123" UserId="3455" />
  <row Id="10896" PostId="8663" Text="The man page does contain an entry for each of the bin directories, explaining what goes into them, which was one of the questions." CreationDate="2011-03-06T06:52:49.457" UserId="4970" />
  <row Id="10897" PostId="8677" Score="8" Text="Once, Ken Thompson was asked if he'd do anything different were he redesigning Unix, and he replied &quot;&quot;I'd spell creat with an e.&quot;" CreationDate="2011-03-06T07:08:50.230" UserId="2511" />
  <row Id="10898" PostId="8638" Score="1" Text="Newbie in crusade. I will surely improve. " CreationDate="2011-03-06T07:14:50.397" UserId="4858" />
  <row Id="10899" PostId="8678" Score="5" Text="I don't think that when it was _designed_ the idea of being &quot;expert friendly, user antagonistic&quot; was part of the goal. Rather, all of the users _were_ experts, so there was no meaningful distinction." CreationDate="2011-03-06T07:16:58.790" UserId="2511" />
  <row Id="10900" PostId="8643" Text="Gilles - Thanks for the response. Yes, thats exactly what I have read. Real question is - How to make sure or test that -- file system is consistent **NOT** by just relying on fsck's o/p. Does fsck's success means FS is in good shape, every time?   I would like to hear about any methods or tools that validates fsck or likes of it. As KerxPhilo mentioned  -N options was good start for me to write a tool to validate data/metadata by making a copy of it before running fsck and then comparing results after fsck." CreationDate="2011-03-06T07:29:22.407" UserId="4858" />
  <row Id="10901" PostId="8545" Text="That dokuwiki.conf looks correct. If there is an `Include` line in httpd.conf that include the dokuwiki.conf then you shouldn't have to make the changes yourself. Otherwise I don't know what is wrong here." CreationDate="2011-03-06T07:31:34.127" UserId="250" />
  <row Id="10902" PostId="8639" Text="@KerxPhilo My reputation is also small as yours. So I cant vote this answer up. -N seems good start for me. Thanks." CreationDate="2011-03-06T07:33:29.377" UserId="4858" />
  <row Id="10903" PostId="8606" Text="@Shadur do you have xmpp or an instant chat client; it might be faster than using stackexchange." CreationDate="2011-03-06T07:37:56.493" UserId="5247" />
  <row Id="10904" PostId="8678" Score="2" Text="+1 For cryptic due to 300 Baud modems." CreationDate="2011-03-06T08:27:37.490" UserId="2567" />
  <row Id="10905" PostId="8678" Score="5" Text="LOL &quot;Experty friendly, user antagonistic&quot;. It made my day. +1!" CreationDate="2011-03-06T09:21:17.330" UserId="3860" />
  <row Id="10906" PostId="8677" Score="1" Text="&quot;All the other directories under root seem to be exactly what one would guess them to be&quot; -&gt; That doesn't seem true to me. Except for `boot`, `home`, `media` and `root` everything else is shortened. `mnt` also lack its vowels." CreationDate="2011-03-06T09:32:27.757" UserId="250" />
  <row Id="10907" PostId="8606" Text="I'm sorry, you seem to have a mistaken impression about the amount of attention and effort I'm willing to spare to help you. You have what looks to be severe structural problems with that VPS install, and to be painfully blunt you don't even remotely have the experience or skill to begin to fix them. &#xA;&#xA;Presumably you paid money for that VPS; I can only recommend that you contact your hosting's tech support and let them take a look at just what exactly is broken." CreationDate="2011-03-06T09:42:09.050" UserId="4949" />
  <row Id="10908" PostId="7661" Text="@Gilles Yeah I guess" CreationDate="2011-03-06T10:15:26.790" UserId="4892" />
  <row Id="10909" PostId="8680" Score="4" Text="I don't buy mmory nd dsk spc, but slow tltyps. As long s you cn dcphr th cronyms - why not?" CreationDate="2011-03-06T10:47:15.510" UserId="4485" />
  <row Id="10910" PostId="7849" Text="mattdm... Thanks.. I'm working from only 6 months Linux experience, so I've quite likely used the wrong phrase, but I keep reading about the overheads incurred by unnecessary calls, and in my own experience of testing my own scripts, I've seen many examples where calling `printf` or `sed` and also that &quot;unnecessary&quot; `cat` vs  &lt;file does make a dramatic actual run-time difference. when looping, as in my &quot;500 times slower&quot; example.. So it seems that using the shell wherever possible, and allowing a program such as `date` to batch process is what I mean.. eg. Gilles' Left-Pad-0 example, vs printf" CreationDate="2011-03-06T11:09:46.130" UserId="2343" />
  <row Id="10911" PostId="8643" Text="If fsck does its job, it brings the filesystem to a consistent state. Are you trying to validate fsck, i.e. make sure it is not buggy? (That's not what I understood from your question, so my answer doesn't address this.) If so, the first step should surely to keep a copy of the pre-fsck filesystem state." CreationDate="2011-03-06T11:23:57.400" UserId="885" />
  <row Id="10912" PostId="1318" Score="1" Text="It is likely because this is a site fore specific questions and answers. This item would be better as a forum topic somewhere." CreationDate="2011-03-06T12:30:03.970" UserId="2180" />
  <row Id="10913" PostId="8682" Text="my shell is Terminal.app. But why cannot it just work from the Property Editor List like other variables?" CreationDate="2011-03-06T13:01:18.617" UserId="5307" />
  <row Id="10914" PostId="8680" Text="@user unknown: Then you are young and never had to worry about memory or disk space. My first [computer](http://oldcomputers.net/zx81.html) is 30 years old now - marvel at the specs." CreationDate="2011-03-06T13:47:16.527" UserId="591" />
  <row Id="10915" PostId="8678" Score="3" Text="Just a small note (not a correction by any means). Though it is sometimes pronounced &quot;user&quot;, /usr stands for either &quot;universal system resource&quot; or &quot;unix system resource&quot;. Whichever that is, it's been lost amid the fog of Unix's ancient history :)" CreationDate="2011-03-06T14:06:11.843" UserId="2351" />
  <row Id="10916" PostId="6538" Text="The output of `xrestop` may be helpful." CreationDate="2011-03-06T14:10:52.200" UserId="1987" />
  <row Id="10917" PostId="8678" Score="9" Text="At the time /usr was coined, its meaning was user and home directories were located there. unix/universal system resource is actually a backronym." CreationDate="2011-03-06T14:32:17.617" UserId="2594" />
  <row Id="10918" PostId="8683" Score="7" Text="At the time /usr was coined, its meaning was user and home directories were located there. unix/universal system resource is actually a backronym." CreationDate="2011-03-06T14:33:11.003" UserId="2594" />
  <row Id="10919" PostId="8590" Text="@Shadur I realized that too and added a sleep 1 to my version. :)" CreationDate="2011-03-06T14:52:36.267" UserId="3125" />
  <row Id="10920" PostId="8589" Text="@msw - It's exiting because it's done. I added a sleep timer to my version of Eelvex script. :)" CreationDate="2011-03-06T14:57:46.977" UserId="3125" />
  <row Id="10922" PostId="8687" Text="The /var, /mnt and /opt came MUCH later.  However, /bin, /dev, and /etc were in very early UNIX and for the same reason people stated - because ttys were slow and not all were CRT and disk space.  There were UNIX boot systems out there using paper tape, small (space-wise) expensive drives and even 8&quot; floppies.  Space for those were at a premium." CreationDate="2011-03-06T15:31:36.263" UserId="4194" />
  <row Id="10924" PostId="8448" Text="@akira.. 'dd' is awsome. It works in well with the binary split search... I can now extract a regex'd  line (by its Date key), from a sorted 8G file in under 1 second... So it looks like I'll achieve my 3 second personal target for extracting a range of dates between two keys (inclusive).. excluding the output time, which varies depending on how much is being output.. I'll be using `dd` for that too... It is a great tool! :)" CreationDate="2011-03-06T15:59:10.093" UserId="2343" />
  <row Id="10925" PostId="8683" Text="@jlliagre Awesome. I found another thread that actually has an authoritative source of that. http://us.generation-nt.com/answer/opt-vs-usr-local-help-200302801.html?page=5" CreationDate="2011-03-06T16:01:36.300" UserId="2180" />
  <row Id="10926" PostId="8677" Score="3" Text="I thought 'u' was a vowel..." CreationDate="2011-03-06T16:04:10.260" UserId="4856" />
  <row Id="10928" PostId="8686" Score="2" Text="Instead of just saying &quot;go here&quot;, perhaps you could give us a sample of what we'll find if we were to follow the link, and THEN give us the link?" CreationDate="2011-03-06T18:14:25.870" UserId="195" />
  <row Id="10929" PostId="8649" Text="@Justin Ethier: off topic, but see https://bugzilla.redhat.com/show_bug.cgi?id=634911" CreationDate="2011-03-06T18:53:53.610" UserId="2511" />
  <row Id="10930" PostId="8595" Text="This works like a charm. Although, I don't quite understand what's happening in here. Does the backticks allow inclusion of the output of other programs or something? What about the formatting (like +%F and such)?" CreationDate="2011-03-06T19:25:12.960" UserId="5317" />
  <row Id="10931" PostId="8697" Text="Have logged out and in again? Have you restarted the whole system? What Desktop Environment are you using?" CreationDate="2011-03-06T20:08:46.740" UserId="688" />
  <row Id="10932" PostId="8698" Text="Yes, that sounds like a bug in the nvidia proprietary driver. Does your card work (even with reduced functionality) with the Nouveau open-source driver? If so, you can run with that for a while to see if the problem occurs, which will help you isolate the issue." CreationDate="2011-03-06T20:57:54.063" UserId="2511" />
  <row Id="10933" PostId="8659" Text="So I tried a DVD+R and it worked. Ill report back after I do more digging." CreationDate="2011-03-06T21:16:03.037" UserId="4856" />
  <row Id="10934" PostId="8699" Text="Usually, it is better to add your answer as an actual answer rather than editing the question.  " CreationDate="2011-03-06T21:17:59.877" UserId="1207" />
  <row Id="10936" PostId="8701" Text="Added it using Synaptic. Still don't see any &quot;open terminal here&quot; or similar command." CreationDate="2011-03-06T22:48:36.973" UserId="2874" />
  <row Id="10937" PostId="8701" Text="@DarenW: sorry, I forgot to specify, it adds an entry in the File menu." CreationDate="2011-03-06T22:56:53.287" UserId="3860" />
  <row Id="10938" PostId="666" Text="I'm already stockpiling tear gas grenades and bottled water!  :P" CreationDate="2010-08-19T03:04:01.603" UserId="614" />
  <row Id="10939" PostId="8709" Text="(...and if you go messing with permissions in /etc, have an alternate way of changing it back - even setting incorrect permissions there could make your OS unbootable)" CreationDate="2011-03-05T11:20:06.663" />
  <row Id="10940" PostId="8712" Text="Yes you are right and i do use this, althrough i'm afraid people upload a php script to access the file system (i do think suphp disabled this through)" CreationDate="2011-03-05T23:00:34.237" />
  <row Id="10941" PostId="8712" Text="@Danny Hiemstra: As far as I can see, suPHP can be configured to do likewise, using the `chroot` directive: http://www.suphp.org/DocumentationView.html?file=CONFIG" CreationDate="2011-03-06T09:51:27.867" />
  <row Id="10942" PostId="8713" Text="I checked it out and it seems phpmyadmin configured this correctly, the file (config-db.php) in this folder which contains the password is not world-readable. Thanks for the sharpness :)" CreationDate="2011-03-05T23:02:54.720" />
  <row Id="10943" PostId="8707" Score="1" Text="This is an extension of a [previous question](http://unix.stackexchange.com/questions/3958/whats-difference-between-fish-and-sftp). (@Ivan: it would have been helpful to mention this.)" CreationDate="2011-03-07T00:39:48.970" UserId="885" />
  <row Id="10946" PostId="8680" Text="I have never written or inspected a filesystem in depth, but does the name of a file/directory in the filesystem occupy more or less space, depending on 1 character? The files themselves always occupy a multiple of some size - today 4k. So most files which contain a path to /usr or /tmp will not effectively get smaller or bigger, depending on a single `e`. Well - sometimes they will, and then they grow for a whole blocksize, but rarely. And in RAM? I don't know." CreationDate="2011-03-07T01:05:40.313" UserId="4485" />
  <row Id="10947" PostId="8719" Score="1" Text="`tr -d '[0-9]'` would remove brackets as well. `tr -d [0-9]` usually removes brackets and digits, but may do something else if there is a file whose name is a single digit in the current directory." CreationDate="2011-03-07T01:06:31.480" UserId="885" />
  <row Id="10948" PostId="8718" Text="What hardware is in that laptop? Open a terminal and run `lspci`; copy-paste the line corresponding to each device. Also copy-paste the output of `ifconfig -a`. And what release of Ubuntu are you running?" CreationDate="2011-03-07T01:08:54.537" UserId="885" />
  <row Id="10950" PostId="8718" Text="@Gilles: Thanks for taking interest in my question. I've edited above with the requested info." CreationDate="2011-03-07T01:33:13.463" UserId="3892" />
  <row Id="10951" PostId="8631" Text="Interesting.  That's all I found from my local PDANet installation.  You cound run &quot;sudo find /System/Library /Library -name com.jft.\*&quot; in a Terminal window to see if it's somewhere else on yours." CreationDate="2011-03-07T02:18:12.287" UserId="5325" />
  <row Id="10952" PostId="8680" Text="and it would have been more annoying to type. &quot;temporary vs tmp&quot; ugh... why would anyone want them longer?" CreationDate="2011-03-07T02:20:40.780" UserId="29" />
  <row Id="10953" PostId="8701" Score="2" Text="You will also need to restart nautilus." CreationDate="2011-03-07T02:54:17.463" UserId="1952" />
  <row Id="10955" PostId="8719" Text="@Gilles, Oops, sure &amp; thanks." CreationDate="2011-03-07T03:08:05.513" UserId="3519" />
  <row Id="10956" PostId="8701" Text="@Kim: ah, now it works!  It took me a long time to realize that the whole desktop is really a view in Nautilus, so I had log out and back in.   I see what I want in File and also the right-click menu.  :)" CreationDate="2011-03-07T03:22:13.027" UserId="2874" />
  <row Id="10957" PostId="8728" Text="this doesnt work for me - i tried your second command like so `sudo echo hi | sudo tee /var/log/test.log &gt; /dev/null` but it just continuously prompts for the sudo password." CreationDate="2011-03-07T06:01:49.630" UserId="5451" />
  <row Id="10958" PostId="8730" Text="yes! i put the whole script into a new file `test_logger.sh`, made it executeable, then ran it from `~/.bash_logout` like so: `sudo ~/.bash_logout`. works great :)" CreationDate="2011-03-07T06:55:12.207" UserId="5451" />
  <row Id="10959" PostId="8701" Score="1" Text="@DarenW: another way to do it, without restarting would have been `killall nautilus`. This would have killed all the instances of nautilus, which then should have restarted automagically ;)" CreationDate="2011-03-07T06:56:29.490" UserId="3860" />
  <row Id="10960" PostId="8731" Text="ah thanks for clarifying the possibilities of [pipe-injection?]. i think the way i ended up doing it (see the comment under simon's solution) is safe since there is no opportunity for anyone to splice extra commands into my ~/.bash_logout file (unless the entire system is already compromised obviously)" CreationDate="2011-03-07T06:59:31.110" UserId="5451" />
  <row Id="10961" PostId="6824" Text="My calculator is `alias py='PYTHONSTARTUP=~/.pythonstartup python'` with `from math import *;` in that file. The integer-division problem remains unsolved, but it's way more usable for more complex operations." CreationDate="2011-03-07T07:14:18.867" UserId="5116" />
  <row Id="10962" PostId="6828" Text="+1 I've been using my version of `mcd` for many years and am going to add something like `mtd` soon." CreationDate="2011-03-07T07:18:12.483" UserId="5116" />
  <row Id="10963" PostId="6828" Text="I defined my ``mtd() { mcd $TMP/`date +%y%m%d-%H%M%S-%N`; }``. It probably lacks a portability, but it's good enough for me." CreationDate="2011-03-07T07:34:11.790" UserId="5116" />
  <row Id="10964" PostId="8732" Text="Thanks for helping me! How can I get the .deb files you've mentioned if I don't have an install disk? I installed ubuntu by using Wubi." CreationDate="2011-03-07T07:39:40.853" UserId="3892" />
  <row Id="10965" PostId="8732" Text="ah! okay, can you download them elsewhere, and copy them to this machine (usb thumb drive, etc.)?  If so, you can get the packages from http://packages.ubuntu.com/ (e.g. http://packages.ubuntu.com/maverick/dkms).  You must install them in the order I've given here, to satisfy dependencies along the way." CreationDate="2011-03-07T08:09:33.517" UserId="5454" />
  <row Id="10966" PostId="8736" Text="I work on Solaris and though i have been using the commands ssh, sftp and su for quite sometime now, i have never completely understood how they work. Please explain and point me towards some good resources where i can learn more." CreationDate="2011-03-07T08:25:39.910" UserId="4950" />
  <row Id="10967" PostId="8680" Text="Modern Unix directories have variable-length entries.  Back in Research Unix, a directory entry was a fixed 16 bytes:  14 for the filename, 2 for the inode number.  And it may have been smaller when /usr etc. were canonized." CreationDate="2011-03-07T08:38:10.507" UserId="5325" />
  <row Id="10968" PostId="8682" Text="Terminal.app is the terminal window; bash is the default shell on OSX, and the shell that is probably running inside the terminal." CreationDate="2011-03-07T08:46:21.390" UserId="5325" />
  <row Id="10969" PostId="8732" Text="it might also be worth noting that Broadcom have committed to open-sourcing the drivers for their wireless chipsets (http://thread.gmane.org/gmane.linux.kernel.wireless.general/55418) and so this situation can be expected to improve considerably over the next year or so :)" CreationDate="2011-03-07T09:27:50.207" UserId="5454" />
  <row Id="10970" PostId="8742" Text="Damn, beat me to it again. Nicely comprehensive answer - upvoted." CreationDate="2011-03-07T10:42:14.200" UserId="4949" />
  <row Id="10972" PostId="8677" Score="1" Text="@Mr. Shickadance: it is." CreationDate="2011-03-07T11:49:10.467" UserId="5462" />
  <row Id="10973" PostId="7381" Text="@Lian Just run &quot;flashget.sh | xargs firefox&quot; or &quot;flashget.sh | xargs chromium-browser&quot; (or the browser of your choice) and the browser will ask you to &quot;download&quot; the file." CreationDate="2011-03-07T11:52:29.357" UserId="3625" />
  <row Id="10974" PostId="7175" Text="Problem with vi is that sometimes, even though started as vi, it's vim and there are some not so subtle differences. But what I like with joe over nano/pico is the undo. That's something definitely missing in nano/pico versions I've seen installed." CreationDate="2011-03-07T12:19:43.690" UserId="5462" />
  <row Id="10975" PostId="8746" Score="1" Text="I tried that and it doesn't work. Maybe it's a bug?" CreationDate="2011-03-07T12:48:07.490" UserId="688" />
  <row Id="10976" PostId="8746" Score="1" Text="I'm actually having the same problem. And no, editing gconf didn't work." CreationDate="2011-03-07T12:51:01.810" UserId="4949" />
  <row Id="10977" PostId="8746" Text="You could add `mutter --replace` to System &gt; Preferences &gt; Startup Applications" CreationDate="2011-03-07T12:53:09.890" UserId="3625" />
  <row Id="10978" PostId="8681" Text="The GUI way works for me in 10.6 what does your ~/.MacOSX/environment.plist look like and do you reset path in your shell and if do how" CreationDate="2011-03-07T13:42:13.537" UserId="5140" />
  <row Id="10979" PostId="8682" Text="The Property Editor list sets for apps launched from the GUI. This includes Terminal.app - however you can alther the variables in ~/.bashrc etc for commands run from the shell" CreationDate="2011-03-07T13:44:19.743" UserId="5140" />
  <row Id="10980" PostId="8747" Text="Maybe have a look at [the Wikipedia page](http://en.wikipedia.org/wiki/Ext3) and some of its references, for an overview of how it works, before diving into the source." CreationDate="2011-03-07T14:09:17.437" UserId="688" />
  <row Id="10981" PostId="8748" Text="sorry, yeah, that's what my file looks like. Well, the '&amp; ~' isn't indented, but that doesnt matter right?" CreationDate="2011-03-07T14:33:10.603" UserId="4402" />
  <row Id="10982" PostId="8748" Text="the config files are standard as far as i know from an ubuntu lucid install." CreationDate="2011-03-07T14:33:47.953" UserId="4402" />
  <row Id="10983" PostId="8748" Text="Indentation doesn't matter; it's only for clarity." CreationDate="2011-03-07T15:06:51.623" UserId="2180" />
  <row Id="10984" PostId="8681" Text="@simpatico If you're more interested in the GUI way there's a [separate site](http://apple.stackexchange.com/) dedicated to Apple questions; do you want this question moved there?" CreationDate="2011-03-07T15:49:19.080" UserId="73" />
  <row Id="10985" PostId="2194" Text="This is a red herring, it should be the grub from SuSe running." CreationDate="2011-03-07T16:35:56.530" UserId="4776" />
  <row Id="10986" PostId="8680" Text="Most file systems store the file in blocks. Sizes range from 512 bytes on up in powers of 2.  Available sized depend on the file system.  Some filesystems will store the tail (partially filled last block) in the inode stucture.  Occupied space may be more closely related to the number of bytes, than is found with systems that only use block level storage." CreationDate="2011-03-07T17:21:28.307" UserId="4520" />
  <row Id="10987" PostId="8761" Text="You can also use the code in this format. &lt;pre&gt;function try {" CreationDate="2011-03-07T17:40:26.607" UserId="4520" />
  <row Id="10988" PostId="8763" Text="Two problems I see with using editors are paginators: a) not all editors behave properly to network disconnects, meaning that the editor stays around even when the shell sends SIGHUP; b) many editors touch the directory (by creating a swap/temp file), which is disadvantageous if you want to keep the mtime of the directory stable." CreationDate="2011-03-07T17:47:21.373" UserId="4194" />
  <row Id="10989" PostId="8762" Text="Where did you find the official drivers? Where they included with a disk that came with the printer?" CreationDate="2011-03-07T17:49:10.717" UserId="688" />
  <row Id="10990" PostId="8761" Text="If you use this functionality inline and don't want to return from the true side you can replace `return $?` with the `:` builtin." CreationDate="2011-03-07T17:50:36.143" UserId="4520" />
  <row Id="10991" PostId="8762" Text="The drivers were on the US version of the official site." CreationDate="2011-03-07T18:29:36.277" UserId="5153" />
  <row Id="10992" PostId="6631" Text="See my update question: I'm now getting what you are getting. If it happens again, I'll try the `env` thing... I wish I should have tried when I was still having the problem." CreationDate="2011-03-07T18:40:50.090" UserId="688" />
  <row Id="10993" PostId="8767" Text="`set -e` is useful. There are some commands that return non-zero under normal circumstances (for instance, `diff`). When I'm using set -e in a script where I'm expecting a nonzero return, I do `command || true`." CreationDate="2011-03-07T18:49:47.357" UserId="2180" />
  <row Id="10994" PostId="8770" Text="I was using deb2targz. It created a tar.gz file without DEBIAN directory. What should I use?" CreationDate="2011-03-07T19:03:08.560" UserId="5153" />
  <row Id="10996" PostId="8770" Text="I used file-roller. Note that it's an ar archive, which can be extracted with **`ar`**, which comes bundled with binutils on Debian." CreationDate="2011-03-07T19:20:07.623" UserId="688" />
  <row Id="10997" PostId="8722" Text="What about `sed -ibak -e 's/[0-9]//g' file.txt`?" CreationDate="2011-03-07T19:27:07.240" UserId="5481" />
  <row Id="10998" PostId="8761" Text="Why give a version that doesn't work with spaces?  Change `$*` to `&quot;$@&quot;`." CreationDate="2011-03-07T19:49:05.670" UserId="3169" />
  <row Id="10999" PostId="8761" Text="I've fixed it for you." CreationDate="2011-03-07T20:05:15.197" UserId="3169" />
  <row Id="11000" PostId="8761" Text="Thanks, and for the -ne tweak, too." CreationDate="2011-03-07T20:13:04.110" UserId="138" />
  <row Id="11001" PostId="8764" Score="2" Text="+1 for tac, did not know about that one :)" CreationDate="2011-03-07T20:34:40.833" UserId="2567" />
  <row Id="11002" PostId="8777" Score="3" Text="You can replace `cat file.txt | sort` with just `sort file.txt`. :)" CreationDate="2011-03-07T21:21:31.190" UserId="2511" />
  <row Id="11003" PostId="7262" Text="@gamen: This answer makes sense. Do you know if it's possible to make play (or other utility) opened like a daemon, and when play is called it just executes the sound without this delay?" CreationDate="2011-03-07T21:29:22.347" UserId="2689" />
  <row Id="11004" PostId="8776" Score="1" Text="For modern RPM-based distributions, the answer is: run mock in a loop, and then deal with the fringe cases by hand. (This is how CentOS is built from RHEL source, for example.) I have no idea about the Debian/dpkg equivalent, though, which is why this is a comment rather than an answer." CreationDate="2011-03-07T21:33:27.420" UserId="2511" />
  <row Id="11005" PostId="8780" Text="@mattdm: If a function is binded to a key (bindkey command), is it possible to remove it as well?" CreationDate="2011-03-07T21:34:00.233" UserId="2689" />
  <row Id="11006" PostId="8780" Text="@Somebody still uses you MS-DOS — if you remove the function without removing the key binding, you'll get `No such shell function \`function'` when you press the key. But perhaps what you want to do is start your key definitions in your dotfile with `bindkey -d`, to reset them to their default state each time before setting up custom things." CreationDate="2011-03-07T21:54:53.873" UserId="2511" />
  <row Id="11007" PostId="8758" Text="It didnt show me the 755 problem (i changed it to 755 for my second scan to see if it picks it up. it didnt) but i like tiger anyways so +1" CreationDate="2011-03-07T22:46:50.243" UserId="4069" />
  <row Id="11008" PostId="8788" Text="What is your graphics card?" CreationDate="2011-03-07T23:41:17.357" UserId="2511" />
  <row Id="11009" PostId="8786" Score="1" Text="We need some more information. What distribution are you using (openSUSE, I'm guesing)? Can you show the exact commands you gave and the exact error messages you got? Is this your own system? Do you expect to have `sudo` rights for administrative access?" CreationDate="2011-03-07T23:44:21.050" UserId="2511" />
  <row Id="11010" PostId="8788" Text="I'm not sure. How do I find that out?" CreationDate="2011-03-07T23:52:24.023" UserId="3445" />
  <row Id="11011" PostId="8788" Text="Is it a laptop? If so, what make/model? We could probably point you toward a driver to install. Nvidia is easy. If its a desktop, open it up and look!" CreationDate="2011-03-08T00:06:13.857" UserId="4856" />
  <row Id="11012" PostId="8788" Text="It's a desktop, with a 1GB DDR3 AMD Radeon HD 6450 graphics card." CreationDate="2011-03-08T00:20:36.807" UserId="3445" />
  <row Id="11013" PostId="8677" Text="I heared /usr stands for unix system ressources, not user. But I too heard that it is another myth. :) I don't have evidence." CreationDate="2011-03-08T01:10:29.200" UserId="4485" />
  <row Id="11014" PostId="8785" Text="I'd suggest not dual-booting. Put Linux on your system and put Windows in a VM. There are some things that you may need Windows for (such as collaborating on a PowerPoint file). If you boot into Windows to do this, it can sometimes be easier to just stay there. If you have Windows in a VM, it's much easier to flip back-and-forth since you can just pause and resume the virtual machine." CreationDate="2011-03-08T01:17:55.057" UserId="2180" />
  <row Id="11015" PostId="8785" Score="1" Text="@Shawn — note that the OP has a MacBook. Not that that precludes MS Windows in a vm, but..." CreationDate="2011-03-08T01:26:57.000" UserId="2511" />
  <row Id="11016" PostId="8674" Text="I left `br0` configured and was able to give the VM a static IP. I added the following  `iptables -I RH-Firewall-1-INPUT -i br0 -j ACCEPT` to my host firewall rules and was able get DHCP working. " CreationDate="2011-03-08T01:45:59.877" UserId="3466" />
  <row Id="11017" PostId="8758" Text="hmm, well then I apologise!  it will go crazy if root's `~/.ssh` folder is world-readable, for example.  If Debian ships with `/root` as 755, and tiger doesn't warn about it, I would take that as a decent indication that it's not an unreasonable setting to operate with." CreationDate="2011-03-08T01:50:11.590" UserId="5454" />
  <row Id="11018" PostId="8797" Text="OK, I installed the driver, but the max resolution has not changed. It's still 1280x1024 (native is 1900x1080). Is there any way to verify that the correct driver is installed, or is there another explanation for why I can't get more resolution?" CreationDate="2011-03-08T02:32:50.403" UserId="3445" />
  <row Id="11019" PostId="8797" Text="Fedora will have a pretty recent version of the Radeon driver; at least one of the driver authors works for Red Hat. But this seems to be a rather recent card." CreationDate="2011-03-08T02:37:13.303" UserId="2511" />
  <row Id="11020" PostId="8797" Text="@jonderry Then maybe you have to manually change the resolution. Have you tried changing `/etc/X11/xorg.conf`?" CreationDate="2011-03-08T02:52:52.993" UserId="250" />
  <row Id="11021" PostId="8682" Text="@simpatico, I don't know, I don't use a Mac" CreationDate="2011-03-08T03:00:51.403" UserId="1919" />
  <row Id="11022" PostId="7947" Text="@Michael Dillon: http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1" CreationDate="2011-03-08T03:02:44.467" UserId="2511" />
  <row Id="11023" PostId="8797" Text="I don't have that file on my machine. Should I add it?" CreationDate="2011-03-08T03:18:32.253" UserId="3445" />
  <row Id="11024" PostId="8796" Text="This is a good answer, because this program is specifically designed to work across popular desktop environments (KDE, Gnome, others). It's part of a set of related tools called &quot;Portland&quot;, a.k.a. xdg-utils, from http://portland.freedesktop.org/wiki/. " CreationDate="2011-03-08T03:24:18.817" UserId="2511" />
  <row Id="11025" PostId="8797" Score="1" Text="@jonderry Then maybe you can try [creating xorg.conf](http://fedoraproject.org/wiki/How_to_create_xorg.conf)" CreationDate="2011-03-08T03:26:15.397" UserId="250" />
  <row Id="11026" PostId="8796" Text="Also note that it's a (long) shell script, so if you want to find out how to get the information for a specific desktop environment, you can read it to find out." CreationDate="2011-03-08T03:26:45.350" UserId="2511" />
  <row Id="11027" PostId="8797" Text="Thanks, I didn't have system-config-display and yum didn't find it, so I used Xorg to create it. Where can I find out what values to set in it?" CreationDate="2011-03-08T03:37:22.923" UserId="3445" />
  <row Id="11028" PostId="8797" Text="@jonderry Try `man xorg.conf` :)" CreationDate="2011-03-08T03:44:22.557" UserId="250" />
  <row Id="11029" PostId="8797" Score="1" Text="But then also see my answer, because no amount of editing the config file will actually help in this case. :)" CreationDate="2011-03-08T03:56:41.020" UserId="2511" />
  <row Id="11030" PostId="8797" Text="@mattdm That possible, but maybe the problem doesn't lie in the driver? Furthermore, I saw the Linux driver listed in the AMD download page, so maybe it will work." CreationDate="2011-03-08T04:21:38.097" UserId="250" />
  <row Id="11031" PostId="8775" Text="Are you sure those pastebin snippets won't expire some time in the future? In not, just paste them here so that your post remains unseful for a long time." CreationDate="2011-03-08T04:25:29.863" UserId="688" />
  <row Id="11032" PostId="8797" Score="1" Text="@phunehehe -- for the open source driver, I think it's pretty clear. For the proprietary one, I don't know, but in general modern drivers do a pretty good job of selecting the best possible resolution automatically, so I'd be really surprised if there's anything that can be done in that case either." CreationDate="2011-03-08T04:27:08.760" UserId="2511" />
  <row Id="11033" PostId="8797" Text="well, I'm having a more serious problem that's preventing me from making progress on this right now. Fedora no longer boots: http://unix.stackexchange.com/questions/8807/fedora-wont-boot-the-startup-progress-bar-goes-all-the-way-to-the-right-and-the" CreationDate="2011-03-08T04:49:09.290" UserId="3445" />
  <row Id="11034" PostId="8807" Text="The OP was working on [this answer](http://unix.stackexchange.com/q/8788/250) when he encounters this problem. @jonderry I think it's better to give a little context to the problem you are having." CreationDate="2011-03-08T05:35:08.827" UserId="250" />
  <row Id="11035" PostId="8807" Score="1" Text="@jonderry If things was working properly before then chances are the newly created /etc/X11/xorg.conf is at fault. Try [booting into single user mode](http://unix.stackexchange.com/q/4027/250) and deleting the file." CreationDate="2011-03-08T05:39:20.587" UserId="250" />
  <row Id="11036" PostId="8797" Text="OK, phunehehe's suggestion for the other problem worked. I saw somewhere that system-config-display is unavailable for fedora 14, and I also checked xrandr and the same resolution options are available, so perhaps it is something else as mattdm suggests." CreationDate="2011-03-08T06:12:08.640" UserId="3445" />
  <row Id="11037" PostId="8789" Text="The “go to last line” function is also usually bound to `&gt;` (without Meta or ESC) and `G`." CreationDate="2011-03-08T06:13:41.100" UserId="1107" />
  <row Id="11038" PostId="8774" Text="+1 for the || idea" CreationDate="2011-03-08T07:23:37.537" UserId="2567" />
  <row Id="11039" PostId="8786" Text="MPlayer is one package I like to install from source. It's a little harder than `./configure &amp;&amp; make &amp;&amp; make install` but some distros ship really useless versions. And you don't need root for that just use `--prefix=${HOME}/mplayer`." CreationDate="2011-03-08T07:32:51.033" UserId="4477" />
  <row Id="11040" PostId="8815" Score="1" Text="It's a bit confusing to have two different output streams for the same message depending on something isn't it?" CreationDate="2011-03-08T08:05:45.470" />
  <row Id="11041" PostId="8815" Score="4" Text="Perhaps, but they're not necessarily the same message.  If the output of `--help` is more than a few lines, then the usage message produced by an invalid option should be just a short summary saying to use `--help` to see the complete information." CreationDate="2011-03-08T08:38:04.630" UserId="2421" />
  <row Id="11042" PostId="8800" Text="Right, but IME the proprietary driver is only faster in 3D, much slower in 2D than the open-source driver." CreationDate="2011-03-08T08:40:27.427" UserId="3082" />
  <row Id="11043" PostId="8702" Text="Awesome possum. :-)" CreationDate="2011-03-08T08:58:25.860" UserId="3082" />
  <row Id="11044" PostId="8770" Text="I've got scripts. However there are a lot of conditional coping of files and editing some other scripts. It would be very hard for me to reverse engineer this." CreationDate="2011-03-08T08:59:25.767" UserId="5153" />
  <row Id="11045" PostId="8770" Text="@mic How many scripts are there? There should be just a few. Are you looking at the right place? When you run `ar x` on the DEB file, it should expose `control.tar.gz` which is the file I'm referring to." CreationDate="2011-03-08T09:02:59.360" UserId="688" />
  <row Id="11046" PostId="8815" Score="1" Text="+1 - this is 100% correct, and I don't see any room for disagreement here." CreationDate="2011-03-08T10:04:42.503" UserId="5454" />
  <row Id="11047" PostId="8545" Text="The missing point was that the directories the links point to should have execute permissions for others (I don't understand why, but it works now)." CreationDate="2011-03-08T10:07:45.083" UserId="5289" />
  <row Id="11048" PostId="8545" Text="Ah, that was important. The execute bit on a directory determines if a person can do a ls in the directory. It is certainly needed." CreationDate="2011-03-08T11:24:18.520" UserId="250" />
  <row Id="11051" PostId="8833" Text="For `./abc.ksh &quot;some_string&quot; -a &quot;sample text&quot;`, it will not work." CreationDate="2011-03-08T12:18:00.213" UserId="5250" />
  <row Id="11055" PostId="2040" Text="For good answer, you should also show examples in addition to pointing to further reading material. For example, if answer gives few examples, reader can immediately know if command is going to work." CreationDate="2011-03-08T12:56:14.453" UserId="4241" />
  <row Id="11057" PostId="8830" Score="1" Text="When you're getting to the level of complication where you're asking yourself this sort of question, I think it's time to shift to asking &quot;should I be using a full scripting language instead&quot;? Python, perl, whatever — they all have pre-existing modules for handing this gracefully and transparently. " CreationDate="2011-03-08T12:59:29.263" UserId="2511" />
  <row Id="11060" PostId="8832" Text="I am thinking that this is an alternative suspend/hibernate subsystem. I will try if can't fix the current one." CreationDate="2011-03-08T13:25:09.473" UserId="4778" />
  <row Id="11061" PostId="8800" Text="@Keith — thanks, good to know." CreationDate="2011-03-08T13:41:09.120" UserId="2511" />
  <row Id="11062" PostId="5804" Score="1" Text="I think this qualifies as a bug and should be reported. BTW syslog-ng uses sane timestamps which you can sort with `sort`, have year, timezone, etc. +1 for the python script." CreationDate="2011-03-08T13:41:22.223" UserId="4477" />
  <row Id="11063" PostId="8807" Text="@jonderry: What drivers did you install?  Do you have 'nomodeset' in your GRUB kernel parameters?" CreationDate="2011-03-08T13:44:44.927" UserId="3976" />
  <row Id="11064" PostId="8785" Text="This answer made a lot more sense when it was attached to  http://unix.stackexchange.com/questions/8783/resources-to-learn-linux" CreationDate="2011-03-08T13:48:02.077" UserId="2511" />
  <row Id="11065" PostId="8833" Text="Well for getopts, you're constrained by the tool: &quot;Any of the following identifies the end of options: the special option --,  *finding  an argument  that  does  not begin with a -*, or encountering an error.&quot;" CreationDate="2011-03-08T13:48:18.910" UserId="4667" />
  <row Id="11066" PostId="8830" Score="1" Text="Posix shell is a very capable scripting language, very capable of doing what he is asking in this question. This is not at all a complicated thing." CreationDate="2011-03-08T13:51:21.480" UserId="2180" />
  <row Id="11067" PostId="8832" Text="right, let us know the result. you need to install the proper drivers for it to work. this is just an alternative." CreationDate="2011-03-08T14:03:26.023" UserId="524" />
  <row Id="11068" PostId="4932" Text="No, not quite. These are open file descriptors passed to the `lvm` command; for some reason someone decided to be helpful here." CreationDate="2011-03-08T14:36:56.230" UserId="4542" />
  <row Id="11069" PostId="8830" Text="Perl's `Getopt::Long` will extract the options and leave the non-option arguments in @ARGV." CreationDate="2011-03-08T14:44:45.023" UserId="4667" />
  <row Id="11070" PostId="8819" Text="This is software raid not HW raid. You can easily add a partition of the disk to the raid, therefore capacity difference of the disks is not an issue. I have 2 Raid 1 over 3 disks (0,5T 1T and 1,5T) on one of my machines." CreationDate="2011-03-08T14:45:35.477" UserId="2671" />
  <row Id="11071" PostId="8775" Text="tshepang - updated!" CreationDate="2011-03-08T14:47:30.883" UserId="4724" />
  <row Id="11073" PostId="8782" Text="	&#xA;yes, problem solved: i had to copy the keys/certs to the ~/.cert folder, then run a command: &quot;restorecon -Rv ~/.cert*&quot; - selinux was preventing the connection. and yes, i used the wrong port for telnet. now i can connect via vpn" CreationDate="2011-03-08T15:19:49.610" UserId="4724" />
  <row Id="11074" PostId="8813" Score="4" Text="Additional note: don't use -? use --help and -h &#xD;&#xA;&#xD;&#xA;Because --help and -h are standard and because -? will can be interpreted by the shell." CreationDate="2011-03-08T09:53:10.203" UserId="4778" />
  <row Id="11075" PostId="8813" Score="1" Text="@richard This is an excellent point. Fun trick (in bash): `touch -- -l; ls -?` — you actually get a long listing as if you'd passed `-l` to ls." CreationDate="2011-03-08T12:56:00.157" UserId="2511" />
  <row Id="11076" PostId="8819" Text="@Let_Me_Be: It could be an issue. I have a RAID5 setup at home. Originally it was 3x1TB but later I added a 1.5TB disk because 1T was only marginally cheaper. What can I do with the remaining 500GB? Swap? /tmp? RAID1+0 is easier to extend because I only need pairs of same sized disks." CreationDate="2011-03-08T15:40:13.633" UserId="4477" />
  <row Id="11078" PostId="8773" Text="I'm a Ubuntu user my self and Canonical used to have a heavy gnome dist, but right now with since they are not  going with gnome3 I'm not sure what they are doing... but you are right there is a lot of flaming going on..." CreationDate="2011-03-08T16:20:18.633" UserId="2567" />
  <row Id="11079" PostId="8823" Text="Since there are no votes, comments or answers up to now, I think http://askubuntu.com/ would perhaps be an better place for this question!? Perhaps a moderator could move the question to this site?" CreationDate="2011-03-08T17:04:27.390" UserId="5289" />
  <row Id="11080" PostId="8842" Score="1" Text="I'd give you more than +1 if I could, simply for not calling ctime &quot;Creation Time&quot;." CreationDate="2011-03-08T17:32:59.590" UserId="3976" />
  <row Id="11081" PostId="8789" Text="@Chris, I didn't realize Meta wasn't required in less. But that is was you would use in Emacs." CreationDate="2011-03-08T17:37:15.367" UserId="5490" />
  <row Id="11082" PostId="8800" Text="You are really fast, I was just about to say that F15 alpha is out :)" CreationDate="2011-03-08T17:45:06.323" UserId="250" />
  <row Id="11083" PostId="8800" Text="Can you explain why I need the 2.6.38 kernel rather than just the driver? I don't need 3D at all, just the higher resolution." CreationDate="2011-03-08T18:00:56.273" UserId="3445" />
  <row Id="11084" PostId="8800" Text="@jonderry, with modern kernels and X, graphics cards are initialized by the kernel. See http://unix.stackexchange.com/questions/7943/ and http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1, and the link to h-online in my answer above. Support for your card's family was just now added." CreationDate="2011-03-08T18:05:33.807" UserId="2511" />
  <row Id="11085" PostId="8845" Text="That file doesn't exists in my home dir. Must I create it?" CreationDate="2011-03-08T18:06:08.873" UserId="688" />
  <row Id="11086" PostId="8846" Text="What revision of Solaris are you running? If it was fixed in u4, then it should be present in u9 (the current). If you aren't running u9 I would suggest upgrading to that first." CreationDate="2011-03-08T18:22:52.330" UserId="3309" />
  <row Id="11087" PostId="8845" Text="@tshepang yes, create it. This answer is is the correct method on Debian." CreationDate="2011-03-08T18:24:36.370" UserId="3309" />
  <row Id="11088" PostId="8770" Text="There are control, postinst (17k) and prerm (4,2k)." CreationDate="2011-03-08T18:24:39.460" UserId="5153" />
  <row Id="11089" PostId="8770" Text="@mic Now that's huge. Now, supposing that you've installed the other files in Debian standard location (i.e. not `/usr/local` or `/opt`), go ahead and run preinst script? Or am I missing anything? I don't understand what you mean by conditional copying. Why do you need to edit any of these scripts?" CreationDate="2011-03-08T18:27:29.953" UserId="688" />
  <row Id="11090" PostId="8820" Score="1" Text="Complexity goes both ways: LVM adds a layer but makes many common tasks easier and safer. As for performance, I've never seen a benchmark showing a substantial slowdown from LVM, do you know one?" CreationDate="2011-03-08T18:30:02.417" UserId="885" />
  <row Id="11091" PostId="8827" Text="Do you have a swap partition or just a swap file? Hibernating to a swap file is supported in theory but sometimes requires some hand-holding. Swap partitions should work out of the box (at least they do on Debian 5)." CreationDate="2011-03-08T18:32:50.803" UserId="885" />
  <row Id="11092" PostId="8823" Text="@user5289: If you're only interested in answers for Ubuntu (you didn't mention a distribution in your question), you can choose what site to ask on. If you prefer Ask Ubuntu, use the `flag` button on your question and request it to be migrated." CreationDate="2011-03-08T18:37:39.643" UserId="885" />
  <row Id="11093" PostId="8767" Text="Furthermore, even if you use `set -e`, you can set an “exception handler” to catch all errors with `trap did_it_work EXIT`." CreationDate="2011-03-08T18:41:22.883" UserId="885" />
  <row Id="11094" PostId="8806" Score="3" Text="Don't leave us hanging! If you think this could be useful for other people, tell us what in your `.bashrc` was causing the problem and how you solved it. If you think the problem is so specific to your setup that there's no point in having the question and answer on the web, delete them." CreationDate="2011-03-08T18:45:38.700" UserId="885" />
  <row Id="11095" PostId="8823" Text="no I am not only interested in answers for ubuntu, however it seems that the askubuntu site is more active with regard to linux and multimedia questions" CreationDate="2011-03-08T18:45:59.603" UserId="5289" />
  <row Id="11096" PostId="8770" Text="I've got something like this.&#xA;Executing postin scripts ...&#xA;./postinst: line 73: [: ==: unary operator expected&#xA;sudo: unknown user: /usr/local/lexmark/legacy/bin/.scripts/demon&#xA;sudo: unable to initialize policy plugin" CreationDate="2011-03-08T18:49:10.323" UserId="5153" />
  <row Id="11097" PostId="8844" Text="Please see updated question." CreationDate="2011-03-08T18:52:35.413" UserId="688" />
  <row Id="11098" PostId="8820" Text="I don't think the added layer slow things down too much. Most of the delay comes from actually reading/writing stuff to the disk. A few simple calculations and lookups should not cause any measurable delay. LVM can increase fragmentation but with 16MB extent sizes and multi-gigabyte LVs I don't think that's significant either. I never measured it but I'm using LVM everywhere I can and I never noticed any slowdown." CreationDate="2011-03-08T18:53:44.840" UserId="4477" />
  <row Id="11099" PostId="8779" Score="1" Text="You don't need to restart your machine, obviously. `exec zsh` will get you a fresh shell in the same terminal, directory, environment, etc." CreationDate="2011-03-08T18:55:15.457" UserId="885" />
  <row Id="11101" PostId="8850" Text="What u mean by *apt will skip that package...*?" CreationDate="2011-03-08T18:56:42.287" UserId="688" />
  <row Id="11102" PostId="8850" Text="What does `dpkg -l \* | awk '/^[a-z]/ {print $2}'` do exactly?" CreationDate="2011-03-08T18:58:42.020" UserId="688" />
  <row Id="11104" PostId="8827" Text="it is a partition" CreationDate="2011-03-08T19:04:59.830" UserId="4778" />
  <row Id="11105" PostId="8853" Text="Thanks,Gilles... That sounds like good advice.. I've been focusing on `bash`, but I suspect that it is time to now,&quot;just use it for what it is&quot;, and start looking at something more heavy-weight.. I've touched on Python, so I'll probably continue there.. Thanks" CreationDate="2011-03-08T19:41:05.117" UserId="2343" />
  <row Id="11107" PostId="8855" Text="Is your laptop actually a different architecture?" CreationDate="2011-03-08T19:53:37.947" UserId="2511" />
  <row Id="11108" PostId="8855" Text="@mattdm: Yes. Laptop is an AMD Athlon, server is an Intel(R) Core(TM) i5 CPU" CreationDate="2011-03-08T19:57:04.987" UserId="1974" />
  <row Id="11109" PostId="8800" Text="I tried booting into Fedora 15 from a DVD and have full resolution. However, it seems like it's probably too unstable of an environment to work in. Are there any other options besides waiting?" CreationDate="2011-03-08T19:57:53.737" UserId="3445" />
  <row Id="11110" PostId="8552" Text="Lowering a system's security by disabling SELinux is generally not a good solution to this kind of problem.  If anything, I'd change SELINUX=permissive to test the problem, until it's been resolved." CreationDate="2011-03-08T20:04:29.990" UserId="3976" />
  <row Id="11111" PostId="8855" Score="1" Text="@Josh — that's the same x86_64 architecture as far as the kernel is concerned." CreationDate="2011-03-08T20:06:43.657" UserId="2511" />
  <row Id="11112" PostId="8800" Text="@jonderry — cool, glad that worked. Another option would be to back-port the specific things you need (X and the kernel) to Fedora 14, either by building them yourself or by attempting to use the updated packages on F14. In fact, you _might_ be able to get this to work on your F14 system by saying `yum --enablerepo=rawhide upgrade kernel xorg-x11-drv-ati xorg-x11-drv-ati-firmware`. But there's a lot of changes between F14 and F15 so it might try to pull in pretty much everything in order to do that. Dunno. :)" CreationDate="2011-03-08T20:10:45.320" UserId="2511" />
  <row Id="11113" PostId="8800" Text="@jonderry — that said, I've been running with the Fedora continuously-rolling development tree as my main desktop for several years now, and it's only occasionally caused me horrible pain. The alpha release is much safer than _that_. :)" CreationDate="2011-03-08T20:11:40.720" UserId="2511" />
  <row Id="11114" PostId="8848" Text="in my howto, the &quot;ca.key&quot; is not needed on the server? that is the file, that i don't need after going though the full howto?" CreationDate="2011-03-08T20:41:08.227" UserId="4724" />
  <row Id="11115" PostId="8848" Text="I just have to swap the 1024 to e.g.: 8192 in this?: &quot;time openssl dhparam -out /etc/openvpn/dh1024.pem 1024&quot; ?" CreationDate="2011-03-08T20:42:14.547" UserId="4724" />
  <row Id="11116" PostId="8855" Text="@mattdm: Oh, ok, I would have thought that they would need to be different, but I know very little about the internals of the kernel." CreationDate="2011-03-08T21:15:05.623" UserId="1974" />
  <row Id="11117" PostId="8855" Score="1" Text="@Josh — since they do have differences, you can optimize code differently and get different performance on each (some of which the kernel does at runtime, actually). But they're the same instruction set and generally work the same way at a high level." CreationDate="2011-03-08T21:17:57.683" UserId="2511" />
  <row Id="11118" PostId="8848" Text="@user4724: The ca.key is only needed when you sign the certificates. After that only ca.crt is needed. Note that you don't need to sign the keys on the server you can do it on any other computer." CreationDate="2011-03-08T21:23:14.090" UserId="4477" />
  <row Id="11119" PostId="8848" Text="@user4724: The `openssl req` commands also generates 1024 bit keys by default. Use `openssl genrsa -out server.key 4096` and `openssl req -new -key server.key -out server.csr`." CreationDate="2011-03-08T21:23:53.247" UserId="4477" />
  <row Id="11120" PostId="8800" Text="This may be a stupid question, but I don't have fedora-rawhide.repo on my machine and haven't found what it should be in google. Any suggestion?" CreationDate="2011-03-08T21:24:21.187" UserId="3445" />
  <row Id="11121" PostId="8817" Text="Great answer, thanks! I think the perfect solution would have to be more complicated though. With this solution, if a particular folder didn't have any files at the relevant depth or shallower, the path would be filtered out completely by the grep. What you would want is for each path to be truncated to the correct depth, and then not to print any duplicate paths. Would you maybe need to use awk to do that?" CreationDate="2011-03-08T21:27:53.897" UserId="2559" />
  <row Id="11122" PostId="8860" Text="doesn't appear to work. " CreationDate="2011-03-08T21:45:17.357" UserId="5039" />
  <row Id="11123" PostId="8850" Score="1" Text="@tshepang when I say &quot;apt will skip&quot; I mean that apt will skip downloading any source package that is already properly downloaded and unpacked. The `dpkg | awk` command gets a unique list of all packages available in your `/etc/sources.list`." CreationDate="2011-03-08T21:54:23.820" UserId="3309" />
  <row Id="11124" PostId="8777" Text="@mattdm: thanks, updated!" CreationDate="2011-03-08T21:56:59.287" UserId="5485" />
  <row Id="11125" PostId="8850" Text="You wanna add these clarifications to the answer itself?" CreationDate="2011-03-08T21:57:21.103" UserId="688" />
  <row Id="11126" PostId="8860" Text="Hmm. What is $LANG set to by default? Does putting that in your bashrc make it change?" CreationDate="2011-03-08T22:06:10.760" UserId="2511" />
  <row Id="11127" PostId="8800" Text="@jonderry — `yum install fedora-release-rawhide` and then you'll have it." CreationDate="2011-03-08T22:08:30.087" UserId="2511" />
  <row Id="11128" PostId="8800" Text="I eventually found a repo file, installed that, and was getting the same freezing as yesterday. Now, booting into single user mode, I tried `yum install fedora-release-rawhide` and got `Error Downloading Packages: fedora-release-rawhide-14-1.noarch: failure: Packages/fedora-release-rawhide-14-1.noarch.rpm from fedora: [Errno 256] No more mirrors to try.` Is there a way to get around this, or at least roll back?" CreationDate="2011-03-08T22:16:44.323" UserId="3445" />
  <row Id="11129" PostId="8845" Text="This doesn't work for me. I still get metacity as window manager." CreationDate="2011-03-08T22:25:08.260" UserId="688" />
  <row Id="11130" PostId="8800" Text="@jonderry — that basically means it can't contact any of the mirrors defined in your repo file, which makes sense in single user mode (no network). You can bring up the network by hand (`ifup eth0` will probably do it) and then proceed." CreationDate="2011-03-08T22:26:55.813" UserId="2511" />
  <row Id="11131" PostId="8869" Text="Does this happen with a _new_ non-root test user?" CreationDate="2011-03-08T22:28:57.603" UserId="2511" />
  <row Id="11132" PostId="8869" Text="Is this a fresh installation or an upgrade? Can you try creating a new user, and see if these things work." CreationDate="2011-03-08T22:31:00.937" UserId="688" />
  <row Id="11133" PostId="8800" Text="I get `configuration for eth0 not found` and tried `system-config-network` and there were no devices listed." CreationDate="2011-03-08T22:33:44.760" UserId="3445" />
  <row Id="11134" PostId="8869" Text="@mattdm: I am still fairly noob. i did su irc and tested it. So i suppose it happens on ALL non root users? @Tshepang: fresh install. and this happens to users i created last week and a few weeks ago" CreationDate="2011-03-08T22:37:09.663" UserId="4069" />
  <row Id="11135" PostId="8860" Text="C, and putting it in the bashrc made it change. Granted, I didn't log-out and log back in again, but I started a new terminal, and it started with UTF in the LANG (and the locale is set with UTF as well) but the terminal still doesn't show Japanese... " CreationDate="2011-03-08T22:39:35.403" UserId="5039" />
  <row Id="11136" PostId="8800" Text="Is there a way to undo this? I feel like I've messed up my system and can't do anything now." CreationDate="2011-03-08T22:50:06.247" UserId="3445" />
  <row Id="11137" PostId="8800" Text="@jonderry -- so far what you described doesn't seem to have doe anything (other than adding a repo file) so I'm not sure what to undo...." CreationDate="2011-03-08T22:57:21.077" UserId="2511" />
  <row Id="11138" PostId="8800" Text="I did successfully do yum --enablerepo=rawhide upgrade kernel xorg-x11-drv-ati xorg-x11-drv-ati-firmware eventually. That is what caused my inability to boot." CreationDate="2011-03-08T23:00:36.347" UserId="3445" />
  <row Id="11139" PostId="8875" Text="From memory ssmtp is a minimal forwarding only mail 'server' typically setup to use a smarthost. So the password he is referring to is probably his smarthost authentication info." CreationDate="2011-03-08T23:07:14.257" UserId="3459" />
  <row Id="11140" PostId="8875" Text="@Arrowmaster: For my education, is it actually common for a smarthost to require password authentication? In my limited experience, they usually require you to be on the right side of a firewall, or sometimes to have an approved SSL certificate." CreationDate="2011-03-08T23:10:11.340" UserId="885" />
  <row Id="11141" PostId="8800" Text="@jonderry. Ohhhhh. Now I feel a little bit bad that I didn't put a bigger disclaimer on that. Because messing up your system a lot is definitely a possibility. How much stuff did it update? You said you can boot to single-user mode -- can you boot to runlevel 3? (Put &quot;3&quot; on the boot command line instead of &quot;1&quot; or &quot;single&quot;.) I think maybe this should be a new question at this point.... (&quot;Help! I followed mattdm's advice and now my system is screwed up. How do I fix it?&quot;)" CreationDate="2011-03-08T23:12:02.340" UserId="2511" />
  <row Id="11142" PostId="8860" Text="What *does* it show? " CreationDate="2011-03-08T23:12:38.083" UserId="2511" />
  <row Id="11143" PostId="8873" Score="1" Text="What I do is separate `/home` dir from the rest of the system via partitioning. That way, I can mess around with my installation as much as I want, knowing if something goes wrong, it's a simple matter of a reinstall." CreationDate="2011-03-08T23:15:41.487" UserId="688" />
  <row Id="11144" PostId="8873" Score="1" Text="Why not just copy the files somewhere and reinstall? Is it too much work?" CreationDate="2011-03-08T23:16:57.167" UserId="688" />
  <row Id="11145" PostId="8753" Text="Because at least in the past distributions autoconfigured themselves in accordance to hardware - install only needed X11 driver, create /etc/fstab etc. It is not the case with live usb when you want to have some scripts that autoconfigure hardware at each boot." CreationDate="2011-03-08T23:19:45.050" UserId="305" />
  <row Id="11146" PostId="5804" Text="@stribika: would that be a kernel issue or a syslog issue?  Or both?  Seems like syslog needs to be notified that the system has been suspended.. maybe it could do that itself with suspend and resume hooks." CreationDate="2011-03-08T23:24:19.867" UserId="1535" />
  <row Id="11147" PostId="8875" Text="I wasn't even aware that SSL certificates were an option for any 'consumer' accounts that might be used as a smarthost. I have no experience with 'enterprise' smarthosts. Recently I've used a Google account which required password auth. I haven't used my major US ISPs servers in so long that I cant remember if they had any authentication at all, but that is the only case where 'right side of the firewall' might be used." CreationDate="2011-03-08T23:25:35.543" UserId="3459" />
  <row Id="11148" PostId="8800" Text="Haha, yeah, I did put a question up about how to reinstall and keep my home directory, though ideally I can just fix what's wrong. Yes I can get it to boot up with level 3." CreationDate="2011-03-08T23:25:49.367" UserId="3445" />
  <row Id="11149" PostId="8800" Text="@jonderry — how many things updated? It's theoretically possible to roll back a yum transaction (`yum history`), but if there's hundred new packages it's probably not worth it. (Also, I think possibly the next question is &quot;How do I configure the network by hand in Fedora in text mode?&quot;)" CreationDate="2011-03-08T23:28:35.727" UserId="2511" />
  <row Id="11150" PostId="8583" Text="This is a funny question here, because historically Unix and VMS are fierce enemies in direct competition. Like, Mac vs. Windows. Except _more so_, if you can imagine that." CreationDate="2011-03-08T23:34:44.333" UserId="2511" />
  <row Id="11151" PostId="8875" Text="correct, i am using google apps to deliver mail. I dont believe there is a way to setup an auth key. But anyways, ssmtp didnt setitself to 750 so this is something i need to change. " CreationDate="2011-03-08T23:37:50.150" UserId="4069" />
  <row Id="11152" PostId="8872" Text="If you are really concerned, you need to have a security expert examine the system (and your network) directly." CreationDate="2011-03-08T23:38:19.713" UserId="2511" />
  <row Id="11153" PostId="8875" Text="+1. Is there an example app i can run so i can see it fail and realize i need to change this? ATM, really this user account does is modify files on my webserver. All apps i need to run are typically automatically or done through my root account as typically its to restart services, create users and set permissions." CreationDate="2011-03-08T23:43:46.273" UserId="4069" />
  <row Id="11154" PostId="8871" Text="That solved it. Thanks" CreationDate="2011-03-08T23:47:48.250" UserId="4069" />
  <row Id="11155" PostId="8853" Score="1" Text="Use the `bisect` module in Python to do this." CreationDate="2011-03-09T00:00:47.313" UserId="2642" />
  <row Id="11156" PostId="8884" Text="While you're at it, by the way, I suggest setting `PasswordAuthentication no` and `ChallengeResponseAuthentication no`, so that keys are _required_." CreationDate="2011-03-09T00:35:09.913" UserId="2511" />
  <row Id="11157" PostId="8884" Text="And you can also set `AllowUsers acidzombie`, so that only that account can log in." CreationDate="2011-03-09T00:39:24.497" UserId="2511" />
  <row Id="11158" PostId="8885" Text="+1 but wrong. After i did a search and found only that one line, i moved it to the very top of the file. Saved, restart ssh and tried logging in. It still allowed me :(" CreationDate="2011-03-09T00:50:18.267" UserId="4069" />
  <row Id="11159" PostId="8884" Text="@mattdm: Why require keys? I rather not have keys as if someone grabs my computer or somehow gets access to my private keys he could log in. I just have keys going into my account (which really is the same password as root but i type less) then su into it" CreationDate="2011-03-09T00:51:52.850" UserId="4069" />
  <row Id="11160" PostId="8879" Text="ok, trying to do this now. I just scp'ed to my laptop. I tried installing 15, but it threw an error during installation and failed, so I'm going with 14. How do I make sure /home/ is on it's own partition?" CreationDate="2011-03-09T00:58:37.850" UserId="3445" />
  <row Id="11161" PostId="8884" Text="@acidzombie24: Keys because passwords can get brute forced, or stolen should the machine get compromised. Set a passphrase on your key, which will allow you time to change the authorized_keys if it's stolen. " CreationDate="2011-03-09T01:08:10.387" UserId="2511" />
  <row Id="11162" PostId="8885" Score="1" Text="@acidzombie24: Well, that's curious. Anything interesting logged? Just to be double-sure (&quot;Is your computer plugged in?&quot;), you're editing sshd_config, not ssh_config, right?" CreationDate="2011-03-09T01:09:57.357" UserId="2511" />
  <row Id="11163" PostId="8879" Text="@jonderry — can you report the Fedora 15 install error at http://bugzilla.redhat.com/ so we can get it fixed?" CreationDate="2011-03-09T01:11:01.163" UserId="2511" />
  <row Id="11164" PostId="8879" Text="@jonderry — to put /home on its own partition, follow instructions here: http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/s1-diskpartitioning-x86.html, and if that's not clear, ask a new question. :)" CreationDate="2011-03-09T01:11:54.407" UserId="2511" />
  <row Id="11165" PostId="8884" Text="@mattd: Isnt that redundant? Putting a password on my private keys instead of using that same password to log into my server? I rather use a password on server in case i am using someone elses machine." CreationDate="2011-03-09T01:12:58.377" UserId="4069" />
  <row Id="11166" PostId="8886" Score="1" Text="(And FWIW, `ChallengeResponseAuthentication no` is the solution to that &quot;screw case&quot;.)" CreationDate="2011-03-09T01:13:22.533" UserId="2511" />
  <row Id="11167" PostId="8879" Text="I reported it a little while ago." CreationDate="2011-03-09T01:14:11.207" UserId="3445" />
  <row Id="11168" PostId="8884" Text="@acidzombie24: that's definitely more convenient, but how do you know their terribly-maintained windows system doesn't have a botnet with a keylogger looking for ssh passwords? Passphrases are not redundant because they don't ever leave _your_ system. And you can use `ssh-agent` to make them more convenient (ideally with that cleared on screen lock or after a duration)." CreationDate="2011-03-09T01:15:36.667" UserId="2511" />
  <row Id="11169" PostId="8884" Text="@mattdm: Why dont you change your comment to an answer so ppl can upvote them. Good point but then how do i login to my server on a terribly-maintained comp with a keylogger? I looked up ssh-agent and i am unsure how it will be useful. As a note i use winscp, putty and store my passwords unprotected and use putty to log me into certain accounts. One account is my backup user which only has permissions for one directory which is where a cron job copies backups to. (i have windows task run a local script using winscp to retrieve it)" CreationDate="2011-03-09T01:26:45.130" UserId="4069" />
  <row Id="11170" PostId="8885" Text="@mattdm: FFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUU. That was it, sshd_config. I didnt see it nor realize that the sites said to modify ssh**d**. It didnt help when it said fine the lines with XYZ when the said lines are also in ssh_config. Problem solved." CreationDate="2011-03-09T01:35:00.643" UserId="4069" />
  <row Id="11171" PostId="8879" Text="Added the following question: http://unix.stackexchange.com/questions/8887/how-do-i-create-a-separate-partition-for-my-home-directory" CreationDate="2011-03-09T01:37:12.200" UserId="3445" />
  <row Id="11172" PostId="8886" Text="Usually, but not always.  You may want to use PAM auth for S/Key / Opie (which at least some security regimes don't consider a &quot;password&quot;), SecurID, or other authentication mechanisms that `ssh` can't use directly." CreationDate="2011-03-09T01:47:23.050" UserId="5325" />
  <row Id="11173" PostId="8884" Text="@mattdm: Even though i accepted an answer i am still interested in how you would set this up. So right now i use unprotected prv keys to acidzombie which has same password as root. Then loginto root using su and said password. I win putty and winscp. I would like to know what you suggest with your key technique and on logging in when using a machine with a keylogger/other ppls comp" CreationDate="2011-03-09T01:54:39.513" UserId="4069" />
  <row Id="11174" PostId="8884" Text="Simple: I avoid logging on to my machine from other people's computers. If I don't have my laptop, I use my phone. But this is all really a separate question. Another approach would be to use one-time codes or a software/hardware token." CreationDate="2011-03-09T01:59:15.553" UserId="2511" />
  <row Id="11175" PostId="8753" Text="X11 autoconfigures in modern versions, and while `fstab` does not, it's not a big obstacle.  To be honest, the most trouble I've gone to with my crunchbang usb stick is to write a script which writes my `.conkyrc` on the fly to reflect different hardware configurations." CreationDate="2011-03-09T02:05:14.097" UserId="5454" />
  <row Id="11176" PostId="8852" Text="By binary split you mean just split in half once, or keep splitting the halves into smaller halves?  If you just need it once, probably something along the lines of `head -n $(($(cat file | wc -l) / 2)) file` for the first half and `tail ...` for the second half." CreationDate="2011-03-09T02:05:18.017" UserId="434" />
  <row Id="11177" PostId="8884" Text="@mattdm: I was thinking about another question. Alright, ETA is &lt;20mins from now. How would you ever log in via your phone? or create the one time codes?" CreationDate="2011-03-09T02:08:59.527" UserId="4069" />
  <row Id="11178" PostId="8889" Score="2" Text="+1 for a good summary.  Just want to add that, while I agree that having lots of partitions is more hassle that it's worth, having `/home` on a separate partition is really solid advice, imo, almost a no-brainer.  For a single user workstation (laptop or desktop), I will have 1 or more OS partitions, and throw all the remaining space into `/home`." CreationDate="2011-03-09T02:44:00.413" UserId="5454" />
  <row Id="11179" PostId="8852" Text="@marcin: Yes that's what I mean. I've tried `head`/`tail -c`. It slows down dramatically to 2min for *just one* access at offset=8GB, and that's without using `wc`. `wc` alone takes 2min on 8GB (see 3rd comment here: http://unix.stackexchange.com/questions/8444/is-it-possible-in-bash-to-start-reading-a-file-from-an-arbitary-byte-count-offse/8498#8498)... So head/tail split may tehcnically work, but simple `awk`/`sed` search is faster.. 'dd's skip avoids *most* sequentail reads. My max 9sec comes from a file with each Key having 86400 duplicates for which I used a combo of split and seq-reads)" CreationDate="2011-03-09T03:08:13.200" UserId="2343" />
  <row Id="11180" PostId="8889" Text="Thanks for the detailed summary. One question though is that I just finished setting up my reinstall, and I set /home to be on it's own logical volume. Is this the same as putting it on it's own partition? When reinstalling or updating the OS, how do I keep the old home partition with the old data? (I just reinstalled, and did not see an option to use an existing partition as the home partition. I just copied the files over, which was a pain)" CreationDate="2011-03-09T03:17:44.220" UserId="3445" />
  <row Id="11181" PostId="8800" Text="So am I left with replacing the video card? I assume this would work if I can find a card that will support the correct resolution in Fedora 14?" CreationDate="2011-03-09T03:30:25.397" UserId="3445" />
  <row Id="11182" PostId="8892" Score="3" Text="This gives just `1/2/` for me on Debian Squeeze with `GNU grep 2.6.3`. Maybe you should add some more specific details about your distro and grep version." CreationDate="2011-03-09T04:05:36.300" UserId="3459" />
  <row Id="11183" PostId="8889" Text="@jonderry: The only thing you need to watch out for is that you continue to use OSes that understand the particular logical volume management (lowercase &quot;lvm&quot;, if you will) scheme you used during installation. There are actually a bunch of these schemes out in the wild, two of which are Linux's LVM1 and LVM2. They're not all compatible." CreationDate="2011-03-09T04:35:09.993" UserId="138" />
  <row Id="11184" PostId="8892" Text="as @Arrowmaster, tested on Ubuntu 10.10, with grep 2.6.3-3" CreationDate="2011-03-09T04:45:13.197" UserId="5454" />
  <row Id="11185" PostId="8835" Text="cool, 1 question: Is there any redundancy can be used for LVM? (i.e. use LVM instead of software raid?)" CreationDate="2011-03-09T04:49:42.427" UserId="3947" />
  <row Id="11186" PostId="8850" Text="@tshepang updated." CreationDate="2011-03-09T05:06:06.040" UserId="3309" />
  <row Id="11187" PostId="8850" Text="What u mean by *what format they are in*?" CreationDate="2011-03-09T05:09:18.647" UserId="688" />
  <row Id="11188" PostId="8873" Text="Debian actually allows installation over an existing OS (i.e. doesn't format the drive). It's not recommended, and I've never tried it. I can't check now if Fedora does." CreationDate="2011-03-09T05:22:51.890" UserId="688" />
  <row Id="11190" PostId="8894" Text="The command should run replacing \*\*LIST ITEM\*\* with 'Mike', then 'John', then 'purple', then '32'." CreationDate="2011-03-09T05:41:31.163" UserId="5526" />
  <row Id="11191" PostId="8852" Text="Split up the problem into pieces and see which part is the expensive part.  If it is the initial line count that makes it slow, see if you can arrive at the number of lines differently.  You seem to have some knowledge about the dataset, how many of what values...can you use that to figure out where the middle is?  Also, does it have to be the exact middle?  If all you need is an approximate middle, read the size (meta-info lookup, no sequential reads at all!), divide it in half, and start printing the size/2 characters.  Once you reach that point, then print the other half." CreationDate="2011-03-09T05:41:44.907" UserId="434" />
  <row Id="11192" PostId="8894" Text="It would be quite helpful if your sample input included `LIST ITEM` somewhere (assuming it's literal) as well as providing desired output" CreationDate="2011-03-09T05:41:50.270" UserId="1338" />
  <row Id="11194" PostId="8894" Text="@Julien When you say `**LIST ITEM**`, it appears you mean the first field of your CSV, yes?  Also, I believe your desired output is wrong, there is an extra `Johnny` line, yes?" CreationDate="2011-03-09T05:58:16.693" UserId="1338" />
  <row Id="11195" PostId="8762" Text="What about line 73? Also, you might wanna try http://ask.debian.net/. They got Debian Developers there, who deeply understand this stuff." CreationDate="2011-03-09T06:02:16.210" UserId="688" />
  <row Id="11196" PostId="8894" Text="When I say \*\*LIST ITEM\*\* I mean a line from list.txt. Hence an item from the list, or list item." CreationDate="2011-03-09T06:03:40.683" UserId="5526" />
  <row Id="11197" PostId="8894" Text="`awk -F &quot;\&quot;*,\&quot;*&quot; '/32/ {print $1}' data.csv` would yield `Johnny`, unless I am mistaken. " CreationDate="2011-03-09T06:04:39.623" UserId="5526" />
  <row Id="11198" PostId="8894" Text="Just checked, it yields `&quot;Johnny` which makes sense. There will actually be `&quot;` at the beginning of all lines, but that's only a minor problem." CreationDate="2011-03-09T06:09:29.583" UserId="5526" />
  <row Id="11199" PostId="8894" Text="@Julien: gotcha, see answer." CreationDate="2011-03-09T06:12:21.963" UserId="1338" />
  <row Id="11200" PostId="8892" Score="1" Text="Tested on `GNU/Linux` with `GNU grep 2.5.1` and showing result as @Acorn ." CreationDate="2011-03-09T06:14:00.743" UserId="5250" />
  <row Id="11201" PostId="8900" Text="It's not printing the second Johnny on my system... I'm not sure why." CreationDate="2011-03-09T06:26:13.400" UserId="5526" />
  <row Id="11202" PostId="8901" Text="What if both files are very large? Is it just whichever is bigger?" CreationDate="2011-03-09T06:34:30.740" UserId="5526" />
  <row Id="11203" PostId="8899" Text="I see why, now, after reading glenn jackman's answer" CreationDate="2011-03-09T06:35:56.137" UserId="5526" />
  <row Id="11204" PostId="8901" Text="This is great, now what if I only wanted it to match the beginning of the lines in data.csv?" CreationDate="2011-03-09T06:52:27.767" UserId="5526" />
  <row Id="11205" PostId="8848" Text="you mean i have to modify it in 3 places: https://pastebin.com/raw.php?i=KXDG4ASZ is this pastebin line good for using 8196bit? thank you!" CreationDate="2011-03-09T07:00:20.907" UserId="4724" />
  <row Id="11206" PostId="8897" Score="1" Text="Ok, that explains the choice of implementation. Do you know why a lot of people think the three load average are computed over the last 1min/5min/15min ? I think it's wrong, the algorithm computes an average over all the last values. I understand that old values have less importance that new values but nevertheless, values older than 1 minute still have a non-negligible influence in the 1min load average. So in my opinion &quot;1min/5min/15min&quot; have no sense, but i may be wrong (?)" CreationDate="2011-03-09T07:06:00.373" UserId="5528" />
  <row Id="11207" PostId="8892" Text="Works for me with `GNU grep 2.5.4`" CreationDate="2011-03-09T07:07:42.897" UserId="651" />
  <row Id="11208" PostId="8897" Score="3" Text="Because that's what the documentation, and every program that reported them starting with the original BSD `uptime` and `w`, claimed; you had to look at the kernel sources to find out that it wasn't actually true." CreationDate="2011-03-09T07:10:45.313" UserId="5325" />
  <row Id="11209" PostId="8892" Text="@ Zarkdav,its not working for me on GNU grep 2.5.4&#xA;echo &quot;1/2/3/4/5&quot; | grep -oE &quot;^([^/]+/){0,2}&quot;&#xA;1/2/&#xA;" CreationDate="2011-03-09T07:11:58.260" UserId="5298" />
  <row Id="11211" PostId="8903" Text="Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).&#xA;Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).&#xA;Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)." CreationDate="2011-03-09T07:36:48.757" UserId="5529" />
  <row Id="11213" PostId="8892" Text="@sushanth `1/2/` alone is the correct output, actually!" CreationDate="2011-03-09T07:44:13.147" UserId="651" />
  <row Id="11214" PostId="8865" Text="omg....i checked it... using the command: &quot;sleep 10; pkill gnome-scree&quot; - after this, i go to &quot;switch user&quot;...after 10 sec if i press ctrl+alt+f1 i can see my desktop...OMFG... :(" CreationDate="2011-03-09T07:44:57.093" UserId="4724" />
  <row Id="11215" PostId="8897" Score="1" Text="that's really a pity" CreationDate="2011-03-09T07:47:19.807" UserId="5528" />
  <row Id="11216" PostId="8904" Text="Tried by passing the username and password too --  ssh -t -t -o ConnectTimeout=60 user@machine$1 finger | tail -1 | awk '{print$1}' &lt; /home/user/passwd ---- i mean home directory is on NFS, so it mounts to everymachine" CreationDate="2011-03-09T07:53:29.563" UserId="5529" />
  <row Id="11217" PostId="8904" Text="If ssh has any sense, it's using `/dev/tty` to read the password instead of `stdin`; that won't work from cron." CreationDate="2011-03-09T07:57:55.773" UserId="5325" />
  <row Id="11218" PostId="8904" Text="Tried giving -i option but no luck!  ---- ssh -o ConnectTimeout=60 -i /home/subrahmanyam/.ssh/known_hosts machine$1 finger | tail -1 | awk '{print$1}'------WARNING: UNPROTECTED PRIVATE KEY FILE!&#xA;Permissions 0640 for '/home/user/.ssh/known_hosts' are too open.&#xA;It is recommended that your private key files are NOT accessible by others.&#xA;This private key will be ignored.&#xA;bad permissions: ignore key: " CreationDate="2011-03-09T08:09:07.907" UserId="5529" />
  <row Id="11219" PostId="8904" Text="Why is it complaining about `known_hosts`?  But yes, you need to watch out for permissions — the private key file should be mode 0600 or even 0400, owned by you.  If you need some other user to be able to use it as well, you'll have look into POSIX ACLs or similar." CreationDate="2011-03-09T08:12:22.640" UserId="5325" />
  <row Id="11220" PostId="8904" Text="Come to think of it, I saw GSSAPI being offered in there so another possibility is to get a keytab and use it to `kinit` inside the cron job.  That said, keytabs also require the same care in permissions; but `ssh` at least won't complain about them." CreationDate="2011-03-09T08:16:29.843" UserId="5325" />
  <row Id="11221" PostId="8904" Text="got the permissions fixed!...but -i option is for the identity, but i have got only known_hosts under .ssh subrahmanyam@bond:~/.ssh$ ls -l&#xA;total 732&#xA;-rw------- 1 subrahmanyam nonconf 741430 Mar  9 12:58 known_hosts&#xA;subrahmanyam@bond:~/.ssh$  --- how can i generate identity cert so that i can try out even option -i. Thanks for your help in debugging!" CreationDate="2011-03-09T08:18:24.090" UserId="5529" />
  <row Id="11222" PostId="8904" Text="`ssh-keygen` generates personal and host keys.  Passphrase-protected ssh keys are a good idea, in general --- but if your university uses AFS, you won't be able to use ssh key auth (the system has no way to get a token for you, so you won't be able to access your home directory)." CreationDate="2011-03-09T08:30:08.660" UserId="5325" />
  <row Id="11223" PostId="8820" Text="@Gilles, @stribika: I updated it and included links to benchmarks - if you google for 'lvm performance' you find more stuff. Gilles, sure if you regularly want to use lvm features then lvm makes your life easier - but the original poster did not include details about that. For example I have some raid devices with exactly one filesystem where there is really no need for any lvm related stuff." CreationDate="2011-03-09T10:20:17.210" UserId="1131" />
  <row Id="11224" PostId="8911" Text="thanks, i checked again with wireshark, and i didn't see OCSP over HTTP" CreationDate="2011-03-09T10:34:32.843" UserId="4724" />
  <row Id="11225" PostId="8911" Text="You won't see them for http; they're only useful with https, because only https uses certificates." CreationDate="2011-03-09T10:35:53.233" UserId="5325" />
  <row Id="11226" PostId="8832" Text="@Joset can't find `/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux` see question" CreationDate="2011-03-09T10:49:11.150" UserId="4778" />
  <row Id="11227" PostId="8902" Text="The mystery is solved, thanks!" CreationDate="2011-03-09T10:50:57.760" UserId="2559" />
  <row Id="11228" PostId="8915" Score="1" Text="I concur. First time you grep a file, the filesystem code loads the file from disk into cache; when you grep it again shortly afterwards, it hasn't had time to expire from the cache yet. See if there's a way to manually flush the filesystem cache, then compare before and after times." CreationDate="2011-03-09T10:56:12.110" UserId="4949" />
  <row Id="11229" PostId="8918" Text="Thanks.  I agree.  I guess I'm looking for a more compelling reason to not do it that is easy to convey to other sysadmins, and perhaps also some detailed recipes for debugging." CreationDate="2011-03-09T11:34:57.400" UserId="3169" />
  <row Id="11230" PostId="8919" Text="The downvote was someone else.  But which resources are not released?  Do you just mean the process can't perform its normal cleanup?  What about file locks , semaphores, etc.?  Can you elaborate?" CreationDate="2011-03-09T11:39:29.377" UserId="3169" />
  <row Id="11231" PostId="8800" Text="@jonderry — You could replace it, but once that card is working it's probably going to actually be one of the best choices for Linux. The F15 beta is in a month, and final release in two months. My recommendation is to just live with the reduced resolution until then. " CreationDate="2011-03-09T12:26:20.797" UserId="2511" />
  <row Id="11232" PostId="8918" Score="3" Text="the compelling reason is that if you get in the habit of sending SIGKILL, then when you get to a program which will, for example, corrupt an important database for you or your company, you'll really regret it.  `kill -9` has its use, as a last-resort terminator, emphasis on last-resort; admins that use it before the last-resort a) do not understand being an admin too well, and b) shouldn't be on a production system." CreationDate="2011-03-09T12:39:02.643" UserId="4194" />
  <row Id="11233" PostId="8927" Text="Awesome link!  Thanks.  Love the other examples there too." CreationDate="2011-03-09T12:44:27.360" UserId="3169" />
  <row Id="11234" PostId="8927" Text="Yeah, that page has significantly influenced my POSIX shell programming." CreationDate="2011-03-09T12:45:57.333" UserId="2180" />
  <row Id="11235" PostId="8921" Text="Please clarify what you mean by &quot;the kernel's share&quot;." CreationDate="2011-03-09T12:59:37.947" UserId="2511" />
  <row Id="11236" PostId="6434" Text="Google Chromium's seccomp sandboxing does a more reliable thing--syscall interception, effectively. -- http://unix.stackexchange.com/questions/6433/how-to-run-a-process-with-restricted-file-permissions/8929#8929" CreationDate="2011-03-09T13:02:36.340" UserId="4319" />
  <row Id="11237" PostId="8830" Text="@chanchal1987 just use `getopt` ? `man getopt` I've only used getopt in C so I can't really say exactly what the code should look like, but it seems like better than implementing getopt yourself." CreationDate="2011-03-09T13:06:05.467" UserId="29" />
  <row Id="11238" PostId="8846" Text="According to uname, all the version info I can see seems to be &quot;snv_34&quot;.  I don't know how that translates to release version numbers.  Uname also seems to be saying that it's release 5.11, but I was assured it was Solaris 10!  (SunOS hostname 5.11 snv_34 sun4u sparc SUNW,Sun-Blade-1000)  However, whatever the release I'm still running into the bug that I highlighted above and would like to apply the fix!" CreationDate="2011-03-09T13:22:46.617" UserId="5514" />
  <row Id="11239" PostId="8926" Text="This is about the only thing I love about Windows: I can install Google Chrome at school." CreationDate="2011-03-09T13:29:58.253" UserId="5130" />
  <row Id="11240" PostId="8872" Text="@ixtmixilix most of these look like well known kernel, daemon, or or other system processes. " CreationDate="2011-03-09T13:45:29.123" UserId="29" />
  <row Id="11241" PostId="8926" Text="@Raked S: well on Windows using the *&quot;portable xxx&quot;* you can install basically any app without being admin...  Here I could use Chromium but I don't get it: I'm pretty sure there were *.tar.gz* for previous versions of Chrome.  " CreationDate="2011-03-09T13:45:49.717" UserId="5213" />
  <row Id="11242" PostId="8865" Text="@user4724: what did you expect to happen?" CreationDate="2011-03-09T13:53:12.150" UserId="2511" />
  <row Id="11243" PostId="6434" Text="The difference between just trying to intercept something and sanboxing (as in the case of Chromium) is the guarantee of the isolation." CreationDate="2011-03-09T13:56:57.043" UserId="4319" />
  <row Id="11244" PostId="8872" Text="@xenoterracide - they look right, but PS doesn't give enough info, and could be being subverted by a rootkit :-)" CreationDate="2011-03-09T14:00:30.917" UserId="3046" />
  <row Id="11245" PostId="8872" Text="@rory obviously, which is what the answers say though none of them actually really commented on the list." CreationDate="2011-03-09T14:07:03.917" UserId="29" />
  <row Id="11246" PostId="8934" Text="@jsbillings: ok cool +1, sound great.  I'll try to do that." CreationDate="2011-03-09T14:19:27.817" UserId="5213" />
  <row Id="11247" PostId="8934" Text="@jsbillings: just a question: you did it because you had no root access or just to help me?" CreationDate="2011-03-09T14:20:10.967" UserId="5213" />
  <row Id="11248" PostId="8934" Score="1" Text="@SyntaxT3rr0r: I've been trying to get Chrome to work on the RHEL5 systems in my office for a while, so I've gone through similar steps like this before.  Sadly, RHEL5 has more problems than the above, since Chrome uses the API of newer versions of glib, gtk, pango, cairo, etc.  Hopefully you're not stuck with such an ordeal." CreationDate="2011-03-09T14:24:42.210" UserId="3976" />
  <row Id="11249" PostId="8937" Score="1" Text="Do note, however, that logging every single packet marked for dropping is liable to fill up your log filesystem really, really fast..." CreationDate="2011-03-09T14:28:30.240" UserId="4949" />
  <row Id="11250" PostId="8934" Text="@jsbillings: no actually it's to install on my own workstation, which I've got root access for.  Simply I don't like to install &quot;commercial&quot; apps using the root account (I actually don't like the fact that you need to be root to install *.rpm* or *.deb*, my biggest gripe with Linux since 10+ years).  Most of the apps here that do not come from official Debian repos I install them in the user account, without su'ing to root." CreationDate="2011-03-09T14:31:22.497" UserId="5213" />
  <row Id="11251" PostId="6434" Text="Interception through `LD_PRELOAD` cannot be trusted (can be circumvented), but [interception through `ptrace`](http://unix.stackexchange.com/questions/6433/how-to-run-a-process-with-restricted-file-permissions/8939#8939) can." CreationDate="2011-03-09T14:37:19.827" UserId="4319" />
  <row Id="11253" PostId="8937" Text="Agreed, that's why I only logged for a particular source IP." CreationDate="2011-03-09T14:49:20.673" UserId="3976" />
  <row Id="11254" PostId="8934" Text="@SyntaxT3rr0r: I agree.  The google chrome RPM is even more insidious, creating a cron job that perpetually installs a yum repository for google chrome, which could conceivably be used to track users and potentially release other unwanted software on a system if you're not paying close attention to where updates come from." CreationDate="2011-03-09T14:52:08.487" UserId="3976" />
  <row Id="11255" PostId="8819" Text="That's correct: you *can* add a larger disk to the array, but the kernel will only use 2GB of that disk, since it needs partitions of same size in each array. The rest is wasted storage space" CreationDate="2011-03-09T15:08:03.777" UserId="5502" />
  <row Id="11256" PostId="8876" Text="When I manually change the character encoding to utf-8, that's where I do it, but when I start a new gnome-terminal, even from a terminal that has the correct locale, the encoding is still ascii. I'll add more details to the question." CreationDate="2011-03-09T15:45:29.340" UserId="5039" />
  <row Id="11257" PostId="8860" Text="It shows dots. Which, for some reason, cut and paste into firefox as \ufffd " CreationDate="2011-03-09T15:50:14.200" UserId="5039" />
  <row Id="11258" PostId="8860" Text="In that case, I suspect that the system you are on simply doesn't have the right fonts." CreationDate="2011-03-09T15:56:09.113" UserId="2511" />
  <row Id="11259" PostId="8860" Text="It does, because when I manually change to utf-8 everything comes out fine!" CreationDate="2011-03-09T16:03:57.060" UserId="5039" />
  <row Id="11260" PostId="8944" Score="3" Text="If you're doing a recursive grep, the inode and dentry caches make a noticeable difference. In a test, a grep within `/usr/include` took ~16.4 seconds on my system with all caches dropped. With everything cached, about 0.3 seconds. If I drop just the page cache (which holds the buffer cache), it takes ~14.3 seconds. If I leave the page cache and drop the dentry/inode caches, it's about 12 seconds. " CreationDate="2011-03-09T16:07:35.437" UserId="2511" />
  <row Id="11261" PostId="8915" Score="1" Text="@Shadur — there is a way. See http://unix.stackexchange.com/questions/8398/how-to-time-grep-commands-accurately" CreationDate="2011-03-09T16:07:55.357" UserId="2511" />
  <row Id="11262" PostId="8860" Text="Then I am way off base. :)" CreationDate="2011-03-09T16:10:17.227" UserId="2511" />
  <row Id="11263" PostId="8860" Text="By &quot;manually change to UTF-8&quot; I mean that in the gnome-terminal menu, I select utf-8 encoding, as Richard mentioned." CreationDate="2011-03-09T16:14:30.593" UserId="5039" />
  <row Id="11264" PostId="8860" Text="Evidently, I needed to completely log out and back in again. Now the locale seems to have worked... I'm not sure why it didn't before, but whatever." CreationDate="2011-03-09T16:24:25.093" UserId="5039" />
  <row Id="11265" PostId="8944" Text="@mattdm, that's interesting. How did you drop the caches?" CreationDate="2011-03-09T16:35:27.867" UserId="5550" />
  <row Id="11266" PostId="8852" Text="Marcin, thanks. I think my main problem was that I didn't plan it well enough.. Finding each key was *relatively* straight forward (1 second per key), but chasing through the duplicates got messy..I located the first/last duplicate-key, by binary-doubling *out* looking for a non-dupe, and then used a sequential read to find the correct first/last key line.. This bogs down when there are thousands of lines with the same YYYY-MM-DD key (eg logging one line per second.)...If you are interested, here is the script: http://paste.ubuntu.com/577919/" CreationDate="2011-03-09T16:46:21.873" UserId="2343" />
  <row Id="11267" PostId="8846" Text="Then I doubt you're running Solaris 10. It looks more like Solaris Express. Run `cat /etc/release` to check your exact version. Solaris 10u9 will include `Oracle Solaris 10 9/10 s10x_u9wos_14a` on the first line." CreationDate="2011-03-09T16:56:01.920" UserId="3309" />
  <row Id="11268" PostId="8860" Text="Before, it was only getting set in the shell _inside_ gnome-terminal. Now, it's getting set in the environment under which gnome-terminal itself runs." CreationDate="2011-03-09T17:08:51.557" UserId="2511" />
  <row Id="11269" PostId="8944" Text="@JRW http://unix.stackexchange.com/questions/8398/how-to-time-grep-commands-accurately/8399#8399 :)" CreationDate="2011-03-09T17:09:37.203" UserId="2511" />
  <row Id="11270" PostId="8644" Text="Not an answer but a reference outlining some of the current problems with the state of the art: https://lwn.net/Articles/428584/" CreationDate="2011-03-09T17:18:40.413" UserId="2511" />
  <row Id="11271" PostId="8860" Text="I thought that if I explicitly ran terminal from a shell that had locale set, then it would start a new process. evidently, it tried to outsmart me. I *HATE* it when computers try to be &quot;helpful&quot;. arg... thanks." CreationDate="2011-03-09T17:33:38.403" UserId="5039" />
  <row Id="11272" PostId="8901" Text="@Julien, this might work for you too: `grep -f list.txt data.csv | cut -d, -f1`, but you only get &quot;Johnny&quot; once. It's a more lightweight pipeline but I can't tell if it would meet your requirements." CreationDate="2011-03-09T17:35:38.487" UserId="4667" />
  <row Id="11273" PostId="8860" Text="gnome-terminal defaults to using *one* process in which all the windows run, in order to save resources. So that's how it was tricking you there." CreationDate="2011-03-09T17:54:37.177" UserId="2511" />
  <row Id="11274" PostId="8937" Score="1" Text="Adding `-m limit --limit 4/min --limit-burst 10` also helps." CreationDate="2011-03-09T18:02:18.360" UserId="4477" />
  <row Id="11275" PostId="8945" Text="Which version of Red Hat, by the way? RHEL5?" CreationDate="2011-03-09T18:07:48.977" UserId="2511" />
  <row Id="11276" PostId="8948" Text="I'm skeptical about needing to log out and in again for this particular setting, which is system-wide. (That goes for pretty much everything in sysctl...)" CreationDate="2011-03-09T18:10:15.543" UserId="2511" />
  <row Id="11277" PostId="8915" Score="2" Text="There's no practical difference, but it's a kernel cache, not the filesystem." CreationDate="2011-03-09T18:40:29.743" UserId="2827" />
  <row Id="11278" PostId="8820" Text="@maxschlepzig: Thank you. Even if I don't regularly use LVM features, I find it valuable for administration tasks such as moving a filesystem to a different disk (with LVM, you can do it without unmounting and with no risk of overwriting the wrong partition by mistake)." CreationDate="2011-03-09T19:09:06.603" UserId="885" />
  <row Id="11279" PostId="8860" Text="Yeah, I figured that out AFTER the fact... B-/" CreationDate="2011-03-09T19:09:47.070" UserId="5039" />
  <row Id="11280" PostId="8819" Score="1" Text="@stribika: Use it for whatever you like, just as if you had extra room on a single disk of a RAID1+0 array. If you have two disks that are larger, you can use RAID1 on the rest of the space." CreationDate="2011-03-09T19:10:04.823" UserId="885" />
  <row Id="11281" PostId="8835" Text="@c2h2: Technically, yes, LVM includes features that resemble RAID-0 and RAID-1 (logical volumes spanning over multiple physical volumes, and mirroring). For more advanced RAID modes, you need something else. Even for RAID-0 and RAID-1, mdraid is easier and (I think) performs better." CreationDate="2011-03-09T19:12:41.967" UserId="885" />
  <row Id="11282" PostId="8930" Text="In that sequence of commands, I see that there many places where you used superuser powers when you didn't need to (e.g. `cp` and `make`). Why do that? I don't know how to build the kernel, so maybe that's how it's done. Where did you get your instructions?" CreationDate="2011-03-09T20:02:46.397" UserId="688" />
  <row Id="11283" PostId="8860" Text="Under Ubuntu 10.04, you can set environment variables for the whole session from `~/.profile` — [not `~/.bashrc`](http://askubuntu.com/questions/13077/is-profile-sourced-by-bash/13182#13182), and [not `~/.bash_profile` either](http://superuser.com/questions/183845/which-setup-files-should-be-used-for-setting-up-environment-variables-with-bash/183956#183956)." CreationDate="2011-03-09T20:19:11.037" UserId="885" />
  <row Id="11284" PostId="8930" Text="You're missing one of the necessary drivers for your boot disk. You typically need a driver for your chipset as well as various generic disk drivers, and of course the partition and filesystem drivers. Since you're using an initramfs, they can be compiled as modules. You were probably too eager removing things during `make menuconfig`. Review the differences between your `.config` and the one you started with, or start again (you can run `make oldconfig` instead of `make menuconfig` to just upgrade the config file to the new kernel version)." CreationDate="2011-03-09T20:29:35.723" UserId="885" />
  <row Id="11285" PostId="8919" Text="Looks like SysV shared memory and semaphores will have to be cleaned up, at least.  http://archives.postgresql.org/pgsql-general/2006-10/msg01065.php" CreationDate="2011-03-09T20:36:02.240" UserId="3169" />
  <row Id="11286" PostId="8921" Text="Your question makes no sense: the kernel takes whatever memory it needs, no more, no less. Is there a specific feature you're trying to tune? (There are settings you can tune, but the defaults are right in &gt;99.99% of use cases.)" CreationDate="2011-03-09T20:36:33.020" UserId="885" />
  <row Id="11287" PostId="8899" Text="@Julien: Your [proposed edit](http://unix.stackexchange.com/suggested-edits/187) should have been a comment. Post it as a comment here if you still have a question about geekosaur's answer." CreationDate="2011-03-09T20:42:43.590" UserId="885" />
  <row Id="11288" PostId="8877" Text="nice footnote. +1" CreationDate="2011-03-09T20:42:52.233" UserId="1389" />
  <row Id="11289" PostId="8882" Text="very informative +1" CreationDate="2011-03-09T20:43:50.377" UserId="1389" />
  <row Id="11290" PostId="8880" Text="hmm, i'm not sure this really helps me, but i didn't downvote you" CreationDate="2011-03-09T20:44:29.830" UserId="1389" />
  <row Id="11291" PostId="8881" Text="If this is a new machine, it may have [4kB sectors](http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/index.html), which is a relatively new thing. It should be supported anyway though (at worst with a performance penalty). To see what's going on, please show the output of `fdisk -l /dev/sda` (run as root, from a live CD/USB if you can't boot the installed system)." CreationDate="2011-03-09T20:52:29.200" UserId="885" />
  <row Id="11292" PostId="8922" Score="1" Text="To find out the location of the files, make some change and run `find ~/.[!.]* -mmin -5`." CreationDate="2011-03-09T20:53:50.133" UserId="885" />
  <row Id="11293" PostId="8919" Score="1" Text="This answer is part confusing and part wrong. `kill -9 1` is just ignored under most unices. There's no need to avoid `kill -9` for `mount`, but no point in it either. I don't know what you mean by “reverse the order of the processes”. `kill -9` does stop (as in, kill) a process, without giving it a chance to complain, however [the killing won't happen immediately if the process is in a non-interruptible system call](http://unix.stackexchange.com/q/5642/885). Killing a process with `kill -9` does release most resources, but [not all](http://unix.stackexchange.com/questions/8916/8927#8927)." CreationDate="2011-03-09T21:01:36.553" UserId="885" />
  <row Id="11294" PostId="77" Text="Sure. Let's say each filename has on average 10 characters. Then the storage for 1000 file names alone would take almost 10KB as space. However, it depends also on the file system. Some file systems have limits on the number of files in a directory." CreationDate="2011-03-09T21:10:48.287" UserId="5" />
  <row Id="11295" PostId="8898" Text="Does Minix 3.1 work on ARM processors? All I see on the website is that a port is “underway”." CreationDate="2011-03-09T21:11:22.563" UserId="885" />
  <row Id="11296" PostId="8947" Text="What level of functionality do you expect from the domain server? That's what the answer about the samba version will depend on ..." CreationDate="2011-03-09T21:21:09.987" UserId="5462" />
  <row Id="11297" PostId="8806" Text="Yes... add here your solution to your question. It might help someone." CreationDate="2011-03-09T21:33:26.630" UserId="5" />
  <row Id="11298" PostId="8861" Text="I guess `mdadm --re-add` isn't what you're looking for. Did you do a memory test recently? Do you have any log message related to the array failure?" CreationDate="2011-03-09T21:48:16.170" UserId="885" />
  <row Id="11299" PostId="8848" Text="@user4724: I don't know how to do it with only `openssl req`. That doesn't accept the key size at the end for me. So I generate the key and the certificate request in 2 steps with `openssl genrsa` and `openssl req`." CreationDate="2011-03-09T22:15:36.013" UserId="4477" />
  <row Id="11300" PostId="8951" Text="Someone didn't like this answer. Care to comment why? I _am_ on drugs right now after my wisdom tooth removal, so it's possible I'm way off base. :)" CreationDate="2011-03-09T22:16:12.243" UserId="2511" />
  <row Id="11302" PostId="5804" Text="@intuited: To me it seems like the kernel is at fault. The rel_time values don't &quot;skip&quot; the time while the system was suspended. I find it strange however that the skew starts before the suspend really happens. The values are already wrong for `Freezing user space processes` which is clearly done before sleep." CreationDate="2011-03-09T22:45:13.327" UserId="4477" />
  <row Id="11303" PostId="1888" Text="Similar error for me. Keyboard shortcuts would not work for some reason. I am disabling Desktop effects now and I will test." CreationDate="2011-01-05T15:52:45.140" UserId="3463" />
  <row Id="11304" PostId="8881" Text="@Gilles. thanks for the comment! yes, it's a new machine. I can boot the system and here is the fdisk output: http://pastebin.com/wq9bYASx" CreationDate="2011-03-09T22:56:25.803" UserId="5521" />
  <row Id="11308" PostId="8881" Text="Ok, your partition table looks right, but cfdisk really doesn't like partitions that aren't aligned on a sector boundary. Fdisk can cope, and the kernel doesn't mind. Is there anything apart from cfdisk that doesn't work? If not, I'd just call it a limitation of cfdisk." CreationDate="2011-03-09T23:36:20.730" UserId="885" />
  <row Id="11309" PostId="8881" Text="@Gilles: I had missed the link in your comment. Very interesting. As far as I understanding by reading there, I could ignore the problem, which seems to be just a missing feature of fdisk. Is that right? " CreationDate="2011-03-09T23:36:26.587" UserId="5521" />
  <row Id="11310" PostId="8881" Text="@Alessandro: After seeing the fdisk output, I don't know if your problem is related to 4kB sectors. Though *maybe* the contents of the article is relevant for performance." CreationDate="2011-03-09T23:37:58.700" UserId="885" />
  <row Id="11311" PostId="5804" Score="1" Text="@stribika: My working theory on that is that those events are not pushed out to syslog until after the resume, because they occur after syslog itself has been suspended." CreationDate="2011-03-09T23:48:26.217" UserId="1535" />
  <row Id="11312" PostId="5804" Text="@stribika: Also, you're right about the kernel being &quot;at fault&quot;: as I understand it (after reconsidering), syslog just prefixes the absolute timestamp to the text (starting with `[12345.6789]..`) emitted by the kernel, so it's doing things correctly, subject to the issues addressed by my last comment.  I'm not sure what the kernel should really be doing here; it depends on what those startup-relative timestamps are meant to indicate.  *Running time* (as opposed to time since boot) may be meaningful in some contexts.  I guess ideally there would be a reliable record of both of those values." CreationDate="2011-03-09T23:53:22.343" UserId="1535" />
  <row Id="11313" PostId="8880" Text="@ixtmixilix: I'm afraid there is no helpful answer in the sense that you find out whether one of the processes is malicious. The least we can do, though, is to explain to you why ;)" CreationDate="2011-03-10T01:41:26.330" UserId="5462" />
  <row Id="11314" PostId="8697" Text="Yes, I have done all that. I'm using Gnome. I have no idea what it can be..." CreationDate="2011-03-10T02:24:10.103" UserId="5432" />
  <row Id="11315" PostId="8896" Text="+1 but i like to mention tiger didnt pick up my root being readable and it definately did not pick up /root/.my.cnf being readable. which had my root mysql password." CreationDate="2011-03-10T03:18:22.600" UserId="4069" />
  <row Id="11316" PostId="8895" Score="1" Text="It's an [exponential moving average](http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average) (EMA), also used for example in finance (technical analysis). The advantages are presumably the same - the EMA can be calculated from just the previous and current value, and recent values are given more weight than older values. In a standard MA the oldest value contribute just as much to the average as the most recent one, and sometimes we think that the more recent values are more important." CreationDate="2011-03-10T03:57:13.897" UserId="3944" />
  <row Id="11324" PostId="8930" Text="@Tshepang: Yes, cp and make may not require sudo. I thought since it is kernel related operations, superuser power may be required...which now I realize was not required. Well, I compiled this list of instructions from a few sites, and in the past it has worked correctly." CreationDate="2011-03-10T04:44:35.550" UserId="5168" />
  <row Id="11325" PostId="8930" Text="@Gilles: I just copied the oldconfig, renamed and used it for the new kernel. I did not do any change. However I did notice the .config changed after the build process was complete. Not sure when that change happened." CreationDate="2011-03-10T04:47:08.730" UserId="5168" />
  <row Id="11326" PostId="503" Text="You could have just changed it back to what it was before." CreationDate="2011-03-10T05:24:24.570" UserId="1942" />
  <row Id="11327" PostId="8896" Score="1" Text="fair enough, but `/root` being world-readable isn't necessarily by itself a security problem, and if you create a file yourself and put sensitive data in it, you really need to take responsibility for locking it down yourself.  You can, of course, edit tiger's rules for future checks/deployments, which is something I do." CreationDate="2011-03-10T05:33:37.740" UserId="5454" />
  <row Id="11328" PostId="8968" Text="Regarding packages: On the Arch system, I had a zillion manually compiled programs, huge science apps, while this fairly fresh Ubuntu setup has maybe 1/4 the stuff (so far).  Nothing is stuff that would run all the time behind the scenes, besides normal networking, X11 etc. (AFIK!)" CreationDate="2011-03-10T06:05:33.377" UserId="2874" />
  <row Id="11329" PostId="8968" Text="I see no /etc/*big* never mind that exact file name.  Ubuntu changes many of the things in /etc relative to debian." CreationDate="2011-03-10T06:07:00.690" UserId="2874" />
  <row Id="11330" PostId="8968" Text="@dar I meant **/boot/config...**." CreationDate="2011-03-10T06:33:52.030" UserId="688" />
  <row Id="11331" PostId="8971" Text="My visual effects are already off, as I prefer to hoard CPU and memory for science and image processing.  Powertop looks interesting - it might help." CreationDate="2011-03-10T06:50:35.693" UserId="2874" />
  <row Id="11332" PostId="8972" Text="Thanks @Dharmit Shah, It's pretty usefull :)" CreationDate="2011-03-10T07:03:07.617" UserId="3349" />
  <row Id="11333" PostId="8951" Text="Probably for not taking into account /etc/gshadow" CreationDate="2011-03-10T07:15:02.007" UserId="1078" />
  <row Id="11334" PostId="8967" Score="1" Text="What does `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` show you on each system?" CreationDate="2011-03-10T07:53:05.433" UserId="3082" />
  <row Id="11336" PostId="8974" Text="Nope, didn't work" CreationDate="2011-03-10T09:15:55.470" UserId="1467" />
  <row Id="11337" PostId="8394" Text="@mattdm I have accepted your answer as it is the best solution in the context of the question. However, in the end we decided to recreate the directory at the beginning of the scripts that rely on it. `mkdir -p /tmp/workfolder`" CreationDate="2011-03-10T09:26:00.810" UserId="2163" />
  <row Id="11338" PostId="8388" Text="@maaartinus The data isn't exactly of value. I know I didn't say it in the question, but the data is purely the results of the previous run of some scripts so that the subsequent run can calculate a relative value based upon a previous run. If this data gets lost from time to time, the scripts are already written to not print data if they can't perform the comparison, and it doesn't matter if the scripts don't produce data once every 2 weeks - the scripts are run at least once every 5 minutes." CreationDate="2011-03-10T09:28:06.190" UserId="2163" />
  <row Id="11339" PostId="8978" Text="Thank you for your answer. But does this give the first entry in the df-output (mounted on &quot;/&quot;) enough space back? " CreationDate="2011-03-10T09:35:26.173" UserId="5582" />
  <row Id="11340" PostId="8978" Text="@acme: Not on /. This creates a big partition where you can put your backups. If you want to have more space on / you need to delete and recreate that partition too. You will need a livecd to do that." CreationDate="2011-03-10T09:43:05.393" UserId="4477" />
  <row Id="11341" PostId="8978" Text="Ok thank you! Disk space for the backup files is not a problem as they are rsync'd to another server and deleted afterwards. OpenVZ needs some temp disk space for dumping though and I guess it's using some directory below root. But maybe I can also tell OpenVZ to use a different tmp-dir (on /srv)." CreationDate="2011-03-10T09:45:37.253" UserId="5582" />
  <row Id="11342" PostId="8388" Text="I see... but (from your other comment) it looks like you don't need the data themselves, you only need the directory to exist. I start all scripts by creating their destination directories (if applicable), since while testing I often remove them. I like my scripts to be as self-contained as possible." CreationDate="2011-03-10T09:49:59.157" UserId="5116" />
  <row Id="11343" PostId="8974" Text="try using a sniffer and see if you get some kind of error, or what is the difference between the successful clients and lftp. " CreationDate="2011-03-10T10:00:13.143" UserId="4201" />
  <row Id="11344" PostId="8975" Text="You can probably do something very simple instead. Your root directory surely contains something what not really belongs there. Either reconfigure the program working with it or move the whole directory to another partition and create a symlink pointing there instead." CreationDate="2011-03-10T10:02:47.557" UserId="5116" />
  <row Id="11345" PostId="8969" Text="and CPU-hungry == heat ...." CreationDate="2011-03-10T10:23:35.607" UserId="2567" />
  <row Id="11346" PostId="8741" Text="Thanks for the links Iain." CreationDate="2011-03-10T11:02:49.593" UserId="4950" />
  <row Id="11347" PostId="8951" Text="I'll add that. But you can actually do a whole lotta ignoring gshadow and still have things work. " CreationDate="2011-03-10T11:23:13.290" UserId="2511" />
  <row Id="11348" PostId="8846" Text="/etc/release says: Solaris Nevada snv_34 SPARC ... Assembled 22 February 2006" CreationDate="2011-03-10T11:30:43.597" UserId="5514" />
  <row Id="11349" PostId="8974" Text="Try /disabling/ passive mode `set ftp:passive-mode off`. I've had more trouble with it on than off lately." CreationDate="2011-03-10T11:32:42.273" UserId="4949" />
  <row Id="11350" PostId="8974" Text="Not related to the actual problem, but whenever you have the choice, default to sftp rather than straight ftp. Doesn't suffer from the active/passive crap, works anywhere you can make an SSH connection to, and secure data transmission to boot." CreationDate="2011-03-10T11:34:23.223" UserId="4949" />
  <row Id="11351" PostId="8937" Text="I add this rule in my iptables &quot;sudo iptables -A INPUT -p icmp -j LOG&quot; but when I ping my host to entry added to /var/log/messages" CreationDate="2011-03-10T12:03:27.967" UserId="184" />
  <row Id="11352" PostId="8977" Text="So, is it the updated `python` ( that is, python 3) which is set to conflict with python&lt;3, or is it `compiz-fusion-gtk` doing that? If it's the new python, that leaves @Blender out of luck, as long as anything still requires python2, right?" CreationDate="2011-03-10T13:10:02.927" UserId="2511" />
  <row Id="11353" PostId="8977" Text="No. Updated packages requiring python 2 will specify a dependency on `python2`. Updated packages requiring python 3 will specify a dependency on `python`. Specifying a conflict with `python&lt;3` is just a way to force you to update your system before installing, I guess." CreationDate="2011-03-10T13:13:12.347" UserId="4355" />
  <row Id="11354" PostId="8977" Text="Ahh, the nuances of packaging systems. So where is &quot;_python and python2 are in conflict (python&lt;3). Remove python2?_&quot; coming from?" CreationDate="2011-03-10T13:17:52.733" UserId="2511" />
  <row Id="11355" PostId="8977" Text="That conflict is coming from the `python2` package, which is (naturally) in conflict with older `python` packages. Upgrade `python` first, and all should be well, hopefully." CreationDate="2011-03-10T13:29:13.300" UserId="4355" />
  <row Id="11356" PostId="8977" Text="And the `python2` package is getting pulled in by one of the packages in the `compiz-fusion-gtk` group." CreationDate="2011-03-10T13:29:36.967" UserId="4355" />
  <row Id="11357" PostId="8977" Text="Ah, right, that makes perfect sense. Thanks." CreationDate="2011-03-10T13:33:47.963" UserId="2511" />
  <row Id="11358" PostId="8937" Text="@Am1rr3zA: what's the question?  I don't understand your last comment.  If you're using the syntax `-A INPUT`, that appends to the end of the INPUT table, so any rule that already accepts or rejects the packet would catch it." CreationDate="2011-03-10T13:34:12.407" UserId="3976" />
  <row Id="11359" PostId="8861" Text="@Gilles: I don't have logs from before the crash since they were stored on the failed array. And I don't think I can fix it with the standard mdadm interface. Any sort of operation that involves a resync is impossible with 1 of 4 disks. I think the 3 &quot;failed&quot; disks contain enough information to restore everything. For example I can read them with dd. The &quot;good&quot; one could be out of sync. I will do a memtest but that machine is now  working perfectly with a new disk." CreationDate="2011-03-10T13:47:30.757" UserId="4477" />
  <row Id="11360" PostId="8989" Score="1" Text="The reference bittorrent implementation is written in Python, by the way." CreationDate="2011-03-10T13:54:43.293" UserId="2511" />
  <row Id="11361" PostId="8991" Text="@sahid: Thanks. The Wikipedia page must be out of date or something. It lists Vuze as proprietary (or partially proprietary), but it is in Debian main." CreationDate="2011-03-10T13:58:10.687" UserId="4671" />
  <row Id="11362" PostId="8991" Score="2" Text="If you're using debian main, try `transmission-daemon` and use `transgui` as the frontend. As I spend a great deal of time physically away from my home system I find it pretty useful to have the download agent accessible via commandline when I need it." CreationDate="2011-03-10T14:04:31.167" UserId="4949" />
  <row Id="11363" PostId="8987" Text="First of all, thanks for your answer ( thank you as well, @mattdm ). It seems this method works. However, I'm still confused about the difference between &quot;nice&quot; and &quot;priority&quot; : both are displayed by &quot;top&quot; but the value quoted for nice is the one I have to set for priority. It looks a bit strange to me. Also, does a bigger priority (say 39 instead of 20) mean a less important process as it does for nice? Thank you." CreationDate="2011-03-10T14:10:03.530" UserId="5588" />
  <row Id="11364" PostId="8980" Score="1" Text="A friend of my friend recently nuked all his data by running `mdadm --create` while trying to achieve the same thing. I don't know how to do it correctly but that's not the way." CreationDate="2011-03-10T14:25:41.053" UserId="4477" />
  <row Id="11365" PostId="8987" Text="The 'NI' nice priority in top is what would be set by the limits `priority` setting.  This will be the default priority of any processes for that user/group when they log in.  You can only set this to be between -20 and 20.  The 'PR' value in top is the actual scheduler priority, which is determined by several factors by the kernel's scheduler." CreationDate="2011-03-10T14:26:30.953" UserId="3976" />
  <row Id="11366" PostId="503" Text="@HandyGandy he didn't know the original root password. He just had sudo rights to run passwd." CreationDate="2011-03-10T14:28:11.637" UserId="4355" />
  <row Id="11367" PostId="8987" Text="Also, yes, a higher priority means that it is less likely to be scheduled to get CPU cycles." CreationDate="2011-03-10T14:32:58.717" UserId="3976" />
  <row Id="11368" PostId="8991" Score="1" Text="I'm surprised there anything simpler than Transmission. (disclaimer: I've never used anything else)" CreationDate="2011-03-10T14:36:07.923" UserId="688" />
  <row Id="11369" PostId="8993" Text="Thank you for your detailed answer. Say I'd have enough space on `/` for `/home` can't I just switch the mount point from `/dev/sda9 /home ext3 defaults 0 2` to `/dev/sda9 /srv ext3 defaults 0 2` without creating new partions and moving stuff around? Another strange thing: `/home` has only one root-folder which is empty. I don't know why it uses 181M as seen in the output." CreationDate="2011-03-10T14:43:21.600" UserId="5582" />
  <row Id="11370" PostId="8995" Text="I'm also using deluge. It has a nice UI with a good deal of features. The Blocklist plugin that comes by default is also convenient. Haven't been looking for anything else." CreationDate="2011-03-10T14:46:01.113" UserId="250" />
  <row Id="11371" PostId="8981" Text="yep, but reinstallation is not required.&#xA;Also, you might like `--menuconfig` switch." CreationDate="2011-03-10T14:48:24.217" UserId="4523" />
  <row Id="11372" PostId="8915" Text="@pboin Ok, I took a small shortcut. Of course it is the part of the kernel that handles the filesystem that does the caching not the filesystem (on the disk) in itself. Pedantic but true. :)" CreationDate="2011-03-10T14:49:07.710" UserId="4719" />
  <row Id="11373" PostId="8982" Text="I edited the title. Hope that makes it clearer." CreationDate="2011-03-10T14:50:40.843" UserId="250" />
  <row Id="11374" PostId="8993" Text="From the outputs, `/` is completely full despite the discrepancy in total and used space - and I'm seeing a similar discrepancy in `/home`. I'd recommend you look //very// carefully at what `/home` actually contains ( `find /home/ -ls` would be a good start. ) " CreationDate="2011-03-10T14:51:20.993" UserId="4949" />
  <row Id="11375" PostId="8993" Text="As far as I understood `/home` contains `/srv` (which I could transfer to somewhere else and move it again to `/srv` when it has its own partition). And `/home` really contains only an empty dir `root` and an empty dir `lost+found`. So couldn't I just change `/home` to `/srv` in fstab (after freeing some space in `/`)? " CreationDate="2011-03-10T14:58:34.520" UserId="5582" />
  <row Id="11376" PostId="8985" Text="I agree that using cgroups is an excellent way to limit other people from hogging all the CPU cycles on your computer.  Sadly, the systems I support (RHEL5) don't have kernels that support it, so I have to stick with adjusting the priority.  Once we update to RHEL6, I'm sure we'll have some fairly complex cgroups settings." CreationDate="2011-03-10T15:00:11.297" UserId="3976" />
  <row Id="11377" PostId="8974" Text="passive mode on or off seems to make no difference, and unfortunately I have no ssh access" CreationDate="2011-03-10T15:03:28.207" UserId="1467" />
  <row Id="11378" PostId="8999" Text="Why? What would it do?" CreationDate="2011-03-10T15:05:38.343" UserId="2511" />
  <row Id="11379" PostId="8999" Text="@matt I'm looking for the equivalent of the one that comes bundled with Windows. I want the GUIness of it all." CreationDate="2011-03-10T15:08:05.050" UserId="688" />
  <row Id="11380" PostId="8999" Text="Concur with @matt. What &quot;gui-ish&quot; things do you want the GUI client do do that you can't get by running telnet in a terminal emulator?" CreationDate="2011-03-10T15:09:57.357" UserId="4949" />
  <row Id="11381" PostId="8999" Text="@Shadur: I don't know. I just want to avoid having to go to the manpage to see how the thing works... the GUI factor :)" CreationDate="2011-03-10T15:11:01.007" UserId="688" />
  <row Id="11382" PostId="8999" Score="3" Text="You realize we're going to have to revoke your unix geek license with that admission ;) " CreationDate="2011-03-10T15:12:37.777" UserId="4949" />
  <row Id="11383" PostId="8999" Text="@Shadur: hehe, who says Unix is only for geeks." CreationDate="2011-03-10T15:14:47.230" UserId="688" />
  <row Id="11384" PostId="9002" Text="@Shadur - Thanx for the response, busy setting up a SVN repository, just thought maybe maybe there's a chance of getting it back" CreationDate="2011-03-10T15:15:50.923" UserId="1245" />
  <row Id="11385" PostId="8989" Text="@mattdm: Yes, I used to use something called btdownloadcurses which is in the bittorrent package in Debian. I gave up using it since it seemed to error out rather frequently. I forget the error message, but it couldn't connect to the tracker or something. I never did figure out what the problem was. Qbittorrent for example does not have that problem." CreationDate="2011-03-10T15:23:22.820" UserId="4671" />
  <row Id="11386" PostId="9004" Text="@thanks, no unfortunately it wasn't created as a inode, thanks for the response." CreationDate="2011-03-10T15:24:35.707" UserId="1245" />
  <row Id="11387" PostId="8997" Text="@simon: Would you care to elaborate on what decentralized torrent software is and how it is different from regular BitTorrent clients? I thought BitTorrent was decentralized by definition. I looked at the Tribler FAQ. They have http://www.tribler.org/trac/wiki/faq#WhatmakesTriblerdifferentfromothers but it didn't mean much to me." CreationDate="2011-03-10T15:27:56.890" UserId="4671" />
  <row Id="11389" PostId="8997" Score="1" Text="@Faheem: the significant difference is that you don't need trackers (though Tribler can make use of them) -- you can source content directly from other users.  This means, amongst other things, that there is no need for sites like thepiratebay.org, which can be taken down, compromised, or have legal action brought against them, etc." CreationDate="2011-03-10T15:38:41.013" UserId="5454" />
  <row Id="11390" PostId="9008" Text="ha! same answer at exactly the same time!  +1 for handling subshells, but do you have any answer to the pipes problem?  (see my link to the SO question)" CreationDate="2011-03-10T15:47:44.250" UserId="5454" />
  <row Id="11391" PostId="8997" Text="@simon: I see, thanks for the explanation." CreationDate="2011-03-10T16:01:28.937" UserId="4671" />
  <row Id="11392" PostId="9010" Text="@fred: Thanks, that's interesting." CreationDate="2011-03-10T16:01:55.800" UserId="4671" />
  <row Id="11393" PostId="8996" Score="2" Text="rTorrent is king for a daemonised setup -- see this excellent article: http://kmandla.wordpress.com/2007/05/02/howto-use-rtorrent-like-a-pro/" CreationDate="2011-03-10T16:05:06.997" UserId="5454" />
  <row Id="11394" PostId="8987" Text="Ok, thanks a lot for this disambiguation. BTW, I haven't tried the other methods (involving `and` or `cgroup`) which might be better in other situations than mine (need of a continuous check, or management of many users -which is a bit too much in my case)." CreationDate="2011-03-10T16:05:29.260" UserId="5588" />
  <row Id="11395" PostId="9002" Text="I usually just tarball my work and delete that tarball every once in a while. But I'd seriously consider `git`, `hg`, of `svn` to backup your code. You can even schedule it to commit every few hours with `cron` if you have to." CreationDate="2011-03-10T16:38:59.247" UserId="3032" />
  <row Id="11396" PostId="8981" Text="yeah, I know it's not strictly required. But for some reasons I just dislike having to go through initrd when one can directly boot the kernel. Personal preference, I guess. I'll edit my answer." CreationDate="2011-03-10T16:39:28.137" UserId="5589" />
  <row Id="11397" PostId="8728" Text="Do you have sudo set-up to prompt for password every time it is used? My configuration allows continuous use of sudo as long as it was successfully used in the last 2~3 minutes so it only prompts for the sudo before the pipe." CreationDate="2011-03-10T17:41:06.007" UserId="5453" />
  <row Id="11398" PostId="9012" Score="1" Text="Good find. Can you summarize the link in your answer?" CreationDate="2011-03-10T17:42:42.430" UserId="73" />
  <row Id="11399" PostId="1478" Text="These days, we have `gpart`, which looks for things that might resemble filesystems and constructs a partition table from that." CreationDate="2011-03-10T17:54:22.907" UserId="4542" />
  <row Id="11400" PostId="1422" Score="1" Text="There is a tool called `molly-guard` that checks whether you are logged in remotely and asks whether you really want to do this." CreationDate="2011-03-10T17:58:23.697" UserId="4542" />
  <row Id="11401" PostId="8865" Text="@user4724: The screensaver is just an ordinary full screen application. I don't want to go into how insanely bad idea that is. One of the consequences is this. " CreationDate="2011-03-10T18:24:46.700" UserId="4477" />
  <row Id="11402" PostId="9013" Text="Ooohhhh...spiffy program. I wish I'd known about that when I lived in X." CreationDate="2011-03-10T18:26:01.130" UserId="3270" />
  <row Id="11403" PostId="9020" Text="There's no problem using `-Sy` to install stuff, as long as your system is up to date. No reason to, either, though." CreationDate="2011-03-10T18:44:28.607" UserId="4355" />
  <row Id="11404" PostId="8861" Score="2" Text="Did you try stopping the array and reassembling a new one with `mdadm -A /dev/md1 /dev/sd{b,c,d}2` (perhaps `--force`)? (If you haven't, back up the superblocks first.)" CreationDate="2011-03-10T18:54:47.317" UserId="885" />
  <row Id="11405" PostId="8896" Text="Good answer. ++" CreationDate="2011-03-10T19:24:27.633" UserId="4069" />
  <row Id="11406" PostId="8980" Text="@stribika: You can run `mdadm --create` on an existing disk as long as you choose a superblock version that goes to the end of the disk, and shrink the filesystem accordingly." CreationDate="2011-03-10T19:33:36.427" UserId="885" />
  <row Id="11407" PostId="9013" Text="Is your embedded system running Debian? If so, use `apt-cross`. Otherwise, look at the build instructions in `debian/rules`." CreationDate="2011-03-10T19:38:14.533" UserId="885" />
  <row Id="11408" PostId="8989" Score="1" Text="Welcome to Stack Exchange. “What's your favorite” (bittorrent client) questions are [not welcome](http://unix.stackexchange.com/faq), because the answers tend not to be useful (everyone's criteria are different). On the other hand, if there's something specific you want in a bittorrent client, “What's a bittorrent client that has feature X” would be a fine question." CreationDate="2011-03-10T19:53:41.773" UserId="885" />
  <row Id="11409" PostId="8999" Text="What feature do you expect in a telnet GUI? As it stands, your question has too little information to be useful." CreationDate="2011-03-10T20:01:34.250" UserId="885" />
  <row Id="11410" PostId="8846" Text="Then yes, you're running an old Solaris Express (development) release. As far as I know patches were never made available for that. I highly recommend upgrading to a current release, either Solaris 10 update 9 or Solaris 11 Express." CreationDate="2011-03-10T20:02:58.100" UserId="3309" />
  <row Id="11411" PostId="8993" Text="This is complicated and inefficient! Why move the data around several times? Why bother with `tar` (`cp -a` is actually better at preserving metadata and copying “strange” files)?" CreationDate="2011-03-10T20:12:57.547" UserId="885" />
  <row Id="11412" PostId="9024" Score="4" Text="You can't; there is some background explanation [here](http://unix.stackexchange.com/questions/4126/what-is-the-exact-difference-between-a-terminal-a-shell-a-tty-and-a-cons/4132#4132). Your best bet is to run the command again, as seen in the two answers posted so far." CreationDate="2011-03-10T20:19:00.910" UserId="885" />
  <row Id="11413" PostId="9024" Text="You can't capture output sent directly to a device such as `/dev/tty`, but it should be possible to capture anything sent to `stdout` or `stderr`, which might be adequate." CreationDate="2011-03-10T20:26:16.693" UserId="3169" />
  <row Id="11414" PostId="9033" Text="Yeah, that's exactly what I wanted to do. I needed to run the actual HTTP download on `A`, but copy the file over SSH to `B` without actually storing the file on `A`. Win!" CreationDate="2011-03-10T20:30:15.857" UserId="5614" />
  <row Id="11415" PostId="8951" Text="Wasn't me (I upvoted), but actually upon rereading I realize there are a couple of things missing in this answer, such as looking for `/etc/group-` and getting existing entries from `/etc/gshadow`." CreationDate="2011-03-10T20:43:19.440" UserId="885" />
  <row Id="11416" PostId="8951" Text="@Gilles — oh, good call on those as potential back-up sources." CreationDate="2011-03-10T20:46:14.707" UserId="2511" />
  <row Id="11417" PostId="8999" Text="@Gilles: It should just do what telnet does, that's it. Nothing advanced. I wouldn't even guess that PuTTY could do it, although I wouldn't call it simple (it does so much)." CreationDate="2011-03-10T20:59:46.863" UserId="688" />
  <row Id="11418" PostId="9020" Text="Using `-Sy` to install packages **is** bad as you can see in this case. The [Arch Wiki](https://wiki.archlinux.org/index.php/Pacman#Installing_packages) also tells you not to do it, as do the pacman developers in the linked forum thread." CreationDate="2011-03-10T21:00:08.273" UserId="4699" />
  <row Id="11419" PostId="8967" Text="A likely reason is that one but not the other sets the &quot;run really hot&quot; bit in the CPU's mode register. Or rather, the other instructs the CPU to slow down when it's not doing much. There are multiple methods for this, one of which is the CPU frequency scaling governor whose setting Keith suggests." CreationDate="2011-03-10T21:01:29.673" UserId="885" />
  <row Id="11420" PostId="9032" Score="4" Text="The basic idea is good, but the implementation is not. The standard output in the shell session is not a terminal but a pipe, which will cause some programs to behave differently. There will not be any synchronization between writes to stdout and writes to stderr or direct to the tty, so for example you might see command output displayed after the next prompt. You also haven't protected `tee` from signals (try pressing `Ctrl+C` and running a more few commands). Use the [`script`](http://www.freebsd.org/cgi/man.cgi?query=script) utility which has none of these problems." CreationDate="2011-03-10T21:12:55.623" UserId="885" />
  <row Id="11421" PostId="8991" Text="Transmission also has a great web client UI, including a mobile version." CreationDate="2011-03-10T21:33:25.947" UserId="4454" />
  <row Id="11422" PostId="8993" Text="I suppose you could just store it in a tarball rather than unpack each time, but you *are* going to have to move it to a safe location before repartitioning the partition it's currently on." CreationDate="2011-03-10T21:43:44.953" UserId="4949" />
  <row Id="11423" PostId="9020" Text="Yes, I did say &quot;as long as your system is up to date&quot;. If it's not, you might get dependency issues, like the arch wiki says. On the other hand, like I also said in my first comment, there really isn't any point to installing via `-Sy`, so from that perspective the wiki gives good advice and I'm sorry to have wasted everyones time with my comments :P" CreationDate="2011-03-10T21:45:05.473" UserId="4355" />
  <row Id="11424" PostId="9022" Text="Great. This would take half the time my method takes." CreationDate="2011-03-10T21:51:47.103" UserId="4477" />
  <row Id="11425" PostId="8980" Text="@Gilles: I think he didn't do the degraded trick just added both disks to the array and hoped it would sync the right way." CreationDate="2011-03-10T21:54:06.683" UserId="4477" />
  <row Id="11427" PostId="8994" Text="As seen in the example above, the default delimiter is TAB... For no delimiter: `paste -d '\0' t1 t2`&#xA;" CreationDate="2011-03-11T00:10:46.537" UserId="2343" />
  <row Id="11428" PostId="9043" Text="No, I am not looking for a graphical tool, thank though!" CreationDate="2011-03-11T00:26:51.667" UserId="5619" />
  <row Id="11429" PostId="8999" Text="Usage of telnet is strongly discouraged. Having said that, of course, there are some appliances out there which just speak telnet, and not ssh. Then use two xterms, one with telnet, one with man-telnet. Or xterm:telnet + firefox:telnet-help" CreationDate="2011-03-11T00:51:35.530" UserId="4485" />
  <row Id="11430" PostId="9045" Score="1" Text="`ls` will come with all problems with white space, tabs, linefeeds, backspaces and such in filenames." CreationDate="2011-03-11T00:54:28.257" UserId="4485" />
  <row Id="11432" PostId="9045" Text="The only one that will confound this is newlines, and I'd argue you have problems anyway in that case.  :)  If you're paranoid, use `ls -b`." CreationDate="2011-03-11T00:55:56.950" UserId="5325" />
  <row Id="11433" PostId="9045" Text="Not with find, do I?" CreationDate="2011-03-11T01:06:07.453" UserId="4485" />
  <row Id="11434" PostId="9045" Text="Depends on what you're invoking with `find`.  But my main complaint about `find` is that it's a really heavy sledgehammer to swat what is usually a rather small fly." CreationDate="2011-03-11T01:08:27.487" UserId="5325" />
  <row Id="11435" PostId="9035" Text="Exactly. Because it's a shell, people often forget about the language features Bash provides, such as loops and assignment." CreationDate="2011-03-11T01:09:37.270" UserId="5621" />
  <row Id="11436" PostId="9046" Text="You should test your program with a file called &quot;d2/f &quot;. Rule of thumb: Nearly never use ls in scripts. " CreationDate="2011-03-11T01:13:08.977" UserId="4485" />
  <row Id="11437" PostId="9034" Score="1" Text="+1 -- good answer!  you could achieve the same thing, even if you're not running X, by using GNU screen (http://www.gnu.org/software/screen/)." CreationDate="2011-03-11T01:15:56.157" UserId="5454" />
  <row Id="11438" PostId="9024" Text="@Gilles -- unless you use @mattdm's answer, of course!" CreationDate="2011-03-11T01:16:20.080" UserId="5454" />
  <row Id="11439" PostId="9045" Text="Thanks! That works but can I get it to output the contents that are in file b that are NOT in file a without using 'comm'?" CreationDate="2011-03-11T01:19:09.813" UserId="5619" />
  <row Id="11440" PostId="9045" Text="Also, what is /dev/fd/11?" CreationDate="2011-03-11T01:20:33.557" UserId="5619" />
  <row Id="11441" PostId="9045" Text="See the discussion of `comm` options in my answer.  That would be `comm -12` (suppress column 1/in first file and column 2/in both files)." CreationDate="2011-03-11T01:21:23.467" UserId="5325" />
  <row Id="11442" PostId="9045" Text="I cannot use 'comm'." CreationDate="2011-03-11T01:23:27.983" UserId="5619" />
  <row Id="11443" PostId="9045" Text="That was just demonstrating how the `&lt;(command)` stuff worked.  `/dev/fd` is a way to refer to file *descriptors* with file *names*.  For example, `stdin` is `/dev/fd/0`.  So when `bash` sees the `&lt;(ls -a dir1)` it creates a pipe, runs `ls` with its `stdout` connected to the write end, notes that the read end is its file descriptor 11, and passes `/dev/fd/11` as the &quot;file&quot; for `comm` to read from." CreationDate="2011-03-11T01:24:34.227" UserId="5325" />
  <row Id="11444" PostId="9045" Text="If you can't use `comm`, what *can* you use?  (You probably should have mentioned that in your question.)" CreationDate="2011-03-11T01:25:54.710" UserId="5325" />
  <row Id="11445" PostId="9045" Text="Probably haha. Using comm worked perfectly but is there another way to provide the same output?" CreationDate="2011-03-11T01:27:25.827" UserId="5619" />
  <row Id="11446" PostId="9026" Text="Thanks! Not too easy to type but it beats going for the mouse." CreationDate="2011-03-11T01:38:00.330" UserId="5613" />
  <row Id="11447" PostId="9045" Text="Sure.  You can duplicate it in a script or program in the language of your choosing, or you can use `diff -r` and `grep` out the &quot;exists only in&quot; messages.  Or any number of other ways; but I'd have to know what ways you can use before I could give you a meaningful answer." CreationDate="2011-03-11T01:40:39.190" UserId="5325" />
  <row Id="11448" PostId="9032" Text="Good to know! I'm still working on my command line basics so this is possibly an overkill for me, plus I want to be able to use it on any computer, but I'll remember it if I ever reach a good level." CreationDate="2011-03-11T01:42:51.810" UserId="5613" />
  <row Id="11449" PostId="9045" Text="@geekosaur: you might have noticed that I use `test` together with find. Which program would you expect to fail when invoked with 'find' and why? " CreationDate="2011-03-11T01:49:59.207" UserId="4485" />
  <row Id="11450" PostId="9045" Text="@user unknown: Shell scripts with broken quoting, mostly." CreationDate="2011-03-11T01:54:26.683" UserId="5325" />
  <row Id="11451" PostId="9045" Text="So effectively you don't have any concrete example?" CreationDate="2011-03-11T02:01:01.880" UserId="4485" />
  <row Id="11452" PostId="9045" Text="I'm failing to understand your hostility.  Did the phrasing of my original answer upset you?" CreationDate="2011-03-11T02:07:56.467" UserId="5325" />
  <row Id="11453" PostId="9046" Text="Can you clarify a bit?  Should d2/ only have one file, d2/f?  Because I tried this, and it works as expected." CreationDate="2011-03-11T02:11:37.510" UserId="732" />
  <row Id="11454" PostId="9038" Text="@richard: You are right, one has to have a good understanding before fixing the errors in Kernel. However I came across errors which were purely (surprisingly all) typos, like struct was syruct, cache was csche, etc. or misspelled function names. So the errors were like implicit declaration of function, etc. I think, these can be resolved by having a look at the header files, or other functions in the source itself. I was really surprised to see such issues in source one which was declared stable at kernel.org!" CreationDate="2011-03-11T04:00:09.127" UserId="5168" />
  <row Id="11455" PostId="8976" Text="Thanks @jamespo , It works well. But what about installing those files on another system? " CreationDate="2011-03-11T04:39:42.540" UserId="3349" />
  <row Id="11456" PostId="9046" Text="@Bruce: I think he is concerned about filenames that include spaces (or tabs, since both are default input field delimiters for *join*). Maybe `join -t ''` (no delimiter) would help that case." CreationDate="2011-03-11T04:59:03.723" UserId="1107" />
  <row Id="11457" PostId="9047" Text="Is there anything strange in `/etc/fstab`?" CreationDate="2011-03-11T05:05:02.923" UserId="688" />
  <row Id="11458" PostId="8999" Text="@userunknown: ....or just one window GuI app that can do telnet, and no need for a manpage." CreationDate="2011-03-11T05:10:02.527" UserId="688" />
  <row Id="11459" PostId="9052" Text="@SHW: I thought autofs was required for automounting. autofs5 seems like the current version in Debian squeeze. Do the desktop environments have their own automount functionality? What about KDE? I'd be interested to see documentation for desktop environments about this." CreationDate="2011-03-11T06:44:41.403" UserId="4671" />
  <row Id="11460" PostId="9053" Text="I only copied my program &quot;my-app&quot; to /usr/bin. Is it enough? Or I still need some *install* operation. Nautilus also shows no application selected for the mime type ;-(" CreationDate="2011-03-11T07:18:25.973" UserId="5495" />
  <row Id="11461" PostId="9053" Text="@Amanda I reformatted your post; if you need to make further changes, you can just [edit this post](http://unix.stackexchange.com/posts/9053/edit) instead of posting a new question" CreationDate="2011-03-11T07:21:14.100" UserId="73" />
  <row Id="11462" PostId="9059" Text="Great thanks for your suggestion! I moved the my-app.destop to /usr/share/applications. Then it works!" CreationDate="2011-03-11T08:04:19.990" UserId="5495" />
  <row Id="11464" PostId="9025" Text="Thanks for your help" CreationDate="2011-03-11T09:10:37.163" UserId="5514" />
  <row Id="11466" PostId="9020" Text="I guess we both agree that an unexperienced user should not use `-Sy` to install a package, right? Experienced users can do it, but it's no use telling everybody it sometimes works because then everybody will start doing it." CreationDate="2011-03-11T09:26:24.740" UserId="4699" />
  <row Id="11467" PostId="8897" Score="1" Text="@user5528 The times `1min/5min/15min` *do* have sense. They determine the time after which the influence of the current load drops by some fixed factor (probably e=2.71.. or maybe 2). Just try it out." CreationDate="2011-03-11T09:47:51.337" UserId="5116" />
  <row Id="11468" PostId="9064" Text="@Let_Me_Be: +1 for an interesting comment. care to expand on what is so bad about porting jobs?" CreationDate="2011-03-11T10:38:12.920" UserId="4671" />
  <row Id="11469" PostId="9002" Text="@Roland Consider using `git`, after some learning it's so easy to use and so fast, so you'll never think about not versioning anything (and you'll not understand how you ever could use `svn`). I need less than one minute to create a repo for a new project, to commit, and to clone to a server. Just my opinion, not gonna start a flame war." CreationDate="2011-03-11T10:39:04.717" UserId="5116" />
  <row Id="11470" PostId="9064" Score="1" Text="@Faheem Well, porting jobs usually mean that you end up with an awful code base full of non-standard extensions, and standard violations (that just seem to work due to some MSVC miracle). Usually parts of the code will be written by people long gone from the company and full of various bugs that will pop up during porting. This can happen in other areas as well, but it's not that common (open-source projects tend to have pretty awful code bases, but there aren't that many big projects with long history and small to medium developers community)." CreationDate="2011-03-11T10:42:41.483" UserId="2671" />
  <row Id="11471" PostId="9059" Text="@Amanda if you find the answer works then please mark it as &quot;accepted&quot;, that would help others when they have the same question." CreationDate="2011-03-11T10:53:06.770" UserId="250" />
  <row Id="11472" PostId="9064" Text="@Let_Me_Be: I see. you are mostly referring to internal / proprietary code bases above? MSVC meaning the C++ code bases are written in Visual C++ and then they want to port it to gcc?" CreationDate="2011-03-11T10:55:09.443" UserId="4671" />
  <row Id="11473" PostId="8976" Text="If you want to share rpms, another way to do it might be to use a local proxy (like squid) and set it to cache rpm's aggressively. Then set yum up on your multiple machines to use that proxy." CreationDate="2011-03-11T11:08:25.217" UserId="36" />
  <row Id="11474" PostId="8976" Text="Okay Thanks **@jamespo**, now can I use that local proxy on that same machine? Please post some usefull links where I can get the whole idea. I have no option for installing software on that machine." CreationDate="2011-03-11T11:16:27.837" UserId="3349" />
  <row Id="11475" PostId="6433" Score="3" Text="Such a question has been something for me to wonder about for years. It seems to be such a natural wish: without being root, to be able to run processes with some of your user's permissions discarded, i.e. to be able to confine a process to a user-setup &quot;jail&quot;, which would give the process even less rights than your user has. It's a pity that the usual Unices haven't offered this standardly!" CreationDate="2011-03-11T11:23:34.343" UserId="4319" />
  <row Id="11476" PostId="6433" Text="@imz: that's exactly my point! actually I wanted to go even further and ask something like &quot;can a user be root but only wrt his account&quot;" CreationDate="2011-03-11T11:25:57.993" UserId="863" />
  <row Id="11477" PostId="6433" Text="But well, of course, the desired &quot;jail&quot; guarantees are implementable by programming in user-space; with more or less complications." CreationDate="2011-03-11T11:26:21.467" UserId="4319" />
  <row Id="11478" PostId="9052" Text="I don't think that key exists in squeeze, because it belongs to the package gnome-volume-manager, which isn't actually installed by default. I believe some other package/mechanism handles volumes. GNOME have reworked all of that stuff quite heavily over the last few years ;o" CreationDate="2011-03-11T12:10:50.203" UserId="5620" />
  <row Id="11479" PostId="9045" Text="+1 Awesome tool - This is going into my .bash_aliases ASAP." CreationDate="2011-03-11T12:49:15.610" UserId="3645" />
  <row Id="11480" PostId="6538" Text="@ninjalj: Ok, I just installed `xrestop`. Will attach its output as soon as Xorg starts getting heavy." CreationDate="2011-03-11T13:21:06.410" UserId="4041" />
  <row Id="11481" PostId="9038" Text="This sort of error could be fixed easily of they where generated by someone ( an non programmer ) copy typing the text from say a printed book. But I do not think this is what happened. These errors where introduced much earlier, along with other more significant errors. All they tell you is &quot;this code has never been compiled&quot; therefore &quot;this code has never been tested&quot; therefore &quot;it does not work&quot;, &quot;it probably has errors that are hard to see&quot;. " CreationDate="2011-03-11T13:30:25.217" UserId="4778" />
  <row Id="11482" PostId="9038" Text="Where did you get this version? Is it a bleeding edge version? Can you use a more stable version?" CreationDate="2011-03-11T13:31:36.993" UserId="4778" />
  <row Id="11483" PostId="9026" Score="1" Text="You could also use backticks (which I can't figure out how to make this interface not wikify) instead of $(), but I've found that it's uncomfortable for me to hit backtick-shift-1-shift-1-backtick, and I'm trying to get into the habit of using $() when possible for readability's sake." CreationDate="2011-03-11T13:40:39.987" UserId="3976" />
  <row Id="11484" PostId="8939" Text="+1. Just for the detailed info in your answer and pointing out an alternative." CreationDate="2011-03-11T13:46:33.290" UserId="5462" />
  <row Id="11485" PostId="8844" Text="@Thsepang: is /media/cdrom the physical CD drive? Is a CD/DVD with the expected folder structure in the drive?" CreationDate="2011-03-11T13:49:03.193" UserId="5462" />
  <row Id="11486" PostId="7564" Text="@JoelFan: default is `#UseLogin no` in Debian. So that's why it wouldn't work." CreationDate="2011-03-11T13:51:13.660" UserId="5462" />
  <row Id="11487" PostId="6281" Text="@X4lldux: +1 for httpry. Hadn't heard about it." CreationDate="2011-03-11T14:11:01.787" UserId="5462" />
  <row Id="11488" PostId="8939" Text="Actually, there are quite a few jailing tools with different implementation, but many of them are either not secure by design (like `fakeroot`, `LD_PRELOAD`-based), or not complete (like `fakeroot-ng`, `ptrace`-based), or would require root (`chroot`, or `plash` mentioned at http://joey.kitenet.net/blog/entry/fakechroot_warning_label/ ). These are just examples; I thought of listing them all side-by-side, with indication of these 2 features (&quot;can be trusted?&quot;, &quot;requires root to set up?&quot;), perhaps at http://en.wikipedia.org/wiki/Operating_system-level_virtualization#Implementations ." CreationDate="2011-03-11T14:12:06.850" UserId="4319" />
  <row Id="11489" PostId="9073" Text="Thanks, I'll give it a try tonight. Let's see whether other suggestions will come up as well." CreationDate="2011-03-11T14:19:52.263" UserId="5462" />
  <row Id="11490" PostId="9075" Text="Thank you for your answer! In my opinion tracerout can only show the hops between routers... but I'd like to know where is a host, or a switch also." CreationDate="2011-03-11T14:17:02.350" />
  <row Id="11491" PostId="9076" Text="Thank you for your answer! But how can I do this in practice? (what command should I use, or what software should I use)" CreationDate="2011-03-11T14:14:33.007" />
  <row Id="11492" PostId="9065" Text="This won't affect any existing users or users with already-created home directories (for example, from a network file system)." CreationDate="2011-03-11T14:21:02.353" UserId="3976" />
  <row Id="11494" PostId="9078" Text="@jsbillings thanks for the warning about Gentoo's, um, non-stable-ness. I was aiming for as lightweight Linux as possible. As for the Cloud Provider, I know their people personally, and I know they proactively kicks out spam-generators from their servers." CreationDate="2011-03-11T14:52:04.680" UserId="5589" />
  <row Id="11495" PostId="9065" Text="@jsbillings Yeah, sure, you are absolutely right." CreationDate="2011-03-11T14:55:20.500" UserId="250" />
  <row Id="11496" PostId="8958" Text="I am fine with Strigi. Would I be correct in assuming that to search for a file of the name ABC_XYZ.cpp, I'd have to open a Dolphin window and use the search in that ? As in there is no quick shortcut for the same ?" CreationDate="2011-03-11T14:57:45.283" UserId="5573" />
  <row Id="11497" PostId="8958" Text="@Humble Debugger — Strigi has a plugin interface, so all sorts of lightweight clients are possible, and in theory you could find one and attach that to a keyboard shortcut. Except, I don't know of any clients that anyone actually ever implemented." CreationDate="2011-03-11T15:21:57.973" UserId="2511" />
  <row Id="11498" PostId="9034" Text="It seemed so obvious that I was hesitant to say it. But everyone else is so busy being clever. :)" CreationDate="2011-03-11T15:25:32.327" UserId="2511" />
  <row Id="11499" PostId="9034" Text="it's the only answer here which allows the OP to *reuse* the last line -- everything else entails running the command again, which could be anywhere between utterly irrelevant and catastrophic :)  But the OP did say *reuse*." CreationDate="2011-03-11T15:47:14.897" UserId="5454" />
  <row Id="11500" PostId="9026" Text="@jsbillings see my answer below. I typed \\` to display ` in the answer. And to display '\', as usual type '\\'." CreationDate="2011-03-11T16:27:32.293" UserId="3482" />
  <row Id="11501" PostId="3175" Text="I'll accept that as answer, since it gives the best statement to the question. However, the issue with USB-Scanners is horrible, and one of a kind." CreationDate="2011-03-11T16:42:44.847" UserId="1290" />
  <row Id="11502" PostId="9067" Text="The `gnome-disk-utility` package and its dependencies seem to be what handles this, but if you have the `gnome-desktop-environment` package installed you should already have `gnome-disk-utility`." CreationDate="2011-03-11T17:29:58.987" UserId="3459" />
  <row Id="11503" PostId="9026" Score="2" Text="+1 I've been wondering how to nest `\`backtick-commands\``!  `cd $(dirname $(which python))`here I come!" CreationDate="2011-03-11T17:52:19.113" UserId="5639" />
  <row Id="11506" PostId="9094" Text="@Shawn J. Goff: thanks for your answer. I guess I'll have to read up on it a bit more :) ... +1 for now from me. Thanks also for the warning concerning the Ethernet port and that it may not survive an attempt to connect the cable there." CreationDate="2011-03-11T19:34:10.593" UserId="5462" />
  <row Id="11507" PostId="9104" Text="Oh, that's somewhat simpler than my answer. Nice" CreationDate="2011-03-11T19:36:41.957" UserId="73" />
  <row Id="11508" PostId="6046" Text="Note: the Mac OS X kernel is not based on any BSD kernel. The user mode part is based on FreeBSD and in parts NetBSD to my knowledge." CreationDate="2011-03-11T19:38:18.917" UserId="5462" />
  <row Id="11509" PostId="6041" Text="Actually POSIX is now called SUS (Single Unix Specification), which was mentioned." CreationDate="2011-03-11T19:39:21.180" UserId="5462" />
  <row Id="11510" PostId="9090" Text="I realized that my problem was a little trickier than this, but this is definitely the right answer to the question I asked. Thanks!" CreationDate="2011-03-11T19:53:56.240" UserId="5636" />
  <row Id="11511" PostId="9046" Text="Yes, it isn't `d2/f` but `d2/f `. Tabs and newlines in filenames are rare, but allowed. " CreationDate="2011-03-11T19:59:11.550" UserId="4485" />
  <row Id="11512" PostId="9110" Text="Indeed, there are [a lot](http://www.google.com/search?hl=en&amp;q=measure+mouse+distance) of those." CreationDate="2011-03-11T20:02:30.780" UserId="2783" />
  <row Id="11513" PostId="9114" Text="Unfortunately, for whatever reason this does not work for my touchpad. The touchpad supports two-finger scrolling just fine, but the GNOME mouse panel shows the option grayed-out. So I have to use a script." CreationDate="2011-03-11T20:13:38.837" UserId="5636" />
  <row Id="11514" PostId="9113" Text="Thanks. I'm hoping there's a different way strictly in user-space - I *suspect* there's a way to do this with DBUS, but my DBUS-fu is not strong enough." CreationDate="2011-03-11T20:14:53.563" UserId="5636" />
  <row Id="11515" PostId="9091" Score="1" Text="What are you building and what command are you using?" CreationDate="2011-03-11T20:23:45.460" UserId="688" />
  <row Id="11516" PostId="8595" Text="Yep the backticks perform command substitution where the output is substituted for the command itself. Refer to [Section 3.4.5](http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html)&#xA;&#xA;Here is a more comprehensive list of modifiers for data [link](http://ss64.com/bash/date.html)" CreationDate="2011-03-11T20:28:37.310" UserId="5319" />
  <row Id="11517" PostId="9105" Text="I use debian which is very similar to ubuntu. How do i make this 2nd user have access to sudo/sudo bash?" CreationDate="2011-03-11T20:47:38.760" UserId="4069" />
  <row Id="11518" PostId="9115" Text="I don't think `socat` has any problem with arbitrary byte streams, so I suspect the fault is elsewhere. Can you post a small reproducible example?" CreationDate="2011-03-11T20:59:18.500" UserId="885" />
  <row Id="11519" PostId="8595" Text="Oh, wow, that's an amazing resource. It's great to always keep learning. Thank you very much for the link!" CreationDate="2011-03-11T21:23:54.217" UserId="5317" />
  <row Id="11520" PostId="9105" Text="@acidzombie24 To give another user access to sudo you need to add them to /etc/sudoers" CreationDate="2011-03-11T21:33:44.927" UserId="5648" />
  <row Id="11521" PostId="9108" Score="1" Text="That works on Linux, and probably on every unix variant. There's a single user, but there are two user names, each with their own password (or lack thereof), home directory and shell." CreationDate="2011-03-11T21:49:59.660" UserId="885" />
  <row Id="11522" PostId="9045" Text="Hey, I can use anything in here: http://dl.dropbox.com/u/20930447/index.html&#xA;" CreationDate="2011-03-11T22:08:44.790" UserId="5619" />
  <row Id="11523" PostId="9045" Text="Wow, that's pretty sorry.  You can use the `find` version, or `diff -qr dir1 dir2 | grep '^Only in '` (which will probably require further editing if you're using it in a script, and is *not* whitespace-safe).  And recommend to your VPS vendor that they provide useful tools." CreationDate="2011-03-11T22:29:30.510" UserId="5325" />
  <row Id="11524" PostId="6923" Text="can you show few last lines printed on screen before freezing? Also try to disable firewire in BIOS if you have one, I've seen panics in firewire driver during boot on some machines." CreationDate="2011-03-11T22:36:16.747" UserId="3886" />
  <row Id="11525" PostId="9105" Score="2" Text="But for sanity's sake, use the `visudo` command. NEVER edit `/etc/sudoers` manually, especially if you're not sure what you're doing." CreationDate="2011-03-11T23:29:08.430" UserId="4949" />
  <row Id="11526" PostId="9091" Score="1" Text="@Ricko: Your question is unanswerable as it is. You need to say what you are trying to build, and copy-paste both the exact command you're using for building and the full output from the build process." CreationDate="2011-03-12T00:24:45.983" UserId="885" />
  <row Id="11527" PostId="9092" Text="@SiegeX: I'm slowly getting there. I've started reading the entire `man bash` (10% so far :). Now, about this issue in particular. I'm starting to get a feel for it, but unless my compehension is way off, the man page excerpt you quoted, says, `&quot;Expansion is performed on the command line after it has been split into words...&quot;` and then goes on to say that one of the &quot;expansions&quot; is `word splitting`. That looks like a contradiction.. so it brings up the &quot;mechanism&quot; issue again..  I've just noticed Gilles has posted and mentions something about &quot;shell words&quot;.. (but I must go now... back later)" CreationDate="2011-03-12T00:43:01.347" UserId="2343" />
  <row Id="11528" PostId="9089" Score="1" Text="@anand.arumug: [bahamat has already posted almost the same answer](http://unix.stackexchange.com/questions/9024/how-do-i-reuse-the-last-output-from-the-command-line/9027#9027). Your version with backticks won't always work if there are already backticks in the command." CreationDate="2011-03-12T00:47:38.553" UserId="885" />
  <row Id="11529" PostId="9105" Text="Best of all, I think, is to edit `sudoers` once to make some group (`wheel` is traditional) have the ability to act as root. Then, later, you just need to add users to that group to give them sudo privileges, with no more risky editing of the config file." CreationDate="2011-03-12T00:50:56.057" UserId="2511" />
  <row Id="11530" PostId="9120" Text="Was there something in my answer that you did not find sufficient or was this a point grab? Just curious" CreationDate="2011-03-12T01:00:37.157" UserId="1338" />
  <row Id="11531" PostId="7231" Text="If X, Y or Z is a directory, this will delete files inside them as well. `find tmp -maxdepth 1 -not -name X -not -name Y -not -name Z -delete` is one way to work around this." CreationDate="2011-03-12T01:00:48.947" UserId="885" />
  <row Id="11533" PostId="9120" Text="@SiegeX: Apart from the useless diversion with `#` as a separator (which won't work if a file name contains `#`), your answer is correct. But it's not very didactic. In particular, you don't explain that a command is not a string but a list of strings, which is often confusing to shell beginners." CreationDate="2011-03-12T01:09:24.230" UserId="885" />
  <row Id="11534" PostId="9120" Text="We'll have to agree to disagree on the `#` example because I explicitly used it to be didactic; It's much easier to visualize `#` than the NUL byte. I also made special note that this char must not be apart of the filename and then proceeded to give the more proper NUL byte solution.  From my perspective, your answer was 90% the same and the other 10% would have been more appropriate as a comment. But, you can't get to 21K for making only comments so C'est la vie." CreationDate="2011-03-12T01:26:41.333" UserId="1338" />
  <row Id="11535" PostId="9120" Text="@SiegeX: If you think my answer is 90% the same as yours, you need to work on your pedagogy. We are explaining the same facts very differently." CreationDate="2011-03-12T01:30:25.617" UserId="885" />
  <row Id="11536" PostId="9123" Score="1" Text="`mcd` from http://unix.stackexchange.com/questions/6628/what-customizations-have-you-done-on-your-shell-profile-to-increase-productivity" CreationDate="2011-03-12T01:32:42.773" UserId="3169" />
  <row Id="11537" PostId="9092" Text="@fred.bear please see my updated answer, this should put to rest any doubt you may have had regarding the &quot;mechanics&quot; of the shell." CreationDate="2011-03-12T01:35:39.890" UserId="1338" />
  <row Id="11538" PostId="9124" Text="Thanks! the Esc . seems the most convenient to me, does the key sequence have any special meaning?" CreationDate="2011-03-12T01:36:51.240" UserId="5613" />
  <row Id="11539" PostId="7231" Text="Since folders under Unix are files (anything is a file), that's maybe what is intended. The question explicitly says: &quot;I have a lot of files and folders in a specific folder and I want to delete all of them; &quot; - and if you like to exclude Y, maybe you know whether Y is a directory or not. " CreationDate="2011-03-12T01:37:38.617" UserId="4485" />
  <row Id="11540" PostId="9125" Text="Duh what? `find` only finds file **names**, not contents." CreationDate="2011-03-12T01:44:07.663" UserId="4962" />
  <row Id="11541" PostId="9124" Text="It's just the Bash (and inherited from `ksh`, and also works in `zsh`) sequence for &quot;repeat last word of previous command&quot;.  I use it quite often." CreationDate="2011-03-12T01:46:39.763" UserId="5325" />
  <row Id="11542" PostId="6923" Text="I've added the info to the question. It doesn't mention firewire anywhere and I've never tried booting it with Firewire attached, or used Firewire ever. Macs don't have BIOS do they? The EFI boot loader doesn't seem to have any of those sorts of options." CreationDate="2011-03-12T01:47:09.393" UserId="4478" />
  <row Id="11543" PostId="9120" Text="The pedantry of your diction is indubitability noted." CreationDate="2011-03-12T01:47:10.940" UserId="1338" />
  <row Id="11544" PostId="1234" Text="And, hy Dirk, while we at it, @ddeimke, didn't we discourage backticks in favour of the posixly $(...), no? ;)" CreationDate="2011-03-12T01:49:58.437" UserId="4485" />
  <row Id="11545" PostId="9125" Text="Ever heard of `xargs`?  Or the `-exec` primary in `find`?" CreationDate="2011-03-12T01:51:59.043" UserId="5325" />
  <row Id="11546" PostId="7233" Text="If you have three files `a`, `b` and `a b` the first program will delete - if you put ab into the grep part: `&quot;^[ab]$&quot;` `a` and `b` but not `a b`, just opposed to your intentions. The second command will do the same. And the third too. You shouldn't use 'ls' in scripts, with very, very rare exceptions. Just don't do it. &#xA;" CreationDate="2011-03-12T02:17:32.110" UserId="4485" />
  <row Id="11547" PostId="9085" Text="maybe i wasnt clear enough. to manually enter the password, the ONLY thing that is required is to open the telnet session like so `telnet 127.0.0.1 5558` and then enter password like so: `password 'Private Key' xxxxxx`. this is exactly what i have in my telnet_commands.sh script but it is not working. i have looked into the 'expect' program but i think it would be overkill in this case since there is only ever one thing that is requested within the telnet session." CreationDate="2011-03-12T02:33:16.623" UserId="5451" />
  <row Id="11548" PostId="7218" Text="a) You move your file X one directory up, where a file X exists - silently deleted, gone. b) You're in the top dir, where no 'up' exists. c) You're in **your** home, and don't have permission to write to /home. If you put your advice into a script, and tested it without problem, and use it in such a situation - peng!" CreationDate="2011-03-12T02:38:06.350" UserId="4485" />
  <row Id="11549" PostId="9085" Text="@mullhausen: I would try using expect to enter the value.  It is designed to do this kind of thing." CreationDate="2011-03-12T02:38:33.277" UserId="4520" />
  <row Id="11550" PostId="9124" Score="7" Text="@Gilles I'm beginning to think that the &quot;Gilles&quot; account is actually shared by a panel of experts. ;-)" CreationDate="2011-03-12T03:24:16.610" UserId="3082" />
  <row Id="11551" PostId="9084" Text="Aren't Debian Stable... um, *too* stable?" CreationDate="2011-03-12T03:51:38.957" UserId="5589" />
  <row Id="11552" PostId="9084" Text="@pepoluan: absolutely no such thing as *too stable* here.  We're talking about MTAs -- it's hardly the bleeding edge of innovation.  Any of these solutions will have all the functionality you need, so your decision should probably be based on stability, resource usage, and ease of management (inc. quality of documentation).  In my opinion, debian stable (note that that's debian 6 *squeeze* as of Feb. 2011) and exim4 comes out best overall." CreationDate="2011-03-12T04:15:32.913" UserId="5454" />
  <row Id="11554" PostId="9084" Text="@simon : thanks! i don't really follow Debian, so Squeeze is out is truly news to me. And you *do* have a point re: MTA not bleeding edge." CreationDate="2011-03-12T04:20:33.180" UserId="5589" />
  <row Id="11555" PostId="9120" Text="LOL :) .... My current status (still working on it): It seems that there is a 6 levels hierarchy of &quot;shell expansion&quot; (from `brace expansion` thru to `pathname expansion`). I can therefore understand that the example of `files=(*)` does not go through `word splitting`. However, it seems to me that the `pathname expansion` somehow internally(?) delimits the filenames by some other means than a space, because to my understanding the array asignment () would produce 4 items.. so is there some *special* interaction happening with these file-expansion words? This may be at the core of my puzzle. " CreationDate="2011-03-12T04:23:18.567" UserId="2343" />
  <row Id="11557" PostId="9120" Text="It seems that there are two types of *words* here.. 1) a word which is the result of the `word splitting` (IFS), and 2) another type of *word* which is the result of `pathname expansion` which is independant of the IFS (unless echo'd or suchlike) ... The second type is treated as a unit, as though it was quoted..  It seems like this is what is happening  internally...  " CreationDate="2011-03-12T04:32:20.947" UserId="2343" />
  <row Id="11558" PostId="9124" Score="1" Text="Gilles deserves 2 votes: One for the wonderful shortcuts, and another one for the nice Key formatting :-D" CreationDate="2011-03-12T04:32:55.600" UserId="5589" />
  <row Id="11560" PostId="9092" Text="I'm sure the answer is probably glaringly obvious in both yours and Gilles' answer, but untill I can actually see it, I can't assess the 'best' answer.. They are both good answers and have got me on the right track ... I'm about to go through your updated answer now... Perhaps I'm missing the point because I've been thinking that the only thing that &quot;word splitting&quot; did was to remove duplicate spaces between any and all &quot;words&quot;, but I'm starting to think that filename expansion creates a very non-human word (ie. a word which includes spaces), otherwise how does the array assignment work?" CreationDate="2011-03-12T04:56:56.887" UserId="2343" />
  <row Id="11561" PostId="9038" Text="$richard: As I wrote in my earlier comment, I got the source from kernel.org. To be specific: `http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary` This page has a section called 'shortlog': `2011-01-07	Greg Kroah...	Linux 2.6.32.28 master v2.6.32.28`. I clicked on snapshot option on the same line and it starts downloading the gz version. " CreationDate="2011-03-12T05:05:57.117" UserId="5168" />
  <row Id="11562" PostId="9092" Text="@SiegeX: Introducing the word &quot;argument&quot;, won the argument. It tallies with my evolving line of thought, so I probably do understand it now...(I just need to put it into practice)... It did however take two of you to get through my thick scull on this one, and I thank you both for the information in both answers.. I've learnt different things from both." CreationDate="2011-03-12T05:18:44.090" UserId="2343" />
  <row Id="11563" PostId="9120" Text="@Gilles:  Thanks for an excellent answer (again :)...  This one was of particular note to me: *&quot;If you want to store a list of file names, put it directly in an array&quot;* ...  I believe I know how (and when) to do that now, thanks to the two good answers put forward." CreationDate="2011-03-12T05:22:53.883" UserId="2343" />
  <row Id="11564" PostId="9127" Score="2" Text="The `-p` option to mkdir will suppress errors." CreationDate="2011-03-12T05:42:59.133" UserId="4667" />
  <row Id="11565" PostId="9127" Text="@glenn jackman: Indeed it does, thanks." CreationDate="2011-03-12T06:29:45.567" UserId="3169" />
  <row Id="11566" PostId="7218" Score="1" Text="a) Hey, did I say 'move files *up* one level'?  I've said move them away.  b) So you're trying to remove all files in `/`, heh?  Not very practical.  c) Trying to remove all files in your `$HOME` isn't really practical either." CreationDate="2011-03-12T06:48:38.687" UserId="1946" />
  <row Id="11567" PostId="7218" Text="You're right, I'm sorry." CreationDate="2011-03-12T07:14:53.133" UserId="4485" />
  <row Id="11568" PostId="9106" Text="Hmm... I'm starting to think there might not be a solution... :/" CreationDate="2011-03-12T09:03:54.617" UserId="5630" />
  <row Id="11569" PostId="6923" Text="try i386 instead of amd64" CreationDate="2011-03-12T09:08:32.990" UserId="3886" />
  <row Id="11570" PostId="9038" Text="I had a look this page is I think for developers and contains work in progress, it is [I think] possible to download tagged versions, but seems overly complex for most of us. Have a look here instead http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/" CreationDate="2011-03-12T10:36:30.190" UserId="4778" />
  <row Id="11571" PostId="9038" Text="Thank you, @richard for the link, that 'longterm' in the link indicates its stable! And yes you may be right above my link may not be ideal place to download source." CreationDate="2011-03-12T10:42:46.947" UserId="5168" />
  <row Id="11572" PostId="9064" Text="@Faheem C and C++ suffer the most, scripted languages the least. The major problem is that while porting you will touch code that works &quot;here and now&quot; and usually discover bugs in such code." CreationDate="2011-03-12T10:54:36.733" UserId="2671" />
  <row Id="11573" PostId="9106" Text="In general any service employing DRM won't work on Linux." CreationDate="2011-03-12T11:03:59.703" UserId="2671" />
  <row Id="11574" PostId="9136" Text="Ya, I was wondering if its possible without detaching the other sessions to get rid of the viewport. Adding screen tag since it seems related." CreationDate="2011-03-12T11:04:23.707" UserId="5320" />
  <row Id="11575" PostId="9137" Score="1" Text="+1 for a well formed question with desired output. " CreationDate="2011-03-12T11:10:18.000" UserId="1338" />
  <row Id="11577" PostId="6923" Text="just tried, I have the same problem. Both the amd64 and the i386 versions work on my iMac, however, so the problem seems to be directly related to this MacBook" CreationDate="2011-03-12T12:17:29.290" UserId="4478" />
  <row Id="11578" PostId="9138" Text="Can you explain how this works? This is the first time I'm looking at the `\&lt;[0-9]\&gt;` construct which I think is the one responsible for matching the single digits but not sure what this construct is called. Thanks." CreationDate="2011-03-12T13:16:38.390" UserId="5667" />
  <row Id="11580" PostId="9138" Score="2" Text="\&lt; means: start of a 'word' ... [0-9] means a single digit from 0 to 9 ... \&gt; means: end of a 'word' ... word: a token which is whitespace delimited (or begins/ends at start/end of the line, for \&lt; and \&gt; respectively)... PS. I just tried punctuation marks.. they are also delimiters." CreationDate="2011-03-12T13:46:36.040" UserId="2343" />
  <row Id="11581" PostId="9120" Text="@fred.bear: There's only one type of word, and it can contain any character, including whitespace. Pathname expansion creates a list of words: each filename gets its own word. Word splitting happens before pathname expansion, so in `file=(*)`, `*` undergoes word splitting (yielding the one-word list `*`), then the single resulting word undergoes pathname expansion (yielding the list of file names)." CreationDate="2011-03-12T14:15:46.093" UserId="885" />
  <row Id="11582" PostId="9138" Score="1" Text="You can also do this without capturing parentheses: `&amp;` in the replacement string will use the matched LHS -- `sed 's/\&lt;[0-9]\&gt;/0&amp;/'`" CreationDate="2011-03-12T14:33:20.653" UserId="4667" />
  <row Id="11583" PostId="9145" Text="+1 for an innovative solution." CreationDate="2011-03-12T15:09:58.337" UserId="5667" />
  <row Id="11584" PostId="9138" Text="Oh, wasn't aware that `&lt;&gt;` is a word boundary in shell regex syntax. Come to think of it, even `sed 's/\b[0-9]\b/0&amp;/' also works. Thank you both. :)" CreationDate="2011-03-12T15:18:38.470" UserId="5667" />
  <row Id="11585" PostId="9150" Text="`find … -print0 | xargs -0 …` copes with arbitrary file names. All POSIX.2004-compliant implementations of `find` allow `find … -exec … {} +`, which invokes the command with multiple files at once. A better command is `find . -type f -exec grep test /dev/null {} +`; the addition of `/dev/null` is so that `grep` will consistently print the file name when it finds a match." CreationDate="2011-03-12T16:01:49.827" UserId="885" />
  <row Id="11586" PostId="9126" Text="Better: `find . -type f -print0 | xargs -0 grep /dev/null foo`, so that `grep` always prints the matching file name. Or `find . -type f -exec grep /dev/null {} +`, for implementations that have caught up with POSIX.2004 (which excludes OpenBSD at the moment)." CreationDate="2011-03-12T16:03:21.370" UserId="885" />
  <row Id="11587" PostId="9124" Text="Hear! Great answer!" CreationDate="2011-03-12T16:20:46.760" UserId="4856" />
  <row Id="11588" PostId="9106" Text="Is there a reason for this?  Perhaps a solution pending?" CreationDate="2011-03-12T16:51:10.507" UserId="5630" />
  <row Id="11590" PostId="9106" Text="There are several different reasons. Licensing (GPL directly forbids most types of DRM), patenting (alternative implementations can't be created), NDA (even if the DRM technology isn't patented and there aren't licensing issues, you will have to sign an NDA which is of course incompatible with creating an open source implementation)." CreationDate="2011-03-12T17:13:49.930" UserId="2671" />
  <row Id="11591" PostId="9138" Text="@sasuke: `&lt;&gt;` is a feature of *extended regex* (not of the shell, as such)... depending on which version and which options you use, `sed` and the `shell` can both use either  *extended* or *standard* regex ... standard regex uses `\&lt;\&gt;`" CreationDate="2011-03-12T17:19:07.753" UserId="2343" />
  <row Id="11592" PostId="9154" Text="@geekosaur - thanks dood. That's what I need to know. I'm not checking 'right answer' yet, cause I heard that you should always keep it open for a bit to give others a chance to contribute. But I've already put your answer into some scripts." CreationDate="2011-03-12T17:47:44.573" UserId="3127" />
  <row Id="11593" PostId="9154" Text="Normally, you'd want to put `(server-start)` in your .emacs file, rather than starting the server manually.  I use `(and window-system (server-start))` to avoid starting the server if I'm running emacs in a terminal." CreationDate="2011-03-12T17:57:18.237" UserId="2421" />
  <row Id="11594" PostId="9154" Text="In modern Emacs it's just as useful in a terminal; see the `-t` option." CreationDate="2011-03-12T17:58:22.760" UserId="5325" />
  <row Id="11595" PostId="9156" Text="What program were you in when you right-clicked the NTFS partition and chose &quot;Make Partition Active&quot;?" CreationDate="2011-03-12T18:00:00.403" UserId="2421" />
  <row Id="11596" PostId="9156" Text="You probably misclicked something else. What program were you in? As you suspect, this is probably recoverable. Boot from a Linux CD/USB, run `fdisk -l` and post the output." CreationDate="2011-03-12T18:03:13.483" UserId="885" />
  <row Id="11597" PostId="9106" Text="So most likely there will never by a way to make it work then... :(  And I'm guessing the only work around would be to use Wine or something like that... but then that defeats one of the big purposes of being on Linux. Oh well... dual boot it is!  lol" CreationDate="2011-03-12T18:18:53.350" UserId="5630" />
  <row Id="11598" PostId="9160" Text="I never heard of Wubi. It seems a better solution than what I have at the moment. I'll look into it. Thanks!" CreationDate="2011-03-12T18:24:00.767" UserId="5672" />
  <row Id="11599" PostId="9155" Text="(In my &quot;regular user&quot; voice, not speaking specifically as a moderator.) Please add some &quot;why&quot; to your statements." CreationDate="2011-03-12T18:30:47.110" UserId="2511" />
  <row Id="11600" PostId="9013" Text="@dmckee &quot;spiffy program&quot;? What it means? (English is not my first language.. and the translations I found for &quot;spiffy&quot; doesn't make sense..)" CreationDate="2011-03-12T18:39:42.973" UserId="3608" />
  <row Id="11601" PostId="9013" Text="@Tom: Spiffy is an adjective meaning *&quot;smart in appearance&quot;*  and used here in a rather informal way to mean *&quot;I like the way that looks&quot;*. This is a behavior that Mac's do by default that I always missed when using X. " CreationDate="2011-03-12T18:43:50.613" UserId="3270" />
  <row Id="11602" PostId="9154" Text="@cjm - actually I do start the server in my .emacs file. I just didn't use it :-)" CreationDate="2011-03-12T18:52:03.410" UserId="3127" />
  <row Id="11603" PostId="9145" Text="+1: This is the most correct solution here even though it does use `awk` instead of `sed`" CreationDate="2011-03-12T19:11:17.063" UserId="5481" />
  <row Id="11605" PostId="9145" Text="Actually, this doesn't work. You need to use `awk '{$2=sprintf(&quot;%02d&quot;, $2)}; printf}'` or better yet `awk '{$2=sprintf(&quot;%02d&quot;, $2)}1'` to save those poor little keystrokes" CreationDate="2011-03-12T19:18:21.190" UserId="1338" />
  <row Id="11606" PostId="9138" Text="@fred.bear thanks for taking the reigns on the explanations " CreationDate="2011-03-12T19:19:10.330" UserId="1338" />
  <row Id="11607" PostId="9138" Text="@glenn good call on `&amp;`. I'm all for saving keystrokes" CreationDate="2011-03-12T19:20:20.440" UserId="1338" />
  <row Id="11608" PostId="7262" Text="It would help to know what your goal for this is. In game programming for instance, such an event(mixing a sound clip in with other sounds) would be asynchronous in that all sounds are mixed together (the sound buffer will still take a while to be flushed, which might contribute to the shutdown duration of the game). You only notice this &quot;delay&quot; because the clip is so very short and you want to return to the console. Music players background/thread the decoding, separating playback from the user interface. If that's all you want to do, then background the process(&quot;play &lt;file&gt; &amp;&quot;)." CreationDate="2011-03-12T19:23:36.283" UserId="1173" />
  <row Id="11609" PostId="6434" Text="A simple example is presented here &lt;http://joey.kitenet.net/blog/entry/fakechroot_warning_label/&gt; that shows that `LD_PRELOAD`-based solutions can't be trusted as a security measure." CreationDate="2011-03-12T19:49:54.700" UserId="4319" />
  <row Id="11610" PostId="8989" Text="@Gilles: I've been using SE for a while, but thanks for the welcome anyway.:-) I admit this was not the best posed question. I may have meant something like - what are the good features of bittorrent clients that I don't know about and should? Though this not much clearer. The vagueness of this question is reflected in the fact that I don't know which answer to select, though judging by upvotes Transmission, or possibly Vuze is popular. However, I've learnt some interesting things from these answers." CreationDate="2011-03-12T20:07:37.797" UserId="4671" />
  <row Id="11611" PostId="8897" Text="@maaartinus Yes. 1min/5min/15min determine the time after which older measures have a weighting less or equal to 1/e in the EMA computation. This precision does not appear in _man uptime_ or _man top_." CreationDate="2011-03-12T20:14:28.063" UserId="5528" />
  <row Id="11612" PostId="8929" Text="A blog posting with basically the same content as this answer: http://geofft.mit.edu/blog/sipb/33 ." CreationDate="2011-03-12T20:14:53.570" UserId="4319" />
  <row Id="11613" PostId="6923" Text="it freezes before countdown starts or after it reaches zero?" CreationDate="2011-03-12T21:05:44.877" UserId="3886" />
  <row Id="11614" PostId="9127" Text="+1 to use test -d and || " CreationDate="2011-03-12T21:06:21.577" UserId="2567" />
  <row Id="11615" PostId="9162" Text="I don't understand what's happening. Do you mean that unless `Shift` and `Ctrl` are both held, nothing happens when you press a key? Or that your keyboard acts as if they are both held all the time? Are you still able to type commands into the machine? If you can, run `xev` and tell us what it displays when you press the `A` key." CreationDate="2011-03-12T21:47:49.153" UserId="885" />
  <row Id="11617" PostId="9162" Text="@Stuck: You can edit your question to add more information; don't write an answer for that. A moderator has converted your answer to a comment, and I've merged it into your question so that the `xev` output would be more readable." CreationDate="2011-03-12T22:19:44.493" UserId="885" />
  <row Id="11618" PostId="9162" Text="@Gilles Adding it to the question was a good idea; I ended up deleting the converted comment since it's useless now" CreationDate="2011-03-12T22:26:56.533" UserId="73" />
  <row Id="11619" PostId="9165" Text="but if I plan on making it a server that others can log into remotely with their own credentials I could still potentially benefit from a correct setup?  That's not in the immediate plans but could eventually be..." CreationDate="2011-03-12T22:46:31.933" UserId="5630" />
  <row Id="11620" PostId="9165" Text="@Kenneth: The more services you run, and the more users you have, the more security SELinux can bring. At the extreme of a single-user machine with only ssh, SELinux is no use. Beyond that, yes, it's useful, but it's a large investment. Always keep in mind that a poorly understood security tool is a liability, because you might get a false sense of security if you get overconfident about its abilities, and there's a risk that you will misconfigure it and introduce a security hole." CreationDate="2011-03-12T22:51:37.400" UserId="885" />
  <row Id="11621" PostId="9159" Text="@Warren: Thanks for your explanation. +1." CreationDate="2011-03-12T22:55:43.513" UserId="5462" />
  <row Id="11622" PostId="9094" Text="@Shawn: ordered a converter. Thanks again for the answer." CreationDate="2011-03-12T22:56:25.103" UserId="5462" />
  <row Id="11623" PostId="9165" Text="@Gilles perhaps then I will disable it for the time being as I don't plan on making my web server available for public viewing at this time.  Then I'll just spend what time I have available studying it for later use..." CreationDate="2011-03-12T22:58:31.463" UserId="5630" />
  <row Id="11624" PostId="9145" Text="@glenn to be more clear, your answer doesn't work as stated because the 'zero-pad' flag only works with the `%d` format specifier, *not* `%s`" CreationDate="2011-03-12T23:11:29.273" UserId="1338" />
  <row Id="11626" PostId="6923" Score="1" Text="before it starts.&#xA;&#xA;the spinning thing spins for a bit in the bottom left corner, then stops and a cursor appears at the top left and the entire thing seems to freeze" CreationDate="2011-03-12T23:36:46.370" UserId="4478" />
  <row Id="11627" PostId="9171" Text="Woah, it's that easy! Exactly what I needed, thanks." CreationDate="2011-03-12T23:49:14.787" UserId="5361" />
  <row Id="11628" PostId="9169" Text="X86 segmentation was obsolete when the i386 came out.  Linux has never used segmentation for memory management.  Some derivatives like ELKS and (possibly) uClinux might. " CreationDate="2011-03-12T23:55:08.157" UserId="3389" />
  <row Id="11629" PostId="9172" Score="3" Text="This seems a) awfully vague and b) not particularly Unix/Linux related." CreationDate="2011-03-12T23:57:14.513" UserId="2511" />
  <row Id="11630" PostId="9165" Score="1" Text="@Kenneth - the upside of learning it now, is that if you do need it in anger you will already have learned a lot of its foibles...and it has a few:-)" CreationDate="2011-03-13T00:28:49.167" UserId="3046" />
  <row Id="11632" PostId="7349" Text="@Paul Dixon: there's no reason this can't be answered here, as it is not particularly Ubuntu-specific. " CreationDate="2011-03-13T02:34:22.813" UserId="2511" />
  <row Id="11633" PostId="8491" Text="I could kick myself; I was whitelisting the envelope-from address, which isn't the same as the From: address, it's returns.groups.yahoo.com. Fixed and waiting for another group email to confirm." CreationDate="2011-03-13T02:45:36.700" UserId="2769" />
  <row Id="11634" PostId="9165" Score="1" Text="SELinux can have strong benefits for home use. I'll elaborate more later. " CreationDate="2011-03-13T03:09:03.503" UserId="2511" />
  <row Id="11636" PostId="9171" Score="5" Text="Also, if you want to verify or modify the last used pattern, you can use [Control-r](http://vimhelp.appspot.com/cmdline.txt.html#c_CTRL-R) then  `/` to insert the contents of the [search pattern register (`/`)](http://vimhelp.appspot.com/change.txt.html#quote%2f) directly into a partially typed command line (e.g. right after `:%s/`)." CreationDate="2011-03-13T05:10:01.013" UserId="1107" />
  <row Id="11638" PostId="8997" Text="@Simon: I see from [Wikipedia on Trackerless Torrents](http://en.wikipedia.org/wiki/BitTorrent_tracker#Trackerless_torrents), also http://en.wikipedia.org/wiki/BitTorrent_(protocol)#Distributed_trackers, that other clients have this feature too, presumably using [Distributed Hash Tables](http://en.wikipedia.org/wiki/Distributed_hash_table). What makes Tribler different, if anything?" CreationDate="2011-03-13T08:11:17.127" UserId="4671" />
  <row Id="11639" PostId="8997" Text="@simon: Also, does this mean that clients with this distributed feature can function when clients without would not be able to, in cases where the tracker is missing or unusable? Thanks." CreationDate="2011-03-13T08:20:24.903" UserId="4671" />
  <row Id="11640" PostId="9178" Score="3" Text="This question is really unclear. Read code in what exactly? Also in instances like this some form of image to demonstrate exactly what you mean would add a great deal of clarity to the question. Also, are we talking about Google Chrome, or a font which is named Chrome?" CreationDate="2011-03-13T08:27:46.657" UserId="5067" />
  <row Id="11641" PostId="9179" Text="Thanks. Well, writing my entire work profile is illogical so I haven't mentioned it full. here. But shall keep your reply's last line in mind." CreationDate="2011-03-13T08:49:55.880" UserId="4335" />
  <row Id="11642" PostId="9068" Text="Hi Sam, while your code will do (and actually that's what I'm currently doing), it has a large performance overhead." CreationDate="2011-03-13T09:30:07.667" UserId="4537" />
  <row Id="11643" PostId="9171" Text="thats very useful hint as well. Thanks @Chris! +1" CreationDate="2011-03-13T10:38:38.267" UserId="5361" />
  <row Id="11644" PostId="9177" Text="Thanks. I checked the Gentoo WiKi. I found the patch was to apply to the `2.6.30` kernel, but even the latest kernel does have that patch applied. Why? I was trying to look for a way that does not require a private kernel patch." CreationDate="2011-03-13T11:12:45.737" UserId="5075" />
  <row Id="11645" PostId="6046" Text="Today's kernel might be rather different from the BSD kernel, but I think it was initially (at least partly) based on it." CreationDate="2011-03-13T11:20:16.030" UserId="1919" />
  <row Id="11646" PostId="9120" Text="@Gilles: You say &quot;...only one type of word&quot;. Okay, I'm running with that. This suggests that word-splitting means: Splitting **OF** a Word into sub Words based on IFS.. I had thought that word-splitting meant splitting **AT** word boundries, and that the words involved were those demarked by the IFS, and the nett result was that adjacent IFS chars were reduced to a single (1st)-IFS-char... BUT I was wrong :).. As you've mentioned, it seems that in shell-expansion jargon, a **Word** is an arbitrary string which is, as per precedence rules, subject to word-splitting... I think I've got it :)" CreationDate="2011-03-13T11:29:52.120" UserId="2343" />
  <row Id="11647" PostId="9182" Text="No, you wouldn't have gotten this error message from what you show here (which has only a `cd` command on the left side of the pipe). Copy-paste your actual command." CreationDate="2011-03-13T11:31:40.950" UserId="885" />
  <row Id="11648" PostId="9068" Text="@user4536: I see. I have another strategy in mind that I'll post about when I have time writing it down. What are your typical stack sizes?" CreationDate="2011-03-13T11:37:07.530" UserId="5632" />
  <row Id="11649" PostId="9120" Text="@fred.bear: Yes. For example, try splitting the same word twice, but changing the value of `IFS` in between: you'll get different splits. (`foo=&quot;one two  three,four,,five&quot;; echo $foo; IFS=,; echo $foo`)" CreationDate="2011-03-13T11:39:27.417" UserId="885" />
  <row Id="11650" PostId="9183" Text="Err, I'm guessing 'distance' should be 'destination'. Or possibly 'distant directory'." CreationDate="2011-03-13T11:55:21.117" UserId="571" />
  <row Id="11651" PostId="9183" Text="LOL, I have no idea how that got there." CreationDate="2011-03-13T12:04:04.740" UserId="2671" />
  <row Id="11652" PostId="9068" Text="It's hard to say really as my research does not assume a specific stack size, but for the sake of this argument let's say at least a couple of pages long&#xA;&#xA;Could you drop a hint regarding your strategy?&#xA;Thanks for the help anyway!" CreationDate="2011-03-13T12:21:55.380" UserId="4537" />
  <row Id="11653" PostId="9182" Score="1" Text="[Cross-posted at Ask Ubuntu.](http://askubuntu.com/questions/30154/copy-directory-to-external-hdd) Shira: please [do not cross-post between Stack Exchange sites](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073). This question is suitable for both sites, but pick only one." CreationDate="2011-03-13T12:42:12.263" UserId="885" />
  <row Id="11654" PostId="9145" Text="oops right. fixed" CreationDate="2011-03-13T13:51:00.550" UserId="4667" />
  <row Id="11655" PostId="6433" Score="1" Text="Try asking your system administrator to make you a second user account." CreationDate="2011-03-13T14:36:42.867" UserId="3389" />
  <row Id="11656" PostId="9073" Text="Thanks again, accepted the answer." CreationDate="2011-03-13T14:41:14.013" UserId="5462" />
  <row Id="11657" PostId="6046" Text="@hasen j: nope, it wasn't. And I'm tempted to downvote, but please read up about the [Mach kernel](https://secure.wikimedia.org/wikipedia/en/wiki/Mach_kernel) first and its involvement in [Mac OS X](https://secure.wikimedia.org/wikipedia/en/wiki/Mac_OS_X), perhaps you will correct your statement then ;)" CreationDate="2011-03-13T14:44:04.353" UserId="5462" />
  <row Id="11658" PostId="9066" Text="@imz: why didn't you just edit that into your existing answer?" CreationDate="2011-03-13T14:47:01.730" UserId="5462" />
  <row Id="11659" PostId="9066" Text="@STATUS_ACCESS_DENIED: These were different directions in potential implementation of the solution; not inter-related. So, I didn't want to make a single messy text, I wanted to keep different ideas separated, until I will have a better understanding of how to organize a single piece of text wih dedicated sections for separate ideas. A wiki-style work in progress..." CreationDate="2011-03-13T14:55:55.887" UserId="4319" />
  <row Id="11660" PostId="9066" Text="@imz: the horizontal rule works fine for the rest of us when separation is needed. But okay ;)" CreationDate="2011-03-13T14:57:13.563" UserId="5462" />
  <row Id="11661" PostId="9191" Text="thank you very much!!!- btw i didn't use tar.........." CreationDate="2011-03-13T15:13:33.120" UserId="5171" />
  <row Id="11662" PostId="9194" Score="1" Text="@penyuan: Can you give more details about your boot setup? You say  the /boot directory and boot partition are empty. Were these distinct? Describe the layout. Are you also saying you think these files were deleted somehow? Presumably they were there before the autofs installation and reboot? The usual way of handling such issues is to chroot into the system with a live cd and do repairs as necessary, but you might want to try to figure out what happened first." CreationDate="2011-03-13T17:45:06.513" UserId="4671" />
  <row Id="11663" PostId="9194" Score="1" Text="Or alternatively, chroot into the system with another installation of the same OS on the same computer." CreationDate="2011-03-13T17:52:23.700" UserId="4671" />
  <row Id="11664" PostId="8861" Text="@Gilles: I updated my question with up to date information. What do I need to back up exactly? The first few blocks of the disks or is there a specific tool for this?" CreationDate="2011-03-13T19:48:10.447" UserId="4477" />
  <row Id="11665" PostId="9190" Score="2" Text="Nice explanation. I'd just add some hands-on example: `cat` and press arrow keys vs `tput smkx; cat; tput rmkx` and press arrow keys." CreationDate="2011-03-13T20:48:08.730" UserId="1987" />
  <row Id="11666" PostId="9196" Text="Is `assemble.sh` in your current directory?" CreationDate="2011-03-13T20:54:21.210" UserId="3082" />
  <row Id="11667" PostId="8861" Text="@stribika: The superblock is the last full 64kB block aligned on a 64kB boundary on the partition. I have no idea how `/dev/sdd2` can be in a separate array despite having the same UUID as `sd{a,b,c}2`." CreationDate="2011-03-13T22:19:53.737" UserId="885" />
  <row Id="11668" PostId="9199" Text="No, this shows the location of all (world-)readable files whose name contain `assemble.sh`, which is irrelevant here." CreationDate="2011-03-13T22:22:30.097" UserId="885" />
  <row Id="11669" PostId="9198" Score="3" Text="Or just `type assemble.sh`, which is portable (and only shows the first match whereas `type -a` is a ksh/bash construct to show all matches)." CreationDate="2011-03-13T22:24:15.010" UserId="885" />
  <row Id="11670" PostId="9153" Text="You mention ssh, is it relevant? If so the display number is probably not your display. You will not normally specify a display number as the DISPLAY  environment variable is used by default." CreationDate="2011-03-13T22:50:06.023" UserId="4778" />
  <row Id="11671" PostId="9199" Text="It is not irrelevant at all. Even if he had multiple files called like that `locate` would also give him the location of the one he wants. `assemble.sh` is not such a common filename, so he will likely find the file easily (which is what the OP requests)." CreationDate="2011-03-13T22:50:37.770" UserId="3860" />
  <row Id="11672" PostId="8589" Text="If it is truly &quot;myapp&quot; meaning your code, and it is exiting because it is – as you say – done, then perhaps your definition of &quot;done&quot; needs to be examined in `myapp.py` Crossing levels from Python to shell when you really want the Python app to loop is poor practice, loses state (`exit` gives you one whole integer of return value) and costs at least one process respawn. Worst of all, it can come to bite you in surprising ways 2 months from now. " CreationDate="2011-03-13T22:52:24.363" UserId="1294" />
  <row Id="11673" PostId="8589" Text="And adding sleep to the script only avoids a rapid respawn loop which costs time when things are working and is still broken if `myapp` is failing." CreationDate="2011-03-13T22:56:49.943" UserId="1294" />
  <row Id="11678" PostId="9199" Text="Don't you have to `updatedb` before `locate` shows results?" CreationDate="2011-03-14T00:02:19.273" UserId="4667" />
  <row Id="11679" PostId="9199" Text="Usually `updatedb` is run daily as a cron job, but yeah, you may have to force it if the file is very recent. " CreationDate="2011-03-14T00:15:18.197" UserId="3860" />
  <row Id="11681" PostId="9204" Text="A screen shot would help understand your problem." CreationDate="2011-03-14T01:21:50.037" UserId="885" />
  <row Id="11682" PostId="9106" Text="Instead of doing dual boot, I would look into running Windows in a VM. It's much more secure that way, and a lot easier to switch back and forth between them." CreationDate="2011-03-14T01:24:15.527" UserId="5447" />
  <row Id="11683" PostId="9209" Text="Gilles, oh wow and it was staring me in the face the whole time. Thanks so much!!! wait, uh oh. GParted won't let me do anything with sdc2. No option to resize..." CreationDate="2011-03-14T01:24:21.433" UserId="5700" />
  <row Id="11684" PostId="9209" Text="Filesystems have nothing to do with partitioning. You can have a filesystem on any partition whether it's a primary or a extended partition. " CreationDate="2011-03-14T01:31:13.680" UserId="5698" />
  <row Id="11685" PostId="9209" Text="@LuxuryMode: I thought you could resize an extended partition with GParted. Try creating a logical partion, maybe. If all else fails, at this point, you can just delete the swap partition and start again." CreationDate="2011-03-14T01:36:59.773" UserId="885" />
  <row Id="11686" PostId="9209" Text="@Deleted: Yes, technically you can put a filesystem on an extended partition, but it'll be very confusing." CreationDate="2011-03-14T01:37:50.867" UserId="885" />
  <row Id="11687" PostId="9122" Text="Thanks for the information! Could you give me some hint about using system() to get this information?" CreationDate="2011-03-14T01:38:25.313" UserId="5495" />
  <row Id="11689" PostId="9122" Text="Actually, not `system()` but rather `popen()` so you can capture the output of `xdg-mime`." CreationDate="2011-03-14T01:41:52.737" UserId="5325" />
  <row Id="11690" PostId="9196" Text="Probably a dumb question, but is it an alias (i.e. does assemble.sh show up when you type the command&#xD;&#xA;&#xD;&#xA;`alias`&#xD;&#xA;&#xD;&#xA;?" CreationDate="2011-03-13T23:04:00.983" UserId="5215" />
  <row Id="11691" PostId="9209" Text="@Gilles: How? Extended partitions just show up an any other partition. There's no difference running mkfs on /dev/sda1 as /dev/sda7, if it's a valid partition than you can create a file system on it. It the same on Windows, Disk Administrator can create FAT32 or NTFS filesystems on extended partitions. I don't know why you would find it confusing. " CreationDate="2011-03-14T02:16:48.103" UserId="5698" />
  <row Id="11692" PostId="9209" Text="@Deleted: Oh, I see. You're mixing up logical partitions with extended partitions. Read my answer." CreationDate="2011-03-14T02:23:50.327" UserId="885" />
  <row Id="11693" PostId="9209" Text="@Giles: Um, no offense but &quot;logical&quot; partitions are the partitions created from &quot;extended&quot; partitions. An extended partition uses the space from a primary partition to create the partition map for &quot;logical&quot; partitions. An extended partition isn't a real partition, it just hold the partition maps for the logical partitions. Any modern OS sees logical partitions just like primary partitions. I have 4 OS's on my laptop and 6 partitions with the 3 Linux distro's sharing a swap partition. I had no problem creating filesystems or installing OS's on my &quot;logical&quot; partitions." CreationDate="2011-03-14T02:39:05.243" UserId="5698" />
  <row Id="11694" PostId="9201" Text="I have a feeling that this is above my skill level... Also, what effect would having it run without ACPI have on the system?" CreationDate="2011-03-14T03:45:51.837" UserId="4478" />
  <row Id="11695" PostId="9209" Score="1" Text="@LuxuryMode you have to unmount sdc5 (it's being used for swap) and then sdc2 first before you can do anything to sdc2." CreationDate="2011-03-14T04:04:34.967" UserId="250" />
  <row Id="11696" PostId="9194" Text="Just edited original question with detailed partition structure, hope that will be useful. Please help, thanks!!" CreationDate="2011-03-14T05:04:45.593" UserId="1375" />
  <row Id="11697" PostId="9201" Text="without ACPI system will not be able to control devices power state and shutdown correctly on pressing power button" CreationDate="2011-03-14T05:52:52.227" UserId="3886" />
  <row Id="11698" PostId="9030" Text="Thanks - sounds like the best solution to me as I don't have to fiddle around with creating/modifying partitions. Downtime is not a problem as this machine is not yet online." CreationDate="2011-03-14T07:51:40.003" UserId="5582" />
  <row Id="11699" PostId="9217" Text="No. I run &quot;autoreconf --force --install&quot;. Have I missed something?" CreationDate="2011-03-14T07:53:46.133" UserId="5495" />
  <row Id="11700" PostId="9217" Text="No.  `autoreconf` is the recommended way to do it, as it will run all the various components that are likely to be needed (`automake`, `aclocal`, `libtoolize`, `autoconf`, etc.) and run multiple times if needed to satisfy additional dependencies discovered by e.g. `aclocal`." CreationDate="2011-03-14T07:56:49.607" UserId="5325" />
  <row Id="11701" PostId="9217" Text="Thanks for the information! But if&quot;autoreconf&quot; is enough, why AC_SUBST(DBUS_CFLAGS) and AC_SUBST(DBUS_LIBS) don't work? " CreationDate="2011-03-14T08:00:14.927" UserId="5495" />
  <row Id="11703" PostId="9217" Text="I can use pkg-config to get the flags but they don't appear in my Makefile. $pkg-config --cflags dbus-glib-1 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include $pkg-config --libs dbus-glib-1 -pthread -L/lib -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 " CreationDate="2011-03-14T08:04:04.343" UserId="5495" />
  <row Id="11704" PostId="9217" Text="Sorry, misread before.  I don't actually know if `autoreconf` works the *first* time (note the `-re-`), as I've only needed to use it when working on existing packages.  (Most of my development is in Perl or Haskell, neither of which is particularly `autoconf`-friendly.)" CreationDate="2011-03-14T08:06:03.247" UserId="5325" />
  <row Id="11705" PostId="9217" Text="And the `pkg-config` thing is what `aclocal` should be bringing in, by seeing the DBus dependency and importing its definitions.  That said, I don't know with certainty what needs to be in `configure.am` for `aclocal` to recognize it needs to load the dependencies for DBus.  (I think I'll bow out now and let someone with more autoconf experience pipe up.)" CreationDate="2011-03-14T08:08:54.040" UserId="5325" />
  <row Id="11706" PostId="9118" Text="Excellent, cheers Gilles, that’s done it. I also found these articles helpful for getting Xvfb running: http://www.alittlemadness.com/2008/03/05/running-selenium-headless/, and http://blog.kabisa.nl/2010/05/24/headless-cucumbers-and-capybaras-with-selenium-and-hudson/" CreationDate="2011-03-14T08:44:58.413" UserId="5646" />
  <row Id="11707" PostId="8589" Text="I was looking for a general solution that was applicable to any executable, of course I could've looped it in the python script itself but I wasn't looking for that, but rather explicitly a command line tool if there was one. I wasn't planning on running anything for 2 months either, just something to use in the moment. I'm well aware of all the issues you've mentioned so far. Can I not shoot myself in the foot if I have a use case for having a hole in my foot?" CreationDate="2011-03-14T09:35:45.543" UserId="3125" />
  <row Id="11708" PostId="9201" Text="Will it effect battery life or the ability to put the computer to sleep?" CreationDate="2011-03-14T09:42:09.953" UserId="4478" />
  <row Id="11709" PostId="9194" Text="Do you have a USB drive plugged in?  Did you change the boot order in BIOS?" CreationDate="2011-03-14T09:55:20.177" UserId="3169" />
  <row Id="11710" PostId="9194" Text="When you type `root (hd0,0)`, what does it say?  It should say something like `Filesystem type is ext2fs`.  You can then try `kernel &lt;TAB&gt;` to try and look for a partition containing a `vmlinuz` file." CreationDate="2011-03-14T09:57:54.933" UserId="3169" />
  <row Id="11711" PostId="9194" Text="Given it's on `/dev/sdb`, I would suggest trying `root (hd1,0)`." CreationDate="2011-03-14T09:59:33.230" UserId="3169" />
  <row Id="11712" PostId="9223" Score="2" Text="While the '2' might sound counterintuitive you need to remember that when deleting upwards it starts with the line the cursor is on, /then/ follows the move command. This may sound weird, but it is in fact consistent with how vi handles commands." CreationDate="2011-03-14T10:31:18.117" UserId="4949" />
  <row Id="11714" PostId="5020" Score="1" Text="Do you have a link to a good tutorial or howto?&#xD;&#xA;I am stuck with early-ssh on my debian squeeze box." CreationDate="2011-03-14T11:31:42.813" UserId="5707" />
  <row Id="11715" PostId="9223" Score="3" Text="Actually, it's not just because you're deleting upwards, it's because the structure of the command is different. 'dd' means delete this line. 3dd means 'delete this line'x3. On the other hand 'dk' means 'delete from here to one line up' - that means two lines. So '2dk' means delete from here to two lines up'. By the way, you can delete downwards the same: '2dj' will also delete three lines - it's the same as '3dd'." CreationDate="2011-03-14T12:06:17.410" UserId="2180" />
  <row Id="11716" PostId="9228" Text="I updated my question to exclude `--timestamping` flag." CreationDate="2011-03-14T12:09:05.453" UserId="688" />
  <row Id="11717" PostId="9228" Text="Also, look at my question for clarification... I do want new files." CreationDate="2011-03-14T12:09:38.107" UserId="688" />
  <row Id="11718" PostId="9091" Text="@Tshepang &amp; @Gilles : I hope the info provides what you guys required." CreationDate="2011-03-14T12:45:01.927" UserId="4290" />
  <row Id="11719" PostId="9228" Text="Unless you have access to the web server's config and can re-enable last-modification header, wget has no other way of knowing that the remote file is newer than the local one.&#xA;" CreationDate="2011-03-14T12:49:57.007" UserId="5666" />
  <row Id="11721" PostId="9218" Text="Can you post the result of `sudo -V` and `uname -a`?" CreationDate="2011-03-14T13:10:04.417" UserId="3645" />
  <row Id="11722" PostId="9091" Text="The error &quot;D: May free Score board((nil))&quot; is most likely not a useful diagnostic error, it just is the last line in the verbose output.  Would it be possible if you could post more of the rpmbuild output?" CreationDate="2011-03-14T13:10:05.467" UserId="3976" />
  <row Id="11724" PostId="9228" Text="This won't be reliable, but maybe it can compare file sizes or, better still, the timestamp :)" CreationDate="2011-03-14T13:45:49.147" UserId="688" />
  <row Id="11725" PostId="9231" Score="3" Text="Er. All of them?" CreationDate="2011-03-14T13:58:19.670" UserId="73" />
  <row Id="11726" PostId="9228" Score="2" Text="But that's your problem, timestamp **is** the missing `Last-modified` header and wget doesn't have a size-only check (it would also be unreliable anyway)" CreationDate="2011-03-14T13:59:24.687" UserId="5666" />
  <row Id="11727" PostId="9231" Text="This would be a perfect 'community wiki' question." CreationDate="2011-03-14T14:23:40.070" UserId="2180" />
  <row Id="11728" PostId="9228" Text="That's why I was looking for a workaround :)" CreationDate="2011-03-14T14:25:38.423" UserId="688" />
  <row Id="11729" PostId="9231" Score="5" Text="This is why man pages exist, so you don't have to remember them all." CreationDate="2011-03-14T15:40:31.440" UserId="4667" />
  <row Id="11730" PostId="8861" Text="@Gilles: Tried it but didn't work. I posted the parsed superblocks (based on the mdadm source code) here: http://sprunge.us/iAFh The different superblocks store different information about the number of active disks." CreationDate="2011-03-14T15:53:33.330" UserId="4477" />
  <row Id="11731" PostId="9194" Text="@penyuan: There is nothing wrong with your installation. In your first display, /dev/sdb1 is your /boot partition. /dev/sdb3 is root (/). You probably got your grub conf a little bit scrambled. forcefsck below has instructions which will chroot you into your installation. once you are in there, take a look at your grub.conf and try to fix it. This looks like Grub legacy. Can you confirm that? If you can't figure out your grub conf, I suggest you post it here." CreationDate="2011-03-14T15:54:10.583" UserId="4671" />
  <row Id="11732" PostId="9224" Score="1" Text="@forcefsck: Hang on. For /proc and /dev at least, you should be using mount --bind, not copying it." CreationDate="2011-03-14T15:57:20.250" UserId="4671" />
  <row Id="11733" PostId="9194" Text="@penyuan: Stick the conf at the bottom of your question, perhaps." CreationDate="2011-03-14T16:00:55.333" UserId="4671" />
  <row Id="11734" PostId="9224" Text="You also want to bind mount /sys." CreationDate="2011-03-14T16:06:57.087" UserId="4671" />
  <row Id="11735" PostId="9224" Text="Here is a example found by googling, but seems reasonably clear. Note mount -o bind is equivalent to mount --bind. http://fermilinux.fnal.gov/documentation/tips/mount-bind-chroot" CreationDate="2011-03-14T16:09:17.333" UserId="4671" />
  <row Id="11736" PostId="9235" Text="keyboards are fine!" CreationDate="2011-03-14T16:13:13.653" UserId="912" />
  <row Id="11737" PostId="9224" Text="I tried &quot;mount --bind /dev/sd* /mnt/root/dev/&quot; (and also &quot;mount -o&quot;) but it didn't work, instead I got the usual &quot;mount --help&quot; output. What should I do?" CreationDate="2011-03-14T16:39:55.970" UserId="1375" />
  <row Id="11738" PostId="9194" Text="Yes I am using GRUB legacy. I am posting my menu.lst." CreationDate="2011-03-14T16:45:37.617" UserId="1375" />
  <row Id="11739" PostId="9201" Score="1" Text="Yes, ACPI is used to control fans speed and periferal devices power consumption. You can try to use old power management interface - `apm(4)`, but it will give much less control. Also, CPU scaling will be not affected, since it uses own interfaces, not related to ACPI." CreationDate="2011-03-14T16:47:24.447" UserId="3886" />
  <row Id="11740" PostId="9230" Text="Could you add the output of &quot;netstat -r&quot; (or &quot;ip route&quot;) under both (or all) situations? The default route may have something to do with this.  Running &quot;ifconfig&quot; on the interfaces may also give you a hint.  You've included what *ought* to happen, but you should look at what *really* happens." CreationDate="2011-03-14T17:03:57.330" UserId="732" />
  <row Id="11741" PostId="9236" Text="Is the Linux image actually on the USB device? Have you checked it? And how are you trying to install Fedora &quot;from Windows&quot;? That won't work. You have to reboot your computer, and start up off of the USB device." CreationDate="2010-12-12T16:49:50.370" />
  <row Id="11742" PostId="9236" Text="Did you check the SHA sum on the image?" CreationDate="2010-12-12T17:17:29.150" UserId="1899" />
  <row Id="11743" PostId="9236" Text="this would be better at serverfault.com" CreationDate="2010-12-12T17:33:31.983" UserId="3108" />
  <row Id="11744" PostId="9230" Text="gemini:~# netstat -r&#xA;Kernel IP routing table&#xA;Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface&#xA;24.249.108.192  *               255.255.255.224 U         0 0          0 eth1&#xA;172.16.130.0    *               255.255.255.0   U         0 0          0 eth0&#xA;default         wsip-24-249-108 0.0.0.0         UG        0 0          0 eth1&#xA;" CreationDate="2011-03-14T17:29:34.140" UserId="5710" />
  <row Id="11745" PostId="9237" Score="1" Text="instead of assuming it doesn't exist, maybe you should assume you were unable to find it?" CreationDate="2011-03-14T17:37:24.073" UserId="1952" />
  <row Id="11746" PostId="9236" Score="1" Text="Wait, you're trying to install Fedora?  Or Ubuntu?  You're following the instructions on how to install with a Fedora LiveCD, but you're using an Ubuntu ISO image.  Which distro do you want to install?" CreationDate="2011-03-14T17:40:45.817" UserId="3976" />
  <row Id="11747" PostId="9091" Text="@jsbillings : Spot on... it does create the rpm. can you post it as a reply so i can accept it :)" CreationDate="2011-03-14T17:42:02.693" UserId="4290" />
  <row Id="11748" PostId="9245" Text="`cups` uses avahi for printer discovery, if that happens to be important to you." CreationDate="2011-03-14T18:35:06.730" UserId="2511" />
  <row Id="11749" PostId="9224" Text="@penyan, as I said, do exactly what I have written. I have no &quot;mount --bind /dev/sd* /mnt/root/dev/&quot; command above. To others, my commands are sufficient, no need for /sys, no problem with the way I mount /proc and of-course no problem with having a few real file devices in /dev. " CreationDate="2011-03-14T18:36:52.257" UserId="5666" />
  <row Id="11750" PostId="9194" Score="1" Text="@penyuan: fyi, if you want someone to be notified of your comment stick a @username in front of your comment." CreationDate="2011-03-14T19:07:19.263" UserId="4671" />
  <row Id="11751" PostId="9224" Text="@penyuan: read the link i provided. you are mixing commands together." CreationDate="2011-03-14T19:08:23.927" UserId="4671" />
  <row Id="11752" PostId="9224" Text="@forcefsck: mount --bind is standard practice for chroots. just google &quot;mount bind chroot&quot;. As to the why, note for example that if the chroot needs access to devices, then clearly a bind is necessary." CreationDate="2011-03-14T19:09:20.433" UserId="4671" />
  <row Id="11753" PostId="9226" Text="You may also want to consider (instead) using this on your clients: https://www.eff.org/https-everywhere" CreationDate="2011-03-14T19:10:25.547" UserId="2511" />
  <row Id="11754" PostId="9224" Score="1" Text="@faheem, I know what the bind option does and how to use it. I've done this procedure a million times, I don't need to blindly follow a howto to install grub. Let @penyan follow my instructions without confusing him, and if he gets stack somewhere I'll guide him through." CreationDate="2011-03-14T19:48:35.597" UserId="5666" />
  <row Id="11755" PostId="9200" Text="There is #!/bin/bash in this script. In Arch Linux /bin/sh is symlink to /bin/bash too." CreationDate="2011-03-14T19:51:26.687" UserId="5153" />
  <row Id="11756" PostId="9247" Text="Can you upload a compiled binary and run it there?" CreationDate="2011-03-14T19:58:05.550" UserId="4319" />
  <row Id="11757" PostId="9200" Text="There are 434 lines of code, about 17KB. I can upload it somewhere. However, I am not sure about copyrights." CreationDate="2011-03-14T20:00:01.377" UserId="5153" />
  <row Id="11758" PostId="9200" Text="@Michas: I've just realized that the immediate cause of the error is obvious (see my edited answer). But it's impossible to know why the error occurs without seeing the whole script. Is the driver downloadable on the manufacturer's web site? If so, it's probably acceptable for you to upload an extract in a public location somewhere." CreationDate="2011-03-14T20:12:38.860" UserId="885" />
  <row Id="11759" PostId="9201" Text="There's still the question of how to compile the kernel..." CreationDate="2011-03-14T20:32:46.973" UserId="4478" />
  <row Id="11760" PostId="9224" Text="@forcefsck: I don't want to get into an argument here, so I'll just say this. These instructions are not for you, they are for the poster, and they constitute generally recommended procedure. I don't think there is anything confusing about what I wrote. It is up to him what use he makes of it. That is all I have to say." CreationDate="2011-03-14T20:47:07.073" UserId="4671" />
  <row Id="11761" PostId="9238" Text="`read` is what I was looking for! Unfortunately, it's not present in my embedded system (using busybox).. :(" CreationDate="2011-03-14T20:56:36.477" UserId="3608" />
  <row Id="11762" PostId="9248" Text="not, I'm looking for a command line.." CreationDate="2011-03-14T20:58:42.450" UserId="3608" />
  <row Id="11763" PostId="9254" Text="Cool, thanks.  Looks like that that works under RHEL, but not under Solaris (as you indicated).  Anybody know if there's something similar for Solaris?" CreationDate="2011-03-14T21:01:39.950" UserId="5721" />
  <row Id="11764" PostId="9238" Text="@Tom Brito: `read` is a shell builtin; you won't find it in /bin. Does it really not work in your busybox shell? (it works in mine, but I guess maybe its possible to compile busybox w/o it)" CreationDate="2011-03-14T21:37:59.980" UserId="977" />
  <row Id="11765" PostId="9235" Text="beats me, then. sorry :\" CreationDate="2011-03-14T21:43:18.793" UserId="5618" />
  <row Id="11766" PostId="9218" Text="what can probably also help is posting additional system details, distribution, version, specific things you may have done since installation...hth" CreationDate="2011-03-14T21:44:39.633" UserId="5618" />
  <row Id="11767" PostId="9255" Score="3" Text="The difference between exported variables and non-exported variables is that only exported variables are visible in programs started by that shell. Your question doesn't make any sense: local variables can be appended to the path. You've misinterpreted something, but what? Post the code that puzzles you." CreationDate="2011-03-14T21:48:50.893" UserId="885" />
  <row Id="11768" PostId="9125" Text="Hey man, I said that's what I used, not that it worked! Why do you think I'm asking? Plus, it was &quot;something like&quot; because I could never get it to work and had to google around for the xargs part." CreationDate="2011-03-14T21:49:20.190" UserId="431" />
  <row Id="11769" PostId="9126" Text="Still can't believe there isn't an easier way to do this. And I tried the &quot;grep -r&quot; and it didn't work. Why is it only GNU grep only and why isn't that on more systems?" CreationDate="2011-03-14T21:51:05.807" UserId="431" />
  <row Id="11770" PostId="9134" Text="Yeah, apparently not everyone has the fancy version of grep." CreationDate="2011-03-14T21:54:03.603" UserId="431" />
  <row Id="11771" PostId="9125" Text="Sorry, that remark was directed at @Hello71.  I'm still getting used to StackExchange etiquette." CreationDate="2011-03-14T21:58:12.363" UserId="5325" />
  <row Id="11772" PostId="9126" Score="1" Text="Because traditional `grep` didn't have it (the idea was that if you wanted recursion, you used `find` with `grep`) and adding it after the fact to systems that have been working for years could break things.  (GNU `grep` doesn't behave quite identically to e.g. System V `grep`.)" CreationDate="2011-03-14T21:58:49.807" UserId="5325" />
  <row Id="11773" PostId="9255" Text="I'm not sure I understand the question, but the whole point of `export`ing variables is to make them available outside of the current shell.  Could you show what you're trying to do?  What `PATH` expression isn't working?  How are you starting the new shell?" CreationDate="2011-03-14T21:51:24.930" UserId="5325" />
  <row Id="11774" PostId="9215" Text="Please [do not cross-post between Stack Exchange sites](http://unix.stackexchange.com/faq). You can ask your question here or [at Ask Ubuntu](http://askubuntu.com/questions/30270/how-can-i-install-katesql-plugin-on-ubuntu), but not both. Since you're specifically after an answer on Ubuntu, I'm voting to close your question here." CreationDate="2011-03-14T22:12:18.143" UserId="885" />
  <row Id="11775" PostId="9256" Text="That's perfect. I'm trying to improve my bash knowledge while writing a script that creates date based folders for the images and renames the files appropriately like you mentioned." CreationDate="2011-03-14T22:12:38.080" UserId="5720" />
  <row Id="11776" PostId="9249" Text="Actually you can also change the date and time format with `ls --time-style=&quot;...&quot;` - I'm not sure whether this is standard or GNU ls, likely GNU." CreationDate="2011-03-14T22:22:32.783" UserId="3519" />
  <row Id="11777" PostId="9249" Text="Definitely GNU." CreationDate="2011-03-14T22:28:18.707" UserId="5325" />
  <row Id="11778" PostId="9250" Text="The easiest way is probably `find . -print | xargs -n99999 -s999999 ls -ltr`.  But that has the problem that (1) `xargs` may not allow `-m` greater than 512 or `-s` greater than 5120, and (b) even if you can get around that, there's still a kernel-imposed maximum size of the combined argument list and environment.  Most of your ideas (save the Perl and Python ones) have the same problem, which is why I specifically avoided building long command lines." CreationDate="2011-03-14T22:49:08.977" UserId="5325" />
  <row Id="11779" PostId="9224" Score="2" Text="@Faheem Mitha, instead of spamming with comments to my posted solution while giving different instructions than mine and confusing the OP (as it turned out), why don't you provide a complete solution of your own and let @penyuan choose which one actually helped him?" CreationDate="2011-03-14T22:49:54.257" UserId="5666" />
  <row Id="11780" PostId="9250" Text="In particular, I regularly get &quot;argument list too long&quot; errors using `zsh` recursive globs in the general case." CreationDate="2011-03-14T22:51:11.440" UserId="5325" />
  <row Id="11781" PostId="9250" Text="@geekosaur: Only the last horrible kludge has a problem with long command lines. In zsh, you can do a lot with built-ins (e.g. `print -rl **/*`'s only limit is how much free memory you have), and beyond that there's `zargs`. Your proposal of `find … | xargs … ls` will sort correctly if `xargs` ends up invoking `ls` only once, and won't work if there are special characters in file names." CreationDate="2011-03-14T23:00:03.873" UserId="885" />
  <row Id="11782" PostId="9204" Text="Wow, that's a lot more than a &quot;green shade&quot;. That's messed up! Does this just happen in Firefox, or does it happen in other apps as well?" CreationDate="2011-03-14T23:26:17.137" UserId="2511" />
  <row Id="11783" PostId="9218" Text="Don't have an answer yet, but +1 for finding a way to correctly use &quot;thrice&quot;. Also, can you provide some info about your environment (Distro, version, etc.)?" CreationDate="2011-03-15T00:49:01.953" UserId="5698" />
  <row Id="11784" PostId="9134" Text="@tooshel - didn't realise the non-GNU `grep` doesn't have that option.  updated my answer :)" CreationDate="2011-03-15T01:40:17.663" UserId="5454" />
  <row Id="11785" PostId="9231" Text="@Michael: no, any of them. " CreationDate="2011-03-15T02:48:41.120" />
  <row Id="11786" PostId="9231" Text="@glenn: I would just love to be able to remember at least the most common ones so I didn't have to stop typing." CreationDate="2011-03-15T02:49:17.593" />
  <row Id="11787" PostId="9233" Text="-1 That is not an answer to my question." CreationDate="2011-03-15T02:49:35.737" />
  <row Id="11788" PostId="9261" Score="1" Text="Must head to bed — early morning tomorrow. But this pointer may help: http://ebtables.sourceforge.net/" CreationDate="2011-03-15T02:54:40.617" UserId="2511" />
  <row Id="11789" PostId="9261" Text="I'll look into this - thanks." CreationDate="2011-03-15T03:04:44.930" UserId="5286" />
  <row Id="11790" PostId="9177" Text="Another question, why the '/lib/firmware' is the right place? Is there any way/possibility it is changed? How?" CreationDate="2011-03-15T04:19:39.643" UserId="5075" />
  <row Id="11791" PostId="9262" Text="smoothwall is a fine choice - simple, lightweight and secure.  You can run it easily off a USB key if necessary, too." CreationDate="2011-03-15T05:36:43.170" UserId="5454" />
  <row Id="11792" PostId="8589" Text="fair 'nuff. I like &quot;use case for hole in my foot&quot; I think I shall steal it ;)" CreationDate="2011-03-15T05:38:48.440" UserId="1294" />
  <row Id="11793" PostId="9261" Score="1" Text="I've been running an old Compaq small-form-factor desktop with a Pentium-II 400 MHz processor for about 10 years. I use Fedora with a simple set of iptables rules.  The nice thing about that system is it has no fan so it's very quiet, and 400MHz is plenty for a firewall serving only 4 internal systems :-)" CreationDate="2011-03-15T05:47:29.473" UserId="5724" />
  <row Id="11794" PostId="9249" Text="@asoundmove: unfortunately, the box is too old (RedHat 7.2) and `ls` doesn't have that option." CreationDate="2011-03-15T06:19:24.587" UserId="1946" />
  <row Id="11795" PostId="9250" Text="@Gilles: many thanks for extremely detailed answer with lot of options! :)" CreationDate="2011-03-15T06:35:47.303" UserId="1946" />
  <row Id="11796" PostId="9204" Text="Other apps appear fine (the photo viewer for example shows the sausages in an appetizing pinky brown colour) - I'm pretty sure it's just Mint's branding, but it's a little harsh on the eyes! It's the first time I've installed Mint (I've used Ubuntu before), so I was a little shocked!" CreationDate="2011-03-15T08:24:28.800" UserId="2163" />
  <row Id="11797" PostId="8844" Text="@STATUS_ACCESS_DENIED: If you read the question more carefully, you will realise that it's an ISO file. As for second question, yeah it's a valid APT ISO." CreationDate="2011-03-15T09:52:44.483" UserId="688" />
  <row Id="11798" PostId="8844" Text="@STATUS_ACCESS_DENIED: check this out http://stackapps.com/q/2051/5198" CreationDate="2011-03-15T10:00:05.707" UserId="688" />
  <row Id="11799" PostId="9247" Text="@imz: yes, that's another way to go.  The `find` `-printf` action seems to be the easiest though." CreationDate="2011-03-15T10:09:32.470" UserId="1946" />
  <row Id="11800" PostId="9239" Text="So the safest method would be the redirect: http://pastebin.mozilla.org/1164461 ? [in the user.action] ok! Thank you!!" CreationDate="2011-03-15T10:12:06.733" UserId="5664" />
  <row Id="11801" PostId="9265" Score="1" Text="They are so intelligent they will one day take over the Earth. But for now you have to decide which ones you are going to use, such as `grep`, `egrep`, or `fgrep`." CreationDate="2011-03-15T10:27:46.830" UserId="3082" />
  <row Id="11802" PostId="183" Text="This is useful! Oftentimes you don't know if the permission allows, and if it doesn't, `sudo  !!` is probably faster than `&lt;Up&gt;&lt;C-A&gt;sudo &lt;CR&gt;`." CreationDate="2011-03-15T10:55:29.957" UserId="5674" />
  <row Id="11803" PostId="928" Text="technically, it is a program of its own, not a &quot;command&quot;." CreationDate="2011-03-15T11:00:30.607" UserId="5674" />
  <row Id="11804" PostId="926" Score="5" Text="And if your app is GUI, you probably don't want it to keep in jobs. Append `&amp;!` to background the job _and_ disown it from the shell!" CreationDate="2011-03-15T11:01:42.947" UserId="5674" />
  <row Id="11805" PostId="888" Score="2" Text="I haven't had scrolling with screen like ... ever? :/" CreationDate="2011-03-15T11:10:57.683" UserId="5674" />
  <row Id="11806" PostId="9233" Text="+1 but it does work." CreationDate="2011-03-15T11:25:06.113" UserId="4542" />
  <row Id="11807" PostId="9265" Text="But if you use egrep regularly and then suddenly switch to  fgrep, it might decide to kill you in your sleep for being unfaithful. " CreationDate="2011-03-15T11:47:39.303" UserId="4949" />
  <row Id="11808" PostId="9269" Score="2" Text="To complete your answer: http://www.gnu.org/software/coreutils/" CreationDate="2011-03-15T11:49:36.253" UserId="5594" />
  <row Id="11810" PostId="9270" Score="2" Text="Can you specify a bit what you want to do? There is too much to read for an entire lifetime based on the current question." CreationDate="2011-03-15T12:00:12.980" UserId="3645" />
  <row Id="11811" PostId="9265" Score="1" Text="They are as intelligent as the hands that wield them." CreationDate="2011-03-15T12:06:24.297" UserId="2351" />
  <row Id="11812" PostId="8844" Text="@Tshepang: I realize that, but that mount point is usually used for the physical drive." CreationDate="2011-03-15T12:16:56.423" UserId="5462" />
  <row Id="11813" PostId="1271" Text="We all agree! :)" CreationDate="2011-03-15T12:21:23.797" UserId="1233" />
  <row Id="11814" PostId="9085" Text="@BillThor: ok i've got it working. thanks for pointing me in the right direction. in the end i used expect and added my script to /etc/init.d - i'll post the solution in a sec" CreationDate="2011-03-15T12:29:19.657" UserId="5451" />
  <row Id="11815" PostId="9268" Score="1" Text="Please include system information and other relevant bits directly in your post rather than via an external link (with bit.ly or otherwise). The external resource might vanish after a while, making the question useless to future visitors with the same problem." CreationDate="2011-03-15T12:36:11.657" UserId="2511" />
  <row Id="11816" PostId="8844" Text="@STATUS_ACCESS_DENIED: Yeah, thing is I didn't even specify it. it just chooses to appear in the error message." CreationDate="2011-03-15T12:38:02.997" UserId="688" />
  <row Id="11817" PostId="9278" Text="+1 advanced bash scripting is a great resource" CreationDate="2011-03-15T13:09:12.927" UserId="2671" />
  <row Id="11818" PostId="9276" Text="thanks, i will try these 2 things out, but that will be in ~april. Thank you!!" CreationDate="2011-03-15T13:11:24.373" UserId="5664" />
  <row Id="11819" PostId="9268" Text="&quot;body is limited to 30000 characters; you entered 141757&quot;" CreationDate="2011-03-15T13:13:50.267" UserId="5664" />
  <row Id="11820" PostId="9268" Score="1" Text="@johnny8888: well, yeah, please don't include _all_ of that, but summarize the important parts. Linking to a further gigantic dump after doing that is also okay (but hopefully unnecessary.)" CreationDate="2011-03-15T13:15:12.980" UserId="2511" />
  <row Id="11821" PostId="9276" Text="@johnny8888: what will be in April? This solution should work now." CreationDate="2011-03-15T13:16:29.420" UserId="2511" />
  <row Id="11822" PostId="9276" Text="i mean i could only sit next to this pc in april." CreationDate="2011-03-15T13:18:53.100" UserId="5664" />
  <row Id="11823" PostId="9269" Text="Why would you need to look at the source code? greps algorithms are well known and documented. It's even in the Wikipedia page for grep. [link](http://en.wikipedia.org/wiki/Grep)" CreationDate="2011-03-15T14:07:26.140" UserId="5698" />
  <row Id="11824" PostId="9269" Text="@Deleted I think that you are mistaking principles with implementation." CreationDate="2011-03-15T14:22:10.400" UserId="2671" />
  <row Id="11825" PostId="9269" Text="@Let_Me_Be: The algorithm and even the implementation is well known and documented. [link](http://www.grouse.com.au/ggrep/string.html) [link](http://lists.freebsd.org/pipermail/freebsd-current/2010-August/019362.html)" CreationDate="2011-03-15T14:31:43.657" UserId="5698" />
  <row Id="11826" PostId="9246" Text="Thanks for the details. Have turned off the ones that I thought useless for my laptop. Hope my laptop works fine after a reboot. :)" CreationDate="2011-03-15T15:02:37.743" UserId="4335" />
  <row Id="11827" PostId="9269" Text="@Deleted Maybe I don't understand what you are trying to say, but that Linux grep from coreutils is using a specific algorithm, doesn't mean that all implementations use this algorithm. And yes, you are correct in that algorithms tend to be well known (since that's the point of designing them)." CreationDate="2011-03-15T15:07:32.700" UserId="2671" />
  <row Id="11828" PostId="9269" Text="@Let_Me_Be: Any Linux distro I've ever worked with uses GNU grep. The algorithms and how they're implemented in GNU grep are well known. The information is readily available in the links I posted in my previous comments.  I just feel it would be more beneficial to the OP to either explain how it works or point out where to find that information online rather than just saying, &quot;look into the source code&quot;. Telling the OP to go read the source code doesn't really provide an answer to the question. " CreationDate="2011-03-15T16:14:34.143" UserId="5698" />
  <row Id="11829" PostId="9278" Text="ABS is great, but maybe not the place to start learning for a complete beginner." CreationDate="2011-03-15T16:14:47.477" UserId="3959" />
  <row Id="11830" PostId="9230" Text="@muncherelli Where does the gateway on your internal network go? Unless the server needs outbound access beyond your internal gateway you won't need it if your on the same local network internally, but based on your output of netstat -r your routing tables look correct and shouldn't effect inbound access. When you have multiple network interfaces Linux will correctly add routes, the only issue is the default route which is correctly assigned to eth1. Also, when you say eth1 will just stop being pingable, is it that way when you boot up or does the interface drop after already being pingable?" CreationDate="2011-03-15T17:11:55.670" UserId="5698" />
  <row Id="11831" PostId="9294" Text="Thanks. Got the code. I did checkout /proc/uptime before posting here. That was the last option I was gonna use." CreationDate="2011-03-15T17:15:04.357" UserId="4335" />
  <row Id="11832" PostId="9295" Text="I don't have any of those files, and I checked all the files in all the home directories (there are only 4 users on this machine). Also, I was dumb and didn't realize that the specific solutions probably only pertains to csh scripts, but the scripts in question are ksh. Furthermore, I tried adding my own .kshrc file with &quot;if ( $?prompt &amp;&amp; { tty -s } ) stty erase ^?&quot; and various other lines I gathered online with no luck." CreationDate="2011-03-15T17:27:16.310" UserId="5737" />
  <row Id="11833" PostId="8861" Text="@stribika: Do you get any output from `mdadm --detail /dev/md1`?" CreationDate="2011-03-15T17:47:13.550" UserId="5666" />
  <row Id="11834" PostId="9194" Text="@faheem: will do! Thanks." CreationDate="2011-03-15T18:04:42.940" UserId="1375" />
  <row Id="11835" PostId="9269" Text="@Deleted OK, then you probably just need to reformulate your comments, because your motive is hard to follow. And don't forget that this is Unix &amp; Linux not just Linux." CreationDate="2011-03-15T18:22:03.440" UserId="2671" />
  <row Id="11836" PostId="9201" Score="1" Text="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html" CreationDate="2011-03-15T18:43:52.923" UserId="3886" />
  <row Id="11837" PostId="9294" Score="1" Text="Just looked at the source, the code just reads the uptime in from /proc/uptime.  Check the .../proc/sysinfo.c in the procps source, for the uptime() function: http://gitorious.org/procps/procps/blobs/master/proc/sysinfo.c#line75" CreationDate="2011-03-15T18:47:31.970" UserId="3976" />
  <row Id="11838" PostId="9307" Score="1" Text="for a regular desktop user, is the gain in processor-specific optimizations worth the cost of the complexity of manually managing dependencies between pieces of software? Is it like a 2% gain or a doubling in performance?" CreationDate="2011-03-15T19:34:19.213" UserId="5752" />
  <row Id="11839" PostId="9301" Text="Angers you? Really?" CreationDate="2011-03-15T19:36:19.893" UserId="2511" />
  <row Id="11840" PostId="9293" Text="Rather than (or in addition to) opening files with vim to see what they're made of, try `file /usr/bin/uptime`. The file command uses a series of semi-magical heuristics to guess as to the contents of the file — in this case, an ELF-format binary executable." CreationDate="2011-03-15T19:39:29.560" UserId="2511" />
  <row Id="11841" PostId="9307" Text="@Doug For CPU heavy software the difference can be 10..20%, for typical desktop software, the difference is zero. If you want to try compiling software from source, I would recommend a source based distribution (for example Gentoo). It is a very bad idea to install software from source (apart from 3rd party software installed into /opt) in a binary distribution." CreationDate="2011-03-15T19:45:32.200" UserId="2671" />
  <row Id="11842" PostId="9311" Text="I realized that that was the file I needed to look for. Unfortunately, I don't have any traces of it under any home directories or /etc/. I even created my own with &quot;if ( $?prompt &amp;&amp; { tty -s } ) stty erase ^?&quot; and various other lines I gathered online with no luck. Any other suggestions? Thanks." CreationDate="2011-03-15T19:59:28.867" UserId="5737" />
  <row Id="11843" PostId="9233" Text="I answered a higher-level question: &quot;How do you remember the order of parameters to Unix system calls?&quot; As you can see from the answers you've gotten, including the expected solution in the question can choke off good replies." CreationDate="2011-03-15T20:12:14.080" UserId="138" />
  <row Id="11844" PostId="9311" Text="I'd do: **(1)** log in. strace -p &lt;pid of current shell&gt; -o /some/file -f  **(2)** run your script **(3)** kill the strace **(4)** use your grep/sed skills to see all the file open()s in the strace log&#xA;**(5)** grep through those for stty.&#xA;&#xA;I do this regularly when i don't know what's happening." CreationDate="2011-03-15T20:20:26.133" UserId="2381" />
  <row Id="11845" PostId="9316" Text="+1, but I'd put `xev` in higher prominence. " CreationDate="2011-03-15T20:28:37.020" UserId="2511" />
  <row Id="11846" PostId="9316" Text="I know all this, but it only works when starting from a known state. My configuration has to work in the face of distribution- or sysadmin-induced reassignments; for example, there's no reliable way to find the “Windows” keys from keysyms." CreationDate="2011-03-15T20:29:12.473" UserId="885" />
  <row Id="11847" PostId="9316" Text="`xkbcomp -a -dflts -xkb $DISPLAY - | grep 'WIN&gt;'`." CreationDate="2011-03-15T20:35:51.160" UserId="5325" />
  <row Id="11848" PostId="9307" Text="I think the performance is not worth going outside your package manager dependencies. However, there are source-based package management systems that keep track of the dependencies and let you compile from source. The advantage listed above that you don't get with this is just 'very latest version' - the package manager has a version picked out that will work with the rest of the distribution." CreationDate="2011-03-15T20:49:32.343" UserId="2180" />
  <row Id="11849" PostId="9315" Text="can i know which is the file and where is it located for Redhat 5.5?" CreationDate="2011-03-15T20:52:48.473" UserId="5754" />
  <row Id="11850" PostId="9315" Text="Also, how can i find those file name and path? is there any way to do that or is it that we can only find it from the documentation?" CreationDate="2011-03-15T20:54:33.493" UserId="5754" />
  <row Id="11851" PostId="9315" Text="I did it by looking, as I have both of those available; I don't have a Red Hat install.  But you may have missed the importance of what I said in bold above:  the functions in your `/etc/init.d/functions` *don't exist* on other distributions.  Every distribution has its own rules for `/etc/init.d`, and its function library (if any) is oriented around those rules; for example, SuSE's `rc_status -s`.  There are some LSB &quot;standard&quot; functions, which are supposed to be found in `/lib/lsb/init-functions`, but your client may not be running a distribution which has been updated to provide it." CreationDate="2011-03-15T21:04:37.397" UserId="5325" />
  <row Id="11852" PostId="9290" Text="To clarify a little more: the `#!` (shebang) line is necessary at the top of any script. The `# chkconfig` is a comment and has no influence on the execution of the script; it's used only by the administration program `chkconfig`." CreationDate="2011-03-15T21:13:07.680" UserId="885" />
  <row Id="11853" PostId="9318" Score="1" Text="Call vim or emacs (I think both do follow symlinks)? Seriously, I fear the answer is to reimplement `-p -i` in your script." CreationDate="2011-03-15T21:20:43.303" UserId="885" />
  <row Id="11854" PostId="9264" Text="+1 - for pointing out the Red and Green. This is important :-)" CreationDate="2011-03-15T21:36:50.433" UserId="3046" />
  <row Id="11855" PostId="9301" Score="1" Text="Umm. Yes? (6 more to go..)" CreationDate="2011-03-15T22:16:13.563" UserId="2098" />
  <row Id="11856" PostId="9303" Text="I started to notice $COLUMNS and was thinking something along the same lines. alias diff=&quot;diff -W ${COLUMNS}&quot;. I think I'd prefer to ask the shell rather than rely on the environment though." CreationDate="2011-03-15T22:17:25.357" UserId="2098" />
  <row Id="11857" PostId="9262" Text="It worked perfectly. Thank you so much!" CreationDate="2011-03-15T22:20:24.400" UserId="5286" />
  <row Id="11858" PostId="9263" Text="Great answer on Server Fault. I've decided to use Smoothwall for now; however, I have bookmarked your answer on Server Fault for if and when I need to get my hands dirty with manual configuration. Thanks for your help." CreationDate="2011-03-15T22:22:08.687" UserId="5286" />
  <row Id="11859" PostId="9303" Text="`tput` considers `$COLUMNS`, `stty -a`, and the terminal description, using the first of those that has a meaningful value.  `eval $(resize)` can be used to force them to be in sync with what the terminal thinks its size is." CreationDate="2011-03-15T22:22:53.867" UserId="5325" />
  <row Id="11860" PostId="9163" Text="@kenneth please bear in mind that a good security mindset is that no security should cost more to implement than the value of what it's protecting. Thus if your time is worth $50 an hour, and it will take you 8 hours to implement SELinux, but it would only take 1 hour average to repair, and maybe  $50 to replace a device... (thinking soho router) it is not worth the cost of implementing SELinux. However if your data is irreplaceable, and not a compromise would cost millions but it would take 100k to implement... it's worth it." CreationDate="2011-03-15T22:48:44.180" UserId="29" />
  <row Id="11861" PostId="9323" Text="Okay, that makes sense." CreationDate="2011-03-15T23:43:33.937" UserId="5519" />
  <row Id="11862" PostId="9322" Text="Cool! (I wish I could accept more than one answer.) Just to clarify; then: set meta-flag on, would be a proper use of the set built-in, because it sets the meta-flag shell option." CreationDate="2011-03-15T23:53:21.103" UserId="5519" />
  <row Id="11863" PostId="9322" Text="Awesomely, no. That will set `$1` to &quot;meta-flag&quot; and `$2` to &quot;on&quot;. `meta-flag` is a _readline_ setting, and _that_ `set` is part of the entirely-different syntax of the readline init file (usually `~/.inputrc`)." CreationDate="2011-03-16T00:17:43.150" UserId="2511" />
  <row Id="11864" PostId="9324" Text="Hey cool, that works. I suspect Gilles's comment above is the &quot;real&quot; answer, but since he didn't make it as an answer, and since I learned a new utility, I'll take this one. :)" CreationDate="2011-03-16T00:26:03.580" UserId="2511" />
  <row Id="11865" PostId="9322" Text="Oops; positional settings, got it. Good stuff." CreationDate="2011-03-16T00:27:26.317" UserId="5519" />
  <row Id="11866" PostId="9324" Text="But have you tested `sponge` for such a usage in practice? As for me: not yet. Could you please leave a comment stating whether it behaved in a test the way wanted here? Oh, I see the comment. Thanks for the confirmation!" CreationDate="2011-03-16T00:28:48.780" UserId="4319" />
  <row Id="11867" PostId="9324" Text="@imz — yes, I tried it before replying. When `file` in your example above is a symlink, the link is left alone and the real file changed." CreationDate="2011-03-16T00:38:28.810" UserId="2511" />
  <row Id="11868" PostId="9324" Text="@mattdm: Yes, thanks for the confirmation! (I noticed your words &quot;that works&quot; a bit later than I wrote my comment.)" CreationDate="2011-03-16T00:42:15.743" UserId="4319" />
  <row Id="11869" PostId="9024" Text="@Gilles: but there might be a shell created by someone that will capture (and pass through) the outputs of the commands and make the captured outputs available for the user to refer to from his further commands. Perhaps, there are even some existing, not so popular shells that allow this with more or less complications..." CreationDate="2011-03-16T01:09:08.603" UserId="4319" />
  <row Id="11870" PostId="6377" Text="@Edd Steel: read, read and read [1]. Personally, Vim is powerful but it is becoming bloated with a huge amount of properties, verbose license and edited manuals that are very hard to understand (without seeing the originals). It is easier to understand Vim and its development going some development cycles backwards. I am still total newbie but I feel mastering Vi may help to understand Vim. Step by step. [1] http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118" CreationDate="2011-03-16T01:29:27.343" UserId="2362" />
  <row Id="11871" PostId="67" Text="No! :) &quot;Running `!N` will run the command ...&quot; is a description too narrow; actually, `!N` will be substituted by the command ... ; and so on for all the descriptions in the answer. More correct and opening much more useful possibilities! E.g., the mentioned `sudo !!`." CreationDate="2011-03-16T01:34:52.877" UserId="4319" />
  <row Id="11872" PostId="67" Text="To run previous commands looked up by a string, I usually just press Ctrl-R. Multiple Ctrl-R will dig deeper into the history. This way, I see the found command immediately, and can discard it and look further. Ctrl-G escapes from this mode. The only inconvenience is that Ctrl-R is for `bash`; in Emacs, to browse through the history of input commands and values (for M-x or other read values) one uses Meta-R instead (Meta-R is also used in `eshell` in Emacs). So I often mess them up." CreationDate="2011-03-16T01:45:24.970" UserId="4319" />
  <row Id="11873" PostId="9327" Text="@imz: just updated that so how can you traverse the files you find with the command? I want the cursor directly to the match point with each point to edit fast. How?" CreationDate="2011-03-16T02:16:05.383" UserId="2362" />
  <row Id="11874" PostId="67" Score="1" Text="@imz Good point; fixed" CreationDate="2011-03-16T02:23:20.687" UserId="73" />
  <row Id="11875" PostId="9327" Text="@hhh: How to traverse: the primitive way is to move cursor to the interesting match in the buffer with the list of the matches, then press Enter--this will &quot;follow the link&quot; and bring you to the &quot;source&quot; of the match.(See the description of the `grep-mode` for more keys besides Enter that are useful in the buffer with matches: e.g., `C-h f` `grep-mode`.) Or the 2nd &quot;smart&quot; way without the hassle of jumping from buffer to buffer that is now described in my updated answer in detail: `M-g n` and so on." CreationDate="2011-03-16T02:44:42.213" UserId="4319" />
  <row Id="11876" PostId="9293" Text="A debugging tool I like is `strace`.  It will show all the syscalls your application makes.  If you run `strace uptime` it would show (after loading) open calls on /proc/uptime and /proc/loadavg. Though it doesn't show everything, it's sometimes a decent start on reverse engineering" CreationDate="2011-03-15T19:53:45.750" UserId="2381" />
  <row Id="11877" PostId="9327" Text="Re `grep` invocation in Emacs. If you are in `eshell` inside Emacs, you can issue a usual `grep ...` shell command, and this will invoke the Emacs buffer with grep matches, which in their turn you can use in your Emacs (traverse) the way described in the answer above." CreationDate="2011-03-16T03:37:04.400" UserId="4319" />
  <row Id="11878" PostId="9307" Score="4" Text="The one thing I would add is: learn a lot more about what's going on under the hood. That can be worth it in its own. " CreationDate="2011-03-16T03:55:46.600" UserId="2511" />
  <row Id="11879" PostId="9305" Text="Maybe see if removing the free driver (`xserver-xorg-video-ati`) and the drivers it depends on works." CreationDate="2011-03-16T06:38:29.107" UserId="688" />
  <row Id="11880" PostId="9305" Text="Have a look at your kernel config (`/boot/config-2.6.32...`) to see if has [all of these](http://wiki.debian.org/AtiHowTo#Configuringthekernel)." CreationDate="2011-03-16T06:44:19.057" UserId="688" />
  <row Id="11881" PostId="9328" Text="Maybe the name of the DE matters, who knows." CreationDate="2011-03-16T07:23:25.107" UserId="688" />
  <row Id="11882" PostId="9328" Score="1" Text="It does matter.  The version matters, too:  in KDE 3 it involves `dcop`, in KDE 4 it's one of those long ugly `dbus` commands." CreationDate="2011-03-16T07:25:46.790" UserId="5325" />
  <row Id="11883" PostId="9328" Text="@tsephang Eh, those days I'm trying to test a number of Gnome based shells (Unity mainly, Unity 2D too), but I hoped to get a DE-agnostic answer if possible." CreationDate="2011-03-16T07:33:34.600" UserId="2179" />
  <row Id="11884" PostId="9328" Text="@badp: check this out: http://stackapps.com/q/2051/5198 I say that cuz u got my name wrong." CreationDate="2011-03-16T07:36:48.480" UserId="688" />
  <row Id="11885" PostId="9328" Text="@tshepang Whoops." CreationDate="2011-03-16T07:50:14.490" UserId="2179" />
  <row Id="11886" PostId="9305" Text="@Tshepang: I am using the stock Debian kernel, so it has the required pieces (and as I show the `radeon` module is loaded). How is removing the driver supposed to help?" CreationDate="2011-03-16T08:24:35.030" UserId="885" />
  <row Id="11887" PostId="92" Text="This one is really great ! It extends the arrows behaviour without breaking their basic functionality.Thanks !" CreationDate="2011-03-16T08:41:48.503" UserId="4200" />
  <row Id="11888" PostId="9331" Text="How are the files `dumped` onto the server ? If using ftp which ftpd is running on the server ?" CreationDate="2011-03-16T08:53:03.647" UserId="591" />
  <row Id="11890" PostId="9305" Text="@Gilles: This is a guess, but maybe when it's present, it's used, instead of the proprietary one." CreationDate="2011-03-16T08:57:42.073" UserId="688" />
  <row Id="11891" PostId="9332" Score="1" Text="As far as I know and I found on http://en.wikipedia.org/wiki//dev/null , /dev/null exists on your system and can be used for the purpose you mentioned." CreationDate="2011-03-16T09:11:21.683" UserId="4335" />
  <row Id="11892" PostId="67" Text="What I wanted to convey with a one of my comments here (that for repeating a previous command, there is another convenient way, namely Ctrl-r) is actually already covered in more detail in another question -- http://unix.stackexchange.com/q/541/4319 -- I have just stumbled upon." CreationDate="2011-03-16T09:33:04.113" UserId="4319" />
  <row Id="11893" PostId="9341" Text="thanks for trying to help, but &quot;s/^.*some_string.*$//g&quot; doesnt works. it doesn't deletes the line containing the offtopic string." CreationDate="2011-03-16T11:09:58.913" UserId="5664" />
  <row Id="11895" PostId="9342" Text="it doesn't work, sorry: http://pastebin.com/raw.php?i=EDTncknK" CreationDate="2011-03-16T11:19:27.980" UserId="5664" />
  <row Id="11896" PostId="9331" Text="I'm using SFTP graphically through Nautilus on my Ubuntu desktop.  I assume that means the fact that I can transfer files to it using SFTP that the server is running this also, but I don't have too much experience with this, so if you mean something else then let me know.  Cheers." CreationDate="2011-03-16T11:33:28.827" UserId="5764" />
  <row Id="11897" PostId="9331" Text="@Jagot: can you run `ps aux | grep ftp` on your server and tell us which ftp daemon is running - it's likely vsftpd|proftpd." CreationDate="2011-03-16T11:53:47.627" UserId="591" />
  <row Id="11898" PostId="9321" Text="Thanks for the links and the explanation, Gilles!" CreationDate="2011-03-16T12:05:09.670" UserId="4950" />
  <row Id="11901" PostId="9349" Text="Try log out and in again, and see if the problem persists. Try first on one of the Virtual terminals (Ctrl+F1), if you are on a Desktop (I don't want you losing your desktop session for nothing)." CreationDate="2011-03-16T12:17:07.800" UserId="688" />
  <row Id="11902" PostId="9348" Text="There are some guidelines here http://unix.stackexchange.com/q/1500/688." CreationDate="2011-03-16T12:21:02.927" UserId="688" />
  <row Id="11903" PostId="9341" Text="That's quite possible, since different programs use different regular expression engines so there are often subtle differences in behaviour. I don't know specifically about Privoxy, so I can't help you there. But you can try replacing the s in the beginning of the expressions with an m. If you really want to understand how this works and how to debug a non-working regular expression, you aren't going to be able to avoid learning the syntax tough. You can start here: http://www.regular-expressions.info/anchors.html" CreationDate="2011-03-16T12:21:32.490" UserId="4648" />
  <row Id="11904" PostId="9338" Text="@alex this approach doesn't work unfortunately. The application dies if it can't write to this file." CreationDate="2011-03-16T12:22:10.563" UserId="872" />
  <row Id="11906" PostId="9349" Score="2" Text="What filesystem type is your home directory on?" CreationDate="2011-03-16T12:33:36.093" UserId="2511" />
  <row Id="11907" PostId="9349" Score="1" Text="And how are you creating `testfile` and `testdir`?" CreationDate="2011-03-16T12:34:05.563" UserId="2511" />
  <row Id="11909" PostId="9330" Score="1" Text="For #1, Linus himself uses Fedora, so that possibly says something.  I don't know enough on this topic to really give an answer, but I'd be interested in what other people say." CreationDate="2011-03-16T12:58:33.670" UserId="3447" />
  <row Id="11910" PostId="9331" Text="@Iain: Here's the result of that command: '~$ ps aux | grep ftp&#xA;tom       3484  0.0  0.1   3300   748 pts/0    S+   13:10   0:00 grep ftp'" CreationDate="2011-03-16T13:13:20.660" UserId="5764" />
  <row Id="11911" PostId="9357" Text="Ok. Thanks!  I'll try this. And thanks for the comments!" CreationDate="2011-03-16T11:04:05.717" />
  <row Id="11912" PostId="9357" Score="5" Text="`cat -n` acts much like `awk '{print NR&quot; &quot;$0}'`" CreationDate="2011-03-16T11:09:15.233" UserId="5235" />
  <row Id="11913" PostId="9358" Text="This is a good solution, but some explanation for how this works will be even better." CreationDate="2011-03-16T11:19:44.637" UserId="5235" />
  <row Id="11914" PostId="9358" Score="5" Text="It's a famous `sed` one-liner. See &quot;36. Reverse order of lines (emulate &quot;tac&quot; Unix command).&quot; in [Famous Sed One-Liners Explained](http://www.catonmat.net/blog/sed-one-liners-explained-part-one/) for a full explanation of how it works." CreationDate="2011-03-16T11:37:23.490" UserId="2818" />
  <row Id="11915" PostId="9353" Score="2" Text="@jonescb This wouldn't work because symlinks are files, not directories. Trying `echo hello &gt; ~/.logs/log1.dump` gives `~/.logs/log1.dump: Not a directory`. However, `echo hello &gt; ~/.logs` works because .logs is a file." CreationDate="2011-03-16T13:25:04.473" UserId="872" />
  <row Id="11916" PostId="9349" Text="Did you try to set umask with different values and then using mkdir and touch?" CreationDate="2011-03-16T13:15:04.310" UserId="5774" />
  <row Id="11917" PostId="9332" Score="1" Text="I can't see how I can use /dev/null. If i knew the names of the files, I could symlink them to /dev/null, but I don't." CreationDate="2011-03-16T13:26:27.060" UserId="872" />
  <row Id="11918" PostId="9359" Text="Does your current system occupy more than 5GB of actual used space?" CreationDate="2011-03-16T13:26:35.153" UserId="2511" />
  <row Id="11919" PostId="9359" Text="@mattdm: nope... less than 4GB" CreationDate="2011-03-16T13:27:11.680" UserId="4814" />
  <row Id="11920" PostId="9353" Score="1" Text="You must be kidding us. `$ ln -s /dev/null dev-null; touch dev-null/zzz` gives me `touch: cannot touch 'dev-null/zzz': Not a directory`" CreationDate="2011-03-16T13:28:35.717" UserId="1946" />
  <row Id="11921" PostId="9349" Text="@Tshepang, I'm using ssh. It's a virtual machine hosted in Gandi." CreationDate="2011-03-16T13:45:36.717" UserId="3686" />
  <row Id="11922" PostId="9349" Text="@mattdm, it's ext3." CreationDate="2011-03-16T13:45:52.240" UserId="3686" />
  <row Id="11923" PostId="9349" Text="(ok, trying not to hit &quot;enter&quot; before answering everyone this time :-)) @mattdm and @user5774: I used mkdir and touch to create the directory and file, and tried changing my umask to 022 and 077. No change: files and directories still had the same permissions. Thanks!" CreationDate="2011-03-16T13:48:12.270" UserId="3686" />
  <row Id="11924" PostId="9331" Text="@Jagot:you will need to find out what ftp server is running on your remote system and let us know. You will most likely need to tweak the config to make it work correctly for you." CreationDate="2011-03-16T13:48:27.243" UserId="591" />
  <row Id="11925" PostId="9349" Text="@rsuarez — are you absolutely sure it's ext3? I apologize for being annoying on this point, but it does seem like a top possibility to rule out." CreationDate="2011-03-16T13:48:45.017" UserId="2511" />
  <row Id="11926" PostId="9349" Text="@rsuarez: Actually, one can't reply to more than person at a time, so you are doing it right (http://meta.stackoverflow.com/q/43019/147166)." CreationDate="2011-03-16T13:49:36.623" UserId="688" />
  <row Id="11927" PostId="9349" Text="@rsuarez: Maybe stop the ssh session and restart it. I am assuming that this achieves what logging in and out does." CreationDate="2011-03-16T13:50:20.710" UserId="688" />
  <row Id="11928" PostId="9353" Text="Like I said, it works for Chrome.  It prevents it from writing into the cache.  If it causes the asker's program to crash, then obviously it doesn't check if file pointers are NULL." CreationDate="2011-03-16T13:54:55.447" UserId="3447" />
  <row Id="11929" PostId="9360" Score="1" Text="See http://unix.stackexchange.com/questions/8414/" CreationDate="2011-03-16T14:01:42.757" UserId="2511" />
  <row Id="11930" PostId="9353" Score="2" Text="@jonescb It probably means that Chrome skips writing if there is an error opening the file.  You could achieve the same effect by removing write permission from the dump file or the directory its writing in." CreationDate="2011-03-16T14:04:14.440" UserId="31" />
  <row Id="11931" PostId="9360" Text="Ooo, good question. I needed this exact thing and ended up writing something, but it just color-coded fixed strings, it didn't have any of the features you listed" CreationDate="2011-03-16T14:11:29.690" UserId="73" />
  <row Id="11932" PostId="9349" Score="2" Text="@mattdm, you were right to insist: it's XFS. I forgot we have separate volumes for /home, /var and several more. Though I use XFS often and hadn't seen this behaviour. How can it be related?" CreationDate="2011-03-16T14:13:50.983" UserId="3686" />
  <row Id="11933" PostId="9360" Text="Rather than writing a new utility, it'd be super-awesome to see this as an addition to grep itself." CreationDate="2011-03-16T14:20:39.317" UserId="2511" />
  <row Id="11934" PostId="9302" Text="Have you seen such a tool elsewhere, or do you merely think it ought to be there?" CreationDate="2011-03-16T14:21:19.267" UserId="688" />
  <row Id="11935" PostId="9331" Score="1" Text="@Iain: I don't think there is an ftp server running - I haven't set one up - I'm just doing everything through ssh.  Is there any other way I can find out what's going on?" CreationDate="2011-03-16T14:28:34.340" UserId="5764" />
  <row Id="11936" PostId="9360" Text="Proper unix philosophy would be a new utility that can be piped through from not only grep but other streams as well. I suspect there's at least one or more Perl modules that can probably do this for you, though..." CreationDate="2011-03-16T14:39:18.433" UserId="4949" />
  <row Id="11937" PostId="9360" Text="The problem with piping this is that a lot of stuff will show unexpected output because of the embedded escape codes. It would typically be the last command in the pipeline." CreationDate="2011-03-16T14:52:30.603" UserId="3645" />
  <row Id="11938" PostId="9353" Text="True, changing the permissions of the directory would probably make more sense." CreationDate="2011-03-16T14:53:31.387" UserId="3447" />
  <row Id="11939" PostId="9360" Text="Well, except grep already does the pattern matching." CreationDate="2011-03-16T15:03:28.730" UserId="2511" />
  <row Id="11940" PostId="9372" Text="Have you tried the instructions here http://fedoraproject.org/wiki/Flash ?" CreationDate="2011-03-16T15:35:09.817" UserId="2511" />
  <row Id="11941" PostId="9372" Text="What happened when you tried? Did you get an error message? What did you do to try and install it?" CreationDate="2011-03-16T15:46:05.957" UserId="73" />
  <row Id="11942" PostId="8934" Text="@jsbillings: darn... That Google Chrome RPM is worrysome too :(  It's really sad we can't just easily get a good old *.tar.gz* :)" CreationDate="2011-03-16T15:49:11.493" UserId="5213" />
  <row Id="11943" PostId="2911" Text="Did you get something built? I've played with three displays once, but it lacked HW acceleration." CreationDate="2011-03-16T16:15:11.127" UserId="5674" />
  <row Id="11944" PostId="8861" Text="@forcefsck: No, it says the array is inactive." CreationDate="2011-03-16T16:35:42.143" UserId="4477" />
  <row Id="11945" PostId="8764" Text="`cat -n` is like `awk '{print NR,$0}'`, so slightly more lightweight." CreationDate="2011-03-16T16:39:25.413" UserId="4667" />
  <row Id="11946" PostId="9304" Text="`mdadm --assemble /dev/md1 /dev/sd[abc]2 --force` worked. Thank you. You saved my data! :) I will not attempt to add the fourth disk because the first 3 is not as good as I previously tought. The selftest revealed each have 10-20 unreadable blocks. I feel stupid for not checking this first." CreationDate="2011-03-16T16:39:43.730" UserId="4477" />
  <row Id="11947" PostId="8764" Score="1" Text="I was assuming that systems without `tac` might also lack the BSD-derived version of `cat` (USG-flavored `cat` didn't have `-v`, `-n`, etc.  I think something triggered my &quot;old ****&quot;.)" CreationDate="2011-03-16T16:47:57.853" UserId="5325" />
  <row Id="11948" PostId="9335" Text="I use version **2.03**." CreationDate="2011-03-16T17:01:54.490" UserId="688" />
  <row Id="11949" PostId="9378" Score="1" Text="This answer is not about **syscalls**." CreationDate="2011-03-16T17:09:53.380" UserId="4319" />
  <row Id="11950" PostId="9267" Score="1" Text="`-h` or `--help` -- that's something not about **syscalls**." CreationDate="2011-03-16T17:10:31.100" UserId="4319" />
  <row Id="11951" PostId="9342" Text="@johnny88888 ok maybe we should escape question mark. (see above)" CreationDate="2011-03-16T18:34:48.573" UserId="5766" />
  <row Id="11952" PostId="9304" Text="I did not save your data, your data are still on unreliable media. But you can thank me for sharing my experience with you, so that you have better chances in dealing with this issue.&#xA;" CreationDate="2011-03-16T18:34:53.023" UserId="5666" />
  <row Id="11953" PostId="9377" Text="this is not at all related to my question.  I clearly specified that the Euro symbol was appearing fine in my xterm." CreationDate="2011-03-16T18:58:12.000" UserId="5213" />
  <row Id="11954" PostId="9349" Text="Can you `chmod` it to the correct permissions?" CreationDate="2011-03-16T19:02:34.973" UserId="4477" />
  <row Id="11955" PostId="9388" Text="IPsec?  What is this?" CreationDate="2011-03-16T19:05:44.510" UserId="5630" />
  <row Id="11956" PostId="9388" Text="Is Openswan better for VPN?" CreationDate="2011-03-16T19:06:05.773" UserId="5630" />
  <row Id="11957" PostId="9388" Text="Read http://en.wikipedia.org/wiki/IPsec&#xA;One advantage of using Openswan and IPSec is that the kernel does a lot of the hard work managing the IPSec connection, while OpenVPN uses SSL tunnels in user space." CreationDate="2011-03-16T19:11:01.880" UserId="3976" />
  <row Id="11958" PostId="9388" Text="The disadvantage of Openswan is it's more complex to set up." CreationDate="2011-03-16T19:11:58.353" UserId="3976" />
  <row Id="11959" PostId="8822" Text="Did you run `mount /mnt/apt` before `apt-cdrom -m -d=/mnt/apt add`?" CreationDate="2011-03-16T19:13:19.803" UserId="5666" />
  <row Id="11960" PostId="9388" Text="Thanks for the pointers!  It sounds like its worth the time it would take to learn and set up." CreationDate="2011-03-16T19:14:44.160" UserId="5630" />
  <row Id="11961" PostId="9305" Text="@Tshepang: Why do you even mention the proprietary driver? I have the free one installed, I want to use the free one, it worked before (and I never got the proprietary one to start without a hard freeze)." CreationDate="2011-03-16T19:29:35.577" UserId="885" />
  <row Id="11962" PostId="9024" Text="@imz: Not a shell, but there's the [`script`](http://unix.stackexchange.com/questions/9024/how-do-i-reuse-the-last-output-from-the-command-line/9032#9032) utility that logs all terminal output. And there's also Emacs; see the related question [Would it be possible to jump between prev/next command prompts?](http://unix.stackexchange.com/questions/3650/would-it-be-possible-to-jump-between-prev-next-command-prompts)." CreationDate="2011-03-16T19:42:15.053" UserId="885" />
  <row Id="11963" PostId="9238" Text="@derobert ops! yes, it's there! sorry" CreationDate="2011-03-16T19:46:08.490" UserId="3608" />
  <row Id="11964" PostId="9332" Text="It sounds like FUSE might be an option: http://kerneltrap.org/mailarchive/linux-kernel/2008/2/15/868564/thread" CreationDate="2011-03-16T20:32:07.083" UserId="4" />
  <row Id="11966" PostId="9305" Text="@Gilles: You mentioning it led me to think it's the one you wanted to use. Sorry." CreationDate="2011-03-16T20:56:09.263" UserId="688" />
  <row Id="11967" PostId="9302" Text="I'm not sure how far these tools go in other distributions, but Fedora and Ubuntu have some of these administration tools integrated into Gnome control-center." CreationDate="2011-03-16T21:06:35.977" UserId="2671" />
  <row Id="11969" PostId="9302" Text="@Let_Me_Be: You mind pointing where in the control-center?" CreationDate="2011-03-16T21:28:06.910" UserId="688" />
  <row Id="11970" PostId="9408" Score="1" Text="Better, declare the package's actual versioned dependencies on whatever software you need from Debian 6." CreationDate="2011-03-16T21:47:24.977" UserId="885" />
  <row Id="11971" PostId="9408" Text="@Gilles: Why is that better? What if the dependencies are the same between the two versions of the special package?" CreationDate="2011-03-16T21:50:04.257" UserId="688" />
  <row Id="11972" PostId="9360" Text="@l0b0: Does [this previous question](http://unix.stackexchange.com/questions/8414/) (indicated by mattdm) meet your requirements? If not, what more do you want? (So we know whether to try harder or close your question as a duplicate.)" CreationDate="2011-03-16T21:53:18.357" UserId="885" />
  <row Id="11973" PostId="9380" Score="2" Text="`--` signals the end of options, so everything that comes afterwards is an operand. `-` is not an option, so it and everything that comes afterwards is an operand. This is [standard behavior](http://pubs.opengroup.org/onlinepubs/009695399/functions/getopt.html). For many commands, such as `tar`, [the operand `-` means standard input or output](http://unix.stackexchange.com/questions/9361/9363#9363). On many shells, `set - -a` is equivalent to `set -- -a`, and on some old Bourne shells `set - -a` was the only accepted form, but this an exception with the `set` built-in." CreationDate="2011-03-16T22:37:16.930" UserId="885" />
  <row Id="11974" PostId="9347" Text="`source-highlight` isn't a widely installed command, so you should at least give a link to the project site." CreationDate="2011-03-16T22:45:32.357" UserId="885" />
  <row Id="11975" PostId="9330" Text="make_kpkg comes from Debian, which Ubuntu is based on and my fav distro ;)" CreationDate="2011-03-16T22:50:33.617" UserId="5698" />
  <row Id="11976" PostId="9402" Text="Thanks for the answer and excellent explanation.&#xA;As I was doing losetup -f before doing losetup -a on my script. I changed losetup -f to losetup -fv and parsed the output to get the loop device. That solved my problem " CreationDate="2011-03-16T23:00:30.703" UserId="5792" />
  <row Id="11977" PostId="9361" Score="1" Text="@ripper234 Also, most versions of tar now support gzip and bzip natively. For a gzip-ed tar file `tar xfz target.tar.gz` and for bzip `tar xfj target.tar.bz2`" CreationDate="2011-03-16T23:04:00.670" UserId="5698" />
  <row Id="11978" PostId="9402" Text="@Diego: Indeed, if you can remember the association between the loop device and the underlying file from `losetup -fv /path/to/file`, that's much better." CreationDate="2011-03-16T23:05:18.783" UserId="885" />
  <row Id="11979" PostId="9363" Text="This is only a convention; you need to read the manpage for the particular command to see what `-` means to it.  Stdin/stdout is by far the most common meaning, but there are others.  For instance, to some versions of `env` it means &quot;start with an empty environment&quot;." CreationDate="2011-03-16T23:05:45.607" UserId="2421" />
  <row Id="11980" PostId="9026" Score="2" Text="Just a note, remember that this is rerunning the command. If your command has side effects, this may not work for you." CreationDate="2011-03-16T23:08:20.397" UserId="2381" />
  <row Id="11981" PostId="3037" Text="related: http://superuser.com/questions/140819/ways-to-deduplicate-files" CreationDate="2011-03-16T23:59:34.210" UserId="1676" />
  <row Id="11982" PostId="9415" Score="1" Text="If you'd bothered to qualify your answer to say on what systems it works, you would have used more than 30 characters. For example it won't work under Debian, Ubuntu, Fedora (I think), *BSD, and many others, because they don't assign runlevels this way. It also won't have any effect if you used `startx` to start X rather than a display manager. And you need to be root." CreationDate="2011-03-17T00:19:35.677" UserId="885" />
  <row Id="11983" PostId="9416" Text="By pre-loaded, do you mean that you are not going to be on-line? That is, why would you need such material to part of the install?" CreationDate="2011-03-17T00:34:20.930" UserId="688" />
  <row Id="11984" PostId="9416" Text="My recommendation is that for each sysadmin task you knew how to do in Windows, try do it on Linux, and if you fail, ask here on this site." CreationDate="2011-03-17T00:36:26.500" UserId="688" />
  <row Id="11985" PostId="9416" Text="@Tshepang - Truly &quot;pre-loaded&quot; packages would be ideal and an indicator of a distro that was really put together as a teaching system.  However, having links to and support for appropriate online content included could serve the purpose as well." CreationDate="2011-03-17T00:38:49.637" UserId="5803" />
  <row Id="11986" PostId="9233" Text="&quot;Look at the manual pages&quot; is not a good reply to the question asked. The impression I get from that answer is that you assume that the person asking is ignorant of extremely basic Unix facilities. I am aware of several ways to look up the information, but I am specifically asking if anyone has **mnemonics** for system calls." CreationDate="2011-03-17T00:40:30.257" />
  <row Id="11987" PostId="9415" Score="1" Text="@Gilles: it'll work in Fedora 14 because that's how upstart is configured, and it'll work in Fedora 15 because of some systemd hackery. But even then it's not a good answer because changing runlevels has a lot more implications than &quot;logout from a graphical environment&quot;." CreationDate="2011-03-17T00:40:48.810" UserId="2511" />
  <row Id="11988" PostId="9395" Text="This could have been a solution to the problem, if instead of linking to Wikipedia articles, you had put links to the &quot;specialized source code editor&quot; or &quot;integrated development environment&quot; which would tell me which parameters to use for which system calls. As it is this answer seems very patronizing." CreationDate="2011-03-17T00:43:40.237" />
  <row Id="11989" PostId="9387" Text="Thanks very much for at least trying to answer the question asked." CreationDate="2011-03-17T00:44:12.280" />
  <row Id="11990" PostId="9387" Text="But it's worth noting that fread and fwrite are actually the opposite of read and write here. Which is why I was wondering about mnemonics." CreationDate="2011-03-17T00:57:55.437" />
  <row Id="11991" PostId="9144" Text="Unfortunately, telnet is required, and demonstrably is not the problem -- for example, one can use [qodem](http://qodem.sourceforge.net/) over a telnet connection without a hitch.  I'm beginning to suspect the VirtualBox socket itself, but I'm not sure exactly how to verify that.  A simple &quot;send characters 0x00 through 0xFF&quot; seems to work as expected." CreationDate="2011-03-17T01:00:25.853" UserId="4989" />
  <row Id="11992" PostId="9378" Text="It's a nice answer to a different question." CreationDate="2011-03-17T01:03:02.107" />
  <row Id="11993" PostId="9115" Text="@Gilles: (1) Install DOS under virtualbox and assign com1 to a socket on the remote host.  (2) Install a terminal program; [txzm](http://goo.gl/2Nrs9) seems like a nice one.  (3) Connect the com1 socket to a remote host using `socat`.  (4) Try to transfer a file with zmodem (e.g., using `sz` from the lrzsz package)." CreationDate="2011-03-17T01:03:36.850" UserId="4989" />
  <row Id="11994" PostId="9115" Text="...noting, again, that I'm not suggesting you actually go through any of this unless you find this problem interesting." CreationDate="2011-03-17T01:04:14.447" UserId="4989" />
  <row Id="11995" PostId="9418" Text="+1 for the great LFS idea. :)" CreationDate="2011-03-17T01:08:50.273" UserId="2511" />
  <row Id="11996" PostId="9115" Text="@larsks: I might try it if I could do Linux to Linux, but DOS? No way. Though what's DOS for anyway? I do have a Linux VM on Linux." CreationDate="2011-03-17T01:09:25.353" UserId="885" />
  <row Id="11997" PostId="9328" Text="See: http://unix.stackexchange.com/questions/375/how-to-enable-killing-xorg-with-ctrlaltbackspace This will kill X, which will (hopefully) have the side-effect of logging you out. (But not from the command line, of course.)" CreationDate="2011-03-17T01:11:49.927" UserId="2511" />
  <row Id="11998" PostId="9364" Score="1" Text="I'd like to mention that you have to make sure that you don't try cloning virtual filesystems..." CreationDate="2011-03-17T01:15:14.770" UserId="29" />
  <row Id="11999" PostId="9359" Text="@Wolfy imo, easiest way, install centos on new system... sync `/etc/` and `/home` maybe `/var` if you need it" CreationDate="2011-03-17T01:16:12.727" UserId="29" />
  <row Id="12000" PostId="9115" Text="You could probably demonstrate the problem using minicom on Linux, too." CreationDate="2011-03-17T01:18:11.457" UserId="4989" />
  <row Id="12001" PostId="9417" Score="4" Text="Tell us the joke." CreationDate="2011-03-17T01:58:48.787" UserId="1655" />
  <row Id="12002" PostId="9417" Text="@amphetamachine — well, the joke is, literally, &quot;Hey, there's Linux From Scratch!&quot;. But then I starting thinking, and the result is the above answer." CreationDate="2011-03-17T02:07:17.610" UserId="2511" />
  <row Id="12003" PostId="9417" Score="2" Text="(And to _explain_ the joke: it's kind of like if someone asks for a tutorial on driving a car, and you answer with http://www.ehow.com/how_4622896_build-internal-combustion-engine.html)" CreationDate="2011-03-17T02:09:20.510" UserId="2511" />
  <row Id="12004" PostId="9418" Text="@Tshepang - Perhaps this needs to be posted in a separate question, but could you recommend an appropriate set of FOSS tools to build LFS on a Windows host?" CreationDate="2011-03-17T02:09:54.427" UserId="5803" />
  <row Id="12005" PostId="9396" Text="Who are these &quot;most people&quot; you refer to, and how can I get them as my users?" CreationDate="2011-03-17T02:11:07.090" UserId="2511" />
  <row Id="12006" PostId="9418" Text="@Iszi, cygwin might do it, but I've not tried." CreationDate="2011-03-17T02:54:42.280" UserId="5765" />
  <row Id="12007" PostId="9376" Text="watch out for the smart-quotes in this answer! (did you copy-paste from this blog http://jeff.robbins.ws/articles/setting-the-umask-for-sftp-transactions ?  It seems to derive from this site's very own @Gilles :))" CreationDate="2011-03-17T02:59:10.827" UserId="5454" />
  <row Id="12008" PostId="9418" Score="3" Text="@Iszi: Last I checked, LFS came with a live CD." CreationDate="2011-03-17T04:48:46.993" UserId="688" />
  <row Id="12009" PostId="9420" Text="First of all, do you have a proper driver installed? Ubuntu has recently made installing Nvidia drivers a snap." CreationDate="2011-03-17T04:53:41.417" UserId="4856" />
  <row Id="12010" PostId="9274" Score="2" Text="The theme here is more of *No, they are actually dumb!*. You have to tell them exactly what the must do. Anyways, we don't want them be too smart on us you know." CreationDate="2011-03-17T04:57:04.037" UserId="688" />
  <row Id="12011" PostId="9275" Text="i.e. not really intelligent :)" CreationDate="2011-03-17T05:02:20.773" UserId="688" />
  <row Id="12012" PostId="8406" Text="I have this same issue with a fresh install of RHEL6. What are we missing here?" CreationDate="2011-03-17T05:04:00.467" UserId="5809" />
  <row Id="12013" PostId="9427" Text="Check in `/opt`, and delete everything in there (unless you have other stuff in there). Third party packagers often put their wares there." CreationDate="2011-03-17T05:17:19.853" UserId="688" />
  <row Id="12014" PostId="9427" Text="so it won't have installed other things else where or made any other changes?  What about getting items out of the menus?  Its the Gnome desktop and I haven't figured out yet how the menus work exactly... they're not really drag and drop..." CreationDate="2011-03-17T05:35:45.013" UserId="5630" />
  <row Id="12015" PostId="9429" Text="jsbillings suggested that IPsec was advantageous because the kernal was doing much of the work rather than relying on ssl... do you disagree? why?" CreationDate="2011-03-17T05:38:41.750" UserId="5630" />
  <row Id="12016" PostId="9427" Text="From Superuser: [How to uninstall Open Office from Linux?](http://superuser.com/q/33412/10976)" CreationDate="2011-03-17T05:40:14.623" UserId="250" />
  <row Id="12017" PostId="9427" Text="Thanks... unfortunately it doesn't appear as though they have an answer either..." CreationDate="2011-03-17T05:48:01.443" UserId="5630" />
  <row Id="12018" PostId="9403" Score="1" Text="@Let_Me_Be: As long as the dependencies are satisfied, why does it matter? This is not normally done, and that is why. If you want to have different apt urls/sources for different Debian releases in an apt repos, that is fine, but it is not necessary to have different packages for that to work." CreationDate="2011-03-17T06:23:24.230" UserId="4671" />
  <row Id="12019" PostId="9408" Score="1" Text="@Tshepang: I think Gilles means that if the dependencies are satisfied, then it doesn't matter which release you install it on. That also corresponds to typical usage in practice." CreationDate="2011-03-17T06:24:57.363" UserId="4671" />
  <row Id="12020" PostId="9306" Text="Your two choices are not mutually exclusive. You can customize the sources of a package or even package it yourself." CreationDate="2011-03-17T06:27:31.353" UserId="4671" />
  <row Id="12021" PostId="9408" Text="@FaheemMitha: I didn't even think that far." CreationDate="2011-03-17T06:47:58.543" UserId="688" />
  <row Id="12022" PostId="9435" Text="they are already added ! I've got these commands from it!! but it don't work . it was working but i updated the system and restarted it then the problem came" CreationDate="2011-03-17T06:59:16.470" UserId="5715" />
  <row Id="12023" PostId="9395" Text="Those links in the wikipedia are actually links to &quot;source code editors&quot; and &quot;IDEs&quot;, if you look again you'll see that there is an extensive list of those tools in there. I like eclipse but you have to select one for your self. I'm sorry if I sound patronizing but you also seem you didn't put any effort to it." CreationDate="2011-03-17T06:59:17.390" UserId="5666" />
  <row Id="12024" PostId="9435" Text="@Ahmedsafan: You sure they are not disabled?" CreationDate="2011-03-17T07:01:36.927" UserId="688" />
  <row Id="12026" PostId="9435" Text="@Ahmedsafan: Have a look at /var/log/apt/history.log to check what the latest stuff you've installed is. Paste the last few entries (in the hope that it will include your latest updates). I'm interesting specifically in **`gnome-session`** which is the one that that GUI belongs to." CreationDate="2011-03-17T07:10:04.187" UserId="688" />
  <row Id="12027" PostId="9376" Text="@simon: I think it came from the Ubuntu forums but it's been stuck in my tiddlywiki for a few months." CreationDate="2011-03-17T07:11:53.010" UserId="591" />
  <row Id="12028" PostId="9436" Text="How did you create your current initrd?" CreationDate="2011-03-17T07:19:18.923" UserId="250" />
  <row Id="12029" PostId="9435" Text="i added the last activities on log since yesterday [the day of the disaster]" CreationDate="2011-03-17T07:46:19.530" UserId="5715" />
  <row Id="12030" PostId="9360" Score="1" Text="@Gilles: That question is much more limited in scope. In fact, reading it was one of the reasons I created this question - To ask for a more general and flexible solution." CreationDate="2011-03-17T08:00:18.780" UserId="3645" />
  <row Id="12031" PostId="9387" Text="fread and fwrite are library functions, not syscalls. They call read and write to do the job :)" CreationDate="2011-03-17T08:14:29.810" UserId="3886" />
  <row Id="12032" PostId="9438" Score="1" Text="What are the contents of /etc/nsswitch.conf &amp; /etc/resolv.conf ?" CreationDate="2011-03-17T08:15:40.683" UserId="36" />
  <row Id="12033" PostId="8406" Text="Is NetworkManager running?  Is there a dhclient already managing eth0?" CreationDate="2011-03-17T08:20:43.190" UserId="3169" />
  <row Id="12034" PostId="9438" Text="The only problem I've had with name resolution was because there was some daemon or something like that running that was doing nameserver cacheing. What command are you using on the command line?" CreationDate="2011-03-17T08:38:48.557" UserId="4671" />
  <row Id="12035" PostId="9442" Score="4" Text="@Alvin Sim: The filesystem doesn't store username info, it only stores the user identifier (UID). In your case, the serverA has a different &quot;username to user id&quot; mapping than serverB. " CreationDate="2011-03-17T09:14:16.780" UserId="5666" />
  <row Id="12036" PostId="9431" Text="Maybe this isn't an issue, but [looking at Ubuntu repos](http://packages.ubuntu.com/search?keywords=chromium&amp;searchon=names&amp;suite=all&amp;section=all), your version of Chromium is outdated. Have you enable the security repositories too, as well as maverick-updates? Enable them, update, and upgrade again." CreationDate="2011-03-17T09:21:51.177" UserId="688" />
  <row Id="12037" PostId="9396" Text="with this it works: echo 'gnome-session &amp;' &gt;&gt; ~/.vnc/xstartup" CreationDate="2011-03-17T09:41:57.500" UserId="5664" />
  <row Id="12038" PostId="8822" Text="@forcefsck: I used `mount --all` before the `apt-cdrom` cmd." CreationDate="2011-03-17T10:12:18.070" UserId="688" />
  <row Id="12039" PostId="9447" Text="Curiously, how do you change the brightness?" CreationDate="2011-03-17T10:16:17.973" UserId="688" />
  <row Id="12040" PostId="9447" Text="@Tshepang : I change it simply by pressing **Fn+F4 or Fn+F5** Keys. As it's default keys for this and marked symbol for that in my Dell Laptop." CreationDate="2011-03-17T10:19:21.590" UserId="3349" />
  <row Id="12041" PostId="9354" Text="That looks fantastic, save that the man page implies it only affects ext2 and ext3, and I'm using a combination of ext3 and ext4. Still, I'll go try it now, as if it works, it's *exactly* what I'm looking for." CreationDate="2011-03-17T10:35:53.547" UserId="2134" />
  <row Id="12042" PostId="9449" Text="+1, Just Works(TM). To avoid problems with more empty lines, maybe `RS=&quot;\n\n+&quot;` would be useful?" CreationDate="2011-03-17T10:53:57.270" UserId="3645" />
  <row Id="12043" PostId="9449" Score="3" Text="more efficient to put the `RS` assignment in the `BEGIN` block." CreationDate="2011-03-17T10:56:12.197" UserId="4667" />
  <row Id="12044" PostId="9403" Text="@Faheem It matters since technologies change and even though the dependencies are satisfied, the deb 6 version won't work on deb 5 and vice versa." CreationDate="2011-03-17T11:01:29.467" UserId="2671" />
  <row Id="12045" PostId="9374" Text="Thanks! for the detailed reply. BTW i am intrested in fs and bio subsystems in kernel. which kind of setup would be best for me ?" CreationDate="2011-03-17T11:20:55.537" UserId="5763" />
  <row Id="12046" PostId="9344" Text="+1 and thanks (I accept pjc50's answer though for the link and the minimal code) **edit** though [your answer here](http://unix.stackexchange.com/questions/6834/restore-suse-grub/6838#6838) also helps" CreationDate="2011-03-17T11:28:30.347" UserId="863" />
  <row Id="12047" PostId="9403" Text="@Let_Me_Be: having difficulty parsing that. The dependencies are satisfied but the program won't work? What kind of program is this, if you don't mind me asking?" CreationDate="2011-03-17T11:59:11.057" UserId="4671" />
  <row Id="12048" PostId="9451" Score="1" Text="What ever is needed for the kernel to see your boot media (hard disk/raid driver/volume manager) and the root filesystem." CreationDate="2011-03-17T11:59:15.923" UserId="5666" />
  <row Id="12049" PostId="9396" Text="@mattdm: perhaps I should say, most people **who care about security** use VNC over SSH." CreationDate="2011-03-17T12:17:33.740" UserId="3976" />
  <row Id="12050" PostId="9413" Text="Thanks for the useful link." CreationDate="2011-03-17T12:43:54.997" UserId="5763" />
  <row Id="12051" PostId="9403" Text="@Faheem Grid software (Torque)." CreationDate="2011-03-17T12:49:14.553" UserId="2671" />
  <row Id="12052" PostId="9458" Text="In such cases, you need just flag it for mod attention. They can transfer it to be a comment." CreationDate="2011-03-17T12:49:53.973" UserId="688" />
  <row Id="12053" PostId="9458" Text="@Tshepang - @faif doesn't even have flagging permissions.  Those require 15 rep.  I've flagged the post for him." CreationDate="2011-03-17T12:54:21.223" UserId="5803" />
  <row Id="12054" PostId="9458" Text="@Iszi: Oh, I actually thought everyone can flag." CreationDate="2011-03-17T12:55:13.593" UserId="688" />
  <row Id="12055" PostId="9458" Score="1" Text="@Tshepang - New users with just 1 rep can only create non-wiki posts and comment on their own posts.  See http://unix.stackexchange.com/privileges for more details." CreationDate="2011-03-17T12:59:57.357" UserId="5803" />
  <row Id="12056" PostId="9460" Text="Once I understood I can do this, I did &quot;passwd -d root&quot;. Thanks!" CreationDate="2011-03-17T13:21:01.747" UserId="1594" />
  <row Id="12057" PostId="9461" Text="You mean impressive GUI seetings in Debian by default? Is that a mistake?" CreationDate="2011-03-17T13:32:52.843" UserId="688" />
  <row Id="12058" PostId="9433" Text="Hard drives or USB mass storage devices are either 512 or 4096 (newer) bytes.  Optical and direct access flash media is 2048 bytes.  Can't go wrong with 4096 bytes." CreationDate="2011-03-17T13:34:02.300" UserId="3389" />
  <row Id="12059" PostId="9436" Text="If you compile a kernel with a given version, and the modules in the initrd are an older version, the kernel won't load them." CreationDate="2011-03-17T13:35:49.320" UserId="3389" />
  <row Id="12060" PostId="9463" Text="That other systems are easier to use than Debian doesn't necessarily mean Debian isn't yet user-oriented (or even newbie-oriented, if that's what you meant)." CreationDate="2011-03-17T13:38:28.127" UserId="688" />
  <row Id="12061" PostId="9463" Text="As enjoyable as I find the expression &quot;experimented users&quot; to be, I feel obligated to let you know, or to remind you, that the correct wording would be &quot;experienced users&quot;." CreationDate="2011-03-17T13:40:58.050" UserId="1535" />
  <row Id="12062" PostId="9458" Text="Are you sure you want this to be a comment? It seems like the right answer (at least the first part; I don't know about the rest)" CreationDate="2011-03-17T13:42:28.847" UserId="73" />
  <row Id="12063" PostId="9463" Text="Thank'u @intuited - I'm Argentinian, so your comment is helpful." CreationDate="2011-03-17T13:52:30.897" UserId="5785" />
  <row Id="12064" PostId="9458" Text="@michael-mrozek I usually add a response as a comment when I'm not sure and then I can add it as an answer. But if it looks right that's fine :) Thanks" CreationDate="2011-03-17T13:58:30.017" UserId="5661" />
  <row Id="12065" PostId="9354" Text="It works! Including on ext4. Thank you!" CreationDate="2011-03-17T14:01:51.937" UserId="2134" />
  <row Id="12066" PostId="9461" Text="@Tshepang Yes, I wanted to say &quot;no impressive GUI settings by default&quot;. Thanks" CreationDate="2011-03-17T14:04:19.903" UserId="5661" />
  <row Id="12067" PostId="9463" Text="@D4RIO: Cool, I'm used to seeing this coming from francophones («expérimenté»).  I guess it's the same in Spanish." CreationDate="2011-03-17T14:04:37.623" UserId="1535" />
  <row Id="12068" PostId="9458" Score="2" Text="I'm not aware of any systems which force _root_ to provide the previous root password. (After all all, you could change it with `sed` and the `/etc/shadow` file.) But maybe I haven't used enough &quot;serious systems&quot;. Can you give an example of one such system?" CreationDate="2011-03-17T14:06:49.900" UserId="2511" />
  <row Id="12069" PostId="9349" Text="@stribika, yes, I can chmod it to the correct permissions. But obviously, I'd rather not have to do it every time :-)" CreationDate="2011-03-17T14:08:37.690" UserId="3686" />
  <row Id="12070" PostId="9425" Text="Does the &quot;install drivers&quot; menu in Ubuntu do this automatically? Or you need to configure the repos first?" CreationDate="2011-03-17T14:11:55.090" UserId="4856" />
  <row Id="12071" PostId="9463" Text="Yeah, in spanish you say &quot;experimentados&quot; to talk about experience." CreationDate="2011-03-17T14:15:38.863" UserId="5785" />
  <row Id="12072" PostId="9458" Text="@mattdm That's right, my mistake. `root` can modify everything, thus also the `shadow` file. The old password is important for non-root users. Fixed that, thanks :)" CreationDate="2011-03-17T14:16:51.903" UserId="5661" />
  <row Id="12073" PostId="9358" Score="1" Text="Perhaps worth noting:&#xA;&quot;These two one-liners actually use a lot of memory because they keep the whole file in hold buffer in reverse order before printing it out. Avoid these one-liners for large files.&quot;" CreationDate="2011-03-17T14:33:02.847" UserId="4856" />
  <row Id="12074" PostId="9465" Text="Note that (because they're usually expected to be scheduled very soon), tasks in the &quot;uninterruptible&quot; state are also counted as running. Just a detail, not something that changes your question." CreationDate="2011-03-17T14:43:51.320" UserId="2511" />
  <row Id="12075" PostId="9464" Text="Testing and Unstable are pretty much stable, and some claim more stable than other so-called Stable releases (e.g. Ubuntu's releases). I'm not knocking on Ubuntu, but that's what the ppl sez." CreationDate="2011-03-17T14:52:22.700" UserId="688" />
  <row Id="12076" PostId="9417" Text="I am glad you posted...I promptly downloaded the new book and plan on going through it as my next project." CreationDate="2011-03-17T15:05:25.820" UserId="4856" />
  <row Id="12078" PostId="9436" Text="@phunehehe currently i build kernel from /usr/linux where kernel source is copied. which then installs related file directly to /boot. But i want to compile kernel in some sandbox directory and just use the kernel-image and initrd alone instead of updating other system files." CreationDate="2011-03-17T15:11:45.653" UserId="5763" />
  <row Id="12079" PostId="9436" Text="@Mr.Confused.A.Lot I don't really get it. What is preventing you from building the initrd without messing touching the kernel?" CreationDate="2011-03-17T15:16:22.590" UserId="250" />
  <row Id="12080" PostId="9471" Text="http://www.gnu.org/software/bash/manual/bashref.html#Shell-Parameter-Expansion has more details" CreationDate="2011-03-17T15:24:22.737" UserId="3976" />
  <row Id="12081" PostId="9403" Text="@Let_Me_Be: Is it http://www.clusterresources.com/products/torque-resource-manager.php? Must be pretty exotic. I've never before heard of such a scenario." CreationDate="2011-03-17T15:26:34.247" UserId="4671" />
  <row Id="12082" PostId="9460" Text="But why was my answer downgraded after having been accepted ?" CreationDate="2011-03-17T15:52:21.267" UserId="4200" />
  <row Id="12083" PostId="9436" Text="@phunehehe currently i am trying build via &quot;mkinitramfs -o initrd.img 2.6.37&quot; but my current running kernel is not 2.6.37. I get error cannot find &quot;/lib/modules/2.6.37&quot; i have compiled 2.6.37 but have not installed it (omitted steps &quot;make install&quot; and &quot;make modules_install&quot;). is it not possible to boot with just vmlinuz and initrd ? should i do make install too ?" CreationDate="2011-03-17T16:25:20.023" UserId="5763" />
  <row Id="12084" PostId="9459" Text="I really feel that before posting questions over here, people should try their question as search query on Google. There are so many results explaining the same question as yours. Not being offensive, but I feel there are better questions to be asked here. Moreover, this question seems to be a repeat of http://superuser.com/questions/154333/what-is-the-difference-between-debian-and-ubuntu " CreationDate="2011-03-17T16:34:47.580" UserId="4335" />
  <row Id="12085" PostId="9470" Text="I don't know if the system has an SMTP/outgoing mail server configured. Odds are that it doesn't." CreationDate="2011-03-17T16:44:30.203" UserId="1594" />
  <row Id="12086" PostId="9431" Text="the system update is enabled the chrome I installed it from Ubuntu software center ?!!how to enable the security repositories??" CreationDate="2011-03-17T16:56:27.433" UserId="5715" />
  <row Id="12087" PostId="9469" Text="How do I find out the name of my daemon?" CreationDate="2011-03-17T17:05:07.400" UserId="1594" />
  <row Id="12088" PostId="9425" Score="1" Text="@Mr. The menu installs a binary driver automatically, no config required. (At least for Desktop 10.10 and a GeForce 210. The driver was also a suggested by the Ubuntu installer, so I didn't need to use the &quot;install drivers&quot; menu either.) But you need to configure the repository if you want a driver more recent than the one in the Ubuntu repo." CreationDate="2011-03-17T17:29:06.200" UserId="3944" />
  <row Id="12089" PostId="9431" Text="Go to Edit menu of software-center and click of Software sources, and go to Updates tab. In future, just ask a separate question." CreationDate="2011-03-17T17:32:08.323" UserId="688" />
  <row Id="12090" PostId="9431" Text="Regarding the inability to install from software-center: After enabling the security/updates from your APT sources, please use the terminal to upgrade the system, to see if it works: `sudo apt-get upgrade`." CreationDate="2011-03-17T17:35:06.713" UserId="688" />
  <row Id="12091" PostId="9431" Text="Another thing is you might wanna log into chat so we can troubleshoot your problem easier." CreationDate="2011-03-17T17:37:13.173" UserId="688" />
  <row Id="12093" PostId="9463" Text="@Tshepang. Slackware calls itself user-friendly, and what they mean is that it's friendly to experienced users.  I agree with you, and I think Debian is &quot;user-oriented&quot; in the same way." CreationDate="2011-03-17T17:49:20.790" UserId="3447" />
  <row Id="12094" PostId="9472" Text="I would have rather you limited the discussion to Debian and Ubuntu. The mention of SuSE should have been a passing mention." CreationDate="2011-03-17T18:09:18.417" UserId="688" />
  <row Id="12095" PostId="9472" Text="I like the very last sentence. Once you get past the 'superficial' user-friendliness of Ubuntu, you essentially have the same system." CreationDate="2011-03-17T18:10:23.893" UserId="688" />
  <row Id="12097" PostId="9475" Text="There is an empty line after my cronjob." CreationDate="2011-03-17T18:13:58.487" UserId="1594" />
  <row Id="12098" PostId="9463" Text="Yes, maybe it is power-users friendly. About @Tshepang comment:&#xA;&#xA;&quot;It's much easier to run a 3D desktop (Compiz) on Ubuntu than on Debian. I is just a few clicks away, while in the case of Debian, you actually have to use the command line to run it.&quot;&#xA;&#xA;It's not like that. You _can_ lauch compilz from commandline, but if'u like graphical interfaces, you have graphical interfaces, even if'u want to configure effects." CreationDate="2011-03-17T18:18:40.467" UserId="5785" />
  <row Id="12099" PostId="9305" Text="Does xdpyinfo | grep -i video show the extension as loaded?" CreationDate="2011-03-17T18:19:00.680" UserId="2856" />
  <row Id="12100" PostId="9305" Text="And does grep -i xvideo /var/log/Xorg.0.log return anything interesting?" CreationDate="2011-03-17T18:19:52.317" UserId="2856" />
  <row Id="12101" PostId="9472" Text="@Tshepang: Well, SuSE 6.2 (I think that was the version) was an important part of my user experience/education. It was a rather broken system, and made me appreciate the non-brokenness of Debian, which I moved to shortly afterwards. Maybe it is not strictly relevant to a comparison between Debian and Ubuntu." CreationDate="2011-03-17T18:20:16.457" UserId="4671" />
  <row Id="12102" PostId="9472" Text="SuSE (dont remember which version) also sucked hard for me. I was using it only temporarily, while waiting for a pretty GUI from Debian (back when Etch wasn't released yet). Luckily Ubuntu came to the rescue, and it was far better, and it was a Debian derivative." CreationDate="2011-03-17T18:22:51.680" UserId="688" />
  <row Id="12103" PostId="9305" Text="I can't seem to remove the last comment, but I noticed the log and it seems to say the extension is loaded." CreationDate="2011-03-17T18:26:43.680" UserId="2856" />
  <row Id="12104" PostId="9478" Text="@dogbane: cool, should have checked expr more thoroughly." CreationDate="2011-03-17T18:41:46.780" UserId="5666" />
  <row Id="12105" PostId="9305" Text="@XTL: The extension is loaded, otherwise `xvinfo` would print a different message (`xvinfo: No X-Video Extension on :0`)." CreationDate="2011-03-17T18:45:35.563" UserId="885" />
  <row Id="12106" PostId="9477" Text="@nzwulfin — I've yet to see a system where multiple cores on a socket are exposed up to user-space in a way which makes them look like anything but more CPUs. So in top, on the 4-socket quad-core system, 16 CPUs are seen. (So one can readily see that the load of 9 is below the number of CPUs.)" CreationDate="2011-03-17T18:48:59.987" UserId="2511" />
  <row Id="12107" PostId="9474" Score="3" Text="(Not _necessarily_ /etc/passwd. Could come from a centralized directory service — which is basically mandatory for sanity on any large deployment of NFS.)" CreationDate="2011-03-17T18:50:35.960" UserId="2511" />
  <row Id="12108" PostId="9474" Text="Yes, very true." CreationDate="2011-03-17T18:58:29.640" UserId="4" />
  <row Id="12109" PostId="9482" Score="2" Text="By the way, `bash` isn't doing the `SIGTSTP` when you type `^Z`; since `firefox`'s process group is the terminal's current process group, the terminal driver (pedantically, line discipline) sends the `SIGTSTP` to all the processes in that process group.  `bash` is just `waitpid()`ing on it (and any other jobs).  Other terminal signals, such as `^C` and `^\ ` work the same way.  (meta:  SE hates that ctrl-backslash..)" CreationDate="2011-03-17T19:14:56.147" UserId="5325" />
  <row Id="12110" PostId="9251" Text="Worked perfectly.  Thanks so much!" CreationDate="2011-03-17T19:16:13.770" UserId="5710" />
  <row Id="12111" PostId="9484" Text="I would agree... But it does `:-s`." CreationDate="2011-03-17T19:42:00.100" UserId="5830" />
  <row Id="12112" PostId="9485" Text="Thank you for your quick answer. That seems reasonable. Is it possible to avoid changing the Makefile? (I doubt it) I'll ask the maintainers of the Makefile why they did it that way and report back here." CreationDate="2011-03-17T19:47:58.987" UserId="5830" />
  <row Id="12113" PostId="9485" Score="8" Text="@Bruno: `&amp;&gt;` is an extension provided by some shells (including bash) to redirect both stdout and stderr to the same destination, but it's not portable. It's likely that the author of the Makefile has bash as his `/bin/sh`, but you have ash or ksh which doesn't support this syntax." CreationDate="2011-03-17T19:50:46.987" UserId="885" />
  <row Id="12114" PostId="9480" Score="2" Text="See also [Difference between process group and job?](http://unix.stackexchange.com/questions/9082/difference-between-process-group-and-job/9151#9151)." CreationDate="2011-03-17T19:53:19.153" UserId="885" />
  <row Id="12115" PostId="9475" Text="Not an empty line, but a newline at the end of the last line. A text file is supposed to consist of a sequence of lines, each terminated by a newline, so any non-empty text file ends with a newline character. Some utilities don't process anything after the last newline in a file." CreationDate="2011-03-17T19:56:45.190" UserId="885" />
  <row Id="12116" PostId="9485" Text="@Gilles: `&lt;noob question&gt;` how do I know what shell I'm using? And is there a protable alternative?" CreationDate="2011-03-17T19:56:53.067" UserId="5830" />
  <row Id="12117" PostId="9485" Score="2" Text="Yes, but then, you should use '&gt;/dev/null 2&gt;&amp;1' instead" CreationDate="2011-03-17T20:00:21.220" UserId="5785" />
  <row Id="12118" PostId="9485" Score="1" Text="@BrunoLeFloch: Check if `/bin/sh` is a symbolic link. Note that `/bin/sh` may not be the shell you're using interactively. Instead of `mycommand &amp;&gt;dest` (csh/bash/zsh-specific), you can write `mycommand &gt;dest 2&gt;&amp;1`, which is portable to any shell that make might use." CreationDate="2011-03-17T20:03:02.890" UserId="885" />
  <row Id="12119" PostId="9485" Text="@D4RIO: I'll propose that to the package maintainer. By the way, `echo $SHELL` yields `/bin/bash`, and `bash --version` gives `4.1.5(1)-release (i486-pc-linux-gnu)`" CreationDate="2011-03-17T20:03:26.620" UserId="5830" />
  <row Id="12120" PostId="367" Score="1" Text="@StefanLasiewski: `&quot;$2&quot;` should also be quoted." CreationDate="2011-03-17T20:04:44.120" UserId="382" />
  <row Id="12121" PostId="9485" Text="@Gilles: `/bin/bash` is not a symbolic link. So it's kind of odd that `&amp;&gt;` doesn't work. But I'll live with that unknown: the maintainer is happy to change to the more canonical form `&gt; /dev/null 2&gt;&amp;1`." CreationDate="2011-03-17T20:09:36.910" UserId="5830" />
  <row Id="12122" PostId="9485" Score="1" Text="@BrunoLeFloch: AFAIK $SHELL is your user shell as defined in /etc/passwd, but makefile will try to use /bin/sh." CreationDate="2011-03-17T20:10:27.373" UserId="5785" />
  <row Id="12123" PostId="9485" Text="@BrunoLeFloch: Not `/bin/bash`, but `/bin/sh`. See if it's a symbolic link or a hard link, to `/bin/ash`, maybe. The easiest way to see this is `ls -l /bin/*sh`." CreationDate="2011-03-17T20:11:52.010" UserId="885" />
  <row Id="12124" PostId="9485" Text="@Gilles: I tried to be clever, thinking &quot;my $SHELL is `bash`&quot;, but well. Indeed, `\bin\sh` is a symlink to `\bin\dash`. Mystery (essentially) solved. Thank you very much." CreationDate="2011-03-17T20:19:06.683" UserId="5830" />
  <row Id="12125" PostId="9485" Score="1" Text="@D4RIO: perhaps add the `&gt; /dev/null 2&gt;&amp;1` version to your answer to make it complete?" CreationDate="2011-03-17T20:20:31.800" UserId="5830" />
  <row Id="12126" PostId="9449" Text="Better make that `awk -vRS= 'END{print}'`. First, because the `&quot;\n\n&quot;` version will print an empty record if there are more than two blank lines at the end of the input. Second, because some versions of awk don't allow `RS` to be more than one character. An empty `RS` means “paragraph mode” where any sequence of two or more newlines separate records, and that's required by POSIX." CreationDate="2011-03-17T20:23:48.333" UserId="885" />
  <row Id="12127" PostId="9447" Text="You need to say what exact laptop model you have, and also what graphics card." CreationDate="2011-03-17T20:26:36.083" UserId="885" />
  <row Id="12128" PostId="9475" Text="This is question of terms, &quot;newline character&quot; means &quot;after this character start new line of text&quot;. So 0 bytes between last newline and EOF also may be considered as an empty line (&quot;line which contains 0 characters&quot;)" CreationDate="2011-03-17T20:29:13.107" UserId="3886" />
  <row Id="12129" PostId="9485" Text="Hmm.. dash is a minimal shell. Good for the root restoring a system, but the hell for average users. If it's your system, make /bin/dash the root's shell (/etc/passwd), but link /bin/sh to bash or ksh or something like that, so your /bin/sh is a sane shell." CreationDate="2011-03-17T20:31:36.297" UserId="5785" />
  <row Id="12130" PostId="9376" Text="@simon: That was a different Gilles. I'd have recommended ACLs anyway." CreationDate="2011-03-17T20:48:08.310" UserId="885" />
  <row Id="12131" PostId="1258" Text="@Banjer This is not just SuSE-related, I think it is a Bash feature :)" CreationDate="2011-03-17T20:55:32.750" UserId="5661" />
  <row Id="12132" PostId="9462" Text="When using the 'Expert Install' option for Debian, you are asked if you want to set a password for the root user or not. If you do not set a root password then it is very similar to what Ubuntu does." CreationDate="2011-03-17T21:00:04.633" UserId="3459" />
  <row Id="12133" PostId="9349" Score="1" Text="acl can override umask locally. Is it possible your directories are being mounted with acl?" CreationDate="2011-03-17T21:33:32.900" UserId="4671" />
  <row Id="12134" PostId="9349" Text="If acl is enabled, it is probably being enabled in /etc/fstab." CreationDate="2011-03-17T21:36:30.813" UserId="4671" />
  <row Id="12135" PostId="9349" Score="1" Text="Hmm, apparently xfs always has acl enabled. so it might not show in your /etc/fstab. Try running getfacl on your partitions/directories." CreationDate="2011-03-17T21:40:50.830" UserId="4671" />
  <row Id="12136" PostId="9134" Text="-bash: ack: command not found" CreationDate="2011-03-17T22:05:40.723" UserId="431" />
  <row Id="12137" PostId="49" Text="`Ctrl+L` corresponds to the FormFeed ascii character. It will typically redraw the screen in text applications with a screen window (e.g. vim, less, mc, etc). Nice if the screen has been &quot;polluted&quot; by some output from another program." CreationDate="2011-03-17T22:13:25.850" UserId="4422" />
  <row Id="12138" PostId="9134" Text="Okay, I read the instructions to install ack . . . and I just tossed it in /bin so everyone can use it. Was that a bad idea?" CreationDate="2011-03-17T22:14:11.650" UserId="431" />
  <row Id="12139" PostId="9486" Score="1" Text="I'd guess Solaris, or maybe early Solaris.  I have a habit of making the cron entry run 3-5 minutes in the future when I test a script from a crontab entry, because I used to get fooled by this behavior all the time." CreationDate="2011-03-17T22:19:01.680" UserId="732" />
  <row Id="12140" PostId="9459" Text="@DharmitShah: The answers here are better than of that other question. Also, it was asked over 6 months before this one, so things might have changed. BTW it's ok to ask the same questions on different sites (as per SE policy)." CreationDate="2011-03-17T22:19:50.083" UserId="688" />
  <row Id="12141" PostId="168" Text="I have a similar function to `mkcd` only that I name id `md`. However the using &quot;$@&quot; as argument to cd does not make any sense since you cannot cd to more than one single directory. &quot;$@&quot; will work for mkdir, but then you are handling arguments differently for mkdir and cd, so I would rather suggest `md () { mkdir -p &quot;$1&quot;; cd &quot;$1&quot; }`" CreationDate="2011-03-17T22:20:12.817" UserId="4422" />
  <row Id="12142" PostId="9462" Text="@Arrowmaster: If you read my first point, you'll notice the word `default`." CreationDate="2011-03-17T22:22:03.797" UserId="688" />
  <row Id="12143" PostId="9305" Score="1" Text="You considered filing a bug?" CreationDate="2011-03-17T22:25:17.193" UserId="688" />
  <row Id="12144" PostId="9331" Text="There is no FTP server.... SFTP uses ssh, not FTP." CreationDate="2011-03-17T22:28:17.487" UserId="298" />
  <row Id="12145" PostId="9433" Score="1" Text="Why the copying program's block size should have anything to do with the underlying device's characteristics (tapes excepted)? The kernel does its own buffering (and sometimes prefetching) anyway." CreationDate="2011-03-17T22:43:54.917" UserId="885" />
  <row Id="12146" PostId="9433" Text="To minimize fractional buffers; things in general go faster when you use aligned buffers because the kernel can start buffer reads/writes at sector (or better, track or cylinder, but I think modern drives lie about those) and kernel buffer boundaries, because the kernel isn't having to skip over stuff or read extra stuff or manage partial buffers.  Certainly you can just let the kernel deal with it all, but if you're copying gigabytes of data that extra work can cut the copy time down considerably." CreationDate="2011-03-17T22:53:17.277" UserId="5325" />
  <row Id="12147" PostId="9480" Text="You should add `pgid` to your `ps` command to see the process groups @geekosaur is talking about." CreationDate="2011-03-17T22:54:51.707" UserId="1987" />
  <row Id="12148" PostId="9492" Text="I'd recommend the OP to do his own benchmarking, but anyway, nice answer!" CreationDate="2011-03-17T23:00:51.517" UserId="1987" />
  <row Id="12149" PostId="9433" Text="@geekosaur: You (generally) need to include `@Gilles` if you want me to be notified of your comment reply, see [How do comment @replies work?](http://meta.stackoverflow.com/questions/43019/how-do-comment-replies-work). Since I happened to be passing by: the kernel will deal with it all anyway. Your claim that “that extra work can cut the copy time down considerably” doesn't agree with my benchmarks, but different systems may have different behaviors, so please contribute timings too!" CreationDate="2011-03-17T23:07:24.800" UserId="885" />
  <row Id="12150" PostId="9433" Text="@Gilles: sorry, I had mistaken you for the original asker." CreationDate="2011-03-17T23:09:05.073" UserId="5325" />
  <row Id="12151" PostId="9368" Text="or the shorter `perl -e 'print reverse&lt;&gt;'`" CreationDate="2011-03-17T23:21:10.047" UserId="1987" />
  <row Id="12152" PostId="9368" Text="(Actually, there's a shorter one, but it's _really_ ugly, witness its awfulness: `perl -pe '$\=$_.$\}{'` )" CreationDate="2011-03-17T23:21:59.843" UserId="1987" />
  <row Id="12153" PostId="9357" Text="I think that's called **Schwartzian transform**, or **decorate-sort-undecorate**" CreationDate="2011-03-17T23:25:52.430" UserId="1987" />
  <row Id="12154" PostId="9360" Text="When you have a single regexp to highlight, see [Convince grep to output all lines, not just those with matches](http://unix.stackexchange.com/questions/366/convince-grep-to-output-all-lines-not-just-those-with-matches)." CreationDate="2011-03-17T23:26:24.537" UserId="885" />
  <row Id="12155" PostId="9493" Text="Profile, don't speculate!" CreationDate="2011-03-17T23:30:27.217" UserId="885" />
  <row Id="12156" PostId="9401" Text="A shorter one: `awk 'a=$0RS a{}END{printf a}'`" CreationDate="2011-03-17T23:34:05.573" UserId="1987" />
  <row Id="12157" PostId="9493" Text="Absolutely.  I am doing that now.  But your benchmarks already illustrate the point." CreationDate="2011-03-17T23:38:19.373" UserId="3169" />
  <row Id="12158" PostId="9494" Score="2" Text="You may be interested in http://www.pathname.com/fhs/pub/fhs-2.3.html" CreationDate="2011-03-18T00:16:09.000" UserId="1987" />
  <row Id="12159" PostId="9494" Text="This is perfect!" CreationDate="2011-03-18T00:19:18.713" UserId="5630" />
  <row Id="12160" PostId="9498" Text="This helps but it doesn't solve my problem.  I still see cases where the file is being split up into multiple tokens." CreationDate="2011-03-18T00:37:50.530" UserId="3115" />
  <row Id="12161" PostId="9034" Text="@simon: Actually, my answer doesn't.  Neither does glenn's." CreationDate="2011-03-18T01:08:26.903" UserId="3169" />
  <row Id="12162" PostId="9493" Text="[The Linux Programming Interface](http://nostarch.com/tlpi) agrees with me.  See Chapter 13 - File I/O Buffering." CreationDate="2011-03-18T01:13:49.940" UserId="3169" />
  <row Id="12163" PostId="9499" Score="2" Text="putting `while` in a pipeline can create issues with the subshell created (variables in the loop block not visible after the command completes for example). With bash, I would use input redirection and process substitution: `while read -r -d $'\0' file; do ...; done &lt; &lt;(find ... -print0)`" CreationDate="2011-03-18T01:23:39.130" UserId="4667" />
  <row Id="12164" PostId="9499" Text="+1 nice answer, btw" CreationDate="2011-03-18T01:24:07.570" UserId="4667" />
  <row Id="12165" PostId="9493" Text="Interestingly, their benchmarks suggest there is little benefit above 4K however." CreationDate="2011-03-18T01:24:47.807" UserId="3169" />
  <row Id="12166" PostId="9493" Text="Also, apparently the default file read ahead window is 128 KB, so that value might be beneficial." CreationDate="2011-03-18T01:33:16.827" UserId="3169" />
  <row Id="12167" PostId="9469" Text="@ripper234 use `ps -ef | grep cron` and you should see a line for your cron. Check the man page of the cron to see the flag for debug. It's likely that you are using [Vixie Cron](http://www.manpagez.com/man/8/cron/), in that case the debug flag is `-x`. Kill the cron process and start it again with the additional flag." CreationDate="2011-03-18T01:34:04.160" UserId="250" />
  <row Id="12168" PostId="9486" Text="`fcron` does this too." CreationDate="2011-03-18T01:36:27.887" UserId="250" />
  <row Id="12169" PostId="9466" Text="That sounds like Gilles's guess was correct :)" CreationDate="2011-03-18T01:38:14.297" UserId="250" />
  <row Id="12170" PostId="9499" Text="Sure, or using a heredoc: `while read; do; done &lt;&lt;EOF &quot;$(find)&quot; EOF`.  Not so easy to read however." CreationDate="2011-03-18T01:41:34.337" UserId="3169" />
  <row Id="12171" PostId="9502" Text="I edited out your second question since it was unrelated; you should [post it separately](http://unix.stackexchange.com/questions/ask) (you can get the original text [here](http://unix.stackexchange.com/revisions/cb4d5704-7ac2-41a9-92ed-2578e8b0d8f9/view-source))" CreationDate="2011-03-18T02:19:25.797" UserId="73" />
  <row Id="12172" PostId="9500" Text="@Gilles: I'd forgotten about wildcards as another reason to quote properly.  Thanks!  :-)" CreationDate="2011-03-18T02:34:23.523" UserId="3169" />
  <row Id="12173" PostId="9499" Text="@glenn jackman: I tried to add more explanation just now.  Did I just make it better or worse?" CreationDate="2011-03-18T02:36:20.260" UserId="3169" />
  <row Id="12175" PostId="9504" Text="Should you mention `$0` too?" CreationDate="2011-03-18T02:41:50.953" UserId="3169" />
  <row Id="12176" PostId="9504" Text="I don't like `$0` because it's more complicated: (1) it may be just the basename, (2) it may have '-' on the front to designate it as a login shell." CreationDate="2011-03-18T02:44:58.470" UserId="5325" />
  <row Id="12177" PostId="9134" Text="@tooshel: only if you don't want everyone to be able to use it...!" CreationDate="2011-03-18T02:52:30.523" UserId="5454" />
  <row Id="12178" PostId="9492" Text="@ninjalj I could do similar benchmarking but are the results still relevant when I write to an SD card through my internal reader?  Through an external reader?  To a USB stick?  To some media through my ExpressCard interface?  Will there be a difference between a 512MB SD card and an 8GB SD card?  Does the destination or source filesystem type have an effect, so I need to re-run all my tests on my ext4 work laptop?  There are too many variables and I don't know which ones are relevant!" CreationDate="2011-03-18T02:58:02.527" UserId="4443" />
  <row Id="12179" PostId="9502" Text="Your example works for me.  Can you paste output showing what happens and describe what the error is?  Does `echo -n A` do what you expect?  If not, try `printf` instead.  Does `od -i` do what you expect?  If not, try `od -t d1`." CreationDate="2011-03-18T03:10:33.197" UserId="3169" />
  <row Id="12182" PostId="9506" Score="3" Text="This question is difficult because the hardware changes so rapidly." CreationDate="2011-03-18T03:41:19.163" UserId="2511" />
  <row Id="12183" PostId="9507" Text="I would just use awk, rather than nawk. This is pretty standard to any awk version." CreationDate="2011-03-18T03:47:10.723" UserId="3519" />
  <row Id="12184" PostId="9504" Text="`ps -p$$ -ocmd=&quot;&quot;` is prettier :-)" CreationDate="2011-03-18T03:51:41.547" UserId="3519" />
  <row Id="12185" PostId="9511" Score="2" Text="I got this by Googling for &quot;octal file permissions tool&quot;, by the way. Google is always a great first place to check when you have a question." CreationDate="2011-03-18T05:46:04.007" UserId="5447" />
  <row Id="12187" PostId="9459" Text="@Tshepang: I don't mind repetitive questions being asked here (in fact I am no one to oppose that). But I feel that at times people don't spend any time Googling their queries. Anyway, I shouldn't be bothered about it. :) Just for info, googling the same query gives lots of links. :)" CreationDate="2011-03-18T05:57:52.473" UserId="4335" />
  <row Id="12188" PostId="9372" Text="Please read the following, regarding how to ask people for help with troubleshooting computer problems: http://www.catb.org/~esr/faqs/smart-questions.html#beprecise" CreationDate="2011-03-18T06:03:29.327" UserId="5447" />
  <row Id="12189" PostId="9509" Text="It's just an octal number with the binary digits being mapped to rwxrwxrwx (user, group, other)." CreationDate="2011-03-18T06:04:09.313" UserId="3082" />
  <row Id="12190" PostId="9445" Text="@forcefsck: Thank you for your solution. I'm wondering, how the line got there. I know, that on building up (resulting in a rebuilding state) the has one spare - but after successfully rebuilding that line should be automatically removed, shouldn't it?  Anyhow - after manually commenting out the line it is working the way I want it to. Thanks!" CreationDate="2011-03-18T06:30:59.230" UserId="5193" />
  <row Id="12191" PostId="9511" Score="1" Text="@jrtayloriv: Exactly. People are either too lazy or SE Reputation Score is what matters more than Googling." CreationDate="2011-03-18T06:31:54.880" UserId="4335" />
  <row Id="12192" PostId="9429" Text="IPsec implementations are not well standarized, and because of kernel space, it's implementation is kernel dependent, therefore OS dependent. OpenVPN is a free open solution, you can count on in every environment. It has many features, NAT support, and so on. Many things what can be handy, if you build the VPN solution on OpenVPN. Mikrotik routers support it, if you need hardware router. http://openvpn.net/index.php/open-source/339-why-ssl-vpn.html" CreationDate="2011-03-18T06:46:13.147" UserId="5756" />
  <row Id="12193" PostId="9511" Score="1" Text="Pst, I did try searching, but I couldn't find the right search term. Sorry to bother you so much...and give you some rep." CreationDate="2011-03-18T06:56:56.327" UserId="2076" />
  <row Id="12194" PostId="9511" Score="2" Text="Darryl -- You didn't bother me. I'm trying to help you find answers to questions more easily on your own, so that when the time comes that you have a question that nobody is willing to answer for you, you might be able to answer it yourself." CreationDate="2011-03-18T07:16:24.250" UserId="5447" />
  <row Id="12195" PostId="9506" Text="If you reformulate your question to fit [this criteria](http://blog.stackoverflow.com/2010/11/qa-is-hard-lets-go-shopping/), your question will be re-open." CreationDate="2011-03-18T07:52:33.567" UserId="688" />
  <row Id="12196" PostId="9517" Score="1" Text="I think that the `http_proxy` variable is what you're looking for. Take a look in the [Proxy Support](http://ubuntuforums.org/showthread.php?t=1575) howto." CreationDate="2011-03-18T08:28:13.060" UserId="5661" />
  <row Id="12197" PostId="9521" Text="+1, made me do `alias tee2tty='tee $(readlink /proc/$$/fd/1)'`" CreationDate="2011-03-18T09:17:36.893" UserId="863" />
  <row Id="12198" PostId="9520" Text="related: [How can I have activity in a folder logged?](http://unix.stackexchange.com/q/3494/863) and [monitoring activity on my computer.](http://unix.stackexchange.com/q/4275/863)" CreationDate="2011-03-18T09:20:29.167" UserId="863" />
  <row Id="12199" PostId="9487" Text="+1. Acl is a good way to go." CreationDate="2011-03-18T09:27:21.503" UserId="4671" />
  <row Id="12200" PostId="2189" Text="To avoid confusion, please be explicit about what version of grub you are using, whether grub legacy or grub 2. For preference, quote the version number. The config file does look like grub legacy, but is your system running grub legacy?" CreationDate="2011-03-18T09:32:53.197" UserId="4671" />
  <row Id="12201" PostId="9524" Text="`-d` doesn't exist in inotifywait 3.13. Do you mean `-m`?" CreationDate="2011-03-18T09:35:46.647" UserId="3645" />
  <row Id="12202" PostId="9524" Text="@l0b0: oh, I use 3.14 from the git repo. sorry. But the manpage states it's the same as `-m` with the exception of running in the background and requiring an outfile." CreationDate="2011-03-18T09:38:20.977" UserId="863" />
  <row Id="12203" PostId="9528" Score="3" Text="I think that you cannot pass arguments to an alias. Try converting `fg` to a [function](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-8.html) instead." CreationDate="2011-03-18T09:39:10.643" UserId="5661" />
  <row Id="12204" PostId="9524" Text="also `-r` might be useful" CreationDate="2011-03-18T09:40:41.990" UserId="863" />
  <row Id="12205" PostId="9524" Score="1" Text="Tested it. I'm sorry for the misunderstanding, but I'm not interested in which files (or even how many files) were accessed, but rather the amount of I/O." CreationDate="2011-03-18T09:41:18.230" UserId="3645" />
  <row Id="12206" PostId="9520" Text="This is different from those questions, because I'm not interested in the files themselves but rather the amount of I/O." CreationDate="2011-03-18T09:42:22.193" UserId="3645" />
  <row Id="12207" PostId="9528" Score="1" Text="I have an alias --&gt; alias ff='find . | xargs grep $1 -sl' which works fine!" CreationDate="2011-03-18T09:45:00.003" UserId="5845" />
  <row Id="12209" PostId="9528" Score="7" Text="`fg is a shell builtin`, I recommend you chose a different name whether you implement this as an alias or (better still) a function." CreationDate="2011-03-18T09:53:31.007" UserId="2818" />
  <row Id="12210" PostId="9529" Text="This and the former one do not work :(.I get an error message:syntax error near unexpected token `('" CreationDate="2011-03-18T09:54:42.307" UserId="5845" />
  <row Id="12211" PostId="9026" Text="I use `\`!!\`` all the time." CreationDate="2011-03-18T09:59:28.597" UserId="2818" />
  <row Id="12212" PostId="9529" Text="@Narek: Try `unalias fg` first. Remember to remove it from you .bashrc" CreationDate="2011-03-18T10:02:08.843" UserId="5666" />
  <row Id="12213" PostId="9476" Text="@Tshepang: sorry, trucated URL" CreationDate="2011-03-18T10:04:36.353" UserId="2780" />
  <row Id="12214" PostId="9530" Score="1" Text="This assumes GNU `grep`, of course." CreationDate="2011-03-18T10:07:19.040" UserId="2818" />
  <row Id="12215" PostId="9529" Text="I have defined this:           function fndg()&#xA;{&#xA;    find . -name &quot;$1&quot; -exec grep --color $2 -- &quot;{}&quot; \;&#xA;} but this does not work." CreationDate="2011-03-18T10:10:27.800" UserId="5845" />
  <row Id="12216" PostId="9524" Text="Oh I see. Maybe `inotifywatch` does what you want, but I don't know much about it" CreationDate="2011-03-18T10:17:22.550" UserId="863" />
  <row Id="12217" PostId="9459" Text="@ralnaemi what kind of ramdom changes are you referring to?" CreationDate="2011-03-18T10:20:16.043" UserId="48" />
  <row Id="12218" PostId="9446" Text="+1, I took the liberty to quote your answer to my similar question [at SU](http://superuser.com/questions/257049/what-to-consider-when-evaluating-windows-multipoint-server-2011/259118#259118), but if you repost it there yourself I'll accept your post and delete my quote" CreationDate="2011-03-18T10:26:46.257" UserId="863" />
  <row Id="12219" PostId="9533" Text="So you've tried [this](http://unix.stackexchange.com/questions/9517/is-there-a-way-to-set-network-proxy-system-wide/9519#9519) and failed?" CreationDate="2011-03-18T11:02:21.983" UserId="688" />
  <row Id="12220" PostId="9445" Score="1" Text="@Bastian Ebeling: Many tutorials include `mdadm --examine --scan &gt;&gt; /etc/mdadm/mdadm.conf` in their instructions, just after the array creation (which is still rebuilding), so it includes an extra spare." CreationDate="2011-03-18T11:13:57.973" UserId="5666" />
  <row Id="12221" PostId="9507" Text="Edited, is my habit of using 'nawk' since i've not awk at work" CreationDate="2011-03-18T11:36:29.077" UserId="5785" />
  <row Id="12223" PostId="9501" Text="I'm pretty sure this is a dupe... do I want to find it... " CreationDate="2011-03-18T11:55:21.117" UserId="29" />
  <row Id="12224" PostId="9524" Score="2" Text="Note, this is Linux-specific. BSDs have kqueue and pnotify system calls, but I don't know if they do exactly what the author is requesting." CreationDate="2011-03-18T12:03:02.110" UserId="2180" />
  <row Id="12225" PostId="9524" Text="thanks @Shawn I didn't check that" CreationDate="2011-03-18T12:06:19.960" UserId="863" />
  <row Id="12226" PostId="9528" Score="3" Text="@Narak, I think your second example there is only working by accident. " CreationDate="2011-03-18T12:11:27.080" UserId="2511" />
  <row Id="12227" PostId="9524" Text="@Shawn Thanks, I'll modify the question." CreationDate="2011-03-18T12:31:41.437" UserId="3645" />
  <row Id="12229" PostId="2928" Text="Are you sure that one program isn't reporting for example in Mib, and another in MB?&#xD;&#xA;&#xD;&#xA;" CreationDate="2010-10-09T13:45:44.567" UserId="1942" />
  <row Id="12230" PostId="2928" Text="Nope, it's not a units problem. " CreationDate="2010-10-10T10:07:27.717" UserId="2221" />
  <row Id="12231" PostId="9540" Text="I can't cluster, the Cloud I'm using has not enough resource for clustering :(" CreationDate="2011-03-18T13:20:26.277" UserId="5589" />
  <row Id="12232" PostId="9139" Text="Hmmm... IMO CentOS is a bit too-behind the cutting edge... but thanks for the consideration of Courier :)" CreationDate="2011-03-18T13:21:04.123" UserId="5589" />
  <row Id="12233" PostId="9541" Score="1" Text="That uses parameter expansion, but it didn't work for me. If your script is only going to be used on Linux, you can use `readlink -f $0` to get the canonical path." CreationDate="2011-03-18T13:22:44.820" UserId="2180" />
  <row Id="12234" PostId="9544" Text="This is a question for http://unix.stackexchange.com/" CreationDate="2011-03-18T09:51:37.160" UserId="2818" />
  <row Id="12235" PostId="9545" Text="@Ignacio: Makes sense...but are there any known workaround to this?" CreationDate="2011-03-18T09:37:43.307" UserId="3913" />
  <row Id="12236" PostId="9545" Score="1" Text="You could use a key and put an entry in `~/.ssh/authorized_keys` to allow executing a different command." CreationDate="2011-03-18T09:38:43.343" />
  <row Id="12237" PostId="9541" Text="@Shawn: 1 great comment vote because you introduced the right thinking: &quot;That uses parameter expansion, but it didn't work for me&quot;. The `dirname` util is useful here." CreationDate="2011-03-18T14:09:14.590" UserId="5785" />
  <row Id="12238" PostId="9506" Text="Did you read the link I shared? Do you disagree with the contents? Join us on [chat](http://chat.stackexchange.com/rooms/26) and talk about it, or voice your concern on [Meta](http://meta.unix.stackexchange.com/)." CreationDate="2011-03-18T14:20:58.617" UserId="688" />
  <row Id="12239" PostId="9506" Text="Also, note that such questions aren't off-topic on chat." CreationDate="2011-03-18T14:21:48.443" UserId="688" />
  <row Id="12240" PostId="9549" Text="hmm... that's an interesting alternative... I'll check it out. Thanks!" CreationDate="2011-03-18T14:27:15.237" UserId="5589" />
  <row Id="12241" PostId="9221" Text="@Tshepang: Are you the owner of the page (if it really is tshepang.net). If so, is the web server apache and do you have any control of its configuration? Or at least is .htaccess enabled with options override allowed?" CreationDate="2011-03-18T14:32:44.057" UserId="5666" />
  <row Id="12242" PostId="9538" Score="1" Text="You should consider that there are several directories of binaries depending on its purpose. You have `/bin` (general purpose, system binaries), `/usr/bin` (user programs, sometimes linked from `/opt`), `/sbin` (superuser binaries, administrative tools, this dir is not in the users PATH), etc..." CreationDate="2011-03-18T14:39:15.877" UserId="5785" />
  <row Id="12243" PostId="9495" Text="Vote up for linking useful documentation, this is more useful than a long answer. The only problem is that not every tool/command/program follows it =/" CreationDate="2011-03-18T14:45:15.403" UserId="5785" />
  <row Id="12244" PostId="9221" Text="@forcefsck: Nah, the site is ran by Posterous. They have an API for reading all posts, but it's a learning curve for me these web tech." CreationDate="2011-03-18T14:47:48.847" UserId="688" />
  <row Id="12245" PostId="9547" Text="Do you actually have 6 serials devices? Do you have a usbtoserial driver loaded? Can you provide some info on your hardware and drivers?" CreationDate="2011-03-18T14:55:36.267" UserId="5666" />
  <row Id="12246" PostId="9523" Text="Thanks for the answer.  Why are you doing it wrong if you combine find with for/while/do/xargs?" CreationDate="2011-03-18T14:56:30.860" UserId="3115" />
  <row Id="12247" PostId="9374" Text="UML and QEMU is probably the way to go, since you can easily play with filesystems at no cost." CreationDate="2011-03-18T14:59:27.430" UserId="3963" />
  <row Id="12248" PostId="9506" Score="1" Text="@Helgi See these [related](http://unix.stackexchange.com/q/6303/250) [answers](http://unix.stackexchange.com/q/1203/250)." CreationDate="2011-03-18T15:00:00.253" UserId="250" />
  <row Id="12249" PostId="9547" Text="Edited my original post with additional info." CreationDate="2011-03-18T15:00:52.870" UserId="4805" />
  <row Id="12250" PostId="9547" Text="Maybe you only see ports S2-S5. `dmesg|egrep -i 'serial|ttys'` output?" CreationDate="2011-03-18T15:10:29.763" UserId="5666" />
  <row Id="12251" PostId="9553" Text="I'm not making this a community wiki because I'd like people to get credit for answering, but if you have further refinements to the question itself please edit it or add comments here which I'll integrate. Thanks." CreationDate="2011-03-18T15:19:57.763" UserId="2511" />
  <row Id="12252" PostId="9374" Text="Very good links, just one thing. My favourite is debian too, but Kernel Development can be made with any distro. Maybe slack is the best way  if you're purist since it uses a vanilla kernel, but configs aren't bad stuff, you'ill find your best." CreationDate="2011-03-18T15:21:01.377" UserId="5785" />
  <row Id="12253" PostId="9506" Score="3" Text="I've tried to ask the question in a more general way here: http://unix.stackexchange.com/questions/9553/how-do-i-choose-a-graphics-card-for-linux" CreationDate="2011-03-18T15:23:06.680" UserId="2511" />
  <row Id="12254" PostId="9545" Score="1" Text="@Ignacio: I fail to see how adding another way to authorize a user changes the shell being launched on login.  And if `mail` has no `$HOME`, where would you put a key?" CreationDate="2011-03-18T15:28:28.337" UserId="1946" />
  <row Id="12255" PostId="9555" Score="1" Text="[A few words on ISA Server](http://www.faqs.org/docs/Linux-HOWTO/Web-Browsing-Behind-ISA-Server-HOWTO.html#ss2.1)" CreationDate="2011-03-18T15:37:37.620" UserId="5666" />
  <row Id="12256" PostId="9506" Score="2" Text="phoronics gives great insight into this:&#xA;&#xA;http://www.phoronix.com/scan.php?page=category&amp;item=Graphics%20Cards" CreationDate="2011-03-18T15:42:58.577" UserId="3963" />
  <row Id="12257" PostId="9552" Text="Updated my original post with the output from cat as well as some more information" CreationDate="2011-03-18T16:07:19.237" UserId="4805" />
  <row Id="12258" PostId="9547" Text="Updated my original post with the output from dmesg as well as some more information" CreationDate="2011-03-18T16:07:51.750" UserId="4805" />
  <row Id="12259" PostId="9564" Text="Well, I already had CONFIG_SERIAL_8250_RUNTIME_UARTS set to 6 in my kernel config, but I tried both of these (separately) as a boot parameter and it had no effect to what I'm seeing." CreationDate="2011-03-18T16:46:01.310" UserId="4805" />
  <row Id="12260" PostId="9564" Text="There is also CONFIG_SERIAL_8250_NR_UARTS, but according to documentation this should be overridden by 8250.nr_uarts parameter. v0v" CreationDate="2011-03-18T17:07:19.210" UserId="5666" />
  <row Id="12261" PostId="9552" Text="I'm using an embedded board.  By ISA bus I didn't mean a physical ISA card but rather a quad serial controller hardwired on the board.  I don't understand why S2 and S3 need to use nonstandard addresses but that was what I was told from a tech to use for those COMs." CreationDate="2011-03-18T17:10:12.647" UserId="4805" />
  <row Id="12263" PostId="9563" Text="I'm not getting core dumps, but I found [an article on enabling them](http://www.rt-embedded.com/blog/archives/enabling-core-dumps-in-embedded-systems/ &quot;Enabling Core Dumps in Embedded Systems&quot;)" CreationDate="2011-03-18T17:12:49.443" UserId="2180" />
  <row Id="12264" PostId="9564" Text="Actually according to the help in 2.6.37 kernel config, CONFIG_SERIAL_8250_RUNTIME_UARTS corresponds to the number of serial ports the kernel will register at boot time and can be overridden by the boot time parameter &quot;8250.nr_uarts&quot;.  CONFIG_SERIAL_8250_NR_UARTS is the number of serial ports I want the 8250 driver to support (maximum).  In my kernel config `CONFIG_SERIAL_8250_NR_UARTS=32` and `CONFIG_SERIAL_8250_RUNTIME_UARTS=6`" CreationDate="2011-03-18T17:19:15.947" UserId="4805" />
  <row Id="12265" PostId="9567" Text="Do you mean driver-specific parameters, or are you thinking more along the lines of &quot;how does migration_cost=1000,2000,3000 affect the tg3 driver&quot;?" CreationDate="2011-03-18T17:24:51.393" UserId="2511" />
  <row Id="12266" PostId="9567" Text="@mattdm yeah, I want to know driver-specific parameters........." CreationDate="2011-03-18T17:27:07.953" UserId="5861" />
  <row Id="12267" PostId="9552" Text="In that case, I would ask on electronics.stackexchange.com whether anyone has run Linux on that particular board and gotten it to see all 6 serial ports. I doubt your problem is actually Linux here, but rather the hardware. If so, your question is not on topic." CreationDate="2011-03-18T17:28:58.700" UserId="138" />
  <row Id="12269" PostId="9569" Score="1" Text="&quot;Favorite&quot; is by definition subjective. Can you rephrase a bit?" CreationDate="2011-03-18T18:03:50.190" UserId="2511" />
  <row Id="12270" PostId="8832" Text="@Joset I have discovered that the uswsusp package is missing from debian squeeze. I could get it from testing or unstable repository, but have to be careful about not pulling in other dependencies. I would like to know if it will fix it. Is uswsusp needed for hibernate. Or should pm-utils be enough. (suspend it ram is working fine.) " CreationDate="2011-03-18T18:04:05.620" UserId="4778" />
  <row Id="12271" PostId="9554" Text="This worked for me, but it would be extra nice to know how to do it with using the git protocol." CreationDate="2011-03-18T18:14:02.487" UserId="688" />
  <row Id="12272" PostId="6923" Text="@Jasper: No one has provided a complete answer so far, but which answer was most helpful to you? (So I know who to award the bounty to.)" CreationDate="2011-03-18T18:42:29.520" UserId="885" />
  <row Id="12273" PostId="9578" Text="Are the performance benefits to using hard links? Or, why would you ever use a hard link instead of a symlink?" CreationDate="2011-03-18T18:52:25.793" UserId="1594" />
  <row Id="12274" PostId="9577" Text="Actually, because `$2` and `$9` are inside single quotes, they won't be expanded by the shell but by `awk`, which uses them as field selectors for the `ps` output:  the uid and the first argument to the command, for Linux `ps -f`.  That said, the failed nested quoting means the shell *was* expanding them when it shouldn't have been." CreationDate="2011-03-18T18:53:48.240" UserId="5325" />
  <row Id="12275" PostId="9578" Text="The kernel has to restart pathname-to-inode translation (traversing the directory tree) to expand symlinks, whereas hard links all use the same inode.  (You'll often see this referred to as `namei`, from the name of the kernel function that did this in traditional Unix.)" CreationDate="2011-03-18T18:57:18.750" UserId="5325" />
  <row Id="12276" PostId="9577" Text="@geekosaur oh, yes, of course. I haven't looked at it that way. " CreationDate="2011-03-18T18:58:19.763" UserId="5766" />
  <row Id="12277" PostId="9581" Text="Also, symlinks have permissions like normal files, but the operating system doesn't consult them, it consults the permissions targeted file instead to decide behavior.  And, don't do circular chains of symlinks.  Very bad." CreationDate="2011-03-18T19:01:09.237" UserId="3389" />
  <row Id="12278" PostId="9580" Score="1" Text="@ripper: Interesting. A few stray observations. Does your .bashrc have anything connected with python in it? Do you get this same behavior with other user accounts? Why do you have python 2.7 installed locally? What is the default official python on this installation, and if not 2.7, do you have it installed? What ubuntu version is this?" CreationDate="2011-03-18T19:02:44.480" UserId="4671" />
  <row Id="12280" PostId="9582" Score="3" Text="Maybe disk-based version control mechanisms? If you hardlink something, then it's not a backup. If the original file gets corrupted, every hardlink to it gets corrupted too." CreationDate="2011-03-18T19:04:38.050" UserId="5785" />
  <row Id="12281" PostId="9581" Score="1" Text="Is it really very bad? What will happen? The most excitement I'm able to recreate is &quot;Too many levels of symbolic links&quot; error messages." CreationDate="2011-03-18T19:05:32.890" UserId="2511" />
  <row Id="12282" PostId="9580" Text="@Faheem - I don't see anything python related in .bashrc. I installed python locally myself. I know the machine has two other pythons installed as well. I have Ubuntu 10.10 installed." CreationDate="2011-03-18T19:07:09.690" UserId="1594" />
  <row Id="12283" PostId="9576" Text="Yeah, I noticed that, but wanted to make sure. After all, it could have printed it to stdout when I saved, &quot;or something&quot;. Thanks for the confirmation." CreationDate="2011-03-18T19:09:30.263" UserId="1594" />
  <row Id="12284" PostId="9582" Score="1" Text="Think of incremental backup systems like Apple's Time Machine.  (It should be obvious that these aren't disaster recovery type backups, but &quot;oops, I deleted that file by accident&quot; backups.)  All unchanged files in an incremental backup are hardlinked together; when the file is changed, the next incremental copies it instead of linking to the previous version." CreationDate="2011-03-18T19:09:58.360" UserId="5325" />
  <row Id="12285" PostId="9580" Text="This smells a bit like a python installation gone astray. What are the versions official system pythons installed, and why did you install 2.7 locally? Is it not one of the officially available versions?" CreationDate="2011-03-18T19:11:17.810" UserId="4671" />
  <row Id="12286" PostId="9578" Text="@ripper234: Hardlinks are diskspace-saving solutions.&#xA;&#xA;You don't need to know about the filesystem to make a symlink, but you need to think before creating symlinks because you can create a loop or a long resolution path, so functions like `stat` will fail." CreationDate="2011-03-18T19:12:56.170" UserId="5785" />
  <row Id="12287" PostId="9580" Text="@Faheem - I don't understand your question. What do you mean by &quot;official&quot;? I needed python 2.7, so I installed it. I am the admin of this box. I installed python by doing make/make install, didn't do anything fishy (I think)." CreationDate="2011-03-18T19:16:06.980" UserId="1594" />
  <row Id="12288" PostId="9578" Text="@geekosaur: I'm adding your answer to mine since it's very useful" CreationDate="2011-03-18T19:16:58.913" UserId="5785" />
  <row Id="12289" PostId="9578" Text="No problem.  I actually started to write it as a comment to yours, but comments are too short." CreationDate="2011-03-18T19:18:03.793" UserId="5325" />
  <row Id="12290" PostId="9580" Text="@ripper: Meaning, ubuntu provided it as a binary package. When you type python, which python do you get?" CreationDate="2011-03-18T19:19:53.810" UserId="4671" />
  <row Id="12291" PostId="9574" Score="1" Text="Several errors here. Your quoting doesn't work at all: backslashes are not special inside single quotes. (See my answer if you need more explanation.) An alias ending with a space has no influence on completion in bash (I think). Aliases do work as soon as they are declared (or in bash, maybe only on the next line, but that's a bug); alias expansion loops are prevented by a completely different mechanism (an alias `foo` is not expanded in the (direct or indirect) result of the expansion of `foo`)." CreationDate="2011-03-18T19:20:34.103" UserId="885" />
  <row Id="12292" PostId="9580" Text="@ripper: Also, take a look at dpkg -L command-not-found. I'm using Debian squeeze. You version might differ." CreationDate="2011-03-18T19:21:41.887" UserId="4671" />
  <row Id="12293" PostId="9577" Text="@geekosaur, @artistoex: Yes, you can pass an argument to an alias, and in fact it's commonly used. Here, `$2` and `$9` are unprotected when the alias is defined. See my answer for the full story." CreationDate="2011-03-18T19:22:16.740" UserId="885" />
  <row Id="12294" PostId="9582" Text="Thanks, then incremental backup systems are pretty similar to version control systems this way =D" CreationDate="2011-03-18T19:22:42.933" UserId="5785" />
  <row Id="12295" PostId="9569" Score="2" Text="Get a mouse with a thumb button. Or at the very least get a mouse with the right amount of resistance on the wheel button. Or use the keyboard, like unix geeks are supposed to (though I didn't get the memo)." CreationDate="2011-03-18T19:28:19.497" UserId="885" />
  <row Id="12296" PostId="9581" Score="1" Text="@ultrasawblade: `ls -l` is enough to see what is being linked by a symlink, the `a` stands for `--all`, see manpage. And even if symlinks work at the file system, there are alternative functions to use symbolic links as files instead of follow." CreationDate="2011-03-18T19:37:23.233" UserId="5785" />
  <row Id="12297" PostId="9335" Score="1" Text="@Tshepang: +1 for the mention of LPD. Interesting feature." CreationDate="2011-03-18T19:37:44.183" UserId="4671" />
  <row Id="12298" PostId="9587" Text="Actually for me, the only two places that had a network proxy allowed ftp traffic." CreationDate="2011-03-18T19:46:58.860" UserId="688" />
  <row Id="12299" PostId="9581" Score="1" Text="Windows shortcuts are actually quite different from symlinks: they follow their target, and they are also regular files. (Windows also has symlinks, but they're not used much.) Symlinks are purely textual, the target text is read whenever you access the file. Whether symlink permissions matter depends on the OS and filesystem." CreationDate="2011-03-18T20:04:19.237" UserId="885" />
  <row Id="12300" PostId="9578" Text="A file can have 0 link. Normally, the file is deleted when its link count reaches 0, but it will remain in place (with no name) until no process has it open. An open unlinked file still takes space and prevents its containing directory from being removed." CreationDate="2011-03-18T20:08:40.127" UserId="885" />
  <row Id="12301" PostId="9578" Text="@Gilles: Just Linux or every unix-like implementation does that?" CreationDate="2011-03-18T20:37:28.840" UserId="5785" />
  <row Id="12302" PostId="9555" Text="[See this answer](http://unix.stackexchange.com/questions/9551/i-am-failing-to-clone-a-git-repo-when-behind-a-proxy/9589#9589). Your proxy doesn't allow `CONNECT` to port 6667, so you'll have to find an external relay." CreationDate="2011-03-18T20:38:18.607" UserId="885" />
  <row Id="12303" PostId="9546" Text="Good to see final newlines correctly handled. Unfortunately `readlink -fn` is specific to Linux, NetBSD and OpenBSD." CreationDate="2011-03-18T20:41:32.940" UserId="885" />
  <row Id="12304" PostId="9542" Text="Add double quotes around all variable expansions to cope with (almost all) file names containing shell special characters." CreationDate="2011-03-18T20:42:04.063" UserId="885" />
  <row Id="12305" PostId="9544" Score="1" Text="@icasimpan - welcome! There's no need to put a &quot;no flaming&quot; intro on your question. Flaming is not considered okay here for any question. " CreationDate="2011-03-18T20:56:18.960" UserId="2511" />
  <row Id="12306" PostId="9578" Text="@D4RIO: Every “mainstream” unix, certainly (e.g. Solaris, *BSD, OSX, Linux). More exotic unix-like OSes might not (e.g. I don't think you can delete an open file in Cygwin, because Windows doesn't work this way)." CreationDate="2011-03-18T20:58:01.350" UserId="885" />
  <row Id="12307" PostId="9591" Score="1" Text="You mean literally &quot;$@&quot; (with quotes), yes? " CreationDate="2011-03-18T20:59:25.383" UserId="5870" />
  <row Id="12309" PostId="9523" Text="Find already iterates over a subset of files. Most people who show up with questions could just use one of the actions (-ok(dir) -exec(dir), -delete) in combination wiht &quot;;&quot; or + (later for parallel invocation). The main reason to do so, is, that you don't have to fiddle around with file parameters, masking them for the shell. Not that important: You needn't new processes all the time, less memory, more speed. shorter program. " CreationDate="2011-03-18T21:05:28.327" UserId="4485" />
  <row Id="12310" PostId="9554" Text=" @Tshepang: See @Gilles thorough explanation. Nothing more to add there." CreationDate="2011-03-18T21:30:49.917" UserId="5666" />
  <row Id="12312" PostId="9515" Text="“The following is using the fglrx ATI proprietary drivers and ONLY applies to these drivers.” So it's irrelevant for this question, I'm using the open source `radeon` driver (which worked under lenny)." CreationDate="2011-03-18T21:36:06.577" UserId="885" />
  <row Id="12314" PostId="9600" Text="And of course, immediately after asking this question, I start hitting the related questions and ultimately come up with the answer via (where else), the man page for less... Guess this question just became rep fodder." CreationDate="2011-03-18T21:43:38.310" UserId="2098" />
  <row Id="12315" PostId="9597" Text="Always copy-paste error messages. (I've inserted the actual error message for the benefit of future readers. But I could only do this because there's only one possible error message in this case. Most of the time, it's vital to have the **exact** error message to understand the problem. So always copy-paste all error messages in full.)" CreationDate="2011-03-18T21:53:20.010" UserId="885" />
  <row Id="12316" PostId="9601" Score="1" Text="Assuming the asker didn't make a mistake when (s)he posted the question, (s)he's after `rm Dar*`, not `rm !(Dar*)`." CreationDate="2011-03-18T21:55:04.267" UserId="885" />
  <row Id="12317" PostId="9601" Text="...right, yes, I was stuck in `zsh` `^` mode (similar to the `basg` `!` thing)." CreationDate="2011-03-18T21:56:08.887" UserId="5325" />
  <row Id="12318" PostId="9600" Text="@VxJasonxV: So either delete your question or post the answer." CreationDate="2011-03-18T21:56:19.680" UserId="885" />
  <row Id="12319" PostId="9600" Text="What if I wanted to give the rep to someone instead of throwing it away? :)" CreationDate="2011-03-18T21:58:52.470" UserId="2098" />
  <row Id="12320" PostId="9600" Text="@VxJasonxV: Don't let reputation influence you on whether to post something. Only think whether you're improving the content of the site." CreationDate="2011-03-18T22:04:24.367" UserId="885" />
  <row Id="12321" PostId="9601" Text="thanks geekosaur" CreationDate="2011-03-18T22:09:21.580" UserId="5871" />
  <row Id="12322" PostId="9600" Text="I consider cjm's content an improvement, and he got rep to show it. I'm not saying this to rub it in, I'm pointing it out because it's dually beneficial to a user. I didn't post the question for the rep either, I just found the answer on my own after the fact." CreationDate="2011-03-18T22:26:45.463" UserId="2098" />
  <row Id="12323" PostId="9596" Text="See the linked question http://unix.stackexchange.com/questions/8556/root-password-not-working-to-log-in-to-gnome-with-gdm  By default, root GUI login is not permitted for security reasons. However, you can use `su` from your user session (and add yourself to sudoers, if you like). " CreationDate="2011-03-18T23:00:44.803" UserId="2511" />
  <row Id="12324" PostId="9608" Score="4" Text="@Johnjohn is X11 really too heavy for you? are you sure you don't just need a lighter weight window manager? like fluxbox or XFCE, and get off of Gnome/KDE" CreationDate="2011-03-18T23:04:17.310" UserId="29" />
  <row Id="12325" PostId="9608" Text="@xenoterracide: xfce is nice, I use it a lot, but I was wondering if there are more drastic solutions other that using a light window manager." CreationDate="2011-03-18T23:24:34.103" UserId="5860" />
  <row Id="12326" PostId="9609" Text="Thank you very much! That clarifies it for me." CreationDate="2011-03-18T23:25:42.340" UserId="5860" />
  <row Id="12327" PostId="4411" Text="I have since turned off and unplugged the printer, moved stuff to another room, switched to Ubuntu and then back to Arch, etc and now it's running fine.  We'll never know exactly what was wrong..." CreationDate="2011-03-19T00:33:00.470" UserId="2874" />
  <row Id="12328" PostId="9612" Text="http://superuser.com/questions/235599/i-am-confused-with-the-output-of-command-du-in-linux http://superuser.com/questions/94217/ls-and-du-shows-very-different-size " CreationDate="2011-03-19T01:06:00.083" UserId="3169" />
  <row Id="12329" PostId="9612" Text="To be clear: are you running `du` and `df` on the copy on your Linux file system, or are you running them on a Windows/Samba mount point?" CreationDate="2011-03-19T01:13:23.117" UserId="3169" />
  <row Id="12330" PostId="9608" Score="2" Text="I ran X on a 32 MB i386 once. And on a 40 MB 68040 powerbook as a second display system. Your system is more than sufficient to open some windows. Speed and responsiveness will depend on many factors." CreationDate="2011-03-19T02:12:13.050" UserId="3270" />
  <row Id="12331" PostId="9575" Score="3" Text="I don't feel like copying my server fault answer: http://serverfault.com/questions/10543/what-is-the-difference-between-a-soft-symbolic-link-and-a-hard-link/10550#10550" CreationDate="2011-03-19T02:13:34.467" UserId="3270" />
  <row Id="12332" PostId="9619" Score="1" Text="The script you've shown above doesn't seem to relate to the question at all. That's odd." CreationDate="2011-03-19T03:02:41.253" UserId="2511" />
  <row Id="12333" PostId="9588" Text="On how I knew about the segfault: the console irregularly spat out &quot;Segmentation Fault&quot; with no further information." CreationDate="2011-03-19T03:02:52.267" UserId="2180" />
  <row Id="12334" PostId="9585" Text="one possible solution is `# apt-get remove command-not-found`..." CreationDate="2011-03-19T03:41:28.670" UserId="5454" />
  <row Id="12335" PostId="6858" Text="Note that `lshw` is in EPEL, which is as close to a non-third-party add-on repo as you can get with RHEL. (Although I just looked that up now, having only previously used `dmidecode`.)" CreationDate="2011-03-19T03:59:56.130" UserId="2511" />
  <row Id="12338" PostId="9374" Text="Found few more useful links:&#xA;[Link 1] (http://www.ibm.com/developerworks/linux/tutorials/l-kernelhack1/index.html)&#xA;[Link 2] (http://www.ibm.com/developerworks/linux/tutorials/l-kernelhack2/index.html)" CreationDate="2011-03-19T05:10:55.807" UserId="5763" />
  <row Id="12339" PostId="9591" Text="@Jonathan: Yes, literally (with quotes). If the double quotes are not present, then the value of each positional parameter in `$@` will undergo word-splitting (based on the contents of IFS) and pathname expansion (“globbing” aka wildcards: `*`, `?`, `[]`)." CreationDate="2011-03-19T05:28:57.750" UserId="1107" />
  <row Id="12340" PostId="9476" Text="@shellholic: nice diagram. did you make it yourself and if so, how?" CreationDate="2011-03-19T06:01:53.650" UserId="4671" />
  <row Id="12341" PostId="9608" Text="@johnjohn only alternative is wayland and it probably won't work on old hardware." CreationDate="2011-03-19T07:39:35.470" UserId="29" />
  <row Id="12342" PostId="9617" Text="this explains why `df` claims the disk is full... when it's not." CreationDate="2011-03-19T07:43:45.437" UserId="29" />
  <row Id="12344" PostId="9617" Text="your comment is incorrect. if `df` says the disk is full, it is, at that point in time, full. files that have been deleted but are still held on to by running processes do consume space. that space cannot be used for other files." CreationDate="2011-03-19T09:02:28.327" UserId="5842" />
  <row Id="12345" PostId="6923" Text="@Gilles gelraen" CreationDate="2011-03-19T09:16:41.347" UserId="4478" />
  <row Id="12346" PostId="9610" Text="you should move this to askubuntu" CreationDate="2011-03-19T09:29:34.673" UserId="4519" />
  <row Id="12347" PostId="9476" Score="2" Text="@FaheemMitha: Yes, I did, with a nice and small web app: [diagrammr](http://www.diagrammr.com/)" CreationDate="2011-03-19T09:37:46.237" UserId="2780" />
  <row Id="12348" PostId="9476" Text="@shellholic: +1 for the nice diagram and workflow." CreationDate="2011-03-19T09:40:10.280" UserId="4671" />
  <row Id="12349" PostId="9577" Text="@gilles The argument is not passed to the alias in the sense you can not effect where the original arguments will be placed in the final command string.  It will always be placed at the end." CreationDate="2011-03-19T10:30:37.850" UserId="5766" />
  <row Id="12350" PostId="9634" Text="In other words, you're asking [Is there is a PPA-service equivalent in the Fedora world?](http://unix.stackexchange.com/questions/6766/is-there-is-a-ppa-service-equivalent-in-the-fedora-world) (That question is about making one's own packages available, but in the end it's the same thing: you can install from Ubuntu PPAs because people can and do set them up.)" CreationDate="2011-03-19T11:10:00.047" UserId="885" />
  <row Id="12351" PostId="9634" Text="But how can I add it as a repo? I want to use it by my own software manager." CreationDate="2011-03-19T11:36:27.693" UserId="1924" />
  <row Id="12352" PostId="9634" Text="@oneat: If that's your problem, it's not at all apparent in the question you posted. But it's a duplicate too: [How to add a repository on Fedora?](http://unix.stackexchange.com/questions/6827/how-to-add-a-repository-on-fedora)" CreationDate="2011-03-19T11:39:46.653" UserId="885" />
  <row Id="12353" PostId="9636" Text="Big thanks. So indeed, I used Mod5 instead of Mod2 for Meta, and I can now write as expected (I use meta+key for many national characters). But oddly, now I have problem with CapsLock-key again -- it is binded to... Meta. I guess why, because once there is binding to Alt, but then Alt is redefined. So how to make a difference and once insist on code, and second time on symbol? I would like not to use raw keycodes because they could change from keyboard to keyboard. I cannot swap the order of keysyms, because in the last line I would get error." CreationDate="2011-03-19T11:42:58.950" UserId="5884" />
  <row Id="12354" PostId="9636" Text="The problem with `keysym Caps_Lock = Alt_L` is that if you run it twice, it puts the system back into an undesired state. That's why [I use keycodes](http://unix.stackexchange.com/questions/9310/determining-keycode-assignments-for-x-org-on-a-pc); they vary between operating systems and architectures (not between keyboards), but not that often." CreationDate="2011-03-19T11:47:05.867" UserId="885" />
  <row Id="12355" PostId="9502" Text="I tried od -t d1 worked great... Thanks" CreationDate="2011-03-19T12:11:42.443" UserId="5836" />
  <row Id="12356" PostId="9507" Text="yes, your solution worked for me too .. thanks" CreationDate="2011-03-19T12:14:36.093" UserId="5836" />
  <row Id="12357" PostId="3010" Text="Have a look at this link too : (http://unix.stackexchange.com/questions/165/what-is-advantages-and-disadvantages-of-ext4-and-reiserfs-and-jfs-and-xfs/336#336)" CreationDate="2011-03-19T12:20:20.743" UserId="5763" />
  <row Id="12358" PostId="9636" Text="Thank you for explanation, I guessed right then :-). If you don't mind I will keep it a bit longer as an unanswered question, maybe somebody could solve my problem at xkb level, which would be more flexible (switching layouts kills xmodmaps)." CreationDate="2011-03-19T12:20:27.980" UserId="5884" />
  <row Id="12359" PostId="9627" Text="Thanks for the links. :)" CreationDate="2011-03-19T12:25:33.390" UserId="5763" />
  <row Id="12360" PostId="9327" Score="1" Text="@imz: which emacs you are using? My emacs `GNU Emacs 21.4.1` with `M-g C-h` returns commands related to things such as bold, italics and such things, nothing to do with browsing. How did you press? I am a bit lost with `M-g n` also, not sure what it really means (not sure whether different emacs or mispressing)." CreationDate="2011-03-19T12:40:19.007" UserId="2362" />
  <row Id="12361" PostId="9634" Text="I don't quite understand your question: Do you have problems adding repositories or do you have problems finding a repository that has the packages you need?" CreationDate="2011-03-19T12:49:45.937" UserId="1290" />
  <row Id="12362" PostId="9638" Text="Yeah, those instructions seem pretty messed up. It could definitely use some loving." CreationDate="2011-03-19T13:11:49.870" UserId="2180" />
  <row Id="12363" PostId="9634" Text="ubuntu got skype's repo FFMPEG's repo and so on which he can enable. How can I have such repositories on my fedora. Is there anything to do that ?" CreationDate="2011-03-19T13:27:54.960" UserId="1924" />
  <row Id="12364" PostId="9642" Text="I think this question would be more appropriate to http://unix.stackexchange.com/" CreationDate="2011-03-19T10:13:43.077" UserId="5842" />
  <row Id="12365" PostId="9641" Text="hmm, ok. i was stumped for a while. A few different sites actually all had this version. Thanks for the abbreviated version!" CreationDate="2011-03-19T13:55:15.617" UserId="5887" />
  <row Id="12366" PostId="6115" Score="1" Text="Are you sure process2 is still running when you typing 'ps'? Maybe it's already done." CreationDate="2011-03-19T06:33:41.423" UserId="5880" />
  <row Id="12367" PostId="9610" Text="@Alaukik: although Ubuntu is the distribution involved, this isn't particularly Ubuntu-specific. When questions and answers could be generally useful to people not running Ubuntu, they're better here." CreationDate="2011-03-19T14:10:18.223" UserId="2511" />
  <row Id="12368" PostId="9585" Text="&quot;Screwed up python installation&quot; - any idea what exactly is missing. Is CommandNotFound a core python module, or can/should I install it separately?" CreationDate="2011-03-19T14:19:16.353" UserId="1594" />
  <row Id="12369" PostId="9649" Text="this replaced it with space and not new lines. Output: a b c" CreationDate="2011-03-19T14:52:52.240" UserId="5307" />
  <row Id="12371" PostId="9649" Text="@simpatico: Ok - I 'see' the problem now, your example output wasn't formatted correctly." CreationDate="2011-03-19T15:01:37.460" UserId="591" />
  <row Id="12372" PostId="9651" Text="+1 good answer." CreationDate="2011-03-19T15:10:50.813" UserId="4667" />
  <row Id="12373" PostId="9652" Text="You mean Debian 6?" CreationDate="2011-03-19T15:20:14.223" UserId="688" />
  <row Id="12374" PostId="9585" Text="@ripper: CommandNotFound is part of the [command-not-found](http://packages.ubuntu.com/maverick/command-not-found) package, which must be installed on your machine already, else you wouldn't be seeing this message. However, you could easily verify that by querying the package manager. dpkg -l command-not-found . Your problem is that your default python installation is not seeing this module. I'll add some steps to debug above. Others please feel free to modify &amp; correct." CreationDate="2011-03-19T15:31:00.633" UserId="4671" />
  <row Id="12375" PostId="9652" Text="Yes, changed title and question " CreationDate="2011-03-19T15:34:48.867" UserId="5766" />
  <row Id="12376" PostId="9652" Score="2" Text="I've used only the Linux part, but here's a wiki page: http://wiki.debian.org/Debian_GNU/kFreeBSD_why" CreationDate="2011-03-19T15:39:36.250" UserId="688" />
  <row Id="12378" PostId="9640" Text="A few details would be helpful here. What rpm did you try to install, what distribution/version did it correspond to, and it would be very helpful to post the error message about failing dependencies. Fedora 3 is really old, but I would have thought a flash plugin would be available for it/regardless. Also, I assume you are checking the plugins: url in your browser (I forget the exact syntax) to check if your browser is seeing the pluging? " CreationDate="2011-03-19T15:44:14.193" UserId="4671" />
  <row Id="12379" PostId="9640" Text="@selvin: Sorry, forgot to prefix your name. Also, is there some reason you are not using yum or similar to do the installation, since it does dependency handling?" CreationDate="2011-03-19T15:58:52.763" UserId="4671" />
  <row Id="12380" PostId="9639" Text="I don't think I understand your question fully. Doesn't 'make &gt; log' work well enough?" CreationDate="2011-03-19T16:03:57.223" UserId="5842" />
  <row Id="12381" PostId="9327" Text="@hhh I'm using GNU Emacs 22.2. Well, if I remember correctly, some of the `M-g` stuff was introduced recently. But `C-x \`` (a &quot;synonym&quot; for `M-g n`) must have been there for ages. I don't know what kind of &quot;things such as bold, italics&quot; you could see and why. What's unclear about pressing `M-g n`? (Perhaps, it hasn't been added yet in your version of Emacs; try `C-x \`` then.)" CreationDate="2011-03-19T16:07:57.880" UserId="4319" />
  <row Id="12382" PostId="9327" Text="@hhh Yes, `M-g` is among Incompatible Editing Changes in Emacs 22.1 (view with `M-x view-emacs-news` or `C-h n`): &quot;** M-g is now a prefix key&quot; section. And I see that your bold and italic stuff is probably what is now moved to the `M-o` prefix key (&quot;M-o now is the prefix key for setting text properties&quot; section)." CreationDate="2011-03-19T16:17:16.327" UserId="4319" />
  <row Id="12383" PostId="9651" Text="That doesn't let you log the two streams to the same file. " CreationDate="2011-03-19T16:19:22.493" UserId="5766" />
  <row Id="12384" PostId="9657" Text="@JCCyC: This is not really relevant to your question, but I recommend partimage over the approach you used to copy/replicate filesystems." CreationDate="2011-03-19T16:20:01.777" UserId="4671" />
  <row Id="12385" PostId="9657" Score="1" Text="@JCCyC: I suggest changing your title. It doesn't really reflect your question accurately." CreationDate="2011-03-19T16:24:38.323" UserId="4671" />
  <row Id="12386" PostId="9639" Score="2" Text="I do not think that's a good question... if you want **full** output to the file, then use `make &gt; file.log 2&gt;&amp;1` and you'ill get a &quot;--silent&quot; output to screen. This is a very basic shell usage." CreationDate="2011-03-19T16:36:58.453" UserId="5785" />
  <row Id="12387" PostId="8747" Text="quick google search returned these links:&#xA;&#xA;http://bobcares.com/blog/?p=421 and&#xA;http://www.funtoo.org/en/articles/linux/ffg/4/" CreationDate="2011-03-19T16:58:09.870" UserId="5763" />
  <row Id="12388" PostId="351" Score="1" Text="I get a 404 error." CreationDate="2011-03-19T17:01:07.927" UserId="688" />
  <row Id="12389" PostId="9661" Text="$ screen -ls&#xA;No Sockets found in /var/folders/Am/AmQYwuIoFSO0BNhXmOGzQU+++TI/-Tmp-/.screen.&#xA;But I had detached sessions before turning off my machine, how do I attach to them again now?&#xA;" CreationDate="2011-03-19T17:16:55.580" UserId="5307" />
  <row Id="12390" PostId="9661" Text="@simpatico: Strange. It wouldn't actually matter whether you detached the sessions before turning off your local machine, as long as they were running on the remote machine. You are certain you are running this command on the remote machine and that the earlier screen sessions were on the remote machine? (No offense intended.) I suggest you take a few minutes and try it again." CreationDate="2011-03-19T17:20:26.427" UserId="4671" />
  <row Id="12391" PostId="9661" Text="@simpatico: by the way, if you want someone to be notified of your comment, prefix it with @username." CreationDate="2011-03-19T17:21:43.180" UserId="4671" />
  <row Id="12392" PostId="9661" Text="I execute $ screen -ls on my terminal. Before $ screen -d == $ screen ls, since I had multiple screens. N offense, is there how I could execute the command with some log to prove/track things?" CreationDate="2011-03-19T17:23:49.600" UserId="5307" />
  <row Id="12393" PostId="9661" Text="@simpatico: not following all of the comment,sorry. You can enable log for a screen session from inside the session with `C-a H'. See the documentation. Again, prefix if you want someone to be notified of your comment." CreationDate="2011-03-19T17:28:02.047" UserId="4671" />
  <row Id="12394" PostId="219" Text="valgrind --tool memcheck &quot;yourapp&quot; will give memory related info in runtime (useful in desktop systems). Another great tool is [memwatch](http://www.linkdata.se/sourcecode/memwatch/) but it should be compiled along with your source. Memwatch can log details to a file hence more suitable for embedded systems." CreationDate="2011-03-19T17:35:04.987" UserId="5763" />
  <row Id="12395" PostId="9651" Text="@artistoex: You just can use `tee -a` with the same file used in `1&gt;` to sum both outputs in the same file. Something like: `./test 2&gt;&amp;1 1&gt;out+err.log | tee -a out+err.log`" CreationDate="2011-03-19T17:41:43.433" UserId="5576" />
  <row Id="12396" PostId="9662" Text="In general, `screen -DR` is the simplest way to reattach your last session." CreationDate="2011-03-19T17:46:28.920" UserId="4667" />
  <row Id="12397" PostId="9662" Text="Sure, but it's nice to demonstrate `screen -ls` because he will need it at some point after starting creating many sessions on the remote server :)" CreationDate="2011-03-19T17:50:57.533" UserId="5661" />
  <row Id="12399" PostId="9656" Text="@Mrozek: how do I use tr with the input and output file?" CreationDate="2011-03-19T17:55:35.873" UserId="5307" />
  <row Id="12400" PostId="9651" Text="I have no idea why, but this does not work with `wget -O - www.google.de` for me. (compare with solution below)" CreationDate="2011-03-19T17:56:00.180" UserId="5766" />
  <row Id="12401" PostId="9649" Text="@lain: this doens't work with \n . Did you try it? the \ disappears while the n is appended. a, b --&gt; an b" CreationDate="2011-03-19T17:57:44.937" UserId="5307" />
  <row Id="12402" PostId="9649" Text="@simpatico: I did test it and it works ok." CreationDate="2011-03-19T18:04:14.633" UserId="591" />
  <row Id="12403" PostId="9516" Text="I tested the above code .. but it didn't work for me .. I got a message saying &quot; i+=1 &quot; is not found!" CreationDate="2011-03-19T18:19:34.450" UserId="5836" />
  <row Id="12404" PostId="336" Score="1" Text="I've never used XFS but I've heard many reports of dataloss due to power failures and that a UPS is extremely recommended if you are going to use XFS." CreationDate="2011-03-19T18:38:29.240" UserId="3459" />
  <row Id="12405" PostId="9641" Text="Note that you'll need to remove '--dry-run' to actually apply the patch" CreationDate="2011-03-19T18:40:15.050" UserId="5685" />
  <row Id="12406" PostId="9656" Text="@simpatico `cat input | tr ',' '\n' &gt; output`" CreationDate="2011-03-19T18:40:33.013" UserId="73" />
  <row Id="12407" PostId="9647" Score="1" Text="This script works as expected on my Ubuntu system" CreationDate="2011-03-19T18:49:16.500" UserId="591" />
  <row Id="12408" PostId="9516" Text="This works in bash. You may need i=$((i+1)) instead." CreationDate="2011-03-19T18:49:45.953" UserId="4485" />
  <row Id="12409" PostId="9666" Text="I thought it worked but actually when I unpacked the archive, I found that they had been included :/" CreationDate="2011-03-19T18:56:52.763" UserId="1995" />
  <row Id="12410" PostId="9666" Text="Weird, which version of tar do you use? `tar --version` gives GNU 1.23 here." CreationDate="2011-03-19T19:01:16.537" UserId="5685" />
  <row Id="12411" PostId="9665" Text="This might help: http://unix.stackexchange.com/questions/2213/copy-recursively-except-hidden-directory/2214#2214" CreationDate="2011-03-19T19:03:41.580" UserId="688" />
  <row Id="12412" PostId="1093" Text="I try to be patient and tip them well." CreationDate="2011-03-19T19:12:46.717" UserId="3887" />
  <row Id="12413" PostId="9652" Score="1" Text="Why they decided to do it: because someone in the project thought it would be cool or had some use for it. Debian doesn't have a long-term characteristic leader or centrally-imposed strategies, things happen largely because individuals went and did the work." CreationDate="2011-03-19T19:51:44.277" UserId="885" />
  <row Id="12414" PostId="9666" Score="1" Text="Those files are file system metadata on OS X and don't exist prior to running tar, so probably cannot be excluded this way. They are included to allow restoring OS X file metadata when unpacking archived on another Mac." CreationDate="2011-03-19T20:04:26.003" UserId="5891" />
  <row Id="12415" PostId="9665" Text="These aren't temporary files, but represent OS X file system metadata (if I'm not mistaken, they include Finder labels, type and creator codes, extended attributes, etc.). These files don't exist prior to creating the tar on OS X. Possible answers depend on whether you're on OS X/HFS+ or another system." CreationDate="2011-03-19T20:07:47.123" UserId="5891" />
  <row Id="12416" PostId="9673" Text="Interesting... I didn't know about pax." CreationDate="2011-03-19T20:25:10.737" UserId="298" />
  <row Id="12417" PostId="9666" Text="Works for me. I recommend using `tar vzcf ...` to see if any wrong files were included." CreationDate="2011-03-19T20:31:10.780" UserId="4477" />
  <row Id="12418" PostId="9651" Text="Using `tee -a` won't work reliably to have the same output that would be on the console if nothing was redirected. The output that goes via `tee` might be slightly delayed compared with the output that comes directly from the command, and so might appear later in the log." CreationDate="2011-03-19T20:33:42.167" UserId="885" />
  <row Id="12419" PostId="9657" Score="1" Text="If your list of changes is exhaustive and you have an ssh server, you missed generating a new ssh host key. See also [Moving linux install to a new computer](http://unix.stackexchange.com/questions/2865/moving-linux-install-to-a-new-computer)" CreationDate="2011-03-19T20:39:53.563" UserId="885" />
  <row Id="12420" PostId="9651" Text="This does not work for me, out+err.log is empty. And yes, I want stderror and standard out in the same file" CreationDate="2011-03-19T20:41:48.670" UserId="5888" />
  <row Id="12421" PostId="9654" Text="This almost works for me, but in the log file I first get all the stdout lines, and then all stderror lines. I want them to be interleaved in the natural order as they happen." CreationDate="2011-03-19T20:44:08.917" UserId="5888" />
  <row Id="12422" PostId="9666" Text="@stribika He's most likely on OS X. See my comment on the question. The files cannot be excluded as they don't exist outside the tar archive." CreationDate="2011-03-19T20:54:59.380" UserId="5891" />
  <row Id="12423" PostId="9674" Text="This also, does not quite work for me, I get stdout lines first, and then all stderr lines in 'log' file.       example: { { echo out; echo err 1&gt;&amp;2;echo out2;echo err2 1&gt;&amp;2; } 2&gt;&amp;1 &gt;&amp;3 | tee /dev/tty; } &gt;log 3&gt;&amp;1" CreationDate="2011-03-19T20:56:46.380" UserId="5888" />
  <row Id="12424" PostId="9674" Score="1" Text="@Andreas: Oh, duh, `tee` introduces a delay here too. I don't think there is a pure shell solution. In fact I wonder whether there is a solution without modifying the application in some way." CreationDate="2011-03-19T21:28:17.127" UserId="885" />
  <row Id="12425" PostId="9631" Score="1" Text="Actually using the --title=&quot;title&quot; does not really work.  It does, but immediately changes back.  I had to actually go into edit profile and under title select &quot;Keep Initial Title&quot;.  Thanks for the info.  " CreationDate="2011-03-19T21:47:42.887" UserId="5881" />
  <row Id="12426" PostId="9630" Score="1" Text="Actually, I don't want to change all the terminal titles, just one launcher.  Still that other discussions looks useful and I will look into it sometime.  Thanks." CreationDate="2011-03-19T21:50:54.447" UserId="5881" />
  <row Id="12428" PostId="9681" Text="Thanks! Do you know if there's a name for this particular convention?" CreationDate="2011-03-19T22:30:52.207" UserId="5896" />
  <row Id="12429" PostId="9681" Text="@tonfa: None that I've ever heard." CreationDate="2011-03-19T22:31:45.420" UserId="885" />
  <row Id="12430" PostId="6923" Text="I missed the bounty deadline… So here's a new one (which I'll probably award no later than Friday evening this time). Hopefully this will lead to a solution." CreationDate="2011-03-19T22:33:18.850" UserId="885" />
  <row Id="12431" PostId="284" Text="http://levenez.com/unix/guru.html" CreationDate="2011-03-19T22:33:57.433" UserId="1987" />
  <row Id="12432" PostId="9666" Text="I did not specify that I was on OS X, but I am. I will accept this answer since it appears to work for most systems (those Gilles mentioned excluded). I finally got my task done by deleting afterwards these files that I did not want." CreationDate="2011-03-19T22:53:18.467" UserId="1995" />
  <row Id="12433" PostId="9499" Text="You don't need `IFS, -print0, while` and `read` if you handle `find` to its full, as shown below in my solution. " CreationDate="2011-03-19T23:10:12.437" UserId="4485" />
  <row Id="12434" PostId="9500" Text="instead of `find -exec sh -c 'cmd 1; cmd 2' &quot;;&quot;`, you should use `find -exec cmd 1 {} &quot;;&quot; -exec cmd 2 {} &quot;;&quot;`, because the shell needs to mask the parameters, but find doesn't. In the special case here, echo &quot;$0&quot; doesn't need to be a part of the script, just append -print after the `';'`. You didn't include a question to proceed, but even that can be done by find, as shown below in my soulution. ;)" CreationDate="2011-03-19T23:25:38.293" UserId="4485" />
  <row Id="12435" PostId="9656" Text="`tr ',' '\n' &lt; input &gt; output` avoids the UUOC." CreationDate="2011-03-19T23:33:29.867" UserId="5377" />
  <row Id="12436" PostId="9683" Score="1" Text="On my system, it's the first thing listed on the man page: `which --all`." CreationDate="2011-03-19T23:43:35.190" UserId="2180" />
  <row Id="12437" PostId="9527" Text="You had two completely unrelated questions. Since I answered one and no one has answered the other yet, I removed the part about Chrome from your question. Feel free to post a new question about running Chrome on OpenBSD." CreationDate="2011-03-19T23:50:37.060" UserId="885" />
  <row Id="12438" PostId="9656" Score="1" Text="@kojiro Yes, but I do not and never will care about that :). I even do `cat foo | grep bar`; I suspect the UUOC fanatics burn me in effigy every night" CreationDate="2011-03-19T23:51:11.613" UserId="73" />
  <row Id="12439" PostId="9500" Text="@userunknown: The use of `{}` as a substring of a parameter in `find -exec` is not portable, that's why the shell is needed. I don't understand what you mean by “the shell needs to mask the parameters”; if it's about quoting, my solution is properly quoted. You're right that the `echo` part could be performed by `-print` instead. `-okdir` is a fairly recent GNU find extension, it's not available everywhere. I didn't include the wait to proceed because I consider that extremely poor UI and the asker can easily put `read` in the shell snippet if he wants." CreationDate="2011-03-19T23:59:13.387" UserId="885" />
  <row Id="12440" PostId="9640" Text="@selvin - in terms of alternatives it would depend what you are trying to do. If you want a flash plugin but can't install a flash plugin you have no alternatives :-) If you just want to browse youtube for example, you maybe do have an alternative (if you can get an html 5 browser on that box)" CreationDate="2011-03-20T00:16:51.280" UserId="3046" />
  <row Id="12441" PostId="9639" Text="@D4RIO - worth being an answer, not a comment:-)" CreationDate="2011-03-20T00:19:26.753" UserId="3046" />
  <row Id="12442" PostId="9679" Text="Yeah, I already feared that I dont get proper unicode support in the terminal... But thanks for the IBM code page link, I searched for this but didn't know what to search for. I think these characters are enough. I do not want to support only the linux terminal but I want to support it _too_. Can you tell me how I can use the IBM 437 chars using unicode? The unicode characters I mentioned don't get &quot;converted&quot; automatically. (They are properly displayed in a graphical console (I use gnome-terminal with unicode).) Is there any way of supporting both console types?" CreationDate="2011-03-20T00:21:50.557" UserId="5894" />
  <row Id="12443" PostId="9679" Text="To be more specific, I code in C++ and have access to `termios` and stuff... Maybe I can set the encoding of the underlying console manually?" CreationDate="2011-03-20T00:28:19.647" UserId="5894" />
  <row Id="12444" PostId="9685" Text="You need double quotes around parameter substitutions, otherwise the script won't work if `$PATH` contains whitespace or shell globbing characters. `read -r` is necessary to cope with backslashes. This is not a good method because `find` will take a long time and may return spurious matches if a directory in `$PATH` contains subdirectories. Fortunately, `find` is not useful here; see my answer." CreationDate="2011-03-20T00:30:18.180" UserId="885" />
  <row Id="12445" PostId="9679" Text="@leemes: `termios` provides a portable interface to text terminals. You'll have to go beyond that interface to set up the Linux console for unicode (more precisely, your program would output unicode and the console driver would translate your output to the encoding of a cp437 font). I don't know the exact commands involved, but I think the `consolechars` man page and the lct documentation has the information you need." CreationDate="2011-03-20T00:34:31.547" UserId="885" />
  <row Id="12446" PostId="9500" Text="Quoting is a form of masking, isn't it? I don't understand your remark about what is portable, and what not. Your example (2nd from bottom) uses -exec to invoke `sh` and uses `{}` - so where is my example (beside -okdir) less portable? `find . -name &quot;*.csv&quot; -exec diff {} /some/other/path/{} &quot;;&quot; -print `" CreationDate="2011-03-20T01:05:18.087" UserId="4485" />
  <row Id="12447" PostId="9500" Text="“Masking” isn't common terminology in shell literature, so you'll have to explain what you mean if you want to be understood. My example uses `{}` only once and in a separate argument; other cases (used twice or as a substring) are not portable. “Portable” means that it'll work on all unix systems; a good guideline is the [POSIX/Single Unix specification](http://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html)." CreationDate="2011-03-20T01:15:24.177" UserId="885" />
  <row Id="12448" PostId="9685" Text="I knew find felt wrong since it would certainly be slow in nested directories. Globbing and spaces in $PATH? eww. But you're right (though you were nice enough not to say as much): my one liner was poorly written." CreationDate="2011-03-20T01:25:21.517" UserId="1323" />
  <row Id="12449" PostId="9687" Score="1" Text="I know how to do it from a program (painfully), but don't think there's a good way to get it from the shell.  Short version is to use `XGetImage()` to grab a visible part of the root window, then `XGetPixel()` to read the color value out of it." CreationDate="2011-03-20T01:39:05.513" UserId="5325" />
  <row Id="12450" PostId="9620" Text="How portable is `grep ASCII`? I remember that once I had problems because the output of `file` is not exactly the same on all systems but I don't recall if it was related with ASCII files." CreationDate="2011-03-20T01:59:08.757" UserId="5661" />
  <row Id="12455" PostId="9614" Text="I have tried this before. But my question is why this happens only after I used my USB sound card? There must be something wrong in the System setting." CreationDate="2011-03-20T02:28:11.527" UserId="5075" />
  <row Id="12456" PostId="9693" Text="That tool seems to be limited only to gimp's own image windows.  Unless there's a secret trick to it?" CreationDate="2011-03-20T02:35:32.200" UserId="2874" />
  <row Id="12458" PostId="9695" Text="It took a while to find it.  Now I have xcolorsel, but it won't run." CreationDate="2011-03-20T02:39:57.497" UserId="2874" />
  <row Id="12459" PostId="9693" Text="OTOH, gimp works great on image, and that image can be a screen capture of the desktop.  Problem solved.  (Duh, is obvious.)  Still would be nice to have a way to retrieve exactly what was given to xsetroot." CreationDate="2011-03-20T02:43:41.457" UserId="2874" />
  <row Id="12460" PostId="9676" Text="your code works great ... thanks" CreationDate="2011-03-20T02:50:33.190" UserId="5836" />
  <row Id="12461" PostId="2866" Score="1" Text="I do that when I'm upgrading a distro. (Say, Fedora 13 to Fedora 14). There's a few packages here and there that changed names, but they're usually dependencies of the critical ones, so it's OK to ignore them -- the important ones will pick their new-name dependencies." CreationDate="2011-03-20T03:13:44.637" UserId="2339" />
  <row Id="12462" PostId="9693" Text="I'm sorry Daren -- I thought I remembered an option to select outside of Gimp with the Color Picker tool ... what I was thinking about is the picker that's in the color selection dialog (when you click to change the color for your brushes -- the dropper that's in the color selection dialog) -- that one will let you select from anywhere without having to take a screenshot. (I think I'll going to write a patch to make the color picker tool do that too though ...)" CreationDate="2011-03-20T05:22:46.357" UserId="5447" />
  <row Id="12463" PostId="9701" Text="Thanks for contributing an answer even though there was a good and Accepted one. I chose yours because it also mentionins backports, and also for stressing the importance of adding security APT source." CreationDate="2011-03-20T06:53:17.840" UserId="688" />
  <row Id="12464" PostId="9704" Score="1" Text="Fedora Core 3 was [released](http://fedoraproject.org/wiki/Releases/HistoricalSchedules#Fedora_Core_3_.28Codename:_Heidelberg.29) before Gnash was [created](http://www.fsf.org/news/gnash-alpha-release)." CreationDate="2011-03-20T07:00:02.093" UserId="688" />
  <row Id="12465" PostId="9585" Text="See this followup question - http://unix.stackexchange.com/questions/9711/what-is-the-proper-way-to-manage-multiple-python-versions" CreationDate="2011-03-20T08:03:07.233" UserId="1594" />
  <row Id="12466" PostId="9713" Text="I thought that it's only reasonable to change the default python installation once I upgraded. I want it as default because I want to work with the newer python ... as default. When I type `python` from bash, I want to get the new python. Is there a better way to do this than what I did?" CreationDate="2011-03-20T08:18:00.553" UserId="1594" />
  <row Id="12467" PostId="9713" Text="Just to note - I don't think there was anything wrong in the way I installed python 2.7. The only &quot;unorthodox&quot; move was changing the symlink, which I thought was _the proper way_ to set it as default. Is there a better way?" CreationDate="2011-03-20T08:19:03.733" UserId="1594" />
  <row Id="12468" PostId="9713" Text="@ripper234: No it's not the proper way. You see, there is a package called simply as `python`, and it's the one that determines what's the system default. In Ubuntu 10.10, that packages decides that 2.6 is default, and in Ubuntu 10.04, it decides default to be 2.7. It does more than just changing symlinks too. This remove the need to fiddle with symlinks :)" CreationDate="2011-03-20T08:22:23.783" UserId="688" />
  <row Id="12469" PostId="9713" Text="You mean Ubuntu 11.04, not 10.04, right? I'm still not grocking how releases work - it's weird to have to upgrade an entire OS just for me to change the default python installation." CreationDate="2011-03-20T08:26:59.417" UserId="1594" />
  <row Id="12470" PostId="9713" Text="@ripper234: Yes, I mean that." CreationDate="2011-03-20T08:28:43.013" UserId="688" />
  <row Id="12471" PostId="9713" Text="@ripper234: It's that way because a Python installation is a complex thing. There is all the manner of potential problems if you start inter-mixing the versions." CreationDate="2011-03-20T08:29:36.307" UserId="688" />
  <row Id="12472" PostId="9713" Text="@ripper234: Also, why don't you just create an alias: `alias python='python2.7'`. I myself prefer python3, so I have: `alias py='python3`." CreationDate="2011-03-20T08:30:38.037" UserId="688" />
  <row Id="12473" PostId="9713" Text="OK, to resolve I recreated the symlink to point to python 2.6. I still don't understand it, but it works - I'll refer to 2.7 explicitly when I need to / use alias." CreationDate="2011-03-20T08:45:55.963" UserId="1594" />
  <row Id="12474" PostId="9713" Text="@ripper: I guess I'm coming to this thread a little late. As Tshepang says the `python` package on Ubuntu determines the system version. Now, it is possible to customize your installation so python 2.7 is default by creating your own python package etc, but if so, you'll effectively be becoming maintainer of your Python installation instead of Ubuntu, and you'll have to learn how Python is managed on Debian/Ubuntu. Bear in mind that the other Python packages in the system are configured to work with 2.6 as default, so, apart from anything else, breakage may result." CreationDate="2011-03-20T08:56:26.963" UserId="4671" />
  <row Id="12475" PostId="9706" Score="2" Text="@Somebody: Perhaps you could elaborate on your use case? What are you trying to do here?" CreationDate="2011-03-20T08:58:41.127" UserId="4671" />
  <row Id="12476" PostId="9683" Text="On mine (linux) it's only `which -a`." CreationDate="2011-03-20T08:59:27.573" UserId="4485" />
  <row Id="12477" PostId="44" Text="`Nix` is careful about tracking the dependencies, about carefully describing the build process as *purely functional* things where all the dependencies are explicit. That should give the user more flexibility in combining and tuning things boldly, and having some confidence that the result won't be incorrect." CreationDate="2011-03-20T08:59:58.793" UserId="4319" />
  <row Id="12481" PostId="9716" Text="@MaskTheSmokin: So fakeroot gives you super user power only for file manipulation operations,right." CreationDate="2011-02-24T13:11:24.923" UserId="5071" />
  <row Id="12482" PostId="9716" Text="@gkt.pro : I guess, yes." CreationDate="2011-02-26T11:19:16.043" />
  <row Id="12483" PostId="9716" Score="1" Text="It does not really give super user power, it only fakes it - the program running in it thinks it has root privileges, while it really still uses the user's normal privileges." CreationDate="2011-02-26T13:22:31.077" UserId="5779" />
  <row Id="12484" PostId="8732" Text="@Cam: If simon's answer works for you, you should accept it." CreationDate="2011-03-20T09:16:06.627" UserId="4671" />
  <row Id="12485" PostId="9713" Text="@FaheemMitha: i.e. fiddle only if u know what u r doing" CreationDate="2011-03-20T09:16:54.063" UserId="688" />
  <row Id="12486" PostId="9713" Text="@Tshepang: Good summary!" CreationDate="2011-03-20T09:23:27.537" UserId="4671" />
  <row Id="12488" PostId="9527" Text="thank you! - http://unix.stackexchange.com/questions/9723/google-chrome-on-openbsd" CreationDate="2011-03-20T12:17:30.650" UserId="5664" />
  <row Id="12489" PostId="9724" Score="1" Text="Well, there's _Skype_, which comes in a Linux version and can be run in OpenBSD via the Linux emulation layer. Can you explain why you're looking for an alternative?" CreationDate="2011-03-20T13:02:51.353" UserId="2511" />
  <row Id="12490" PostId="9724" Score="1" Text="And a related question: Skype encrypts traffic, but its _probable_ that the company can intercept calls. Is that a problem, or do you mostly care about your neighbors eavesdropping?" CreationDate="2011-03-20T13:04:03.333" UserId="2511" />
  <row Id="12491" PostId="9724" Score="1" Text="skype license = freeware - we don't know what's inside of it. that is the problem." CreationDate="2011-03-20T13:21:01.097" UserId="5664" />
  <row Id="12492" PostId="9713" Score="5" Text="@ripper234: Don't change anything in `/usr/bin`, that's reserved for your distribution. Instead, make `/usr/local/bin/python` a symbolic link to `python2.7`. Then scripts using `#!/usr/bin/env python` (the recommended idiom), as well as typing `python` on the command line, will run Python 2.7. Scripts from the distribution that want the Python from the distribution can keep calling `#!/usr/bin/python`." CreationDate="2011-03-20T13:22:48.520" UserId="885" />
  <row Id="12493" PostId="9724" Score="1" Text="That's fine, I just wanted to be clear. So, having source is an important requirement? If so, that should be clearly listed." CreationDate="2011-03-20T13:28:37.670" UserId="2511" />
  <row Id="12495" PostId="9713" Text="@Gilles: I've found at least one distro-provided package that uses `#!/usr/bin/env python`. So, I wouldn't recommend this." CreationDate="2011-03-20T13:55:13.633" UserId="688" />
  <row Id="12496" PostId="9713" Text="@Tshepang: Most distro-provided packages won't mind a more recent version, so it's ok for them to be executed with your own, more recent Python." CreationDate="2011-03-20T14:00:20.900" UserId="885" />
  <row Id="12497" PostId="9669" Text="Here's the code: http://dev.mutt.org/hg/mutt/file/tip/hcache.c" CreationDate="2011-03-20T14:06:58.983" UserId="2511" />
  <row Id="12498" PostId="9713" Text="@Gilles: Well, except that there can be incompatibilities. It happened often with Python 2.x." CreationDate="2011-03-20T14:12:39.187" UserId="688" />
  <row Id="12502" PostId="9706" Text="Sometimes you're using bash_functions.sh from someone, and want everything there's there except for a few functions that you already have defined in your  own files and don't want them overriden. " CreationDate="2011-03-20T15:36:06.213" UserId="2689" />
  <row Id="12503" PostId="9706" Text="@Somebody: couldn't you just comment out the ones you don't want?" CreationDate="2011-03-20T15:38:28.437" UserId="4671" />
  <row Id="12504" PostId="9716" Text="Where is the difference between `the program running in it thinks it has root privileges` and the program having root privileges? If I can do a `rm -rf /` and the program, running it thinks I have root privileges ... " CreationDate="2011-03-20T15:52:43.827" UserId="4485" />
  <row Id="12505" PostId="9712" Text="That's great, thanks! Does anyone know where xfe put its trash?" CreationDate="2011-03-20T15:58:41.310" UserId="1375" />
  <row Id="12510" PostId="9706" Text="@Faheem Mitha: this becomes unpractical over time if you use a bash_functions.sh that is versioned somewhere, and always do a checkout/pull from it." CreationDate="2011-03-20T16:13:14.823" UserId="2689" />
  <row Id="12511" PostId="9721" Text="@Shawn J. Goff: I'm already doing this approach. :) But somehow it seens wrong to me, and in my use case, I have to soure my files, source the external bash_functions.sh and again source my files (since I use some functions from my files when sourcing bash_functions.sh)" CreationDate="2011-03-20T16:16:12.340" UserId="2689" />
  <row Id="12512" PostId="9708" Text="@Michael Mrozek: What if I want to do sleep 16m? Will I have to calculate 16*60 or X*60 everytime I have a different sleep time? This doesn't seems practical to me." CreationDate="2011-03-20T16:18:13.167" UserId="2689" />
  <row Id="12513" PostId="9709" Text="This solves my problem, I'm already using homebrew. Thanks!" CreationDate="2011-03-20T16:19:03.150" UserId="2689" />
  <row Id="12514" PostId="9656" Text="# As a relative newcomer to Linux/bash, I've been a bit puzzled by the UUOC issue; So, for general info; To cat or not to cat, that is the question...  I just time tested 1000 (random) ASCII text files (total 307666 lines)...  `cat file* | grep sometext` vs `&lt;file* grep sometext` ... 'cat' is slower for real, user, and sys times: real(0m2.396s/0m2.121s): user(0m6.012s/0m3.172s); sys(0m2.264s/0m1.000s) ... (does time matter?.. sometimes yes, soemtimes no)... but the times are certainly different" CreationDate="2011-03-20T16:32:22.523" UserId="2343" />
  <row Id="12515" PostId="9739" Text="Great! I have learned something indeed, as I hoped. Before, I had no idea that pressing &quot;down&quot; in the minibuffer (when selecting a file) would bring the current buffer's filename into the field." CreationDate="2011-03-20T16:57:02.663" UserId="4319" />
  <row Id="12516" PostId="9708" Score="2" Text="This has the advantage that it should work on all POSIX-compliant systems." CreationDate="2011-03-20T17:01:52.567" UserId="1987" />
  <row Id="12517" PostId="9741" Text="Thank you for your answer! Actually, there is an inconvenience with \*Messages\*: if I'm at the end of \*Messages\* (after `C-h e`) and want to select the last line, I try to do the obvious: set the mark, move one line up. But `C-SPC` (setting the mark) itself prints a message to \*Messages\*, so my new region gets &quot;spoilt&quot; with the new message. I need to do extra movements to avoid this bad effect. This comment is here just to name one disadvantage of this solution, in order to be able to compare it to other solutions, if they will be suggested; not that I discard this solution." CreationDate="2011-03-20T17:16:59.487" UserId="4319" />
  <row Id="12518" PostId="4291" Text="Excellent advice! Vi/Vimperator users can configure the `&lt;C-o&gt;` to `popd` for authentic experience." CreationDate="2011-03-20T17:38:43.330" UserId="5674" />
  <row Id="12519" PostId="9739" Text="I should have read the documentation for `find-file` more carefully: &quot;... the visited file name is available through the minibuffer history:&#xA;type M-n to pull it into the minibuffer.&quot;!" CreationDate="2011-03-20T17:44:28.190" UserId="4319" />
  <row Id="12520" PostId="9741" Text="@imz: Good points. I've added the key binding (it didn't exist when I learnt Emacs). I've set up Emacs so I rarely get a `Mark set` message, but [geekosaur's solution](http://unix.stackexchange.com/questions/9740/is-there-a-convenient-general-way-to-grab-the-echoed-result-of-a-command-in-ema/9742#9742) is more convenient anyway." CreationDate="2011-03-20T17:45:31.277" UserId="885" />
  <row Id="12521" PostId="9742" Text="My example for `M-:` was specifically made up so that the elisp command depends on the current buffer (the path of the file visited), and I might want to insert it to another buffer. My other example was like `M-!`, but in dired mode (`!`), where inserting the result into the buffer wouldn't make sense." CreationDate="2011-03-20T17:47:01.697" UserId="4319" />
  <row Id="12522" PostId="9708" Text="@Somebody: You could write a function `sleepmin() { sleep $(($1 * 60)); }`, at least under `bash`." CreationDate="2011-03-20T17:47:55.863" UserId="1535" />
  <row Id="12523" PostId="9656" Text="@fred Nobody's arguing that avoiding the extra command isn't beneficial, it's whether or not you actually care. If I'm writing a script that's going to be used by lots of other people, I'll make an effort to do it right. If I'm running a command that's going to cat a 50 line file one time and pass it to another process, I really don't care how many `cat`s are involved. The 2 seconds I could've saved by skipping the cat are voided by the 10 seconds it takes me to check that command's man page to remember if it takes a filename argument and what switch it is" CreationDate="2011-03-20T18:17:50.597" UserId="73" />
  <row Id="12524" PostId="9742" Score="1" Text="I was a bit surprised to discover that there's no general interactive mechanism to save output in a register; it seems rather obvious." CreationDate="2011-03-20T18:36:25.410" UserId="5325" />
  <row Id="12525" PostId="4505" Text="In eshell, there is even such a command as [`eshell-show-output`](http://unix.stackexchange.com/questions/3650/would-it-be-possible-to-jump-between-prev-next-command-prompts/9745#9745), which seems to do even more closely what hced is after when asking this question." CreationDate="2011-03-20T18:57:40.207" UserId="4319" />
  <row Id="12526" PostId="3729" Text="In eshell, there is even such a command as [`eshell-show-output`](http://unix.stackexchange.com/questions/3650/would-it-be-possible-to-jump-between-prev-next-command-prompts/9745#9745), which seems to do even more closely what hced is after when asking this question." CreationDate="2011-03-20T18:59:50.763" UserId="4319" />
  <row Id="12527" PostId="9746" Score="1" Text="Your command looks right for replacing `&quot;text&quot;` with `'text'`. Of course it won't do anything to `&quot;othertext&quot;`. Show a few input lines, the corresponding undesired output, and explain what output you want instead." CreationDate="2011-03-20T19:11:45.210" UserId="885" />
  <row Id="12528" PostId="9746" Text="So `\&quot;` is the correct way of escaping quotation marks in sed command?" CreationDate="2011-03-20T19:15:57.520" UserId="5916" />
  <row Id="12529" PostId="9746" Score="3" Text="@Treebranch: Not for sed: sed doesn't need, or support, escaping `&quot;`. But your shell command uses a double-quoted string, and `\&quot;` is correct there. The `sed` program sees `s/&quot;text&quot;/'text'/ig` as the argument to `-e`." CreationDate="2011-03-20T19:20:42.080" UserId="885" />
  <row Id="12530" PostId="9746" Text="@Gilles What about spaces? Does sed understand and respect white spaces? For instance, if my command contained `s/\&quot;text\&quot; /'text'/ig` Would it find only `&quot;text&quot; ` with the space after it?" CreationDate="2011-03-20T19:24:41.117" UserId="5916" />
  <row Id="12531" PostId="9746" Score="3" Text="@Treebranch: Spaces must match exactly. Rather than continue this dialogue, I recommend that you post some sample input and the corresponding desired output (and perhaps explain why you need to change the quoting). It's not even clear that `sed` is the right tool for the job, maybe you want an XML parser." CreationDate="2011-03-20T19:28:41.367" UserId="885" />
  <row Id="12532" PostId="9706" Text="@Somebody: Ok. I see. I guess keeping your diffs local and merging with upstream is not an option then?" CreationDate="2011-03-20T20:11:14.683" UserId="4671" />
  <row Id="12533" PostId="9724" Text="@mattdm: sounds like he wants something that is FOSS. I do too." CreationDate="2011-03-20T20:14:29.487" UserId="4671" />
  <row Id="12534" PostId="9748" Score="3" Text="Have you seen http://unix.stackexchange.com/questions/8581/which-is-the-safest-way-to-get-root-privileges-sudo-su-or-login/ ?" CreationDate="2011-03-20T20:19:34.220" UserId="2511" />
  <row Id="12535" PostId="9749" Text="In a nutshell: Administrative privileges should be used for administrative tasks, not for desktop, every day usage." CreationDate="2011-03-20T21:08:34.457" UserId="5785" />
  <row Id="12536" PostId="9750" Score="1" Text="in case more people need root access to a machine, this is by all means the advisable way, instead of giving more people the root password." CreationDate="2011-03-20T21:14:06.920" UserId="1290" />
  <row Id="12538" PostId="9751" Text="(I say &quot;for the most part&quot;, because I'm still interested in understanding why other distros don't choose to switch to using sudo)" CreationDate="2011-03-20T21:29:06.593" UserId="5447" />
  <row Id="12539" PostId="9748" Text="No I hadn't seen that. Thanks for pointing it out. It pretty much answers most of my questions about the pros/cons of using sudo ... although I'd still be interested in understanding the motives of other distros for not doing things the Ubuntu way." CreationDate="2011-03-20T21:30:49.760" UserId="5447" />
  <row Id="12540" PostId="9750" Text="Yes -- this is what I used to do when I was running Gentoo. But if the best way to give regular users full access to root is to place them in wheel + sudoers, then I don't understand why they wouldn't just want to set up sudo-root by default, and then let them create a root account manually if they actually need a root login." CreationDate="2011-03-20T21:32:54.050" UserId="5447" />
  <row Id="12541" PostId="9750" Text="`sudo` is not a new invetion, it's been there for years. Maybe Ubuntu has something even different in mind, or simply tries to copy Windows behaviour." CreationDate="2011-03-20T21:40:21.920" UserId="1290" />
  <row Id="12542" PostId="9750" Text="I understand that sudo is not a new invention, but the way that Ubuntu uses it (i.e. to remove the root account altogether) is certainly unusual, when compared to other distros." CreationDate="2011-03-20T21:43:32.277" UserId="5447" />
  <row Id="12543" PostId="9750" Score="1" Text="Giving unrestricted sudo access is not in fact more secure than giving out the root password, seeing as how anyone with that level of access can just `sudo passwd` and lock everyone else out. As always, the weak link in security is between chair and keyboard." CreationDate="2011-03-20T22:00:32.010" UserId="4949" />
  <row Id="12544" PostId="9752" Score="1" Text="To put a finer point on your second tip: you can use any character in place of / when using the s and y commands, possibly among others. When using regexps with other sed commands, the first delimiter (if using an alternative to /) must be escaped. Your preferred delimiter must also be escaped if you are trying to match it within the regexp." CreationDate="2011-03-20T22:41:56.047" UserId="1323" />
  <row Id="12545" PostId="9224" Text="@forcefsck I tried the exact steps as outlined in the answer, but got an error from Grub saying &quot;could not find device for /boot: Not found or not a block device.&quot;. Please see the screenshots of it and my /etc/fstab, any other ideas?" CreationDate="2011-03-20T22:54:34.470" UserId="1375" />
  <row Id="12546" PostId="9751" Text="@jrtayloriv: Well I was looking at it from the other side. I didn't understand why ubuntu choose sudo over other methods. My concerns are stated in the question but to summarise: If an attacker can run code as my normal user I can't trust the system from the moment I logged on. I can't be sure if I started the real sudo or a password stealing version." CreationDate="2011-03-20T23:31:20.563" UserId="4477" />
  <row Id="12547" PostId="9761" Score="3" Text="what are the permissions bits of the file? Try:&#xA;&#xA; chmod +x &lt;file&gt;" CreationDate="2011-03-20T22:16:33.707" UserId="2844" />
  <row Id="12548" PostId="9761" Text="This question really belongs on unix.se." CreationDate="2011-03-20T23:20:13.577" />
  <row Id="12552" PostId="6565" Score="3" Text="So how is that more easy. 'Be careful' isn't an answer. I wouldn't understand why somebody deletes a directory and rebuilds it again. " CreationDate="2011-03-21T03:36:34.727" UserId="4485" />
  <row Id="12553" PostId="6558" Text="You can combine them to `rm -rf .* *`." CreationDate="2011-03-21T03:38:03.463" UserId="4485" />
  <row Id="12554" PostId="6591" Text="there is a -delete switch, so you can delete directories. (at least in gnu-find)." CreationDate="2011-03-21T03:40:33.757" UserId="4485" />
  <row Id="12555" PostId="9763" Text="Can you clarify what you meant by ongoing release? what exactly does 58 represent?" CreationDate="2011-03-21T04:42:59.777" UserId="4812" />
  <row Id="12556" PostId="9763" Text="From Ubuntu kernel wiki page: &quot;The kernel package version is of the following form 2.6.35-6.9. The numbers before the - represent the base upstream version from which this kernel was forked, the first number following the - represents the ABI number, the final number is an upload number.&quot; https://wiki.ubuntu.com/Kernel/FAQ" CreationDate="2011-03-21T05:08:14.603" UserId="5685" />
  <row Id="12557" PostId="8696" Text="Wow, I can't believe an answer of GNU Screen is currently the lowest rated. Am I missing something?" CreationDate="2011-03-21T05:55:51.987" UserId="4671" />
  <row Id="12559" PostId="9754" Text="@Yvus, The answer you are giving is the other face of what I told earlier ( Xorg --logverbose 6 ).  And, as far as, UDEV is concerned, UDEV do not recognized the current status of monitor ( I checked it on Debian lenny ).  If you have rules for the same, please share it.  Thanks." CreationDate="2011-03-21T06:29:07.560" UserId="4843" />
  <row Id="12560" PostId="9732" Text="This doesn't work real well, though, as you'll get a dialog box after about 5 minutes from dbus complaining that &quot;gvfsd-cdda didn't respond&quot;.  Less annoying than having sound-juicer leap up in your face every time, but still a pain." CreationDate="2011-03-21T06:36:09.113" UserId="5906" />
  <row Id="12561" PostId="9775" Text="@phunehehe thanks for the very clear explanation. in my case, I still *had* to put in ~amd64 to get the latest `xtables-addons`. but since my Gentoo box serves as a pure firewall, I'm not really concerned of other packages' stability :)" CreationDate="2011-03-21T07:08:04.343" UserId="5589" />
  <row Id="12562" PostId="388" Text="Yes, it could be your default term+shell. :) Then you'd use the usual text navigating keys there as a minimum. If you learned more special keys, then [the following features of Emacs' `eshell` can be accessed](http://unix.stackexchange.com/questions/385/using-text-from-previous-commands-output/9776#9776)." CreationDate="2011-03-21T07:31:44.787" UserId="4319" />
  <row Id="12563" PostId="9775" Score="1" Text="@pepoluan If `~amd64` is just to have `xtables-addons` then you should put it in `/etc/portage/package.keywords` or `/etc/portage/package.accept_keywords` instead of using the unstable testing branch. For more information refer to `man portage`, or ask here in a different question." CreationDate="2011-03-21T07:42:05.830" UserId="250" />
  <row Id="12564" PostId="9732" Text="@womble: Did you try just doing the first step (diverting `gvfsd-cdda`) and not the second, and then perhaps restarting dbus? Or diverting `/usr/share/gvfs/mounts/cdda.mount` instead (and perhaps restarting Gnome)?" CreationDate="2011-03-21T07:55:14.867" UserId="885" />
  <row Id="12565" PostId="9762" Text="Ten rep points says he used ftp and the default umask strips the -x bit on uploads. Not a bad precaution, come to think of it..." CreationDate="2011-03-21T08:02:41.897" UserId="4949" />
  <row Id="12566" PostId="9569" Text="Which terminal program are you using?" CreationDate="2011-03-21T08:30:30.640" UserId="5310" />
  <row Id="12567" PostId="9059" Text="How can I mark it as &quot;accepted&quot;? I didn't find a link to follow .Thanks!" CreationDate="2011-03-21T08:36:36.890" UserId="5495" />
  <row Id="12568" PostId="9764" Text="thank you, it works like a charm:) one thing: there is only 1 wikipedia site that has 3 starting letters: war.wikipedia.org so there must be a (...) - So THANK YOU!!" CreationDate="2011-03-21T09:00:55.777" UserId="5664" />
  <row Id="12569" PostId="9454" Text="Easy when you know! Thanks." CreationDate="2011-03-21T09:05:06.017" UserId="5817" />
  <row Id="12570" PostId="9761" Text="Perhaps the partition that you're trying to execute the file is mounted with the `noexec` flag activated?" CreationDate="2011-03-21T09:09:50.203" UserId="5661" />
  <row Id="12571" PostId="9725" Text="Here are some more details about the repo consistency checks done by ALTLinux' girar-builder (the build infrastructure), if someone will be interested (although this is not directly about building per se, rather about maintaining a consistent repo of the resulting packages): http://stackoverflow.com/questions/1316716/reproducible-custom-distribution-build-system-for-linux/5375369#5375369 ." CreationDate="2011-03-21T09:10:23.967" UserId="4319" />
  <row Id="12572" PostId="9764" Text="but: the whole redirection doesn't work if i: http://pastebin.com/raw.php?i=rbZMMnZK create a rule that has: (...) in it. [because of war.wikipedia.org]" CreationDate="2011-03-21T09:24:06.507" UserId="5664" />
  <row Id="12573" PostId="9782" Text="what about (raw) data ?" CreationDate="2011-03-21T09:45:49.157" UserId="4843" />
  <row Id="12574" PostId="2" Text="@mendicant: it is not clear from the question whether the question is about compiling the entire system from source, or compiling individual packages. Also, by distros, do you mean Linux based OSs, all free unix-like OSs, or something else? If your question is confined to free unix-like distributions, then by definition all of them can install packages by compiling them from source, but comparatively few (Gentoo and more obscure relatives like Sourcemage for Linux based OSs) and possibly some of the BSDs (I'm not that familar with them) when it comes to compiling the whole system." CreationDate="2011-03-21T09:51:17.980" UserId="4671" />
  <row Id="12575" PostId="9603" Text="+1, nice hack :)" CreationDate="2011-03-21T11:09:53.800" UserId="3645" />
  <row Id="12576" PostId="9745" Text="Thanks for the tip, will try this if I start using Emacs. (I'm more into Vim these days. If there's a ditto technique for Vim like the one you described above, I'd be happy to hear it.)" CreationDate="2011-03-21T12:12:50.930" UserId="2493" />
  <row Id="12577" PostId="9791" Text="This doesn't belong here, try [unix.se](http://unix.stackexchange.com/)" CreationDate="2011-03-21T12:04:43.053" UserId="2759" />
  <row Id="12578" PostId="9791" Text="thank you very much.." CreationDate="2011-03-21T12:17:08.593" UserId="5926" />
  <row Id="12579" PostId="9769" Score="1" Text="Can you better explain your rationale here? I specifically note that open source drivers are important to me." CreationDate="2011-03-21T12:26:51.910" UserId="2511" />
  <row Id="12580" PostId="9753" Text="Are you aware of the Nouveau drivers for Nvidia cards? Is that what you are describing as &quot;sort of failed&quot;? Can you elaborate? I looked at the wiki and `git` tree, and although it isn't roiling with changes, the project doesn't appear to be dead." CreationDate="2011-03-21T12:37:04.380" UserId="2511" />
  <row Id="12581" PostId="9753" Text="I'm also curious about your statements on benchmarking. Does the driver have no effect on OpenGL performance? I remember seeing articles with headlines like &quot;New ATI Catalyst drivers bring better performance&quot; — is that purely a DirectX thing, or an artifact of the past, or something else? (See for example http://www.phoronix.com/scan.php?page=article&amp;item=intel_hd3000_winbuntu — &quot;Historically, the Linux graphics driver performance has lagged behind Windows in terms of OpenGL performance even when both drivers are stable and mature.&quot;)" CreationDate="2011-03-21T12:39:15.000" UserId="2511" />
  <row Id="12582" PostId="9556" Score="1" Text="These are helpful links, but I'd really love to see some elaboration. (Some are more helpful than others — the TLDP document talks about XFree86, not Xorg... what parts of it are still relevant?)" CreationDate="2011-03-21T12:41:27.853" UserId="2511" />
  <row Id="12583" PostId="9791" Text="@Deepak, can you post the xorg.conf that you tried, and any error messages you're getting?" CreationDate="2011-03-21T13:04:48.587" UserId="2511" />
  <row Id="12584" PostId="9791" Text="actually I don't know to configure xorg.conf file. Can you tell me how to configure xorg.conf file in fedora 14. by the way how do i find if the hardware is properly connected ? Is there a way to check that.." CreationDate="2011-03-21T13:13:19.760" UserId="5926" />
  <row Id="12585" PostId="9791" Text="@mattdm: I have posted it. I didnt get any error. There is no response though.." CreationDate="2011-03-21T13:19:29.943" UserId="5926" />
  <row Id="12586" PostId="9748" Score="1" Text="Well, FWIW, I've been pushing for Fedora to do this since, well, since before Ubuntu existed, and I believe it'll finally be the default in F16 if not F15." CreationDate="2011-03-21T13:29:53.517" UserId="2511" />
  <row Id="12587" PostId="9765" Text="If you can't add `init=/bin/sh`, you can't add `single` either, so in either case the bootloader password provides your protection there." CreationDate="2011-03-21T13:34:51.343" UserId="2511" />
  <row Id="12588" PostId="9775" Text="@phunehehe gosh, you're right &gt;.&lt; ... I apologize, it seems my n00bness shines through :P ... anyways, I'm not the original poster, just a wayward commenter :)" CreationDate="2011-03-21T13:46:14.220" UserId="5589" />
  <row Id="12589" PostId="9775" Text="@pepoluan Glad I was of help. Everybody is a noob at some point :)" CreationDate="2011-03-21T13:49:38.683" UserId="250" />
  <row Id="12590" PostId="9706" Text="@Faheem Mitha: I thougth about this option. If a 'skip function' solution would be easier than keepindg diffs local, I prefer. That's why I asked the question." CreationDate="2011-03-21T14:48:44.653" UserId="2689" />
  <row Id="12591" PostId="9066" Text="Cf. [&quot;Sandboxed Haskell&quot; project proposal](http://hackage.haskell.org/trac/summer-of-code/ticket/1114)." CreationDate="2011-03-21T14:51:18.470" UserId="4319" />
  <row Id="12592" PostId="9724" Text="Cf. a new project: [GNU Free Call](http://planet.gnu.org/gnutelephony/?p=14)." CreationDate="2011-03-21T14:53:10.247" UserId="4319" />
  <row Id="12593" PostId="9059" Text="Per the FAQ (link at top and bottom):  When you have decided which answer is the most helpful to you, mark it as the accepted answer by clicking on the check box outline to the left of the answer. This lets other people know that you have received a good answer to your question. Doing this is helpful because it shows other people that you’re getting value from the community. (If you don’t do this, people will often politely ask you to go back and accept answers for more of your questions!)" CreationDate="2011-03-21T15:05:52.993" UserId="5325" />
  <row Id="12594" PostId="8406" Text="No we turn NM off almost as fast as we sign in the first time - gets in the way. No when I run dhclient on eth0 there isn't already a dhclient running it - I usually do it on boot and even if somehow it already had one I usually run a killall somewhere in there." CreationDate="2011-03-21T15:13:54.977" UserId="4176" />
  <row Id="12595" PostId="8406" Text="Will also mention that we're trying to *avoid* use of dhclient by default, but are merely trying to figure out why the network won't work with RHEL6, using either sysconfig scripts or dhclient I know how to have Fedora or RHEL under 6.0 running on the network in a few minutes, but 6 will not budge." CreationDate="2011-03-21T15:19:46.283" UserId="4176" />
  <row Id="12596" PostId="9645" Text="i'm using windows 7 now and this was happening in WiFi and Ethernet  to reconnect i had to restart and enjoy 5 minutes of internet then disconnected and you are offline" CreationDate="2011-03-21T15:22:50.690" UserId="5715" />
  <row Id="12597" PostId="9775" Text="@phunehehe Thanks for your detailed answer. I don't understand why but the default keyword is `~amd64-linux` (with `amd64` explicitly removed). So far it's running well =)" CreationDate="2011-03-21T15:24:54.993" UserId="5902" />
  <row Id="12598" PostId="9804" Score="1" Text="The second one causes a space to be sent as an argument (`\ ` escapes the next character, which &quot;hides&quot; newlines but makes spaces significant)." CreationDate="2011-03-21T15:27:09.470" UserId="5325" />
  <row Id="12599" PostId="9798" Score="1" Text="You're doing it wrong! (tm) Ever heard of `find -delete`?" CreationDate="2011-03-21T15:29:22.730" UserId="1946" />
  <row Id="12600" PostId="9556" Text="Xorg is a fork of XFree86, thus some parts might still be relevant, thought lots of investigation would be needed in order to figure those parts out. My bottom recommendation would be to stick with one reviewed by phoronix since that is a guarantee it will work on a Linux system at maximum capacity, including direct rendering and 3d acceleration." CreationDate="2011-03-21T15:31:07.437" UserId="3963" />
  <row Id="12601" PostId="9785" Score="1" Text="`-r` is a good idea too; It prevents `\\` interpretation... (it is in your links, but its probably worth mentioning, just to round out your `IFS=` (which is essential to prevent losing whitespace)  " CreationDate="2011-03-21T15:33:26.770" UserId="2343" />
  <row Id="12603" PostId="9789" Score="1" Text="If you want to keep all your whitespace, then use `while IFS= read` .... If you want to prevent \ interpretation, then use `read -r`  " CreationDate="2011-03-21T15:41:25.013" UserId="2343" />
  <row Id="12604" PostId="9807" Text="Simple, safe, sure to work. Just remember that you may have to rerun your DHCP client (for desktop this may be automatic, or you may have to click on the network manager applet and choose &quot;Connect&quot;)." CreationDate="2011-03-21T15:45:19.723" UserId="250" />
  <row Id="12605" PostId="9786" Score="1" Text="You MUST restore your IFS setting, otherwise trouble looms... and use `IFS=$'\n'` (`echo` is an unnecessary kludge)" CreationDate="2011-03-21T15:47:05.650" UserId="2343" />
  <row Id="12606" PostId="9806" Score="1" Text="That doesn't seem to be the case. `--good-switch` is interpreted as a command." CreationDate="2011-03-21T15:47:18.500" UserId="4518" />
  <row Id="12608" PostId="9693" Text="Ah, I didn't think of using the color selection dialog (from clicking on the white/black overlapping squares); tried only the eyedropper in the toolbox.  " CreationDate="2011-03-21T16:01:53.547" UserId="2874" />
  <row Id="12610" PostId="8696" Text="Perhaps! Seems like the best to me." CreationDate="2011-03-21T16:35:33.693" UserId="5429" />
  <row Id="12614" PostId="9801" Score="2" Text="Yes! But be careful of that particular format-string, because it'll give two files taken in the same second the same name. `%i` (or `%03i`, specifically) will give a sequence number, as requested in the original question. Combining both might not be a bad idea." CreationDate="2011-03-21T17:21:24.667" UserId="2511" />
  <row Id="12615" PostId="9791" Text="You might want to consider posting the contents of your /var/log/Xorg.0.log as well, because that's what is needed to determine whether it is failing to see /dev/ttyS0 as an elographics device." CreationDate="2011-03-21T17:23:14.227" UserId="3976" />
  <row Id="12616" PostId="9612" Text="I was running du an df on the Linux server." CreationDate="2011-03-21T17:40:12.930" UserId="3810" />
  <row Id="12617" PostId="9814" Text="you can do this with rsync." CreationDate="2011-03-21T17:53:57.423" UserId="2511" />
  <row Id="12618" PostId="9811" Score="1" Text="I don't mean to sound like a busybody, but it sounds like something you should be using version control for." CreationDate="2011-03-21T18:02:47.520" UserId="4671" />
  <row Id="12619" PostId="8732" Text="@Faheem: Thanks - as soon as I get a chance to try it I'll do so if it works :)" CreationDate="2011-03-21T18:09:26.323" UserId="3892" />
  <row Id="12620" PostId="9765" Text="But if an error occurs during boot (such as while fsck'ing a partition) it will drop you into single user mode without prompting for a password." CreationDate="2011-03-21T18:19:34.037" UserId="3459" />
  <row Id="12621" PostId="9765" Text="Depends on your init system. In RHEL5, that runs `sulogin`; this could be configured differently." CreationDate="2011-03-21T18:24:12.487" UserId="2511" />
  <row Id="12622" PostId="9814" Text="So, you want each specified dir without descending into subdirectories?" CreationDate="2011-03-21T18:52:48.487" UserId="4667" />
  <row Id="12623" PostId="9224" Text="@penyuan: Updated my post with one more command before `grub-install`. Also added a second way, similar but shorter." CreationDate="2011-03-21T19:06:07.257" UserId="5666" />
  <row Id="12624" PostId="9819" Text="So this time a had some luck with `/var/log/acpid`: turned out the power button was hit.  Any other ideas, where to look if acpid doesn't give a clue?" CreationDate="2011-03-21T19:20:41.567" UserId="1946" />
  <row Id="12625" PostId="9812" Score="1" Text="McAlot: I can't see how 'recursive' would matter *in this case*, as there are no sub-directories involved... Yes I did use &quot;1.txt,2.txt,3.txt'. Perhaps there are several things interacting: eg, Why does it take only 1min 30s to create 1 million files, but it takes 7m 10s to create 2 million. and after deleting them, recreating the 1 million **much** takes longer (9m 30s) its weird; everything is running slowly all of a sudden. This has happend before too. I think(?) deleting the directory fixed it. Is there a file daemon involved (nautilus; locate) maybe? To be continued..." CreationDate="2011-03-21T19:22:22.140" UserId="2343" />
  <row Id="12626" PostId="9818" Text="Are you sure that you have successfully authenticated and associated with the AP after your iwconfig invocation? You might try manually setting an IP and route to verify that you can send/recieve on wlan0" CreationDate="2011-03-21T19:33:54.690" UserId="1323" />
  <row Id="12627" PostId="9822" Text="Overly complicated for a simple copy, but ok. Except the question was about moving the files." CreationDate="2011-03-21T20:10:16.003" UserId="885" />
  <row Id="12628" PostId="9820" Text="I don't get the point of using `find`." CreationDate="2011-03-21T20:10:49.797" UserId="885" />
  <row Id="12629" PostId="9812" Text="In general, filesystems aren't optimized for dealing with large numbers of files in the same directory.  I'm not familiar with ext4 specifically, but for other formats the directory entries were just marked as unused when files were deleted.  That means they still must be skipped over when doing operations in the directory.  That would explain the behavior that you are seeing." CreationDate="2011-03-21T20:22:32.057" UserId="31" />
  <row Id="12630" PostId="9818" Score="3" Text="You can keep using Network Manager, even if you don't use Gnome. You can run `nm-applet` in any number of panels. I'm normally a command-line, do-it-myself person, but for networking on a laptop I gave up on doing things manually because Network Manager Just Works on most wifi networks." CreationDate="2011-03-21T20:23:20.700" UserId="885" />
  <row Id="12631" PostId="9693" Score="1" Text="I asked the gimp developers why the Color Picker tool (i.e. the one in the Toolbox, rather than the picker in the color selection dialog) isn't able to grab off screen, and they explained that it's because you'd have to globally grab the mouse until the user selected a color, which is different from how all of the other tools act (i.e. none of the other tools can grab the mouse): https://bugzilla.gnome.org/show_bug.cgi?id=645282" CreationDate="2011-03-21T20:25:22.710" UserId="5447" />
  <row Id="12632" PostId="9827" Text="Well... I want to restrict users to only r/w/x files from their homes only and allow to run 1 or more processes and let's say download only 50MB. I tried with rbash but no mv and some other functions." CreationDate="2011-03-21T20:26:51.570" UserId="5941" />
  <row Id="12633" PostId="9750" Text="OS X does indeed come this way (no root account) by default.  I haven't noticed any drawbacks to having it setup this way." CreationDate="2011-03-21T20:31:07.793" UserId="31" />
  <row Id="12634" PostId="9822" Text="Also, that will take every subdirectory under src/1 etc, which I believe the OP does not want." CreationDate="2011-03-21T20:47:57.410" UserId="4667" />
  <row Id="12635" PostId="9789" Text="@dogbane: I've fixed the points fred.bear mentioned, as well as changed `echo` to `printf %s`, so that your script would work even with non-tame input." CreationDate="2011-03-21T20:57:56.413" UserId="885" />
  <row Id="12636" PostId="9820" Text="@Gilles, just to get a list of files only at the level of the directory.  updated." CreationDate="2011-03-21T20:58:56.593" UserId="4667" />
  <row Id="12637" PostId="9786" Score="1" Text="@MattBianco: ``IFS=&quot;`echo`&quot;`` sets `IFS` to an empty value. Use `IFS=$'\n'` or `IFS='␊'` (where ␊ is a newline character) to set it to a newline. You also need `set -f` to avoid globbing when expanding `$jobs`." CreationDate="2011-03-21T20:59:50.140" UserId="885" />
  <row Id="12638" PostId="3080" Text="i really don't understand why linking to a crappy program developed on windows and only later ported to linux (hence not even scriptable, tsk tsk) made this the accepted answer! (so i downvoted the answer)" CreationDate="2011-03-21T21:03:02.147" UserId="1389" />
  <row Id="12639" PostId="9788" Text="You're missing `set -f` to turn off globbing on the unprotected `$PATH`. `test -f` isn't sufficient since only executable files are wanted here; you need `test -x`. Hmm, I realize I forgot the regular file test in my script." CreationDate="2011-03-21T21:03:24.877" UserId="885" />
  <row Id="12640" PostId="3076" Text="this seems like a more sane answer to me. obviously the OP has a lot of files and probably knows how to open a command line, though one worries these days, and  as a matter of fact this answer actually answered the question i was about to ask. so i upvoted it. you acquire good SE karma, @Steven D, though your answer got no votes until i saw it." CreationDate="2011-03-21T21:03:32.100" UserId="1389" />
  <row Id="12641" PostId="9828" Text="Is `iwconfig wlan0 ap xx:yy:zz:aa:bb:cc` The content of 'Cell 01 - Address: *00:19:70:4A:64:ED*' when I do `iwlist scan`? " CreationDate="2011-03-21T21:08:43.390" UserId="5938" />
  <row Id="12642" PostId="8959" Text="great analogy, man. that got you an upvote." CreationDate="2011-03-21T21:09:54.353" UserId="1389" />
  <row Id="12643" PostId="8722" Text="gotta love that tr syntax. whoever wrote that program was a kindred spirit, i imagine, because i personally have always found sed and grep eyesores. i know i don't *have* to use the command line. these days i automatically revert to CL after a certain number of clicks (maybe 3) is required for something because i know later on it will be useful to me to know how to do so... but thanks for the sed command you give at the end because honestly i would love to have mastered regex and it would serve me greatly and of all the commands above it's actually the one that i will end up using." CreationDate="2011-03-21T21:12:08.767" UserId="1389" />
  <row Id="12644" PostId="9835" Score="6" Text="6 character command name + `.c` (or `.s`) extension = 8 character filename limit." CreationDate="2011-03-21T21:25:22.510" UserId="5325" />
  <row Id="12645" PostId="9024" Text="possible duplicate of [Using text from previous commands' output](http://unix.stackexchange.com/questions/385/using-text-from-previous-commands-output)" CreationDate="2011-03-21T21:34:46.227" UserId="885" />
  <row Id="12646" PostId="9835" Text="@geekosaur: Ah, right, the source file. If you write an answer, I'll delete mine." CreationDate="2011-03-21T21:37:36.660" UserId="885" />
  <row Id="12647" PostId="9835" Text="Enh, just annotate it if you want." CreationDate="2011-03-21T21:38:35.973" UserId="5325" />
  <row Id="12648" PostId="9822" Text="@glenn jackman, I think he does want to move the whole src/1 subtree although I agree with @Giles that this is copying, not moving, so not really a solution." CreationDate="2011-03-21T21:52:19.640" UserId="5550" />
  <row Id="12650" PostId="9835" Text="@geekosaur: I thought of the man page, as well, but V1 didn't have a man command (and one of the man pages is called `directory`, which wouldn't have fit yet). So I wonder why `passwd` was truncated to 6 characters (there wasn't a `passwd` command yet either, just `/etc/passwd`)." CreationDate="2011-03-21T22:52:11.090" UserId="885" />
  <row Id="12651" PostId="9822" Text="Actually, I'm interested in both mv and cp. Both with or without subdirectories. So this solution is useful, too." CreationDate="2011-03-21T23:13:30.607" UserId="5116" />
  <row Id="12652" PostId="9814" Text="@glenn jackman Actually both, I'm moving a couple of things around like crazy." CreationDate="2011-03-21T23:16:53.083" UserId="5116" />
  <row Id="12653" PostId="9842" Text="Yes, indeed.  This fixed my problem.  The man page I was reading was a little cryptic (or my understanding was) with regards to what exactly maproot did.  Thanks!" CreationDate="2011-03-22T00:47:47.463" UserId="298" />
  <row Id="12654" PostId="9845" Text="@sehe: I think that you are saying *&quot;use smaller directories&quot;* ... That's an intersting idea; a home grown DBMS which makes a tree from a 'tree-less' group of files&quot;. Some might call it forward planning :) ... If it works (and it probably does), then it is a *good idea*! :) ... I'm starting to get the idea that 'big is bad' wnen it comes to the number of files in a directory (for ext4 at least)...  You have presented a preemptive workaround (+1) and I'm slowly getting an idea of why some deleting methods are faster than others in any given directory; small or large... Thanks" CreationDate="2011-03-22T01:45:56.850" UserId="2343" />
  <row Id="12655" PostId="9812" Score="1" Text="I deleted the 'now slower' directory, and used a different name for a new directory.  The time to create 1 million files is now back down to 1m 33s (vs 9m 30s when the directory &quot;contains&quot; 2 million deleted files, the first million having the same name as the newly added 1 million) ... interesting, and it tallies with your *&quot;...just marked as unused&quot;* comment ... getting there; it's starting to make sense :)" CreationDate="2011-03-22T01:52:03.227" UserId="2343" />
  <row Id="12656" PostId="9834" Text="Nope. The regret in the quote you reference is because they could have added the 'e' even in spite of the 6 character limit being argued over in the other answer. There really is no good reason for it to be truncated, unlike with umount." CreationDate="2011-03-22T02:50:40.997" UserId="138" />
  <row Id="12657" PostId="9857" Text="Now I set XDG_UTILS_DEBUG_LEVEL=100, the out put is: Runing file -i &quot;file name&quot; and then the mime type is &quot;application/octet-stream&quot; (unknown file type) but no error code is given." CreationDate="2011-03-22T02:55:50.890" UserId="5495" />
  <row Id="12658" PostId="9856" Text="My destop system is neither GNOME or KDE. The debug info &quot;Running file -i...&quot; and I found it run to info_generic():&#xA;{&#xA;    DEBUG 1 &quot;Running file -i \&quot;$1\&quot;&quot;&#xA;    /usr/bin/file -i &quot;$1&quot; 2&gt; /dev/null | cut -d &quot;:&quot; -f 2 | sed s/&quot;^ &quot;//&#xA;&#xA;    if [ $? -eq 0 ]; then&#xA;        exit_success&#xA;    else&#xA;        exit_failure_operation_failed&#xA;    fi&#xA;}" CreationDate="2011-03-22T03:33:27.957" UserId="5495" />
  <row Id="12659" PostId="9860" Text="I have un-installed vim. So, `apt-cache vim policy python python-dev` is giving error. Post updated." CreationDate="2011-03-22T05:29:15.097" UserId="236" />
  <row Id="12660" PostId="9859" Text="Sorry, that should have been `$ apt-cache policy vim python python-dev`. That's what happens when you try to type half asleep." CreationDate="2011-03-22T05:44:45.360" UserId="4671" />
  <row Id="12661" PostId="9860" Text="updated post with output for `apt-cache policy vim python python-dev`." CreationDate="2011-03-22T06:02:18.487" UserId="236" />
  <row Id="12662" PostId="9859" Text="Ok. Does what I suggest below work for you? As Frederik pointed out, in this case, it may be a simple matter of updating your sources. However, this is a common situation, so it is good to know how to resolve it generally." CreationDate="2011-03-22T06:05:32.447" UserId="4671" />
  <row Id="12663" PostId="9861" Text="I think you meant `apt-get install` instead of `apt-cache`." CreationDate="2011-03-22T06:47:55.537" UserId="236" />
  <row Id="12664" PostId="9859" Text="@Faheem I have installed python2.7 &amp; python2.7-dev for the meantime." CreationDate="2011-03-22T07:03:02.287" UserId="236" />
  <row Id="12665" PostId="9661" Text="@Faheem: I still don't get it to work. I connect to the remote server through ssh and when I connect back to it from my home through vpn screen ls prints what I pasted in the 1st comment" CreationDate="2011-03-22T07:15:11.727" UserId="5307" />
  <row Id="12666" PostId="389" Text="As for /tmp/, you can mount memory with tmpfs there nowadays. It might be faster, and also healthier for your harddrives. In any case, /tmp/ is not supposed to survive reboots." CreationDate="2011-03-22T07:17:44.877" UserId="4319" />
  <row Id="12667" PostId="9861" Text="i did, edited, thanks" CreationDate="2011-03-22T07:20:35.403" UserId="5685" />
  <row Id="12668" PostId="9661" Text="@simpatico: please post a minimal complete transcript of your ssh and/or vpn logins and screen sessions, including all commands you type." CreationDate="2011-03-22T07:45:16.987" UserId="4671" />
  <row Id="12669" PostId="9859" Text="This should be easy to fix using the information in the answers. python 2.7 is not the default python, and if you try to use it you will create new and unnecessary complications." CreationDate="2011-03-22T07:47:25.440" UserId="4671" />
  <row Id="12670" PostId="3406" Text="Why www though?" CreationDate="2011-03-22T07:55:31.577" UserId="1594" />
  <row Id="12671" PostId="9834" Text="I'm guessing by that time it was tradition to truncate letters if you could. " CreationDate="2011-03-22T08:00:46.990" UserId="4949" />
  <row Id="12672" PostId="9818" Text="@Gilles nm-applet is a pretty good solution for the moment. I will wait to configure completly awesome (I saw there is network indicator applets to). Thank you very much." CreationDate="2011-03-22T08:03:16.240" UserId="5938" />
  <row Id="12673" PostId="9870" Text="If X11 forwarding is fast enough (there are cases where it's not) it should be fine. The CLI is always more powerful so it's useful to not ignore it but this doesn't mean that GUIs are never useful :)" CreationDate="2011-03-22T08:26:49.527" UserId="5661" />
  <row Id="12674" PostId="9858" Text="Thank you both! It's not an error here and the error code is 0." CreationDate="2011-03-22T08:49:35.317" UserId="5495" />
  <row Id="12676" PostId="9872" Text="I concur that unless you're working over a fairly fast (low latency being slightly more important than bandwidth) link it's generally a better idea to use command-line tools if they're available." CreationDate="2011-03-22T08:52:00.893" UserId="4949" />
  <row Id="12677" PostId="9867" Text="Gnome?  KDE?  Any particular application?" CreationDate="2011-03-22T08:52:38.697" UserId="3169" />
  <row Id="12678" PostId="9753" Text="@mattdm: Indeed I ment the nouveau drivers. The project isn't dead but it's comparable to PHP6. It's not vaporware, but it takes longer and longer to finish, usually, because the project participants underestimated its complexity." CreationDate="2011-03-22T08:53:04.000" UserId="1290" />
  <row Id="12679" PostId="9867" Text="See http://superuser.com/questions/59418/how-to-type-special-characters-in-linux" CreationDate="2011-03-22T08:54:46.197" UserId="3169" />
  <row Id="12680" PostId="9753" Text="@mattdm: Drivers are indeed a factor when it comes to speed of acceleration. This is usually due to Kernel integration. Point being: The lag is linear. That means, that those benchmarks are pretty much 1:1 comparable to to benchmarks ran on Windows and Linux, **but** when comparing Windows against Linux, a difference will be visible, which almost always is in favor of Windows." CreationDate="2011-03-22T08:57:10.687" UserId="1290" />
  <row Id="12681" PostId="9788" Text="@Gilles: edited according to your tips. I'm all for correctness, but I find `whence README.txt` as unlikely as `whence &quot;file* wi?h we!rd name&quot;`. Just trying to show how easy it is to traverse `$PATH`." CreationDate="2011-03-22T08:58:37.113" UserId="5923" />
  <row Id="12682" PostId="9870" Text="But what kind of tasks do you want to fulfil on the server? Which tools do you want to use? It's important information for an answer. Say, you mentioned something called &quot;Windows Explorer&quot;; but there's probably no &quot;Windows Explorer&quot; on Ubuntu, so the solution suggesting running some X programs remotely won't fit." CreationDate="2011-03-22T09:11:29.270" UserId="4319" />
  <row Id="12683" PostId="9870" Text="There is no Explorer equivalent for Ubuntu? Seriously?" CreationDate="2011-03-22T09:22:25.773" UserId="1594" />
  <row Id="12684" PostId="9875" Text="He's asking about GUI tools, not a GUI editor for config files. [http://xkcd.com/378/] aside, Emacs isn't the answer for everything, and in this case you come across as wielding a hammer just looking for a way to describe the problem as a nail." CreationDate="2011-03-22T09:22:39.073" UserId="4949" />
  <row Id="12685" PostId="9870" Text="@imz - http://askubuntu.com/questions/23596/whats-the-equivalent-to-explorer-windows-or-open-mac" CreationDate="2011-03-22T09:23:08.520" UserId="1594" />
  <row Id="12686" PostId="9875" Text="@Shadur: (Me laughing.) He hasn't yet specified what kind of tools he needs. GUI Editor is also a GUI tool, isn't it? Or do you have a special understanding of what a &quot;tool&quot; is?" CreationDate="2011-03-22T09:26:54.920" UserId="4319" />
  <row Id="12687" PostId="9750" Text="@Shadur: The idea is, to deactivate root login alltogether. Of course, the `wheel` groups is supposed to be equal to root, to supply an elegant way of having more than one equal root admin." CreationDate="2011-03-22T09:27:41.413" UserId="1290" />
  <row Id="12688" PostId="9870" Text="There are about a dozen &quot;explorer equivalents&quot; depending on how you define the term - things like Nautilus or Kexplorer chief among them both in terms of desktop integration and feature bloat.  " CreationDate="2011-03-22T09:36:34.507" UserId="4949" />
  <row Id="12689" PostId="9870" Text="@ripper Just to be accurate, I haven't stated that there's no equivalent. I guess there're more than one equivalents;that's not really something to discuss, I hope most people believe there's an equivalent. I was simply looking for any indications of your specific tasks you need a tool for, and saw nothing more than the words &quot;Win Explorer&quot;.Then I thought that this is not a way to get good and specific answers: we--when answering--could either describe some general approaches to the &quot;work on a remote server&quot; problem (remote X clients, or TRAMP-like) or guess which Explorer's features you want." CreationDate="2011-03-22T09:38:33.380" UserId="4319" />
  <row Id="12690" PostId="9764" Text="(...) is working in my configuration on Privoxy 3.0.16. I've edited the regex in the answer to also match &quot;war.wikipedia.org&quot;, without using (...). This is a better solution, as matching with (...) will break &quot;www.wikipedia.org&quot;. You can extend this regex to match more subdomains by adding additional strings preceded by a pipe character: (..|war|another)" CreationDate="2011-03-22T10:03:16.137" UserId="1323" />
  <row Id="12691" PostId="9875" Text="@Shadur BTW, the point of my answer is to suggest a potential approach to a solution that would match his demands as precisely as possible, without us knowing exactly what tasks he wants to solve. My logic is: 1) he likes &quot;Windows Explorer&quot; 2) we don't know which features of &quot;Windows Explorer&quot; he likes because he hasn't specified this. ==&gt; So, if &quot;Windows Explorer&quot; had something like TRAMP, that would be a kind of ideal solution and answer: the features he likes are there, and it would work with his remote server." CreationDate="2011-03-22T10:04:51.663" UserId="4319" />
  <row Id="12692" PostId="9875" Text="Is my answer irrelevant for this question?.. :) No, I don't think so, because ripper234 is looking for ideas -- (s)he writes *&quot;Should I even do this, or should I stick to command line?&quot;* And that's a new idea: look for TRAMP-like solutions, too. That's similar to my personal experience: when I wondered about a convenient way to work on a remote server, a friend of mine said IIRC that he is happy to use TRAMP in Emacs; and I started considering this as an option, too." CreationDate="2011-03-22T10:17:41.507" UserId="4319" />
  <row Id="12693" PostId="9870" Score="1" Text="@imz - currently I'm interested in the general problem. I'm not experieniced with linux GUI apps at all, so I have no idea what I want right now... the first use that comes to mind is navigating folders in an Explorer like fashion, and perhaps editing." CreationDate="2011-03-22T10:23:04.763" UserId="1594" />
  <row Id="12694" PostId="9872" Score="1" Text="@Shadur - my latency isn't great event on the command line, perhaps I should not even attempt a UI tool because it will probably be too slow." CreationDate="2011-03-22T10:25:26.133" UserId="1594" />
  <row Id="12695" PostId="9861" Text="Why do you update with `aptitude` and then install with `apt-get`?" CreationDate="2011-03-22T10:59:24.967" UserId="688" />
  <row Id="12696" PostId="9645" Text="@Ahmedsafan: It's hard to parse your English, and you mentioning Windows makes it look like the problem is there as well. So, please split your sentences with commas `,` and periods `.` next time." CreationDate="2011-03-22T11:08:06.827" UserId="688" />
  <row Id="12697" PostId="9880" Score="1" Text="So, what is the error?" CreationDate="2011-03-22T11:08:09.673" UserId="250" />
  <row Id="12698" PostId="9645" Text="Try to reproduce, and when it happens again, paste here the last several lines of `/var/log/syslog`." CreationDate="2011-03-22T11:13:26.680" UserId="688" />
  <row Id="12699" PostId="9034" Text="@Mikel: True, but they require you doing something beforehand, or correctly the first time." CreationDate="2011-03-22T11:27:42.043" UserId="2511" />
  <row Id="12700" PostId="9867" Score="1" Text="*How do you **guy**...*?" CreationDate="2011-03-22T11:35:44.740" UserId="688" />
  <row Id="12701" PostId="9875" Score="1" Text="And I occasionally use the equivalent in gedit via the ssh/sftp backends for gnome-vfs. Again, &quot;a way to use a GUI editor to change config files on a remote system&quot; is a different question from &quot;using GUI administration frontends remotely&quot;" CreationDate="2011-03-22T11:45:39.263" UserId="4949" />
  <row Id="12702" PostId="9753" Text="@polemon: I hate to be argumentative, but Phoronix says &quot;Over time, we will ideally see Intel's Mesa performance close in on the Windows driver performance, but do not expect to see this in the near-term.&quot; This implies that the comparison can't be 1:1. (And if the difference is due to kernel integration, and different drivers interact with the kernel differently — see @jonescb's answer — that seems like another point of non-linearity with Windows results.)" CreationDate="2011-03-22T11:51:26.530" UserId="2511" />
  <row Id="12703" PostId="9764" Text="I didn't understand your last comment at first. Using three dots won't match two characters unless you make one of them optional: (...?). This will still break the www subdomain on Wikipedia though (and any other three character subdomains that don't fit the alternate HTTPS url pattern in use)." CreationDate="2011-03-22T11:51:41.863" UserId="1323" />
  <row Id="12704" PostId="9875" Text="@Shadur, but there has been no talk of some specialized &quot;administration frontends&quot;, which--I assume--would run only on the host system. It was merely about &quot;tools&quot;, and later clarified in a comment as &quot;navigating folders in an Explorer like fashion, and perhaps editing&quot;." CreationDate="2011-03-22T11:52:57.800" UserId="4319" />
  <row Id="12705" PostId="9880" Score="1" Text="phuhenehe is right; Please edit your question to clarify what the error is -- places like [http://pastebin.com] are useful in that regard if the error becomes too large, but until and unless we see the error message we can't really help much." CreationDate="2011-03-22T12:06:24.580" UserId="4949" />
  <row Id="12706" PostId="9880" Text="Ok, I will update it in 4h. I don't have access to the error right now. I was trying to understand if the environments of the SSH Terminal and the Crontab environment are not the same. " CreationDate="2011-03-22T12:19:31.730" UserId="5955" />
  <row Id="12707" PostId="9753" Text="@mattdm: First of all, it does not really depend on the card, but on the chip. Now, the &quot;lag&quot; of Linux drivers behind Windows drivers, is pretty much a constant coefficient. This coefficient will never switch the trend. If you find a benchmark on the Internet about graphics chips, make sure they use a rendering engine, that works on Linux too, such as OpenGL. They'll have results, a card will place 1st, 2nd, 3rd, ... You'd get the same results on Linux, but with lower absolute values. As Poronix said, this might change in time. But you need the card now, don't you?" CreationDate="2011-03-22T12:20:49.330" UserId="1290" />
  <row Id="12709" PostId="9753" Text="@polemon — again, I hate to be argumentative, but I'm genuinely confused by your answer here. Since driver performance can be a factor, and the architecture of the drivers is different, _and_ different from the architecture of the Windows drivers, I don't see how that translates to a 1:1 with Windows benchmarks: maybe, for example, the Nouveau drivers are way behind the open-source ATI drivers for a given set of cards where the Windows benchmarks show the Nvidia card winning handily." CreationDate="2011-03-22T12:39:12.960" UserId="2511" />
  <row Id="12710" PostId="9884" Score="2" Text="Use of PermitUserEnvironment will not be possible in some environments due to the potential security implications. SSH sets the $SSH_CONNECTION variable, which can be used in place of your $SSH_LOGIN in your .zlogin, obviating the need to use ~/.ssh/environment. Something like `if [[ &quot;$SSH_CONNECTION&quot; != &quot;&quot; ]]` should do it." CreationDate="2011-03-22T12:42:09.963" UserId="1323" />
  <row Id="12711" PostId="9882" Text="thanks! it works under bash/fedora, ok. but with openwrt...the shell is: &quot;ash&quot;/busybox.. it just gives an empty line, if i: http://pastebin.com/raw.php?i=J1kSv89F" CreationDate="2011-03-22T12:52:30.540" UserId="5664" />
  <row Id="12712" PostId="9828" Text="Yes, the address listed in the block that also lists your ESSID is your AP's MAC address. This isn't required, but it is good practice if you have only one AP." CreationDate="2011-03-22T12:56:40.730" UserId="1323" />
  <row Id="12713" PostId="9818" Text="You can also use wpa_supplicant, rather than using iwconfig directy - very handy for encrypted networks. If you do continue to use a manual method of any sort, be sure to stop Network Manager services to save yourself some grief." CreationDate="2011-03-22T13:02:40.833" UserId="1323" />
  <row Id="12714" PostId="9870" Text="@ripper234 yea, there's a windows explorer equiv. Ubuntu 10.10 is surprisingly gui-centric with all the *nix goodies." CreationDate="2011-03-22T13:17:42.127" UserId="5958" />
  <row Id="12715" PostId="9846" Text="It's a nice way, but litters /var/tmp with temporary files on my system. +1 anyway" CreationDate="2011-03-22T13:18:16.093" UserId="903" />
  <row Id="12716" PostId="9753" Text="@mattdm: Well, If you want to be specific to a driver, you just have to seek benchmarks per driver then. Speaking from experience, I've used the Catalyst drivers for ATI and the closed-source Nvidia drivers. With them, it seems like a constant coefficient, and performance under Linux is derivable from benchmarks done on Windows. If you want to be specific to a driver, you have no other way, than to seek for benchmarks done with that exact driver (or, drivers). I always did it the &quot;Torvalds way&quot;: *Use what makes sense*. For me that's the closed-source Nvidia drivers and an Nvidia card." CreationDate="2011-03-22T13:19:22.207" UserId="1290" />
  <row Id="12718" PostId="9830" Text="But how exactly do you set up users/passwords and such so multiple people can log in?" CreationDate="2011-03-22T13:41:50.537" UserId="4877" />
  <row Id="12719" PostId="9890" Text="Thx, I realized that I was overcomplicating it in my head :-) Your answer is awesome." CreationDate="2011-03-22T14:36:31.720" UserId="2671" />
  <row Id="12720" PostId="9892" Text="Note that if you've connected to the server via Places - Connect to server, you should be able to open a terminal in the folder from nautilus. Gnome uses samba behind the scenes, and mounts the share just as phunehehe suggests above" CreationDate="2011-03-22T15:31:17.853" UserId="4355" />
  <row Id="12721" PostId="278" Text="I especially like this combo: `tar -c files and folders/ |pv -cN in|lzop|pv -cN out|nc x.y.z.t 1234`" CreationDate="2011-03-22T15:54:32.980" UserId="5960" />
  <row Id="12722" PostId="9870" Score="1" Text="@ripper234: For navigating directories, check out mc." CreationDate="2011-03-22T16:14:14.087" UserId="4671" />
  <row Id="12723" PostId="9882" Text="@johnny8888 It looks like Busybox has a bug in their `tr` implementation. I added a workaround." CreationDate="2011-03-22T16:14:21.380" UserId="2180" />
  <row Id="12724" PostId="9875" Text="That downvote was uncalled for. And emacs *is* the answer to everything. And TRAMP is a fine piece of work. +1." CreationDate="2011-03-22T16:16:46.207" UserId="4671" />
  <row Id="12725" PostId="9893" Text="Perfect for OSX... thanks so much." CreationDate="2011-03-22T16:21:23.807" UserId="5286" />
  <row Id="12726" PostId="9900" Text="Not really a programming question, belongs on serverfault. That being said, did you add a default route for that new interface? Host unreachable suggests that you configured the interface properly, but didn't give it a proper gateway/network setup and the packets have nowhere to go." CreationDate="2011-03-21T18:55:35.830" />
  <row Id="12727" PostId="9900" Text="I didn't set any route. This is direct connection. Am I right? Also I made my default eth0 down. " CreationDate="2011-03-21T19:18:14.503" />
  <row Id="12728" PostId="9724" Text="If you want something that is compatible with Skype, so you can talk to people who use Skype then you're out of luck." CreationDate="2011-03-22T16:48:08.653" UserId="3447" />
  <row Id="12729" PostId="9880" Text="there are different config files for php running from apache or from the commandine, but i pretty sure crontab uses the latter. which again leaves me kinda baffled about what might be wrong. like Shadur pointed out, the specific error would help." CreationDate="2011-03-22T16:59:01.400" UserId="3041" />
  <row Id="12730" PostId="9812" Text="@fred.bear My bad, i really didn't know the actual hierarchy and my answer was guess. also your test actually stresses the metadata but not actual files as they are empty files.&#xA;&#xA;The best way to benchmark this kind of issue is to take files from /var or cache of web server. anyway your test too sounds intresting, can you try deleting with two listed methods in different directories..say like /sample1/1.txt,2.txt... and /sample2/1.txt,2.txt.." CreationDate="2011-03-22T17:07:41.813" UserId="5763" />
  <row Id="12731" PostId="9882" Text="i tried: http://pastebin.com/raw.php?i=Jnbxn0MX" CreationDate="2011-03-22T17:07:42.327" UserId="5664" />
  <row Id="12732" PostId="9899" Text="Have you tried `mv -f`?" CreationDate="2011-03-22T17:16:54.330" UserId="5661" />
  <row Id="12733" PostId="9850" Text="Grub legacy does not, and Grub 2 did not work if /boot was mounted on a LVM logical colume. Support was added fairly recently. It should not be difficult to dig up the particular reference. Ditto for software RAID, support for that has also been added recently to Grub 2." CreationDate="2011-03-22T17:27:25.803" UserId="4671" />
  <row Id="12734" PostId="389" Text="Grub2 now supports LVM. See my comment below." CreationDate="2011-03-22T17:28:12.447" UserId="4671" />
  <row Id="12735" PostId="9899" Text="Ofcourse......." CreationDate="2011-03-22T17:44:00.327" UserId="258" />
  <row Id="12736" PostId="9902" Text="Well, that's what I didn't want to do, because it will take a long time... Thanks anyway." CreationDate="2011-03-22T17:45:14.337" UserId="258" />
  <row Id="12737" PostId="9812" Text="@Mr.Confused.A.Lot... Thanks for you help. Your explanation helped me understand more about the filesystem and some of its mannerisms...   I have now got a reasonable sense of what was causing the different speed issues... some were just choice of bash commands, and others were simply filesystem issues (I'm left with a new motto: &quot;big is bad&quot; for directories...  (for some actions, at least)... " CreationDate="2011-03-22T18:20:11.873" UserId="2343" />
  <row Id="12738" PostId="9905" Text="By physical device, what do you mean? A volume group can correspond to multiple disks or partitions. Do you want them all?" CreationDate="2011-03-22T19:13:37.240" UserId="4671" />
  <row Id="12739" PostId="9798" Text="Your 2 tests start in unequal conditions (I don't pretend this is important indeed): one reads the filenames from a file, and the other reads the filenames from a file that has been created (sorted) immediately before the test. It might be that the file being cached in the 2nd case plays some (or maybe not, who knows). For the tests to be in more equal conditions, perhaps you should do a simple `cat` to a fresh file before the 1st test--in place of `sort` before the 2nd test." CreationDate="2011-03-22T19:16:44.350" UserId="4319" />
  <row Id="12740" PostId="9905" Text="I guess it was poorly-worded, but yes, all of them. Your answer was what I needed - thanks!" CreationDate="2011-03-22T19:22:37.933" UserId="5965" />
  <row Id="12741" PostId="9798" Text="And I recommend you to present your observations and your question in a more clear fashion. Please, one thing at a time: compare just 2 cases in one question, bring the two important cases to the forground, all other is just background information; please make this clear. **Don't mix several observations in one posting, please.**" CreationDate="2011-03-22T19:22:44.843" UserId="4319" />
  <row Id="12742" PostId="9906" Text="great! this is what i needed. thanks!" CreationDate="2011-03-22T19:23:07.683" UserId="5965" />
  <row Id="12743" PostId="9798" Text="Presenting **system and user-space time** from your might also be important for solving the puzzle, so please include them in your question. Which of them makes the big difference in your tests?" CreationDate="2011-03-22T19:23:28.230" UserId="4319" />
  <row Id="12746" PostId="9755" Text="Is xz or pxz compatible with 7zip?  My target audience is windows users and I hope to achieve compatibility with decent compression." CreationDate="2011-03-22T20:05:08.663" UserId="4874" />
  <row Id="12748" PostId="9906" Score="1" Text="@swasheck: In addition to `pvdisplay` showing a lot of information, there is `pvs` with compact output. Similarly there are `vgdisplay` and `vgs` for volume groups and `lvdisplay` and `lvs` for logical volumes." CreationDate="2011-03-22T20:29:45.833" UserId="885" />
  <row Id="12749" PostId="9902" Text="Presumably `mv` is faster because you're on the same filesystem? What if you use `cp -l` to create hardlinks rather than actually moving the files?" CreationDate="2011-03-22T20:32:23.267" UserId="2511" />
  <row Id="12750" PostId="9906" Text="@Gilles: yes, pvs is better for this question." CreationDate="2011-03-22T20:37:15.827" UserId="4671" />
  <row Id="12751" PostId="9882" Score="2" Text="I see the same bug on my router. But `tr -cd '\011\012 -~'` works." CreationDate="2011-03-22T20:47:35.260" UserId="885" />
  <row Id="12752" PostId="9881" Score="2" Text="You only have to hold down `ctrl+shift` while typing the `u`.  After that you can let go of `ctrl` and `shift` and type `201c` followed by a space." CreationDate="2011-03-22T21:06:45.083" UserId="4196" />
  <row Id="12753" PostId="9904" Text="Specifically, it's between &quot;Support for hot-pluggable CPUs&quot; and &quot;Built-in kernel command line&quot; on a non-hardened source (2.6.36-gentoo-r5)" CreationDate="2011-03-22T21:11:02.490" UserId="73" />
  <row Id="12754" PostId="9755" Text="That depends on the archiving program that the user uses. In case you want to distribute files, that are for users that potentially don't have any archiving programs, I'd consider using SFX. `7z` can do that. `xz` uses the same compression algorithm, things like peazip can handle `.xz` files." CreationDate="2011-03-22T21:30:56.347" UserId="1290" />
  <row Id="12755" PostId="9797" Text="This is wrong. `/dev/sda2` is a partition on a disk. If the filesystem was directly on that partition, `df` would show it." CreationDate="2011-03-22T21:37:35.090" UserId="885" />
  <row Id="12756" PostId="9887" Text="@johnny8888: Please make a bit more effort formatting your posts. This one was barely readable." CreationDate="2011-03-22T22:19:54.757" UserId="885" />
  <row Id="12757" PostId="9881" Text="@Wodin: The documentation says you have to keep holding it until the end of the numbers, but you're right, it seems to work if you let go after typing the `u`." CreationDate="2011-03-22T22:20:58.687" UserId="3169" />
  <row Id="12758" PostId="9635" Text="@macias: If you've found an answer, please post it as such, and give enough information for other people who might be interested. (It's perfectly fine to answer your own question if you found the answer elsewhere or by yourself; you can even mark your answer as accepted if you like.)" CreationDate="2011-03-22T22:22:21.433" UserId="885" />
  <row Id="12759" PostId="9915" Text="I don't agree with adding &quot;CheckHostIP No&quot; to his config. He *really* doesn't want to even attempt to authenticate to a host if the keys of the SSH server he's connecting to doesn't match. If he sees a warning, he should abort the login attempt right away!" CreationDate="2011-03-22T22:24:02.427" UserId="2844" />
  <row Id="12760" PostId="9915" Score="1" Text="@Yves: No, I maintain that in this case `CheckHostIP No` improves security. As you can see, the asker is now simply ignoring the warning. It would be better to reduce the number of spurious warnings. Ssh will check the key associated with the host name anyway, so the additional IP check is not useful." CreationDate="2011-03-22T22:30:07.537" UserId="885" />
  <row Id="12761" PostId="9916" Score="1" Text="Openwrt does support immediate dyndns updates (at least my variant does). The problem is the delay in DNS propagation, and that's imposed by the dyndns provider (and even if the dyndns provider was willing to accept a ridiculously low TTL, DNS caches in the way might not)." CreationDate="2011-03-22T22:31:36.133" UserId="885" />
  <row Id="12762" PostId="9921" Score="1" Text="Er?  `sort -u` goes back to V7 at least." CreationDate="2011-03-22T22:46:10.747" UserId="5325" />
  <row Id="12763" PostId="9921" Text="Hum... I thought I remembered Solaris or AIX not having that. I'm wrong though, they both have it." CreationDate="2011-03-22T22:50:31.553" UserId="5842" />
  <row Id="12764" PostId="9920" Text="rsync copies. This question is about moving." CreationDate="2011-03-22T22:51:09.773" UserId="885" />
  <row Id="12765" PostId="9921" Text="Solaris and AIX have `-u` but also have a 512-character line length restriction.  (Actually, I think somewhere around Solaris 9 Sun upped it to 5120.  GNU still wins, though.)" CreationDate="2011-03-22T22:52:15.290" UserId="5325" />
  <row Id="12766" PostId="9920" Text="@Gilles: Thanks.  I added `rm -r` at the end to make it basically the same as `mv`." CreationDate="2011-03-22T22:53:22.483" UserId="3169" />
  <row Id="12767" PostId="9920" Text="@Mikel: copy-then-delete isn't equivalent to mv when the source and destination are on the same filesystem. `mv` is atomic, preserves inode numbers (so the file can remain open), and doesn't take time and space making a copy." CreationDate="2011-03-22T23:08:42.160" UserId="885" />
  <row Id="12768" PostId="9645" Text="@Ahmedsafan If it's happening on both Windows and Ubuntu, it's probably a problem with your network equipment (router) or with your Internet provider." CreationDate="2011-03-22T23:09:58.070" UserId="885" />
  <row Id="12769" PostId="7943" Score="1" Text="Video of Xorg developer Keith Packard on the future of Linux graphics at linux.conf.au in Jan. 2011: http://linuxconfau.blip.tv/file/4693305/ This covers both the current model and the plans for the near and medium future." CreationDate="2011-03-22T23:10:03.077" UserId="2511" />
  <row Id="12770" PostId="9920" Score="1" Text="@Gilles: I realize that, but currently the leading answer is `cp -r; rm -r`.  I think in that sense, `rsync` is worth mentioning too." CreationDate="2011-03-22T23:21:05.113" UserId="3169" />
  <row Id="12771" PostId="9874" Text="There are two different MIME databases. `file` uses the unix traditional `/etc/magic` (and other `…/magic`). [`xdg-mime`](http://portland.freedesktop.org/xdg-utils-1.0/xdg-mime.html) uses the [Freedesktop](http://www.freedesktop.org/) database (when it's available)." CreationDate="2011-03-23T00:22:50.237" UserId="885" />
  <row Id="12772" PostId="9850" Text="@Faheem M.: So.... are you saying it doesn't work for you, or mainly that I must be remembering the timeframe badly? A very quick google turned up [this entry posted on November 20th, 2006](http://www.sannes.org/?p=4) so I'm going to bet I was right with my timeframe." CreationDate="2011-03-23T00:33:38.490" UserId="5946" />
  <row Id="12773" PostId="9846" Text="@eugene: that's funny. What system (distro/OS) is that on?" CreationDate="2011-03-23T00:41:25.597" UserId="5946" />
  <row Id="12774" PostId="9845" Text="Yup sorry for not being more explicit on the idea of keeping dirs small" CreationDate="2011-03-23T00:42:41.553" UserId="5946" />
  <row Id="12775" PostId="9926" Text="See the answer for this [related question](http://unix.stackexchange.com/questions/1542/redirect-output-of-a-running-program-to-dev-null/1543#1543)." CreationDate="2011-03-23T01:33:18.310" UserId="250" />
  <row Id="12776" PostId="9919" Text="No, it doesn't work for me. I've set the Compose key to the right Alt, but either holding it or tapping it won't make &lt;&quot; to “" CreationDate="2011-03-23T01:42:11.723" UserId="5103" />
  <row Id="12778" PostId="9798" Text="@imz  *System and user-space time* are shown in the test scripts (as I have mentioned above)  at http://paste.ubuntu.com/583908/... Regarding limiting the number of test results, some people may find the full range of tests useful." CreationDate="2011-03-23T02:06:05.650" UserId="2343" />
  <row Id="12779" PostId="9923" Score="1" Text="@Gilles: how about `awk '!seen[$0]++ {print}'`?" CreationDate="2011-03-23T03:26:53.453" UserId="3519" />
  <row Id="12780" PostId="9921" Text="@geekosaur: are you sure?  The work done to remove the 512-byte limit on line length in sort was documented in 'Theory and Practice in the Construction of a Working Sort Routine' by J P Linderman, Bell System Technical. Journal, 63, 1827- 1843 (1984)." CreationDate="2011-03-23T03:32:03.243" UserId="5131" />
  <row Id="12781" PostId="9545" Text="@Alex: **mail** has a **$HOME** it's /var/spool/mail. So I tried @Ignacio's suggestion to put an ssh key but it's not being accepted by the server." CreationDate="2011-03-23T04:07:34.447" UserId="3913" />
  <row Id="12782" PostId="9544" Text="thanks for the reminder @mattdm" CreationDate="2011-03-23T04:08:51.497" UserId="3913" />
  <row Id="12784" PostId="9798" Text="@imz: Regarding the feeder-file caching issue. In most cases I did create a new file each time, and I didn't see any notable difference when I reused it. I also created the 1 million files *each and every time*; in a differently named directory (after removing all files from the previous dir, and removing the previous dir)...  Here are the times to just **read** the freshly created feeder files: *'names.rm1000filesPerCall'* = 2 sec .. *'names.onePerLine'* = 35 sec .. The important issue is that they were constant..(being different is irrelevant, because they were each part of different tests)." CreationDate="2011-03-23T04:43:06.750" UserId="2343" />
  <row Id="12785" PostId="9904" Text="@Mr.Confused.A.Lot d'oh~ &gt;.&lt; ... I knew I was having a stupid moment there when the answer is staring at me right in my eye (i.e., &quot;hardened&quot;). as to your question, I prefer using the Gentoo-blessed kernels ;)" CreationDate="2011-03-23T04:49:17.430" UserId="5589" />
  <row Id="12786" PostId="9904" Text="@Michael thanks. I should've first checked what options &quot;hardened&quot; left out. /me = having st00pid n00b moments" CreationDate="2011-03-23T04:50:04.840" UserId="5589" />
  <row Id="12787" PostId="9635" Text="@Gilles, ok, but I keep your answer as the answer, just to prevent possible accusation I did it for points. Besides, you help was very valuable for me." CreationDate="2011-03-23T06:25:24.260" UserId="5884" />
  <row Id="12788" PostId="9798" Text="Premature optimization is the root of all evil. :) When will you ever delete 10 Million files? 100 000 per second seems fast enough to me (to ruin your system)." CreationDate="2011-03-23T06:29:06.707" UserId="4485" />
  <row Id="12789" PostId="9931" Text="got the answer...I can use rsh and modify .rhosts file on remote machine to include source machine ip and username for passwordless connection." CreationDate="2011-03-23T06:55:53.563" UserId="5971" />
  <row Id="12790" PostId="4872" Text="Note that on OS X, you'll need to put the `put -o vi` in ~/.bash_profile instead of ~/.bashrc ." CreationDate="2011-03-23T07:24:15.293" UserId="5974" />
  <row Id="12791" PostId="4872" Text="I notice that the cursor appearance doesn't change in the different modes bash w/ vi key bindings.  Is there any way to make it do that?  It would be nice to have a visual indication of what mode I'm in." CreationDate="2011-03-23T07:27:31.330" UserId="5974" />
  <row Id="12792" PostId="9635" Text="@macias: You don't get points for accepting your own answer anyway. (You do get points for the votes on your own answer, which is fair since you did the work.) The most important thing is to have the information clearly presented. There are now two answers to this question, one with xmodmap and one with xkb, and the page would read clearer if they were both posted as answers." CreationDate="2011-03-23T08:00:53.443" UserId="885" />
  <row Id="12793" PostId="9846" Text="@sehe It's FreeBSD 8. How to reproduce: put `readarray` in a function and call the function a few times." CreationDate="2011-03-23T08:16:50.503" UserId="903" />
  <row Id="12794" PostId="9732" Text="It's your answer, not mine.  Just saying that your answer, as written, isn't a good solution." CreationDate="2011-03-23T08:46:42.827" UserId="5906" />
  <row Id="12795" PostId="9931" Score="1" Text="A sysadmin who cares about security shouldn't allow the &quot;r&quot; commands. They are completely insecure. There's an excellent chance that as soon as they discover you doing this, they will be upset with you. I recommend that you seek out an alternate solution." CreationDate="2011-03-23T08:54:40.410" UserId="138" />
  <row Id="12796" PostId="9935" Text="Could you perhaps elaborate on the reason(s) behind this question?" CreationDate="2011-03-23T09:00:28.920" UserId="4671" />
  <row Id="12797" PostId="9890" Text="That is a great answer!" CreationDate="2011-03-23T09:03:40.760" UserId="542" />
  <row Id="12798" PostId="9349" Text="@Fatheem, thanks for the input, but acl shouldn't be a problem (I guess). getfacl doesn't show anything strange: no default permissions, just the same that chmod shows (user rwx, group r-x, other r-x). Also, there is no entry with extended attributes (the usual &quot;+&quot; sign in a &quot;ls -l&quot;). Any other idea?" CreationDate="2011-03-23T09:13:27.480" UserId="3686" />
  <row Id="12799" PostId="9798" Text="I haven't said that the other test results are not useful. I asked to indicate in your text clearly the main question, and not mix it with other notes, which could be moved to a &quot;background/additional info&quot; section. Then your question would become better understandable." CreationDate="2011-03-23T09:16:42.720" UserId="4319" />
  <row Id="12800" PostId="9910" Text="The reason I'm not using `ssh example.com -t 'tmux attach'` isn't because it has problems loading my environment but because I've had issues with UTF-8 character display; this issue doesn't exist when connecting in the conventional manner. This is why this question is about running scripts immediately after connecting over SSH." CreationDate="2011-03-23T09:17:33.357" UserId="4821" />
  <row Id="12801" PostId="5975" Text="Sorry for replying so late, @Steven. I've just discovered StackExchange's inbox function O:-) I don't remember the errors exactly, but IIRC the 2.2 version said that the input format was not supported, and the 1.6 version said nothing but didn't work." CreationDate="2011-03-23T09:17:54.293" UserId="3686" />
  <row Id="12802" PostId="7943" Text="http://arstechnica.com/open-source/guides/2011/03/the-linux-graphics-stack-from-x-to-wayland.ars is also a recent article going over the stack, and praising Ubuntu's commitment to Wyland." CreationDate="2011-03-23T09:20:33.573" UserId="4812" />
  <row Id="12803" PostId="7943" Text="@apoorv020 — yes, although that article is full of missing pieces and even inaccuracies and isn't, in my judgment, terribly coherent. " CreationDate="2011-03-23T09:24:27.023" UserId="2511" />
  <row Id="12804" PostId="9936" Text="How would you identify which commit / line went into which version of the software? Also, Savannah search is badly [broken](http://git.savannah.gnu.org/cgit/coreutils.git/log/?qt=grep&amp;q=cp+no-dereference) - No results for strings which are obviously in the same log messages." CreationDate="2011-03-23T09:26:23.807" UserId="3645" />
  <row Id="12805" PostId="9938" Text="Do you have a reference to the coreutils change log? The newest I could find was from 2007." CreationDate="2011-03-23T09:37:11.523" UserId="3645" />
  <row Id="12806" PostId="9938" Score="1" Text="GNU Coreutils ChangeLog has not been updated since 2007.  http://cvs.savannah.gnu.org/viewvc/coreutils/ChangeLog?root=coreutils&amp;view=markup  You have to look at the git logs now." CreationDate="2011-03-23T09:43:14.500" UserId="3169" />
  <row Id="12807" PostId="9925" Text="As mentioned in my question, I'm using tmux rather than GNU screen to manage my sessions. And when loaded with `-t 'tmux attach'` I have issues with vim that aren't present normally. This is why the real question is about running scripts on ssh connect rather than screen/session management. Apologies for not being clearer in my question" CreationDate="2011-03-23T09:44:48.683" UserId="4821" />
  <row Id="12808" PostId="7943" Text="@mattdm - Even if it is incoherent etc., it goes into the bigger picture of the topic, which is not touched upon directly in the answers below." CreationDate="2011-03-23T09:48:13.503" UserId="4812" />
  <row Id="12809" PostId="9925" Text="So sorry, you mentioned tmux but it didn't mean anything to me. Thanks for mentioning a new tool though!" CreationDate="2011-03-23T09:49:43.253" UserId="5946" />
  <row Id="12810" PostId="9910" Text="I love your solution though. Elegant" CreationDate="2011-03-23T09:49:52.737" UserId="4821" />
  <row Id="12811" PostId="9880" Text="If you are on Debian and updated to v. 6, the default shell changed from bash to dash. Perhaps you use bash at the login shell but the cron uses dash." CreationDate="2011-03-23T09:57:24.690" UserId="1501" />
  <row Id="12812" PostId="9920" Text="I already did it with cp/rm (it was urgent). It really took a long time. Gilles script would probably have been a lot quicker, but he was too late too." CreationDate="2011-03-23T10:09:39.340" UserId="258" />
  <row Id="12813" PostId="9938" Score="2" Text="It may be auto-generated from the git logs. There's a `ChangeLog.bz2` in `/usr/share/doc/coreutils-8.10` on my Fedora system, and the top entry is from `2011-02-04`. Possible also that this is a RH fork — I'll check into that later today." CreationDate="2011-03-23T10:19:02.610" UserId="2511" />
  <row Id="12814" PostId="9938" Text="@mattdm: There's /usr/share/doc/coreutils/changelog.gz on Ubuntu - Thanks! Unfortunately it only goes back to 2008, which is too recent for some of the relevant tools. I guess it takes over where the last one ended, though." CreationDate="2011-03-23T10:24:36.197" UserId="3645" />
  <row Id="12815" PostId="9937" Text="sorry for the typo..it is cp ~user/Test.txt ~grp/ stupid mistake....but by grp I mean a group id(teamid) used by several people. It has no relation to individual userid." CreationDate="2011-03-23T11:29:39.373" UserId="5971" />
  <row Id="12816" PostId="9941" Score="3" Text="I'll save this solution for last if there turns out to be absolutely no other way; I *really* don't like cluttering `/etc/hosts` with IP addresses I don't own myself." CreationDate="2011-03-23T11:34:40.663" UserId="4949" />
  <row Id="12817" PostId="9940" Text="Shouldn't that return immediately with a routing failure?" CreationDate="2011-03-23T11:46:58.973" UserId="4776" />
  <row Id="12818" PostId="9938" Text="@Mikel, @mattdm, yes the ChangeLog is automatically generated from git log messages since the switch to git, thus it will not bring anything more useful then git log." CreationDate="2011-03-23T11:51:04.820" UserId="3963" />
  <row Id="12819" PostId="9936" Text="Use [git-describe](http://www.kernel.org/pub/software/scm/git/docs/git-describe.html) to find out tag is the closest to a specific commmit. Tags are used for version numbers mostly. As for Savannah being broken, you can't do much about it. Git clone the repository to your box and work your way using the git commands i described in the post." CreationDate="2011-03-23T11:56:53.177" UserId="3963" />
  <row Id="12820" PostId="9938" Score="2" Text="Here is the proof: http://git.savannah.gnu.org/cgit/coreutils.git/tree/HACKING&#xA;&#xA;Scroll to line 131." CreationDate="2011-03-23T12:00:17.967" UserId="3963" />
  <row Id="12821" PostId="9946" Text="What if you don't have an initrd like LFS (linuxfromscratch.org)?" CreationDate="2011-03-23T12:38:20.810" UserId="4856" />
  <row Id="12822" PostId="9942" Text="I believ that Ctrl-Alt-Delete is handled by init so it may not work even if the kernel still does. OTOH AFAIR the kernel does not wait for SysRq keys after a panic." CreationDate="2011-03-23T12:40:56.923" UserId="5960" />
  <row Id="12823" PostId="9941" Text="@Shadur Yes, I can totally see your point :)" CreationDate="2011-03-23T12:49:07.077" UserId="2179" />
  <row Id="12824" PostId="9946" Text="@Mr. Shickadance: Not having looked into how LFS does things, I would guess that they make sure the kernel has all necessary modules compiled into it (or loaded via GRUB 2, which possibility is new enough that not many distributions have noticed it yet) so it can start on the actual root partition." CreationDate="2011-03-23T12:55:03.050" UserId="5325" />
  <row Id="12825" PostId="9948" Text="Grub most definitely does have the ability to 'mount' a filesystem, especially in grub2. Of course, all it's capable of /doing/ with it is look for bootable kernels of one stripe or another, but that's still mounting. Also, linux doesn't *require* an initrd unless your kernel compiled drivers crucial to your hard drive as modules." CreationDate="2011-03-23T12:55:24.837" UserId="4949" />
  <row Id="12826" PostId="9948" Score="4" Text="http://www.ibm.com/developerworks/linux/library/l-linuxboot/ This is a fairly concise summary of what the Linux Kernel does when booting." CreationDate="2011-03-23T12:58:36.333" UserId="3976" />
  <row Id="12827" PostId="9948" Score="2" Text="@Shadur, from the **mount** manpage: _All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree._  -  Since filesystems used by GRUB aren't attached to the file hierarchy, it's NOT _mounting_." CreationDate="2011-03-23T13:02:36.593" UserId="5785" />
  <row Id="12828" PostId="9942" Score="1" Text="That's possible. To distinguish the cases, put `ctrlaltdel hard` in your `/etc/rc.local` file. When the system locks up, try Ctrl-Alt-Del. If it still does nothing, you know for sure that the kernel is no longer running; you have a hardware or driver failure." CreationDate="2011-03-23T13:04:46.440" UserId="138" />
  <row Id="12829" PostId="9942" Score="1" Text="I've had kernels respond to Magic SysRq keys even though it was panicked.  Proper setup of the kdump service should ensure that a completely wedged system boots into the kdump kernel, so it should eventually be back." CreationDate="2011-03-23T13:05:24.703" UserId="3976" />
  <row Id="12830" PostId="9948" Score="1" Text="@Shadur, BTW: It's obvious that initrd isn't necessary since it's just another root filesystem, but it's generally used as small boot-time root, since kernel loads the necessary to boot, then boots, and finally loads everything else." CreationDate="2011-03-23T13:10:45.947" UserId="5785" />
  <row Id="12831" PostId="9948" Text="@d4rio They're mounted by GRUB, not linux -- it gets easier to comprehend when you regard grub as a microkernel OS of its own rather than just a bootloader. " CreationDate="2011-03-23T13:21:59.760" UserId="4949" />
  <row Id="12832" PostId="9942" Score="1" Text="After a quick poke through the kernel keyboard handling code, it looks to me like Ctrl-Alt-Del and magic SysRq are handled at the same level: if one works, the other will. The init(1)/SIGINT issue is separate, and is dealt with by setting the Ctrl-Alt-Del handling to do a hard reboot, as mentioned in my other comment." CreationDate="2011-03-23T13:22:05.163" UserId="138" />
  <row Id="12833" PostId="9918" Text="What do you mean by &quot;better&quot;?" CreationDate="2011-03-23T13:31:39.663" UserId="298" />
  <row Id="12835" PostId="9918" Text="@gabe Not requiring the entire file to be stored in memory for example." CreationDate="2011-03-23T13:46:53.620" UserId="2671" />
  <row Id="12836" PostId="9940" Text="No, it's entirely possible that their internal network has routing between multiple subnets (and hosts have an IPv6 default gateway) but no IPv6 connectivity to the outside world." CreationDate="2011-03-23T13:51:37.033" UserId="5930" />
  <row Id="12837" PostId="9948" Text="@Shadur, the main difference is that GRUB isn't a microkernel OS, it's just a bootloader.&#xA;&#xA;The process of **mounting** in Linux is part of the kernel, you can find it in sys_mount() in fs/namespace.c and fs/super.c. They're used by GRUB but then mounted by the Kernel, since it's NOT started when GRUB reads menu.lst, and it needs to boot before filling it's mounted partition tables, registered filesystem types, etc, etc, etc..." CreationDate="2011-03-23T14:00:28.430" UserId="5785" />
  <row Id="12838" PostId="9948" Text="@jsbillings: Nice link!" CreationDate="2011-03-23T14:19:20.897" UserId="5785" />
  <row Id="12839" PostId="9955" Text="@jsbillings.. Okay, that explains the two last snippets, but it doesn't explain the first, where the value of $x set in the loop, is carried on as **55** (beyond the scope of the 'while' loop)" CreationDate="2011-03-23T14:39:13.890" UserId="2343" />
  <row Id="12840" PostId="9955" Score="4" Text="@fred.bear: It's running the `while` loop as the tail end of a pipeline that throws it into a subshell." CreationDate="2011-03-23T14:44:36.323" UserId="5325" />
  <row Id="12842" PostId="9955" Text="Thanks geekosaur... so it seems it is not *specifically* the while loop that's the cause, but rather, the pipline itself... That seems to makes sense now... That then suggests that &lt;junk does not involve a pipeline (which, until now, I thought did)...  I'll continue reading sbillings' stackoverlow reference link... " CreationDate="2011-03-23T14:51:16.343" UserId="2343" />
  <row Id="12843" PostId="9956" Text="Thank you. Excellently answered." CreationDate="2011-03-23T15:00:51.313" UserId="2469" />
  <row Id="12844" PostId="9955" Score="1" Text="This is where bash process substitution comes into play.  Instead of `blah|blah|while read ...`, you can have `while read ...; done &lt; &lt;(blah|blah)`" CreationDate="2011-03-23T15:01:21.027" UserId="4667" />
  <row Id="12845" PostId="9955" Text="@glenn jackman; okay, &quot;process substitution&quot;... This issue is connecting a few more dots for me... another corner of the overall bash picture is coming into focus... thanks" CreationDate="2011-03-23T15:10:33.177" UserId="2343" />
  <row Id="12846" PostId="9959" Text="The idea is for my application to know not to color the output if the program can't print, say, logging output from through a cron job to a file, no need to log colored output, but when running manually, i like to view the output colored." CreationDate="2011-03-23T15:28:28.637" UserId="5980" />
  <row Id="12847" PostId="9951" Text="@pepoluan thanks for the answer, I had already done the masquerade, and forwarding steps, and dhcpcd had alreay added the route as you said so now I am testing the forward on eth0, thanks." CreationDate="2011-03-23T15:30:27.977" UserId="5977" />
  <row Id="12848" PostId="9955" Score="1" Text="@geekosaur: thanks for filling in the details that I neglected to include in my answer.  " CreationDate="2011-03-23T15:31:36.310" UserId="3976" />
  <row Id="12849" PostId="9949" Text="Your question is a bit unclear.  Are you asking how to load an executable from the raw flash after the kernel has booted, or how to boot the kernel from the raw flash?" CreationDate="2011-03-23T15:34:36.900" UserId="3389" />
  <row Id="12850" PostId="9850" Text="@sehe: I asked on #grub when LVM support was added to Grub 2, and Colin Watson replied &quot;October 2006&quot;, and added &quot;(that isn't to say that it would have worked for everyone at that point; for example, GRUB only learned how to skip LVM snapshots in July 2010)&quot;. I guess that my perception was influenced by trying to get a Grub2 + LVM setup working in Jan 2011, and Grub2 was broken for me. I finally settled on 1.99~20110112-1 (Debian) as the first version that worked for me. As Colin commented, &quot;something not working doesn't mean that there's no code to support it&quot;." CreationDate="2011-03-23T15:55:13.373" UserId="4671" />
  <row Id="12851" PostId="9438" Text="@jamespo `$ cat /etc/resolv.conf&#xA;nameserver 192.168.1.131&#xA;nameserver 208.67.222.222&#xA;nameserver 208.67.220.220&#xA;nameserver 192.168.1.130&#xA;nameserver 218.248.240.23&#xA;nameserver 218.248.240.134&#xA;nameserver 218.248.240.208&#xA;nameserver 218.248.240.135`&#xA;" CreationDate="2011-03-23T15:58:38.050" UserId="4815" />
  <row Id="12852" PostId="9438" Text="@jamespo `farhat@farhat:~/Dropbox/projects/huhida$ cat /etc/nsswitch.conf&#xA;# /etc/nsswitch.conf&#xA;#&#xA;# If you have the 'glibc-doc-reference' and 'info' packages installed, try:&#xA;# 'info libc &quot;Name Service Switch&quot;' for information about this file.&#xA;&#xA;passwd:         compat&#xA;group:          compat&#xA;shadow:         compat&#xA;&#xA;hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4&#xA;networks:       files&#xA;&#xA;protocols:      db files&#xA;services:       db files&#xA;ethers:         db files&#xA;rpc:            db files&#xA;&#xA;netgroup:       nis`" CreationDate="2011-03-23T16:02:25.133" UserId="4815" />
  <row Id="12853" PostId="9448" Text="That sounds understandable. How can I change this behavior for command line programs? I'd rather not run firefox when I need wget." CreationDate="2011-03-23T16:04:34.973" UserId="4815" />
  <row Id="12854" PostId="7528" Text="Wow. That's a very strange bug to run into. " CreationDate="2011-03-23T16:12:29.727" UserId="4815" />
  <row Id="12855" PostId="9448" Text="Not at all. You have to understand how a HTTP proxy works. It is a service like every other service in the internet, too. And your software has to be programmed (and configured) to use a proxy. In addition, a proxy never returns an IP for a DNS name, it just fetches the pages on your behalve, and then deliveres them to your browser. However, if you just want to use wget: It supports HTTP proxies. See the wget manpage. Set the *_proxy env variables, and eventually provice proxy username and password with the --proxy-user and --proxy-passwd cmdline parameters. " CreationDate="2011-03-23T16:17:10.447" UserId="2466" />
  <row Id="12856" PostId="9967" Text="+1 I hadn't run across tee before.  Thanks!" CreationDate="2011-03-23T16:18:55.913" UserId="2688" />
  <row Id="12857" PostId="9908" Score="1" Text="Yes, I know how to cut videos using Kino or something like that. The question is really about playlists, not about making new videos. Making such playlists would be very fast, flexible and consuming no additional disk space." CreationDate="2011-03-23T16:19:28.767" UserId="5289" />
  <row Id="12858" PostId="9349" Text="Did you do 'ls -ld .' and there was no + in the permissions. As it is the permission of the directory that matters. Sorry to state the obvius but ... (my guesses where umask, acl, file-system. The chmod experiment ruled out file-system, you initially ruled out umask.)" CreationDate="2011-03-23T16:31:27.977" UserId="4778" />
  <row Id="12859" PostId="9913" Text="@jpc Thanks, however, using command line, I think using mplayers -ss and -endpos + my emacs macros is the better way to go (see my additions to the original post). What I really want is a nice GUI." CreationDate="2011-03-23T16:33:21.160" UserId="5289" />
  <row Id="12860" PostId="9971" Text="What do you mean by age?" CreationDate="2011-03-23T16:43:36.890" UserId="2671" />
  <row Id="12861" PostId="9971" Text="@Let: The time since it was set up." CreationDate="2011-03-23T16:48:36.683" UserId="4518" />
  <row Id="12862" PostId="9971" Text="@Tim There is no way to determine that. You could estimate by searching for the oldest files." CreationDate="2011-03-23T16:51:27.757" UserId="2671" />
  <row Id="12863" PostId="9971" Text="@Let: I was expecting an answer along the lines of &quot;check the timestamp of /some/oscure/file, it is never modified&quot;. Please make that an answer." CreationDate="2011-03-23T16:53:59.283" UserId="4518" />
  <row Id="12864" PostId="9967" Text="to @David Oneill On linux you can also do `make | tee /dev/stderr | filter &gt; filtered-log` this does the opposite. But /dev/stderr, /dev/stdout, /dev/stdin, /dev/fd/* is not available on all systems." CreationDate="2011-03-23T17:12:51.123" UserId="4778" />
  <row Id="12865" PostId="9971" Text="I'd say look at the creation date of `/etc` or `/sbin` as a rough and not-totally-reliable estimate." CreationDate="2011-03-23T17:13:21.107" UserId="3389" />
  <row Id="12867" PostId="9977" Text="This might be specific to Debian/Ubuntu though." CreationDate="2011-03-23T17:26:56.137" UserId="4671" />
  <row Id="12868" PostId="9971" Text="@ultrasawblade -- how would you find that?" CreationDate="2011-03-23T17:39:45.783" UserId="2511" />
  <row Id="12870" PostId="9971" Text="Ahh, after researching I found out linux doesn't store this information in its filesystems, but FreeBSD does.  (http://www.linuxquestions.org/questions/general-10/file-creation-date-in-linux-473684/)  Sorry to mislead you with bad advice." CreationDate="2011-03-23T17:45:35.620" UserId="3389" />
  <row Id="12871" PostId="9976" Text="mattdm is right; you can get access time, modification time, and change time; ctime is the last. See [this SO post](http://stackoverflow.com/questions/79809/what-is-the-difference-between-file-modification-time-and-file-changed-time)" CreationDate="2011-03-23T17:48:05.057" UserId="73" />
  <row Id="12872" PostId="9971" Text="Well, look in /etc and find a configuration file related to a program or service that's likely never to have been used.  The `mtime`, visible with the `stat` command, should approximate the date of install.  For example, if no one's ever bothered to change the inittab, that might provide a clue." CreationDate="2011-03-23T17:48:37.677" UserId="3389" />
  <row Id="12873" PostId="9973" Text="It would be helpful if you could describe your desired behavior. If you don't want to use the scrollbutton to paste, what would you rather use?" CreationDate="2011-03-23T18:10:03.273" UserId="4671" />
  <row Id="12874" PostId="9981" Text="Do you insist on using sed? This is easy, for example in python. And no doubt even easier in perl. Though the question is not terribly well defined. Copy a file, removing all lines longer than 2048, or something else?" CreationDate="2011-03-23T18:21:50.600" UserId="4671" />
  <row Id="12875" PostId="9973" Text="@Faheem Uhm, care to read the title?" CreationDate="2011-03-23T18:49:55.287" UserId="2671" />
  <row Id="12876" PostId="9980" Text="Is there any way this can be configured without modifying xorg.conf? This is also an issue on machines where I don't have root." CreationDate="2011-03-23T18:50:37.283" UserId="2671" />
  <row Id="12877" PostId="9973" Text="@Let_Me_Be: Oops." CreationDate="2011-03-23T18:52:33.397" UserId="4671" />
  <row Id="12878" PostId="9980" Text="@Let_Me_Be: There might be. I'm not aware of one." CreationDate="2011-03-23T18:55:44.813" UserId="4671" />
  <row Id="12879" PostId="4983" Score="1" Text="Sync a bluetooth keyboard to it." CreationDate="2011-03-23T19:11:16.580" UserId="3389" />
  <row Id="12881" PostId="9448" Text="The environment variables are all set properly. The problem still persists. There is no login:password on the proxy." CreationDate="2011-03-23T19:18:52.120" UserId="4815" />
  <row Id="12882" PostId="9438" Text="I removed some comment lines starting with a # in the files since it was getting too long for the comment box." CreationDate="2011-03-23T19:19:52.463" UserId="4815" />
  <row Id="12883" PostId="9970" Text="if i understand correctly, you get wav input at port 8000 and want to stream mp3 output at port 8002? lame is a program that can handle pipe as input or output `arecord | lame -encodingoptionshere - - | aplay`" CreationDate="2011-03-23T19:22:58.707" UserId="5666" />
  <row Id="12884" PostId="9910" Text="@connrs: Do you have issues with UTF-8 even when you run your `.profile`? I assumed the issue was due to incorrectly set locales on the target machine, which your `/etc/profile` or `.profile` fixed. The locale issue is probably fixable with more information." CreationDate="2011-03-23T19:33:22.910" UserId="885" />
  <row Id="12885" PostId="9946" Text="@mr. Shickadance.  It's not just LFS that doesn't have an initrd.  Anyone who compiles their own kernel has the option of not using an initrd, which is what I do on Gentoo." CreationDate="2011-03-23T19:44:00.373" UserId="3447" />
  <row Id="12887" PostId="9974" Score="1" Text="If your Windows machine has a parallel port, you can get a faster connection, but the software and the right cable might be harder to get." CreationDate="2011-03-23T20:06:06.893" UserId="885" />
  <row Id="12888" PostId="9990" Score="1" Text="... or `tune2fs -l`" CreationDate="2011-03-23T20:24:46.583" UserId="5666" />
  <row Id="12889" PostId="9963" Text="I'm pretty sure this is platform dependent.  On OpenBSD, for example, all 3rd party software from packages are installed in /usr/local/bin.  So, while it's probably the proper place for your own shared executable scripts as well, it's not always for &quot;not maintained by package manager executables&quot;" CreationDate="2011-03-23T20:26:29.647" UserId="298" />
  <row Id="12890" PostId="9971" Text="See [the same question on Ask Ubuntu](http://askubuntu.com/questions/1352/how-can-i-tell-what-date-ubuntu-was-installed), which has both Ubuntu-specific and more generic answers." CreationDate="2011-03-23T20:40:27.747" UserId="885" />
  <row Id="12891" PostId="9962" Score="1" Text="This is the right explanation when there's no initrd/initramfs, but it's missing a piece of the puzzle. Normally the kernel identifies a device such as `/dev/sda1` because it's an entry in a filesystem. You could do `cp -p /dev/sda1 /tmp/foo` and `/tmp/foo` would represent the same device. On the kernel command line, the kernel uses a built-in parser that follows the usual device naming convention: `sda1` means the first partition of the first SCSI-like disk." CreationDate="2011-03-23T20:44:23.893" UserId="885" />
  <row Id="12893" PostId="9969" Text="That's not what the question requested, though. `make --silent` doesn't print the commands as they are executed (as if they were all prefixed by `@`), but you still get their output." CreationDate="2011-03-23T21:12:37.403" UserId="885" />
  <row Id="12894" PostId="9977" Text="@Faheem Mitha: Same file/directory is used for Ubuntu." CreationDate="2011-03-23T21:13:35.003" UserId="4520" />
  <row Id="12895" PostId="9990" Text="You forgot to mention that this is only applicable to ext2/ext3/ext4 filesystem." CreationDate="2011-03-23T21:18:08.037" UserId="2671" />
  <row Id="12896" PostId="9931" Text="Your terminology is very confusing: apparently `grp` is a user (as far as the system is concerned), right? “Group” has a related but completely different meaning. How do users authenticate to `grp`? There's probably a better way to do what you're trying to do, but it depends on what you mean by “use a group id”, and on whether you can change that." CreationDate="2011-03-23T21:33:08.877" UserId="885" />
  <row Id="12897" PostId="9993" Text="Usually `/dev/sda1` or something like that (whatever `df /` shows in the first column), but the principle is sound." CreationDate="2011-03-23T21:34:42.183" UserId="885" />
  <row Id="12898" PostId="9995" Score="1" Text="But it might have changed afterwards. The time on `/` is slightly less likely to have changed if the kernel isn't kept in `/`, but it's still not a very good indicator. (Reminder: `-c` is not the creation time, it's the metadata change time. Most unix filesystems do not store a file's creation time.)" CreationDate="2011-03-23T21:36:28.830" UserId="885" />
  <row Id="12899" PostId="9835" Text="Thank you! @geekosaur: +1 for your comment :)" CreationDate="2011-03-23T21:52:28.507" UserId="4078" />
  <row Id="12900" PostId="9997" Text="N.B. Please don't answer here just to cite one particular implementation's conformance document. If you have one of those, the corresponding tag wiki would be a good place." CreationDate="2011-03-23T21:57:14.420" UserId="885" />
  <row Id="12901" PostId="9997" Text="Someone needs to mine the revision history for `autoconf` and `Metaconfig` (Perl, `rn`) and collect all the tricks and their explanatory comments in one place." CreationDate="2011-03-23T22:01:04.947" UserId="5325" />
  <row Id="12902" PostId="9997" Text="@geekosaur: Good suggestion. I've never looked at the internals of autoconf, is there something one could use as a guide when writing one's own scripts? If so, this would be a good answer to my question, even if it's not a definitive one." CreationDate="2011-03-23T22:03:19.907" UserId="885" />
  <row Id="12903" PostId="9993" Text="Hey, that's handy to know, thanks. And this information survives copying the filesystem too. +1." CreationDate="2011-03-23T22:04:36.610" UserId="4671" />
  <row Id="12904" PostId="9997" Text="There's quite a lot of decently-commented portability stuff in there.  It's worth sitting down and reading through one.  (Although sometimes older comments get shortened or removed completely, which is why it'd be necessary to check the revision history too.)" CreationDate="2011-03-23T22:05:33.853" UserId="5325" />
  <row Id="12905" PostId="9977" Text="@Bill: Yes, I said specific to Debian/Ubuntu. Meaning the recipe would work for both Debian and Ubuntu, but possibly not for other (non-Debian-based) Linux distributions." CreationDate="2011-03-23T22:05:35.673" UserId="4671" />
  <row Id="12906" PostId="9997" Text="I should also mention that, while `autoconf` is somewhat dry reading, Metaconfig's commentary is often quite amusing." CreationDate="2011-03-23T22:08:56.723" UserId="5325" />
  <row Id="12907" PostId="9969" Text="1st: The other answer was just a copy of the command&#xA;&#xA;2nd: I was very clear in saying &quot;_if you want **full** output to the file_&quot;, requesting edition for _and you'ill get a &quot;--silent&quot; output to screen_ would be better since my comment has 2 'great comment' votes and a request to put it as answer. What we want are answers, so try to help." CreationDate="2011-03-23T22:10:19.113" UserId="5785" />
  <row Id="12908" PostId="9997" Text="I find the bigger issue is which non-POSIX extensions are available in which shells.  These days every common shell (`dash`, `bash`, `zsh`) should be very close to POSIX conformant, AFAIK." CreationDate="2011-03-23T22:11:34.007" UserId="3169" />
  <row Id="12909" PostId="9991" Text="wget is not a backup tool. you'd be really  better off with rsync and  database replication (if needed)." CreationDate="2011-03-23T22:19:12.380" UserId="5666" />
  <row Id="12910" PostId="9882" Text="WOW! tr -cd '\011\012 -~' really does work!! but how? what does it exactly do? it only allows exactly what chars? can you post you're answer in an &quot;answer&quot; so i could put a tick to it?? THANK YOU!" CreationDate="2011-03-23T22:31:15.210" UserId="5664" />
  <row Id="12911" PostId="9987" Text="and how could i download the sites content via command line? :\" CreationDate="2011-03-23T22:36:26.550" UserId="5664" />
  <row Id="12912" PostId="9997" Text="Another related resource is [GNUlib](http://www.gnu.org/s/hello/manual/gnulib/), whose documentation lists many portability issues, but for the C API." CreationDate="2011-03-23T22:36:39.357" UserId="885" />
  <row Id="12914" PostId="4983" Text="@ultrasawblade: or you could just take SSH connection and use your computer to use it but it limits its usage possibilities a lot. I tried it with N810 but due to its poor design the mini-usb (or was it micro-usb actually ... dxmn non-standardized inferior products) won't charge the phone and it ran out of battery very quickly, very poor design. If I can remember right, G1 could be charged through usb and transfer data but I got fed up to it because I needed to carry a heavy battery and the reasons above, went back to nice simple 1110-Nokia/Communicator -combo while waiting better times." CreationDate="2011-03-23T22:53:48.023" UserId="2362" />
  <row Id="12915" PostId="2143" Score="1" Text="@blntechie: will the Maemo branch get buried because Nokia is becoming Micro.*? I cannot make head-or-tail about the hypocrisy, business people really have short memories, once they were competitors and now they are almost the same thing. What is going on? I think N900 sounds too speculative and too much poor marketing. Why cannot they make better products and concentrate less on extrinsic factors? I want a better tool to my pocket. -1 because of too bombastic view, without mentioning any shortcomings." CreationDate="2011-03-23T23:01:28.177" UserId="2362" />
  <row Id="12916" PostId="2141" Text="Wake up guys, no-one else cannot analyze the question about *&quot;Are they any good?&quot;* This topic really needs some compare and contrast." CreationDate="2011-03-23T23:07:39.937" UserId="2362" />
  <row Id="12917" PostId="9882" Text="@johnny8888 - it's nearly the same, but for the range, it's using the ascii representation instead of the octal representation. Character `\40` is a ` ` (space) and `\176` is a `~`. So ` -~` Says space through ~." CreationDate="2011-03-23T23:10:23.290" UserId="2180" />
  <row Id="12918" PostId="2141" Score="1" Text="**[BOUNTY]** I want to attract more serious answers that are less about euphoric products of today but concentrate to analyze the question *&quot;Are they any good?&quot;* and intrinsic factors. I will award the bounty to the person that critically analyze, compare and contrast the phones. Answers only covering explicit marketing issues and abstracted-boxed hacks is not what I am looking for. I hope clear understanding of intrinsic features (outlined in my answer). So are there any &quot;linux&quot; phone that address the weaknesses there? And please tell whether the product is free-as-freedom or free-as-beer" CreationDate="2011-03-23T23:24:59.723" UserId="2362" />
  <row Id="12919" PostId="9684" Text="@Gilles: Can you clarify the statement &quot;Protecting the OS's integrity is important, but there's no need for confidentiality&quot;? Do you mean that OpenBSD's volume encryption is just marketing gimmick or not-that-important-thing?" CreationDate="2011-03-23T23:40:22.853" UserId="2362" />
  <row Id="12920" PostId="9684" Text="More about integrity: http://unix.stackexchange.com/questions/9998/how-to-quarantee-the-integrity-of-os" CreationDate="2011-03-23T23:52:26.950" UserId="2362" />
  <row Id="12921" PostId="9999" Score="1" Text="You know what's disturbing?  Googling the error and finding this question as the #3 result.  Damnit Google, stop that!" CreationDate="2011-03-22T16:03:01.543" />
  <row Id="12922" PostId="9999" Score="1" Text="tried to apt-get install libtool ?" CreationDate="2011-03-22T16:03:05.810" />
  <row Id="12923" PostId="9999" Score="2" Text="@albertopriore, what happens if you try to install `libtool`?  Also, this probably belongs over on [ServerFault](http://serverfault.com/)." CreationDate="2011-03-22T16:03:40.497" />
  <row Id="12924" PostId="9999" Text="I've installed libtool and autoconf but it still do not work.&#xA;What can I do now?" CreationDate="2011-03-22T16:29:13.100" />
  <row Id="12925" PostId="9999" Text="@alberto, has the error message changed?  If so, please edit your question and add the new error." CreationDate="2011-03-22T16:53:28.440" />
  <row Id="12926" PostId="9999" Text="not it isn't changed." CreationDate="2011-03-23T09:59:12.677" />
  <row Id="12927" PostId="10000" Text="I had a similar issue when upgrading from lenny to squeeze.  Make sure all your apt sources reference the correct version." CreationDate="2011-03-23T19:55:35.710" />
  <row Id="12928" PostId="9684" Score="3" Text="@hhh: OpenBSD's encryption provides confidentiality. That's important for your own data, not important for the OS files that anyone can download. (i.e. volume encrpytion is important but not the full story.) Integrity is defense against someone covertly changing your data, or worse, installing malware if they have physical access to your disk — an [evil maid attack](http://www.schneier.com/blog/archives/2009/10/evil_maid_attac.html). Evil maid attacks are hard to defend against (I don't know what OpenBSD has to offer), but also hard to carry out." CreationDate="2011-03-24T00:07:48.033" UserId="885" />
  <row Id="12929" PostId="9995" Text="show me any time which cannot be changed :)" CreationDate="2011-03-24T00:09:15.060" UserId="3432" />
  <row Id="12930" PostId="9940" Text="There's probably a way to set up [`/etc/gai.conf`](http://serverfault.com/questions/173309/what-determines-whether-the-fqdn-is-interpreted-as-ipv6-or-ipv4/177649#177649) so that `security.debian.org`'s A record are returned before the AAA record, but I don't know precisely what to put in that file." CreationDate="2011-03-24T00:10:06.567" UserId="885" />
  <row Id="12931" PostId="9995" Text="The question had the assumption “provided that nobody has tried to hide it”. The ctime of `/root` is likely to change naturally (e.g. every time someone creates a file there)." CreationDate="2011-03-24T00:13:04.320" UserId="885" />
  <row Id="12932" PostId="9998" Text="You might consider asking at [Security Stack Exchange](http://security.stackexchange.com/). I don't know of anything off-the-shelf except perhaps on Solaris if you have a TPM. (Purely software solutions are possible too. I'm too tired to write a cogent answer right now.)" CreationDate="2011-03-24T00:43:47.167" UserId="885" />
  <row Id="12933" PostId="10001" Text="You can have integrity guarantees from a self-contained system. One method is to use tamper-proof hardware (in practice, tamper-resistant hardware, e.g. a TPM). Another method is to have the OS check its own integrity and authenticate itself to you. It's possible in principle but I don't know what implementations exist." CreationDate="2011-03-24T00:47:06.777" UserId="885" />
  <row Id="12934" PostId="9987" Score="1" Text="You'd try to find a tool that can display a page like a GUI browser. I don't know of one. Try to see if one of them (Firefox, Chrome, Opera, ...) has a command line switch like &quot;-dump&quot;. Try to see if there is a program that can mechanize a GUI browser." CreationDate="2011-03-24T01:00:13.463" UserId="4667" />
  <row Id="12935" PostId="10001" Text="@Gilles, Sure but you almost must go into military grade stuff for that. Few, if any, general purpose platforms would be suitably built (at a reasonable cost) with the type of integrity the OP seems to want. Even banks aren't that secure. Where I work we have full disk encryption, strong password failure handling policies, password change policies and no admin control over our computers, so I guess it would not take too much to provide meaningful integrity checks, but this is not your run of the mill configuration." CreationDate="2011-03-24T01:17:15.133" UserId="3519" />
  <row Id="12936" PostId="9942" Text="@Warren Thanks for the digging." CreationDate="2011-03-24T03:08:38.547" UserId="5960" />
  <row Id="12937" PostId="9955" Score="1" Text="-1 Sorry but this answer is just wrong. It explains how this stuff works in many programming languages but not in the shell. @Gilles, below, got it right." CreationDate="2011-03-24T03:13:09.357" UserId="5960" />
  <row Id="12938" PostId="9979" Text="The problem is i don't have file system in my flash. I have to invoke the application directly from the kernel" CreationDate="2011-03-24T03:22:33.307" UserId="5998" />
  <row Id="12939" PostId="2143" Text="It'll take a long time for someone to pry my N900 out of my cold hands.  I LOVE the phone.  It's like carrying a small computer around with me, complete with standard linux hackability." CreationDate="2011-03-24T03:58:11.777" UserId="5824" />
  <row Id="12940" PostId="9988" Text="Should I run this script as root?" CreationDate="2011-03-24T04:10:56.167" UserId="5914" />
  <row Id="12941" PostId="9931" Text="@Gilles What I meant was suppose I have a userid=anand and I belong to a team xyz which defines &quot;abc&quot; as login id for all its members to use on all the team owned servers. Now these servers are DAP enabled so the procedure is to first login using 'anand' and then su to 'abc'. Hope the terminology is more clear now." CreationDate="2011-03-24T04:16:02.060" UserId="5971" />
  <row Id="12942" PostId="9971" Text="Probable duplicate of http://unix.stackexchange.com/questions/7149/installation-date-of-ubuntu/7157#7157" CreationDate="2011-03-24T04:34:48.600" UserId="4335" />
  <row Id="12944" PostId="9960" Text="`colors` is not documented in the `tput` man page (!), so should I look for a number &gt;= 8 in stdout or a return code of 0?" CreationDate="2011-03-24T07:43:33.270" UserId="3645" />
  <row Id="12945" PostId="9448" Text="Then I cannot do more for you" CreationDate="2011-03-24T08:11:39.123" UserId="2466" />
  <row Id="12946" PostId="10002" Text="Testing with dash is the bare minimum to avoid accidental reliance on ksh/bash features, but I'm after more than that: knowing about deficiencies in other shells (e.g. zsh's poor trap handling), and above all in shell utilities (e.g. OpenBSD's `find` still hasn't implemented `-exec +`)." CreationDate="2011-03-24T08:18:11.283" UserId="885" />
  <row Id="12947" PostId="10001" Text="@asoundmove: Many PCs have TPMs now. Zfs has integrity checking features (IIRC only CRCs in the default configuration, for performance, but you can change that to cryptographic integrity checks). That leaves authentication, which isn't high-tech, just needs to be done right." CreationDate="2011-03-24T08:20:26.697" UserId="885" />
  <row Id="12948" PostId="9998" Text="You can start by trying tools like Tripwire that use checksums and their own &quot;database&quot; for checking if specific system files have been modified." CreationDate="2011-03-24T08:28:22.773" UserId="5661" />
  <row Id="12949" PostId="10011" Text="@cjm what if, after a certain time of continuous use (let's say, 2 weeks), I felt the kernel is stable and in no need of debugging. Is it safe to delete the `System.map` then?" CreationDate="2011-03-24T08:33:14.557" UserId="5589" />
  <row Id="12950" PostId="10011" Text="Why do you want to delete it?" CreationDate="2011-03-24T08:42:45.423" UserId="5447" />
  <row Id="12951" PostId="2142" Score="1" Text="Android phones run a modified Linux kernel, but they are not real GNU/Linux systems. Their software is mostly buggy corporate crapware, and you have to download buggy software from dubious forums to root (and often wreck) your phone to be able to do anything interesting. It's just unethical marketing that has people talking about Android being a &quot;linux phone&quot;. I know that Linux means the kernel, technically, but closed corporate apps are not what people are thinking of when they say &quot;Linux&quot;..." CreationDate="2011-03-24T08:46:11.787" UserId="5447" />
  <row Id="12952" PostId="9997" Score="2" Text="I'm sure you both could find it easily, but for the benefit of other people who are following this thread, here's a link to a relevant page from the autoconf manual: http://www.gnu.org/software/hello/manual/autoconf/Portable-Shell.html" CreationDate="2011-03-24T08:50:00.317" UserId="5447" />
  <row Id="12953" PostId="10011" Score="1" Text="Why not delete it at the same time as deleting the kernel?" CreationDate="2011-03-24T08:52:55.063" UserId="3169" />
  <row Id="12954" PostId="9999" Text="This is the standard message produced by apt when mixing packages with different priority. Recent versions of apt handle this situation a bit more gracefully, I believe. It will be easy to produce an explanation if you include the following pieces of information in your question - output of `apt-cache policy php5-dev autoconf libtool`, and the contents of /etc/apt/preferences and /etc/apt/sources.list. If you have anything in /etc/apt/apt.conf or added anything to /etc/apt/apt.conf.d, /etc/apt/sources.list.d or /etc/apt/preferences.d, list those too." CreationDate="2011-03-24T08:56:27.867" UserId="4671" />
  <row Id="12955" PostId="9999" Text="I also encourage you to read the contents of `man apt_preferences` to start with." CreationDate="2011-03-24T08:58:55.290" UserId="4671" />
  <row Id="12956" PostId="9970" Text="Hi. On each port, the data is MP3. I somehow need to connect to that stream and decode &quot;on-the-fly&quot; to a WAV buffer. Then, from a WAV buffer, re-encode to MP3, again, on the fly" CreationDate="2011-03-24T09:07:20.307" UserId="5983" />
  <row Id="12957" PostId="9969" Text="It seemed a bit harsh to vote this down. It was already a comment, before I added my answer. My answer just is an incremental improvement. It does not deserve a negative score, so I bumped it back up to 0. " CreationDate="2011-03-24T09:19:28.890" UserId="4778" />
  <row Id="12958" PostId="10014" Text="Was it a bug in Anjuta?" CreationDate="2011-03-24T09:44:41.810" UserId="688" />
  <row Id="12959" PostId="9933" Text="How exactly to map the key using character map app? I can't find this command in the app." CreationDate="2011-03-24T10:28:25.357" UserId="5103" />
  <row Id="12960" PostId="9988" Text="Yep, because the `noauth` option is a PPP &quot;privileged&quot; option, and I think `pppd` needs superuser privileges to create a network interface." CreationDate="2011-03-24T10:33:52.313" UserId="3389" />
  <row Id="12961" PostId="9952" Text="Still not a perfect solution, but as good as it's likely going to get. Thanks." CreationDate="2011-03-24T10:49:18.427" UserId="4949" />
  <row Id="12962" PostId="9881" Text="@Mikel: Would be a pain if you had to keep holding them for the whole thing :)  I'm sure I've seen documentation that mentioned my way, but I have no idea where I saw it." CreationDate="2011-03-24T11:02:10.233" UserId="4196" />
  <row Id="12963" PostId="10014" Score="1" Text="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577719" CreationDate="2011-03-24T11:19:52.213" UserId="3963" />
  <row Id="12964" PostId="9553" Text="Is it really worth calling the kernel tainted just because of a closed Nvidia driver? As I see it, if hardware performance is the main issue I am not really concerned about the &quot;openness&quot; of the driver, only its performance. If the performance gap were minimal it would be a different story, but from my experience Nvidia's closed driver is far above the quality of open-source equivalents. However, would I be interested in an open-source alternative if it was equal in performance? Of course." CreationDate="2011-03-24T11:39:10.007" UserId="4856" />
  <row Id="12965" PostId="9553" Score="2" Text="@Mr. Shickade — &quot;tainted&quot; is a technical term. See http://www.tux.org/lkml/#s1-18. Additionally, while _you_ may not be concerned about the openness of the driver, as I mentioned above, this is important to me, and it is important to other people as well." CreationDate="2011-03-24T11:46:24.627" UserId="2511" />
  <row Id="12966" PostId="9998" Text="Security.stackexchange.com could be better location for this. " CreationDate="2011-03-24T12:23:30.703" UserId="3046" />
  <row Id="12967" PostId="9998" Text="@hhh this is too generic. Please word your question to be less generic. This is Unix/Linux not SuperUser, ServerFault, or Security. I notice you've tagged this openbsd, is this question about guaranteeing the integrity of OpenBSD? which would definitely be ontopic." CreationDate="2011-03-24T12:26:19.747" UserId="29" />
  <row Id="12968" PostId="9994" Text="Thanks Gilles .. That a=0; a=1 | a=2 gives a very clear picture.. and not only of the localization of internal state, but also that a pipeline doesn't actually need to send anything *through the pipe* (other than the exit code(?).. In itself that is an interesting insight into a *pipe* ... I did manage to get my script running with `&lt; &lt;(locate -ber ^\.tag$)`, thanks to the original slightly unclear answer and geekosaur and  glenn jackman's comemnts.. I was initially in a dilemma about accepting the answer, but the nett result was pretty clear, especially with jsbillings follow-up comment :) " CreationDate="2011-03-24T12:31:21.863" UserId="2343" />
  <row Id="12969" PostId="9906" Text="@Gilles. I'd stumbled across those commands while searching for this answer, but thank you. They will be most helpful for what I need to do, now that I have the initial requirement satisfied." CreationDate="2011-03-24T12:35:16.870" UserId="5965" />
  <row Id="12970" PostId="9553" Text="Well, that explains things. I never thought about it from that perspective. However, I understand not everyone shares the same views. As a desktop Linux user I am glad that Nvidia provides such a high-quality driver for their hardware." CreationDate="2011-03-24T12:44:33.937" UserId="4856" />
  <row Id="12971" PostId="9955" Text="I added the appropriate pipe information." CreationDate="2011-03-24T12:48:34.797" UserId="3976" />
  <row Id="12972" PostId="10016" Text="removing just the word mdns4_minimal caused things to stop working completely. " CreationDate="2011-03-24T13:09:18.383" UserId="4815" />
  <row Id="12973" PostId="9798" Text="@imz I'd love to tidy it up, but like a lot of questions, they would be best writen with hindsight, (which I obviously didn't have when I wrote it)... and after so many days of wrangling with the issue, I've given myself a holiday from the topic...  Hopefully it makes *enough* sense as it is... " CreationDate="2011-03-24T13:29:30.550" UserId="2343" />
  <row Id="12974" PostId="9798" Text="@user unknown.. Re &quot;When will you ever delete 10 Million files?&quot;... I did it just the other day. ... Thanks for your guidance to keep me from the jaws of evil and destruction, but actually both the computer and myself are doing fine :) ..  here is a 10 million file question for you: http://superuser.com/questions/257250/how-to-run-sed-on-over-10-million-files-in-a-directory/257299#257299 " CreationDate="2011-03-24T13:40:22.553" UserId="2343" />
  <row Id="12975" PostId="9998" Text="@xeno It used to say &quot;My preference is OpenBSD, but I am interested in general about the integrity of OSs as well.&quot;, but he deleted it for some reason" CreationDate="2011-03-24T14:14:24.303" UserId="73" />
  <row Id="12976" PostId="9798" Text="@imz.. Just before I head off: The original question is, and has been the same all along (see Question/Title)... The ensuing period since posting the question brought up some interesting side issues... &#xA;The answer to the question is: *because of how many times you call 'rm filename' vs 'rm filename filename filename ...&quot;*  I just threw in the tests as an addednum, as these helped make the answer clear to me... Yes, an addendum is supposed to go at the end of a document :) but when you hit overload anyhere will do. I understand your comments, but this one will just have to be as is." CreationDate="2011-03-24T14:17:11.587" UserId="2343" />
  <row Id="12977" PostId="10021" Text="Is the microphone or the speaker not working? Did you update your distro recentrly, and which version are you running?" CreationDate="2011-03-24T14:19:20.733" UserId="5685" />
  <row Id="12978" PostId="10033" Text="That's kind of what I expected I suppose, I just figured I'd ask and cross my fingers for a possibly quicker way of doing this. Thanks" CreationDate="2011-03-24T14:39:14.327" UserId="4176" />
  <row Id="12979" PostId="10033" Text="How different are the two for translating?" CreationDate="2011-03-24T14:45:37.693" UserId="4176" />
  <row Id="12980" PostId="10033" Text="They're quite different. The simplest forms of aliases and I/O redirection are the same, while the more complex forms differ. Conditional and loop statements are quite different. Historically Bourne shells had functions where Csh derivatives had aliases, but now that modern Bourne-alikes have aliases, too, the lack in Csh derivatives can be annoying. The Bourne/Csh thing isn't like most things in Unix-land, where there was a split that was later healed; they are entirely separate developments that have occasionally borrowed from each other, so that they're largely incompatible even today." CreationDate="2011-03-24T15:10:34.447" UserId="138" />
  <row Id="12981" PostId="10027" Text="Unfortunately, rsync isn't available on the source machine, and neither is sshd." CreationDate="2011-03-24T15:12:59.513" UserId="6008" />
  <row Id="12982" PostId="10016" Text="in that case your local dns resolution is completely hosed - I suggest you start testing with ping &amp; dig" CreationDate="2011-03-24T15:32:03.447" UserId="36" />
  <row Id="12983" PostId="9960" Text="Seemed obvious, but your comment shows that it isn't. I'm adding that info (briefly, colors is a capability of terminfo database)" CreationDate="2011-03-24T15:36:47.357" UserId="5785" />
  <row Id="12985" PostId="10023" Score="1" Text="@MathBinanco: +1 good point, there is an illusion of security or not at all without physical security but ... this is getting too broad, could you tell how related to obsd?" CreationDate="2011-03-24T15:50:27.210" UserId="2362" />
  <row Id="12986" PostId="10035" Text="This question might be better placed on superuser.com" CreationDate="2011-03-24T15:51:51.890" UserId="4667" />
  <row Id="12987" PostId="9998" Score="2" Text="@xenoterracide: @Michael Mrozek: @Rory Alsop: the focus is very narrow, only on obsd. Initially, I thought it would be ok to compare/contrast to other OSs but the danger is getting too broad answers. I deliberately deleted any misleading statements because I don't want bloated answers, they must be more specific." CreationDate="2011-03-24T15:52:40.080" UserId="2362" />
  <row Id="12988" PostId="10039" Text="You'll inherit the environment that way, but you'll lose everything shell-specific: aliases, prompt changes, etc." CreationDate="2011-03-24T15:53:10.527" UserId="138" />
  <row Id="12989" PostId="10025" Text="good point, perhaps my goal about &quot;OS integrity&quot; is a pipe-dream, not sure yet -- let's see if someone knows more about the topic." CreationDate="2011-03-24T15:58:33.570" UserId="2362" />
  <row Id="12990" PostId="10042" Text="Could also use psftp, which some people might find easier (myself, I prefer the scp mechanism)." CreationDate="2011-03-24T16:00:38.313" UserId="4194" />
  <row Id="12991" PostId="9988" Text="@ultrasawblade, it looks like your solution is for connecting a Windows machine to the Internet. I need it the other way around." CreationDate="2011-03-24T16:01:10.127" UserId="5914" />
  <row Id="12992" PostId="10021" Text="I haven't updated my distro recently. I always get the updates available and the last time I guess linux kernel was updated . I am using ubuntu 10.10 . " CreationDate="2011-03-24T16:02:32.963" UserId="6004" />
  <row Id="12993" PostId="10043" Score="1" Text="The very thing I would have said. There's no reason to limit yourself to `ls` here, Luc." CreationDate="2011-03-24T16:04:57.800" UserId="138" />
  <row Id="12994" PostId="10035" Text="is the proxy configured in the system?" CreationDate="2011-03-24T16:19:51.737" UserId="5785" />
  <row Id="12995" PostId="10001" Text="@asoundmove: this is a good idea but the project had one limitation: the network connection was very unreliable or non-existent. I am unsure how I should try to achieve OS integrity in such environment, perhaps the WORMs are the way to go." CreationDate="2011-03-24T16:20:31.097" UserId="2362" />
  <row Id="12996" PostId="10054" Text="Why would she want a FreeBSD?" CreationDate="2011-03-24T18:04:59.860" UserId="688" />
  <row Id="12997" PostId="10054" Text="What does size/customisability have to do with the package manager?" CreationDate="2011-03-24T18:05:42.870" UserId="688" />
  <row Id="12998" PostId="10053" Text="Thank you very much.... Is it possible to run a program before user login?. Not like startup programs but those likely to be run once after user login. " CreationDate="2011-03-24T18:08:08.533" UserId="6011" />
  <row Id="12999" PostId="10054" Text="@Tshepang, is not about PM, but about the distro itself. The most customizable system is the system that you build by yourself. I know it's &quot;possible&quot; to reconfigure everything but, being realistic, if your package manager installs lots of &quot;maybe you want it too&quot; software, and writes lots of configuration, then your system gets harder to customize. If you install the very basic software in debian, you'ill still find lots of programs that you will never ever use, same but worst in Ubuntu." CreationDate="2011-03-24T18:21:24.533" UserId="5785" />
  <row Id="13000" PostId="10025" Text="@hhh - you misunderstand. It is straightforward and you can buy hardware and software to do this off the shelf. My question was around whether that was the most appropriate approach for what you are doing." CreationDate="2011-03-24T18:23:35.810" UserId="3046" />
  <row Id="13001" PostId="10054" Text="@Tshepang, about FreeBSD: maybe she want FreeBSD because of the simplicity. Debian is a distro, that's an Operating System and a lot of configuration done for your needs. FreeBSD is just an Operating System, and you need to configure everything. It's harder to install and configure, but it runs fast and it's fully customizable. You need to set up the daemons, network configuration, etc.. and I found it better to text-based needs than any Linux distro. You compile your programs from ports, and install binary packages if needed." CreationDate="2011-03-24T18:28:42.030" UserId="5785" />
  <row Id="13003" PostId="10054" Text="Does FreeBSD run faster than Debian in your experience? Are you here referring to the default install, or would did you compare with a similar assortment of packages installed?" CreationDate="2011-03-24T18:37:18.097" UserId="688" />
  <row Id="13004" PostId="10054" Text="Regarding *lots of &quot;maybe you want it too&quot; software*, are you aware of the difference between Depends and Recommends?" CreationDate="2011-03-24T18:41:18.440" UserId="688" />
  <row Id="13005" PostId="10053" Text="On my system, Debian squeeze, both /var/log/wtmp and /var/log/btmp are binary files." CreationDate="2011-03-24T18:51:29.870" UserId="4671" />
  <row Id="13006" PostId="10025" Text="@Rory Alsop: yes it sounds very promising but I want to use obsd and is it really 4k USD for 7GB (found used WORM drive in eBay)? If I can recall right, even with low picture density (about 1 photo per 3-15 second) and with small-bit-size pictures, 7 GB won't last that long, becoming uneconomical. I feel setting up an outside server and securing the internet connection would become much cheaper with tripwire or some hash matching. Or is there some cheap large-sized WORM disks available? Have to investigate the TPM option, you mean this: http://en.wikipedia.org/wiki/Trusted_Platform_Module?" CreationDate="2011-03-24T19:03:40.960" UserId="2362" />
  <row Id="13007" PostId="10033" Text="Bummer - Do you have a preference? I'm actually an assistant Linux admin at my school so I might just crack open my cshrc and translate THAT to bash and talk my boss into switching my  default shell" CreationDate="2011-03-24T19:08:16.140" UserId="4176" />
  <row Id="13008" PostId="10033" Text="Well I think they have it locked so my boss would have to change shells, but the real issue is that they have lots of aliases that are linked over nfs in some magical land ;) so I'll see what I can do" CreationDate="2011-03-24T19:09:51.680" UserId="4176" />
  <row Id="13009" PostId="10033" Text="Are you sure `chsh` is disabled? I've never seen that done; freedom to choose one's login shell is usually seen as sacrosanct as the freedom to choose your favorite text editor. As for my shell preference, I thought the link I added to the end of my post made that clear. :)" CreationDate="2011-03-24T19:18:49.697" UserId="138" />
  <row Id="13010" PostId="9094" Text="@Shawn: I got my converter. Works like a charm. Thanks again for the advice." CreationDate="2011-03-24T19:25:27.880" UserId="5462" />
  <row Id="13011" PostId="10053" Text="Yeah those are binary files. So how will you know how many failed attempts are made before an successful login." CreationDate="2011-03-24T19:50:38.513" UserId="6011" />
  <row Id="13012" PostId="9991" Text="Thanks for the tip. Unfortunately, I have kind of an odd situation that I didn't describe well the first time. I need to grab pages that have dynamic content (from my web server) and store the HTML contents on the emergency server. So I'm not really just backing up files per say. I also don't really want to setup all the databases on the emergency server to duplicate all the dynamic content mostly just because I don't think it's worth all the work." CreationDate="2011-03-24T19:50:41.983" UserId="5991" />
  <row Id="13013" PostId="10015" Score="1" Text="Correct (after minor fixes), but overly complicated compared with [asoundmove's answer](http://unix.stackexchange.com/questions/10012/non-case-sensitive-sed-openwrt/10022#10022). There is a way with sed, but it's ugly: `sed -e '/&lt;[Ss][Cc][Rr][Ii][Pp][Tt]/d'`." CreationDate="2011-03-24T20:02:52.047" UserId="885" />
  <row Id="13014" PostId="10022" Text="Yes, Busybox has `grep -v` as a non-optional feature." CreationDate="2011-03-24T20:04:14.680" UserId="885" />
  <row Id="13015" PostId="10033" Text="@Warren: One place I was a student at disabled chsh because it broke a NIS implementation (I don't know precisely why). Everyone had to log into `/bin/sh`. The default setup had (a safer version of) `exec zsh` at the end of `~/.profile`. I can see that happening on a heterogeneous network to avoid people choosing a shell that doesn't exist on some machines." CreationDate="2011-03-24T20:13:21.070" UserId="885" />
  <row Id="13016" PostId="10039" Text="Not at the end of `.cshrc` (why would you want to start csh at all?), but at the end of `.login`." CreationDate="2011-03-24T20:14:04.047" UserId="885" />
  <row Id="13017" PostId="10043" Score="2" Text="With GNU find, there are other possibilities. `-mmin 5` lists files modified in the last 5 minutes. `-newermt &quot;2011-02-27 13:42&quot;` lists files modified since the specified date. You can use `-exec ls --color -ld {} +` instead of `-ls` to get the usual color display (if you like colored ls output)." CreationDate="2011-03-24T20:44:11.713" UserId="885" />
  <row Id="13018" PostId="10041" Text="`ls` lists files, but it doesn't offer much to select what files to list or the output format. Use globbing (shell wildcards) or `find` when you want to select files by name or metadata (e.g. date)." CreationDate="2011-03-24T20:46:31.757" UserId="885" />
  <row Id="13019" PostId="10033" Text="Yes @Gilles it has a lot to do with us being on a relatively old NIS server (new admin is trying to move away from NIS or at least update). Not only that but we have lots of custom path things setup that need to be correctly handled, which were originally set up in cshrc." CreationDate="2011-03-24T21:16:47.207" UserId="4176" />
  <row Id="13020" PostId="10057" Text="Hmm yea the main thing i was worried about was the `source` command, I have most of my prompt stuff set up on my repo of my profile defaults that I pass around my computers. I wonder if there's a script I could write that would quickly parse the sourced cshrc stuff into bash-able stuff so that I don't have to make for editing that file directly.&#xA;" CreationDate="2011-03-24T21:20:31.463" UserId="4176" />
  <row Id="13021" PostId="10056" Text="The example, I think, was `pidgin` -- it had a lot of pipes &amp; sockets and other stuff, so was a nice example. One last question: inodes are specific only in the context of a particular filesystem, correct? As in, I could have inode 3 on my `/` filesystem, and another (different) inode 3 on my `/boot` filesystem." CreationDate="2011-03-24T21:25:00.493" UserId="6013" />
  <row Id="13022" PostId="10057" Text="@jphenow: I doubt that a prompt escapes converter exists. It would be technically possible, but a lot of work, and very few users need that." CreationDate="2011-03-24T21:26:03.283" UserId="885" />
  <row Id="13023" PostId="10053" Text="@Winbros: `last` and `lastb` produce a human readable output from `wtmp` and `btmp` respectively. In debian, `/var/log/auth.log` logs every login attempt, failed or successful." CreationDate="2011-03-24T21:27:02.237" UserId="5666" />
  <row Id="13024" PostId="10028" Text="+1 tar-pipe solution.  If you have more bandwidth and less CPU you can remove the compression flag (although gzip is pretty lightweight)." CreationDate="2011-03-24T21:32:32.823" UserId="5950" />
  <row Id="13025" PostId="10056" Score="1" Text="Yes. In the case of the `/proc` filesystem, inode numbers are just made up on the fly (see `get_next_ino()` in `fs/inode.c` in the kernel), starting from 0 when the system is freshly booted. The mechanism that makes them up is shared by several of Linux's impersistent filesystems (proc, configfs, ramfs, autofs...) among which inode numbers *are* unique even though POSIX semantics don't demand it. That's a rather special case, however. The rule you're talking about is typically referenced in connection with normal persistent filesystems like ext3." CreationDate="2011-03-24T22:04:17.733" UserId="138" />
  <row Id="13026" PostId="10054" Score="1" Text="Yes, I'm aware of it, but some &quot;_depends_&quot; aren't depends. An stupid example: In debian, the package **git** depends on **curl** and **expat**, but you can compile git without them. It's an stupid case, since you'ill almost always use curl or expat with git but... maybe you just want a little testing environment with versioning, and you just have FTP access, then you don't need them. In this case, stupid or not, the package manager has additional depends that you don't need." CreationDate="2011-03-24T22:18:16.347" UserId="5785" />
  <row Id="13027" PostId="9808" Text="As far as I can tell, the problems mentioned in the two links you cite were solved by the time squeeze was released. I already have `radeon` in `/etc/modules`, it is loaded with `modeset=1`, I have `radeon kernel modesetting enabled` in my kernel logs and `Loading extension DRI2` (but no other occurrence of `DRI2`) in my X logs. However `glxinfo` shows `Mesa X11` as the renderer, not `Mesa DRI`; I have `libgl1-mesa-swx11` installed, not `libgl1-mesa-glx`." CreationDate="2011-03-24T22:23:05.857" UserId="885" />
  <row Id="13028" PostId="10054" Score="1" Text="And regarding FreeBSD yes... in my experience it runs hell of fast with similar software installed. Minimal text-based installations are different too. You need 150Mb free disk space for the minimal FreeBSD system, and 250Mb for the minimal Debian. And I still think FreeBSD has a best terminal interface (using mouse on it by default)" CreationDate="2011-03-24T22:34:08.487" UserId="5785" />
  <row Id="13029" PostId="9998" Text="@hhh to avoid generic and overly broad answers I woould suggest modifying your question to clarify just in openbsd" CreationDate="2011-03-24T23:36:20.173" UserId="29" />
  <row Id="13030" PostId="9960" Text="The `colors` capability is documented in [terminfo(5)](http://linux.die.net/man/5/terminfo).  Testing using `tput -T dumb colors`, `tput -T vt220 colors`, `tput -T linux colors`, `tput -T xterm colors` suggests common values are `-1` (no color support) and `8` (8 colors).  Note that this only applies after checking the output device is a terminal (e.g. `[ -t 1 ]` or `isatty`)." CreationDate="2011-03-25T00:20:40.823" UserId="3169" />
  <row Id="13031" PostId="10015" Text="@Gilles: I agree, asoundmove's is much simpler." CreationDate="2011-03-25T00:24:44.067" UserId="3169" />
  <row Id="13032" PostId="10064" Text="I just want to add a bunch of files to a changelist." CreationDate="2011-03-25T00:26:25.307" UserId="3115" />
  <row Id="13033" PostId="9808" Text="There is also some info at http://www.x.org/wiki/radeonBuildHowTo. libgl1-mesa-swx11 is probably not right. Do you have anything in the log for &quot;textured video&quot; or plain &quot;dri&quot;?" CreationDate="2011-03-25T00:34:58.340" UserId="5931" />
  <row Id="13034" PostId="10066" Score="2" Text="@hhh for dataset's on this scale a properly index-ed db is probably the only option" CreationDate="2011-03-25T00:43:05.527" UserId="29" />
  <row Id="13035" PostId="9932" Text="I can imagine a lot of young voices saying &quot;What's a serial port, grandpa?&quot;  In fact, I don't think this machine even has one.   " CreationDate="2011-03-25T00:45:14.477" UserId="2874" />
  <row Id="13036" PostId="9932" Text="I remember reading something about SysReq a few years ago.  If only I could google it when the machine is dead!   Guess I'd better get busy setting up a second machine..." CreationDate="2011-03-25T00:46:22.090" UserId="2874" />
  <row Id="13037" PostId="10066" Text="@xenoterracide: but even dbs must implement fast searching with something like arrays, db sounds an overkill. Source for picture-taking thing is here: https://github.com/fsphil/fswebcam. Perhaps, I could mod it a bit the time it saves the picture so I could append a line with inode-number&amp;unix-time-stamp to file. Now not with the pictures but line, it would be much faster to search for pictures. Or even more easily, each time a picture is saved to a disk, I append a line to a file of its time-stamp. Round-around solution. But won't solve the problem with current pictures so question relevant." CreationDate="2011-03-25T00:57:48.780" UserId="2362" />
  <row Id="13038" PostId="10066" Text="@hhh what filesystem are you using? or doesn't that matter yet... ext does has some performance enhancing features which may not be on by default. Though even those probably won't deal on the scale you're talking. DB's are optimized for these things and have various indexing solutions to deal with them. for example a btree index is not just a simple array..." CreationDate="2011-03-25T01:01:18.553" UserId="29" />
  <row Id="13039" PostId="9726" Text="@Gilles: This seems to be an interesting approach, but I need the sourced scripts to be in the same foo () { ... } definition, right? I was thinking about putting all function names I didn't want to source in an array, and somehow &quot;source&quot; receive it and don't source them. Well, I think it's not going to be possible. Interesting hack, anyways! " CreationDate="2011-03-25T01:06:32.307" UserId="2689" />
  <row Id="13040" PostId="10028" Text="And you could drop the compression flag and instead activate it in SSH (`ssh -C` or `Compression yes` in `~/.ssh/config`)." CreationDate="2011-03-25T01:06:40.887" UserId="5632" />
  <row Id="13041" PostId="10066" Text="@xenoterracide: ext3, not sure either whether it matters. I think the solution I illustrated fixes the problem for future search problem but it does not help at all with current photos, it is very time-consuming to search it." CreationDate="2011-03-25T01:07:00.350" UserId="2362" />
  <row Id="13042" PostId="10040" Text="@sauron for windows people I recommend they use [WinSCP](http://winscp.net/eng/index.php) or perhaps an ftp client that supports sftp, like [filezilla](http://filezilla-project.org/) all of this really just uses scp." CreationDate="2011-03-25T01:13:05.420" UserId="29" />
  <row Id="13043" PostId="10066" Text="@hhh as root do `tune2fs -l /dev/&lt;ext partition&gt;` look to see if filesystem features include `dir_index` honestly though I doubt it helps much in this case. I don't know if things like nepomuk or whatever gnome has... have cli clients... but almost every solution is going to need a pregenerated index, which will take a while to run." CreationDate="2011-03-25T01:26:24.473" UserId="29" />
  <row Id="13044" PostId="10001" Text="@hhh, I know nothing about WORMs so I can't advise. But isn't the simplest write-once read-many system simply called a writeable CD-ROM or DVD-ROM? The problem you have to deal with then is the physical protection of the media, plus know the tricks to read sessions when a new session overrides a previous one (it is quite easy with basic cd/dvd reader tools). Sure capacity is not huge, but cost is tiny." CreationDate="2011-03-25T02:40:11.243" UserId="3519" />
  <row Id="13045" PostId="10028" Score="1" Text="Never thought of using tar like this. Well, thats why I come here!" CreationDate="2011-03-25T03:13:00.180" UserId="4856" />
  <row Id="13046" PostId="10027" Text="sshd isn't necessary for those operations on the client machine." CreationDate="2011-03-25T05:05:05.207" UserId="1290" />
  <row Id="13047" PostId="10068" Text="What would be the purpose of the cluster?" CreationDate="2011-03-25T05:06:10.357" UserId="5685" />
  <row Id="13048" PostId="10066" Score="1" Text="Do you have millions of files in a single directory?  If so you might consider splitting them by one or two-levels deep subdirs, based on first chars of the file name, e.g: `a/b/abcdef.jpg`" CreationDate="2011-03-25T05:07:55.583" UserId="1946" />
  <row Id="13049" PostId="10072" Text="Compare the passwd and the shadow file manually line by line. Maybe some lines are out of order...." CreationDate="2011-03-25T07:05:48.723" UserId="3625" />
  <row Id="13051" PostId="9726" Text="@Somebody: I don't understand your comment. The function definitions need to be in the portable `foo ()` form and not in the ksh extension `function foo` form, but other than that you can effectively re-route any number of function definitions." CreationDate="2011-03-25T07:53:57.530" UserId="885" />
  <row Id="13052" PostId="10072" Text="@Dayjay i has manually checked 2 files, they has same line order" CreationDate="2011-03-25T08:28:05.450" UserId="6028" />
  <row Id="13053" PostId="10023" Score="1" Text="@hhh: Afraid not :-( The only thing I know about security is that I know too little to claim that I can design something that is *secure*. At best I can make things &quot;more secure&quot;. Have you asked at http://security.stackexchange.com/ ?" CreationDate="2011-03-25T08:33:38.423" UserId="5923" />
  <row Id="13054" PostId="10076" Text="I voted to close. Nobody could answer the question." CreationDate="2011-03-25T08:48:36.603" UserId="250" />
  <row Id="13055" PostId="10082" Text="Mmm... not really. You see, I'm part of a community of users whose needs are not really met by any existing distro, especially in regard to the kernel config and package management. We are all quite familiar with Linux, and have enough free time to try to make a distro of our own." CreationDate="2011-03-25T09:01:41.200" UserId="5589" />
  <row Id="13056" PostId="10083" Text="Almost, but not quite. That's more like making a custom Linux for one's own need. But my community would like a whole framework, e.g., custom kernels, custom init, custom package management, etc. How do we start?" CreationDate="2011-03-25T09:02:53.430" UserId="5589" />
  <row Id="13057" PostId="10035" Text="It is configured via environment variable ftp_proxy " CreationDate="2011-03-25T09:05:59.193" UserId="4815" />
  <row Id="13058" PostId="9910" Text="I wanted to get back to the office to test this. You are totally correct, sourcing the /etc/profile does trigger proper behaviour. You've now actually solved the problem that motivated me to ask this more generic question" CreationDate="2011-03-25T09:13:49.753" UserId="4821" />
  <row Id="13061" PostId="10081" Score="1" Text="Exactly, what do you want in a package manager? That is, for your needs, what's the weaknesses of APT, Zypp, Conary, Yum...?" CreationDate="2011-03-25T09:33:36.763" UserId="688" />
  <row Id="13062" PostId="10054" Text="What is it about an advanced package manager that reduces system flexibility? What are examples of advanced package managers? Examples of primitive ones?" CreationDate="2011-03-25T09:36:14.597" UserId="688" />
  <row Id="13063" PostId="10058" Text="Thank you for your answer, Frederik! I think I will try Arch :)" CreationDate="2011-03-25T10:08:07.377" UserId="6012" />
  <row Id="13064" PostId="9860" Text="If i am downloading from the main server, how was python2.6.6-2ubuntu2 installed? How do I reset my apt??" CreationDate="2011-03-25T10:10:27.327" UserId="236" />
  <row Id="13065" PostId="9860" Text="I tried `sudo aptitude install python=2.6.6-2ubuntu1` but aptitude asks me to remove virtually everything. look at the output. http://pastie.org/1712658" CreationDate="2011-03-25T10:11:13.270" UserId="236" />
  <row Id="13066" PostId="10054" Text="D4RIO, Tshepang: Thanks for your discussion. Gave me some insight. Thought about BSD, too. But I want the Linux kernel, because I had a lecture about it and want to digg further into it." CreationDate="2011-03-25T10:11:25.050" UserId="6012" />
  <row Id="13067" PostId="10081" Score="1" Text="Rather than explaining one-by-one, this is what we're after: (1) multiple level of 'stabilities' instead of simplistic &quot;testing-vs-stable&quot; (2) smart dependency solver (3) multi-versioning (in a limited sense, kind of like Gentoo Portage's SLOTs) (4) rollback (optional, due to snapshot ability of VM hypervisors, but still nice to have)" CreationDate="2011-03-25T10:47:14.260" UserId="5589" />
  <row Id="13068" PostId="10081" Text="Can you explain what *multiple levels of stability* means?" CreationDate="2011-03-25T10:58:12.590" UserId="688" />
  <row Id="13069" PostId="10084" Text="I have gone through [this](http://unix.stackexchange.com/questions/9883/how-can-i-run-a-script-immediately-after-connecting-via-ssh) question. But I still could not figure out how to run the commands in batch mode." CreationDate="2011-03-25T10:58:45.540" UserId="4950" />
  <row Id="13070" PostId="10081" Text="Is **`aptitude`**'s dependency solver advanced enough?" CreationDate="2011-03-25T10:59:39.203" UserId="688" />
  <row Id="13071" PostId="10084" Text="And can some one please create a tag #batchmode and tag this question to that?" CreationDate="2011-03-25T11:01:48.440" UserId="4950" />
  <row Id="13072" PostId="9974" Text="@Gilles, I have a father-father LPT cable. Is it possible to use it?" CreationDate="2011-03-25T11:07:58.557" UserId="5914" />
  <row Id="13073" PostId="10081" Score="4" Text="Every requirement you have set, is fulfilled by simply choosing an existing distro and creating your own repository (with maybe an alternative package manager) with your own defined release cycle. But you have rejected that option and also rejected the LFS option. Also, you mistakenly take the package manager as the critical stability factor, which is just a helper tool that by itself has little to do with overall system stability." CreationDate="2011-03-25T11:09:14.687" UserId="5666" />
  <row Id="13074" PostId="10085" Text="Hi johnny8888, I'm on a Solaris server and there is no manual entry for expect. Can you please elaborate your answer?" CreationDate="2011-03-25T11:12:05.237" UserId="4950" />
  <row Id="13075" PostId="10083" Text="Starting with LFS and building a whole framework on top of it, as described by you, is actually a definition of &quot;Starting your own linux distro&quot;." CreationDate="2011-03-25T11:23:36.907" UserId="5666" />
  <row Id="13077" PostId="10087" Text="@Arcege, thanks for the answer. That looks like it. I'm tweaking it a bit and trying it out now." CreationDate="2011-03-25T11:31:29.127" UserId="4950" />
  <row Id="13078" PostId="10081" Text="@Tshepang let's say there's a package &quot;A&quot;. the version that had been accepted as *really* stable is version 1.7.11. However, since 1.7.11, the maintainer has released versions 1.7.12 through 1.7.18. The last two are known to be buggy (.17 and .18). Others said that .16 is quite stable *for them*. Others recommend to stay with .11, or use any version between .12 to .15. So, with &quot;SL0&quot; as the least stable, .18 would be SL0, .17 maybe SL1, .16 is SL5, .15 SL10, .14 SL11, and so on." CreationDate="2011-03-25T11:36:20.397" UserId="5589" />
  <row Id="13079" PostId="8823" Text="@user5289 Is all you want.. to be able to play the video in a GUI (because 'mplayer' is certainly not a GUI)? ... or do you want to be able to set the time positions in a GUI (also)? .. because you can just use Smplayer to use your existing &quot;timed commands&quot; .. I've  written a script to do just that.. I'll post the script as and answer.. someone may find it interesing.. I certainly found your method interesting.. and I've just adapted it to Smplayer.. " CreationDate="2011-03-25T11:38:10.607" UserId="2343" />
  <row Id="13080" PostId="10081" Text="@forcefsck well, we don't reject the option of basing on an existing distro outright. we just feel that existing distros do not quite fulfill our needs in a simple way. that's why I am asking the question. i'll add another comment re: LFS below." CreationDate="2011-03-25T11:38:33.903" UserId="5589" />
  <row Id="13081" PostId="10083" Text="I may have misconstrued what I meant. My bad. What I meant was: LFS is a good guide to start a new distro, but that's it. No guide on building the rest of the distro framework on top... uh, am I clearer this time around?" CreationDate="2011-03-25T11:41:49.627" UserId="5589" />
  <row Id="13082" PostId="10081" Text="@pepoluan That's why we have multiple repositories. It's the role of the packager to determine to which repository will he put the package." CreationDate="2011-03-25T11:42:45.237" UserId="2671" />
  <row Id="13083" PostId="10068" Text="Modern clusters are build for a specific purpose. Usually for web app, or data storage. Maybe you can try [LVS](http://www.linuxvirtualserver.org/)." CreationDate="2011-03-25T11:42:58.857" UserId="5075" />
  <row Id="13084" PostId="10081" Text="@pepoluan: But you can use apt pinning for that, or am  missing anything? You can also put packages on hold. I do that with [one specific package](http://unix.stackexchange.com/q/4573/688), where later versions had some regression." CreationDate="2011-03-25T11:43:14.987" UserId="688" />
  <row Id="13085" PostId="10081" Text="Forget apt, simply use a RPM distribution. If someone wants a stable system he will simply use a stable repo, if he wants more current he can use testing, unstable, factory, devel repos. Where's the problem? And I'm talking about single packages from a specific repo." CreationDate="2011-03-25T11:44:45.983" UserId="2671" />
  <row Id="13086" PostId="10071" Text="so far I am thinking I need to 1- enable routing 2- run natd 3- make sure firewall is properly configured 4- make a peer to peer wireless network on wifi another option is to use  `sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.InternetSharing.plist ` the problem is I need at least a valid Snow Leopard .plist file for this to work." CreationDate="2011-03-25T11:52:59.723" UserId="3850" />
  <row Id="13087" PostId="10083" Text="@pepoluan: there is no guide on that. Once you have a running shell and core utils installed, you have an operating system. For the rest you either do copy from other distros or reinvent everything. Either way, creating a new distro requires a lot of work and there aren't any easy answers on how to do it." CreationDate="2011-03-25T12:12:41.247" UserId="5666" />
  <row Id="13088" PostId="10081" Text="@Let_Me_Be: Why *forget APT*?" CreationDate="2011-03-25T12:15:09.823" UserId="688" />
  <row Id="13089" PostId="10081" Text="When you end up doing this, please take some time to document what you did and how you did it. Despite all the distros out there, and Linux From Scratch, D.I.Y. Linux, etc, there's precious little about starting your own entire distro from scratch." CreationDate="2011-03-25T12:46:07.203" UserId="732" />
  <row Id="13090" PostId="10053" Text="@forcefsck Ok let me check" CreationDate="2011-03-25T12:51:33.410" UserId="6011" />
  <row Id="13091" PostId="10085" Text="@Srikanth http://linux.die.net/man/1/expect" CreationDate="2011-03-25T13:08:25.490" UserId="73" />
  <row Id="13092" PostId="10074" Score="1" Text="`updatedb` uses `find`." CreationDate="2011-03-25T13:20:11.313" UserId="4775" />
  <row Id="13093" PostId="10083" Text="@forcefsck thanks for the warning :) ... I agree, it will undoubtedly be a major undertaking. too bad there are no 'war stories' or somesuch, just to not repeat any mistakes." CreationDate="2011-03-25T14:11:02.143" UserId="5589" />
  <row Id="13094" PostId="10081" Text="@Bruse sure I will. since this is a major project, we will document each step of the way and share it." CreationDate="2011-03-25T14:12:54.527" UserId="5589" />
  <row Id="13095" PostId="10096" Score="1" Text="Obvious in hindsight, really. :)" CreationDate="2011-03-25T14:15:13.600" UserId="4949" />
  <row Id="13096" PostId="10096" Text="@Shadur: *painfully* :) I’d just never done it before, and the Google links I found first were for folks who had forgotten the root password." CreationDate="2011-03-25T14:18:04.177" UserId="5646" />
  <row Id="13097" PostId="10096" Score="1" Text="Should be `sudo passwd`, or just plain `passwd` if you are running with root privileges." CreationDate="2011-03-25T14:33:23.597" UserId="250" />
  <row Id="13098" PostId="10086" Text="@johnny8888: I have always just followed their instructions in patch files, I think it is good idea to let users to let review the patches. It keeps community closer to the development and it does not create other os style wrapper-wrapper-style messy coding. I usually run just the security patches and it is not that big case really and every time I learn something new about the system! Good to keep system clean without stupid bloat." CreationDate="2011-03-25T14:52:55.613" UserId="2362" />
  <row Id="13099" PostId="10096" Text="@phunehehe: ah, gotcha. Answer edited; do I need `root` after `sudo passwd` if I’m not running as root?" CreationDate="2011-03-25T15:03:26.883" UserId="5646" />
  <row Id="13100" PostId="10096" Score="1" Text="@Paul I took liberty in editing your answer. There are a few ways to run things as root, and when `passwd` is run as root, it defaults to modify the `root` user." CreationDate="2011-03-25T16:11:26.467" UserId="250" />
  <row Id="13101" PostId="10099" Text="I tried that, but must be putting it in the wrong place. grep -i-r --files-with-matches essay_ &quot;shoppermarketexpo&quot;&#xA;grep: invalid option -- -&#xA;Usage: grep [OPTION]... PATTERN [FILE]...&#xA;" CreationDate="2011-03-25T16:23:37.983" UserId="5740" />
  <row Id="13102" PostId="10099" Text="Never mind; I tried -l instead and it worked." CreationDate="2011-03-25T16:28:21.193" UserId="5740" />
  <row Id="13103" PostId="10054" Text="@Tshepang, I took a second to think and it's mostly because of the packages and distro itself. Not the PM. Anyway, the easy way to install software in Debian/SuSE/Arch implies using the PM with it's repos and depends." CreationDate="2011-03-25T16:34:52.980" UserId="5785" />
  <row Id="13104" PostId="10096" Text="@phunehehe: excellent, much appreciated." CreationDate="2011-03-25T16:35:35.960" UserId="5646" />
  <row Id="13105" PostId="156" Text="`GREP_OPTIONS` should be considered harmfull. I recommend to use `alias` instead. See here: https://bugs.launchpad.net/ubuntu/+bug/67141" CreationDate="2011-03-25T16:44:52.643" UserId="1170" />
  <row Id="13106" PostId="10054" Text="@D4RIO: I'm still curious what you meant by advanced vs. not-advanced package managers. Examples?" CreationDate="2011-03-25T16:45:09.850" UserId="688" />
  <row Id="13107" PostId="10054" Text="@D4RIO: What's nice about FreeBSD terminal interface? I haven't used it, so I'm wondering what I'm missing." CreationDate="2011-03-25T16:46:31.473" UserId="688" />
  <row Id="13108" PostId="10101" Score="1" Text="Wow, you must be the other person in the universe that understands that email isn't a filesystem!" CreationDate="2011-03-25T16:56:06.663" UserId="2827" />
  <row Id="13109" PostId="10101" Text="@pboin Unless, of course, you use M$ Outlook :( ... actually, some Unix mail programs use the Maildir/ format, where each message is a file, and mail folder is really a directory." CreationDate="2011-03-25T17:10:27.187" UserId="2267" />
  <row Id="13111" PostId="10074" Text="@dave1010, sure, but it does so in the background once in a while, so if it is acceptable to the OP to not necessarilly be up to date every minute, but maybe once a day, then schedule updatedb at a quiet hour (or schedule updatedb frequently but at a low priority, which is what it should be at anyway), then using locate is very quick to find what you want. So the key question is how up to date does the DB (or the index for any other such system) need to be." CreationDate="2011-03-25T17:13:59.157" UserId="3519" />
  <row Id="13112" PostId="10103" Text="**NOTE**: By Debian package management I'm referring to APT, aptitude, and dpkg. I'm not familiar with Arch tools, so I don't know if there's anything other than Pacman." CreationDate="2011-03-25T17:14:27.230" UserId="688" />
  <row Id="13113" PostId="10101" Text="@forcefsck I know I can patch Alpine to use maildir but really don't want to. Plus, I still don't think that solves my problem." CreationDate="2011-03-25T17:15:31.863" UserId="2267" />
  <row Id="13114" PostId="10106" Text="Oh, and my research shows that others are seeing artifacts like this in 'lsof -i'. I'm *not* seeing anything odd there." CreationDate="2011-03-25T17:43:16.733" UserId="2827" />
  <row Id="13115" PostId="9860" Text="@N 1.1: Don't try and downgrade to a specific version. It may be that 2.6.6-2ubuntu2 (for example) is now the current stable, so that would be the wrong thing to do. Also, try using apt-get not aptitude. First run `apt-get update`, then `apt-get install python/stable python-dev/stable`. This is basically what Frederik was suggesting above, but will force a downgrade to stable if necessary. Also, please update your output of `apt-cache policy vim python python-dev` above. Incidentally, using a username with no spaces would be preferable, I don't know if the notify system has problems with such." CreationDate="2011-03-25T17:48:31.887" UserId="4671" />
  <row Id="13116" PostId="10097" Text="Ahh, very informative, thanks! Yeah, I have no illusion that this would be a simple endeavour. Lucky I'm not alone. I'll gather the community and we'll bicker on who will do what :)" CreationDate="2011-03-25T18:09:12.717" UserId="5589" />
  <row Id="13118" PostId="156" Text="I agree that GREP_OPTIONS can be a problem in certain scripts. But as I argued in [bug 67141](https://bugs.launchpad.net/ubuntu/+bug/67141), GREP_OPTIONS allows the user set one option for many forms of grep (grep, egrep, fgrep, rgrep, zgrep, bzgrep, bzfgrep, bzegrep, etc.), whereas an alias will need to be set for every form of *grep, and there are many types of grep." CreationDate="2011-03-25T18:56:49.180" UserId="4" />
  <row Id="13119" PostId="9730" Text="JHBuild runs this `./configure --prefix /opt/gnome --libdir '/opt/gnome/lib'`." CreationDate="2011-03-25T19:19:15.843" UserId="688" />
  <row Id="13120" PostId="10111" Text="Have you tried adding the menu yourself (Right Click on panel --&gt; **Add to Panel** --&gt; **Main Menu?**)?" CreationDate="2011-03-25T19:24:08.103" UserId="688" />
  <row Id="13121" PostId="9974" Text="@Mike: You need a [null-printer cable](http://en.wikipedia.org/wiki/LapLink_cable), I don't know if all male-male parallel cables are suitable. Then you need to investigate [PLIP](http://en.wikipedia.org/wiki/Parallel_Line_Internet_Protocol) support. It looks like [NetBSD requires a patch](http://www.duskware.com/plip/). Of course, if you have a PCMICA slot, a PCMCIA Ethernet card would be faster. Even Ethernet over USB 1.0 (another possibility with your hardware) would be faster than parallel, I think." CreationDate="2011-03-25T19:28:34.247" UserId="885" />
  <row Id="13122" PostId="9730" Text="@Tshepang: Try running `configure` (or JHBuild itself) with `LDFLAGS='-rpath /opt/gnome/lib'` so that the generated binaries will look for shared libraries in `/opt/gnome/lib`. The option `--libdir` is useless here; it controls where libraries that you're building are installed, but `--prefix` already sets that same value." CreationDate="2011-03-25T19:33:04.073" UserId="885" />
  <row Id="13123" PostId="10111" Text="Yep but it doesn't work and I cannot set the wallpaper and overall the interface is somehow clunky." CreationDate="2011-03-25T19:33:37.123" UserId="6050" />
  <row Id="13124" PostId="10053" Text="@Faheem-Mitha Yes, that's why you need to use last, or lastb to read them... this wasn't very clear in my answer, so I've edited it to make it a bit more clear." CreationDate="2011-03-25T19:49:42.863" UserId="298" />
  <row Id="13125" PostId="10061" Text="Can you clarify your question a bit?  I'm not sure what you are looking to achieve.  Thanks." CreationDate="2011-03-25T19:52:29.413" UserId="298" />
  <row Id="13126" PostId="10095" Score="1" Text="To find this out for yourself, run `apropos password`: you'll get a list of commands that contain “password” in their short description. You can narrow the search a little with `apropos -s 1 password`: `-s 1` restricts to section 1 of the manual, which contains user commands." CreationDate="2011-03-25T19:55:49.383" UserId="885" />
  <row Id="13127" PostId="10085" Text="@Srikanth: `expect` is designed to interact with programs that expect to be running on a terminal. This is unrelated to the problem of running commands over ssh." CreationDate="2011-03-25T20:01:22.127" UserId="885" />
  <row Id="13128" PostId="10095" Text="@Gilles: that’s fantastic, I had no idea." CreationDate="2011-03-25T20:01:37.020" UserId="5646" />
  <row Id="13129" PostId="10086" Text="@hhh: Most people don't review the source code, or check that the provided binaries correspond to the source code. There's no point in specifically reviewing patches." CreationDate="2011-03-25T20:03:55.650" UserId="885" />
  <row Id="13130" PostId="10054" Text="advanced PM:  it will try to think for you&#xA;not-advanced: maybe ports&#xA;&#xA;FreeBSD terminal interface: No technicall &quot;wow&quot; differences, but better manual pages, better documentation overall, standard traditional UNIX console with nice features, very lightweight. The whole system makes me feel better. I feel Linux consoles are mixes of different text-based software, mostly working fine, when FBSD is one organized system with the same philosophy everywhere.&#xA;Install FreeBSD and test it, you'ill note the difference after a while." CreationDate="2011-03-25T20:11:58.707" UserId="5785" />
  <row Id="13131" PostId="10102" Text="This is incorrect. Snapshots have many more changes than just the patches listed in errata.  " CreationDate="2011-03-25T20:12:27.167" UserId="298" />
  <row Id="13132" PostId="10054" Text="Anyway, maybe it's subjective as every OS comparison: It's like comparing Ferraris and Porsches. Different styling, handling and brand image but they're both high-performance sports cars. Every user has it's own reasons." CreationDate="2011-03-25T20:14:11.373" UserId="5785" />
  <row Id="13133" PostId="10112" Text="Do you still need to compile patches from source? I've always wondered how you're supposed to manage an OpenBSD machine that's not powerful enough to recompile the system." CreationDate="2011-03-25T20:18:42.057" UserId="885" />
  <row Id="13134" PostId="10113" Score="1" Text="I guess that [PYTHONPATH](http://docs.python.org/tutorial/modules.html) could do the job. Look in &quot;6.1.2. The Module Search Path&quot;." CreationDate="2011-03-25T20:23:18.687" UserId="5661" />
  <row Id="13135" PostId="10112" Text="Yup.  Patches need to be compiled from source, or you need to install a current snapshot via a snapshot binary (but that is more than just the patches).  There are no binary patches provided by the project.  You can create your own releases from a more powerful machine of the same architecture if needed.  " CreationDate="2011-03-25T20:23:31.463" UserId="298" />
  <row Id="13136" PostId="10113" Text="I don't want to force everyone to have to PYTHONPATH defined. Isn't there a way to change the default?" CreationDate="2011-03-25T20:35:34.573" UserId="663" />
  <row Id="13137" PostId="9599" Text="Why K3b? Does it work better than it's competitors?" CreationDate="2011-03-25T20:51:33.757" UserId="688" />
  <row Id="13139" PostId="10102" Text="thank you for pointing that one out! - but is the snapshot install48.iso a consistent/stable release, and it could be used on production servers or not? Thank you!" CreationDate="2011-03-25T20:56:24.487" UserId="5664" />
  <row Id="13140" PostId="9989" Text="Can I compile for example FFMPEG there !?" CreationDate="2011-03-25T20:59:38.560" UserId="1924" />
  <row Id="13141" PostId="7258" Text="SO you can now adjust brightness using special laptop shortcuts, as in my case?" CreationDate="2011-03-25T20:59:52.817" UserId="688" />
  <row Id="13142" PostId="10106" Score="1" Text="Try `sudo netstat -tonp` to see which program this is occurring with. " CreationDate="2011-03-25T21:13:38.067" UserId="4520" />
  <row Id="13143" PostId="10102" Text="Many people run the snapshots on production servers.  It is *not* a release, however.  It's really just a build based on whatever is in the tree at the time it's taken.  It is rarely broken, but, that's not to say it can't be. There is a section on &quot;SNAPSHOTS&quot; in that first link I posted in my answer.  The important thing to note: &quot;There is no promise that the snapshots are completely functional, or even install.&quot;  If you are new to OpenBSD, the best place to start is with RELEASE, that is the 4.8 iso, not snapshots." CreationDate="2011-03-25T21:19:04.067" UserId="298" />
  <row Id="13144" PostId="10122" Text="sorry, $ is just the prompt, i dont type it. " CreationDate="2011-03-25T21:27:11.663" UserId="6027" />
  <row Id="13145" PostId="10121" Text="Does your remote machine show a .Xauthority file? The other obvious question is - are your ssh server and client configured to allow X forwarding? What command did you use to ssh?" CreationDate="2011-03-25T21:35:41.113" UserId="4671" />
  <row Id="13146" PostId="10121" Text="am I trying to forward X? I want the command to be executed on the host, not the client.  My ssh command is just ssh me@host      locate .Xauthority on the host computer doesnt match any files." CreationDate="2011-03-25T21:42:59.363" UserId="6027" />
  <row Id="13147" PostId="10121" Text="As Faheem suggests, there's a good change that your problem is due to `totem` not finding your X cookie, and you need to set `XAUTHORITY` to the proper value, i.e., the value in your regular session on your desktop. Read [Linux: wmctrl cannot open display when session initiated via ssh+screen](http://superuser.com/questions/190801/190878#190878) for some background; also see the related answer [As root can I launch a graphical program on another users desktop?](http://unix.stackexchange.com/questions/1596)." CreationDate="2011-03-25T21:49:13.760" UserId="885" />
  <row Id="13148" PostId="10121" Text="@justin: yes, the command is executed on your desktop, but does the totem window appear on your laptop? If so, that is X fowarding. If you are doing that, I wonder how you are handing the sound. And why are you setting DISPLAY manually? That is not usually done. The Xauthority file would be located at ~/.Xauthority on any machine." CreationDate="2011-03-25T21:51:10.077" UserId="4671" />
  <row Id="13149" PostId="10121" Text="@Gilles: Afaik it is not necessary to set .Xauthority manually. The whole process should be completely automatic. The first thing I would do is check your ssh server and client are configured properly for X forwarding. Second, check there is a ~/.Xauthority, and if not check your desktop has the necessary X programs installed to generate it." CreationDate="2011-03-25T21:55:16.580" UserId="4671" />
  <row Id="13150" PostId="10121" Text="@gilles 'but does the totem window appear on your laptop?' no, i'm basically using my laptop as a remote control" CreationDate="2011-03-25T21:56:08.453" UserId="6027" />
  <row Id="13151" PostId="10121" Text="OTOH, if you are trying to actually bring up totem on your desktop, the above does not apply, though I'd have to ask why you are doing it that way." CreationDate="2011-03-25T21:57:16.487" UserId="4671" />
  <row Id="13152" PostId="10121" Text="@justin: wrong attribution. :-) Ok, then ignore what I said above. I'm not familiar with that use case. And what Gilles said is probably the way to go." CreationDate="2011-03-25T21:58:12.803" UserId="4671" />
  <row Id="13153" PostId="10121" Text="@Faheem: There's nothing to do with `~/.Xauthority` if it exists. But if the `XAUTHORITY` environment variable is set (pointing to a different file) in the desktop session, justin must set it to the same value in the ssh session. Oh, and the reason justin is setting `DISPLAY=:0` is precisely so that totem will display on the desktop rather than through the forwarded X connection. The sound will be on the desktop as well unless there's some automatic sound forwarding (unlikely)." CreationDate="2011-03-25T21:59:02.710" UserId="885" />
  <row Id="13154" PostId="10121" Text="@Gilles: Right. I think you've got it figured out. Sorry for the noise." CreationDate="2011-03-25T22:00:29.120" UserId="4671" />
  <row Id="13155" PostId="10121" Text="@Gilles what to do if .Xauthority doesnt exist, xauth is installed... " CreationDate="2011-03-25T22:11:12.157" UserId="6027" />
  <row Id="13156" PostId="10121" Score="1" Text="alright, physically sitting at the computer and typing echo $XAUTHORITY gives  /var/run/gdm3/auth-for-jcress-bb32gX/database     in the ssh session, typing echo $DISPLAY = (the path above)  does not resolve the problem" CreationDate="2011-03-25T22:20:34.557" UserId="6027" />
  <row Id="13157" PostId="10121" Text="I blame GDM3, why couldn't they have just kept `$XAUTHORITY` at `~/.Xauthority` like everybody expects it to be." CreationDate="2011-03-25T22:24:38.717" UserId="3459" />
  <row Id="13158" PostId="9808" Text="After removing the `fglrx-glx` and `fglrx-driver` packages (which were supposedly not used, I saw no trace in any log) and **installing `libgl1-mesa-glx` in place of `libgl1-mesa-swx11`**, XVideo works. Thank you!" CreationDate="2011-03-25T22:46:18.130" UserId="885" />
  <row Id="13159" PostId="9989" Text="Well, you can.  I'm not sure why you'd want to since 'apt-cache search ffmpeg' shows me someone else already has!" CreationDate="2011-03-25T23:06:29.417" UserId="5824" />
  <row Id="13160" PostId="10126" Score="1" Text="One way to automate this would be to create a `~/.xprofile` which should only be run during the the X login and have it create/update `~/.Xauthority` with the correct info. Would a symbolic link be enough?" CreationDate="2011-03-25T23:16:36.320" UserId="3459" />
  <row Id="13161" PostId="10104" Text="Thanks for the answer. But this does not seem to help me, as even on a cold boot  with the docking station on, the speakers are simply quiet" CreationDate="2011-03-25T23:17:27.787" UserId="5919" />
  <row Id="13162" PostId="10126" Text="@Arrowmaster: That's a good suggestion. I hadn't thought of it. It won't work in all cases, for example if you log into more than one X session (on different terminals, with vnc, …), but it's simple, and it's good enough for typical use. A symbolic link is the best way. Hmm, actually there's a better, simple way: you can *copy* the information into `~/.Xauthority`." CreationDate="2011-03-25T23:21:49.767" UserId="885" />
  <row Id="13164" PostId="10126" Text="Would putting something like `xauth extract - $DISPLAY | xauth -f &quot;$HOME/.Xauthority&quot; merge -` in `~/.xprofile` solve the case of multiple $DISPLAY's?" CreationDate="2011-03-25T23:52:48.237" UserId="3459" />
  <row Id="13165" PostId="10126" Text="@Arrowmaster: What problem do you see with multiple displays? While your code may be a little cleaner in principle since you're only extracting information about the display you're interested in, I don't see anything wrong with a simple merge in the asker's case, or indeed outside very unusual circumstances." CreationDate="2011-03-25T23:58:50.750" UserId="885" />
  <row Id="13167" PostId="6090" Text="@KeithB Not only that, it's not even required in Linux; it's a kernel option" CreationDate="2011-03-26T00:04:09.493" UserId="73" />
  <row Id="13168" PostId="10126" Text="I came up with that before I noticed your edit. I based it mostly on the xauth man page example for merging across hosts with ssh. In this case I'm guessing the $XAUTHORITY created by GDM3 will only contain a single entry so your method with a single xauth call seem simpler." CreationDate="2011-03-26T00:07:12.173" UserId="3459" />
  <row Id="13169" PostId="10127" Text="Maybe there is a /debian tag missing?" CreationDate="2011-03-26T00:10:31.057" UserId="5785" />
  <row Id="13170" PostId="10064" Text="A change-list is the set of files in a revision record in the repository, this is read-only.  You cannot modify a record after the fact in Subversion.  If you are asking to commit all modified files, then you would commit based on the top of the tree." CreationDate="2011-03-26T01:15:40.603" UserId="4194" />
  <row Id="13171" PostId="10113" Text="lorin, you can either set an environment variable (like PYTHONHOME), copy the python executable, create a wrapper script, copy the executable to a different directory, or recompile the program to use a path other than the program directory." CreationDate="2011-03-26T01:29:19.693" UserId="4194" />
  <row Id="13172" PostId="10120" Text="I wrote that there were no PIDs, but didn't show my work.  I made a quick edit per your suggestion, thanks." CreationDate="2011-03-26T02:06:50.133" UserId="2827" />
  <row Id="13173" PostId="10133" Text="or simply &quot;screen -RR&quot; as suggested by David :D" CreationDate="2011-03-26T03:36:38.017" UserId="6058" />
  <row Id="13174" PostId="10120" Text="@opboin: Added comments on ports without PIDS (kernel services). " CreationDate="2011-03-26T05:42:14.413" UserId="4520" />
  <row Id="13175" PostId="10127" Text="Are you saying that a Debian package installed in /opt? If so, it is doing the wrong thing. I also have a Google Chrome application (not currently installed) that installed in /opt. Everything that is managed by the package system should go into the main system." CreationDate="2011-03-26T06:52:29.313" UserId="4671" />
  <row Id="13176" PostId="10127" Text="On looking this more carefully, I could not find a clear statement in policy that Debian package installation (regardless whether it is official or not) should not install in /opt, though I have the strong impression that this should not be done, and there are various comments on the net that doing so is the wrong thing. If I find anything more definite I'll post it. AFAIK, Debian does not expect or require non-official packages to install in a different place from the official packages." CreationDate="2011-03-26T07:11:19.657" UserId="4671" />
  <row Id="13177" PostId="10136" Text="Thank you for quick answer. This almost works, only file contents is bit mangled. It should be in HTML, but instead, when I open the file there's some weird symbols, see the screenshot: http://www.upload.ee/image/1223166/ss_01.png. Program's name is live-f1." CreationDate="2011-03-26T08:30:56.673" UserId="6061" />
  <row Id="13178" PostId="10137" Text="This answer was taken from the OP's updates. All I did was to reformat and reword a little bit." CreationDate="2011-03-26T08:42:40.537" UserId="250" />
  <row Id="13179" PostId="10136" Text="That looks funny. Are you sure that the program only outputs HTML? Is there any animation or something weird?" CreationDate="2011-03-26T08:47:54.623" UserId="250" />
  <row Id="13180" PostId="10136" Text="This will only redirect standard output. Is standard error required as well?" CreationDate="2011-03-26T09:00:08.173" UserId="4671" />
  <row Id="13181" PostId="8823" Text="@fred.bear, yes the point is, that I want to be able to set the time positions in a GUI, edit the whole playlist in a GUI in some comfortable way. (Playing in a GUI is not important)" CreationDate="2011-03-26T09:11:34.657" UserId="5289" />
  <row Id="13182" PostId="10136" Score="2" Text="@Gustav There's [ANSI codes](http://en.wikipedia.org/wiki/ANSI_escape_code) trapped in there too. Either your application outputs some sort of progress counter (Which is what it looks like), or colours its output, or similar. If there is some way to turn this off then you will need to use it to capture clean output. Your application doesn't output HTML though, so to capture HTML you will need some other application to translate the output." CreationDate="2011-03-26T09:14:14.423" UserId="5951" />
  <row Id="13183" PostId="4127" Score="1" Text="`Linux-console is system console in Linux` is a tautology. It explains nothing. " CreationDate="2011-03-26T09:40:59.630" UserId="4485" />
  <row Id="13184" PostId="10136" Text="Why I'm saing it's HTML, because I got it work year ago, but have reformated the disk where I had the working enviroment. My goal is to get Formula 1 drivers' positions from live-f1 feed into a file. I got it work last year by running live-f1 program in 1st terminal, then fireing up 2nd terminal and using some command what captured 1st terminal screen and saved it to a file (copy from last year's file: http://www.upload.ee/download/1223347/0b6545ce227661452c8/html.log). Command was something like that: tty &quot;1st terminal pointer&quot; &quot;filename&quot; &quot;interval&quot;" CreationDate="2011-03-26T10:13:26.750" UserId="6061" />
  <row Id="13185" PostId="10139" Text="I'll look into it." CreationDate="2011-03-26T10:13:43.910" UserId="6061" />
  <row Id="13186" PostId="10132" Text="When doing the netstats, I had full privs, yes.  I'll go check out the kernel processes angle -- that's a good idea.  I'm really stumped, because there aren't supposed to be any listening sockets at all, except for two or three well-known privileged ports.  Maybe it's a wierd iptables problem.  I'll check that out too." CreationDate="2011-03-26T11:33:47.083" UserId="2827" />
  <row Id="13187" PostId="10143" Text="@cartoonist you can't lock them, but you can choose what is and isn't displayed." CreationDate="2011-03-26T11:38:02.947" UserId="29" />
  <row Id="13188" PostId="9535" Text="`find` can call grep without xargs invocation, see `-execdir`, but in this case, the called program `grep` can iterate itself. " CreationDate="2011-03-26T12:06:48.100" UserId="4485" />
  <row Id="13189" PostId="9531" Text="$i should be $1, and $1 and $2 should be quoted to allow blanks and such in filenames and search-word." CreationDate="2011-03-26T12:07:57.443" UserId="4485" />
  <row Id="13190" PostId="10075" Score="1" Text="ls and find aren't builtins in either bash or zsh, so it's unclear how switching shells would help in this instance." CreationDate="2011-03-26T12:22:10.070" UserId="2510" />
  <row Id="13191" PostId="8098" Text="@intuited: The reason Screen sets `TERM=screen` is that applications running inside are communicating inside a Screen terminal: the control sequences they send and receive are those of Screen, not those of whatever terminal Screen itself is being displayed. Since you can detach a Screen session and reattach it to a different type of terminal, this layer of indirection is necessary." CreationDate="2011-03-26T12:31:47.483" UserId="885" />
  <row Id="13192" PostId="10093" Text="Thanks zarkdav running like a charm. Which distro if you don't mind?" CreationDate="2011-03-26T12:42:50.253" UserId="6018" />
  <row Id="13193" PostId="9180" Text="@Terenzio: What do you mean by spot usage? A BT client running on your local machine?" CreationDate="2011-03-26T13:06:19.510" UserId="4671" />
  <row Id="13194" PostId="10071" Text="Another solution I tried is to use a virtual machine (I use an Ubuntu VM in Parallels) to do the connection sharing. It works but it's too much work. " CreationDate="2011-03-26T13:10:45.050" UserId="3850" />
  <row Id="13195" PostId="10093" Text="You're welcome Allan. I've been using it for Jolicloud." CreationDate="2011-03-26T14:41:58.450" UserId="651" />
  <row Id="13196" PostId="9979" Score="1" Text="Unless you are trying to execute your application from the flash (ie, not copy it into ram) it may be simplest to use a file system rather than try to figure out how to go without.  If you are planning to execute from flash, realize this will be substantially slower than ram unless you can stay in the processor cache almost all of the time." CreationDate="2011-03-26T14:54:26.083" UserId="6068" />
  <row Id="13197" PostId="5593" Text="Your pastebin has vanished :( Also try tracerouting to the 10. address &#xA;to see what happens. Is your OpenWRT firewall doing DHCP/NAT? If so, &#xA;what does your local IP address look like (ie, 192.168.*?). I suspect your firewall is giving you a 10. address with a 255.0.0.0 netmask, making it think your university's nameserver is local and it doesn't need to route traffic for it. Also try 'netstat -rn'&#xA;" CreationDate="2011-03-26T15:36:02.027" UserId="2267" />
  <row Id="13198" PostId="8439" Text="When you do &quot;ctrl-a i&quot;, do you see &quot;-flow&quot; or &quot;+flow&quot;? Or try running screen w/o your .screenrc to see if this still happens." CreationDate="2011-03-26T15:40:42.417" UserId="2267" />
  <row Id="13199" PostId="4578" Text="I've gotten this error when I ran out of memory on a small (64M) VM." CreationDate="2011-03-26T15:42:53.523" UserId="2267" />
  <row Id="13200" PostId="10035" Text="Silly question: is your proxy server also an FTP proxy server? An HTTP proxy server uses the &quot;Host:&quot; line to figure out what page to grab. An FTP proxy server would have to be more clever (ie, know the IP address it's intercepting)." CreationDate="2011-03-26T15:45:17.873" UserId="2267" />
  <row Id="13201" PostId="9455" Text="What does &quot;dhclient -d&quot; tell you?" CreationDate="2011-03-26T15:50:00.400" UserId="2267" />
  <row Id="13202" PostId="6964" Text="I'm with you and betting the password expired, something that doesn't happen to the root account." CreationDate="2011-03-26T15:51:31.007" UserId="2267" />
  <row Id="13203" PostId="6660" Text="Can you type &quot;ctrl-a : reset&quot;, or is even the screen escape key frozen?" CreationDate="2011-03-26T15:54:04.390" UserId="2267" />
  <row Id="13204" PostId="10151" Text="Thanks. APF is at least part of the problem. I had over 500 lines mention iptables in 50 files. `iptables` has been made completely useless by this thing." CreationDate="2011-03-26T16:04:36.150" UserId="2180" />
  <row Id="13205" PostId="9531" Text="Whoops, my bad. Fixed." CreationDate="2011-03-26T16:13:49.497" UserId="4949" />
  <row Id="13206" PostId="10149" Score="2" Text="I don't know why you disclaim anything here, you didn't actually answer the question here... It's generally considered bad behavior for your answer to simply be a link." CreationDate="2011-03-26T16:17:51.347" UserId="29" />
  <row Id="13207" PostId="10138" Text="Completely agree that a package should not install to /opt, especially if it puts files elsewhere too like in /usr/bin. Imho /opt should contain completely self contained software so you can nuke it from orbit by simply just deleting it from /opt." CreationDate="2011-03-26T16:59:22.937" UserId="3459" />
  <row Id="13208" PostId="6660" Text="@barry I never did try `reset`, although I don't think it work work as changing windows is also frozen. " CreationDate="2011-03-26T17:01:31.610" UserId="2630" />
  <row Id="13209" PostId="10151" Text="Okay, I found the original problem; it was indeed APF. APF made `iptables` completely unusable, but APF itself was configurable via `/etc/apf/conf.apf`." CreationDate="2011-03-26T17:42:55.913" UserId="2180" />
  <row Id="13210" PostId="10153" Text="This is good, I'm hoping for something better since there are 1000 rules and 1000s of dropped packets." CreationDate="2011-03-26T17:49:41.217" UserId="2180" />
  <row Id="13211" PostId="10153" Text="Use `sort` to sort rules by packet counter." CreationDate="2011-03-26T17:53:18.117" UserId="1987" />
  <row Id="13212" PostId="9944" Text="Though people below cover initrd, there is little discussion about why initrd is used. My impression is that is because distributions like Debian want to use one kernel on many different machines of the same architecture, but possibly widely different hardware. This is made possible by modularizing hardware support via kernel modules. The initrd does not require much hardware support to boot, and once it does, it loads the necessary hardware modules to proceed. Elaborations/corrections to this are appreciated." CreationDate="2011-03-26T18:32:17.543" UserId="4671" />
  <row Id="13213" PostId="9946" Text="@geekosaur: Will the possibility of loading grub2 modules make initrd obsolete? I believe grub2 modules can be used to load hardware support, but I'm not really familiar with either initrd or grub2. See my comment to the original question above." CreationDate="2011-03-26T18:34:52.490" UserId="4671" />
  <row Id="13214" PostId="9946" Text="@Faheem: grub2 modules are not the same as kernel modules.  I see some ability for grub2 to load kernel modules, but one thing I don't know is whether that will work for the Linux kernel or only for \*BSD (where the bootloader loading kernel modules is normal).  I suspect the kernel needs to be taught where to find the address map for loaded modules, *and* everyone needs to move to grub2 (grub1 is still standard in some distributions)." CreationDate="2011-03-26T18:41:08.057" UserId="5325" />
  <row Id="13215" PostId="9599" Text="The main issue with k3b is that it uses growisofs' crufty UDF support." CreationDate="2011-03-26T19:05:27.913" UserId="5859" />
  <row Id="13216" PostId="10156" Text="I figured out after asking this question that the rules are from APF, and I was able to fix that. I love the TRACE target, though. That would have been very effective." CreationDate="2011-03-26T19:21:15.213" UserId="2180" />
  <row Id="13217" PostId="9455" Text="-d forces dhclient to run in foreground, even when it has configured an interface" CreationDate="2011-03-26T19:37:11.120" UserId="5785" />
  <row Id="13218" PostId="9455" Text="I meant -v, sorry. I was thinking of dhcpcd" CreationDate="2011-03-26T19:51:01.733" UserId="2267" />
  <row Id="13219" PostId="3009" Text="I remember the old days when the B/b letter wasn't used, i.e. we'd say 64K RAM instead of 64KiB RAM." CreationDate="2011-03-26T19:51:32.280" UserId="3389" />
  <row Id="13220" PostId="8098" Text="@Gilles: Thanks, I suspected something like that.  What sorts of problems could arise from resetting it to `xterm`?" CreationDate="2011-03-26T20:10:10.590" UserId="1535" />
  <row Id="13222" PostId="2142" Text="@jrtayloriv: spot-on. The reality and the broad marketing do divert a lot, stones to the deep marketing really. It is a bit like Micro.* marketing W[^s]*s all-the-time as W[^s]*s although W[^s]*s died when they stopped support, not mentioning that it is actually W[^s]*s NT -dev branch. I am giving -1 for this suggestion because it does not define the term `linux phone`, it is very misleading term to use without explanations because the marketing and the reality divert again. Any idea about the other phones like WebOS, FreeRunner or Palm Pre?" CreationDate="2011-03-26T22:13:06.663" UserId="2362" />
  <row Id="13223" PostId="2144" Text="@Broam: any idea whether this phone have features like real shell (no busy-box abstraction) or other features outlined in my answer?" CreationDate="2011-03-26T22:16:17.507" UserId="2362" />
  <row Id="13225" PostId="2143" Score="1" Text="@Wes Hardaker: I once tried that toy and I got fed up with bad the keyboard and such things, then I bought N810 supposingly better keyboard but it was very slow to use. I wish there was a phone a bit like G1 (with good keyboard) but more engaging-deep-marketing. I want to know more about the phone, not just chrooting. I want multitasking-shells by default and such things. Any ideas why they are not there? It would be cool to have some sort of realistic power phone with many IOs like RS232 and such things so I could use it in more applications. kosh things are getting bad now with the Trojan." CreationDate="2011-03-26T22:28:08.217" UserId="2362" />
  <row Id="13226" PostId="2143" Text="@hhh: you can edit the keymap to make the keys be whatever you want.  EG, adding a tilde and other things requires messing with the keymap." CreationDate="2011-03-26T22:45:07.600" UserId="5824" />
  <row Id="13227" PostId="2143" Text="@hhh: I'm not trying to push the N900, FYI...  But you keep asking questions!  it does support chrooting and certainly has multi-tasking shells (and I'm not sure why you seem to think it doesn't)." CreationDate="2011-03-26T22:47:06.583" UserId="5824" />
  <row Id="13228" PostId="9535" Text="xargs will be more efficient, as it will call grep with several filenames at once, instead of one at a time using -exec" CreationDate="2011-03-26T23:25:17.893" UserId="4667" />
  <row Id="13229" PostId="2143" Text="@Wes Hardaker: it has multitasking gui but not shells as far as I know and by chrooting you may get multitasking-shell-abstraction. Try `CTRL+ALT F&lt;numb&gt;` to switch between the modes and then compare that to your desktop machine, it should work much differently, of course, there may be some abstraction. The things I want to is a desktop-style `CTRL+ALt F&lt;numb&gt;` functionality, haven`t found it in any phone yet." CreationDate="2011-03-27T00:33:18.127" UserId="2362" />
  <row Id="13230" PostId="2143" Text="@Wes Hardaker: always when you change from defaults, you are playing with fire. I would not touch a toy with poor defaults, hints deeper probs although it can still be fun for a time. As I said G1 was superb in usability (keyboard etc) but they went to mess up with things and when you come up to read too much obfuscated code, I got enough. I am fine with a laptop, communicator and 1110 phone. They work to some extent, although far a way from perfect but better than almost ready gizmos. I cannot believe that people are satisfied with poor products, why don't you ask for quality?" CreationDate="2011-03-27T00:45:49.570" UserId="2362" />
  <row Id="13231" PostId="9455" Text="from the manpage:&#xA;`       The  client  normally prints no output during its startup sequence.  It&#xA;       can be made to emit verbose messages displaying  the  startup  sequence&#xA;       events  until  it  has  acquired an address by supplying the -v command&#xA;       line argument.`" CreationDate="2011-03-27T01:19:50.323" UserId="5785" />
  <row Id="13232" PostId="9599" Text="@Tshepang: No reason. It's an example of an easy method any of the similar programs should work." CreationDate="2011-03-27T03:38:45.713" UserId="4477" />
  <row Id="13233" PostId="10142" Text="The packages are for openSUSE and I'm installing them on SLES. Fixing the packages is the right way to do it, but I'm still curious about the answer to the question." CreationDate="2011-03-27T04:03:11.030" UserId="663" />
  <row Id="13234" PostId="10138" Text="Okay great responses thanks but it is installed to /opt by default.  If not to /opt, then where should I install it to?  And how to do so using dpkg?" CreationDate="2011-03-27T08:39:55.580" UserId="6055" />
  <row Id="13235" PostId="2143" Score="2" Text="hhh:  Ahh...  that's not shell multitasking, that's terminal virtualization.  I suspect on the N900 you could write something to switch between open xterm windows which would be similar, and then bind it to a key, but you're right that functionality isn't there now." CreationDate="2011-03-27T08:44:25.547" UserId="5824" />
  <row Id="13236" PostId="10138" Text="@Duke: If you can get the source of the deb package, you can rebuild the deb to install into the system like regular packages. This will require a little bit of work if you are not already familiar with the procedure, but imo that is the correct thing to do here." CreationDate="2011-03-27T08:54:35.563" UserId="4671" />
  <row Id="13237" PostId="10019" Text="Error parsing option on the command line: -dvd-device=/path/to/copy_on_hdd/&#xA;MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team" CreationDate="2011-03-27T09:31:18.073" UserId="5664" />
  <row Id="13238" PostId="9917" Text="i was trying with Google Chrome so it has a built-in up-to-date flash plugin!" CreationDate="2011-03-27T09:32:27.293" UserId="5664" />
  <row Id="13239" PostId="10019" Text="Oh, it seems it should be without '=', but with space. I've updated answer" CreationDate="2011-03-27T10:06:28.377" UserId="4523" />
  <row Id="13240" PostId="10167" Text="do you mean `cut -d' ' -f1`?" CreationDate="2011-03-27T11:53:53.920" UserId="5666" />
  <row Id="13241" PostId="10167" Score="1" Text="could you post how you're using that? cut leaves the line endings intact, i'm guessing you're using the output of cut in a way that's replacing them." CreationDate="2011-03-27T12:16:28.150" UserId="5842" />
  <row Id="13242" PostId="10170" Text="You are right, I forgot to add quotes when tested it with echo." CreationDate="2011-03-27T12:52:46.023" UserId="6080" />
  <row Id="13243" PostId="10143" Text="Thanks @xenoterracide! I want something like MS Windows 7. In windows or (more or less) in Gnome, I can specify the location of each icon." CreationDate="2011-03-27T13:21:22.410" UserId="3327" />
  <row Id="13246" PostId="10143" Text="@cartoonist might want to bug plasma people. only settings I know available are in the system tray settings which is available by right clicking it (esp the area where you have hidden icons). I don't know what Windows 7 or Gnome does, I don't use either." CreationDate="2011-03-27T13:51:26.283" UserId="29" />
  <row Id="13248" PostId="557" Text="@andre there's been a long standing patch for vertical split in screen... that was never incorporated into upstream... but I'm sure many distro's applied it." CreationDate="2011-03-27T14:05:24.120" UserId="29" />
  <row Id="13250" PostId="888" Text="@maciej yeah my TE supports scrolling and screen breaks it... I have to scroll with screen. -1 does not appear to be accurate." CreationDate="2011-03-27T14:06:31.560" UserId="29" />
  <row Id="13253" PostId="10175" Text="I can't parse this: *but I can do without it and by the way know what I do better*. There is also a typo on the last sentence." CreationDate="2011-03-27T14:52:33.743" UserId="688" />
  <row Id="13256" PostId="10176" Text="Are you linking other libraries? If so, they might pull in the math library." CreationDate="2011-03-27T15:04:45.560" UserId="4671" />
  <row Id="13257" PostId="10176" Text="The rest of the standard library, especialy stdio.h." CreationDate="2011-03-27T15:09:09.470" UserId="5089" />
  <row Id="13258" PostId="10175" Text="What language is the pacman package manager written in? Does it have low level and high level package management functionality similar to dpkg/apt, and if so, what are they called?" CreationDate="2011-03-27T15:10:40.347" UserId="4671" />
  <row Id="13259" PostId="10177" Text="Ok, it is like achieve to compile without including a necessary file and discover after and update of gcc that the project does not compile any more. Thx" CreationDate="2011-03-27T15:22:33.280" UserId="5089" />
  <row Id="13260" PostId="10176" Text="What linker flags are you using?" CreationDate="2011-03-27T15:40:36.537" UserId="4671" />
  <row Id="13261" PostId="10178" Text="There is no equivalent of apt-get's --reinstall flag?" CreationDate="2011-03-27T15:41:42.340" UserId="4671" />
  <row Id="13263" PostId="10178" Text="@faheem considering that arch hasn't released libwww 6 yet... even if there was it wouldn't work right in this scenario" CreationDate="2011-03-27T15:44:36.093" UserId="29" />
  <row Id="13264" PostId="10178" Text="@xenoterracide: Sorry, I didn't follow your response at all (I assume libwww is something to do with the package you are trying to install) but please don't feel you need to explain on my behalf. :-)" CreationDate="2011-03-27T15:47:41.183" UserId="4671" />
  <row Id="13265" PostId="10178" Text="@faheem it's [LWP](http://search.cpan.org/dist/libwww-perl-6.02/lib/LWP.pm). but we can normally just reinstall a package by requesting it's install again... that doesn't help in this case though because it's non in arch repo's and I need to uninstall this and upgrade it without using arch repo's, and since the package was split, I had file conflicts." CreationDate="2011-03-27T15:51:04.963" UserId="29" />
  <row Id="13266" PostId="10178" Text="@faheem also please note that Arch is not debian, and have no idea how debian's `apt-get --reinstall` works." CreationDate="2011-03-27T15:51:46.133" UserId="29" />
  <row Id="13267" PostId="10176" Text="None at all, but Mat answered me." CreationDate="2011-03-27T15:54:45.530" UserId="5089" />
  <row Id="13268" PostId="10178" Text="@xenoterracide: You want a more recent version of this perl-www package than is in arch? So you are trying to uninstall the installed arch version to do a local install of the more recent version, or something like that? Why not just make a package? It is probably not difficult." CreationDate="2011-03-27T15:57:58.947" UserId="4671" />
  <row Id="13269" PostId="10178" Text="@xenoterracide: `apt-get install --reinstall` reinstalls the package without attempting to remove its dependencies. This can be useful in certain circumstances." CreationDate="2011-03-27T16:00:23.283" UserId="4671" />
  <row Id="13270" PostId="10175" Text="@Tshepang: sorry, non-native english speaker here. I meant &quot;this is not a big deal for me to not have this functionnality (debconf) and by forcing me to do things manually it forces me to know what exactly is done&quot;." CreationDate="2011-03-27T17:27:13.907" UserId="1733" />
  <row Id="13271" PostId="10175" Text="@Faheem Mitha: Pacman is written in C, and is a frontend to libalpm, which handles both &quot;high-level&quot; and &quot;low-level&quot; package management." CreationDate="2011-03-27T17:32:02.997" UserId="1733" />
  <row Id="13272" PostId="8098" Text="Not much, because xterm and screen are mostly compatible. But each has a few capabilities that the other one doesn't, and if you lie to applications, they might use a capability that doesn't actually work. Compare the output of `infocmp screen` and `infocmp xterm`, and the [screen escape sequences](http://www.gnu.org/software/screen/manual/screen.html#Virtual-Terminal) with the [xterm escape sequences](http://invisible-island.net/xterm/xterm.faq.html#ctlseqs_ms). I don't have a breakdown to offer; most applications won't mind, but a few might behave annoyingly." CreationDate="2011-03-27T17:32:50.540" UserId="885" />
  <row Id="13273" PostId="10175" Text="@zanko: I'm not a native speaker either. All I wanted you to do is make the sentence clearer, and not in a comment, but on the post itself. BTW, the typo I mentioned is *optionnal*. I could edit the post myself, but I thought you might as well fix it together with the clarification part." CreationDate="2011-03-27T17:41:53.830" UserId="688" />
  <row Id="13274" PostId="10168" Text="Have you tried using `ffmpeg`?" CreationDate="2011-03-27T17:56:41.213" UserId="4962" />
  <row Id="13275" PostId="10175" Text="@zanko: Ok. thanks for the information." CreationDate="2011-03-27T17:59:41.447" UserId="4671" />
  <row Id="13276" PostId="10168" Text="No I haven't. Never really used it before on the CLI to be honest. Someone told me about [this](http://freshmeat.net/projects/flac2mp3/) Perl script. I'll try that tomorrow and report back as it's late now." CreationDate="2011-03-27T18:26:13.520" UserId="5770" />
  <row Id="13277" PostId="9535" Text="`gnu find` can handle mutliple filenames at once too: `find . -name &quot;$1&quot; -exec grep --color $2 -- {} +` if ended with + instead of &quot;;&quot;" CreationDate="2011-03-27T19:59:01.273" UserId="4485" />
  <row Id="13278" PostId="10183" Text="`formatoptions+=a` is very useful, thanks!" CreationDate="2011-03-27T20:18:09.830" UserId="3447" />
  <row Id="13279" PostId="10185" Text="I edited my question so it reflects more clearly my concerns." CreationDate="2011-03-27T20:24:29.950" UserId="2897" />
  <row Id="13280" PostId="10178" Text="@fatheem ... sigh... that is exactly what I'm doing... but because it has been split into many packages... the new packages conflict with the old and it must be removed before they can be installed. Otherwise there are conflicting files. I don't know how debian handles package file ownership conflicts, but arch and gentoo will both yell at you if another package owns the files and you try to install it. It can be overridden but because of how I made the package... a general overriding would be less easy than removing it and then installing the new." CreationDate="2011-03-27T20:35:53.747" UserId="29" />
  <row Id="13281" PostId="10187" Text="Have you (perhaps accidentally) been using a non-ASCII character that would switch to a right-to-left display? Does the problem persist if you page up and down? What if you close and reopen the file?" CreationDate="2011-03-27T21:54:31.070" UserId="885" />
  <row Id="13282" PostId="4578" Text="@barrycarter - me too." CreationDate="2011-03-27T22:09:00.160" UserId="1594" />
  <row Id="13283" PostId="10186" Text="Thanks Kambus! That pretty much does the trick. The majority of the tags I want are now there, post-transcode: Title, Album, Artist, Year, Track Number. The CD field (1/1, 1/2, etc.) hasn't made it across, and neither has the field for the 'Track Number _Of_'. But this doesn't really bother me. Interestingly I tried this script on a directory containing 'Trip Hop' music. The tags were kept in tact but the script changed the Genre from 'Trip Hop' to 'Trip-Hop'. So I guess it's relying on a database of known genres there. Thanks very much once again for your input!" CreationDate="2011-03-27T22:28:59.627" UserId="5770" />
  <row Id="13284" PostId="10192" Text="Obvious comment, but check the script has executable permissions." CreationDate="2011-03-27T22:49:22.400" UserId="4671" />
  <row Id="13285" PostId="10194" Text="Positive that the script was not deleted - it worked again afterwards. `echo $PATH` produced the same output in the inner and outer ksh, but perhaps it's possible for that to be wrong or misleading?" CreationDate="2011-03-27T23:37:52.003" UserId="6091" />
  <row Id="13288" PostId="10196" Text="@whichislying: Oh right, I should have mentioned that too. See [that previous related question](http://unix.stackexchange.com/questions/9196/find-a-file-in-the-path-without-which). `which` is an external command and doesn't see aliases or functions. Prefer `type` or (if available) `whence`." CreationDate="2011-03-27T23:48:35.307" UserId="885" />
  <row Id="13289" PostId="10187" Text="no, yes, and yes" CreationDate="2011-03-28T00:41:17.610" UserId="1389" />
  <row Id="13290" PostId="10185" Text="Oh, in that case try this: `cp /etc/xdg/xfce4/panel/default.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml`. But do it when not using xfce (say from the text console), or else it will overwrite it when it exits." CreationDate="2011-03-28T01:08:09.503" UserId="3082" />
  <row Id="13291" PostId="10197" Text="Try `vi ~/.emacs` *(ducks)*" CreationDate="2011-03-28T01:26:23.437" UserId="4604" />
  <row Id="13292" PostId="10200" Score="1" Text="Is this homework?" CreationDate="2011-03-28T01:57:39.860" UserId="3169" />
  <row Id="13293" PostId="10200" Text="Hint: how many fields are there?  You are only creating two groups/backreferences, and I think you want three." CreationDate="2011-03-28T02:00:15.723" UserId="3169" />
  <row Id="13294" PostId="10180" Text="i ran `pwck` &amp; `grpck`, but nothing was displayed :(" CreationDate="2011-03-28T02:45:09.250" UserId="6028" />
  <row Id="13295" PostId="8693" Score="1" Text="They're not `aliases` in the sense of shell aliases, but yes, `halt` basically just calls `shutdown -h` and `reboot` runs `shutdown -r`.  Note that if you pass the `-f` (force) option to `halt` or `reboot`, `shutdown` is **not** called." CreationDate="2011-03-28T02:47:27.480" UserId="3169" />
  <row Id="13296" PostId="10201" Text="OP also wants the first field modified." CreationDate="2011-03-28T02:50:46.933" UserId="4194" />
  <row Id="13297" PostId="10204" Text="The key is no more laying around in plaintext than your SSH key laying around in plaintext in `~/.ssh`. I just want to be able to boot a headless server with full disk encryption and take the key out. I realize that attacker can modify the unencrypted boot partition and steal the key (like with a software-based regular password version anyway), but I'm just protecting against casual theft." CreationDate="2011-03-28T03:33:10.987" UserId="210" />
  <row Id="13298" PostId="10200" Text="Yes, this is homework. We've seen this question at least twice before this month." CreationDate="2011-03-28T03:35:32.137" UserId="2511" />
  <row Id="13299" PostId="10185" Text="Just what I was looking for. Thanks." CreationDate="2011-03-28T05:16:58.000" UserId="2897" />
  <row Id="13300" PostId="8756" Text="Sorry for getting back so late :). Yes, I have known this and tried this, in fact I tried puting `$filepath` and `file://$filepath` in the clipboard, pasting in a text editor works fine, but nautilus is unable to paste the file. And yes, it is the complete file path (`/tmp/2034.jar`). Any other ideas?" CreationDate="2011-03-28T07:03:53.543" UserId="898" />
  <row Id="13301" PostId="10209" Text="Just out of curiosity: what's wrong with the DVD? It's way cleaner, not to mention easier..." CreationDate="2011-03-28T07:08:48.183" UserId="3860" />
  <row Id="13302" PostId="10187" Text="Given “yes” to the third question: post a problematic file somewhere (e.g. on [pastebin](http://pastebin.com/))." CreationDate="2011-03-28T07:16:29.897" UserId="885" />
  <row Id="13303" PostId="10209" Text="The files in the system will be lost in a fresh install. Are'nt they @nico?" CreationDate="2011-03-28T07:17:24.147" UserId="5139" />
  <row Id="13304" PostId="10204" Text="@atanok: Actually the TPM has come back away from DRM and to government and enterprises uses lately. There are plenty of OSes that can use it to store secret keys, I don't know of any that offers integrity protection (i.e. not allowing an attacker to insert a keylogger in `/boot`)." CreationDate="2011-03-28T07:21:47.897" UserId="885" />
  <row Id="13305" PostId="10204" Text="@AlexB: Does your server have a TPM? If so, you can probably do what you want with [Trusted Grub](http://trousers.sourceforge.net/grub.html)." CreationDate="2011-03-28T07:22:59.940" UserId="885" />
  <row Id="13306" PostId="10192" Text="Does `whereis` work in both cases? If yes, `$PATH` is somehow changed." CreationDate="2011-03-28T07:58:45.930" UserId="5661" />
  <row Id="13307" PostId="10201" Text="He asks for `sed` because it's homework and they are forced to do it in `sed` :)" CreationDate="2011-03-28T08:01:36.257" UserId="5661" />
  <row Id="13308" PostId="10209" Score="2" Text="I think this will be difficult for a release so old. You could upgrade through all the intervening releases, but that would be prohibitively time consuming. I think you would be better off backing up all your config files (using all files in /etc and files in /home and possibly data files in other locations) and reinstalling from scratch." CreationDate="2011-03-28T08:36:36.660" UserId="4671" />
  <row Id="13309" PostId="10186" Text="@pedrogent: I'm glad I could help! You can check manually what are the other tags with &quot;metaflac --export-tags-to - file&quot; and use them the same way as $TITLE and the others, but the problem is there are no equivalent fields for them in id3 AFAIK. Maybe you can put them in the comment tag. Yes, there is a predefined list of genres: [link](http://www.id3.org/id3v2.3.0#head-129376727ebe5309c1de1888987d070288d7c7e7)" CreationDate="2011-03-28T09:17:58.567" UserId="5909" />
  <row Id="13310" PostId="10219" Text="Are you wedded to using the split command? If not, you can easily do this with straight text manipulation, certainly using perl or python. As long as the file is not too wrong, read it in to memory as a string, then split the string. If the file is too big, then more work is needed." CreationDate="2011-03-28T09:20:42.127" UserId="4671" />
  <row Id="13311" PostId="10200" Text="Do you need `Forename,Surname` or `Forename, Surname`? Is this space missing on purpose or by mistake?" CreationDate="2011-03-28T09:21:27.683" UserId="5666" />
  <row Id="13312" PostId="10219" Text="@Faheem Mitha The file is 64MB. I like the idea to use split because it is faster than writing code. I was wonder now if I specify the number of lines corresponding 70% of the file, I get a big file and a small file. Shouldn't it work ?" CreationDate="2011-03-28T09:23:20.917" UserId="2504" />
  <row Id="13313" PostId="10219" Text="And yes.. it worked.. Should I delete the question ?" CreationDate="2011-03-28T09:29:52.857" UserId="2504" />
  <row Id="13314" PostId="10219" Text="@Patrick: Up to you, but not necessary." CreationDate="2011-03-28T09:36:32.637" UserId="4671" />
  <row Id="13315" PostId="10216" Text="Thank U for the guidance :)" CreationDate="2011-03-28T09:43:55.410" UserId="5139" />
  <row Id="13316" PostId="10219" Text="@Patrick Please share your answer. (http://meta.stackoverflow.com/questions/12513/should-i-not-answer-my-own-questions)" CreationDate="2011-03-28T09:48:16.910" UserId="872" />
  <row Id="13317" PostId="10160" Score="1" Text="Than why rar? tar (+bz2) + split is more native approach for *nix." CreationDate="2011-03-28T09:55:07.327" UserId="4523" />
  <row Id="13318" PostId="10210" Text="I was thinking about getting a little creative with my hardware, What is I were to connect the Ethernet in on my router to my computer with a cat5 cable then use tshark to sniff the packets before redirecting all the data back to the ip of the modem. If that was confusing just tell me, ill draw up another diagram." CreationDate="2011-03-28T10:00:38.133" UserId="4807" />
  <row Id="13319" PostId="10223" Text="How can I be sure that the package was actually installed though?" CreationDate="2011-03-28T10:09:48.960" UserId="5139" />
  <row Id="13320" PostId="10210" Text="here is a pic http://gyazo.com/45210b1932d7140cdc160b3a672173c6.png" CreationDate="2011-03-28T10:10:51.167" UserId="4807" />
  <row Id="13321" PostId="10223" Text="How can I be sure that the package was actually installed though?" CreationDate="2011-03-28T10:13:20.877" UserId="5139" />
  <row Id="13322" PostId="10223" Text="@selvin: `yum list flash-plugin` or `yum info flash-plugin` should work. See  [Basic Yum Commands and how to use them](http://yum.baseurl.org/wiki/YumCommands)." CreationDate="2011-03-28T10:18:15.287" UserId="4671" />
  <row Id="13323" PostId="10034" Text="Thanks! I'll give this a go tonight :)" CreationDate="2011-03-28T10:20:28.710" UserId="5983" />
  <row Id="13324" PostId="10223" Text="ok Thank you very much" CreationDate="2011-03-28T10:24:12.083" UserId="5139" />
  <row Id="13325" PostId="10222" Text="makes sense to me thanks very much! ill try it out shortly" CreationDate="2011-03-28T10:29:08.007" UserId="6103" />
  <row Id="13326" PostId="10160" Text="&quot;bite-size trees&quot; doesn't quite sound like `rar`, unless you unpack each &quot;part&quot; again into its own directory, which of course won't work, since the parts are not designed like that, and not split on file boundaries." CreationDate="2011-03-28T11:16:55.307" UserId="5923" />
  <row Id="13327" PostId="10210" Text="A wifi card and Kismet/wireshark will likely cost you way less in terms of overhead. In the setup you're describing in that picture you're essentially telling your router to use the sniffer box as default router, and the sniffer then forwarding traffic to the actual modem... " CreationDate="2011-03-28T11:18:21.593" UserId="4949" />
  <row Id="13328" PostId="10226" Text="afaik, you can do it with perl regex but not with sed/awk/grep." CreationDate="2011-03-28T11:19:23.917" UserId="5666" />
  <row Id="13329" PostId="10215" Text="If it's his own wireless network I don't see why it'd be illegal to sniff on it - if I'd need written permission from every single customer of our ISP before being allowed to run tcpdump or wireshark to debug a problem I'd never get anything done." CreationDate="2011-03-28T11:20:28.737" UserId="4949" />
  <row Id="13330" PostId="10215" Text="Sorry, I wasn't clear enough, my bad. I meant it is illegal if he wants to capture live http sessions and steal cookies or passwords. I can't see any other use for this setup, or he'd probably need a proxy server." CreationDate="2011-03-28T11:30:35.207" UserId="5666" />
  <row Id="13331" PostId="10228" Text="FYI, I have used &lt;p&gt;&lt;/p&gt; just for an example. Let's change this to a C block {,}, Will I still be able to do a pattern matching to extract out a C block, which can span multiple line" CreationDate="2011-03-28T12:38:48.627" UserId="6106" />
  <row Id="13332" PostId="2240" Text="A bad thing about their non-freedom I have read about: those phones are apt to &quot;[forced over the air WebOS upgrades](http://joey.kitenet.net/~joey/blog/entry/pre_to_droid/)&quot;.One can't decline it, and it can kill any your custom things installed on &quot;your&quot; machine (it doesn't really seem to be &quot;yours&quot; hence)." CreationDate="2011-03-28T12:44:37.527" UserId="4319" />
  <row Id="13333" PostId="10228" Text="@johnsamuel: One problem is that unless you can fully parse a particular language, you can't tell if &quot;{&quot; (for example) is part of a comment or a quoted literal or is actually the start of your &quot;block&quot;... It only takes one misinterpretation to upset everything" CreationDate="2011-03-28T13:08:06.773" UserId="2343" />
  <row Id="13334" PostId="8590" Text="@Eelvex There's a [suggested edit](http://unix.stackexchange.com/suggested-edits/237) you might want to look at" CreationDate="2011-03-28T13:40:47.883" UserId="73" />
  <row Id="13335" PostId="10217" Text="In the future, if you want to move your post to a different SE site, just [flag it for mod attention](http://meta.stackoverflow.com/questions/24560/flagging-a-question-for-moderator-review) and tell them which site you want it moved to. I asked an SU mod to move yours; I'll merge this with that when they do (**Edit**: Looks like they just deleted it instead; oh well)" CreationDate="2011-03-28T14:30:42.830" UserId="73" />
  <row Id="13336" PostId="10230" Text="This is true but not his problem; he already uses `-I` in the question" CreationDate="2011-03-28T14:33:21.783" UserId="73" />
  <row Id="13337" PostId="10232" Text="Are you sure crond is running?" CreationDate="2011-03-28T15:33:49.430" UserId="36" />
  <row Id="13338" PostId="10220" Text="`apt-cache policy &lt;package&gt;` gives relevant info; I'm too lazy to produce an actual script to link it to `dpkg`'s output." CreationDate="2011-03-28T15:46:27.983" UserId="3633" />
  <row Id="13339" PostId="10232" Text="yep, i restart the daemon after the changes manually." CreationDate="2011-03-28T15:50:35.533" UserId="4290" />
  <row Id="13340" PostId="10234" Text="@9000 thank you for the suggestion . I had been looking at the forums but was having problem with the port(**11000** instead of **22** ). With `ssh -P 11000` I was able to copy with ssh . Many thanks." CreationDate="2011-03-28T15:54:57.030" UserId="6004" />
  <row Id="13341" PostId="10235" Score="2" Text="The 'narrative' should also include a discussion of how to avoid typing that pesky passphrase all the time. :-) ssh-agent and/or keychain are possibilities to consider." CreationDate="2011-03-28T16:18:55.483" UserId="4671" />
  <row Id="13342" PostId="10220" Text="I'm not sure the origin can be reported reliably. (I don't think it's recorded when the install happens.) For stable releases you can compare the installed versions against the archive, but for packages from unstable the installed version may not be in the archive any more." CreationDate="2011-03-28T16:25:06.070" UserId="5931" />
  <row Id="13343" PostId="10209" Text="@selvin: depends on how your system is set up. I have different partitions for `/`, `home`, `media` (photos and music) etc etc. In this way if I upgrade I keep things like home and media and documents and just wipe the rest." CreationDate="2011-03-28T16:39:53.937" UserId="3860" />
  <row Id="13344" PostId="10232" Score="1" Text="`chmod +x /usr/local/xxxx`" CreationDate="2011-03-28T16:51:02.430" UserId="5666" />
  <row Id="13345" PostId="10235" Score="1" Text="Also, if your username on the remote host is not the same as your username on the local host, you can add a `User user` line to `~/.ssh/config`." CreationDate="2011-03-28T17:40:21.550" UserId="2421" />
  <row Id="13346" PostId="10237" Score="1" Text="I don't understand the question. Can you provide some output showing the problem?" CreationDate="2011-03-28T17:44:17.897" UserId="4667" />
  <row Id="13347" PostId="10220" Text="@Andy: This information is recorded in apt's database, since `apt-cache policy` reports it, as pointed out by 9000 above. If the package is not in any archive, it should be reported as unknown. See my updated question above." CreationDate="2011-03-28T17:46:05.237" UserId="4671" />
  <row Id="13348" PostId="10237" Score="3" Text="More context like OS, and a link to this eggdrop thing would be helpful too. And some information about package `http` as well, since that is referenced in the error message." CreationDate="2011-03-28T17:48:21.180" UserId="4671" />
  <row Id="13349" PostId="10231" Text="I can't think of any case when the kernel or a standard tool would send SIGTERM to a random process. What can you tell us about what the program is doing and how it's started? How did you find out about the program's exit status? Can you reproduce the problem? Do you have logs you can check?" CreationDate="2011-03-28T17:57:44.367" UserId="885" />
  <row Id="13350" PostId="10220" Text="The information is not recorded. `apt-cache policy` is showing where the package can currently be obtained from, not where it was originally obtained from when installed." CreationDate="2011-03-28T18:20:43.600" UserId="3459" />
  <row Id="13351" PostId="10220" Text="@Arrowmaster: Incorrect. `apt-cache policy` is reading the information in apt's database, which is (usually) updated via `apt-get update` or `aptitude update` (not sure if these actually update the same stuff). So it is as current as the most recent update." CreationDate="2011-03-28T18:23:57.543" UserId="4671" />
  <row Id="13352" PostId="10220" Text="@FaheemMitha: Andy and Arrowmaster are correct: apt doesn't track the information, it shows you where the package can be installed now. For example, if you installed a package from unstable and it now happens to be in testing, the only information you'll get is “testing”." CreationDate="2011-03-28T18:43:50.863" UserId="885" />
  <row Id="13353" PostId="10232" Text="What version of Cron do you have (it's ok if you say what distribution you have)? Some versions have rules for naming files in `/etc/cron.*`. Is `check` the actual name of the symlink? Does the script run correctly if you run it manually? Are you sure it's not running and just having no visible effect?" CreationDate="2011-03-28T18:48:35.853" UserId="885" />
  <row Id="13355" PostId="888" Text="@xenoterracide: Hmm. You are partially right. Screen on some distros/systems (older Gentoo) does not break it while on some (new Ubuntu) it does. I have no idea why." CreationDate="2011-03-28T18:54:53.103" UserId="305" />
  <row Id="13356" PostId="10220" Text="@Gilles: my understanding is that the information about where a particular package is available corresponds to the most recent &quot;update&quot;. If you installed a package from unstable, and did not run an update after that, the local info would still say the package was available from unstable, though this was in fact not the case. So, the package could 'now' be in testing, but (for example) apt-cache would incorrectly report it as still being in unstable." CreationDate="2011-03-28T18:55:24.523" UserId="4671" />
  <row Id="13357" PostId="10212" Text="@MattBianco: I've made a few changes to your script to cope with special characters in file names (whitespace, initial dashes and dots, `\[?*`). Suggested reading: [don't parse the output of ls](http://mywiki.wooledge.org/ParsingLs), [$VAR vs ${VAR} and to quote or not to quote](http://unix.stackexchange.com/questions/4899/var-vs-var-and-to-quote-or-not-to-quote). Note that I haven't tested the resulting script. If you don't understand one my changes, feel free to ask." CreationDate="2011-03-28T19:03:03.647" UserId="885" />
  <row Id="13358" PostId="7719" Text="Almost the same question: http://unix.stackexchange.com/q/10158/4319 ; however, it doesn't mention k3b." CreationDate="2011-03-28T19:19:20.190" UserId="4319" />
  <row Id="13359" PostId="8590" Text="@Michael: It seems like it is already rejected by someone else. :-/" CreationDate="2011-03-28T19:20:59.567" UserId="2783" />
  <row Id="13360" PostId="8590" Text="Oh yeah, sorry :-\. Well, if you agree with it, just [edit it into your answer manually](http://unix.stackexchange.com/posts/8590/edit)" CreationDate="2011-03-28T19:27:46.460" UserId="73" />
  <row Id="13361" PostId="10244" Text="So the answer the (for my purposes) is to configure the routing table to direct traffic to these interfaces. That was the point that I am missing, but now I should be able to find a solution. Also, I appreciate the explanation as it clears things up. Thanks!" CreationDate="2011-03-28T19:33:06.313" UserId="4856" />
  <row Id="13362" PostId="10237" Text="what is your $auto_path, and show us the command you use to load http.tcl (load, package require, ?)" CreationDate="2011-03-28T19:41:43.270" UserId="4667" />
  <row Id="13363" PostId="10206" Text="What's the OS on the router? If it's not a unix, we can't help you with that part." CreationDate="2011-03-28T20:15:14.437" UserId="885" />
  <row Id="13364" PostId="8374" Text="Just tried the upgraded 2.6.32-31 in the Squeeze 6.0.1 update... but no improvement therer.  So continued tracking sid's kernel to 2.6.38-1 and that's still working fine." CreationDate="2011-03-28T20:31:38.457" UserId="5094" />
  <row Id="13365" PostId="10206" Text="I don't know what the os is on the router, it is a fairly simple drink home router. " CreationDate="2011-03-28T20:32:31.507" UserId="4807" />
  <row Id="13366" PostId="10229" Text="It seems that this will be the easiest way to do the job, thanks. " CreationDate="2011-03-28T20:34:53.033" UserId="4807" />
  <row Id="13367" PostId="10206" Text="There's a point where you'll want to duplicate the packets (one copy for the sniffer and one copy to go to the modem). According to [Howto: Copy/Tee/Clone network traffic using iptables by bjou](http://www.bjou.de/blog/2008/05/howto-copyteeclone-network-traffic-using-iptables/), found from [Copying packets from an interface to another](http://serverfault.com/questions/225178/copying-packets-from-an-interface-to-another), on Linux, this currently requires an additional kernel module." CreationDate="2011-03-28T20:39:48.170" UserId="885" />
  <row Id="13368" PostId="1912" Text="It would nice to add an example of actual example usage of mounting an iso using the loopback interface. I just got to this question by googling &quot;iso loopback interface&quot;." CreationDate="2011-03-28T21:19:37.190" UserId="4671" />
  <row Id="13369" PostId="10248" Text="A poor replacement to screen's `log` command, which allows logging on the fly.  But then if you are in tmux and want to use screen's logging, you have to start a new shell anyway." CreationDate="2011-03-28T21:23:22.457" UserId="4194" />
  <row Id="13370" PostId="10191" Text="@Ubiquité no we don't, go ask the administrator's of that site. This is not ontopic here" CreationDate="2011-03-28T23:22:15.490" UserId="29" />
  <row Id="13371" PostId="10235" Text="@Faheem That's nice, but I've never set up such thing so I don't think I'm in a position to instruct others about it :)" CreationDate="2011-03-29T01:35:22.220" UserId="250" />
  <row Id="13372" PostId="10253" Score="1" Text="Once you install `python` you should have &quot;the entire standard library&quot; already. What's the problem with that?" CreationDate="2011-03-29T01:43:41.493" UserId="250" />
  <row Id="13374" PostId="6948" Text="What do the error logs say? Your error logs will provide clues to explain what is happening." CreationDate="2011-03-29T03:36:24.233" UserId="4" />
  <row Id="13375" PostId="10253" Text="I agree with phunehehe -- I'm not sure this question makes sense..." CreationDate="2011-03-29T06:09:47.287" UserId="5454" />
  <row Id="13377" PostId="10253" Text="@simon: It isn't that. I think OP just doesn't know. She sees `-devel` and thinks, *oh, that means it has Python stdlib*." CreationDate="2011-03-29T08:00:51.167" UserId="688" />
  <row Id="13378" PostId="9349" Text="@Richard, yes, there's no &quot;+&quot; in the permissions. I'm totally lost about what's happening here, though obviously it's related to how CentOS behaves with XFS." CreationDate="2011-03-29T08:01:01.840" UserId="3686" />
  <row Id="13379" PostId="10231" Text="It is reading and writing to a serial line, and is responding to UDP and TCP requests. I have wrapped the execution on a bash script and therefore I know the exit code." CreationDate="2011-03-29T08:14:40.847" UserId="6001" />
  <row Id="13380" PostId="10186" Text="Hi Kambus. Yes I think part of the problem here is that there's no clear 'standard' for ID3 tag data. The Comment tag is interpreted very differently from player to player (or not at all). Your script is awesome. Thanks again." CreationDate="2011-03-29T08:43:21.203" UserId="5770" />
  <row Id="13382" PostId="10247" Text="@mtk358&gt; `s#\{([^}])\}#\1#` will only match a single non-} char... It needs a zero-to-many `*` wildcard  after the closing square bracket `]*`... and also, `sed` always operates only on a single line, unless you do some buffer hold of the line and sub-process subsequent lines until you find a matching '}' " CreationDate="2011-03-29T08:53:42.893" UserId="2343" />
  <row Id="13384" PostId="10253" Text="devel is just header files. you don't need this unless you are going to compile/link against a python library." CreationDate="2011-03-29T09:21:03.120" UserId="4671" />
  <row Id="13385" PostId="10253" Score="1" Text="@phunehehe @tshepang @simon @faheem it's really annoying to try to do any kind of real dev work on a system with split packages imo. This question makes sense, esp if you start thinking outside of python, and start. the -devel packages can be a real problem if you're using an external repo, or a backport, or something else, because then -devel doesn't always line up with the binary that's installed. I know I've had it. I don't use debian or suse, or any system that works like this for this very reason. So I think it's a good question." CreationDate="2011-03-29T09:31:40.613" UserId="29" />
  <row Id="13386" PostId="888" Text="@maciej possibly a patch... ours are all 5.5 cent systems" CreationDate="2011-03-29T09:36:07.210" UserId="29" />
  <row Id="13387" PostId="10068" Text="As others have written, 'cluster' frequently implies parallel execution, which requires special codes or programming.  A different, but cool use of multiple computers working together is live fail-over of mirrored filesystems.  Take a minute and look into DRBD and clustered filesystems.  This might give you ideas too:   http://xenamo.sourceforge.net" CreationDate="2011-03-29T09:59:19.533" UserId="2827" />
  <row Id="13388" PostId="10260" Text="I booted my box with the grub config modifications and I am still getting _eth1_ as the default device in many apps. I checked the dmesg for network info and and it says that the integrated NIC has still '_eth1_' as ifname: `forcedeth 0000:00:04.0: ifname eth1, PHY OUI 0x57d @ 1, addr 40:40:00:40:40:40`. This is not too serious problem but it really grinds my gears because the integrated is 1gb card and it should be the default device. " CreationDate="2011-03-29T10:19:08.283" UserId="6136" />
  <row Id="13389" PostId="10200" Text="(Forename,Surname), there is no any space between the comma and surname. what I have written is correct." CreationDate="2011-03-29T10:35:43.100" UserId="5836" />
  <row Id="13390" PostId="10242" Score="1" Text="On several distros, `run-parts` explicitly skips files that have a period in them as they may have been generated by a package update. Maybe that's what he's running up against." CreationDate="2011-03-29T11:02:25.950" UserId="4949" />
  <row Id="13391" PostId="10269" Text="Great, this is perfect for me. I'm about to accept this answer, but only waiting to see if there is a text processing tool that can analyze this." CreationDate="2011-03-29T11:05:36.763" UserId="250" />
  <row Id="13393" PostId="10253" Text="@xenoterracide: I expect that a backported package will also have an accompanying -dev package. Unless I don't understand your point." CreationDate="2011-03-29T11:49:30.117" UserId="688" />
  <row Id="13394" PostId="10253" Text="@xenoterracide: It would really be strange that you use Arch just because it doesn't split away -dev from core functionality!" CreationDate="2011-03-29T11:50:36.543" UserId="688" />
  <row Id="13395" PostId="10260" Text="I have now tried to use _nameif_ to change the network interface names but looks like it does the same that udev does. No change in &quot;real&quot; NIC order. I also tried to change the PCI NICs physical location but it didn't help either. Integrated NIC has IRQ 22 and PCI NIC has IRQ 17 so looks like kernel is ordering them by IRQ and user cannot change that fact in any way. Any fresh ideas?" CreationDate="2011-03-29T12:15:59.043" UserId="6136" />
  <row Id="13396" PostId="10244" Text="I ended up using &quot;route add &lt;TUN IP ADDR&gt; dev gr0&quot;. This allowed me to redirect traffic through the new interface. Thanks again!" CreationDate="2011-03-29T12:47:50.437" UserId="4856" />
  <row Id="13397" PostId="10253" Text="@xenoterracide: the dev package is built from the same source package as the binary. they are available as a group. apt/aptitude should also pull them in together. file a bug if you think any of the above is not true." CreationDate="2011-03-29T12:53:03.940" UserId="4671" />
  <row Id="13398" PostId="10246" Text="Do other live cds boot? Is it only the squeeze disk cited above that didn't? " CreationDate="2011-03-29T12:58:02.157" UserId="4671" />
  <row Id="13400" PostId="10250" Text="@shellter&gt; When a range expression matches the first pattern, it will only start searching for a match to the second pattern **after** it has finished processing that current line... This means that if { and } are on the same line, things are going to get messy... here is as test script which shows it: `div==========; echo $div in; text=&quot;fred\n{block 1}\nbetty\n{block 2 line 1\n block 2 line 2}\nbarney&quot;; echo -e &quot;$text\n$div out&quot;; echo -e &quot;$text&quot; |sed -n '/[{]/,/[}]/{'$'\n''p'$'\n''/[}]/a\'$'\n''end of block matching brace'$'\n''}'; echo &quot;$div&quot;` ... The &quot;betty&quot; line shouldn't be there.  &#xA;" CreationDate="2011-03-29T13:54:20.903" UserId="2343" />
  <row Id="13401" PostId="8827" Text="This issue has now fixed it self, there is nothing in synaptics history to say that I installed something to fix it. It may have been an update, are these in the same history log? BUT Redetection of my 'option' modem is now slower." CreationDate="2011-03-29T14:17:39.483" UserId="4778" />
  <row Id="13402" PostId="10273" Score="2" Text="Looks like that lots of programs are just relying on _if_nameindex()_ function from _&lt;net/if.h&gt;_ header. They just use the first device they find and totally ignores the interface names. I can see why it is done like that, its much easier to use the first found device than sort the names." CreationDate="2011-03-29T14:22:15.110" UserId="6136" />
  <row Id="13403" PostId="10269" Score="1" Text="I will also add that in vim you can use % (Shift 5, in the USA) to immediately find the _matching_ bracket for the one you're on.  " CreationDate="2011-03-29T14:31:59.530" UserId="3638" />
  <row Id="13404" PostId="10249" Text="@Cooper&gt; It seems like a handy tool... Yes, it is being greedy... Can you show how to invert the greedy nature? ... and I noticed in my Ubuntu `man pcregrep`: *...8K characters are available for forward matching, and 8K for previous matching*... " CreationDate="2011-03-29T14:33:57.700" UserId="2343" />
  <row Id="13405" PostId="10207" Text="Thanks, your answer works great " CreationDate="2011-03-29T14:38:28.437" UserId="5836" />
  <row Id="13406" PostId="10205" Text="Thanks, your answer works great -:))" CreationDate="2011-03-29T14:39:37.343" UserId="5836" />
  <row Id="13407" PostId="10275" Score="1" Text="@Tom: Please give more details. Is this a file owned by you? Where on the computer system is it located? Is the other user on the same system? Also, some more details about the use case would be helpful. If you just want to share a file with another person without anyone else being able to access it, there are variety of options, including pgp/gpg encryption. The traditional Unix permission model is a bit restricive, but you might want to consider acl if you are using Linux. What OS are you using?" CreationDate="2011-03-29T14:44:27.743" UserId="4671" />
  <row Id="13408" PostId="10245" Text="Just to check, you did burn the ISO to a DVD, not a CD, right?  The filename suggests a DVD iso file.  If you're missing a big hunk of the initrd, you might run into this." CreationDate="2011-03-29T14:46:15.397" UserId="3638" />
  <row Id="13409" PostId="10212" Text="@Gilles: I've done plenty of reading since 2008 ;-) Changes to make the script more generic are good. (I dislike the introduction of `[` as opposed to `test`, though)..." CreationDate="2011-03-29T14:54:22.223" UserId="5923" />
  <row Id="13410" PostId="10276" Text="Can't I give the user name for the chmod?" CreationDate="2011-03-29T15:02:24.990" UserId="3608" />
  <row Id="13411" PostId="10226" Text="@forcefsck&gt; You can do multiline pattern matching with 'sed' and 'awk', but in both cases you need more than a single command..." CreationDate="2011-03-29T15:03:29.393" UserId="2343" />
  <row Id="13412" PostId="10276" Score="1" Text="@Tom `chmod` changes the file mode bits; they don't have that kind of flexibility. You set read/write/execute for the owner, people in the owner's group, and everyone; that's it. If you need something more you should look into access control lists" CreationDate="2011-03-29T15:11:56.797" UserId="73" />
  <row Id="13413" PostId="10276" Score="2" Text="You can use this to figure out which groups you both belong to: `wdiff -t &lt;(groups $USER) &lt;(groups other_user)`" CreationDate="2011-03-29T15:26:35.930" UserId="3645" />
  <row Id="13414" PostId="10268" Score="2" Text="You can use the `${var}` format any time you like, but you only **need** it when `$var` is to be immediately followed by another valid variable-name character... eg: `$vararbitary` will interpret a variable named &quot;vararbitary&quot;, but you can get around it by using `${var}arbitary` .... oops, I just saw khamer's abswer.. but I may as well leave the comment here." CreationDate="2011-03-29T15:32:01.660" UserId="2343" />
  <row Id="13415" PostId="10096" Text="Maybe should say su -c 'passwd root' for systems like CentOS, Fedora, RHEL where sudo isn't installed. This would help teach newbies not to run as root by default." CreationDate="2011-03-29T15:37:17.900" UserId="4600" />
  <row Id="13416" PostId="10232" Text="Is this a debian system, per chance?" CreationDate="2011-03-29T15:43:20.293" UserId="4565" />
  <row Id="13417" PostId="10283" Text="Which distributions will this work with?" CreationDate="2011-03-29T16:40:01.337" UserId="4812" />
  <row Id="13418" PostId="10285" Text="“Removing cups doesn't actually remove CUPS.” — aha, okay, gotcha. I should also have mentioned, I do use the GUI from time to time, it’s not a purely headless server. Are any of these packages related to it?" CreationDate="2011-03-29T16:48:53.467" UserId="5646" />
  <row Id="13419" PostId="10285" Text="@Paul: Related to what?" CreationDate="2011-03-29T16:50:25.077" UserId="4671" />
  <row Id="13420" PostId="10283" Text="This worked with Ubuntu Lucid but not with Fedora 8." CreationDate="2011-03-29T16:51:14.243" UserId="4812" />
  <row Id="13421" PostId="10285" Text="@Faheem: ah sorry — the GUI, Gnome." CreationDate="2011-03-29T16:51:59.157" UserId="5646" />
  <row Id="13423" PostId="10285" Text="@ Paul: These packages are all related to CUPs. They should not affect GNOME, except insofar as GNOME has CUPS functionality. In any case, I recommend always running `apt-get` with the `-s` test option, just to be safe, and carefully check what packages it is proposing to remove." CreationDate="2011-03-29T16:58:22.573" UserId="4671" />
  <row Id="13424" PostId="10285" Text="@Faheem: sure, will do. I think running `apt-get purge` on `libcups2` seemed to remove Gnome and a bunch of other stuff from my system, as Gnome doesn’t seem to be there any more. No worries though, this is all in a VM, so it‘s easy to restore. (And this is why, as you say, one should actually read the long list of packages `apt-get` says it’s going to remove!)" CreationDate="2011-03-29T17:03:17.057" UserId="5646" />
  <row Id="13425" PostId="10278" Text="I'm out of luck, there's no `setfacl` command." CreationDate="2011-03-29T17:05:09.830" UserId="3608" />
  <row Id="13426" PostId="10285" Text="@Paul: Ok, in that case, you can leave libcups alone. Your problem probably stems from the frontend programs, ie everything starting with cups. So `apt-get  -s purge '^cups'` may actually be your best bet. Sorry, I think I mentioned -s above, but then erased it. " CreationDate="2011-03-29T17:06:31.817" UserId="4671" />
  <row Id="13427" PostId="10285" Text="@Faheem: gotcha — probably a couple of front-end programs with print dialogs. Cool cool, many thanks for your help — I’ll have a fiddle and see what works." CreationDate="2011-03-29T17:09:37.410" UserId="5646" />
  <row Id="13428" PostId="10278" Text="@Tom: `apt-get install acl` or similar." CreationDate="2011-03-29T17:09:56.603" UserId="4671" />
  <row Id="13429" PostId="10239" Text="@Gilles: apt-show-versions works well enough for my purpose, thanks. I had not heard of this utility before. I see it uses what appear to be perl bindings to apt,      &#xA;namely libapt-pkg-perl. I guess python-apt would work too. Thanks. +1 and accepted." CreationDate="2011-03-29T17:12:44.417" UserId="4671" />
  <row Id="13430" PostId="10250" Text="@fred.bear :You're definitely right. I have extended my cautionary last paragraph to mention this. Thanks!" CreationDate="2011-03-29T17:13:18.923" UserId="6122" />
  <row Id="13431" PostId="10276" Text="So, if we both don't belong to a common group, how can I make us part of a same group? (I have access to both users here)" CreationDate="2011-03-29T17:14:32.463" UserId="3608" />
  <row Id="13432" PostId="10278" Text="the user name in the other machine (an embedded system) is &quot;root&quot;, so I tried with `sudo setfacl -m u:root:rwx /Data` but I got `setfacl: /Data: Operation not supported`" CreationDate="2011-03-29T17:19:02.413" UserId="3608" />
  <row Id="13433" PostId="10278" Text="The file is mine, in my root user, of my computer. So it should work with `sudo`.." CreationDate="2011-03-29T17:20:17.953" UserId="3608" />
  <row Id="13435" PostId="10275" Text="Since you are root (mentioned in a comment below), can't you just use the user's name? For example `chown bob file`. Or if you want both the owner and the group `chown bob.users file`." CreationDate="2011-03-29T17:26:41.040" UserId="5661" />
  <row Id="13436" PostId="10275" Text="@Faheem Mitha please, see my update" CreationDate="2011-03-29T17:27:00.257" UserId="3608" />
  <row Id="13437" PostId="10283" Score="1" Text="`/etc/issue` is usually modified by administrators thus it's not guaranteed that it will include version information." CreationDate="2011-03-29T17:33:42.473" UserId="5661" />
  <row Id="13438" PostId="10275" Score="1" Text="@Tom: Doing anything as root, unless absolutely necessary, is a really, really, bad idea. This is usually one of the first things one learns about unix, sometimes the hard way. Unless you really need to be root to access the files, don't do it as root (or sudo, which is equivalent). If you want to restrict permissions, there are better, safer ways to do it." CreationDate="2011-03-29T17:35:50.127" UserId="4671" />
  <row Id="13439" PostId="10278" Text="@Tom: You need to mount your partition(s) with support for acl. See the docs." CreationDate="2011-03-29T17:37:13.333" UserId="4671" />
  <row Id="13440" PostId="10275" Text="@Tom: I'm not sure if I understood the entire issue correctly, but if you want to share files between users, and want to be able to override the umask, acl is a reasonable way to go. This does assume the users you are sharing among are on the same system. acl is a linux extension of the basic unix permissions system." CreationDate="2011-03-29T17:41:42.800" UserId="4671" />
  <row Id="13441" PostId="10275" Text="@faif @Faheem Mitha I know that the way I'm doing is not the better way. So, what's the better way? How do I give all the permissions to a file for a single user that's not me (in the better way possible)?" CreationDate="2011-03-29T17:42:31.343" UserId="3608" />
  <row Id="13442" PostId="10275" Text="@Tom: Sit down and read a tutorial on acl, and see if it works for you. but clarify first, is this for users on the same system?" CreationDate="2011-03-29T17:43:58.903" UserId="4671" />
  <row Id="13443" PostId="10275" Text="@Faheem Mitha: not. It's one user in a Ubuntu system (in a pc), and another in a embedded system." CreationDate="2011-03-29T17:54:00.493" UserId="3608" />
  <row Id="13444" PostId="10275" Text="@Faheem Mitha: I'll read about ACL, thanks" CreationDate="2011-03-29T17:55:17.060" UserId="3608" />
  <row Id="13445" PostId="10291" Text="Can you show what the usage of myfile is here?" CreationDate="2011-03-29T17:56:51.037" UserId="4671" />
  <row Id="13446" PostId="10275" Text="@Tom: acl might not work for you then." CreationDate="2011-03-29T17:59:10.673" UserId="4671" />
  <row Id="13447" PostId="10291" Text="@Faheem Mitha: is just another script that my script.sh calls." CreationDate="2011-03-29T18:01:10.427" UserId="3608" />
  <row Id="13448" PostId="10291" Text="Some reason you don't want to use the full path, or move both of these into your PATH?" CreationDate="2011-03-29T18:05:00.060" UserId="4671" />
  <row Id="13449" PostId="10291" Text="@Faheem Mitha: I want to be able to move this folder with the scripts to another place, maybe even another computer, without need to rewrite myfile's path." CreationDate="2011-03-29T18:06:52.657" UserId="3608" />
  <row Id="13451" PostId="10236" Text="No, it doesn't. What makes you think it might?" CreationDate="2011-03-29T18:34:52.750" UserId="885" />
  <row Id="13452" PostId="9989" Text="I just wanted to see if I can compile there " CreationDate="2011-03-29T19:11:49.613" UserId="1924" />
  <row Id="13453" PostId="10288" Text="It's not installed by default on Gentoo. It wasn't by default on Fedora either at some point (probably is now though)" CreationDate="2011-03-29T19:13:06.883" UserId="5842" />
  <row Id="13454" PostId="8439" Text="`maptimeout 0` alone should be enough. Do you also have a delay outside vim? Inside screen, is the delay the same duration as the `maptimeout` setting?" CreationDate="2011-03-29T19:48:38.367" UserId="885" />
  <row Id="13455" PostId="10288" Score="1" Text="This worked on Debian squeeze, Fedora 14, and OpenSUSE 11.3. On Debian and SUSE the package containing lsb_release was lsb-release, on Fedora it was redhat-lsb. It was already installed on Debian and SUSE, but not on Fedora. I think this is the best answer so far. +1." CreationDate="2011-03-29T20:09:51.563" UserId="4671" />
  <row Id="13457" PostId="10292" Text="On Debian, that's `uname -a`." CreationDate="2011-03-29T20:31:41.950" UserId="688" />
  <row Id="13458" PostId="10292" Score="1" Text="doesn't `uname -rv` contain the info though? `uname -a` will print things like type of processor and hostname that are irrelevant here. (But both kernel release (`-r`) and version (`-v`) are necessary, not all distros do it the same there)" CreationDate="2011-03-29T20:34:16.330" UserId="5842" />
  <row Id="13459" PostId="10283" Text="Works on Mandriva 2010.2" CreationDate="2011-03-29T21:00:00.597" UserId="1707" />
  <row Id="13460" PostId="10278" Text="@tom @faheem This may involve updating the filesystem to allow acls - if you're on an ext2/ext3/ext4 filesystem, `tune2fs -o acl &lt;filesystem&gt;` where `&lt;filesystem&gt;` is the filesystem mounted to /Data as described by the `mount` and `df` command." CreationDate="2011-03-29T21:16:10.540" UserId="4949" />
  <row Id="13461" PostId="10298" Text="I managed pinpoint the &quot;problem&quot; into `if_nameindex` function too. Perhaps I just leave it for now. Luckily some apps really checks the interface name. On the other hand some apps doesnt even have default configuration options so I just have to use -i option. I was just wondering why kernel loading option `netdev=irq=22,name=eth0` does not work? I thought it should be possible to change the NIC order at kernel startup." CreationDate="2011-03-29T21:16:19.413" UserId="6136" />
  <row Id="13462" PostId="10075" Text="It's about shell expansion. If the shell can't expand the globbing, this might be the issue." CreationDate="2011-03-29T21:17:58.510" UserId="1290" />
  <row Id="13463" PostId="10253" Text="Ah, after your update I see the problem.  I didn't notice a problem with `pstats` because it is not listed as a core module on http://docs.python.org/library/, but I see how that would be annoying." CreationDate="2011-03-29T21:20:22.347" UserId="3169" />
  <row Id="13464" PostId="10298" Text="From a quick look at the kernel source (the `for_each_netdev` macro), interfaces are enumerated in the order in which drivers are loaded (roughly). Your interfaces probably use different drivers, so you'd have to arrange for the drivers to be loaded in the order you want. I would expect this to be difficult, especially if you want your tweak to work across a kernel upgrade." CreationDate="2011-03-29T21:21:40.033" UserId="885" />
  <row Id="13465" PostId="10292" Text="**uname -r** gives `2.6.32-5-686-bigmem` and **uname -v** gives `#1 SMP Tue Mar 8 22:14:55 UTC 2011` on Debian 6. **uname -a** OTOH gives `Linux debian 2.6.32-5-686-bigmem #1 SMP Tue Mar 8 22:14:55 UTC 2011 i686 GNU/Linux`." CreationDate="2011-03-29T22:22:23.183" UserId="688" />
  <row Id="13466" PostId="10292" Text="the second part of `uname -a` is `-n`, i.e. nodename == hostname. so I'd say `uname` will not be interesting on Debian. Come to think of it, I'm not sure it is so useful on RedHat either." CreationDate="2011-03-29T22:26:13.370" UserId="5842" />
  <row Id="13467" PostId="10292" Text="Oh, ok. So it's just by luck that I set my hostname as default, `debian`." CreationDate="2011-03-29T22:29:24.720" UserId="688" />
  <row Id="13468" PostId="10237" Text="isn't eggdrop a technology used in chat clients to launch various malware, etc (It probably also has a positive use. Maybe 'meeeeeee' can enlighten us.)" CreationDate="2011-03-29T22:39:01.240" UserId="6122" />
  <row Id="13469" PostId="10231" Score="1" Text="Posix documentation indicates SIGTERM is strictly a user level event. Is it possible someone else was able to kill your server program? " CreationDate="2011-03-29T22:48:23.920" UserId="6122" />
  <row Id="13470" PostId="10253" Text="@tshepang actually it's 1 of my 3 big reasons, binary, rolling, and no split -dev. On suse, some of the non default repo's, which are needed for multimedia, or newer binaries, there aren't accompanying -dev packages, or the deps don't all resolve right for them, because of things like X11 differences." CreationDate="2011-03-29T22:49:25.327" UserId="29" />
  <row Id="13471" PostId="10292" Text="In Ubuntu for `uname -rv` I get the proper output `2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011`. " CreationDate="2011-03-29T23:01:19.077" UserId="6155" />
  <row Id="13472" PostId="10275" Text="@Tom: So, basically what you are doing is creating a file on your local system as root, then attempting to access that file via NFS from your embedded system, also as root (I just want to make sure I am correctly understanding your problem)?   What happens when you do this, w/out doing anything else?  Do you get an error message?  Can you please post that in your question?  There is no reason what you are trying to do should not work.  Thanks!  " CreationDate="2011-03-29T23:07:31.127" UserId="298" />
  <row Id="13473" PostId="10292" Text="Thanks for this answer. `uname -a` reports `GNU/Linux` on many distros, and this isn't very useful when trying to determine the Linux distribution ." CreationDate="2011-03-29T23:09:15.430" UserId="4" />
  <row Id="13474" PostId="10278" Text="Why should ACL's be needed in this case? " CreationDate="2011-03-29T23:09:44.977" UserId="298" />
  <row Id="13475" PostId="10253" Text="@xenoterracide: Such a situation just spells out *brokenness*. BTW u got a blog post talking about Arch love?" CreationDate="2011-03-29T23:21:18.933" UserId="688" />
  <row Id="13476" PostId="10253" Text="@Mikel: As explained on the linked bug report, the reason pstats isn't bundled with Debian (or Ubuntu) stdlib package is due to it's non-libre licence. I guess that's also one reason why it's not advertised as a 1st-class standard Python module." CreationDate="2011-03-29T23:33:50.903" UserId="688" />
  <row Id="13477" PostId="10258" Text="Oh, I see Arch Linux has a relaxed view regarding non-libre software." CreationDate="2011-03-29T23:37:01.120" UserId="688" />
  <row Id="13478" PostId="10160" Text="If talking about tools that give `tar`+`split`-like results, then there's also [dar](http://dar.linux.free.fr/doc/Features.html); here's the note about its relevant feature: &quot;(SLICES) it was designed to be able to split an archive over several removable media whatever their number is and whatever their size is&quot;. Compared to `tar`+`split`, I assume, it allows some easier ways to access the archived files. (BTW, it has also a feature resembling `distribute`: &quot;DIFFERENTIAL BACKUP&quot; &amp; &quot;DIRECTORY TREE SNAPSHOT&quot;, but one may not like that the result is a special format, not an ISO with a dir tree.)" CreationDate="2011-03-29T23:43:16.030" UserId="4319" />
  <row Id="13479" PostId="10276" Score="1" Text="@Tom: `groupadd GROUPNAME` to create the group, then `usermod -a -G GROUPNAME USERNAME` to add a user to the group. I also recommend reading the man pages of both commands." CreationDate="2011-03-30T00:55:01.563" UserId="3038" />
  <row Id="13480" PostId="10278" Text="@gabe: standard UNIX file permissions only have bits for the file owning user, file owning group and 'others'. If you want something more specific, you need ACLs." CreationDate="2011-03-30T00:58:43.323" UserId="3038" />
  <row Id="13481" PostId="6345" Score="1" Text="Holy duplicate batman! http://unix.stackexchange.com/questions/6345/bash-get-distribution-name-and-version-number" CreationDate="2011-03-30T02:20:29.967" UserId="3169" />
  <row Id="13482" PostId="10258" Score="1" Text="which is fine with me... I want it to work" CreationDate="2011-03-30T04:35:12.920" UserId="29" />
  <row Id="13483" PostId="10253" Text="@tshepang no..." CreationDate="2011-03-30T04:36:10.550" UserId="29" />
  <row Id="13485" PostId="10255" Text="+1 for Gentoo! Everything exactly how YOU want it." CreationDate="2011-03-30T05:51:04.150" UserId="3082" />
  <row Id="13486" PostId="10278" Text="@tom There's also the problem that the 'root' user is explicitly treated differently via NFS -- IIRC NFS maps root over to nobody before it checks access rights." CreationDate="2011-03-30T06:42:19.240" UserId="4949" />
  <row Id="13487" PostId="10269" Text="@atroon Ooo, nice. Didn't know that one yet myself. I love stackexchange sometimes. :)" CreationDate="2011-03-30T06:44:13.713" UserId="4949" />
  <row Id="13488" PostId="10231" Text="Very unlikely; however, all I know is the return code (0) which is the same that I get when I terminate the process with ^C (SIGTERM). Maybe I'm overlooking something?" CreationDate="2011-03-30T07:05:59.440" UserId="6001" />
  <row Id="13489" PostId="10287" Text="This is a weird memory range, it is in reverse order. It seems there's a pci device which the kernel can't configure properly. It might be caused by a number of reasons, e.g. a PnP issue, a kernel bug, mobo firmware bug etc. Is there any device not working properly? Output of `dmesg`, `lspci` and `/proc/iomem` could help more." CreationDate="2011-03-30T07:07:56.107" UserId="5666" />
  <row Id="13490" PostId="10287" Text="@forcefsck : Thanks a lot...i will get the dmesg, lspci, /proc/iomem message.. :)" CreationDate="2011-03-30T07:13:40.817" UserId="4269" />
  <row Id="13491" PostId="10296" Text="thx for advices, I figured out the solution with my friend just interrupted the booting and when it asked us for the boot device;&#xA;we are running&#xA;&#xA;So the answer solving my problem partially.&#xA;&#xA;&gt;boot cdrom command." CreationDate="2011-03-30T07:38:31.177" UserId="6115" />
  <row Id="13492" PostId="9989" Score="1" Text="There is, but I haven't tried it, a compiler that you can put on the device itself.  I tend to compile on my desktop when compiling for the N900 and the transferring the results there (via scp to it)." CreationDate="2011-03-30T08:22:38.747" UserId="5824" />
  <row Id="13493" PostId="10287" Text="@forcefsck : updated with the outputs :)" CreationDate="2011-03-30T08:33:25.130" UserId="4269" />
  <row Id="13494" PostId="10292" Text="Debian squeeze does not have `/etc/lsb_release`  but it does have `/etc/debian_version`  and the `lsb_release -a` command does work." CreationDate="2011-03-30T09:12:20.780" UserId="4949" />
  <row Id="13495" PostId="10253" Text="@xenoterracide: huh?" CreationDate="2011-03-30T09:39:57.843" UserId="688" />
  <row Id="13496" PostId="10096" Text="Did you ask this to get self-rep... it's on the first page of google results!" CreationDate="2011-03-30T10:45:10.763" UserId="36" />
  <row Id="13497" PostId="10096" Text="@jamespo: no. When I Googled initially, I only noticed links saying how to reset a lost root password. I do tend to ask on SE sites quite quickly, but only to make the answer easy for me to find in the future." CreationDate="2011-03-30T10:54:33.327" UserId="5646" />
  <row Id="13498" PostId="10278" Text="@Shadur:  That's a problem that is easy to override w/in your NFS exports file." CreationDate="2011-03-30T11:16:25.260" UserId="298" />
  <row Id="13499" PostId="10278" Text="@gabe Easy, yes. Wise, not necessarily..." CreationDate="2011-03-30T11:18:19.923" UserId="4949" />
  <row Id="13500" PostId="10305" Text="I suppose so. The problem is that often the `top` starts after the slowdown passes away (it is that bad), I suppose the `iotop` will have the same problem. But thanks anyway, I will certainly try it." CreationDate="2011-03-30T12:05:41.580" UserId="6117" />
  <row Id="13501" PostId="10249" Text="Adding a ? after a quantifier makes it non-greedy.  (asdf)* is greedy, and (asdf)*? is non greedy.  " CreationDate="2011-03-30T13:17:39.113" UserId="1223" />
  <row Id="13502" PostId="10314" Text="Perfect. This is exactly the type of response I was looking for. Is there an easy way to create a new user with low priveleges? Thank-you for your help!" CreationDate="2011-03-30T14:00:39.123" UserId="6168" />
  <row Id="13503" PostId="10314" Score="1" Text="@Jimmy: `adduser`." CreationDate="2011-03-30T14:12:06.400" UserId="4671" />
  <row Id="13504" PostId="10243" Text="I'm not quite sure whether the authorship of `sponge` should be attributed exclusively to Joey Hess; it's the package `moreutils` that includes `sponge` that he maintains, but as regards the origin of `sponge`, by following the links from the homepage of `moreutils`, I've found it originally [posted and suggested for inclusion](http://riva.ucam.org/~cjwatson/blog/2006/02/06#2006-02-06-sponge) by Colin Watson: &quot;Joey writes about the lack of new tools that fit into the Unix philosophy. My favourite of such things I've written is `sponge`&quot; (Mon, 06 Feb 2006)." CreationDate="2011-03-30T14:13:19.270" UserId="4319" />
  <row Id="13505" PostId="10249" Text="@Cooper&gt; Thanks.. It's brilliant... It works as &quot;advertised&quot; and with (optional) line numbers! :)" CreationDate="2011-03-30T14:31:28.803" UserId="2343" />
  <row Id="13506" PostId="10310" Score="1" Text="@l0b0: If you really want an answer to that question, you'll have to provide more context. Like what you are compiling. If it is freely available, point people to it, and they can try to reproduce your result. If not, your only other option is to post a minimal reproducible example." CreationDate="2011-03-30T15:44:56.943" UserId="4671" />
  <row Id="13507" PostId="5320" Score="1" Text="Whoever made that chart was inaccurate about Minix. It wasn't open source, at least by the OSI definition." CreationDate="2011-03-30T15:51:14.613" UserId="4671" />
  <row Id="13508" PostId="8353" Score="2" Text="&quot;Hack Minux into&quot; is misleading. Linux was a from-ground-up implementation. (Sorry, it's my inner pedant. I can't help myself.)" CreationDate="2011-03-30T15:52:31.307" UserId="4671" />
  <row Id="13509" PostId="5320" Text="@Faheem Mitha: excellent observation, it is actually a crucial point in the whole software history! Mimix was not free when Torvalds started Linux (actually I think Torvards has said that if Mimix-or-some-was-it-bsd-distro (time when corps noticed the competitive edge with software, closed blob coming) had been free, he would not have developed Linux. Anyway good point, the picture should be corrected. Wikipedia about Mimxi `'starting with version 3, MINIX was free and redesigned for “serious” use.'`. +1" CreationDate="2011-03-30T16:09:13.143" UserId="2362" />
  <row Id="13510" PostId="10320" Text="The second sentence of the question says he already tried `lsof`" CreationDate="2011-03-30T16:12:46.203" UserId="73" />
  <row Id="13511" PostId="3196" Text="@Michael Mrozek: @Jay: I whole-heartedly think you cannot expect a newcomer to separate some of these points or expect them answered `&quot;with some Google searching&quot;`, searching is getting devalued/harder and some important material is buried/hidden. You can ignore the helper-questions and concentrate on the main theme `&quot;evolution&quot;` if you genuinely want to help to answer the question about `&quot;evolution&quot;`. I have up-voted the question because the key theme is overlooked but it is perfectly clear what op is asking although it can be hard to answer. Even Wikipedia fails with this one, nb. my answer." CreationDate="2011-03-30T16:16:54.170" UserId="2362" />
  <row Id="13512" PostId="10320" Text="Sorry, I was not clear, he said he tried checking lsof against the device name of the cdrom, I was suggesting checking lsof against a mount point where the cdrom might be mounted, however, I did fail to realize it was a blank CD." CreationDate="2011-03-30T16:26:10.560" UserId="6167" />
  <row Id="13513" PostId="10019" Text="yep..i'm an idiot i didn't tried that one out.. :) THX!" CreationDate="2011-03-30T16:39:59.930" UserId="5664" />
  <row Id="13514" PostId="5320" Text="@hhh: Right, AT freed Minix later on. I don't see the words you quote on [the Minix Wikipedia page](http://en.wikipedia.org/wiki) though. It just says it was freed April 2000, but doesn't say what version." CreationDate="2011-03-30T16:52:17.247" UserId="4671" />
  <row Id="13515" PostId="5320" Text="@Faheem Mitha: sorry for not pasting url (space lim) but here it is[1]. I notified in the body to these comments, thank you. It does not however make it clear which year the license of Mimix was changed. I had a faint memory that it was earlier but have to dig for some source code to verify it. [1] http://en.wikipedia.org/wiki/Linux#MINIX" CreationDate="2011-03-30T16:58:05.427" UserId="2362" />
  <row Id="13516" PostId="10322" Text="See [What kind of questions should I not ask here?](http://unix.stackexchange.com/faq#dontask), specifically the first bullet" CreationDate="2011-03-30T17:28:02.707" UserId="73" />
  <row Id="13517" PostId="5320" Text="@hhh: Yes, I see those words in the Linux page. Funny, the Minix page only has the freeing date, and the Linux page only has the first freed version! I'm not sure what you mean by &quot;notified in the body to these comments&quot;, though." CreationDate="2011-03-30T17:28:58.697" UserId="4671" />
  <row Id="13519" PostId="9501" Score="1" Text="@xenoterracide: at least http://unix.stackexchange.com/questions/3645/how-can-i-check-which-shell-i-am-currently-using . geekosaur's answer is more complete, so i voted to close the earlier question." CreationDate="2011-03-30T17:33:34.680" UserId="885" />
  <row Id="13520" PostId="10221" Text="I have [presented](http://unix.stackexchange.com/questions/10158/splitting-large-directory-tree-into-specified-size-chunks/10321#10321)--among other things--the code excerpt from `distribute` that solves the essential task asked about here." CreationDate="2011-03-30T18:10:57.593" UserId="4319" />
  <row Id="13521" PostId="5320" Text="@Faheem Mitha: pardon. The Linux page (at least) the quote I linked did not state when the first Mimix version was free, it is not well-explained what the part `'for &quot;serious&quot; use'` mean. Notice the AND-quantifier, it may be that it was freed earlier. Hence I suggested to verify it just in case form the source. I am working on the answer to try to address this point more fully." CreationDate="2011-03-30T18:19:39.523" UserId="2362" />
  <row Id="13522" PostId="10315" Text="I use webex for remote support and although Ive never tested audio or video for that matter it does work seamlessly in Ubuntu 10.04 with chrome. Maybe you could try running it natively inside Fedora  " CreationDate="2011-03-30T15:51:00.590" UserId="6103" />
  <row Id="13523" PostId="10231" Score="2" Text="@michelemarcon You are! The return code 0 means a normal exit. If there was a SIGTERM, `$?` would be set to 143 (128 + signal number)." CreationDate="2011-03-30T18:36:27.013" UserId="885" />
  <row Id="13524" PostId="10259" Text="Nice! That looks to do pretty much exactly what I need." CreationDate="2011-03-30T19:16:28.093" UserId="2459" />
  <row Id="13525" PostId="10287" Text="Do you have any idea what device 0:00:00.0 is? There might be a clue in `/sys/bus/pci/devices/0000:00:00.0`. What exact kernel version are you running, compiled how/by whom?" CreationDate="2011-03-30T19:17:42.657" UserId="885" />
  <row Id="13526" PostId="6082" Text="Great trick @Gilles. For those who like to keep window titles short, you can drop the full path and only keep the basename. Just replace `$HOME/*) HPWD=&quot;~${HPWD#$HOME}&quot;;;` with `*) HPWD=\`basename &quot;$HPWD&quot;\`;;`" CreationDate="2011-03-30T21:32:53.270" UserId="6176" />
  <row Id="13527" PostId="10217" Text="No probs, sorry still finding my feet in *.exchange world" CreationDate="2011-03-30T21:47:01.357" UserId="6103" />
  <row Id="13528" PostId="10259" Text="@chris: Hrrm. So attempting to do this from the shell yields some issues. Any suggestions as to how to manage passing the entire line to tmux intact?&quot;" CreationDate="2011-03-30T22:16:24.250" UserId="2459" />
  <row Id="13529" PostId="10259" Text="Use `'\;'` instead of `\;`: `tmux bind-key H pipe-pane -o 'cat &gt;&gt;$HOME/#W-tmux.log' '\;' display-message 'Toggled logging to $HOME/#W-tmux.log'` (nine shell “words”)." CreationDate="2011-03-31T02:16:01.397" UserId="1107" />
  <row Id="13530" PostId="10246" Text="Like I posted above. My DVD drive is broken." CreationDate="2011-03-31T04:26:41.123" UserId="6116" />
  <row Id="13531" PostId="10246" Text="I tried installing ubuntu live cd img on my USB and that didn't boot either but I am sure it I'd my fault because I read some crazy instructions somewhere that suggested I make partitions and set up the USB before doing sudo dd if=/ etc." CreationDate="2011-03-31T04:28:33.260" UserId="6116" />
  <row Id="13532" PostId="10274" Text="I very much doubt you have actually used a Mac to create a USB stick that actually booted Linux on the same Mac. I think if you had been able to actually create all the necessary partitions and do all he necessary formatting with a Mac and actually were successfull in the boot up process then you would have posted a little bit more detailed answer" CreationDate="2011-03-31T04:31:10.057" UserId="6116" />
  <row Id="13533" PostId="10317" Text="Thanks @penguin359... That was a neat summary!" CreationDate="2011-03-31T04:40:53.577" UserId="3598" />
  <row Id="13534" PostId="10331" Score="1" Text="Apple's only supported method is through iTunes which is not available for Linux.  Any other method will probably require jail breaking, but I'm not aware of any specifics." CreationDate="2011-03-31T05:09:50.513" UserId="6167" />
  <row Id="13535" PostId="10320" Text="In previous question I commented also that cdrom is not mounted..." CreationDate="2011-03-31T05:34:40.360" UserId="305" />
  <row Id="13536" PostId="10274" Text="How did you make the boot partition using a Mac? And how did you instal yaboot on that partition using a Mac. Those are two things that there is zERO documentation on right now. Did you honestly do that?" CreationDate="2011-03-31T05:54:06.210" UserId="6116" />
  <row Id="13537" PostId="10330" Score="1" Text="The `%s` in `date +%s` is a GNU extension. Other implementations typically allow the same format strings as in `strftime(3)`, which mostly don't have `%s`. And **WHY** do everybody assume `bash` availability?" CreationDate="2011-03-31T06:41:02.627" UserId="5923" />
  <row Id="13538" PostId="10347" Text="I probably misinterpreted the question. I now see that you wish to remove from and including [header] up to the next [header] if there is nothing but comments and whitespace in between." CreationDate="2011-03-31T06:47:54.883" UserId="5923" />
  <row Id="13539" PostId="10331" Text="Apple has a long history of creating non Linux compatible devices, I do not think this will work. And if it does, they will probably make sure that it does not work after the next update...." CreationDate="2011-03-31T06:49:41.903" UserId="2567" />
  <row Id="13540" PostId="411" Score="1" Text="Would `ex` or `ed` be available on a system like that? I would'nt call it *unix* if there is no `tr` or `sed`." CreationDate="2011-03-31T06:52:44.630" UserId="5923" />
  <row Id="13541" PostId="10349" Text="Do you need a username and password for the proxy? Does the password have strange characters? I got problem with '!' and eventually changed my password." CreationDate="2011-03-31T07:05:32.573" UserId="250" />
  <row Id="13542" PostId="10311" Text="thanks @penguin359" CreationDate="2011-03-31T08:26:20.617" UserId="3913" />
  <row Id="13543" PostId="6685" Text="You shouldn't need to update grub just because the menu/configuration has changed.  Perhaps, if the device.map needs updating because a disk was added, but grub reads it's configuration from disk on each boot unlike lilo." CreationDate="2011-03-31T09:13:59.093" UserId="6167" />
  <row Id="13544" PostId="10232" Text="no this was on fedora core. Script as mentioned below was having a problem.( was loading relative paths rather than absolute :) - hence even though the script ran &quot;as-is&quot; but running it via symlink was an issue)" CreationDate="2011-03-31T09:20:51.093" UserId="4290" />
  <row Id="13545" PostId="10242" Text="Care to elaborate on that please ? I am not sure what you mean by having a period in it. Thanks!" CreationDate="2011-03-31T09:22:29.580" UserId="4290" />
  <row Id="13546" PostId="10344" Text="Thank you, I'll try it." CreationDate="2011-03-31T10:24:21.187" UserId="6050" />
  <row Id="13547" PostId="8336" Text="How far along does telnet get?  Does it say Escape character is...  Also, try using spamc and scan an email file as a test." CreationDate="2011-03-31T10:50:55.097" UserId="6167" />
  <row Id="13548" PostId="10349" Text="No, there is no username or password with the proxy." CreationDate="2011-03-31T10:56:23.687" UserId="4815" />
  <row Id="13549" PostId="10340" Text="Personally I'd rather stick with the key mappings and setup I already have. I wont need to manage 40 or more screens just about 15 so I would one more row to make it perfect!! Thanks though" CreationDate="2011-03-31T11:50:15.707" UserId="6108" />
  <row Id="13550" PostId="10371" Text="Nicely said. You answered this while I was typing my own answer. :)" CreationDate="2011-03-31T12:30:12.747" UserId="4949" />
  <row Id="13551" PostId="10340" Text="I am using screen's default keymappings.  The only line I'd recommend above is windowlist. It will make the window list much more useful. The rest of that file does things like enable 256 color mode and enable XTerm titles." CreationDate="2011-03-31T12:33:51.917" UserId="6167" />
  <row Id="13552" PostId="3905" Text="I suspect mount.nfs doesn't support remounting." CreationDate="2011-03-31T12:43:00.490" UserId="4776" />
  <row Id="13553" PostId="10377" Text="*sigh*. That solved it. i KNOW i tried that already. I must have tried it before i thought of checking the folder permission (i accidentally made it root)" CreationDate="2011-03-31T13:57:02.517" UserId="4069" />
  <row Id="13554" PostId="10287" Text="Not familiar with ppc, but the listings provided are too short to be complete. Also, 1957:0070 exists in pci.ids and shouldn't be listed as &quot;Unknown device&quot;. What is the severity of this, just the warning? Is something not working as expected? Sometimes the kernel can't configure a device until a proper driver is loaded at a later stage. You need to provide distribution and kernel info (`uname -a`) and anything else you think it might be related." CreationDate="2011-03-31T14:22:27.867" UserId="5666" />
  <row Id="13555" PostId="10370" Text="But what is the problem that it would be solved with the described behavior?" CreationDate="2011-03-31T14:46:38.150" UserId="5666" />
  <row Id="13556" PostId="10331" Text="You may be able to run iTunes with [wine](http://appdb.winehq.org/objectManager.php?sClass=application&amp;iId=1347)" CreationDate="2011-03-31T15:10:46.747" UserId="50" />
  <row Id="13557" PostId="8732" Score="1" Text="Thank You Thank You Thank You, this has been bugging me for a while and like magic .... poof ... it works" CreationDate="2011-03-31T15:12:50.243" UserId="6191" />
  <row Id="13558" PostId="10330" Text="Does this take leap seconds into account?" CreationDate="2011-03-31T15:51:50.523" UserId="2511" />
  <row Id="13559" PostId="10381" Text="Orinally posted on programmers.stackexchange.com. Someone sugessted not to mess with the user's .bashrc file. Which file can I modify to add to a path on any shell?" CreationDate="2011-03-31T15:52:32.830" UserId="6194" />
  <row Id="13560" PostId="3905" Text="@pjc: not saying you're wrong but it *did* support it on Slackware 13.0.  Why they would remove functionality on the next point release doesn't make much sense to me." CreationDate="2011-03-31T15:58:48.597" UserId="1338" />
  <row Id="13561" PostId="10381" Score="1" Text="Never, **ever** mess with .bashrc :) Villagers with torches and pitch forks will arrive at your door and force you to drink caster oil in large quantities. " CreationDate="2011-03-31T16:01:21.660" UserId="3150" />
  <row Id="13562" PostId="10381" Text="@Tim: that's &quot;castor oil&quot; :-). And you'd be lucky if that is all they make you do. Young people today, I tell you... " CreationDate="2011-03-31T16:03:23.493" UserId="4671" />
  <row Id="13566" PostId="10381" Text="Good to know, well there goes that idea. Where else might I append to the PATH so that it saves over X sessions?" CreationDate="2011-03-31T16:09:47.683" UserId="6194" />
  <row Id="13567" PostId="10382" Text="@Chris: If you want to make it easy on the users, I suggest creating binary packages. What OS is this? The binary packaging would normally call the basic installation scripts (makefile, whatever)." CreationDate="2011-03-31T16:10:39.337" UserId="4671" />
  <row Id="13569" PostId="10382" Text="@Chris: Ok. update your answer, don't stick this in comments." CreationDate="2011-03-31T16:14:49.037" UserId="4671" />
  <row Id="13570" PostId="10382" Text="@Chris: note it is also possible for users to build binary packages from the packaging, though this is not commonly done." CreationDate="2011-03-31T16:15:55.197" UserId="4671" />
  <row Id="13571" PostId="10330" Score="1" Text="@mattdm&gt; From `info date`... **%s** *&quot;...Leap seconds are not counted unless leap second support is available.&quot;* ... **%S** *&quot;second ('00'...60').  This may be '60' if leap seconds are supported.&quot;*  ... I can only assume that it would include those seconds in a total of 'seconds-since-epoch' when the support is available." CreationDate="2011-03-31T16:20:45.880" UserId="2343" />
  <row Id="13573" PostId="10382" Text="So if you don't want either to happen, how do you recommend the user install and be able to easily launch? I am using a makefile, and I cannot link a jar file, i.e. java must have the actual location of the jar file not a link, and I definitely don't feel right about copying an entire jar file to the `\usr\local\bin`" CreationDate="2011-03-31T16:44:04.750" UserId="6194" />
  <row Id="13574" PostId="10330" Text="Cool, thanks. GNU thinks of everything. :)" CreationDate="2011-03-31T17:02:32.517" UserId="2511" />
  <row Id="13575" PostId="10378" Text="Does `su - git` work? Also, what is the point of encrypting the FS if you want to have it always available if the machine is on? Is it strictly to protect against offline attacks?" CreationDate="2011-03-31T17:33:00.543" UserId="916" />
  <row Id="13576" PostId="10381" Text="@Chris: Suggestion. If this is now open source, put it on some hosting site and point to it. (Most hosting sites allow you to quote program lines via link). That would make this discussion much more concrete and useful." CreationDate="2011-03-31T17:40:07.073" UserId="4671" />
  <row Id="13577" PostId="10381" Text="@Chris: Does the tcl call the C++ as a module, or does it call a C++ excutable?" CreationDate="2011-03-31T17:41:40.973" UserId="4671" />
  <row Id="13579" PostId="10383" Text="git is pretty automatic. I dont think i can tell git to execute commands over ssh before/after doing its git stuff" CreationDate="2011-03-31T17:42:34.547" UserId="4069" />
  <row Id="13580" PostId="10378" Text="@Hank Gay: Yes. offline attacks is all i want to secure with this. It should always be available so reasonably offline+securing the user who access the encrypt files+using good software that access said files is really all i could do. -edit- and `su - git` didnt solve it unfortunately." CreationDate="2011-03-31T17:46:30.860" UserId="4069" />
  <row Id="13581" PostId="10383" Text="I meant mount your remote dir as a local dir with sshfs, then mount an encrypted folder inside that with encfs and then use your git folder inside that. Git doesn't need to know what's going on." CreationDate="2011-03-31T17:57:31.793" UserId="1956" />
  <row Id="13582" PostId="7419" Text="I had to update to squeeze (debian 6) to get a kernel recent enough to have the disable_ipv6-parameter." CreationDate="2011-03-31T17:59:18.370" UserId="4769" />
  <row Id="13584" PostId="10370" Text="Well, say you offer a compressed folder for download, and would like to give copy-pastable instructions on how to symlink some of the folder's files." CreationDate="2011-03-31T18:14:42.683" UserId="5358" />
  <row Id="13585" PostId="10352" Score="1" Text="Note that this is [Glib](http://en.wikipedia.org/wiki/GLib), not [glibc](http://en.wikipedia.org/wiki/Glibc). Every character counts!" CreationDate="2011-03-31T18:18:51.247" UserId="885" />
  <row Id="13586" PostId="10378" Text="I'm not sure what you mean.  Pushing and pulling over SSH is already encrypted.  Do you need encryption beyond that?" CreationDate="2011-03-31T17:29:41.867" UserId="3447" />
  <row Id="13587" PostId="10378" Text="@jonescb filesystem encryption" CreationDate="2011-03-31T17:41:46.997" UserId="4069" />
  <row Id="13588" PostId="10394" Text="I'm mildly confused.  Are you looking for something similar to `cls` in DOS?" CreationDate="2011-03-31T18:28:43.817" UserId="5803" />
  <row Id="13589" PostId="10394" Text="I am not familiar with DOS, but if that allows you to clear the window and have your scroll bar at the top position, then that is what I want." CreationDate="2011-03-31T18:31:47.263" UserId="6200" />
  <row Id="13590" PostId="10384" Text="`tac` isn't POSIX, it's Linux-specific (it's in GNU coreutils, and in some busybox installations)." CreationDate="2011-03-31T18:54:02.900" UserId="885" />
  <row Id="13591" PostId="10370" Text="`ln -s $(pwd)/bar.txt ~/` or include an install script." CreationDate="2011-03-31T19:15:12.810" UserId="5666" />
  <row Id="13592" PostId="10396" Text="Yes. That was what I wanted. Thanks." CreationDate="2011-03-31T19:15:25.930" UserId="6200" />
  <row Id="13593" PostId="10397" Text="@Gilles: `sed` is working fine, but I can't get the `awk` example to run; it hangs... and I get an error in 3rd example:  `cut -f ':' -t 1`  *... cut: invalid option -- 't'*" CreationDate="2011-03-31T19:33:10.003" UserId="2343" />
  <row Id="13594" PostId="10394" Score="1" Text="@sawa - `cls` in DOS clears the contents of the console and returns you to a blank screen with a fresh command prompt." CreationDate="2011-03-31T19:41:07.747" UserId="5803" />
  <row Id="13595" PostId="10397" Text="@fred.bear: I have no idea how that happened — I tested all my snippets, but somehow messed up the post-copy-paste edit on the `cut` example. I see nothing wrong with the `awk` example, what version of awk are you using, and what is your test input?" CreationDate="2011-03-31T19:41:15.060" UserId="885" />
  <row Id="13596" PostId="10394" Text="@lszi I see. It's the counterpart to 'reset' that Faheem gave?" CreationDate="2011-03-31T19:45:01.727" UserId="6200" />
  <row Id="13597" PostId="10400" Score="1" Text="Thanks for sharing. It would be helpful if you summarized the content of the link, both to make your post less work to read (with only a link, readers have to follow it just to know what it's about) and in case the site you're linking to disappears or is unavailable. Explain that this is about installing with encryption straight off the mark and include the necessary commands." CreationDate="2011-03-31T19:47:14.680" UserId="885" />
  <row Id="13598" PostId="10397" Text="... actually the `awk` version is working.. it is jut taking a *very* long time on a large file..  the `sed` version processed the same file in 0.470s ..  My test data is very weighted... only two chunks with a lone '---' three lines from the end of 1 million lines...  " CreationDate="2011-03-31T19:51:25.743" UserId="2343" />
  <row Id="13599" PostId="10399" Text="Your answer is very confusing, which is especially bad since it's talking about security. If the old key is compromised, you can't use it in any useful way to sign the new key!" CreationDate="2011-03-31T20:01:43.840" UserId="885" />
  <row Id="13600" PostId="10399" Text="@Gilles: where did you see in the question that the old key is compromised?" CreationDate="2011-03-31T20:23:18.907" UserId="2780" />
  <row Id="13601" PostId="10399" Text="@shellholic: The question is not clearly written, the asker doesn't distinguish between a package server compromise and a signing server compromise. But if “they need a new gpg key”, it would be because the key is compromised." CreationDate="2011-03-31T20:25:24.677" UserId="885" />
  <row Id="13602" PostId="10346" Text="That first command could be simply written `svn cl source *.c *.h */*.c */*.h`! [Don't parse the output of ls](http://mywiki.wooledge.org/ParsingLs), and it's not as if you were getting any use out of it." CreationDate="2011-03-31T20:29:30.197" UserId="885" />
  <row Id="13603" PostId="10378" Text="maybe you wanna close the other thread: http://unix.stackexchange.com/questions/10355/git-and-remote-security-with-encfs" CreationDate="2011-03-31T20:32:24.273" UserId="5785" />
  <row Id="13604" PostId="10399" Text="@Gilles: he write about the server that hold the packages, not the server that hold the private key. I hope he would have written that the private key was compromised before searching about potentially altered packages. But yes, if the private key was compromised, it is a big deal, but not the deal I can decipher from this question." CreationDate="2011-03-31T20:33:55.263" UserId="2780" />
  <row Id="13606" PostId="10378" Text="@D4RIO: I guess the answer here would work for that question. Alright doing so. Mark as dupe to help" CreationDate="2011-03-31T20:36:46.080" UserId="4069" />
  <row Id="13607" PostId="10375" Text="and then they can be combined: `awk -v line=$(awk '/^---$/{n=NR}END{print n}' file) 'NR&gt;line' file`" CreationDate="2011-03-31T20:59:15.993" UserId="4667" />
  <row Id="13608" PostId="10346" Text="Of course, that's much better than my first example.  I was just trying to provide in-between a simple svn command a and a find, pipe, xargs, svn command, but I guess I didn't go far enough." CreationDate="2011-03-31T21:03:11.197" UserId="6167" />
  <row Id="13609" PostId="411" Text="No `sed`?  Really!?  Out of interest, what is the system?  As Gilles and MattBianco point out, it would probably still have `ed` at least." CreationDate="2011-03-31T21:03:35.240" UserId="3169" />
  <row Id="13610" PostId="10402" Text="It may be worth differentiating between how apt and friends does it, and how rpm does it. Apt signs release files, and rpm signs the actual packages. The difference means that potential attack vectors would be different." CreationDate="2011-03-31T21:19:38.323" UserId="4671" />
  <row Id="13611" PostId="10402" Text="Debian, at least, distributes archive keys in a package, namely [debian-archive-keyring](http://packages.debian.org/squeeze/debian-archive-keyring), which is covered by the old key. As I noted above, Debian does not actually sign the individual packages." CreationDate="2011-03-31T21:23:15.857" UserId="4671" />
  <row Id="13612" PostId="10402" Text="@FaheemMitha: Indeed, the attack vectors are different, but the distributor and user reactions would be similar, which is why I deliberately didn't make a difference. But you're right, I should be more explicit." CreationDate="2011-03-31T21:25:00.040" UserId="885" />
  <row Id="13613" PostId="8250" Score="1" Text="As far as I remember the contents of a .Xauthority file changes, so you should symlink it instead of copying." CreationDate="2011-03-31T21:43:59.227" UserId="1762" />
  <row Id="13614" PostId="10404" Text="Right, but you need the corresponding `deb-src` lines in /etc/apt/sources.list for that to work. " CreationDate="2011-03-31T22:32:49.067" UserId="4671" />
  <row Id="13615" PostId="10402" Text="yes, sorry! i wanted to say: &quot;what happens if the signing key is compromised&quot; :\" CreationDate="2011-03-31T22:33:42.167" UserId="5664" />
  <row Id="13616" PostId="10402" Score="2" Text="@johnny8888: When you realize your question is unclear, go and improve it. For example, here, edit your question and make it explicit that you're worried about a signing key compromise. And as a more general matter, please try to make your questions more readable. Even if your native language isn't English (neither is mine, by the way), surely you can do better. Even tiny things help: for example, start every sentence with a capital letter." CreationDate="2011-03-31T22:45:54.370" UserId="885" />
  <row Id="13617" PostId="10400" Score="1" Text="You can't copy/paste a copyrighted work here directly, sorry :-\. If you can summarize it that'd be nice, but don't just import the entire thing into your post" CreationDate="2011-03-31T22:57:32.463" UserId="73" />
  <row Id="13618" PostId="10389" Text="Out of curiosity, which of my two-pass versions did you test, and what version of awk did you use?" CreationDate="2011-03-31T23:02:59.333" UserId="885" />
  <row Id="13619" PostId="10410" Score="3" Text="Please describe the features you want. Not only because vim users may not be familiar with Emacs features, but also because there may be partial answers that cover some of the features of whitespace-mode. And there are in fact several whitespace-mode's floating around, so which one do you mean anyway?" CreationDate="2011-03-31T23:19:52.033" UserId="885" />
  <row Id="13620" PostId="10396" Text="How is that different to `Ctrl+L` for the purposes of this question?  The user didn't mention terminal corruption, and otherwise it's equivalent as far as I can see." CreationDate="2011-04-01T00:17:30.623" UserId="3169" />
  <row Id="13621" PostId="10405" Text="That is useful too. Thanks." CreationDate="2011-04-01T01:05:17.387" UserId="6200" />
  <row Id="13622" PostId="10396" Text="@Mikel I tried `Ctrl+L` but it did not clear the terminal." CreationDate="2011-04-01T01:10:13.063" UserId="6200" />
  <row Id="13623" PostId="10407" Text="I tried it, but it does not clear the terminal." CreationDate="2011-04-01T01:10:50.413" UserId="6200" />
  <row Id="13624" PostId="10414" Text="Do you literally mean the traditional permissions bits, or do you care about other permission-like metadata?" CreationDate="2011-04-01T01:36:28.090" UserId="2511" />
  <row Id="13625" PostId="10394" Score="1" Text="@sawa: No, `clear` is the counterpart to `cls`.  `reset` does more.  Both will probably work, but based on your description, `reset` is overkill." CreationDate="2011-04-01T01:56:59.343" UserId="3169" />
  <row Id="13626" PostId="10407" Text="@sawa: Can you provide a screenshot?  I still can't understand from your question why `clear` or `Ctrl+L` don't work." CreationDate="2011-04-01T01:58:14.990" UserId="3169" />
  <row Id="13627" PostId="10407" Text="@Mikel It just doesn't work. The line is scrolled up, and the cursor is at the first visible line, but the the scroll bar is positioned at the bottom." CreationDate="2011-04-01T02:04:18.890" UserId="6200" />
  <row Id="13628" PostId="10407" Text="@sawa: Ah, I see what you mean!  I was using PuTTY, and it was the same, but in Gnome Terminal there is a difference.  Thanks for explaining." CreationDate="2011-04-01T02:10:36.000" UserId="3169" />
  <row Id="13629" PostId="10417" Text="I feel there is no C API. The MIME  database foramt can be recognized by GNOME or KDE. Right?  But which module of Gnome/KDE can parse the database?" CreationDate="2011-04-01T02:36:30.410" UserId="5495" />
  <row Id="13630" PostId="10422" Text="So it does... Sneaky. Is this a general principle in UNIX that can be summarized succinctly or rather an implementation detail specific to ls?" CreationDate="2011-04-01T02:45:04.133" UserId="5270" />
  <row Id="13631" PostId="10422" Score="3" Text="@theconnorpower: it's pretty much specific to `ls`.  It is useful, but is clearly inconsistent and surprising.  But note that some commands that produce colored output will strip the colors out when being piped too." CreationDate="2011-04-01T02:46:15.280" UserId="3169" />
  <row Id="13632" PostId="10422" Score="1" Text="@theconnorpower: Trivia: The inventors of Unix went on to write Plan9.  In Plan9, `ls` always prints one per line, and `lc` always prints in columns." CreationDate="2011-04-01T02:49:13.533" UserId="3169" />
  <row Id="13633" PostId="10422" Score="1" Text="@theconnorpower: There are also programs that read the size of the terminal, and adjust their output accordingly, for example on Debian `dpkg -l` will use the whole width of the screen, but if it's printing to a pipe, it assumes the terminal is 80 columns wide, and abbreviates the output to make it fit if necessary." CreationDate="2011-04-01T02:52:42.127" UserId="3169" />
  <row Id="13635" PostId="10418" Text="Do you mean `powertop` shows `no ACPI power usage estimate available`?" CreationDate="2011-04-01T03:00:12.543" UserId="3169" />
  <row Id="13636" PostId="10422" Text="@Mikel Interesting to hear the ls/lc differences in Plan9. Thanks for the detailed answer." CreationDate="2011-04-01T03:02:04.133" UserId="5270" />
  <row Id="13637" PostId="10419" Text="Thank you for a great visual explanation to the answer!" CreationDate="2011-04-01T03:21:50.950" UserId="5354" />
  <row Id="13638" PostId="10426" Text="Wow, thanks for the detailed answer.  Your tips will be a good jumping off point to learning more about BASH, too.  Much appreciated." CreationDate="2011-04-01T03:26:09.387" UserId="6210" />
  <row Id="13640" PostId="10426" Text="You're welcome.  On a technical note, `find -exec` can only run simple commands, not pipelines.  This is because `find` calls `exec`, rather than `system`, so no shell syntax is directly supported." CreationDate="2011-04-01T04:03:16.913" UserId="3169" />
  <row Id="13641" PostId="10303" Score="1" Text="[This](http://www.eelvex.net/administration/diskless-cluster-on-debian-installation-log/) might be helpful." CreationDate="2011-04-01T04:12:58.320" UserId="2783" />
  <row Id="13643" PostId="10345" Text="thanks for reply.  &#xA;speaker-test -D hw:0,0 gives 'device or resource busy'&#xA;&#xA;/etc/pulse/daemon.conf doesnt exist, but /etc/pulse/client.conf exists, should i create daemon.conf?   &#xA;&#xA;putting default-sample-channels = 6 in client.conf doesnt solve the problem though." CreationDate="2011-04-01T04:15:26.237" UserId="6027" />
  <row Id="13648" PostId="10389" Text="@Gilles: I used GNU Awk 3.1.6 (in Ubuntu 10.04 with 4 GB RAM). All tests have 1 million lines in the first &quot;chunk&quot;,then a &quot;marker&quot; followed by 2 &quot;data&quot; lines...It took 15.540 seconds to process a smaller file of 100,000 lines, but for the 1,000,000 lines, I'm running it now, and it has been more than 25 minutes so far. It is using one core to 100% ... killing it now... Here are some more incremental tests: lines=100000 (0m16.026s) -- lines=200000 (2m29.990s) -- lines=300000 (5m23.393s) -- lines=400000 (11m9.938s)   " CreationDate="2011-04-01T05:05:18.637" UserId="2343" />
  <row Id="13649" PostId="9892" Text="In ubuntu, this command requires sudo. I want it in a script. Is there a way to authenticate it once and then let it run with sudo every other time?" CreationDate="2011-04-01T05:14:30.463" UserId="58" />
  <row Id="13650" PostId="9892" Text="@mouche How about running with `sudo script`? See [this answer to another question](http://unix.stackexchange.com/questions/8727/how-can-i-use-sudo-within-a-function/8730#8730)" CreationDate="2011-04-01T05:22:26.523" UserId="250" />
  <row Id="13651" PostId="10428" Score="1" Text="[netcat](http://linux.die.net/man/1/nc) can do this." CreationDate="2011-04-01T05:25:19.460" UserId="5931" />
  <row Id="13652" PostId="10345" Text="Yes, that's common to see since most sound cards only allow one program to access it.  Pulse probably has control of your sound card.  You can try creating a new daemon.conf.  I have both files on my system, but most of daemon.conf are just comments.  Try adding that to daemon.conf and rebooting.  If you want to test your sound card directly without pulse, you can just try killing pulseaudio and then run the test.  You may have to log out or reboot to get pulse back when done testing." CreationDate="2011-04-01T05:47:47.627" UserId="6167" />
  <row Id="13653" PostId="10422" Text="@Mikel Of course, you can always create some aliases, using the mentioned options, to mimic the plan 9 behaviour. @theconnorpower Many of these are GNU tools enhancements. " CreationDate="2011-04-01T06:01:09.430" UserId="3082" />
  <row Id="13654" PostId="10433" Score="1" Text="And it has the added advantage of being much more robust in its updating than cp -u so you'll have significantly less network overhead... Speaking of which, I'd argue that if that share is a nontrivial size you'd do better to update slightly less often" CreationDate="2011-04-01T07:25:04.413" UserId="4949" />
  <row Id="13655" PostId="10011" Text="@jrtayloriv /boot is getting full" CreationDate="2011-04-01T08:25:11.157" UserId="5589" />
  <row Id="13656" PostId="10011" Text="@Mikel I'm in a kernel 'paring down' loop, and I'd like to keep some prior revisions, just-in-case" CreationDate="2011-04-01T08:25:53.027" UserId="5589" />
  <row Id="13658" PostId="10433" Score="1" Text="You probably don't want -v with rsync run as a cron job unless you like lots of email.  Even with no changes it will produce a few lines of output that will be mailed off." CreationDate="2011-04-01T09:05:30.933" UserId="6167" />
  <row Id="13659" PostId="10411" Text="Woot!  That's just like cat -vET trick that one of the old-timer UNIX guys uses at my work, but better, using Vim!" CreationDate="2011-04-01T09:13:44.853" UserId="6167" />
  <row Id="13661" PostId="10011" Text="I'm not saying don't keep one or two known good kernels, in fact I would suggest you do.  What I am suggesting is that when you delete a kernel, delete the map file for that kernel.  The map files are only about 1.8 MB.  Delete them if you have to, but if you've got more than two or three kernels, it might be time to delete a kernel and a System.map together." CreationDate="2011-04-01T09:21:28.660" UserId="3169" />
  <row Id="13662" PostId="10391" Text="Faulty DNS will normally affect everything, I think it's much more likely a firewall and proxy issue." CreationDate="2011-04-01T09:22:57.310" UserId="6167" />
  <row Id="13664" PostId="10397" Text="@Gilles.. (I think I  should stop testing at 3AM. I somehow tested all three of the &quot;two pass&quot; awks as a single unit :( ... I've now tested each individually and the second one is **very fast** at *0.204 seconds* ... Howerver, the first &quot;two-pass&quot; awk  outputs only: &quot;**(standard input)**&quot; (the -l seems to be the culprit) ... as for the third &quot;two-pass&quot; awk, I doesn't output anything... but the second &quot;two-pass&quot; is the fastest of all presented methods (POSIX or otherwise :)..." CreationDate="2011-04-01T09:42:00.993" UserId="2343" />
  <row Id="13665" PostId="10389" Text="Oops.. In my above comment, I missed your &quot;two-pass&quot; awk reference. The above detail is for the &quot;single-pass&quot; awk... The awk version is correct... I've made further comment re the different &quot;two-pass&quot; versions under your answer (an modified the time results above)" CreationDate="2011-04-01T09:45:56.250" UserId="2343" />
  <row Id="13666" PostId="10375" Text="Seeing that I've been time testing the other submissions, I've now also tested &quot;glen jackman's&quot; above snippet. It takes *0.352 seconds* (with the same data file mentioned in my answer)... I'm starting to get the message that awk can be faster than I originally thought possible (I thought sed was about as good as it got, but it seems to be a case of &quot;horses for courses&quot;)... " CreationDate="2011-04-01T09:58:24.913" UserId="2343" />
  <row Id="13667" PostId="10436" Text="Actually, the files inside the archives were generated through several ways, including querying the database..." CreationDate="2011-04-01T10:03:59.460" UserId="250" />
  <row Id="13668" PostId="10436" Text="@phunehehe: see my last edit, and give it a try. Just compare the (sorted) table of contents from the archives you want to compare. Omit the `&gt; /dev/null` to see what has changed between revisions." CreationDate="2011-04-01T10:07:32.797" UserId="5923" />
  <row Id="13669" PostId="10412" Text="I don't know about the version, but change in official rpm would be tough: http://lists.rpm.org/pipermail/rpm-list/2008-December/000040.html The explanation indicates that idelogy play a huge role. Patching rpm would be possible though, thank you for the hint. Maybe I would manage revert automatic BuildRoot creating too." CreationDate="2011-04-01T10:11:26.677" UserId="5884" />
  <row Id="13670" PostId="10436" Text="No I don't want to skip files just because of the name, I want to check the contents as well." CreationDate="2011-04-01T10:14:23.400" UserId="250" />
  <row Id="13671" PostId="10412" Text="@macias: I looked at the rpm sources on Debian (4.9.0-2), but didn't find out anything useful. However, even if the developers are not willing to change it, I expect they are willing to tell you how to do it for yourself." CreationDate="2011-04-01T10:35:49.200" UserId="4671" />
  <row Id="13672" PostId="10375" Text="Very interesting to see all these scripts benchmarked. Nice work Fred." CreationDate="2011-04-01T10:39:52.290" UserId="6188" />
  <row Id="13673" PostId="10375" Text="The fastest solutions use **tac** and **tail** which actually read the input file backwards. Now, if only awk could read the input file backwards..." CreationDate="2011-04-01T10:46:59.993" UserId="6188" />
  <row Id="13674" PostId="10439" Text="Figured out that `PuTTy` from the second line is due to the *answerback from ^E* setting." CreationDate="2011-04-01T10:54:38.147" UserId="6216" />
  <row Id="13675" PostId="10397" Text="@fred.bear: Fixed, and fixed. My QA is not very good for these short snippets — I typically copy-paste from a command line, format, then notice a bug, and try to fix inline rather than reformat. I'm curious to see if counting characters is more efficient than counting lines (2nd vs 3rd two-pass methods)." CreationDate="2011-04-01T11:34:10.727" UserId="885" />
  <row Id="13676" PostId="10411" Text="If you really want to visually indicate space characters, you could do this with syntax highlighting." CreationDate="2011-04-01T11:38:17.430" UserId="1535" />
  <row Id="13677" PostId="10436" Text="@phunehehe: the `mtime` of files change when they are updated, the diff of the sorted output of `tar ztvf` will get them. **Try it**" CreationDate="2011-04-01T11:39:54.763" UserId="5923" />
  <row Id="13678" PostId="10436" Text="@Matt the files are not updated, they are newly created every time. I have code to query the database and put the result into text." CreationDate="2011-04-01T11:51:52.660" UserId="250" />
  <row Id="13679" PostId="10446" Text="Thanks, I tried various combinations of these and checked the codepage on my Windows machine (850) with no luck.  I've also checked the man pages but not found anything else that helped." CreationDate="2011-04-01T13:25:58.030" UserId="6216" />
  <row Id="13680" PostId="10446" Text="please update your question with the **exact** commands you tried and what their result was." CreationDate="2011-04-01T13:30:40.533" UserId="5842" />
  <row Id="13681" PostId="10436" Score="1" Text="@phunehehe: then `tar` is not the proper tool to do incremental backups. You could probably keep a &quot;staging area&quot; for the previous backups contents, and diff each file before overwriting, and then archive the staging area if at least 1 file has changed since the last time." CreationDate="2011-04-01T13:36:58.797" UserId="5923" />
  <row Id="13683" PostId="10446" Text="@Mat: I've updated with as much extra information as I could, the result was exactly the same for each command, except when I set `msdos` as the filesystem short filenames were displayed (as expected)." CreationDate="2011-04-01T13:42:10.980" UserId="6216" />
  <row Id="13684" PostId="10434" Text="I'm suspecting timestamps because everything else is the same. Even diff reports nothing else but time changes." CreationDate="2011-04-01T13:47:27.053" UserId="250" />
  <row Id="13685" PostId="10397" Text="@Gilles.. The first &quot;two-pass&quot; takes *0.048 seconds*... and, for the unknowing (like me:) it seems that `&lt;/input/file` must be on the same logical line as `grep` (btw:  What is the `&lt;file` process actually called?) ... The third &quot;two-pass&quot; takes *0.774 seconds*.  ... The `gawk` &quot;RT&quot; method takes *0.221s*" CreationDate="2011-04-01T14:06:45.167" UserId="2343" />
  <row Id="13686" PostId="10452" Score="2" Text="You're right, I suppose I should explain the problem and this may present a better solution." CreationDate="2011-04-01T14:32:12.117" UserId="6217" />
  <row Id="13687" PostId="10452" Text="@redspike: It's not clear from the question whether it is meant that the admin should override the hosts for a specific user, or whether a user should be able to extend the host aliases without any help from the admin. I thought rather that redspike is asking about the latter situation; this answer is about the first situation I describe..." CreationDate="2011-04-01T14:43:23.010" UserId="4319" />
  <row Id="13689" PostId="10452" Score="2" Text="There are various tool-specific configuration mechanisms to create shortcuts for hostnames, see e.g. ssh_config(5) or git-push(1) for `[url &quot;&lt;actual url base&gt;&quot;]` in Git configuration." CreationDate="2011-04-01T14:47:42.370" UserId="4319" />
  <row Id="13690" PostId="10330" Score="1" Text="@mattbianco 1) i didn't necessarily &quot;assume&quot; bash availability. I provided _my_ solution using bash. It doesn't have to be accepted by @patrick as the answer and you can provide your own solution. 2) When discussing Linux, it's almost certain that bash is available. I'd put my guess at about 99.9% likely given any random selection of Linux installations. 3) I use OSX and `%s` is available in BSD's `date` even though, in general, it's a significantly command than GNU's `date`." CreationDate="2011-04-01T14:53:11.740" UserId="6175" />
  <row Id="13691" PostId="10426" Text="Just by the way, I'm pretty sure that using \0 as input to a read loop is redundant, and that its purpose is to allow a long commandline string (containing many \0 delimited args) to be passed to a program which is \0 delimiter aware and is only called **once**, but yet processes the **many** args internally; each in the same way... This saves a lot of time by avoiding perhaps thousands of individual calls.... A normal newline is fine for the read loop **unless any of the filenames have a newline char in them** ...Mhhh!?.. maybe I've just convinced myself that it is a good idea after all :)" CreationDate="2011-04-01T14:55:59.740" UserId="2343" />
  <row Id="13692" PostId="10448" Score="1" Text="I consider `&quot;${file}_END&quot;` more clear still." CreationDate="2011-04-01T15:01:05.167" UserId="4667" />
  <row Id="13693" PostId="10451" Text="@BillThor: It is a mobility scenario: a mobile user uses two different network providers, so that the same data goes to the receiver in the event that one (or the other) has no signal. I'd avoid TCP if possible. Thanks!" CreationDate="2011-04-01T15:08:23.623" UserId="4463" />
  <row Id="13694" PostId="10451" Text="@Andrea:  I would configure the mobile users system to connect using whichever connection is up.  This would eliminate the duplication issue." CreationDate="2011-04-01T15:18:40.717" UserId="4520" />
  <row Id="13695" PostId="10454" Text="The operating system abstraction you refer to as &quot;handles&quot; are better referred to as &quot;file descriptors&quot;.  It's hard to tell, given the state of Microsoft's documentation, but &quot;descriptors&quot; and &quot;handles&quot; are probably different at some level." CreationDate="2011-04-01T15:35:22.767" UserId="732" />
  <row Id="13696" PostId="10451" Text="@BillThor I need to do evaluation of different strategies, duplication is just one of them. :)" CreationDate="2011-04-01T15:37:22.190" UserId="4463" />
  <row Id="13697" PostId="10443" Text="`touch` is often used to create an *empty* file, but its primary purpose it to *touch* a file's *timestamp*... If a file with the name already exist, 'touch' will not make it become &quot;empty&quot;.... If you want to force an existing file to be **empty** (thereby losing any data it contains), you can use `cp /dev/null &quot;${file}_END&quot;` which will either create an empty file if it doesn't currently exist, or if it does exist, it will truncate it to zero length (ie. empty)..." CreationDate="2011-04-01T15:42:22.680" UserId="2343" />
  <row Id="13699" PostId="10452" Text="@redspike, then you should chage the question to fit the answer you really need" CreationDate="2011-04-01T16:18:01.947" UserId="5785" />
  <row Id="13700" PostId="10452" Text="@imz, The users should never have user-specific host aliases, because the addressing of network nodes is releated to the network, so to the machine as a node in the network. You DON'T have a given machine available &quot;for a user&quot;, but for the machine. Access privileges are different, but network nodes will be mapped to /etc/hosts.&#xA;Shortcuts are different, there are bookmarks in navigators too, but this doesn't interfere with DNS as /etc/hosts, however, we are in Application Layer in OSI." CreationDate="2011-04-01T16:23:48.543" UserId="5785" />
  <row Id="13701" PostId="10461" Text="Isn't AFS supposed to be better than NFS?" CreationDate="2011-04-01T16:27:48.687" UserId="4671" />
  <row Id="13702" PostId="10439" Text="What happens if you try it on a different linux machine? Same results?" CreationDate="2011-04-01T16:30:45.317" UserId="4671" />
  <row Id="13703" PostId="10461" Text="@pjc50: the data does update frequently. is NFS the fastest way to go? is there a better way?&#xA;&#xA;Will storing the data in a central DB lead to faster reads? or would it be better to try and 'cache' as much as possible on every machine, and each machine will use its 'own' version of the data?" CreationDate="2011-04-01T16:30:56.377" UserId="3077" />
  <row Id="13704" PostId="10452" Text="I imagine this is a general desire to override the hostname lookup - some people map advertising servers to 127.0.0.1 on Windows using the host file." CreationDate="2011-04-01T16:47:37.383" UserId="4776" />
  <row Id="13705" PostId="10463" Text="Hopefully this tools have improved since march 2008" CreationDate="2011-04-01T16:59:21.887" UserId="5774" />
  <row Id="13706" PostId="10452" Text="@D4RIO: Ok, thanks for bringing up the DNS issue. Actually, I meant nothing more than &quot;shortcuts&quot; or &quot;bookmarks&quot; when I commented. I didn't think the asker wanted to interfere with DNS--with the results it would give for other users." CreationDate="2011-04-01T17:29:23.383" UserId="4319" />
  <row Id="13707" PostId="10452" Text="Simply, the question is not clear enough: whether he/she wants to allow users to &quot;inject&quot; their own host aliases to the common name resolution service, or whether he/she just wants that a specific user gets some specially customized results for name resolution. You understood it rather as a question about &quot;injecting&quot; host aliases, but I perceived it more as a question about &quot;shortcuts&quot;/&quot;bookmarks&quot; working for all user's processes." CreationDate="2011-04-01T17:36:51.177" UserId="4319" />
  <row Id="13708" PostId="10464" Text="thank you D4RIO. what do I need to do in order to setup FTP? do I need a server? do I need lots of RAM?" CreationDate="2011-04-01T17:41:59.397" UserId="3077" />
  <row Id="13709" PostId="10456" Text="Ubuntu has -F (or --follow=current.log --retry) as well" CreationDate="2011-04-01T18:39:21.137" UserId="4991" />
  <row Id="13710" PostId="2911" Text="Sorry, I kind of forgot about this question. I got my 5870. The drivers worked fine. I could run 2 monitors (dp to HDMI) just fine, no problems. 3 monitors (all using dp to HDMI) didn't work (as expected). I have yet to acquire any display port monitors though. I'm fairly certain it will work though" CreationDate="2011-04-01T19:30:38.757" UserId="1571" />
  <row Id="13711" PostId="10469" Text="Why don't you just try it and see? Type `sudo iptables -L` after executing it. Also, try to generate some network traffic to see if it's allowed/denied." CreationDate="2011-04-01T19:35:02.727" UserId="5661" />
  <row Id="13712" PostId="6685" Text="@penguin359 True, but I don't know what state everything is in. Updating grub will ensure that it's correct." CreationDate="2011-04-01T19:44:35.413" UserId="3309" />
  <row Id="13713" PostId="10469" Text="@faif: Experimenting can be tricky: if you try a little traffic and see everything accepted, you can't be sure there aren't some obscure packets that will be rejected. Better advice is to read the documentation, this is an extremely simple case." CreationDate="2011-04-01T19:47:49.340" UserId="885" />
  <row Id="13715" PostId="10469" Score="2" Text="It can be really tricky if you're remoted in via ssh." CreationDate="2011-04-01T19:53:46.397" UserId="29" />
  <row Id="13716" PostId="10456" Text="`tail -F` also works fine in Fedora; the hint about OS X gave me enough of a hint to check it out on my system. This is the best answer at achieving what I want to do (keep tailing a file even if it changes names); seems pretty clear the answer to my root question about symlinks is &quot;no&quot;. Thanks!" CreationDate="2011-04-01T20:19:24.723" UserId="820" />
  <row Id="13717" PostId="10477" Text="Try adapting the answers from [Display stuff below the prompt at a shell prompt?](http://unix.stackexchange.com/questions/1022/display-stuff-below-the-prompt-at-a-shell-prompt), which has solutions for the left prompt." CreationDate="2011-04-01T20:35:52.747" UserId="885" />
  <row Id="13718" PostId="10439" Score="1" Text="There is something on the filesystem that appears to the Linux driver to be directory entries, but that is clearly not. Either your filesystem is slightly hosed but in a way that the Windows driver tolerates, or the Linux driver is buggy." CreationDate="2011-04-01T20:43:04.707" UserId="885" />
  <row Id="13719" PostId="10477" Text="@murali I can't imagine that there are any any gotcha's in my original question, this is exactly the same question, imo... just the other side. If I'm wrong feel free to reply, and I'll reopen if necessary." CreationDate="2011-04-01T21:06:14.303" UserId="29" />
  <row Id="13720" PostId="10476" Text="There are many potential sources of lag, drivers aren't the most likely culprits. Run `ssh -vvv` and try to figure out which steps are taking abnormally long. Check for messages in the server logs (`/var/logs/syslog`, `/var/log/auth.log`). Run `tcpdump -n` as root to see when there's a delay between packets." CreationDate="2011-04-01T21:18:50.117" UserId="885" />
  <row Id="13721" PostId="10445" Score="2" Text="Always put double quotes around variable substitutions unless you know you need field splitting and pathname expansion. This is a simpler and safer approach than trying to figure out whether they are strictly necessary." CreationDate="2011-04-01T21:21:30.223" UserId="885" />
  <row Id="13722" PostId="10443" Text="@fred.bear: A common idiom to create or truncate a file is `: &gt;&quot;${file}_END&quot;`" CreationDate="2011-04-01T21:22:54.263" UserId="885" />
  <row Id="13723" PostId="10443" Text="@Abhishek: See [$VAR vs ${VAR} and to quote or not to quote](http://unix.stackexchange.com/questions/4899/var-vs-var-and-to-quote-or-not-to-quote)" CreationDate="2011-04-01T21:23:47.197" UserId="885" />
  <row Id="13724" PostId="10481" Text="do the lines in pattern.txt contain wildcards? It would help if you listed a few lines" CreationDate="2011-04-01T21:31:59.627" UserId="1338" />
  <row Id="13725" PostId="10481" Text="@SiegeX The lines in my file do not contain wildcards. " CreationDate="2011-04-01T21:33:23.000" UserId="6230" />
  <row Id="13726" PostId="10470" Text="Aha, excellent. Is editing `/etc/rc.local` preferred to using `update-rc.d` with one’s own individual scripts?" CreationDate="2011-04-01T21:36:01.023" UserId="5646" />
  <row Id="13727" PostId="10483" Text="@SiegeX: Thanks for the suggestion but the find command still doesn't find anything. " CreationDate="2011-04-01T21:45:21.673" UserId="6230" />
  <row Id="13728" PostId="10483" Text="@SiegeX: Yes at the end I will pipe the results to xargs to copy the files it finds." CreationDate="2011-04-01T21:46:59.817" UserId="6230" />
  <row Id="13729" PostId="10481" Score="2" Text="Could `pattern.txt` be a DOS/Windows text file, which to unix tools looks like each line ends with a CR character? If so, this command would look for files with a CR in their name. Run `cat -A pattern.txt` to check that it does indeed contain only letters (you should see lines like `foobar$`, nor `foobar^M$`)." CreationDate="2011-04-01T21:50:09.773" UserId="885" />
  <row Id="13730" PostId="10481" Text="@Gilles: the file is indeed formatted DOS/Windows" CreationDate="2011-04-01T21:54:45.330" UserId="6230" />
  <row Id="13731" PostId="10483" Text="@SiegeX: thanks for the comment along with @Gilles observation I got it to work." CreationDate="2011-04-01T21:58:12.097" UserId="6230" />
  <row Id="13732" PostId="10476" Text="Well the network latency seems to have decided to repair itself for now. I ran `ssh -vvv` and it stopped after: `debug2: key: /root/.ssh/id_dsa ((nil))`" CreationDate="2011-04-01T22:01:46.890" UserId="2654" />
  <row Id="13733" PostId="10470" Score="2" Text="@Paul I would say `update-rc.d` is preferred and is certainly more capable, but `rc.local` is quicker and easier. Also, I think Gilles is right, there's no reason this needs to run as root. " CreationDate="2011-04-01T22:31:47.570" UserId="5931" />
  <row Id="13734" PostId="10476" Text="Stopped, or paused? A small delay at that stage (I think it's at that stage) is expected, because ssh is doing public-key cryptography to generate a session key, and public-key cryptography is slow." CreationDate="2011-04-01T22:34:22.610" UserId="885" />
  <row Id="13735" PostId="10476" Text="Sorry paused. Why doesn't this happen on my other (slower) server running the same OS?" CreationDate="2011-04-01T22:35:48.273" UserId="2654" />
  <row Id="13736" PostId="10476" Text="A delay that manifests itself once, then not for a while, then once again, could be due to a cache effect. In particular it could be a slow, but cached, DNS lookup. But it's impossible to tell without more information." CreationDate="2011-04-01T22:35:51.800" UserId="885" />
  <row Id="13738" PostId="10476" Text="If I see it again, what information can I give you?" CreationDate="2011-04-01T22:43:52.527" UserId="2654" />
  <row Id="13739" PostId="10484" Text="Much cleaner.  I wonder why it's in `$0` rather than `$1`." CreationDate="2011-04-01T23:17:45.380" UserId="3169" />
  <row Id="13740" PostId="10484" Score="1" Text="@Mikel: Process arguments start at 0, but the first argument (i.e. number 0) is conventionally the executable name, and shells don't let you choose it when executing a command. But `sh -c` lets you choose `$0` for the script, it's the first non-option argument. It might be cleaner to write `sh -c 'process &quot;$1&quot;' sh {}`. I like `$0` in situations like `find -exec sh -c 'cp &quot;$0&quot; &quot;$@&quot;' &quot;$destination&quot; {} +`, where you need one word plus one list." CreationDate="2011-04-01T23:35:07.287" UserId="885" />
  <row Id="13742" PostId="10484" Text="Yes, I would have assumed it would start with `$1`, but you're right, it's right there in the man page. &quot;*If there are arguments after the string, they are assigned to the positional parameters, starting with $0.*&quot;" CreationDate="2011-04-02T00:46:09.907" UserId="3169" />
  <row Id="13746" PostId="10491" Text="I like the fact you made the date *more specific* than just *1987*; to reduce the likelyhood of clashing with 1987 appearing eslewhere in the line.... I've just started using awk, and noticed that in this case, the following will work too (in your first example).... `{sub(/,.*/,&quot;&quot;)`  " CreationDate="2011-04-02T05:30:30.990" UserId="2343" />
  <row Id="13747" PostId="10495" Text="@jgbelacqua: You want `date -d @$((1294953978 + 55))`, at least under bash.  However, some kernel timestamps are skewed, meaning that the times produced by this method would be earlier than their corresponding timestamps in `/var/log/syslog`.  It looks like this happens as a result of suspend-to-RAM events, presumably in addition to hibernation and possibly some other stuff, because the kernel time is not incrementing during those periods.  See the question update for more info." CreationDate="2011-01-14T05:28:22.990" UserId="1535" />
  <row Id="13748" PostId="10496" Text="I'm guessing you only read the first couple of paragraphs of the question.  Check it out again in more detail.  Or, alternatively, try suspending your computer and checking to see if your script correctly reports the absolute timestamps of newly logged messages." CreationDate="2011-03-13T02:28:50.773" UserId="1535" />
  <row Id="13749" PostId="10491" Text="@fred.bear: Thank you. And thanks for pointing out that I didn't need `gsub`. The check for *1987* could be localised to the end of column 2, thus: `awk -F':' '$2 ~ /\.1987$/ {sub(/,.*/, &quot;&quot;); print}' students.txt`" CreationDate="2011-04-02T05:55:54.617" UserId="2818" />
  <row Id="13750" PostId="10492" Text="@asoundmove&gt; It's nice that you point out that this question is notionally about `sed`, and probably *user5836* must use `sed`, but one of the good things in this forum is the amount of tangential information that comes from 'related' issues... eg. mentioning the multiple field seperator (-F) is great for me, as I was wondering how to do that with awk... so you get a +1 from me :)  with no demerrit implied to the sed answer.... Seeing all the alternatives is good :)  " CreationDate="2011-04-02T05:55:59.143" UserId="2343" />
  <row Id="13751" PostId="10492" Text="@fred: Thanks :-)" CreationDate="2011-04-02T06:02:17.150" UserId="3519" />
  <row Id="13752" PostId="10431" Text="&quot;do NOT write any installation program&quot; is a bit ambiguous. You do want an installation program. You want the package build system to call it to build the packages." CreationDate="2011-04-02T06:44:25.857" UserId="4671" />
  <row Id="13753" PostId="10485" Text="@Gilles... Some people like crossword puzzles. I like trying to work out your scripts :) I think I'm starting to recognize *your* pattern :) ... you are allowing a single invocation of `find` to handle the umpteen (maybe thousands) of args, versus calling `find` unpteen times... The IFS pulls the multi-line output back to a string of args in the form: `-iname *abc*`, each seperated by `-o` (which I assume means &quot;or&quot;)... Howerver I am a bit puzzled by `\( \)`.. are they a feature of the shell to group the args, or are they a specific requirement of `find`?...(the puzzle is *almost* solved.. :) " CreationDate="2011-04-02T10:10:16.390" UserId="2343" />
  <row Id="13754" PostId="9625" Text="+1 for the +, I never knew that" CreationDate="2011-04-02T10:36:46.833" UserId="36" />
  <row Id="13755" PostId="10485" Text="@fred.bear: `\(` and `\)` are passed to `find` as `(` and `)` respectively; the only shell feature used there is the backslash to quote the next character (so that the parentheses are not interpreted as such by the shell). The rest is `find` expression syntax: `(` and `)` for expression grouping, `-o` as the binary “or” operator." CreationDate="2011-04-02T11:17:54.690" UserId="885" />
  <row Id="13756" PostId="10476" Text="@Nat: For ssh, primarily where the delay is in `ssh -vvv`. In general, try to get logs or debugging information from both sides. Spy on packets with `tcpdump -n` to see where the delays are. Describe your network topology (any routers involved?). Describe the application: everybody knows ssh, but we have no idea what your game server is doing (for a start, TCP? UDP? Does it have its own protocol, does it make use of other protocols such as DNS at some stages?)." CreationDate="2011-04-02T11:26:46.133" UserId="885" />
  <row Id="13758" PostId="10506" Text="you're missing the directory name in that find command" CreationDate="2011-04-02T13:10:30.563" UserId="5842" />
  <row Id="13759" PostId="10506" Text="@Mat: depends if it is the GNU or BSD version of `find`. Here it looks like the GNU one." CreationDate="2011-04-02T13:17:43.057" UserId="2780" />
  <row Id="13760" PostId="10507" Text="There are actually a lot of ways to handle this depending on the kind of file, the kind of change, how often it needs to be checked, if there are any requirements for monitoring previous actions, etc. Could you please describe your problem more fully?" CreationDate="2011-04-02T13:31:39.947" UserId="1925" />
  <row Id="13762" PostId="10507" Text="Are you using Linux? If so, the post that @Gilles linked to should do exactly what you need." CreationDate="2011-04-02T14:02:20.913" UserId="3150" />
  <row Id="13763" PostId="10500" Text="Agreed, I wouldn't bother trying either. It's a lot of work for such a trivial task (unless, of course, you happen to use virtualization as part of your normal computing). " CreationDate="2011-04-02T14:06:23.920" UserId="3150" />
  <row Id="13764" PostId="10364" Text="Does this answer your questions?" CreationDate="2011-04-02T14:39:39.723" UserId="6167" />
  <row Id="13765" PostId="10413" Text="Thank you. This is the least intrusive approach and it works." CreationDate="2011-04-02T14:58:00.973" UserId="5884" />
  <row Id="13766" PostId="10412" Text="@Faheem Mitha, luckily the -bi switch works for **this** case, so I skip patching if I can -- the software list with regressions are getting longer anyway." CreationDate="2011-04-02T14:59:26.497" UserId="5884" />
  <row Id="13767" PostId="10512" Text="How about a symlink? `ln -s /mnt/thing/usr/prj /prj`" CreationDate="2011-04-02T16:25:47.953" UserId="250" />
  <row Id="13768" PostId="10512" Score="1" Text="possible duplicate of [Restricting an SCP/SFTP user to a directory](http://unix.stackexchange.com/questions/9853/restricting-an-scp-sftp-user-to-a-directory)" CreationDate="2011-04-02T16:44:38.683" UserId="885" />
  <row Id="13769" PostId="10499" Text="The printer isn't paused in http://localhost:631. It's status is Idle now.&#xA;&#xA;How can I find out that cups deamon is running? I used the commands cupsd and cupsenable.&#xA;&#xA;lpq still shows&#xA;**Deskjet-F300-series is not ready**&#xA;which is my own printer that is disconnected. I'd like to print with F4210 printer.&#xA;" CreationDate="2011-04-02T16:47:33.820" UserId="6215" />
  <row Id="13770" PostId="10500" Text="Now I remember why I don't buy apple devices" CreationDate="2011-04-02T16:49:45.110" UserId="29" />
  <row Id="13771" PostId="10513" Text="Thanks, works very well!" CreationDate="2011-04-02T17:05:31.700" UserId="2528" />
  <row Id="13772" PostId="10512" Text="Concur. Pretty much the same issue." CreationDate="2011-04-02T17:19:02.527" UserId="4949" />
  <row Id="13773" PostId="10490" Text="A bit simpler: `s/,.*//`" CreationDate="2011-04-02T17:53:24.593" UserId="4667" />
  <row Id="13774" PostId="10490" Text="thanks @glenn. You know I was looking my answer yesterday thinking there must be a faster way and then I thought about `/1987/,.*/d` then I realized ,no, that deletes the entire line.  For some reason your answer escaped me." CreationDate="2011-04-02T18:15:10.540" UserId="1338" />
  <row Id="13775" PostId="10510" Text="I didn't even know you could get this much info" CreationDate="2011-04-02T18:15:50.647" UserId="29" />
  <row Id="13776" PostId="10476" Text="@Nat I assume that you've checked for actual network issues? such as bad cables/ports... Just because it's on the same LAN doesn't mean there isn't the potential for an actual network problem." CreationDate="2011-04-02T18:18:30.003" UserId="29" />
  <row Id="13777" PostId="9625" Text="Yes, but I need to add, that this is a `gnu-find` extension. Most of the time I forget about that." CreationDate="2011-04-02T18:37:07.740" UserId="4485" />
  <row Id="13778" PostId="10489" Score="1" Text="You do realize this is cheating ;) There's a reason for homework assignments." CreationDate="2011-04-02T18:44:29.443" UserId="5666" />
  <row Id="13779" PostId="10517" Score="1" Text="Assuming you mean `Ctrl-a d` for immediately detaching." CreationDate="2011-04-02T19:05:21.053" UserId="5666" />
  <row Id="13780" PostId="10515" Text="+1. Another good tool is rdiff-backup." CreationDate="2011-04-02T19:43:41.557" UserId="4523" />
  <row Id="13781" PostId="10521" Score="1" Text="You might want to try on http://ubuntu.stackexchange.com" CreationDate="2011-04-02T20:26:19.927" UserId="502" />
  <row Id="13782" PostId="10526" Text="Wasn't sure what to tag this, please retag as appropriate." CreationDate="2011-04-02T20:34:02.987" UserId="6245" />
  <row Id="13783" PostId="10527" Text="Interesting! This works on Bash, but not on Zsh (I really didn't think this was going to be shell-dependent). This made me realize that `which` is actually a shell built-in and not a regular Unix utility as I had assumed. So I should edit my question and specify Zsh. Thanks for pointing this out to me!" CreationDate="2011-04-02T20:37:59.057" UserId="502" />
  <row Id="13784" PostId="10526" Score="2" Text="Best question title ever." CreationDate="2011-04-02T20:40:39.880" UserId="502" />
  <row Id="13785" PostId="10528" Text="omg...i didn't knew about the $RS!! thank you very much!!!!!" CreationDate="2011-04-02T20:48:27.793" UserId="5664" />
  <row Id="13786" PostId="10529" Text="Thanks! This is something very useful to add to my bag of tricks. I especially like that `type -a` seems to return *all* instances on your `$PATH`, not just the first one. I think I'll alias `which` to `type` :)" CreationDate="2011-04-02T20:49:34.283" UserId="502" />
  <row Id="13787" PostId="10526" Text="what is your shell? (not reproducing this with urxvt-unicode)" CreationDate="2011-04-02T20:54:29.307" UserId="5842" />
  <row Id="13788" PostId="10529" Text="`type` appears to be a bash builtin. Does this work on other shells?" CreationDate="2011-04-02T20:55:13.997" UserId="4671" />
  <row Id="13789" PostId="10529" Text="`type` is part of POSIX, and derived from the original System V shell.  It won't work on `csh`/`tcsh`; some versions of those have a `what` builtin, others may have a built-in version of `which` that behaves like `type` instead of like the standalone `which` (the stand-alone-ness is why it has to guess, btw; built-in versions are more likely to do the right thing, as it has to be built in to see what aliases and functions you have)." CreationDate="2011-04-02T20:59:34.623" UserId="5325" />
  <row Id="13790" PostId="10521" Text="Thank you Adrian I'll try" CreationDate="2011-04-02T20:59:40.147" UserId="6244" />
  <row Id="13791" PostId="10527" Text="`which` is not a builtin, at least not on Debian. It is a shell script, and part of debianutils, so works on zsh. However, `--skip-alias` is not an option the `which` on Debian. Are there different varieties of `which` floating around? This does not apppear to be a standardized command." CreationDate="2011-04-02T21:01:40.570" UserId="4671" />
  <row Id="13792" PostId="10528" Text="I'm still looking for how to select the last field with `sort -k`" CreationDate="2011-04-02T21:03:39.803" UserId="5666" />
  <row Id="13793" PostId="10526" Text="@Mat: As I say, my shell is zsh (4.3.10), and it happens with rxvt-unicode (9.07) (I also see now that I should withdraw my claim that it happens with rxvt since on my system, rxvt is a symlink to urxvt)." CreationDate="2011-04-02T21:04:39.637" UserId="6245" />
  <row Id="13794" PostId="10529" Score="1" Text="@ geekosaur: Thanks. If `type` is part of the POSIX standard then that is the way to go. To answer my question, type works on zsh too (on Debian). Why don't the distributions get rid of `what` and `which` if they aren't standardized and don't have extra functionality?" CreationDate="2011-04-02T21:05:21.393" UserId="4671" />
  <row Id="13795" PostId="10529" Text="Don't `csh/tcsh` follow the POSIX standard?" CreationDate="2011-04-02T21:06:47.990" UserId="4671" />
  <row Id="13796" PostId="10529" Text="Nope, not even remotely." CreationDate="2011-04-02T21:07:33.403" UserId="5325" />
  <row Id="13797" PostId="10529" Text="@geekosaur: Ok, thanks. Where is a good place to look for the type documentation on a Linux system?" CreationDate="2011-04-02T21:08:24.960" UserId="4671" />
  <row Id="13798" PostId="10526" Text="ah sorry missed that. anything suspicious in your `.zshrc`?" CreationDate="2011-04-02T21:13:35.927" UserId="5842" />
  <row Id="13799" PostId="10529" Text="@Faheem: For the same reason `csh`/`tcsh` still exist:  they have a long history and there's still a lot of stuff that uses them. (`which` is actually much older than `type`.) See for example the OpenOffice build system." CreationDate="2011-04-02T21:13:43.103" UserId="5325" />
  <row Id="13800" PostId="10529" Score="1" Text="@Faheem: re documentation, I'd start with `info bash 'Bash builtins'` on Linux, although you can also get it form the `zsh` reference manual. More officially, http://pubs.opengroup.org/onlinepubs/009695399/utilities/type.html (which I note doesn't actually spec `-P` or `-a`, or even `-p` which was the original form of `-P`, but does require that it use the current shell environment)." CreationDate="2011-04-02T21:23:06.580" UserId="5325" />
  <row Id="13801" PostId="10526" Text="@Mat: Yes!!!  I found a line `preexec () { print -Pn &quot;\e]0;%~: $2\a&quot; }` (modulo a few conditionals).  Removing that removes the problem.  Unfortunately, I can't remember why I put that there!" CreationDate="2011-04-02T21:27:07.277" UserId="6245" />
  <row Id="13802" PostId="10529" Text="@geekosaur: Thanks. That's informative. The link you give, which I assume is the POSIX standard, has little detail, and if it doesn't have the options discussed here, does that mean they are not part of the standard? Perhaps Linux should move towards depreciating `which` etc." CreationDate="2011-04-02T21:33:01.700" UserId="4671" />
  <row Id="13803" PostId="10523" Score="1" Text="The shutdown script does this already (`last -x`)" CreationDate="2011-04-02T21:33:29.877" UserId="5666" />
  <row Id="13804" PostId="10529" Text="Incredibly, the bash info manual is not available in Debian. How appalling. See [Debian bug report 427804](http://bugs.debian.org/427804)." CreationDate="2011-04-02T21:39:53.720" UserId="4671" />
  <row Id="13805" PostId="10529" Text="@Faheem: it's complex. `type` originates from the System V shell, and the behavior I'm describing actually comes from the old SVID standard (POSIX is largely a subset of the SVID). POSIX hasn't specced those, but most shells implement the SVID behavior because it's more useful. (As to why, POSIX specs a subset which is usable on more than just Unix. For example, you can do POSIX `type` on a POSIX shell running on OpenVMS, but it's not obvious how `-P` should deal with commands that are logical names or other things that are neither disk files nor covered in POSIX.)" CreationDate="2011-04-02T21:41:06.710" UserId="5325" />
  <row Id="13806" PostId="10529" Text="@geekosaur: I see. Thanks." CreationDate="2011-04-02T21:43:05.200" UserId="4671" />
  <row Id="13807" PostId="10529" Text="@Faheem: Yeh, I'm seriously considering a cron job to look for installed packages with uninstalled `-doc` packages and install them. Annoying. Should probably be an `apt-get` configuration option to automatically install docs." CreationDate="2011-04-02T21:43:56.630" UserId="5325" />
  <row Id="13808" PostId="10529" Text="@geekosaur: In this case, it wouldn't do any good. It's not even in non-free.:-( Missing for no reason, apparently." CreationDate="2011-04-02T21:46:46.990" UserId="4671" />
  <row Id="13809" PostId="10527" Text="@Faheem Mitha: It is a zsh builtin.  See `man zshbuiltins`.  *which [ -wpams ] name ...           Equivalent to whence -c.*" CreationDate="2011-04-02T22:03:47.840" UserId="3169" />
  <row Id="13810" PostId="10529" Text="OP says he's using `zsh`, so it should be `type -p vim` rather than `type -P vim`." CreationDate="2011-04-02T22:25:46.393" UserId="3169" />
  <row Id="13811" PostId="10476" Text="Hi xeno, yes I checked the cables and even swapped them around. It seems it's likely a DNS issue as when I connect using `&lt;name&gt;` it causes the lag but connecting using the fully qualified domain doesn't lag. I have a loopback set up on my router and my hosts file had some odd entries." CreationDate="2011-04-02T22:31:35.320" UserId="2654" />
  <row Id="13812" PostId="10526" Text="@Andrew Stacey: That looks like it's trying to set the xterm window title to the command you executed, prefixed with the current directory." CreationDate="2011-04-02T22:34:59.663" UserId="3169" />
  <row Id="13813" PostId="10528" Text="@forcefsck: I don't think it's possible with only `sort -k`.  The `begfield` function in GNU sort just counts down to zero.  Your decorate-sort-undecorate (DSU) approach seems to be the best way I think." CreationDate="2011-04-02T23:20:34.557" UserId="3169" />
  <row Id="13814" PostId="10528" Text="Out of interest, why `$NF,$RS` and not `$NF,$0`?  I didn't know `$RS` did that.  (I guess it's equivalent to `$NF,$&quot;\n&quot;`, which does the same, but that's also surprising I think.)" CreationDate="2011-04-03T00:36:01.007" UserId="3169" />
  <row Id="13815" PostId="154" Text="I really wish I had been using the :r command before." CreationDate="2011-04-03T00:51:28.303" UserId="4856" />
  <row Id="13816" PostId="1165" Text="The current X.org codebase is probably very different from the original. It *is* being rewritten - just from the inside, by [refactoring](http://en.wikipedia.org/wiki/Code_refactoring) when pain points are identified. The move from [Xlib to XCB](http://xcb.freedesktop.org/XlibXcb/) is a good example of that." CreationDate="2011-04-03T01:31:12.813" UserId="3038" />
  <row Id="13817" PostId="10528" Text="It was the least obvious, I was surprised myself." CreationDate="2011-04-03T07:11:33.340" UserId="5666" />
  <row Id="13818" PostId="10538" Text="Not enough information. Please elaborate. How does your network connect to the internet? Are you behind a firewall? " CreationDate="2011-04-03T09:58:59.350" UserId="4949" />
  <row Id="13819" PostId="8918" Text="@Mikel Another thing to through it, sometimes it's best to trick an app into cleaning itself up with a signal like SIGQUIT or SIGSEGV if it won't respond to SIGINT/SIGTERM.  For example, a full screen 3-D app or even Xorg.  Using SIGQUIT, it won't have a chance to clean-up anything, but tricking it into thinking a segment fault happen and it will feel it has no choice but to clean up and exit." CreationDate="2011-04-03T11:10:13.887" UserId="6167" />
  <row Id="13820" PostId="10543" Text="http://unix.stackexchange.com/questions/10476/what-could-cause-network-latency-on-a-fresh-ubuntu-server-10-10-install" CreationDate="2011-04-03T11:17:38.873" UserId="5666" />
  <row Id="13821" PostId="10543" Text="@forcefsck I don't think that post is relevant.  My initial connection is fast, keys get exchange, authentication is fast, no waiting on a password prompt like in the above post.  Also, all forward and reverse DNS should be finished by this point I'm pretty certain.  Also, this problem is not intermittent like in the above post, it's every single time.  The verbose output I posted above starts just after the authentication succeeded message.  I think it's more along the lines of bash or a pam session module being slow to start." CreationDate="2011-04-03T11:24:05.343" UserId="6167" />
  <row Id="13822" PostId="10544" Text="I thought reverse DNS mapping happened before authentication was allowed to succeed, but I'll test that." CreationDate="2011-04-03T11:28:22.873" UserId="6167" />
  <row Id="13823" PostId="10543" Text="Is there a delay for non-interactive sessions as well? Is there a delay when you start a second connection while one is active? What authentication method do you use? Is your home directory automounted on login in some way (remote or encrypted)? A pam module could be the culprint, what do you have in `/etc/pam.d/sshd` (or however it's called on your system)? If you have access to the server logs, is there anything relevant?" CreationDate="2011-04-03T11:32:56.100" UserId="885" />
  <row Id="13824" PostId="10542" Text="Nice (I hadn't noticed that), but the question was actually registered or unbuffered." CreationDate="2011-04-03T11:34:27.143" UserId="885" />
  <row Id="13825" PostId="10544" Text="I think you mean UseDNS, I got a depreciated warning on VerifyReverseMapping.  Regardless, I set both to no and it didn't help.  I do put care into making sure my reverse mapping is correct and host can map my client's hostname to an A record and back again with no problem." CreationDate="2011-04-03T11:34:40.873" UserId="6167" />
  <row Id="13826" PostId="10531" Text="Browse the [similar questions on Server Fault](http://serverfault.com/search?q=book+troubleshooting)." CreationDate="2011-04-03T11:37:13.257" UserId="885" />
  <row Id="13828" PostId="10528" Text="@johnny8888, @forcefsck: In awk, `$` can be followed by any expression. “[The effect of the field number expression evaluating to anything other than a non-negative integer is unspecified](http://pubs.opengroup.org/onlinepubs/009695399/utilities/awk.html#tag_04_06_13_03)”. GNU awk (on my system) treats a string like `&quot;\n&quot;` as zero. Others (e.g. the original implementation by A, W and K) abort with an error message. If `RS` happened to be a digit, you'd get the corresponding field on any implementation. So don't do this, use `$0`." CreationDate="2011-04-03T11:51:21.137" UserId="885" />
  <row Id="13829" PostId="10543" Text="@Gilles Yes, it seems to affect remote commands, scp, and sftp.  If you mean two separate SSH connections, both are slow.  If you mean starting a second session through the same control socket, I just tried that and it's fast, but I do get a warning about xauth failure to lock .Xauthority.  I use anything from keyboard-interactive, publickey, host-based, to gssapi-keyex.  Authentication is always fast regardless, though speed varies slightly.  My home directory is local to the server and not encrypted.  PAM is essentially Ubuntu default + pam_krb5.so installed." CreationDate="2011-04-03T11:53:03.010" UserId="6167" />
  <row Id="13830" PostId="10521" Text="@Adrian, @Mamaduka: [Do not cross-post between Stack Exchange sites](http://unix.stackexchange.com/faq#WikiPlaceholder-FaqWhatKindOfQuestions). If you want your question to be moved to Ask Ubuntu, flag it and ask a moderator to do it. This question is ok on either site. But you'll need to provide more information: if you try to play a sound, do you get any error message? Run `lsmod` in a terminal; is the `ac97` module loaded? Check that all volume controls are up: some sound systems have multiple controls, and if any of them is muted, you won't hear anything." CreationDate="2011-04-03T11:56:26.970" UserId="885" />
  <row Id="13831" PostId="10546" Text="That's way more complicated than it needs to be!" CreationDate="2011-04-03T12:08:48.330" UserId="885" />
  <row Id="13832" PostId="10545" Text="@johnny8888: Please use relevant tags for your questions. See [How do I correctly tag my questions?](http://meta.stackoverflow.com/questions/18878/how-do-i-correctly-tag-my-questions) for advice (it's aimed at Stack Overflow but still good reading)." CreationDate="2011-04-03T12:11:24.570" UserId="885" />
  <row Id="13833" PostId="10546" Score="1" Text="That's readable. Pretty much all he's done is to wrap it in a while loop and reformat it; he didn't make it much more complicated at all." CreationDate="2011-04-03T12:22:16.493" UserId="195" />
  <row Id="13834" PostId="10547" Text="while ! ping -W 1 -c 4 www.yahoo.com; do sleep 60; done &gt;&amp; /dev/null" CreationDate="2011-04-03T12:22:36.550" UserId="5664" />
  <row Id="13835" PostId="10547" Text="works perfectly!! thank you!!" CreationDate="2011-04-03T12:23:13.943" UserId="5664" />
  <row Id="13838" PostId="10543" Text="You say &quot;slow to one of my servers&quot;. Does it behave normally when sshing to other machines? And this is from your home machine, which you are logged into locally? What is the OS on local and remote (including version)? Also, is sshing from the server to your home machine normal? Does sshing as another user (both local and remote) make any difference?" CreationDate="2011-04-03T13:11:04.313" UserId="4671" />
  <row Id="13839" PostId="10548" Score="1" Text="What are the things you have to type to boot the system?" CreationDate="2011-04-03T13:34:16.373" UserId="250" />
  <row Id="13840" PostId="10548" Text="It would be faster to ask the GRML people directly. They are pretty helpful. I'd first give the irc channel on freenode a shot, #grml. Alternatively you could try the mailing lists or issue tracker." CreationDate="2011-04-03T13:50:46.903" UserId="4671" />
  <row Id="13841" PostId="10553" Text="Could you paste your `/etc/network/interfaces`, minus the passwords of course? :-) Also, the relevant parts of `lsmod`. What tools are you using to manage the wireless?" CreationDate="2011-04-03T14:41:35.207" UserId="4671" />
  <row Id="13842" PostId="10553" Text="not much information... updated the details above." CreationDate="2011-04-03T14:51:25.197" UserId="4159" />
  <row Id="13843" PostId="10551" Text="The second sentence of your second paragraph is not true. If files `foo` and `bar` are hardlinks to the same file, then `du foo bar`, `du bar foo` and `du foo; du bar` will each output something different." CreationDate="2011-04-03T15:43:45.897" UserId="4604" />
  <row Id="13844" PostId="9987" Score="1" Text="elinks supports JavaScript. Rather, ECMAScript." CreationDate="2011-04-03T15:47:02.320" UserId="1655" />
  <row Id="13845" PostId="10551" Text="@Steven: Yes, you're right, I wanted to keep things simple. Not all implementations do that, though. With GNU, `du foo bar` counts the file only once, but OpenBSD counts it twice. [POSIX](http://pubs.opengroup.org/onlinepubs/009695399/utilities/du.html) favors the GNU behavior, but I don't find it very clear on the case of multiple command line arguments." CreationDate="2011-04-03T15:58:54.080" UserId="885" />
  <row Id="13846" PostId="10547" Text="Need to change `&amp;&amp;` to `||` to match the test from the OP.  (A &amp; B) == (~A | ~B)." CreationDate="2011-04-03T18:30:31.567" UserId="4194" />
  <row Id="13847" PostId="10556" Score="1" Text="More context would be helpful. Do you have a network connection? If so, is there some reason you can't just download the packages you need using `apt` and friends? Downloading the cds in general is not very efficient." CreationDate="2011-04-03T18:51:20.870" UserId="4671" />
  <row Id="13848" PostId="10557" Text="I get a 404 when I try the [linked search](http://www.debian.org/CD/jigdo-cd/#search)." CreationDate="2011-04-03T18:54:27.327" UserId="224" />
  <row Id="13849" PostId="10557" Text="So I see. The search seems to be busted. I'd just download the jigdo files and look at them." CreationDate="2011-04-03T18:58:02.273" UserId="4671" />
  <row Id="13850" PostId="10557" Score="1" Text="I shot an email about this to debian-cd@lists.debian.org, just in case anyone else was thinking of doing so." CreationDate="2011-04-03T19:02:06.263" UserId="4671" />
  <row Id="13851" PostId="10533" Text="This looks great, thanks.  I'll test it tomorrow to be sure that it works.  (Now that I see your explanation of what that preexec does, I remember why I put it in and realise that I do want to keep it, so I'm particularly appreciative of this answer as it lets me do that!)" CreationDate="2011-04-03T19:03:29.810" UserId="6245" />
  <row Id="13852" PostId="10556" Text="@Faheem, if I need to, I can run a CAT5 cable and try to get Ethernet working.  However, I can't find my long cable, so this might be inconvenient." CreationDate="2011-04-03T19:06:52.257" UserId="224" />
  <row Id="13853" PostId="10557" Text="I downloaded the jigdo for CD 2, and it's not human-readable." CreationDate="2011-04-03T19:11:28.753" UserId="224" />
  <row Id="13855" PostId="10557" Text="@Matthew: It is gzipped. Use zcat or zless." CreationDate="2011-04-03T19:20:38.940" UserId="4671" />
  <row Id="13856" PostId="10557" Text="@Faheem, thanks." CreationDate="2011-04-03T19:26:55.960" UserId="224" />
  <row Id="13857" PostId="10556" Score="1" Text="@Matthew: You may want to consider [apt-zip](http://packages.debian.org/squeeze/apt-zip) or [aptoncd](http://packages.debian.org/squeeze/aptoncd)." CreationDate="2011-04-03T19:36:44.227" UserId="885" />
  <row Id="13858" PostId="10543" Text="Shoot!  It was PAM, one of the admins configured pam_krb5.so to attempt to acquire AFS tokens for a non-existent cell.  I wasn't even thinking PAM when I originally wrote the question." CreationDate="2011-04-03T21:02:16.320" UserId="6167" />
  <row Id="13859" PostId="10555" Text="network-manager is the one managing my connection, in my other laptops, i didn't configure anything in my /etc/network/interfaces. if that's the case, i'll to put something in it and will let you know." CreationDate="2011-04-03T21:02:26.867" UserId="4159" />
  <row Id="13860" PostId="10531" Text="... I went to stackoverflow and they sent me here. Now I'm being sent somewhere else..." CreationDate="2011-04-03T21:06:48.860" UserId="6249" />
  <row Id="13861" PostId="10555" Text="With network manager, you don't need to configure /etc/network/interfaces unless you'd rather have it managed by the system and not rely on a user logging in to be online.  I might do that for a stationary server, but probably not for a mobile laptop or even a desktop." CreationDate="2011-04-03T21:07:20.670" UserId="6167" />
  <row Id="13862" PostId="10531" Text="@sildhe: I'm not saying you should ask there, I'm saying that you'll probably find helpful information already there." CreationDate="2011-04-03T21:08:31.887" UserId="885" />
  <row Id="13863" PostId="10539" Text="well, yes. I understand tracking down stuff like this can be complex.  And I also understand that experience is a good teacher...but surely there has got to be a book or two out there that describes things along the lines of what you have just described..." CreationDate="2011-04-03T21:09:02.523" UserId="6249" />
  <row Id="13864" PostId="10555" Text="@Marc: I don't know anything about network-manager, but are you saying that you have successfully used it to configure your network with your other laptops without writing anything to /etc/network/interfaces? If so, I'm surprised. EDIT: having looked at the documentation, apparently that is how it works. However, if it not working for you, using the standard tools is a reasonable alternative, imo." CreationDate="2011-04-03T21:09:06.280" UserId="4671" />
  <row Id="13865" PostId="10555" Text="@penguin: I see. Personally, I prefer to do things as transparently as possible, not use some magic piece of software. But your mileage may vary." CreationDate="2011-04-03T21:15:02.427" UserId="4671" />
  <row Id="13866" PostId="10561" Score="1" Text="Voting to move to serverfault.com" CreationDate="2011-04-02T17:18:40.293" />
  <row Id="13867" PostId="10563" Text="Most distros have a desktop and server variant so a lot of the time there's no real need to strip X (just start with the server variant)." CreationDate="2011-04-02T17:28:08.170" />
  <row Id="13868" PostId="10565" Text="File permissions are stored in [inodes](http://en.wikipedia.org/wiki/Inode)." CreationDate="2011-04-03T21:11:26.303" UserId="4515" />
  <row Id="13869" PostId="10566" Score="1" Text="permissions are attached to whom?" CreationDate="2011-04-03T21:12:45.613" UserId="5946" />
  <row Id="13870" PostId="10552" Text="Thanks for the suggestions, unfortunately the problem persists (updated question.)" CreationDate="2011-04-03T22:40:01.927" UserId="5502" />
  <row Id="13871" PostId="10539" Text="@sildhe : Sorry, probably the reason there are so few replies is that no one else knows of a book on this subject either. I buy (or at least look at) every book I see with either Unix/Linux or Debugging in the title. I haven't seen anything like this. (I'm not saying for certain that no such book exists, and hopefully someone will post *the* name ;-). Just be thankful you are living in the age of StackExchange. **Now** you can get advice on how to check any of the items in the list above, often within minutes. I'm keeping that list, A big thanks to @mmckinst! " CreationDate="2011-04-04T02:35:58.333" UserId="6122" />
  <row Id="13872" PostId="10569" Text="+1 for the suggestion to use the system package manager's search function.  Debianish distros like ubuntu, mint, etc. provide `aptitude search ~d${regex}` to search package descriptions.  Also, googling `linux TOPIC` or e.g. `ubuntu TOPIC` is frequently enough to get a hint." CreationDate="2011-04-04T03:21:33.713" UserId="1535" />
  <row Id="13873" PostId="10576" Text="Im adding the sudoers file :" CreationDate="2011-04-04T06:14:26.510" UserId="6269" />
  <row Id="13874" PostId="10576" Text="root    ALL=(ALL:ALL) ALL&#xA;&#xA;&#xA;%sudo   ALL=(ALL:ALL) ALL&#xA;&#xA;&#xA;%admin ALL=(ALL:ALL) ALL&#xA;" CreationDate="2011-04-04T06:15:04.543" UserId="6269" />
  <row Id="13875" PostId="10576" Text="the user globus is in admin group - u can see that above . Have i done wrong in sudoers file ?" CreationDate="2011-04-04T06:16:24.713" UserId="6269" />
  <row Id="13876" PostId="10576" Text="Yeah solved !!! . I added as your instr : globus ALL=(ALL) ALL . It worked . Thank you . thank u" CreationDate="2011-04-04T06:20:41.727" UserId="6269" />
  <row Id="13877" PostId="10576" Text="@vettipayyan That's good :) Also see [this answer](http://unix.stackexchange.com/questions/4405/how-to-make-fedora-user-a-sudoer/4458#4458) on a related question." CreationDate="2011-04-04T06:32:47.853" UserId="250" />
  <row Id="13878" PostId="10577" Score="1" Text="[Programmatic Python Browser with JavaScript](http://stackoverflow.com/q/1916711/168034)" CreationDate="2011-04-04T06:43:58.933" UserId="250" />
  <row Id="13879" PostId="10533" Text="This works.  Thanks for solving the problem." CreationDate="2011-04-04T06:56:54.647" UserId="6245" />
  <row Id="13880" PostId="10526" Text="@Mat: Thanks for the detective work.  In case it's not clear, until you suggested looking at `.zshrc`, I didn't even consider that it could be the culprit.  (Even then, I still wouldn't have known what to do about it!)" CreationDate="2011-04-04T06:58:53.333" UserId="6245" />
  <row Id="13881" PostId="9080" Text="The expression &quot;kirk out&quot; gives me the impression that your window manager has the habit of abruptly heading off to risa with green-skinned ladies." CreationDate="2011-04-04T07:18:43.713" UserId="1535" />
  <row Id="13882" PostId="4914" Text="I don't get it.. whether you do `i` {char} `Esc` or `CTRL`-`i` {char}, it's still three keystrokes.  I'd say if you are going to customize your setup, just make Esc more readily available, e.g. by mapping CapsLock to it." CreationDate="2011-04-04T07:24:01.273" UserId="1535" />
  <row Id="13883" PostId="10567" Text="Note that `ftp` will *not*, by default -- unless the FTP client you're using explicitly sets the permissions after uploading, most FTP daemons apply a default umask to uploaded files." CreationDate="2011-04-04T07:29:04.123" UserId="4949" />
  <row Id="13884" PostId="9080" Text="@intuited cf. http://www.applegeeks.com/comic_archive/viewcomic.php?issue=135" CreationDate="2011-04-04T10:55:30.817" UserId="4821" />
  <row Id="13886" PostId="9525" Text="Thanks for mentioning `-d ''`.  I didn't realize that `$'\0'` was the same as `''`, but it seems to be.  Good solution, as well." CreationDate="2011-04-04T11:30:04.193" UserId="3169" />
  <row Id="13887" PostId="10582" Score="3" Text="Try this question on superuser.com." CreationDate="2011-04-04T07:29:07.727" />
  <row Id="13888" PostId="10440" Text="@Gilles seems like the way to go, your comment should be an answer, so that I can accept it." CreationDate="2011-04-04T12:25:02.703" UserId="4463" />
  <row Id="13889" PostId="10584" Text="Have you tried to clean up apt's package cache? /var/cache/apt caches the deb-files for the packages you install, and it can get quite big. (On this machine it is 2.7GB)." CreationDate="2011-04-04T12:18:00.347" />
  <row Id="13890" PostId="10581" Text="Do you really mean **ASCII** order?.. That would put `A-Z` before `a-z`  with `[ \ ^ ] _ \`` between them... Or do you mean that the Latin alphabetic characters sort together and the symbols sort higher or lower than the alphabetic characters (instead of `=A` mixing in with all the `A` entries?...  btw. I don't know how to do it for Xfce, and I gave up looking for a solution to this **Latin Alphabet** collation order in nautilus... I found that 'PCMan File Manager' sorts all the symbols to the top (the rest got to the bottom) and is case insensitive. but I just got used to nautilus :)" CreationDate="2011-04-04T12:52:58.017" UserId="2343" />
  <row Id="13891" PostId="10584" Text="To simply do what @Egil suggests, run `apt-get clean`" CreationDate="2011-04-04T13:00:34.180" UserId="2780" />
  <row Id="13892" PostId="10581" Text="@fred.bear: I definitely want the symbols higher than alphabetic characters, and I'd prefer A-Z to be distinct from a-z, and digits before letters, and digits in order. Right now Thunar is doing insane stuff like 5.txt coming before 030A.txt and it makes it hard to know where in a directory a given file will be." CreationDate="2011-04-04T13:06:19.220" UserId="2333" />
  <row Id="13893" PostId="10581" Text="Yes, it's a real pain (similar and worse with nautilus; at least Thunar seems to treat symbols &quot;normally&quot;).. The idea behind the number thing, is to be &quot;user friendly&quot; and sort numbers according to their numeric value, rather than by the &quot;byte&quot; value... It has some office/home freindly(?!#@) algorithm which looks a leading numerics of text-segments (not just the fist segment)... I'll be watching to see how this pans out ... good luck :)" CreationDate="2011-04-04T13:26:38.253" UserId="2343" />
  <row Id="13894" PostId="10584" Text="This question is unclear. What are you trying to do, exactly? Move your root installation, setup a local apt repository, or just clean out cached packages?" CreationDate="2011-04-04T14:08:03.410" UserId="4671" />
  <row Id="13895" PostId="10585" Score="1" Text="The boot process is very distribution-specific. Which distro are you using? What are you really trying todo?" CreationDate="2011-04-04T14:11:39.257" UserId="250" />
  <row Id="13897" PostId="10584" Text="sorry. I was having trouble writing comments when this question was in the askubuntu forum. Thank you Egil, I will definitely do that. That will help. The reason this question is vague is because I do not know how to ask it. I want my applications to all reside on a separate drive." CreationDate="2011-04-04T14:24:47.530" UserId="6116" />
  <row Id="13898" PostId="10585" Text="Archlinux. What I want to do is to forbid the use of bash -c. Therefore I want to replace all -c commands during bootup with a simple shell script" CreationDate="2011-04-04T14:42:17.330" UserId="6278" />
  <row Id="13899" PostId="10586" Score="3" Text="What is `kuu`? A command-line tool? This post and the SO version are the second and third results on Google; the first makes it sound like a varient of `su`" CreationDate="2011-04-04T15:08:20.830" UserId="73" />
  <row Id="13900" PostId="10584" Text="@Joshua: If you want anyone to be notified of your mail, then stick a @user in front. If you want part of your system moved to another drive, you'll have to be a little more specific about what you are trying to do. This is usually straightforward except for the boot process." CreationDate="2011-04-04T15:35:52.073" UserId="4671" />
  <row Id="13901" PostId="10582" Score="1" Text="You *are* doing this as root, right? What is the output of `mount`?" CreationDate="2011-04-04T15:37:41.807" UserId="4671" />
  <row Id="13903" PostId="10590" Text="Gnome-Do is dead, isn't it?  Synapse and Kupfer seem to be leading the field now, I believe." CreationDate="2011-04-04T15:54:33.100" UserId="5454" />
  <row Id="13904" PostId="10453" Text="I can appreciate the evolution of changes within the Linux ACPI modules, but I don't understand the naming conventions.  Like I said, TZ00 and TZ01 makes no sense to anyone.  Given that these are normally 2 degrees Celsius apart, which is the CPU and what in the world could the other be?  Valid names like 'core0' or 'cpu0' or 'gpu1' etc would be more informative and logical.  Thanks for you response!" CreationDate="2011-04-04T16:28:19.953" UserId="3355" />
  <row Id="13905" PostId="10584" Text="@faheem, thanks. I will remember that. I have been very successful booting linux mint 9 from my usb stick with persistency. Now that I have been installing tons of packages and the drive is getting full I want to move my graphic packages like gimp and open office etc to my computers internal drive. I should be able to just move them and create a symbolic link right? but I don't know where to find them and how to do that. I'm not sure how applications work in the linux world yet." CreationDate="2011-04-04T16:32:52.230" UserId="6116" />
  <row Id="13906" PostId="10584" Text="@Joshua: I suggest you just reinstall on your hard disk. Running a system off a USB stick is unorthodox and has no upside that I am aware of. If you want you could just move past of the system there, say `/usr`, but I think there is not much point to that." CreationDate="2011-04-04T17:05:56.280" UserId="4671" />
  <row Id="13907" PostId="9080" Text="Oh, okay.  I was also thinking that it might ———— start, and ———— stop, so ———— frequentlythatyoucan't! get! anything! ———— done!" CreationDate="2011-04-04T18:37:59.957" UserId="1535" />
  <row Id="13908" PostId="10582" Text="Have you mounted devfs yet? Do you run a with a read-only root filesystem? Why on earth are you trying to run an editor on the device file?" CreationDate="2011-04-04T18:42:29.757" UserId="885" />
  <row Id="13909" PostId="10553" Text="added daemon.log details" CreationDate="2011-04-04T18:49:29.483" UserId="4159" />
  <row Id="13910" PostId="10464" Text="You need a server, see http://www.proftpd.org/" CreationDate="2011-04-04T18:57:55.453" UserId="5785" />
  <row Id="13912" PostId="10575" Text="While phunehehe has answered your question, I doubt you really need to build Globus as root. If you describe *precisely* what you've been doing (what leads up to this error), people might be able to figure out what caused your build to fail." CreationDate="2011-04-04T19:23:25.727" UserId="885" />
  <row Id="13913" PostId="10584" Text="@faheem, im more kind of doing this as a learning experience. Windows and Mac allow you to put installed software anywhere you want. When my system folder gets too full I keep my apps on a second drive. Is this not possible in linux or do you just not know?" CreationDate="2011-04-04T19:23:53.963" UserId="6116" />
  <row Id="13914" PostId="10584" Text="@Joshua: You can certainly spread your system across multiple devices if you want, but it is not usually done for a combination of internal and external devices." CreationDate="2011-04-04T19:25:53.500" UserId="4671" />
  <row Id="13915" PostId="10559" Text="`man -k` is a synonym of [apropos](http://unix.stackexchange.com/questions/3362/how-do-i-find-a-command-if-i-dont-know-its-name/3363#3363)." CreationDate="2011-04-04T19:27:02.243" UserId="885" />
  <row Id="13916" PostId="10553" Text="@Marc: consider trying also with `/etc/network/interfaces`. It might help to debug the problem." CreationDate="2011-04-04T19:27:08.630" UserId="4671" />
  <row Id="13917" PostId="9499" Text="Your first solution will cope with any character except newline if you also turn off globbing with `set -f`." CreationDate="2011-04-04T19:28:43.117" UserId="885" />
  <row Id="13918" PostId="10568" Text="[See a troubleshooting session in chat](http://chat.stackexchange.com/transcript/message/777386#777386). My conclusion is that everything is ok on the X front, and Gnome is acting weird." CreationDate="2011-04-04T19:30:26.827" UserId="885" />
  <row Id="13919" PostId="10555" Score="1" Text="@penguin: after a little googling, this might be a buggy driver. Have you tried with a newer kernel? Are you currently using the default 2.6.32?" CreationDate="2011-04-04T19:31:33.713" UserId="4671" />
  <row Id="13920" PostId="10597" Text="Clarify. Why not just use `screen`? Or `XVNC`? You run screen on the Linux machine and when your network drops, reconnect and use `screen -DR` to reattach the session." CreationDate="2011-04-04T19:34:36.620" UserId="6175" />
  <row Id="13921" PostId="10555" Text="@penguin: firmware-iwlwifi 0.29 is in unstable. It is worth trying. [Here](http://packages.debian.org/changelogs/pool/non-free/f/firmware-nonfree/current/changelog) is the changelog." CreationDate="2011-04-04T19:36:17.670" UserId="4671" />
  <row Id="13922" PostId="10597" Text="@nix Will that work for X apps?" CreationDate="2011-04-04T19:44:02.277" UserId="73" />
  <row Id="13923" PostId="10597" Score="1" Text="@nix I don't think `screen` works for gui apps." CreationDate="2011-04-04T19:51:01.053" UserId="2455" />
  <row Id="13924" PostId="10490" Text="Thanks SieneX..." CreationDate="2011-04-04T19:54:56.287" UserId="5836" />
  <row Id="13925" PostId="10598" Text="There's also [WinSwitch](http://winswitch.org/), which at a glance looks like it integrates xpra and other related software." CreationDate="2011-04-04T19:55:47.803" UserId="885" />
  <row Id="13927" PostId="10568" Text="@Gilles: Thanks so much for your help!" CreationDate="2011-04-04T19:59:40.127" UserId="1049" />
  <row Id="13928" PostId="10603" Text="Auch..that's my error. I wanted to run the process in background but I was not aware of this &amp;&amp; to separate commands. Thx" CreationDate="2011-04-04T15:35:37.180" />
  <row Id="13929" PostId="10604" Text="Hi I think so. NOHUP leaves commands running in background even when a user disconnect. I didn't remember that. Thanks a lot." CreationDate="2011-04-04T15:34:56.963" />
  <row Id="13930" PostId="10597" Text="Of course, screen would require running from an xterm." CreationDate="2011-04-04T20:02:08.797" UserId="6175" />
  <row Id="13931" PostId="10440" Text="See also [Copying packets from an interface to another](http://serverfault.com/questions/225178/copying-packets-from-an-interface-to-another)" CreationDate="2011-04-04T20:16:14.340" UserId="885" />
  <row Id="13932" PostId="10606" Score="2" Text="What do you mean &quot;doesn't work&quot;?&#xA;Also, '{IFS=&quot; &quot;}' executed only before actual processing, while '{OFS=&quot;\t&quot;}' executed after reading each row. And I don't see variable `IFS` in awk man page, did you mean `FS`? If so, it's already set to separate fields on whitespace, not just single space." CreationDate="2011-04-04T20:23:06.373" UserId="3886" />
  <row Id="13933" PostId="10606" Score="1" Text="@Host: Please learn to use the formatting possibilities. You can see what I did to make your question more readable. Use the icons above the question box; click the `?` icon to see the available markup options." CreationDate="2011-04-04T20:25:06.563" UserId="885" />
  <row Id="13934" PostId="10606" Text="@gelraen: Yup, you got it." CreationDate="2011-04-04T20:25:34.860" UserId="885" />
  <row Id="13935" PostId="10607" Text="+1 thank you, it's what I need!" CreationDate="2011-04-04T20:28:46.743" UserId="4463" />
  <row Id="13936" PostId="10605" Score="1" Text="@ultrasawblade: You may be interested in [tcptraceroute](http://michael.toren.net/code/tcptraceroute/). For a simple test, if you know your Internet access provider isn't blocking pings, 8.8.8.8 is as reliable as they get (it's Google's public DNS server, and they're very good at availability). If you want to test web connectivity, `wget -q -O /dev/null --no-cache http://www.google.com/` is a good test." CreationDate="2011-04-04T20:29:56.823" UserId="885" />
  <row Id="13937" PostId="10592" Text="Is there some reason you can't use your Windows installation for this? Otherwise, you might consider using a virtual machine eg Virtualbox, which apparently boots Windows. Site-specific Flash problems are usually hard to diagnose." CreationDate="2011-04-04T20:39:12.630" UserId="4671" />
  <row Id="13938" PostId="10592" Text="I used Windows at work, at the moment I don't have a Windows install at home so I am 'stuck' with Linux. I figured that would be the case, but am still holding onto hope that this can be resolved." CreationDate="2011-04-04T20:44:00.060" UserId="4856" />
  <row Id="13939" PostId="9499" Text="Yes, but then we'd have to restore it at the end of the loop.  The first solution was intended to be simple, so I'm reluctant to change it.  Now you made this comment, at least it's on record. Thanks. :-)" CreationDate="2011-04-04T21:05:34.187" UserId="3169" />
  <row Id="13940" PostId="10608" Text="Run `xev` from a terminal inside the VNC session. Press `d` in the xev window. Copy-paste the output (if any) into your question." CreationDate="2011-04-04T21:09:33.717" UserId="885" />
  <row Id="13941" PostId="10605" Score="1" Text="@ultrasawblade: But if any of those things is broken, ping will fail.  I think the point here is the simplest way of telling you if everything is working.  If ping fails, then you can investigate the list of things you mention." CreationDate="2011-04-04T21:25:22.990" UserId="3169" />
  <row Id="13942" PostId="10546" Text="@Gilles: I find yours more elegant, but Arcege's has simpler boolean logic (`a &amp;&amp; b`) versus (`!a || !b`), which might be why some people prefer it." CreationDate="2011-04-04T21:31:53.047" UserId="3169" />
  <row Id="13943" PostId="10546" Text="@Mikel: My complaint is against `while true; do if ...; then break; fi` (sorry if that wasn't clear earlier). That's not simple at all. `!a||!b` vs `!(a&amp;&amp;b)` is a trivial difference." CreationDate="2011-04-04T21:35:12.243" UserId="885" />
  <row Id="13944" PostId="10546" Text="@Gilles: Yes, that's the part I don't like too.  But clearly at least Kevin M and one other person prefer this version.  Maybe they can comment here and say why." CreationDate="2011-04-04T21:38:19.753" UserId="3169" />
  <row Id="13945" PostId="10612" Text="The second version is not a &quot;one liner&quot;, but it's still shorter than at least one solution here. :-)" CreationDate="2011-04-04T21:44:11.810" UserId="3169" />
  <row Id="13946" PostId="10592" Text="Random thought. Try using Chromium rather than Chrome, if available on Fedora. The flash plugin tends to work better with Chromium in my experience. Though if flash in Chrome works for with most sites, it is probably not going to help you." CreationDate="2011-04-04T22:12:14.197" UserId="4671" />
  <row Id="13947" PostId="10609" Score="2" Text="Code from question works too (at least on GNU and FreeBSD implementations). &quot;Defect&quot; you described may take place because `print` prints $0 and $0 does not get rebuilt with new OFS when nothing was changed. Not sure is such behaviour a bug or it really should work this way. But `print $1,$2,$3,$4` still uses OFS to separate fields." CreationDate="2011-04-04T22:16:36.567" UserId="3886" />
  <row Id="13948" PostId="10346" Text="@Amir so, have you decided on a final answer?" CreationDate="2011-04-04T22:21:10.823" UserId="6167" />
  <row Id="13949" PostId="10453" Text="@Jeach: I suspect the names may come from the ACPI interface. This is provided by the manufacturers who usually program to their own specs.  I suspect the zones correspond to CPU0 and CPU1.  Having looked at an ACPI configuration dump in the past I agree that the names could be better.  Some sensors seem to need to be scanned and can be deployed for multiple purposes.  These are identified by type, and sensor utilities may have a translation table for your system.  Otherwise, the software can only guess by type." CreationDate="2011-04-04T22:25:22.460" UserId="4520" />
  <row Id="13950" PostId="10539" Text="Yeah it's all good...I ended up buying a couple books that I was seemingly getting a good vibe from, from my initial researching. I got them used off amazon, total $22 including shipping for all 3!  Will see how it goes (I edited my original post to include what I got, if anybody else is interested)" CreationDate="2011-04-04T22:50:37.737" UserId="6249" />
  <row Id="13951" PostId="10609" Text="@galrean: you're right, this 'defect' is limited to `print $0` and its variations." CreationDate="2011-04-04T22:51:12.823" UserId="1338" />
  <row Id="13952" PostId="10608" Text="Given the `xev` output, the `d` key is caught by your window manager. What window manager or desktop environment are you running? Try launching a minimal or no window manager (just an `xterm`) in the VNC server: create `~/.vnc/xstartup` containing just `xterm&amp;`, and try `xev` there." CreationDate="2011-04-04T23:12:24.763" UserId="885" />
  <row Id="13953" PostId="10531" Text="You can post a self-answer and accept it (instead of editing your answer into the question); there's a box at the bottom of the page" CreationDate="2011-04-04T23:20:26.593" UserId="73" />
  <row Id="13954" PostId="10583" Text="Thanks for the pointer, Joby, but it looks like PhantomJS requires Xvfb anyway (ie, it's not really headless) so I'm probably just going to use Firefox (which I don't have to build myself)." CreationDate="2011-04-05T00:31:54.897" UserId="4896" />
  <row Id="13955" PostId="10555" Text="yes i'm using 2.6.32, the default of debian 6.0.1.&#xA;&#xA;the weird part is, I tried live cds from Ubuntu 10.10, Linux Mint 8. Still no luck... I know they are using older kernels." CreationDate="2011-04-05T02:22:29.667" UserId="4159" />
  <row Id="13956" PostId="10553" Text="I already tried /etc/network/interfaces, and still no sweet glory from it. I even switched to wicd... :(" CreationDate="2011-04-05T02:24:26.777" UserId="4159" />
  <row Id="13957" PostId="10618" Text="Thank you shellter but this way works for bash not ksh." CreationDate="2011-04-05T04:43:33.887" UserId="6291" />
  <row Id="13958" PostId="10621" Text="Do you have a firewall configured that might be blocking incoming UDP on port 67?  A 169.254.x.x IP is from APIPA which is used when a DHCP server can't be contacted.  Also, try a tool like tcpdump or wireshark to see if Ubuntu 8.04 receives any packets to UDP port 67." CreationDate="2011-04-05T04:50:08.947" UserId="6167" />
  <row Id="13959" PostId="10621" Text="you mean on the router?  it's a linksys wrt54g.  i don't see anything in the firewall config about blocking UDP." CreationDate="2011-04-05T04:53:03.417" UserId="6295" />
  <row Id="13960" PostId="10617" Text="Is there a boot option for safe mode, single user, or failsafe?  If you can get to the kernel command-line, try adding single or init=/bin/sh to the command-line." CreationDate="2011-04-05T04:53:05.120" UserId="6167" />
  <row Id="13961" PostId="10621" Text="No, a firewall on Ubuntu.  If you don't know, you probably don't have one configured.  Try running `sudo tcpdump udp port bootpc` while doing `sudo ifdown eth0 &amp;&amp; sudo ifup eth0`  And it shouldn't matter what subnet the Linksys reports.  Part of the point of DHCP is to learn the subnet mask." CreationDate="2011-04-05T04:55:55.273" UserId="6167" />
  <row Id="13962" PostId="10617" Text="Look at [this question](http://unix.stackexchange.com/q/4027/250) and see if you can still boot into single user mode" CreationDate="2011-04-05T05:39:53.893" UserId="250" />
  <row Id="13963" PostId="8683" Text="Most early C programmers were first FORTRAN programmers. The way you typed integers in Fortran IV was to start the identifier with a character from 'i' to 'n', everything else was a REAL number. Thus loop indices were typically i, j, or k; which was sufficient for the matrices we scientific programmers were mangling back then." CreationDate="2011-04-05T05:56:35.613" UserId="5397" />
  <row Id="13964" PostId="10626" Text="@Barakat Nop ..... i dont mean it. actually the pattern i have given is placed randomaly in file i just need to find start and end of pattern which is on two lines. i.e. Multile pattern match" CreationDate="2011-04-05T06:05:29.303" UserId="6296" />
  <row Id="13965" PostId="10351" Text="Well, this doesn't tell me _what_ caused the shutdown, only when it was done.  Which I already know, see my question." CreationDate="2011-04-05T06:22:52.813" UserId="1946" />
  <row Id="13966" PostId="10593" Text="I'm using Gnome. Having some problems with randr - http://pastebin.com/rZEjdN4B" CreationDate="2011-04-05T06:34:29.293" UserId="1594" />
  <row Id="13968" PostId="10627" Text="(Is posting this enough, of should I add &quot;Can you help me find what's the problem?&quot; to make this a question?)" CreationDate="2011-04-05T06:41:10.080" UserId="1594" />
  <row Id="13969" PostId="10623" Text="Your question is unclear.  Can you provide a code sample?" CreationDate="2011-04-05T06:47:49.820" UserId="3169" />
  <row Id="13970" PostId="10622" Text="I know about freshness, etc. This is just a test, though. I'll configure with `make gconfig` later." CreationDate="2011-04-05T06:47:52.463" UserId="1290" />
  <row Id="13971" PostId="10624" Text="Duplicate of http://stackoverflow.com/questions/5512551/how-to-make-pattern-for-grep-command-on-linux" CreationDate="2011-04-05T06:49:56.683" UserId="3169" />
  <row Id="13972" PostId="10555" Text="@Marc: Ok. Sorry, I see I've been addressing the wrong person above. Have you tried 0.29 and more recent kernels yet? That is probably your best shot at this point. 2.6.32 is quite old. Using newer kernels is probably your best shot at this point. Also, this forum is not the best place for debugging. Have you tried asking on a more relevant forum, like one dedicated to linux networking or even a ml for the driver in question?" CreationDate="2011-04-05T06:55:42.357" UserId="4671" />
  <row Id="13973" PostId="10627" Text="Output of `apt-cache policy gmrun monodoc-base monodoc-http` please. Also what version? Output of `lsb_release -a`? At first sight, this looks like it might be a bug.&#xA;" CreationDate="2011-04-05T07:01:34.940" UserId="4671" />
  <row Id="13974" PostId="10627" Text="Maybe take this to that Ubuntu forum?" CreationDate="2011-04-05T07:03:45.793" UserId="4671" />
  <row Id="13975" PostId="10593" Text="@ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of `/var/log/Xorg.0.log` to your question." CreationDate="2011-04-05T07:18:49.837" UserId="885" />
  <row Id="13976" PostId="10627" Text="It has nothing to do with gmrun, it has no dependencies for the monodoc-base package. It seems a previous installation or upgrade has not completed successfully. One of the installation scripts of monodoc-base is failing. The current version of monodoc-base is 2.6.7-3ubuntu1, so I guess you have an older ubuntu release." CreationDate="2011-04-05T07:22:07.307" UserId="5666" />
  <row Id="13977" PostId="10630" Score="2" Text="As far as I can tell, that error is coming from your application.  What command do you type to just run subaap1?" CreationDate="2011-04-05T07:39:34.583" UserId="3169" />
  <row Id="13978" PostId="10628" Text="I have tested `bind -m '^L'=clear'^J'` on OpenBSD 4.9 and it works." CreationDate="2011-04-05T07:50:44.470" UserId="3169" />
  <row Id="13979" PostId="10593" Text="@Gilles - here's the log, thanks. http://pastebin.com/wpNutkwp" CreationDate="2011-04-05T07:54:55.747" UserId="1594" />
  <row Id="13982" PostId="10628" Text="It's solved, Mikel &amp; shellter thank you for help." CreationDate="2011-04-05T08:05:23.667" UserId="6291" />
  <row Id="13983" PostId="10634" Text="What is kms? So far I haven't heard of KSM, or mode switching." CreationDate="2011-04-04T10:16:15.877" UserId="5731" />
  <row Id="13984" PostId="10634" Text="I mean by KMS: Kernel-Mode-Setting [link](https://secure.wikimedia.org/wikipedia/en/wiki/Kernel_mode-setting#Linux)." CreationDate="2011-04-04T12:31:33.807" />
  <row Id="13985" PostId="10624" Text="Text processing. I'd recommend you use Perl or something like that rather than a shell pipeline." CreationDate="2011-04-05T06:28:43.930" />
  <row Id="13986" PostId="10624" Text="Note: grep does not apply regexes per line, but applies the line delimiting after the matches are found." CreationDate="2011-04-05T06:30:10.423" UserId="5587" />
  <row Id="13987" PostId="10624" Text="@Noufal, not just Perl, awk, Python, Ruby all have equivalent text processing capabilities." CreationDate="2011-04-05T06:30:41.890" />
  <row Id="13988" PostId="10624" Text="I did say &quot;or something like that&quot;. Also, for text processing in my experience, perl has a quite a few advantages. awk is slow and dated. " CreationDate="2011-04-05T06:33:41.353" />
  <row Id="13989" PostId="10639" Text="Not programming-related - belongs on serverfault ?" CreationDate="2010-03-08T08:48:00.117" />
  <row Id="13990" PostId="10639" Text="But this caused an error in my java program" CreationDate="2010-03-08T08:53:38.587" />
  <row Id="13991" PostId="10640" Text="cat /proc/sys/fs/file-max is 169203，but ulimit -n is 1024" CreationDate="2010-03-08T08:47:18.510" />
  <row Id="13992" PostId="10641" Text="&#xA;	&#xA;cat /proc/sys/fs/file-max is 169203，but ulimit -n is 1024" CreationDate="2010-03-08T08:51:45.847" />
  <row Id="13993" PostId="10642" Text="I want to connect to lots of clients" CreationDate="2010-03-08T08:52:50.743" />
  <row Id="13994" PostId="10606" Text="What about the header? How can you `awk` that?... I've barely touched on awk, so I'm guessing that would be a custom process for the first line in the main section... (but I've go no idea how)" CreationDate="2011-04-05T09:18:06.047" UserId="2343" />
  <row Id="13995" PostId="10622" Text="Wouldn't using high-level distribution-specific tools eg. Debian's `kernel-package` (though it seems to not have the favor of Debian's kernel packaging team) be more efficient? This would automate the lower level steps." CreationDate="2011-04-05T09:18:31.087" UserId="4671" />
  <row Id="13996" PostId="10646" Text="Why not: repeat [-t time] [-n number] command [args...]?&#xA;&#xA;" CreationDate="2009-02-17T00:22:36.000" UserId="5131" />
  <row Id="13997" PostId="10646" Text="Jonathan, repeat doesn't actually work that way, you're just proposing an improvement to my syntax, right?  I think you're right.  But see the &quot;watch&quot; command in gbrandt's answer.  I think that was the answer I was looking for." CreationDate="2009-02-17T00:31:48.490" />
  <row Id="13998" PostId="10646" Score="2" Text="Cool. Unfortunately both on my Ubuntu and my AIX *repeat* is **command not found**. Can you do a `type repeat` and let me know where's coming from?" CreationDate="2009-11-22T23:47:37.640" />
  <row Id="13999" PostId="10646" Text="I'm also on Ubuntu and don't have repeat installed. Any information on how to install this would be helpful." CreationDate="2009-12-21T13:02:10.797" UserId="4691" />
  <row Id="14000" PostId="10647" Text="Cool, thanks; which shell is that?  But note that I'm looking for something you execute as a single command-line command." CreationDate="2009-02-17T00:19:47.723" />
  <row Id="14001" PostId="10647" Text="I believe it works as written in a generic Bourne shell, as well." CreationDate="2009-02-17T00:24:16.123" UserId="3270" />
  <row Id="14002" PostId="10649" Text="cron doesn't work at second granularities - minutes are as small as it works with." CreationDate="2009-02-17T00:21:39.653" UserId="5131" />
  <row Id="14003" PostId="10649" Text="Aye, there's that..." CreationDate="2009-02-17T00:22:25.800" UserId="3270" />
  <row Id="14004" PostId="10650" Text="Aha, thanks!  I don't have that on my system (Mac OS X) -- do you have a link?" CreationDate="2009-02-17T00:24:56.323" />
  <row Id="14005" PostId="10650" Score="1" Text="you can use MacPorts to install it.  sudo port install watch" CreationDate="2009-02-17T00:27:17.487" />
  <row Id="14006" PostId="10650" Text="fink has a package..." CreationDate="2009-02-17T00:27:17.597" UserId="3270" />
  <row Id="14007" PostId="10652" Text="I'm not to hot at shell, so improvements welcome.  And I don't seem to have a &quot;repeat&quot; command in my distro." CreationDate="2009-02-17T00:40:26.690" />
  <row Id="14008" PostId="10651" Score="5" Text="`while [ 0 ]` is a bad way to write it.  It means `0` is a string with length &gt; 0.  `while [ 1 ]` or `while [ jeff ]` would do the same thing.  Better to write `while true`." CreationDate="2011-04-05T10:17:59.970" UserId="3169" />
  <row Id="14009" PostId="10653" Score="2" Text="`while [ 1 ]` only works because 1 is treated as a string, just like `while [ -n 1 ]`.  `while [ 0 ]` or `while [ jeff ]` would do the same thing.  `while true` makes much more sense." CreationDate="2011-04-05T10:19:09.717" UserId="3169" />
  <row Id="14010" PostId="3892" Score="1" Text="People who have used Unix for a long time will tell you it's better to write `&lt;longTextFile straightToClipboard`.  It's the same as `cat longTextFile straightToClipboard`, but doesn't require running `cat`.  Just an observation.  Feel free to ignore it.  See [The Useless Use of Cat Award](http://partmaps.org/era/unix/award.html#cat) for some background and examples if you're interested." CreationDate="2011-04-05T10:23:49.013" UserId="3169" />
  <row Id="14011" PostId="10623" Text="Update to my question: I **think(?)** I've worked out **why** it is happening, but I have no idea of **how** to get around it.. It seems to be that when `tee` finishes sending it's last data, it exits and passes control to the following `cat`.. However my &gt;(process) is still *processing* the last piece of data... I've tried `wait` but it has no effect. I suppose that is because *process substitution* is not a &quot;normal&quot; *child process*... btw, `sleep 1` works, but that's just guesswork and what if it takes 10 seconds longer?.. there must be anoter way.." CreationDate="2011-04-05T10:37:12.047" UserId="2343" />
  <row Id="14012" PostId="10654" Text="Why not configure your machines email server? Also, are you sure there is no email server configured. Linux distributions generally configure email at least locally for system purposes - so services can send messages to the superuser/owner of the system etc." CreationDate="2011-04-05T10:43:25.723" UserId="4671" />
  <row Id="14014" PostId="10615" Text="Thanks for the update, I'll try this at work this morning. Need to get these tickets while the Yanks bats are still hot! They should be for a while though...;)" CreationDate="2011-04-05T10:51:39.250" UserId="4856" />
  <row Id="14015" PostId="10655" Text="Sounds like a bug. I don't know if SuSE has a bug tracking system, but if so, report a bug, check for updates, and you could also ask on a more SUSE (or possibly KDE) specific forum." CreationDate="2011-04-05T11:01:50.520" UserId="4671" />
  <row Id="14016" PostId="10555" Text="Thanks, thanks for you patience in looking into this. That's one of my checklist, I will try wheezy version of debian later with more updated kernels. Will let you know :)" CreationDate="2011-04-05T11:06:27.563" UserId="4159" />
  <row Id="14017" PostId="10615" Text="Well, that did it! I removed my 64-bit plugin and followed the instructions on the linked page. However, I do dislike having to work around my system like this. I just wish Adobe would get with the program with Linux flash. At least now I can enjoy the Yankees next Friday." CreationDate="2011-04-05T11:07:13.360" UserId="4856" />
  <row Id="14020" PostId="10654" Text="See also: http://unix.stackexchange.com/questions/7044/how-to-send-mail-from-a-remote-smtp-host" CreationDate="2011-04-05T11:28:17.017" UserId="1946" />
  <row Id="14021" PostId="10624" Text="@Mikel True, but it's already closed there. It should've been migrated, but there's no migration path from SO -&gt; UL. (Edit: Oh, he [posted it twice](http://stackoverflow.com/questions/5548004/how-to-make-pattern-for-grep-command-on-linux-for-muiltiline-pattern?noredirect=1), and the second version *was* migrated)" CreationDate="2011-04-05T11:34:44.557" UserId="73" />
  <row Id="14022" PostId="10645" Score="1" Text="The question is: Which clipboard? Linux X server has 3 (generally, only 2 are used)...  xsel uses the PRIMARY clipboard by default.. The PRIMARY clipboard kicks in automatically **every time** you simply select soemthing. You paste if by pressing the center mouse button.. The Ctrl+C / Crtr+V type clipboard is called the CLIPBOARD clipboard :).. so if you want to use the Ctrl+C / Ctrl+V clipboard with 'xsel', the command is: `xsel -ib &lt;file-long-or-short` (&quot;Look ma, no cat!&quot; :) ... or if you like `&lt;file-long-or-short xsel -ib` .. -i is default. -b is for the Ctrl+C/Ctrl+V type of *clipBoard*" CreationDate="2011-04-05T11:42:38.220" UserId="2343" />
  <row Id="14023" PostId="10626" Score="1" Text="You have to adjust your question title if your question is different. You asked for the next line.  " CreationDate="2011-04-05T11:47:56.350" UserId="4485" />
  <row Id="14024" PostId="10624" Text="Is this really the file format?  It looks a bit like HTML or XML.  Is it one of those?  If so which?  And please fix your example so it is correct.  Your open and close tags do not match, for example.  And if it is XML, is there a root tag that wraps around everything?" CreationDate="2011-04-05T11:49:05.597" UserId="3169" />
  <row Id="14025" PostId="10632" Text="Are you sure? `bash` will pass the arguments through to the script you're running (that's what my `sh` is symlinked to); I don't know about other shells" CreationDate="2011-04-05T11:58:37.040" UserId="73" />
  <row Id="14026" PostId="10645" Text="gnome-terminal. Edited. @jamespo - this doesn't seem to work." CreationDate="2011-04-05T12:26:50.933" UserId="1594" />
  <row Id="14027" PostId="10632" Text="@Michael - will it pass them through if you use sh? You could be right - I just don't do it that way. I always surround mine in quotes if I want to do that. Or as here, just remove sh and bash is happy to assume the line is an application. " CreationDate="2011-04-05T12:26:56.153" UserId="3046" />
  <row Id="14028" PostId="10629" Text="Sorry for the noob question." CreationDate="2011-04-05T12:29:23.257" UserId="1594" />
  <row Id="14029" PostId="10632" Text="I have try to execute `subaap1/bin/app.sh start` from command line, and it works perfectly. Now I change the shell script without `sh` but I got `startup.sh: line 2: subaap1/bin/app.sh: Permission denied`. Any suggestion sir ?" CreationDate="2011-04-05T12:35:12.050" UserId="6297" />
  <row Id="14030" PostId="10632" Score="1" Text="@Rory Yes, I tried `sh /path/to/shell/script arg` and the arg made it through. It might depend which shell `sh` is actually linked to though" CreationDate="2011-04-05T12:35:46.540" UserId="73" />
  <row Id="14031" PostId="10555" Text="@Marc: You can use squeeze with a newer kernel. It is not usually a problem." CreationDate="2011-04-05T12:36:46.303" UserId="4671" />
  <row Id="14032" PostId="10632" Text="@Michael - good point! sh could go somewhere other than bash." CreationDate="2011-04-05T12:52:55.180" UserId="3046" />
  <row Id="14033" PostId="10662" Text="By &quot;slice&quot; you mean crop? I would've said ImageMagick; are you sure you used it right?" CreationDate="2011-04-05T12:59:59.333" UserId="73" />
  <row Id="14034" PostId="10660" Text="Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?" CreationDate="2011-04-05T13:06:41.230" UserId="688" />
  <row Id="14036" PostId="10662" Text="Yes, ImageMagick considers it as cropping. Here's what I've used: `$ convert source.png -crop 1024x1024 destination.png`" CreationDate="2011-04-05T13:17:33.363" UserId="78" />
  <row Id="14037" PostId="10611" Text="No, that still doesn't sort properly...still getting '5' sorted before '0A' and the like." CreationDate="2011-04-05T13:32:31.963" UserId="2333" />
  <row Id="14038" PostId="10609" Text="+1 for offering simple tr and sed options.&#xA;" CreationDate="2011-04-05T14:25:05.257" UserId="4667" />
  <row Id="14039" PostId="10559" Text="Ups, you are right. I misspelling the '-k'. This is the correct command [man -K](http://www.linuxmanpages.com/man1/man.1.php). Thanks" CreationDate="2011-04-05T14:32:40.837" UserId="6261" />
  <row Id="14040" PostId="10671" Text="While wireshark and usbmon get the traffic, I need something that can more easily give me an idea of throughput and such." CreationDate="2011-04-05T14:38:12.753" UserId="4856" />
  <row Id="14041" PostId="690" Text="+1 for /usr read-only mount.  Remount it rw before doing updates." CreationDate="2011-04-05T14:39:32.190" UserId="3389" />
  <row Id="14042" PostId="10674" Text="How does `777` help when `sudo cp ...` doesn't work?" CreationDate="2011-04-05T15:28:38.183" UserId="250" />
  <row Id="14043" PostId="10660" Score="2" Text="I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know." CreationDate="2011-04-05T15:33:01.203" UserId="250" />
  <row Id="14044" PostId="10645" Text="works for me on gnome-terminal in ubuntu 10.04 using the xsel in the repo (paste with middle button)" CreationDate="2011-04-05T15:42:37.857" UserId="36" />
  <row Id="14045" PostId="10673" Text="Can you paste the line in `/etc/sudoers` that allows your user to `sudo`? It should be something like `phunehehe ALL=(ALL) ALL`..." CreationDate="2011-04-05T15:49:58.053" UserId="250" />
  <row Id="14046" PostId="10674" Text="True. But he didn't provide information about permissions on `/usr/keepass`. Also he might has limited `sudo` rights." CreationDate="2011-04-05T15:50:40.880" UserId="6302" />
  <row Id="14047" PostId="10675" Text="Thanks for your answer! Will this output subsequence cropped pieces of an image?" CreationDate="2011-04-05T15:55:56.353" UserId="78" />
  <row Id="14048" PostId="10674" Text="I have nothing against your answer (I didn't downvote, in case you are suspecting that). I just think that you can add a little bit more to it." CreationDate="2011-04-05T15:58:14.177" UserId="250" />
  <row Id="14049" PostId="10675" Text="I'm not sure what you mean by subsequence cropped pieces. Can you explain?" CreationDate="2011-04-05T15:58:27.833" UserId="5550" />
  <row Id="14050" PostId="10673" Text="Perhaps you could first tell us why you are trying to copy this file to `/usr`? Seems like an unusual thing to do. If you are trying to unpack for an install, that is the wrong place to put it in. Something like `/usr/local/src` would be better. At least, that is what  I use. Is there no binary package available for `keepass` for your OS?" CreationDate="2011-04-05T16:17:27.730" UserId="4671" />
  <row Id="14051" PostId="10674" Text="Yes, another mystery down-voter strikes again. (on several levels) ..... WHY!??? ..... ;-)" CreationDate="2011-04-05T16:20:57.353" UserId="6122" />
  <row Id="14052" PostId="10664" Score="1" Text="I'd try checking for recent file modification times on your destination system. If you don't change a lot of files on that system, it might show up that way." CreationDate="2011-04-05T16:22:05.790" UserId="4671" />
  <row Id="14053" PostId="10675" Text="If i have image of 2048x1024 - will it output two images of 1024x1024?" CreationDate="2011-04-05T16:28:15.493" UserId="78" />
  <row Id="14054" PostId="10608" Text="Thank you, and sorry for your trouble, @Gilles." CreationDate="2011-04-05T16:37:54.460" UserId="6286" />
  <row Id="14055" PostId="10662" Text="@Eimantas.. I'm  a bit unsure of what you actually want...but based on what you wrote in a comment to JRW's answer. It seems that you want to divide your original image into two seperate smaller images... That would mean cropping the image two times.. once for the first section, and then again for the second section.... Maybe there is something which will do it in a single pass... (I don't know of anything but someone else may)... Is what I just described actually what you want? ie.. a program which will cut up a picture into two (or more) sections in a single command?" CreationDate="2011-04-05T16:45:44.683" UserId="2343" />
  <row Id="14056" PostId="10662" Text="@fred.bear - yes, that's exactly what i'm looking for." CreationDate="2011-04-05T17:07:31.093" UserId="78" />
  <row Id="14058" PostId="10674" Text="@powerwade: the error message that he gets when he uses sudo isn't what you'd see if you had limited `sudo` rights." CreationDate="2011-04-05T17:37:39.863" UserId="6312" />
  <row Id="14059" PostId="10589" Text="@ripper: Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file." CreationDate="2011-04-05T18:06:07.973" UserId="885" />
  <row Id="14060" PostId="10670" Text="I wish you luck. My Win7 install on my netbook is starting to experience bit rot and I would like to replace it with linux. " CreationDate="2011-04-05T18:54:51.030" UserId="5212" />
  <row Id="14061" PostId="10683" Text="Right, I know that a hardlink to a compressed file is by definition simply another &quot;access point&quot; to that same compressed file, I was just trying to make it clear that I want the same hardlink structure in the backup of the snapshots. Thanks for the references, I'll look into these and see if they look like they'll indeed fill my needs." CreationDate="2011-04-05T19:00:06.330" UserId="6208" />
  <row Id="14062" PostId="10683" Text="Yes, `rdup` looks like the solution I was looking for. Too bad it sends entire files instead of only changes like `rsync` does, but then again it's typically relatively small files (code, text docs, etc.) that change, while the big ones that really benefit from that mechanism (photos, movies) rarely if ever change, so that shouldn't really be an issue." CreationDate="2011-04-05T19:29:31.890" UserId="6208" />
  <row Id="14063" PostId="10676" Text="'wait' is only for background processes started with '&amp;' at the end of the line (at least in ksh, I would expect bash is the same). You might get better set's of eyes on this if you add your shell as a tag. Interesting problem, thanks for sharing ;-) ... Good luck!" CreationDate="2011-04-05T19:29:55.953" UserId="6122" />
  <row Id="14064" PostId="10676" Text="Do you know about the `{ print ${Hdr} ; cat ${file} ; } &gt; outFile`  construct using `{ ; }` pairs? (the semicolon as last token before closing brace is critical in in-line constructs). These can be quite complex, with conditional logic inside deciding is ultimately sent to `&gt; outFile`. I hope this helps. (Sorry but I don't have the time to try and figure out exactly what your script is doing, I don't know anything about zenity). Also tag what OS you're using?" CreationDate="2011-04-05T19:35:26.403" UserId="6122" />
  <row Id="14065" PostId="10669" Text="`bashrc` is a bash configuration file, it's not a place for environment variables. `/etc/profile` is the most common place for environment variables; most systems have other possibilities such as `/etc/environment`." CreationDate="2011-04-05T20:06:02.537" UserId="885" />
  <row Id="14066" PostId="10668" Text="Technically true, but I don't see how that would help, since the change is supposed to take effect only after the next reboot." CreationDate="2011-04-05T20:07:04.337" UserId="885" />
  <row Id="14067" PostId="10589" Text="@Gilles, sry. Still, it's not relevant anymore, I used the Gnome native monitor manager to set this up. Thanks for the help." CreationDate="2011-04-05T20:13:03.637" UserId="1594" />
  <row Id="14068" PostId="10623" Text="What shell is that? For once, it's important: bash, ksh and zsh don't implement process substitutions in exactly the same way. IIRC it's come up before on this site; unfortunately I can't find that thread (I guess it didn't have “process substitution” spelled out)." CreationDate="2011-04-05T20:13:46.310" UserId="885" />
  <row Id="14069" PostId="10673" Text="@Faheem - why /.../src? Why not /usr/local? I haven't memorized the folder structure yet, I just want somewhere to put it (looking for the equivalent of C:\Program Files)." CreationDate="2011-04-05T20:15:19.090" UserId="1594" />
  <row Id="14070" PostId="10673" Text="@ripper: `/usr/local/src` is customary, I believe. The FHS says &quot;/usr/local/src: Local source code&quot;. See http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY" CreationDate="2011-04-05T20:27:20.783" UserId="4671" />
  <row Id="14072" PostId="10693" Text="Thanks, hadn't come across `type` before. There's a lot of muscle memory for me to overcome in order to wean off `which` though. :)" CreationDate="2011-04-05T21:03:48.350" UserId="1297" />
  <row Id="14073" PostId="10693" Text="`alias which type`?" CreationDate="2011-04-05T21:05:12.497" UserId="5325" />
  <row Id="14074" PostId="10641" Text="No need to reboot. Just run `sysctl fs.file-max=123456`. (`/etc/sysctl.conf` is read at boot time by a script that calls `sysctl` on the contents.)" CreationDate="2011-04-05T21:06:56.413" UserId="885" />
  <row Id="14075" PostId="10692" Score="2" Text="possible duplicate of [How to use `which` on an aliased command?](http://unix.stackexchange.com/questions/10525/how-to-use-which-on-an-aliased-command)" CreationDate="2011-04-05T21:30:03.827" UserId="885" />
  <row Id="14076" PostId="10625" Text="Thanks, I am not able to boot into Single User Mode, but i will look at the pacman log." CreationDate="2011-04-05T21:49:57.823" UserId="6315" />
  <row Id="14077" PostId="10693" Text="I like `alias where='type -a'`" CreationDate="2011-04-05T21:55:50.740" UserId="4667" />
  <row Id="14078" PostId="10622" Text="@Faheem I does, but I personaly found easier to learn the low level steps, so that you don't have to relearn everything every time you switch to another distro. I guess it depends on how many different distros you deal with on a regular basis." CreationDate="2011-04-05T22:01:38.650" UserId="5685" />
  <row Id="14079" PostId="10621" Text="@mix: If you have no idea what caused the problem, I don't see any value in keeping the question, so I've voted to close it." CreationDate="2011-04-05T22:05:31.003" UserId="885" />
  <row Id="14080" PostId="10622" Text="@Frederik: good point" CreationDate="2011-04-05T22:30:08.543" UserId="4671" />
  <row Id="14081" PostId="10699" Text="It's not that simple. If you trap the signal, many shells (dash, bash, pdksh, zsh… probably all except ATT ksh) ignore it while they're waiting for `cat` to exit. I've already experimented a little but not found anything I'm satisfied with so far." CreationDate="2011-04-05T23:11:18.070" UserId="885" />
  <row Id="14082" PostId="10699" Text="On portability: thankfully I have functions everywhere. I'm not sure about `$!`, I think some of those machines I use rarely don't have job control, is `$!` universally available?" CreationDate="2011-04-05T23:13:25.057" UserId="885" />
  <row Id="14083" PostId="10699" Text="@Gilles: Hm, yeh.  I recall some truly hideous and `bash`-specific stuff I did once involving abuse of `-o monitor`.  I was thinking in terms of truly ancient shells when I wrote that (it worked in v7).  That said, I think you can do either of two other things: (1) background &quot;whatever&quot; and `wait $!`, or (2) also send `SIGCLD`/`SIGCHLD`... but on old enough machines the latter is either nonexistent or nonportable (the former is System III/V, the latter BSD, and V7 had neither)." CreationDate="2011-04-05T23:17:17.863" UserId="5325" />
  <row Id="14084" PostId="10699" Text="@Gilles: `$!` goes back to V7 at least, and certainly predates a `sh`-like that knew anything about job control (in fact, for a long time `/bin/sh` on BSD didn't do job control; you *had* to run `csh` to get it — but `$!` was there)." CreationDate="2011-04-05T23:18:56.803" UserId="5325" />
  <row Id="14085" PostId="10699" Text="@geekosaur: I can't background “whatever”, I need its output. Thanks for the info about `$!`." CreationDate="2011-04-05T23:21:43.480" UserId="885" />
  <row Id="14086" PostId="5783" Score="1" Text="Also [Get maximum memory usage of linux executable](http://serverfault.com/questions/179604/get-maximum-memory-usage-of-linux-executable), [monitor a program's memory usage in Linux](http://stackoverflow.com/questions/563168/monitor-a-programs-memory-usage-in-linux)" CreationDate="2011-04-05T23:27:26.487" UserId="885" />
  <row Id="14087" PostId="10700" Score="1" Text="For memory usage, see [Is there a tool that allows logging of memory usage?](http://unix.stackexchange.com/questions/5783/is-there-a-tool-that-allows-logging-of-memory-usage) and the many other questions it cites." CreationDate="2011-04-05T23:27:54.537" UserId="885" />
  <row Id="14088" PostId="10706" Text="Read the “troubleshooting” section of the [`ssh` tag info](http://unix.stackexchange.com/tags/ssh/info), in particular the part about permissions." CreationDate="2011-04-06T00:36:37.997" UserId="885" />
  <row Id="14089" PostId="10706" Text="okay so I made sure my permissions are 700 on the files/folders...as far as ssh -vvv it doesn't give me anything to post..it just shows me usage instructions" CreationDate="2011-04-06T01:23:18.257" UserId="6319" />
  <row Id="14090" PostId="10622" Text="Also, this Kernel is not meant to make too much sense. It's just for testing out stuff." CreationDate="2011-04-06T01:38:19.093" UserId="1290" />
  <row Id="14091" PostId="10708" Text="Also, look in the Event Log of PuTTY and see if it mentions public key attempted." CreationDate="2011-04-06T01:38:39.173" UserId="6167" />
  <row Id="14092" PostId="10621" Text="I'd help, but I don't have the rep." CreationDate="2011-04-06T01:55:57.427" UserId="6167" />
  <row Id="14093" PostId="5722" Text=" Proctools doesn't compile well with Snow Leopard" CreationDate="2011-04-06T02:35:49.467" UserId="6325" />
  <row Id="14094" PostId="10634" Text="Do you mean for the framebuffer/console?  Or for X11/Xorg?" CreationDate="2011-04-06T03:49:42.650" UserId="6167" />
  <row Id="14095" PostId="10582" Text="You can't run a text editor against a character device.  You might be able to run it against a block device like /dev/fd0 as I have done in the past, but that will read in the whole block device (floppy in this case) into memory and the text editor may still have issues reading/writing.  For a character device, try using cat to monitor it's output.  That works with my GPS." CreationDate="2011-04-06T04:07:37.750" UserId="6167" />
  <row Id="14096" PostId="10582" Text="Also, post the output of `id`, `ls -l /dev/gps`, and `ls -lL /dev/gps` if you can." CreationDate="2011-04-06T04:09:10.323" UserId="6167" />
  <row Id="14097" PostId="10521" Text="@Mamaduka Can you post the output of `cat /proc/asound/cards` and `lspci` in your question?" CreationDate="2011-04-06T04:34:07.480" UserId="6167" />
  <row Id="14098" PostId="10715" Text="You mean Ctrl+Alt+F7?" CreationDate="2011-04-06T04:49:52.650" UserId="73" />
  <row Id="14099" PostId="10715" Score="3" Text="@Michael: The text mode console usually wants `Alt`; X11 uses `Ctrl`+`Alt` because of programs that used `Alt` + F-keys (WordPerfect for Unix, back when, did that a lot)." CreationDate="2011-04-06T04:52:54.070" UserId="5325" />
  <row Id="14100" PostId="10715" Text="@geekosaur Wow, you're right; I've always used Ctrl unnecessarily" CreationDate="2011-04-06T05:01:08.207" UserId="73" />
  <row Id="14101" PostId="9911" Text="In firefox, can you post the details of Flash from the page `about:plugins`  Be sure to expand the details tab on the upper right." CreationDate="2011-04-06T05:14:41.133" UserId="6167" />
  <row Id="14102" PostId="9911" Text="Actually, my last comment applies to Chrome, but Firefox also has an about:plugins page." CreationDate="2011-04-06T05:30:49.157" UserId="6167" />
  <row Id="14103" PostId="10623" Text="I'm using *GNU bash, version 4.1.5(1)*... (I've included it in the question body)." CreationDate="2011-04-06T06:05:00.300" UserId="2343" />
  <row Id="14104" PostId="7864" Text="I added an update above for the xmodmap -pm command" CreationDate="2011-04-06T06:30:32.413" UserId="1782" />
  <row Id="14106" PostId="691" Text="The first sentence is the best explanation, thank you." CreationDate="2011-04-06T06:54:47.777" UserId="5884" />
  <row Id="14107" PostId="10676" Text="@shellter: Thanks. I wasn't aware of the need for the final `;`. In the context of my question, your `{ }` example, gave a real insight into how `( )` background/substitution process and `{ }` inline processes work in regards to std-I/O. It seems that they must open a **FIFO** pipe, which is available to any command anywhere in the process block. If I've got the right idea, it's really quite simple. `tee` must be opening a FIFO for each process. These processes may be fast or slow, and in my case, the `tr` process was slower than the inline `stdout` pipe, so `cat` only got part of the file. " CreationDate="2011-04-06T06:55:21.160" UserId="2343" />
  <row Id="14108" PostId="10676" Text="Re. improvements to the wait loop (above): ... If there is no native `bash` way to handle the 'wait' scenario, then I believe that aside from some other way of checking for a running process (rather than `kill -0`), then the only things it needs are.. 1) testing exit codes of each sub-process.. 2) checking that the flag-files actually exist, before proceeding. " CreationDate="2011-04-06T06:59:53.997" UserId="2343" />
  <row Id="14109" PostId="10674" Text="I've checked that later, you're right. I should check it before i advise next time. :)" CreationDate="2011-04-06T07:42:51.270" UserId="6302" />
  <row Id="14110" PostId="10684" Text="lol..i tried that too and then just as I saved the document, I saw the &quot;Windows only&quot; comment." CreationDate="2011-04-06T07:50:34.013" UserId="2695" />
  <row Id="14111" PostId="10725" Text="So it's a VERY specialized way of creating a virtual file that is really used by devices connected to the system as a way of communicating with the system without having to learn how to communicate with the device through it's driver?" CreationDate="2011-04-06T07:52:00.707" UserId="6330" />
  <row Id="14112" PostId="10727" Text="That was easy, ty :)" CreationDate="2011-04-06T08:03:51.057" UserId="5767" />
  <row Id="14113" PostId="10725" Text="But `udev` is Linux-specific, is it not? Perhaps other Unix-like systems still manually create devices?" CreationDate="2011-04-06T08:05:36.793" UserId="4671" />
  <row Id="14114" PostId="10723" Text="This is a good question. +1." CreationDate="2011-04-06T08:08:03.140" UserId="4671" />
  <row Id="14115" PostId="10721" Text="Do you mean right click to copy and right click to paste?  Or right click to paste is preference #2 if right click to copy is not possible?" CreationDate="2011-04-06T08:12:49.383" UserId="3169" />
  <row Id="14116" PostId="10725" Text="@mark Er, no. Creating virtual device files is how software is *supposed* to communicate with the device through its driver. The driver creates the hook in the kernel; mknod creates the device file that links the hook to a device file that software subsequently can connect to." CreationDate="2011-04-06T08:23:39.683" UserId="4949" />
  <row Id="14117" PostId="10725" Text="@Faheem I'm not sure; FreeBSD seems to use `devfs` and/or `devd` but I have no personal experience with either. I suspect other unices have worked out their own ways to automate the process of making device nodes though." CreationDate="2011-04-06T08:25:40.790" UserId="4949" />
  <row Id="14118" PostId="10725" Text="@mark For example, Alsa generates a series of nodes in `/dev/snd` corresponding to the various elements of each bit of sound hardware it detected and supports. Software that uses sound can use those devices to generate sound without having to know precisely what kind of sound card they're talking to." CreationDate="2011-04-06T08:29:02.983" UserId="4949" />
  <row Id="14119" PostId="10728" Text="I doubt I'll actually need to type a literal TAB, certainly not in the frequency in which I need to paste text." CreationDate="2011-04-06T08:30:17.943" UserId="1594" />
  <row Id="14120" PostId="10730" Text="Tremendous, that’s the stuff. Cheers Mikel!" CreationDate="2011-04-06T08:52:24.273" UserId="5646" />
  <row Id="14122" PostId="10616" Text="I got this message (Syntax error at source line 1).." CreationDate="2011-04-06T09:17:52.627" UserId="5836" />
  <row Id="14123" PostId="10622" Text="Also, when running `make allmodconfig`, what happens to the options that can't be built as a module? Is 'y' assumed?" CreationDate="2011-04-06T09:55:19.133" UserId="1290" />
  <row Id="14124" PostId="10718" Text="Are there any network devices showing up in `ifconfig -a` besides lo?  Also, can you figure out which kernel modules are loaded for Ethernet under SLES with lsmod?" CreationDate="2011-04-06T11:09:19.693" UserId="6167" />
  <row Id="14125" PostId="7258" Text="Yes. I use &quot;Fn&quot;+ &quot;key arrows&quot;" CreationDate="2011-04-06T11:40:26.413" UserId="4705" />
  <row Id="14126" PostId="10728" Text="`Shift`+`Del` is cut, too, but that doesn't apply to Gnome Terminal." CreationDate="2011-04-06T12:46:39.753" UserId="3169" />
  <row Id="14127" PostId="10728" Text="These shortcuts come from the [IBM CUA standards](http://en.wikipedia.org/wiki/IBM_Common_User_Access)." CreationDate="2011-04-06T12:47:07.770" UserId="3169" />
  <row Id="14128" PostId="10616" Text="@Host, did you cut and paste that code exactly? I do not get any syntax errors using any of the awk implementations at my disposal." CreationDate="2011-04-06T13:08:39.453" UserId="4667" />
  <row Id="14129" PostId="10618" Text="@Barakat : What isn't working? What is the error message? It works in my ksh environment ;-) (and I'm sure it would have worked where I used Solaris and AIX ksh's). Hmm. re-read your posting and see you're refering to OpenBSD ksh. Sorry I don't have experience with that. Is it possible that it is really pdksh? Good Luck." CreationDate="2011-04-06T13:35:29.167" UserId="6122" />
  <row Id="14130" PostId="10743" Score="1" Text="Consider using cgroups or LXC, they might suit you better (and are much easier to deal with)." CreationDate="2011-04-06T13:54:37.800" UserId="2671" />
  <row Id="14132" PostId="10748" Text="Try first with a very simple dummy command to write some stuff to standard error, and have cron set up to mail your the standard error output." CreationDate="2011-04-06T14:08:50.647" UserId="4671" />
  <row Id="14133" PostId="8737" Text="Try manually running `rsyslogd -c4 -d` and inspect the debugging output. `rsyslogd -c4 -d | grep rsyslog.d` should show you which files and the order they are included." CreationDate="2011-04-06T14:13:15.017" UserId="5666" />
  <row Id="14135" PostId="10749" Text="+1, it was a good idea.  Quotas were something that did occur to me early on, but I checked and they weren't enabled.  Thanks for answering." CreationDate="2011-04-06T14:49:21.727" UserId="6216" />
  <row Id="14136" PostId="10482" Text="I'm very familiar with R, but my goal was to have something I could use easily from Bash." CreationDate="2011-04-06T15:03:31.247" UserId="1207" />
  <row Id="14137" PostId="10755" Text="I'm not sure it is - what distinction are you trying to make?" CreationDate="2011-04-06T16:43:40.093" UserId="4776" />
  <row Id="14138" PostId="10741" Score="1" Text="Port &quot;security&quot; doesn't really give you very much in the modern world." CreationDate="2011-04-06T16:47:04.053" UserId="4776" />
  <row Id="14139" PostId="10748" Text="Have you checked your cron logs? Have you tried replacing `~` with the path?" CreationDate="2011-04-06T17:05:26.423" UserId="2359" />
  <row Id="14140" PostId="10755" Text="Do you mean a compact flash disk hook up as an IDE device, or just a compact flash using a USB card reader?" CreationDate="2011-04-06T17:19:41.590" UserId="6167" />
  <row Id="14141" PostId="10718" Text="`ifconfig -a` shows `lo` and `sit0`. IIRC, SLES loads `qdio` and `qeth` modules, and I have both compiled-in on Gentoo." CreationDate="2011-04-06T17:24:58.597" UserId="3886" />
  <row Id="14142" PostId="10718" Text="I usually recommend using modules for non-critical devices as it's usually easier to debug and test.  For example, if you need to change a modules parameters, however, it appears that none of the s390 network drivers use module parameters.  I'd be curious to see what `find /sys -name '*eth*'` and `dmesg | grep -E '(qdio|qeth)'` reveals under both Gentoo and SLES." CreationDate="2011-04-06T17:50:14.840" UserId="6167" />
  <row Id="14143" PostId="10751" Text="also, in the same file you can force a colored prompt.  " CreationDate="2011-04-06T18:34:18.953" UserId="3041" />
  <row Id="14144" PostId="10770" Text="If you notice I did aptitude remove {package name} but it didnt helpme. I fear that will remove everything gnome and then I will be thrown at shell, which essentially means, am screwed :( but let me try that after my 400+MB of update on my 64KBPS line :(" CreationDate="2011-04-06T18:36:25.550" UserId="5430" />
  <row Id="14145" PostId="10755" Text="@pjc50 The script may run on a computer with a single CF disk, one CF and one IDE disk, or a single IDE disk, so I need to distinguish between the first and the last case since the script will have to do different things in those two cases. @penguin359 I mean a flash disk as an IDE device." CreationDate="2011-04-06T18:37:48.713" UserId="6339" />
  <row Id="14146" PostId="10622" Text="Yes, if it's a Y/N switch, it will be compiled in." CreationDate="2011-04-06T18:50:07.430" UserId="5685" />
  <row Id="14157" PostId="10769" Text="Thank you. I'm interested in your script if you will be so kind." CreationDate="2011-04-06T19:18:26.763" UserId="6215" />
  <row Id="14158" PostId="10735" Text="This question is open to interpretation.  I'm hoping that you mean &quot;you have created a new system service that you (as root) would like to run in an unprivileged account for security reasons&quot; (considered good practice) and not &quot;I have a user that's asked if they can run their own web server on my system, how do I allow them access?&quot; (considered rather poor practice)" CreationDate="2011-04-06T19:36:26.807" UserId="2534" />
  <row Id="14159" PostId="10735" Text="or perhaps even more worryingly, &quot;There's this system that I have partially hacked into, that I can crash the web service on, and I want to put up my own website in its place, so I can capture every ones user name and password, but I am being thwated by this secure port thing...&quot;" CreationDate="2011-04-06T19:39:51.720" UserId="2534" />
  <row Id="14160" PostId="10770" Text="Yes, I noticed that.  Main difference is that purge also removes any system configuration files left behind after a remove, and autoremove also removes packages that have not been explicitly requested, but where installed to satisfy dependencies and are no longer required." CreationDate="2011-04-06T19:43:04.307" UserId="6167" />
  <row Id="14161" PostId="9202" Text="Richard, thanks for the input. I'm still puzzling out a few things with your script. First, since emacsclient doesn't have a -c option, I'm assuming that it's a bash thing, but don't know. Second, why not put emacs as the alternate editor? Thanks" CreationDate="2011-04-06T19:57:29.677" UserId="3127" />
  <row Id="14162" PostId="10776" Score="3" Text="Please post the output of `fdisk -l /dev/sda` (run as root)." CreationDate="2011-04-06T20:01:56.023" UserId="885" />
  <row Id="14163" PostId="10776" Score="1" Text="What filesystem are you using?  If it's ext2/3/4 then you can use `tune2fs -l /dev/sda1` to examine it.  Look at block count and block size and multiply them to get the filesystem size.  Also, `fdisk -s /dev/sda1` to get the partition size in 1k-blocks.  Multiply that by 1024 to get the size in bytes.  That number should only be slightly larger than the filesystem.  On my 40GB ext4 partition, it's 3072 bytes larger.  If your filesystem is oddly smaller, you can try resizing it.  For ext2/3/4, use `resize2fs /dev/sda1`.  You can do this while using the computer normally." CreationDate="2011-04-06T20:06:20.980" UserId="6167" />
  <row Id="14164" PostId="10634" Text="@penguin359 Either. X and fb if possible as long as I get to use the libdrm directly... (PS: preferably via C++)" CreationDate="2011-04-06T19:12:51.820" UserId="6349" />
  <row Id="14165" PostId="10748" Text="What is the output of &#xD;&#xA;&#xD;&#xA;    crontab -l" CreationDate="2011-04-06T16:36:17.697" UserId="3356" />
  <row Id="14166" PostId="10782" Text="I'm not familiar with &quot;MWE script&quot;. And Google isn't showing anything that seems likely. Can you explain that?" CreationDate="2011-04-06T20:27:24.843" UserId="2511" />
  <row Id="14167" PostId="10693" Text="I do the same as glenn, but mine is: alias witch='type -a', and just to play it safe for forgetful me: alias which=witch" CreationDate="2011-04-06T20:31:58.290" UserId="3127" />
  <row Id="14168" PostId="10782" Text="That said, there's no reason to make this _two_ regexes, is there?" CreationDate="2011-04-06T20:32:39.847" UserId="2511" />
  <row Id="14169" PostId="10782" Text="@mattdm - MWE = 'minimum working example'; Code simplified from my actual script containing the essence of the problem for faster understanding. Most sites where code is discussed require an MWE example." CreationDate="2011-04-06T20:36:43.293" UserId="3127" />
  <row Id="14170" PostId="10782" Text="@mattdm - I think it does. How else would you test whether the line *begins* with '#;' ? " CreationDate="2011-04-06T20:38:19.593" UserId="3127" />
  <row Id="14171" PostId="10782" Text="It appears to be the first time the acronym has been used on _this_ site, so I guess we are not &quot;most sites&quot;. :)" CreationDate="2011-04-06T20:39:56.053" UserId="2511" />
  <row Id="14172" PostId="10782" Score="1" Text="@bev: Don't use non-standard abbreviations if you want to be understood. You should have said which shell you are using (there are three, not counting minor variants, that your script could be in). “MWE” was where one would have expected something like “bash” or “ksh”, which was confusing." CreationDate="2011-04-06T20:40:10.000" UserId="885" />
  <row Id="14173" PostId="10782" Score="1" Text="@mattdm: You might want two regexps for clarity, or because there's a risk that the prefix and suffix overlap." CreationDate="2011-04-06T20:41:08.347" UserId="885" />
  <row Id="14174" PostId="10782" Text="@Gilles - You're correct, I should have specified the bash shell. I will in the future. On the 'non-standard' abbreviation reprimand, I'll have to plead innocent, since all of the other code forums I'm on use that term regularly and one is chided for not including one and stating so up front. On this forum I'll try to remember to write out the full term if appropriate." CreationDate="2011-04-06T20:50:59.037" UserId="3127" />
  <row Id="14175" PostId="10748" Text="Cron runs those commands at 2:00am in whatever timezone your computer thinks it lives in.  Have you waited past that time-of-ay?" CreationDate="2011-04-06T20:56:37.360" UserId="732" />
  <row Id="14176" PostId="10784" Text="@Gilles - Thanks so much. Your 'simpler' version is what I need. Thanks also for the instruction on the syntax of  [[...]] . I was unable to find an answer to my question online, and I had tried many variants of the code I posted here. I'm afraid my understanding of regexp in the various languages I code in is frequently found wanting." CreationDate="2011-04-06T21:03:00.010" UserId="3127" />
  <row Id="14178" PostId="10767" Text="+1 for recommending `2&gt;&amp;1`. It's always a good idea to send STDERR to a sane location." CreationDate="2011-04-06T21:06:17.277" UserId="4" />
  <row Id="14179" PostId="10782" Text="@Gilles - your comment to mattdm seems to imply that I didn't need to use a regexp for the first test. My understanding is that I do have to use one if I want to test whether the line begins with a specific string. Can you set me straight? Thanks." CreationDate="2011-04-06T21:06:53.063" UserId="3127" />
  <row Id="14180" PostId="10783" Text="I may be mistaken, I use UnxUtil on Windows and for whatever shell that emulates is what I need.  I am not sure how to figure that out and documentation is lacking." CreationDate="2011-04-06T21:10:01.577" UserId="4361" />
  <row Id="14181" PostId="10618" Text="@Barakat : One other thing, did you restart your shell after adding alias defintion to .kshrc. Or you could add it to ~/.profile and then start a new shell." CreationDate="2011-04-06T21:31:11.783" UserId="6122" />
  <row Id="14182" PostId="10787" Score="2" Text="Good point about grep, but not if you're going to use it in a loop. Replace the whole loop with `grep -q &quot;^#;.*$end\$&quot; &lt;&amp;3`." CreationDate="2011-04-06T21:58:42.630" UserId="885" />
  <row Id="14183" PostId="10735" Text="@Ptolemy, the actual reason is: my machine is behind a firewall that blocks any port but the 80. I want to host a server (which doesn't drop privileges!), thus need to have it listening on port 80, but don't trust it to run as root (for obvious security reasons). I'm allowed to do this, if you care." CreationDate="2011-04-06T22:30:50.010" UserId="4041" />
  <row Id="14184" PostId="10784" Text="@Gilles - I appreciate the additions to your original answer, both the 'one test' expression and the wildcard test work in my script, and the wildcard answers another of my questions. I hadn't realized that a wildcard was possible in that context. The 'case' example seems obvious, but I hadn't thought of it. I have another regexp question, since this was was such a success, which I will post in a minute." CreationDate="2011-04-06T22:57:11.067" UserId="3127" />
  <row Id="14185" PostId="10787" Text="@Ross Smith - Thanks for your suggestion. I'm putting your answer into my notes file for future reference. Another solution I hadn't considered..." CreationDate="2011-04-06T23:01:00.983" UserId="3127" />
  <row Id="14186" PostId="10755" Score="1" Text="Try [`hdparm -I`](http://superuser.com/questions/221785/how-to-find-hard-disk-rpm-speed/238733#238733), which shows the rotation speed (RPM, meaningless on a CF) on some drives. Many drives don't report the info though; perhaps there's another parameter you can use." CreationDate="2011-04-06T23:06:05.593" UserId="885" />
  <row Id="14187" PostId="10611" Text="It sorts '0A' before '5' in Thunar 1.0.2.  Make sure that the sort is the correct direction.  The default may not sort them 'correctly', but after sorting, it is correct." CreationDate="2011-04-07T01:24:35.870" UserId="4194" />
  <row Id="14188" PostId="10781" Text="Last night I did head banging and accidentally removed the gnome-session and gnome-shell itself, then reinstalled the gnome-session. Interestingly after reinstalling gnome-session I got everything I had set up in my Gnome except few shortcut keys I have set are not working. Now the 2nd part of the question, how do I install Gnome3 along with Gnome2.x (Its 2.3 in my case)" CreationDate="2011-04-07T01:50:40.180" UserId="5430" />
  <row Id="14189" PostId="10710" Text="Does the RDP client in Windows XP or older work?  Might be a new security feature they now require.  I know when I use RDP from Vista/7 to XP it warns that it's unable to verify the computer since XP lacks some new security feature added in Vista.  There might be a registry tweak to fix Window 7 SP1." CreationDate="2011-04-07T01:56:25.857" UserId="6167" />
  <row Id="14190" PostId="10795" Text="Thanks for the help everyone." CreationDate="2011-04-07T02:33:25.963" UserId="4159" />
  <row Id="14191" PostId="10769" Text="Use `sort -nr` if you want the biggest values on top." CreationDate="2011-04-07T02:55:50.983" UserId="3389" />
  <row Id="14194" PostId="10755" Text="@Gilles Bingo for `hdparm -I`, the very first line after the device name says either &quot;_CompactFlash ATA device_&quot; or &quot;_ATA device, with non-removable media_&quot;. If you'd like to post your comment as an answer, I'll accept it. " CreationDate="2011-04-07T07:27:32.033" UserId="6339" />
  <row Id="14196" PostId="10755" Text="@lazyr: Go ahead and write the answer. I hadn't thought of the removable attribute. In fact you can get this from `/sys/block/$devicename/removable`. It'll return true for a removable hard disk, but that may be good enough for you." CreationDate="2011-04-07T07:37:14.540" UserId="885" />
  <row Id="14197" PostId="10743" Text="@Let_Me_Be Many thanks. cgroups is pretty new I guess, because I didn't find anything to read really, but LXC looks VERY promising. However I will try to finish chroot approach first, and then move to LXC." CreationDate="2011-04-07T08:21:54.423" UserId="5884" />
  <row Id="14198" PostId="10808" Text="`zsh` spelling correction is great for typos. ;-)" CreationDate="2011-04-07T08:51:01.693" UserId="3169" />
  <row Id="14199" PostId="10809" Text="Ctrl+V, Ctrl--&gt; prints &quot;^[[1;5C&quot;, and I'm using gnome-terminal." CreationDate="2011-04-07T09:06:44.967" UserId="1594" />
  <row Id="14200" PostId="10809" Score="1" Text="So try `&quot;\e[1;5C&quot;: forward-word`.  And do the `Ctrl`+`V` thing for `Ctrl`+`Left Arrow` too." CreationDate="2011-04-07T09:21:38.623" UserId="3169" />
  <row Id="14201" PostId="10756" Text="Good point. With openroot and root user within chroot environment I get error: &quot;Invalid MIT-MAGIC-COOKIE-1 keyWarning: This program is an suid-root program or is being run by the root user.&quot; and with regular simply &quot;xterm Xt error: Can't open display: :0&quot;." CreationDate="2011-04-07T09:29:09.970" UserId="5884" />
  <row Id="14202" PostId="10743" Text="@macias Actually LXC is built on top of cgroups :)" CreationDate="2011-04-07T09:35:12.153" UserId="2671" />
  <row Id="14203" PostId="10781" Text="[Apparently](http://unix.stackexchange.com/q/10764/10800#10800)." CreationDate="2011-04-07T09:44:02.483" UserId="688" />
  <row Id="14204" PostId="10760" Text="Many, many thanks. Thank to your tutorial I was able to run xterm without problems (btw. I thought that openroot is design to &quot;hide&quot; all those scary details from user), however when I run JDownloader -- no change, literally. It fails with exception (the one, I posted in question)." CreationDate="2011-04-07T09:46:40.530" UserId="5884" />
  <row Id="14205" PostId="10722" Text="@gilles huh... I always thought color profile just changed like background/cursor/typed text didn't realize it could change other colors." CreationDate="2011-04-07T09:50:07.157" UserId="29" />
  <row Id="14206" PostId="10549" Text="So /etc/resolv.conf is confirmed to be sane?" CreationDate="2011-04-07T06:19:27.047" UserId="2847" />
  <row Id="14207" PostId="10549" Text="Yes, it is....." CreationDate="2011-04-07T06:38:52.600" UserId="5502" />
  <row Id="14208" PostId="10809" Text="Thanks, works like a charm. Slowly but surely, I'll learn how to swim in linux. Why did they have to make it so non-intuitive in the first place? (You have to admit ctrl-left, ctrl-right are better choices)" CreationDate="2011-04-07T10:25:09.267" UserId="1594" />
  <row Id="14209" PostId="10800" Text="I am paying the price, audio and themes are broken :(" CreationDate="2011-04-07T10:35:14.980" UserId="5430" />
  <row Id="14210" PostId="10786" Text="Thank you this is very helpful.  I am using UnxUtil the Windows open source program that emulates Unix commands.  This is why it could get a little fuzzy, and I'm not quite sure how to figure out what version UnxUtil uses." CreationDate="2011-04-07T10:38:32.830" UserId="4361" />
  <row Id="14211" PostId="10815" Score="2" Text="What is `(unix-system)`?  Some kind of Lisp or Scheme function?  More details needed!" CreationDate="2011-04-07T10:46:13.747" UserId="3169" />
  <row Id="14212" PostId="10817" Text="Please format your code and output properly by indenting it with 4 spaces." CreationDate="2011-04-07T10:49:16.020" UserId="3169" />
  <row Id="14213" PostId="10817" Score="1" Text="Does `/var/log/dpkg.log` say that any audio-related packages were removed?" CreationDate="2011-04-07T10:51:26.410" UserId="3169" />
  <row Id="14214" PostId="10819" Text="Open a terminal and run `tail -n0 -f ~/.xsession-errors` just before you double click the launcher icon. Watch for error messages appearing when double clicking." CreationDate="2011-04-07T11:44:28.757" UserId="5666" />
  <row Id="14215" PostId="10776" Text="@Gilles sudo fdisk -l /dev/sda shows (I'm posting only the sda1 partition, because others don't interest us).&#xA;   Device Boot      Start         End      Blocks   Id  System&#xA;/dev/sda1               1       18706   150253568   83  Linux&#xA;" CreationDate="2011-04-07T11:48:12.300" UserId="6215" />
  <row Id="14219" PostId="10776" Text="@penguin359 I have ext4 filesystem. block count = 32668162, block size = 4096, 32668162 * 4096 = 133808791552, fdisk -s /dev/sda1 * 1024 = 153859653632. It seems to be oddly smaller. Can I resize it without loss of data? What caused that it is smaller?" CreationDate="2011-04-07T12:12:26.077" UserId="6215" />
  <row Id="14221" PostId="10813" Score="1" Text="This is not a reason for not completing the boot process. Maybe it gets long pauses when services (like mail) are waiting for dns resolver to timeout. In this case if you wait enough time the system will boot. Disable the boot splash screen or switch to console with ALT-F1 to see the booting messages." CreationDate="2011-04-07T12:15:55.467" UserId="5666" />
  <row Id="14222" PostId="10778" Text="&gt;&gt;Does your filesystem extend over the whole partition? I think so. It's ext4.&lt;br&gt; What should I backup? I don't have any secondary disk to make larger backup." CreationDate="2011-04-07T12:16:47.193" UserId="6215" />
  <row Id="14223" PostId="10811" Text="When you say *sizes of all files and directories*,do you mean the space each item takes up on the disk (eg. on my Ubuntu *ext4* filesystem, an empty directory takes 4k of disk-space, and a file smaller than 4k takes up 4k. The minimum allotment chunk is 4k).. **or** do you mean the amount of *data* in each file, eg, 100(bytes).. And for directories, do you want to know the total of file **data** in that directory.. If you do want the size of data *inside* files, then `tree` does that. if you want the disk-space used, then `du` does that...  (`tree` doesn't total a directory)" CreationDate="2011-04-07T12:17:47.017" UserId="2343" />
  <row Id="14224" PostId="10810" Text="Disk utility shows exactly capacity 154 GB (153,859,653,632 bytes)." CreationDate="2011-04-07T12:18:34.167" UserId="6215" />
  <row Id="14225" PostId="10810" Text="&gt;&gt; sudo tune2fs -l /dev/sda1 &lt;&lt; Which parameters tell me where the space is going?" CreationDate="2011-04-07T12:20:24.960" UserId="6215" />
  <row Id="14226" PostId="10818" Text="Of course. We're talking only about /dev/sda1 partition, not the whole disk." CreationDate="2011-04-07T12:21:25.627" UserId="6215" />
  <row Id="14227" PostId="10741" Text="@pjc50: Yes it does. It's about implied trust. Low port numbers imply high trust. SSH, POP, FTP and other daemons are expected to ask for system level passwords and other credentials when their ports are opened. If users were allowed to listen on low ports on a box, they could start phony daemons on unused (or crashed) ports and harvest passwords from unsuspecting users. Those passwords could then be used on that box to compromise other accounts, including root." CreationDate="2011-04-07T12:40:37.803" UserId="1925" />
  <row Id="14228" PostId="10811" Text="**'du'** is the better choice... I've just noticed in `man du`, that it can also report the *&quot;apparent file size&quot;*....  `The apparent size of a file is the number of bytes reported by `wc -c' on regular files, or more generally, `ls -l --block-size=1' or `stat --format=%s'.  For example, a file containing the word `zoo' with no newline would, of course, have an apparent size of 3.`" CreationDate="2011-04-07T12:50:42.400" UserId="2343" />
  <row Id="14229" PostId="10820" Text="I have `/etc/modprobe.d/alsa-base.conf` and `Reinstallation of gstreamer0.10-alsa is not possible, it cannot be downloaded.`, other 3 packages are also installed but in any case I will go with your tip and try it, no harm in trying" CreationDate="2011-04-07T12:55:11.890" UserId="5430" />
  <row Id="14230" PostId="10820" Text="It didn't help :(" CreationDate="2011-04-07T13:09:55.767" UserId="5430" />
  <row Id="14231" PostId="10816" Text="+1 for the short version :)" CreationDate="2011-04-07T13:29:21.580" UserId="1594" />
  <row Id="14232" PostId="10780" Text="Thank you. Those commands are useful, but I'm interested only in the files and directories directly under tmp, not files in subdirectories" CreationDate="2011-04-07T13:31:23.263" UserId="6215" />
  <row Id="14233" PostId="10811" Text="I wanted rather disk space used by files and directories (total size of data inside) directly under tmp (not subdirectories)" CreationDate="2011-04-07T13:34:48.797" UserId="6215" />
  <row Id="14234" PostId="10822" Text="I wanted rather disk space used by files and directories (total size of data inside) directly under tmp (not subdirectories).&#xA;My sort command does not have -h option." CreationDate="2011-04-07T13:40:33.673" UserId="6215" />
  <row Id="14235" PostId="10817" Text="@Mikel: +1, your comment helped me in fixing another issue with UI, I will continue with my fix, thaks :)" CreationDate="2011-04-07T13:47:54.860" UserId="5430" />
  <row Id="14236" PostId="10827" Score="1" Text="Yes, and why didn't I think of that? Thank you!" CreationDate="2011-04-07T14:03:59.603" UserId="6339" />
  <row Id="14237" PostId="10818" Text="That wasn't obvious from your question as you refer to a disk utility without showing its output. You should edit it to make that clear. Telling how did you create the / file system would be useful too." CreationDate="2011-04-07T14:12:55.107" UserId="2594" />
  <row Id="14239" PostId="10828" Text="@shellter... yes, this particular grep example works for me too.. I wasn't aware of that option until you posted the answer, so thanks for that... However. I'm still wondering if there is some **general** way to do this.... eg `tree` `is colorized a-la dircolors if the LS_COLORS environment variable is set and output is to  tty`  ... Maybe(?) there is a way to trick a pipe into thinking it is outputting to a TTY.. or some such general workaround .." CreationDate="2011-04-07T14:44:32.023" UserId="2343" />
  <row Id="14240" PostId="10828" Text="I've just checked `man tree`... It too has a similar option, `-C` ... perhaps it is a common feature for programs that output color escape codes.. " CreationDate="2011-04-07T14:47:17.340" UserId="2343" />
  <row Id="14241" PostId="10829" Score="2" Text="Also check out `od`.  There is also a vi-style hex editor called `hexer`." CreationDate="2011-04-07T14:47:29.657" UserId="3389" />
  <row Id="14242" PostId="10832" Text="thanks for that info about TTY detection and the unbuffer fake-out!" CreationDate="2011-04-07T16:01:21.177" UserId="6122" />
  <row Id="14243" PostId="10832" Text="@cjm.. It's not working here (on Ubuntu 10.04 / bash 4.1.5) ...but my 10.04 repo only has a -dev version, and nothing in backports... It's a bit late here, so I'll look again tomorrow... but as you've said, these colorizing programs probably toggle according to the output destination (mhhh but how do they know it is goiong to tty..no matter) .. and they may well have an option to force it.. thanks,,," CreationDate="2011-04-07T16:25:08.223" UserId="2343" />
  <row Id="14244" PostId="10833" Score="2" Text="Most people would find `od -t x1` as preferred format I guess." CreationDate="2011-04-07T16:43:14.370" UserId="1946" />
  <row Id="14245" PostId="10827" Text="I need to read before I post my own answer.  James has it right on." CreationDate="2011-04-07T16:53:36.577" UserId="6149" />
  <row Id="14246" PostId="10833" Text="Thanks, I'll update my post. " CreationDate="2011-04-07T17:07:33.057" UserId="4485" />
  <row Id="14247" PostId="10829" Score="1" Text="I like the output of &quot;hexdump -C file&quot; better. xxd is also a nice tool." CreationDate="2011-04-07T17:09:00.130" UserId="5909" />
  <row Id="14248" PostId="10837" Text="Does piping the output of `tail -f` to `grep` really work like that? If so, I'm going to have to start using that myself! For a case like this I would have suggested a `watch` command, but if this does indeed work it's so much better!" CreationDate="2011-04-07T17:20:10.567" UserId="6208" />
  <row Id="14249" PostId="10837" Text="@Kromey: how would you expect it to work?" CreationDate="2011-04-07T17:57:24.877" UserId="2511" />
  <row Id="14250" PostId="10832" Text="@fred, they generally use [isatty](http://linux.die.net/man/3/isatty) to find out where `stdout` is going.  I'm not actually sure if `unbuffer` works when you're piping into the program as well as out of it; I don't have it installed here to try." CreationDate="2011-04-07T17:59:06.140" UserId="2421" />
  <row Id="14251" PostId="10822" Text="I'm not 100% sure what you mean, since you had already accepted an answer with the same file pattern selection. Edited my post to not include subdirs. If you want the apparent size and not the actual disk space used, you may add `--apparent-size` to du parameters." CreationDate="2011-04-07T18:00:17.787" UserId="5666" />
  <row Id="14252" PostId="10837" Text="`tail -f` just continually streams output to stdout, right? I'd always been under the belief that all Unix redirection operators wait until all the output/input is ready and _then_ move it along, i.e. buffer it all until the sending program/file is done. Thus I wouldn't expect the `|` in Sean's command here to send anything along to `grep` until `tail` is done spitting out lines, which of course with the `-f` flag it won't ever do until it is interrupted. (I'm not at a *nix box to try this out, though, otherwise I would have just tested it instead of asking.)" CreationDate="2011-04-07T18:03:17.800" UserId="6208" />
  <row Id="14253" PostId="10778" Text="@xralf: (Ok, this is off-topic in terms of this question, but...) If don't have a backup, set one up immediately. The only alternative of a good backup (and it is not a good alternative) is systematic use of a distributed version control system, and pushing it to some remote location. But of course, you can't put everything under version control eg. media. Please excuse if I am being a busybody." CreationDate="2011-04-07T18:07:31.040" UserId="4671" />
  <row Id="14254" PostId="10837" Score="1" Text="It works, I use it lots; most of the time to track mail for whiney users.  `tail -f /var/log/mail.log | grep -i &quot;whineyUser@myDomain.com&quot;`" CreationDate="2011-04-07T18:08:27.343" UserId="6149" />
  <row Id="14255" PostId="10778" Text="@xralf: I would post your output results in the question itself, it is easier to see, and read." CreationDate="2011-04-07T18:09:12.677" UserId="4671" />
  <row Id="14256" PostId="10776" Text="@xralf: resizing should be safe, I've never lost data doing it. It might be slightly safer to do it to an unmounted partition, with eg a live cd. But still, get yourself a backup first. *Always* get a backup before doing major sys admin stuff." CreationDate="2011-04-07T18:11:20.850" UserId="4671" />
  <row Id="14257" PostId="10778" Text="resize2fs is quite safe operation, there is no need to backup for it (if you have stable power and you use stable software). BTW, default reserved block count is 5% for ext* filesystems." CreationDate="2011-04-07T18:11:41.500" UserId="4523" />
  <row Id="14259" PostId="10818" Text="The relevant part of the output of disk utility is &quot;capacity of sda1 partition = 154 GB&quot;." CreationDate="2011-04-07T18:13:54.260" UserId="6215" />
  <row Id="14260" PostId="10778" Text="@rvs: disagree re backup. You are right about the 5% at least on Debian. I was misremembering. But I don't know if that is standard across all distributions." CreationDate="2011-04-07T18:14:39.270" UserId="4671" />
  <row Id="14261" PostId="10778" Text="@Faheem Mitha: I agree that backup is required, I meant that there is no strong reason to do extra backup just for resize2fs." CreationDate="2011-04-07T18:20:44.797" UserId="4523" />
  <row Id="14262" PostId="10482" Text="@Steven: R can easily be run from the command line, in the same way as Python or Perl, if that is your only concern. See `Rscript` (part of the base R distribution) or the addon package `littler`. You can do `#!/usr/bin/env Rscript` or similar." CreationDate="2011-04-07T18:21:13.587" UserId="4671" />
  <row Id="14263" PostId="10841" Text="@teZeriusz: check my update" CreationDate="2011-04-07T18:21:52.953" UserId="5430" />
  <row Id="14264" PostId="10842" Text="It's nice short solution, but it print only directories." CreationDate="2011-04-07T18:22:53.093" UserId="6215" />
  <row Id="14265" PostId="10844" Text="Sorry, I phrased the question badly. It would have been better to read: &quot;Why don't Gnome or KDE (or other desktop projects for that matter) produce their own distributions?&quot;" CreationDate="2011-04-07T18:26:03.397" UserId="6377" />
  <row Id="14266" PostId="10778" Text="@rvs: Ok. I interpreted the poster as saying that he did not have any backup. Maybe I misunderstood." CreationDate="2011-04-07T18:27:49.463" UserId="4671" />
  <row Id="14267" PostId="10822" Text="Now it works nice. I only have to look for GB and then MB, but it's not a problem." CreationDate="2011-04-07T18:29:03.883" UserId="6215" />
  <row Id="14268" PostId="10776" Text="Ok, so some elementary arithmetic. `133808791552/ 153859653632 = 0.87` approx. However. `123/154=0.80` approx. Can anyone explain that discrepancy? Is it space reserved for root?" CreationDate="2011-04-07T18:36:23.853" UserId="4671" />
  <row Id="14269" PostId="10844" Text="Note that you can just edit the post itself if you think there's something needing clarification." CreationDate="2011-04-07T18:37:09.127" UserId="688" />
  <row Id="14270" PostId="10838" Text="I second what mattdm says above. I usually use `/usr/local/src` as a good place for downloading third party source code (eg for patching and rebuilding packages), not my own source code, which as matt says, should be under /srv/... (though I usually use `/srv/vcs/sourcerepo`). And mirrored remotely, of course." CreationDate="2011-04-07T18:44:15.080" UserId="4671" />
  <row Id="14271" PostId="10821" Score="1" Text="A fairly retarded approach to debugging this, though possibly an effective one, would be to install a second vm on your machine, and monitor both of them. This would help you eliminate some of the variables. Eg if the problem is peculiar to one vm and not the other. Alternatively, consider using a free software option. :-)" CreationDate="2011-04-07T18:47:48.510" UserId="4671" />
  <row Id="14272" PostId="10835" Score="2" Text="Ah, now this is more like what I had in mind. And I do that all the time in Emacs, should have thought about doing the same on the command line." CreationDate="2011-04-07T18:50:09.443" UserId="6339" />
  <row Id="14273" PostId="10838" Text="@Faheem - my home directory is on an NFS drive, so I definitely don't work my source branch to be there (too slow)." CreationDate="2011-04-07T18:50:15.790" UserId="1594" />
  <row Id="14274" PostId="10776" Text="A file system may reserve some space (4kB to 64kB) at the beginning for a bootloader. There may be space not accounted for in that equation used by filesystem structure like inode and super blocks. There is space reserved for root that does not show up in df, but doe show up in the `block count * block size` formula.  The default for mke2fs is 5% reserved for root.  That's where your `.87` vs. `.80` comes from.  With that being said, on my 40GB Ext4 partition I get: `(10488436*4096)/(41953747*1024) = .9999999284`.  I bet after you resize you have `.99` and `.94` for block count and df formulas" CreationDate="2011-04-07T18:51:44.573" UserId="6167" />
  <row Id="14275" PostId="10776" Text="@Faheem My last comment should answer your question.  As for resizing, I'd be a bad sysadmin if I failed to remind you to backup, Backup, BACKUP!  Aside from that, I have resized my Ext3 partitions many times on-line with a live production system and never had any issues.  Just do `resize2fs /dev/sda1` and watch the magic happen." CreationDate="2011-04-07T18:53:52.933" UserId="6167" />
  <row Id="14276" PostId="10776" Text="@penguin: Thanks for the clarification. And yes, backups are good. :-) Oh, and I'm not the OP, in case you thought that. :-)" CreationDate="2011-04-07T18:56:29.360" UserId="4671" />
  <row Id="14277" PostId="10760" Score="1" Text="chroot's can be difficult to debug.  Obviously something's still missing, but I'm not sure what.  Sometimes I can figure out by using strace or equivalent program.  Comparing a working strace with a broken one.  Mostly likely it's attempting to access some file, possibly a socket.  `strace -efile -oprog.trace prog` limits tracing to only file access, stores the trace to `prog.trace` and runs `prog`." CreationDate="2011-04-07T19:06:42.533" UserId="6167" />
  <row Id="14278" PostId="10822" Text="I had the unit letters in the wrong order, now fixed. If you want the order from big to small, change the order of the unit letters and add -r to sort." CreationDate="2011-04-07T19:07:25.097" UserId="5666" />
  <row Id="14279" PostId="10718" Text="Have you tried booting from a Gentoo live cd? If so, did you execute net-setup? " CreationDate="2011-04-07T19:07:33.333" UserId="2701" />
  <row Id="14280" PostId="10806" Text="Um, doesn't [this question](http://superuser.com/questions/204746/how-to-move-one-word-right-left-in-linux-bash) ring a bell?" CreationDate="2011-04-07T19:18:39.350" UserId="885" />
  <row Id="14281" PostId="10822" Text="I noticed, it forgot to print the size of directory (without . prefix)" CreationDate="2011-04-07T19:24:22.503" UserId="6215" />
  <row Id="14282" PostId="10837" Score="4" Text="@Kromey, depends on the command after the pipe. If it is `sort` or `wc` it will wait the `end-of-file` to start sorting, if it is `grep` or `sed`  or another line processing command, it will process input every `end-of-line`, which is the default character for flushing the i/o stream buffer. " CreationDate="2011-04-07T19:25:39.943" UserId="5666" />
  <row Id="14283" PostId="9727" Text="Any known issues with Chrome? do you happen to know if it works with AwesomeWM?" CreationDate="2011-04-07T19:25:59.877" UserId="6381" />
  <row Id="14284" PostId="10841" Text="Ok you should have snd_hda* modules loaded. There are my list&#xA;[t0@larch ~]$ lsmod | grep snd | awk -F' ' '{print $1}'&#xA;snd_usb_audio&#xA;snd_usbmidi_lib&#xA;snd_rawmidi&#xA;snd_seq_dummy&#xA;snd_seq_oss&#xA;snd_seq_midi_event&#xA;snd_seq&#xA;snd_seq_device&#xA;snd_pcm_oss&#xA;snd_mixer_oss&#xA;snd_hda_codec_hdmi&#xA;snd_hda_codec_via&#xA;snd_hda_intel&#xA;snd_hda_codec&#xA;snd_hwdep&#xA;snd_pcm&#xA;snd_timer&#xA;snd&#xA;soundcore&#xA;snd_page_alloc&#xA;usbcore&#xA;try to load that modules by modprobe" CreationDate="2011-04-07T19:26:47.680" UserId="6318" />
  <row Id="14285" PostId="10837" Text="Thanks, guys! Another useful tool to add to my belt! :-)" CreationDate="2011-04-07T19:35:11.137" UserId="6208" />
  <row Id="14286" PostId="10822" Text="that's when -c is omitted" CreationDate="2011-04-07T19:38:04.390" UserId="5666" />
  <row Id="14287" PostId="128" Text="@googletorp I notice you didn't accept an answer... one requirement to stay out of the various xdm lists is having a significantly low userid. on many systems `useradd` starts adding id's at 1000, and the login managers won't show user id's below that, but everything above. so though it's not an answer to this question, it might be the resolution to the problem. please note that 1000 is arbitrary and may be lower or higher on your distribution. To fix just modify the user entry in `/etc/passwd` to have a lower uid. *Now for me to go ask similar question.*" CreationDate="2011-04-07T19:53:31.017" UserId="29" />
  <row Id="14288" PostId="10822" Text="The directory is still missing (with -c switch). The directory has spaced in the name." CreationDate="2011-04-07T19:54:37.893" UserId="6215" />
  <row Id="14289" PostId="10831" Text="I assume that your desktop is running Linux (the most common unix variant). Network setup differ too much for a variant-agnostic question to make sense." CreationDate="2011-04-07T19:55:13.170" UserId="885" />
  <row Id="14290" PostId="10827" Score="2" Text="Note that this will not work in `csh` or `zsh` because they do not allow comments in the interactive shell. In `zsh` you need to activate the proper option: `setopt interactive_comments`." CreationDate="2011-04-07T19:56:48.823" UserId="5632" />
  <row Id="14291" PostId="10780" Score="1" Text="@xralf: Then use only the second form of `du` call." CreationDate="2011-04-07T19:59:00.547" UserId="885" />
  <row Id="14292" PostId="10344" Text="It doesn't work :(&#xA;" CreationDate="2011-04-07T20:01:10.803" UserId="6050" />
  <row Id="14293" PostId="10849" Text="+1. Would I be correct in summarizing these instructions as configuring the desktop as a router? An alternative to the OP would be to buy a router and hook both machines up to that." CreationDate="2011-04-07T20:03:51.940" UserId="4671" />
  <row Id="14294" PostId="10847" Text="Very nice alternative. I'm vi-emacs-agnostic, so I'll be happy as a clam using this when powertools are really needed. (Speaking of vi, I tried the N64 linux emulator Mupen64Plus a while ago. Esc quits the emulator without saving. I soon gave up playing anything.)" CreationDate="2011-04-07T20:04:50.317" UserId="6339" />
  <row Id="14295" PostId="10849" Text="@Faheem: “On the router (the desktop) …” Strictly speaking, `net.ipv4.ip_forward=1` and having two interfaces makes the desktop a router; the iptables command makes it a NAT appliance." CreationDate="2011-04-07T20:09:26.517" UserId="885" />
  <row Id="14296" PostId="10822" Text="Again, I'm not sure what you mean. -c provides the total sum, in effect the current directory size. Which directory are you referring to?" CreationDate="2011-04-07T20:13:02.490" UserId="5666" />
  <row Id="14297" PostId="10847" Score="1" Text="@lazyr, for debian/ubuntu run `sudo update-alternatives --config editor` and choose your favorite editor. For other systems set the EDITOR or VISUAL environment variables to your favorite editor, e.g. add `export EDITOR=/usr/bin/nano` in your .bashrc." CreationDate="2011-04-07T20:17:45.930" UserId="5666" />
  <row Id="14298" PostId="10817" Text="There's no reason `lsmod | grep audio` should return anything (most sound-related drivers have `snd` or just a technology or chip designation in their name). If you try to play a sound, do you get any error message (try from the command line to be sure to see any message) or just no sound? If there's no error message, start a mixer and make sure all relevant volume controls are not muted." CreationDate="2011-04-07T20:19:23.533" UserId="885" />
  <row Id="14299" PostId="10849" Text="@Gilles: I was not aware there was a precise definition of a router, and have not heard of a NAT appliance previously. Can you provide definitions or references? Thanks." CreationDate="2011-04-07T20:19:25.047" UserId="4671" />
  <row Id="14300" PostId="10611" Text="I should have been more clear: the '5' in my example above should actually be 5 followed by non-digit characters. Bare '5' does after '0A'. But it also sorts '5' after '05c', and '01' after '0A'. And yes, the sort is in the correct (ascending) direction." CreationDate="2011-04-07T20:21:39.707" UserId="2333" />
  <row Id="14301" PostId="10849" Text="@Faheem: 20 years ago, there were sharp differences, because network equipment tended to be expensive and differentiated. Nowadays the difference between a $50 appliance and a $500 appliance is not features but size (bandwidth, number of simultaneous connections, …). So the terminology has become quite blurred, and “router” is an acceptable generic term for many things. “NAT appliance” isn't established terminology. I suggest Wikipedia for generally accepted terminology." CreationDate="2011-04-07T20:26:19.520" UserId="885" />
  <row Id="14302" PostId="10853" Score="2" Text="seems like perhaps `false` is more for system accounts that have no real user, and `nologin` is for disabled accounts." CreationDate="2011-04-07T20:26:54.483" UserId="29" />
  <row Id="14303" PostId="10820" Text="@Kumar, added a small guide for downgrading debian releases." CreationDate="2011-04-07T20:36:28.263" UserId="5666" />
  <row Id="14304" PostId="10039" Text="This works. I will warn any who find this though, Be sure to disable `exec bash` when you're loggin out because it will prevent you from logging in at all - good thing I have some root access to fix these issues :)" CreationDate="2011-04-07T20:38:10.383" UserId="4176" />
  <row Id="14305" PostId="10818" Text="Please edit your original question to make that clear." CreationDate="2011-04-07T20:45:52.840" UserId="2594" />
  <row Id="14306" PostId="10858" Text="Well the user who's connected on hvc0 is me... But I don't even know how I managed to connect there. lol" CreationDate="2011-04-07T20:51:17.807" UserId="6384" />
  <row Id="14307" PostId="10864" Score="1" Text="Doesn't work for me, the second command meant to remove the # just adds more #'s to the front." CreationDate="2011-04-07T21:14:55.230" UserId="6339" />
  <row Id="14308" PostId="128" Text="@xenoterracide: When I recreated the user, I gave it the old ID, it was the pgsql user I deleted which has an id of one higher than the mysql one, so I'm sure it didn't have any impact in this case, but thanks for the info anyways." CreationDate="2011-04-07T21:16:56.047" UserId="106" />
  <row Id="14309" PostId="10834" Text="This is often called “tailing”, from [`tail -f`](http://unix.stackexchange.com/questions/10834/reading-from-a-continuously-changing-logfile/10837#10837). See [tag:tail] for other related questions, where you'll find fancier programs that can filter and color log lines." CreationDate="2011-04-07T21:17:43.113" UserId="885" />
  <row Id="14310" PostId="9165" Text="SELinux can do brilliant stuff, even on a single user machine, like sandboxing applications." CreationDate="2011-04-07T21:18:10.690" UserId="272" />
  <row Id="14311" PostId="10863" Score="1" Text="Testing this, I conclude that Ctrl+U does not move back and cut forward, but rather cuts backwards. Having cursor in the middle of the command leaves whatever is behind it on the command line. Still a 33% improvement over @alex's solution though, since it saves a keystroke." CreationDate="2011-04-07T21:18:42.233" UserId="6339" />
  <row Id="14312" PostId="10864" Score="1" Text="Does the first one work?  What version of bash are you using?" CreationDate="2011-04-07T21:19:32.273" UserId="3169" />
  <row Id="14313" PostId="10863" Score="1" Text="@lazyr Oh, quite right; on `zsh` it does cut the entire line, but on `bash` it cuts backwards. I never noticed that difference before" CreationDate="2011-04-07T21:20:48.957" UserId="73" />
  <row Id="14314" PostId="10864" Score="3" Text="Alt+# works as you describe in your third paragraph, but not as in your fourth, it simply prepends another # to the front and accepts the line. I use bash 4.1.5(1)-release on Ubuntu 10.10." CreationDate="2011-04-07T21:24:47.640" UserId="6339" />
  <row Id="14315" PostId="10718" Text="I've not found live-cd for s390x, only stage3 tarball." CreationDate="2011-04-07T21:27:35.013" UserId="3886" />
  <row Id="14316" PostId="10864" Score="1" Text="Oh dear, in bash it requires a numeric argument, e.g. `Esc+1` then `Alt`+`#` to toggle." CreationDate="2011-04-07T21:30:13.857" UserId="3169" />
  <row Id="14317" PostId="10813" Text="What distribution is that, and what networking-related settings did you tune?" CreationDate="2011-04-07T21:35:34.120" UserId="885" />
  <row Id="14318" PostId="10864" Text="That works, but is a lot more cumbersome than just Ctrl+A Del Ctrl+E, especially on my keyboard layout where Alt+# is in fact Alt+Shift+3." CreationDate="2011-04-07T21:39:13.213" UserId="6339" />
  <row Id="14319" PostId="10866" Text="@mikel yeah, that's probably part of the ftp program using pam, and pam using pam_shells which as you said, checks `/etc/shells`. Just a guess... I could be wrong." CreationDate="2011-04-07T21:43:49.053" UserId="29" />
  <row Id="14320" PostId="10864" Text="Definitely.  There might be a solution to bind `Alt`+`#` to `numeric-argument` `insert-comment`, so you don't also have to type `Alt`+&lt;number or minus&gt; first." CreationDate="2011-04-07T21:45:27.517" UserId="3169" />
  <row Id="14321" PostId="10865" Text="@gilles I'm just gonna remove the restrictions part, 'cause it's not that relevant to the actual problem, now that I think about it... which makes all your kiosk part of the answer unnecessary." CreationDate="2011-04-07T21:48:43.023" UserId="29" />
  <row Id="14323" PostId="9727" Score="1" Text="@Justin:  No major issues while I've been using it. I don't know if it works with AwesomeWM... I use cwm, and it works fine there.  " CreationDate="2011-04-07T22:20:46.610" UserId="298" />
  <row Id="14324" PostId="10871" Text="Perfect, exactly what I was looking for! Thanks! And good point about logging the failed attempts in the script. Actually, I should set it up to e-mail me any errors, as I pretty much &quot;set-and-forget&quot; this server until I accidentally notice something's up (when the hard drive failed, I didn't notice for over a day, and as a result the most recent daily snapshot got corrupted all to hell!)." CreationDate="2011-04-07T22:29:10.253" UserId="6208" />
  <row Id="14325" PostId="10824" Score="1" Text="`read -N` stops at null bytes, so this is not a suitable way to work with binary data. In general, shells other than zsh can't cope with nulls." CreationDate="2011-04-07T22:30:45.217" UserId="885" />
  <row Id="14326" PostId="10804" Text="+1 shell scripts are not always appropriate" CreationDate="2011-04-07T22:40:53.613" UserId="5666" />
  <row Id="14327" PostId="3365" Text="`!!$` can be written `!$` too." CreationDate="2011-04-07T23:07:25.230" UserId="3169" />
  <row Id="14328" PostId="3061" Score="1" Text="In bash, ```&quot;\!&quot;``` actually expands to ```\!```, not ```!```, supposedly for POSIX compliance." CreationDate="2011-04-07T23:09:05.590" UserId="3169" />
  <row Id="14329" PostId="10869" Score="5" Text="If you're in screen, just open another window with `Ctrl+A c`." CreationDate="2011-04-07T23:12:41.390" UserId="885" />
  <row Id="14330" PostId="10813" Text="@Gilles Looks like Debian-based, probably Ubuntu.  Still, should not be a reason for it to not boot, maybe just take longer." CreationDate="2011-04-07T23:19:33.720" UserId="6167" />
  <row Id="14331" PostId="10809" Text="L33t!  I've always hated the Emacs-like shortcuts in bash, but if I can make them conform to more Vim-like...  Yes for my system I used this: `&quot;\e[1;5C&quot;: forward-word` and `&quot;\e[1;5D&quot;: backward-word`" CreationDate="2011-04-07T23:23:56.807" UserId="6167" />
  <row Id="14332" PostId="10809" Text="@ripper234 All the standard short cuts are based on Emacs, and Emacs picked them because they were cross-platform.  Arrow keys have not always been available, and when they were, they didn't always agree on what sequence to send, especially when modified by Ctrl.  Alt on the other hand, just puts an Esc character in from of the key.  While Alt hasn't always been available, Esc has been present since the VT-52 in the 1960s." CreationDate="2011-04-07T23:27:16.817" UserId="6167" />
  <row Id="14333" PostId="10809" Text="If you think Linux is non-intuitive to begin with, try a default install of FreeBSD or even Solaris.  Having bash as your starting shell is a dream.  Also, since keyboards didn't always have Arrow keys, Emacs, and hence bash support shortcuts for that too.  Try using Ctrl-b and Ctrl-f for a while." CreationDate="2011-04-07T23:31:32.947" UserId="6167" />
  <row Id="14334" PostId="10809" Score="1" Text="The beauty of UNIX/Linux systems is it's easy to move around settings.  Once you get your favorite programs configured the way you like them, just copy it around.  I'm actually using version control for my home directory files like .inputrc, .bashrc, .vimrc, and so on.  I use mercurial to clone and keep all my home directory settings up to date between computers.  I'm also planning at some point to publish my repo so others can share it all my hard work." CreationDate="2011-04-07T23:37:04.080" UserId="6167" />
  <row Id="14335" PostId="10872" Text="tried it, I can't `su -` to guest, which means guest can't log in, which is not what I'm trying to accomplish." CreationDate="2011-04-08T00:43:21.293" UserId="29" />
  <row Id="14336" PostId="10872" Text="Please do more testing or ask for help before voting a perfectly good answer down.  Yes, `su - guest` will fail when run from an X Terminal or a remote shell session.  That's because in some file like `/etc/pam.d/common-auth` there is an argument to `pam_unix.so` called `nullok_secure`  That means a null or password-less login is ok **only** as long as it's on a _secure_ terminal.  Some random X Terminal or remote shell is not considered secure, but your trusty X/Gnome/KDE Display Manager is considered trusted as well as a local Text Console.  Please try to login via one of those and be happy." CreationDate="2011-04-08T03:07:56.510" UserId="6167" />
  <row Id="14337" PostId="10872" Text="You can change `nullok_secure` to `nullok` if you really want to always allow guest to login through any old terminal using `su - guest` or similar, but I recommend against it.  It sounds like you really only need guest to login via the nice little Graphical Login screen on your desktop.  I tested my exact solution and it did work on a relatively stock and freshly installed Ubuntu 10.10.  Yes, `su - guest` did fail when I did it from an X Terminal, but worked from a Text Console." CreationDate="2011-04-08T03:10:51.873" UserId="6167" />
  <row Id="14338" PostId="10778" Text="@Faheem 5% is default for mke2fs.  *BSD used 8% as the default for their UFS1/2 filesystem.  The BSD people claim that's partly so the filesystem driver can make good decisions about layout out data when the file system gets full and avoiding fragmentation.  Running a filesystem more than 90% full can severely fragment and degrade performance." CreationDate="2011-04-08T03:22:04.827" UserId="6167" />
  <row Id="14339" PostId="10872" Text="@xeno The official docs on Down Voting: _&quot;What are the alternatives to downvoting?&#xA;The upvote privilege comes first because that's what you should focus on: pushing great content to the top. Downvoting should be reserved for extreme cases. It's not meant as a substitute for communication and editing.&quot;_" CreationDate="2011-04-08T03:25:18.587" UserId="6167" />
  <row Id="14340" PostId="3061" Text="@Mikel Sigh. So many differences between zsh and bash" CreationDate="2011-04-08T03:55:25.387" UserId="73" />
  <row Id="14341" PostId="10817" Text="@Gilles, thanks for pointing, I knew it but just to eliminate any possibility of a string with `audio` I did `grep audio`, you can notice the second one is `snd` and third one is `sound`, I am frustrated :-(" CreationDate="2011-04-08T04:01:13.483" UserId="5430" />
  <row Id="14342" PostId="10821" Score="1" Text="Sounds like it's DHCP lease is expiring.  Not sure why, but try running `sudo /sbin/ifdown -a &amp;&amp; sudo /sbin/ifup -a` or `sudo /sbin/dhclient` when the problem happens.  This means you won't be able to run headless for the test." CreationDate="2011-04-08T04:01:24.700" UserId="6167" />
  <row Id="14343" PostId="10820" Text="+1 for the guide, thanks a ton. But it didn't fix anything for me, `0 upgraded, 0 newly installed, 0 to remove` :(" CreationDate="2011-04-08T04:08:31.697" UserId="5430" />
  <row Id="14344" PostId="10885" Text="@penguin359 Yeah, you are right about profiling and this will also not be accepted by our teachers. So I think to leave this idea and do profiling on other kernel portions. So if you have any info about memory management, process scheduling etc then please let me know..." CreationDate="2011-04-08T04:35:51.947" UserId="5861" />
  <row Id="14345" PostId="10884" Score="2" Text="Thanks very much for the clear explanation. I don't mind using the CLI, I just need to be a little more careful when using wildcards. :)" CreationDate="2011-04-08T04:42:37.653" UserId="5770" />
  <row Id="14346" PostId="10884" Text="Well, there is a Trash can for `rm` if you use [libtrash](http://freshmeat.net/projects/libtrash/)." CreationDate="2011-04-08T04:45:26.357" UserId="2421" />
  <row Id="14347" PostId="10884" Score="6" Text="I'd be cautious with using something like `libtrash` to change the behavior of rm.  Lots of scripts use `rm` to clean up files and you don't want those showing up in Trash.  I recommend using a dedicated command like `trash` from the `trash-cli` package.  @pedro I should add that I once created a file * in my home directory.  I had accidentally quoted * when I shouldn't creating it so I decided to remove it with with rm * natually.  When I realized what I did I quickly killed the command, but it had already deleted a number of files in my home directory." CreationDate="2011-04-08T05:13:05.187" UserId="6167" />
  <row Id="14348" PostId="1726" Score="2" Text="Is &quot;Windows&quot; a good alternative to Wine? Is there a stable release yet?" CreationDate="2011-04-08T05:22:25.170" UserId="2305" />
  <row Id="14349" PostId="10888" Text="Awesome, thanks, that totally helps." CreationDate="2011-04-08T05:58:57.840" UserId="5614" />
  <row Id="14350" PostId="10863" Score="2" Text="Oh, I didn't know Ctrl+U also puts text to kill buffer.  Nice to know! :)" CreationDate="2011-04-08T06:10:42.453" UserId="1946" />
  <row Id="14351" PostId="10821" Text="@Faheem: No, that’s a really good idea. The problem mysteriously stopped happening yesterday (just as mysteriously as it started), but I’ll be keeping an eye on it. I think it might be something to do with the fact that, on my host MacBook, I switched between a normal wifi internet connection and a wifi-tethered iPhone connection whilst working on the VM — I reckon this might have confused it." CreationDate="2011-04-08T06:52:31.173" UserId="5646" />
  <row Id="14352" PostId="10842" Text="Oh, sorry, you are right. I've never faced this problem with files. Howewer, I've found how to make it work with files: using --all swicth." CreationDate="2011-04-08T06:57:07.543" UserId="4523" />
  <row Id="14353" PostId="10884" Score="2" Text="It is very rare to have a something like a trash can in the shell, so if you add it on you local machine and get used to it or even depend on it in your daily work. You can get in trouble when using some of the other 99% of the unix:s without one... " CreationDate="2011-04-08T07:04:43.887" UserId="2567" />
  <row Id="14354" PostId="10760" Text="Thank you once again, I will dig deeper :-)" CreationDate="2011-04-08T07:09:31.153" UserId="5884" />
  <row Id="14355" PostId="10776" Text="OK, I believe you, I don't have possibility to backup. It would be a long process and I would certainly forget to backup something, so I will give up the 20 GB of space and wait until I will reinstall the system." CreationDate="2011-04-08T07:24:14.520" UserId="6215" />
  <row Id="14356" PostId="10780" Text="Looks good, but better result is with MB and GB as forcefsck posted." CreationDate="2011-04-08T07:34:35.503" UserId="6215" />
  <row Id="14357" PostId="10868" Text="you have metioned about an script, what scripting language is it ? please suggest." CreationDate="2011-04-08T07:36:30.260" UserId="6363" />
  <row Id="14358" PostId="10822" Text="Your script does not output `this\ nice\ directory` which has 12 GB and should be the second bigest." CreationDate="2011-04-08T07:37:56.687" UserId="6215" />
  <row Id="14359" PostId="10811" Text="I'm sorry, I'm not in the stage of shell scripting I could understand it yet, so I let it to other users to decide how good answer it is. Thank you for your work. I will study it when I'm better." CreationDate="2011-04-08T07:43:27.973" UserId="6215" />
  <row Id="14360" PostId="10842" Text="Great correct solution. penguin359 has slightly better because it shows the sizes in MB. The best would be forcefsck's solution but his solution omits directories with spaces." CreationDate="2011-04-08T07:51:23.830" UserId="6215" />
  <row Id="14361" PostId="10884" Score="2" Text="I think the take-home message here is that I need to stop CLI'ing in the wee hours and pay better attention." CreationDate="2011-04-08T08:06:56.440" UserId="5770" />
  <row Id="14362" PostId="10884" Score="2" Text="Along the same lines as what @Johan said, RedHat used to (still does?) set aliases for commands like `cp`, and `mv`, to `cp -i` and `mv -i` when running as root.  This changes the default behavior so those commands will always ask before overwriting existing files.  Some sysadmins recommended to specifically remove those aliases so you don't end up expecting that behavior which may end up being lethal when on another system that follow default behavior." CreationDate="2011-04-08T08:13:39.507" UserId="6167" />
  <row Id="14363" PostId="10822" Text="I'm pretty sure that spaces in filenames are not a problem. But you asked to not include subdirectories. Perhaps @rvs' answer is closer to want you need." CreationDate="2011-04-08T08:14:36.367" UserId="5666" />
  <row Id="14364" PostId="1726" Text="@nicolas, you sir, should do comedy" CreationDate="2011-04-08T08:17:00.110" UserId="1327" />
  <row Id="14365" PostId="10884" Score="2" Text="Which brings up another thought.  I've been used to the behavior of not having a Trash/Recycle Bin for many years now and therefore, I don't have any tendencies to rely on one.  If I have any concerns about having to retrieve a file, I will make a copy or move the files out of the way first.  And maybe, once or twice a year, I might have to retrieve the file from my backups." CreationDate="2011-04-08T08:17:43.090" UserId="6167" />
  <row Id="14366" PostId="10889" Score="3" Text="It also requires the right cipher.  Only SSL/TLS ciphers using RSA key exchange can be decrypted, not those using diffie-hellman." CreationDate="2011-04-08T08:24:51.977" UserId="6167" />
  <row Id="14367" PostId="10806" Text="@Gilles - I thought that I asked something similar before, yes, sorry. Closed the original as a dup (because it belongs more here than at Super User)." CreationDate="2011-04-08T08:32:32.693" UserId="1594" />
  <row Id="14368" PostId="10846" Score="1" Text="@mydog in addition, don't forget these desktops don't neccessarily just run on Linux.  FreeBSD/OpenBSD/NetBSD and probably some other Unices can use them.  Solaris has been moving to using a Gnome-based desktop instead of their OpenWindows.  There's also a port of KDE to Windows." CreationDate="2011-04-08T08:32:48.257" UserId="6167" />
  <row Id="14369" PostId="10846" Text="That's a good point." CreationDate="2011-04-08T08:42:56.213" UserId="6377" />
  <row Id="14370" PostId="10778" Text="@penguin: Ok. Thanks for the information." CreationDate="2011-04-08T09:20:46.080" UserId="4671" />
  <row Id="14371" PostId="10884" Text="As I've said elsewhere, use distributed version control for everything you can. Of course it is not practical to do this for everything, but you can at least do it for text files." CreationDate="2011-04-08T09:32:22.887" UserId="4671" />
  <row Id="14372" PostId="10813" Text="Not Ubuntu, nor Debian. It is a customized busybox." CreationDate="2011-04-08T09:39:09.450" UserId="6001" />
  <row Id="14373" PostId="10886" Text="This one doesn't do peer detection, but it may be of interest regardless - http://mrsync.sourceforge.net/." CreationDate="2011-04-08T09:44:35.433" UserId="4671" />
  <row Id="14374" PostId="10893" Score="2" Text="Are you ever going to accept an answer on this one?" CreationDate="2009-11-17T23:49:23.820" />
  <row Id="14375" PostId="10893" Score="1" Text="@HeathHunnicutt: I think that would be a resounding **NO**" CreationDate="2011-03-06T15:13:20.123" UserId="5481" />
  <row Id="14376" PostId="10894" Score="4" Text="But &quot;creat&quot; does have an e in it." CreationDate="2009-11-11T17:10:44.460" />
  <row Id="14377" PostId="10894" Score="4" Text="It should have two.  ;)" CreationDate="2009-11-11T17:36:41.677" />
  <row Id="14378" PostId="10895" Score="7" Text="I think in the context of the question he was only referring to creat(). The point he was making was there was nothing about Unix he would have done differently except for this small spelling error in the system call to create a file." CreationDate="2009-11-11T08:04:42.400" />
  <row Id="14379" PostId="10897" Text="Clearly not a programming question." CreationDate="2011-04-07T12:03:37.440" />
  <row Id="14380" PostId="10897" Text="yep, i realize now. sorry for this. can you point me to a place where to ask this question? thanks!" CreationDate="2011-04-07T12:15:32.567" />
  <row Id="14381" PostId="10725" Text="@Shadur, that was very clear!" CreationDate="2011-04-08T10:08:55.087" UserId="6330" />
  <row Id="14382" PostId="10724" Text="While you answer was correct, Shadur provided an answer that was clear for all levels of readers so I feel it's the best for people looking for an answer for this question." CreationDate="2011-04-08T10:10:22.043" UserId="6330" />
  <row Id="14383" PostId="10821" Text="@penguin359: sure, I’ll give that a go." CreationDate="2011-04-08T11:10:08.463" UserId="5646" />
  <row Id="14384" PostId="10872" Text="@penguin359, I also tried it in kdm, and kdm didn't like it either. Yes I'm aware that a lot of this might be pam. You might not be aware of this but not everyone uses Ubuntu, and I really hate people that assume someone is using Ubuntu on Unix SE. If my question were about or even on Ubuntu, I would ask on AU. Also per official docs, I'd love to see a link to that. Downvoting is good for answers that aren't good or aren't entirely accurate. So though your answer might work on Ubuntu, it doesn't work in other places. I can change my vote later. I'll play with this tonight after sleep and doc." CreationDate="2011-04-08T12:04:12.197" UserId="29" />
  <row Id="14386" PostId="10883" Score="3" Text="@pedrogent here's a [possible duplicate. undo on linux](http://unix.stackexchange.com/q/996/29). But I'm not really sure it is as where do files go is quite different from is there a way to undo." CreationDate="2011-04-08T12:47:31.567" UserId="29" />
  <row Id="14387" PostId="10193" Text="yes, that makes sense to me -- for the record, i only encounter the error sometimes. not all the time." CreationDate="2011-04-08T12:48:06.860" UserId="1389" />
  <row Id="14388" PostId="10187" Text="@Gilles usually when this happens i just delete the file and start over. but who should i notify when this pops up again?" CreationDate="2011-04-08T12:48:39.947" UserId="1389" />
  <row Id="14389" PostId="10874" Text="@penguin359 worth noting that `/bin/true` and `/bin/false` are not always what you will get in a shell script. In `zsh` `true` and `false` are built-ins, where `bash` uses the `/bin/*` versions" CreationDate="2011-04-08T13:04:40.080" UserId="29" />
  <row Id="14390" PostId="10146" Text="Cool; is it possible to do this in-place?" CreationDate="2011-04-08T13:46:11.683" UserId="3645" />
  <row Id="14391" PostId="10827" Score="1" Text="@Sam Yes, but &quot;: command&quot; has the same effect (&quot;:&quot; = the null command)" CreationDate="2011-04-08T14:09:49.127" UserId="2267" />
  <row Id="14392" PostId="10859" Text="that'll work. For some reason I doesn't feel like bash would make us do a for loop as the simplest and quickest way, but whatever it works!&#xA;&#xA;Thanks a lot!" CreationDate="2011-04-08T15:20:14.467" UserId="4176" />
  <row Id="14393" PostId="10549" Text="Does /etc/nsswitch.conf have &quot;hosts:          files dns&quot; in it?" CreationDate="2011-04-08T15:45:41.560" UserId="4776" />
  <row Id="14394" PostId="10827" Score="2" Text="@barrycarter: no, `:` should be considered harmful for this purpose and never, ever be suggested. It will execute everything after a semicolon, inside backticks etc. with all the associated side effects." CreationDate="2011-04-08T16:35:50.570" UserId="5632" />
  <row Id="14395" PostId="10910" Text="Related: [How to install Python newt or snack in Mac OS X for byobu](http://superuser.com/questions/220386/how-to-install-python-newt-or-snack-in-mac-os-x-for-byobu)" CreationDate="2011-04-08T17:45:41.770" UserId="3649" />
  <row Id="14396" PostId="10911" Text="+1 for multiple options. Both work well. Thank you." CreationDate="2011-04-08T17:45:48.443" UserId="6406" />
  <row Id="14397" PostId="10913" Text="When you said simple, I was about to mention Tracker, but since you knock it, I am going to have to ask what's missing in it?" CreationDate="2011-04-08T17:50:20.313" UserId="688" />
  <row Id="14398" PostId="10849" Text="This worked flawlessly! The only change I made was mimicking desktop's resolv.conf on my laptop. I have some reading to do with iptables :) If you know off the top of your head, could the same be accomplished using the iproute2 utilities WITHOUT iptables? Thanks again for the help" CreationDate="2011-04-08T17:53:34.193" UserId="3170" />
  <row Id="14399" PostId="8513" Text="(deleted my comment as it no longer applied after your edit:)" CreationDate="2011-04-08T17:53:41.370" UserId="3154" />
  <row Id="14400" PostId="10913" Text="Did you try the command line tool `locate`? The only downside is having to run `updatedb` quite often to keep it up to date. But that can be worked around using `cron`." CreationDate="2011-04-08T18:11:33.613" UserId="3482" />
  <row Id="14401" PostId="10915" Text="On answers like that I wish for huge repository or finally uniform package format, as openSUSE user I can say repo here is tiny. Thank you for the answer, I will wait a bit for other suggestions." CreationDate="2011-04-08T18:43:19.043" UserId="5884" />
  <row Id="14402" PostId="10849" Text="@kisplit: Right, you'd have to do that if you were using DHCP before and aren't using it now. I don't think you can set up nat without iptables, is there any particular reason you'd want to?" CreationDate="2011-04-08T19:13:18.407" UserId="885" />
  <row Id="14403" PostId="10146" Text="@l0b0: `awk '…' vlcrc &gt;vlcrc.new &amp;&amp; mv vlcrc.new vlcrc`. Or `awk '…' vlcrc | sponge vlcrc`. Or switch to Perl (`perl -i -pe '…'`)." CreationDate="2011-04-08T19:15:47.500" UserId="885" />
  <row Id="14404" PostId="10187" Text="@ixtmixilix: Send relevant data to [the bug report](https://bugzilla.gnome.org/show_bug.cgi?id=127731) [cited by lesmana](http://unix.stackexchange.com/questions/10187/what-is-it-that-clobbers-my-letters-together-in-gedit/10193#10193), if you have new information that isn't covered already." CreationDate="2011-04-08T19:17:41.680" UserId="885" />
  <row Id="14405" PostId="10868" Text="@user6363 It's a shell script, most of it (the part between `'…'`) being obviously an awk script." CreationDate="2011-04-08T19:19:17.450" UserId="885" />
  <row Id="14406" PostId="10913" Text="@yasouser, you are not serious that **weekend** user will run locate." CreationDate="2011-04-08T19:30:48.537" UserId="5884" />
  <row Id="14407" PostId="10911" Score="1" Text="A better way of doing the first method is to localize the directory change in a subshell: `(cd /var/www/html &amp;&amp; php ./createview_customer.php)`." CreationDate="2011-04-08T19:33:31.423" UserId="885" />
  <row Id="14408" PostId="10913" Text="@Tshepang, when I run myself Tracker I was a bit lost, because UI is so obscure (no text under icons, no options for that, icons misaligned, and so on), it would be fine (**maybe**) for weekend-user. However I didn't manage to run any query, because no matter what I enter I got 0 hits. There is no way to configure it (&quot;options&quot; shows statistics, not options), so I gave up." CreationDate="2011-04-08T19:33:34.043" UserId="5884" />
  <row Id="14409" PostId="3438" Text="[“What jobs are out there?” — are career questions on-topic?](http://meta.unix.stackexchange.com/questions/225/what-jobs-are-out-there-are-career-questions-on-topic)" CreationDate="2011-04-08T19:44:01.230" UserId="885" />
  <row Id="14412" PostId="10918" Score="1" Text="You seem to be confusion a distribution (a collection of software, e.g. Ubuntu, Debian, Fedora, SuSE, etc) and a desktop environment (the GUI: window management, panels, etc). Your requirements are also somewhat fuzzy. In particular, what do you mean by “middle-click has to work”? You seem to have a specific idea of what middle-click should do, and it's different from the unix standard behavior (middle-click should paste), but you don't say what it is." CreationDate="2011-04-08T19:51:18.467" UserId="885" />
  <row Id="14413" PostId="10920" Text="Okay, so I'll just have to pick one, and then try to customize it. I have looked up information on all your suggestions on their respective websites before, but I guess customization is hard to advertise." CreationDate="2011-04-08T19:53:24.830" UserId="6411" />
  <row Id="14414" PostId="10911" Text="Yes, I thought of that, but since I didn't know the context I chose not to run it in a subshell." CreationDate="2011-04-08T19:55:37.773" UserId="5666" />
  <row Id="14415" PostId="10923" Text="The value of `HISTFILE` is only checked when bash exits, so the first method doesn't work as is (if you restore the value, the command will be saved). `set +o history` does work as directed." CreationDate="2011-04-08T20:10:17.520" UserId="885" />
  <row Id="14416" PostId="10876" Text="possible duplicate of [Rsync filter: copying one pattern only](http://unix.stackexchange.com/questions/2161/rsync-filter-copying-one-pattern-only)" CreationDate="2011-04-08T20:14:43.073" UserId="885" />
  <row Id="14417" PostId="10913" Text="@macias: am curious which version you used?" CreationDate="2011-04-08T20:18:47.157" UserId="688" />
  <row Id="14418" PostId="10926" Text="What operating system(s) are you using? What network filesystems (NFS, AFS, …), if any? Are access control lists (ACLs) available? Are you willing to change your work habits a little (e.g. use `chgrp` more and `newgrp` less) if it turns out to be possible?" CreationDate="2011-04-08T20:29:53.907" UserId="885" />
  <row Id="14419" PostId="10918" Text="@Gilles: Well, middle clicking should make automatic/fast scrolling. Sometimes I need to get a very quick overview of a big folder or website, and that's what the middle click is for." CreationDate="2011-04-08T20:32:44.123" UserId="6411" />
  <row Id="14420" PostId="10918" Text="@Blub: This isn't really worth pursuing, but for your information, I still don't understand what you expect the middle click to do. Maybe make the wheel scroll by a larger amount when the wheel button is depressed? That would be a feature of the application, not of the window manager/desktop environment (well, you could emulate it with a programmable window manager)." CreationDate="2011-04-08T20:37:23.793" UserId="885" />
  <row Id="14421" PostId="10926" Text="CentOS 5.4. Our project is stored locally on the server. We are using Python with custom modules and hence why we want the Python in our `bin` ran before the system's. And yes, we are willing to change work habits." CreationDate="2011-04-08T20:38:14.723" UserId="6413" />
  <row Id="14422" PostId="10918" Text="Hm, I haven't thought about it this way, I always assumed that it's built into windows itself, so it had to be a missing feature in linux. Sorry about that, I have never used Linux before today." CreationDate="2011-04-08T20:41:27.270" UserId="6411" />
  <row Id="14423" PostId="10914" Text="It's slightly more complicated e.g. by ext3 zeroing out the block pointers in the inode, but yes, looking for the files directly might work - if they're small enough or allocated in a contiguous block. This is sometimes called **file carving** and there are tools like `magicrescue` that try to find images or sounds by their distinctive patterns." CreationDate="2011-04-08T20:48:09.347" UserId="5477" />
  <row Id="14425" PostId="10931" Text="yes, i need to spin them up manually. hdparm -z does not spin them up." CreationDate="2011-04-08T21:25:58.080" UserId="6416" />
  <row Id="14426" PostId="10344" Text="Another detail. I think a monitor is not configured properly because I cannot set frequency." CreationDate="2011-04-08T21:44:24.537" UserId="6050" />
  <row Id="14427" PostId="10872" Text="@xeno I absolutely did not assume you used Ubuntu, I did absolutely assume you use Linux and hence use PAM for authentication.  That why I phrased it like _&quot;in some file like&quot; and not _&quot;the file&quot;_ because the file might be a different name that has the pam_unix.so module.  I have used Fedora, Debian, Gentoo, Ubuntu, and other distros, they all name the file differently, but they all use pam_unix.so and have the same nullok/nullok_secure options.  Maybe your problem is that you don't even have nullok set for pam_unix.so.  My answer does work on other distros, but you need to RTFM and understand" CreationDate="2011-04-08T21:56:14.370" UserId="6167" />
  <row Id="14428" PostId="10872" Text="Regardless, the docs on Vote Down clearly state that this is not a case for Vote Down which is _&quot;reserved for extreme cases.&quot;_  You are just not attempting to _communicate_ when something doesn't work." CreationDate="2011-04-08T21:57:26.493" UserId="6167" />
  <row Id="14429" PostId="10872" Text="After re-reading my original answer, there was nothing Ubuntu specific in it.  It applies equally to Fedora, RHL, Gentoo, and Debian as well.  Some more obscure distro might place the sshd_config file elsewhere, but I'd expect you to be able to find it or ask for help.  A quick `locate sshd_config` should locate it.  My first comment assumed nullok_secure was enabled by default which might be Ubuntu specific, but hopefully that would encourage one to look at their PAM config and read the man page for pam_unix or at least ask a question.  A quick `grep -r pam_unix /etc/pam.*` should help." CreationDate="2011-04-08T22:15:26.243" UserId="6167" />
  <row Id="14430" PostId="10929" Text="Thanks! ACLs are not set up, but `chmod g+s` did the trick!" CreationDate="2011-04-08T22:15:27.007" UserId="6413" />
  <row Id="14431" PostId="10932" Score="2" Text="Background: [How to run a fresh version of AIX in a Virtual Machine with a Linux host?](http://unix.stackexchange.com/questions/10408/how-to-run-a-fresh-version-of-aix-in-a-virtual-machine-with-a-linux-host) (@johnny8888: you should have mentioned that in your question). While this isn't a duplicate, I doubt the non-duplicate part can be answered here. Qemu just isn't emulating the hardware AIX expects." CreationDate="2011-04-08T22:55:56.377" UserId="885" />
  <row Id="14432" PostId="10935" Text="That depends largely on your window manager. The application can do something, but the WM will often override that. So what is your window manager?" CreationDate="2011-04-08T22:57:36.033" UserId="885" />
  <row Id="14433" PostId="10935" Text="I'm running gnome, is that the window manager?" CreationDate="2011-04-08T23:03:59.313" UserId="4143" />
  <row Id="14434" PostId="10935" Text="@Cory: That's the desktop environment, but it's enough information." CreationDate="2011-04-08T23:05:43.207" UserId="885" />
  <row Id="14435" PostId="10934" Text="Another question would be whether that image is available via HTTPS.  I tried adding the s but it didn't load." CreationDate="2011-04-08T23:32:55.020" UserId="6167" />
  <row Id="14436" PostId="10935" Text="@Gilles not necessarily, depending on whether he has desktop effect enabled will mean whether or not it's compiz or metacity.  Gnome is not tied as strongly to one window manager as KDE and they have switched several time.  I used to use fvwm with Gnome." CreationDate="2011-04-08T23:35:05.877" UserId="6167" />
  <row Id="14437" PostId="10935" Text="I am using compiz" CreationDate="2011-04-08T23:35:49.663" UserId="4143" />
  <row Id="14438" PostId="10923" Text="Thanks, excellent. I'll use `set +o history` and `set -o history` to toggle back and forth when I'm doing secret stuff ;)" CreationDate="2011-04-08T23:38:21.237" UserId="5614" />
  <row Id="14439" PostId="10880" Text="Plus one for the wildcard.  Provides simply states no matches.  Attempting to install dbus-devel results in no such package.  Is there something on RHN that has to be switched on?  Is there a repository or the like missing?" CreationDate="2011-04-08T23:46:51.530" UserId="4193" />
  <row Id="14440" PostId="10879" Text="No luck.  Is there a repository or option that needs to be enabled?  There are other packages listed with -devel, so some are there." CreationDate="2011-04-08T23:48:06.927" UserId="4193" />
  <row Id="14441" PostId="10938" Text="WOW that is an awesome tool!" CreationDate="2011-04-08T23:55:45.460" UserId="4143" />
  <row Id="14442" PostId="10938" Text="I've actually never heard of it before.  It just seemed that there must be a command-line tool out there to control focus in X11.  A quick search on Google brought that up." CreationDate="2011-04-09T00:05:16.443" UserId="6167" />
  <row Id="14443" PostId="2245" Text="This answer is incorrect in many ways. It is vague: you should explain how to come up with a `tr` command that does the job instead of suggesting examples that will never work in all situations. It will also match words that contain the word you are looking for. The `grep -o '\&lt;WORD\&gt;' | wc -l` solution is far superior." CreationDate="2011-04-09T02:28:43.933" UserId="5632" />
  <row Id="14444" PostId="10944" Text="@aragorn when it happens does it happen consistently for a few seconds, minutes, and then work again? or is it like just a blip and immediately works again." CreationDate="2011-04-09T03:10:23.220" UserId="29" />
  <row Id="14445" PostId="10794" Text="@SiegeX - thanks for your answer, and the extra info. I've looked around for more on the difference between regular expressions and globular expressions and have come up blank. Can you expand a little on what distinguished each? Thanks." CreationDate="2011-04-09T03:13:21.013" UserId="3127" />
  <row Id="14446" PostId="10797" Text="@fred.bear - Thanks so much. Your answer is informative and (to me) complete. I especially appreciate your examples." CreationDate="2011-04-09T03:34:21.253" UserId="3127" />
  <row Id="14447" PostId="10880" Score="1" Text="I use CentOS but the repo layout should be the same as RHEL AFAIK. dbus-devel is part of the updates repo which should be enabled by default. Can you get any packages from the updates repo? dbus is part of that repo so if you can install that you should be able to install dbus-devel. If nothing from updates is being downloaded make sure its not disabled someplace in /etc/yum.repos.d/. `fgrep '[updates]' /etc/yum.repos.d/*` will tell you where it is. Make sure there's no exclude line excluding it in /etc/yum.conf or anywhere in /etc/yum.repos.d/*&#xA;" CreationDate="2011-04-09T03:41:54.667" UserId="3852" />
  <row Id="14448" PostId="10944" Text="@xenoterracide is about few minutes" CreationDate="2011-04-09T03:44:57.673" UserId="217" />
  <row Id="14449" PostId="10944" Text="(pre I don't know anything about AIX, so this is from a linux perspective )if it connects via dns, do dnsstuff on it make sure that all that is clean (esp glue), do an `mtr` or similar while the problem is occurring to see where packets are going, `tcptraceroute` may also be useful for bypassing a firewall on the right port. I AIX has a routes table you need to go over that thoroughly, and make sure your gateways, and netmasks are correct. " CreationDate="2011-04-09T03:52:19.767" UserId="29" />
  <row Id="14450" PostId="10947" Text="@xenoterracide tune2fs and mke2fs provide options like buffer size, error checking, journaling etc. These options are quite useful but how can I tune file system for sequential/random reading/writing. " CreationDate="2011-04-09T04:47:28.643" UserId="5861" />
  <row Id="14451" PostId="10947" Text="@Sushant reread, and read the linked IBM article. This is the extent of my knowledge. Unfortunately what I know suggestions that improving read performance in this way hurts write performance to an extent. using modes like `writeback` will improve write performance, but will not be as likely to server a hard reboot.  ext4 has many tuneable options that will affect write performance. Also benchmark, benchmark, benchmark. Your hardware affects a lot." CreationDate="2011-04-09T04:58:07.127" UserId="29" />
  <row Id="14452" PostId="8747" Text="@manish somewhere I read that ext3 is now going to be driven by the ext4 driver..." CreationDate="2011-04-09T05:05:24.807" UserId="29" />
  <row Id="14453" PostId="10947" Text="@Xenoterracide Actually I am not talking specifically about benchmarking of filesystems. I need to know about ways to customize file system for specific purpose. And I have get a linux command &quot;hdparm&quot; for changing hardware parameters. I wish it will be helpful for me." CreationDate="2011-04-09T05:35:10.757" UserId="5861" />
  <row Id="14454" PostId="10948" Text="Do you know what driver I am using? inxi -G&#xA;Graphics:  &#xA;Card Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller &#xA;X.Org 1.7.6 Res: 1280x800@60.0hz &#xA;GLX Renderer Mesa DRI Intel 945GM GEM 20091221 2009Q4 x86/MMX/SSE2 &#xA;GLX Version 1.4 Mesa 7.7.1" CreationDate="2011-04-09T06:04:44.710" UserId="6116" />
  <row Id="14455" PostId="10951" Text="I vaguely recall an old program called xvidtune that might be what you want." CreationDate="2011-04-09T06:37:37.600" UserId="6167" />
  <row Id="14456" PostId="10913" Text="@Tshepang 0.9.38, the latest available in openSUSE repos." CreationDate="2011-04-09T06:47:54.447" UserId="5884" />
  <row Id="14457" PostId="10947" Text="@sushant well I hope what I've given you so far is helpful. Maybe someone else will know more, as I've already suggested several things that do what you're asking, and I'm not sure what more you're asking for. My Ext4 filesystems are optimized for durability and reads, but they're slower than they could be for writes. If you think you're going to get optimized for all of these *&quot;sequential/random reading/writing&quot;* use the defaults, that's what they're there for is a good balance." CreationDate="2011-04-09T07:48:03.263" UserId="29" />
  <row Id="14458" PostId="10952" Text="Thanks Amazed. I can. And there is also xvidtune. After running it there is a warning and so I decided it was too dangerous for ignorant me to use. " CreationDate="2011-04-09T07:55:40.793" UserId="6116" />
  <row Id="14459" PostId="10951" Text="yes. That works. When I ran the xgamma man page I saw it. It works but I am too afraid to use it. I wish I could just figure out how to work with icc profiles ." CreationDate="2011-04-09T07:56:36.190" UserId="6116" />
  <row Id="14460" PostId="10948" Text="Thank you . Just looking at the man page for xgamma I found what I was looking for called xvidtune. " CreationDate="2011-04-09T07:59:12.477" UserId="6116" />
  <row Id="14461" PostId="10947" Text="@sushant I'll be honest, I'm not sure what you think you can do with these filesystems that I haven't suggested... sometimes you don't need to tune the filesystem, but choose a filesystem better suited to the job, e.g. reiserfs is infinitely better at handling a large number of really small files." CreationDate="2011-04-09T08:08:05.097" UserId="29" />
  <row Id="14462" PostId="10913" Text="Not good, one because that's an outdated version (the stable 0.10 has been out at least for a month), and because the latest search tool (tracker-needle) was slow as hell last I checked (2 weeks ago?) and has been so for quite a while, with not much seeming interest to fix it by the devs (they are focused on the engine and the data miners). I'm now using the ole 0.8 (in Debian 6) and the front-end works pretty well." CreationDate="2011-04-09T08:14:52.150" UserId="688" />
  <row Id="14463" PostId="10794" Text="@bev look at the term 'wildcard', it's the same as globular expressions." CreationDate="2011-04-09T08:37:39.473" UserId="1338" />
  <row Id="14465" PostId="10732" Text="Thank you both, penguin359 and Gilles for the answers. I'll look into implementing them ASAP." CreationDate="2011-04-09T10:11:47.693" UserId="4628" />
  <row Id="14466" PostId="10953" Text="Yes. That was it." CreationDate="2011-04-09T10:14:56.213" UserId="6116" />
  <row Id="14467" PostId="10957" Score="11" Text="The kernel identifies the root user by its uid (0). You can name that account whatever you like in `/etc/passwd`. Not having an account called `root` may confuse some of the system software, but you can have more entries; some paranoid people have a `root` entry and a `toor` entry in `/etc/passwd`, both with UID 0, but with different shells, so that if one of the shells was broken somehow (e.g. due to a disk error) the other one could be used to log in and repair the system." CreationDate="2011-04-09T10:37:57.617" UserId="885" />
  <row Id="14468" PostId="10920" Text="They all have a default config that is good for most people, but since you have special demands you can start to modify that default settings so it fits your needs. " CreationDate="2011-04-09T10:43:38.247" UserId="2567" />
  <row Id="14469" PostId="10960" Text="Ill check it out tomorrow. Need sleep :) ima kill myself staying up till 4:30 every morning :|" CreationDate="2011-04-09T11:35:38.893" UserId="4807" />
  <row Id="14470" PostId="10959" Text="possible duplicate of [What is the smallest possible Linux implementation?](http://unix.stackexchange.com/questions/2692/what-is-the-smallest-possible-linux-implementation)" CreationDate="2011-04-09T11:36:37.747" UserId="885" />
  <row Id="14471" PostId="10960" Text="Well it's 12:38 here and I'm waiting for a hair cut! Wish I could get back in bed" CreationDate="2011-04-09T11:40:28.997" UserId="6103" />
  <row Id="14472" PostId="8387" Text="Note that the guest needs the Virtualbox Guest Additions libraries installed - e.g. in Windows, this is accomplished through the &quot;Install Guest Additions&quot; menu item, Ubuntu guests can install the virtualbox-guest and virtualbox-guest-x11 packages, etc." CreationDate="2011-04-09T12:33:44.407" UserId="5477" />
  <row Id="14473" PostId="10962" Text="That missing `linux/autoconf.h` looks suspicious. Does `/usr/src/linux-headers-2.6.38-2-686-bigmem/include/linux/autoconf.h` exist? If it doesn't, your kernel headers are incomplete. If it does, there's a bug in a makefile somewhere that causes it not to look in the right directories." CreationDate="2011-04-09T13:38:55.160" UserId="885" />
  <row Id="14474" PostId="10962" Text="It's instead found in `/usr/src/linux-headers-2.6.38-2-686-bigmem/include/generated/autoconf.h`. This is in comparison to 2.6.32's `/usr/src/linux-headers-2.6.32-5-686-bigmem/include/linux/autoconf.h`." CreationDate="2011-04-09T14:08:23.577" UserId="688" />
  <row Id="14475" PostId="10933" Text="Any other versions on any other virtualization? No? :(" CreationDate="2011-04-09T14:30:04.730" UserId="5664" />
  <row Id="14476" PostId="10912" Text="@giles: This has nothing to do with compiling or building. Please correct me if I am wrong. I just want to know what does difference in Build OS version and kernel version means" CreationDate="2011-04-09T15:44:21.963" UserId="5430" />
  <row Id="14477" PostId="10965" Text="@aking1012: When you ask this kind of questions, you should describe what the commands you're used to do (like I've done). Otherwise only people who know both systems have a chance to answer. This way someone who only knows FreeBSD has a chance." CreationDate="2011-04-09T15:45:20.937" UserId="885" />
  <row Id="14478" PostId="10849" Text="I was just curious. I don't know anything about iptables other than it uses netfilter (which is a kernel service I think?). I wasn't sure if iproute2 utilities could make use of that kernel service." CreationDate="2011-04-09T15:46:09.160" UserId="3170" />
  <row Id="14479" PostId="10966" Text="Your code looks more complicated than it should be, especially the random test data generator. You can get random bytes from `/dev/urandom` on most unices. And random test data isn't the best test data, you should make sure to address difficult cases such as, here, null characters and newline in boundary places." CreationDate="2011-04-09T16:01:49.480" UserId="885" />
  <row Id="14480" PostId="10967" Score="2" Text="No matter what the manual says, I wouldn't create a separate partition for `/var` and `/usr` except with very special requirements (which you don't have). Separating the OS from your own data is a good idea, but dividing the OS into bits isn't useful." CreationDate="2011-04-09T16:03:53.893" UserId="885" />
  <row Id="14481" PostId="10966" Text="Yes thanks. I thought of using  /dev/random but figured the test data gen was of no great import, and I wanted to test drive 'numrandom' (whicn you mentioned elsewhere; 'num-utils'some nice features.). I've just taken a closer look at your answer, and realized that you are doing pretty much the same thing, except that it is more succinct :).. I hadn't notice that you had stated the key points in 3 lines! I had focused on your *other-language* references.. Getting it to work was a good experience, and I now understand better your references to other-languages! \x00 can be a shell-stopper" CreationDate="2011-04-09T17:13:41.147" UserId="2343" />
  <row Id="14482" PostId="10710" Text="Great question.  I'll fire up a VM soon and load up XP.  I don't have any XP machines anywhere in my near circle at this point." CreationDate="2011-04-09T17:20:40.970" UserId="6324" />
  <row Id="14483" PostId="10574" Text="basically I mean if possible, getting my 8.2-RELEASE system to use 8-STABLE pacakages (yes using pkg_add -r).  But also I want my ports upgraded to stable so I can compile if I want to and all versions match." CreationDate="2011-04-09T17:22:05.263" UserId="6250" />
  <row Id="14484" PostId="10971" Text="What OS do you use?" CreationDate="2011-04-09T17:29:24.540" UserId="688" />
  <row Id="14485" PostId="10971" Text="I use Linux OS." CreationDate="2011-04-09T17:34:36.840" UserId="6215" />
  <row Id="14486" PostId="10971" Score="2" Text="Have you tried lm-sensors? There is a `sensors-detect` script." CreationDate="2011-04-09T17:37:56.650" UserId="5666" />
  <row Id="14487" PostId="10971" Text="`sensors-detect` offers me more information than I need. Which information is particularly about the fan (parameters and configuration)?" CreationDate="2011-04-09T17:41:32.853" UserId="6215" />
  <row Id="14488" PostId="10900" Text="`eval &quot;${var:-${varArr[@]}&quot;` ? Just guessing, don't have time to test ;-)" CreationDate="2011-04-09T19:10:23.820" UserId="6122" />
  <row Id="14489" PostId="10978" Text="`rlwrap` doesn't seem to help much.  When I  run `rlwrap php5`, enter `echo 1;`, then hit return then Ctrl-D (end of input), it outputs the input `echo 1;` instead of the result (1).  Thanks for noting that it's a licensing issue." CreationDate="2011-04-09T21:05:32.193" UserId="224" />
  <row Id="14491" PostId="10976" Score="2" Text="Less than a month after the latest point release is generally a bad time to track testing or unstable if you want stable software. Just sayin'..." CreationDate="2011-04-09T21:15:40.573" UserId="4949" />
  <row Id="14492" PostId="10976" Text="@Shadur, when did I say I want stable software?  This is not my work computer, so I'm willing to deal with these small problems as I encounter them.  When I solve them, I'll post my solutions if they're not already here.  I originally did install Squeeze, but I decided to upgrade to Wheezy so I could be more up-to-date." CreationDate="2011-04-09T21:22:54.060" UserId="224" />
  <row Id="14493" PostId="10981" Text="Me curious what distro you using?" CreationDate="2011-04-09T21:38:52.173" UserId="688" />
  <row Id="14494" PostId="10978" Score="1" Text="@Matthew: I don't know anything about PHP, but trying this on lenny, I see no difference between `rlwrap php5` and just `php5`, other than the former allowing command line edition. If you enter `&lt;?php echo 1;?&gt;`, the output is `1`, but it's not emitted immediately in either case. Googling suggests that `php5` simply isn't a PHP REPL, and you should use something like [phpsh](http://www.phpsh.org/) instead." CreationDate="2011-04-09T21:42:32.817" UserId="885" />
  <row Id="14495" PostId="10979" Text="That feels like the wrong question: what matters isn't whether you type your password in the terminal window or a dedicated window, but whether focus stealing is prevented while you're typing your password." CreationDate="2011-04-09T21:46:12.923" UserId="885" />
  <row Id="14496" PostId="10978" Text="@Gilles, you don't enter the `&lt;?php ` or `?&gt;` in the interactive shell.  I agree that php doesn't have a full REPL.  But using a version compiled with with working readline support (e.g. the dotdeb package I linked), it will output 1 (or whatever the real output is) immediately after you press enter.  I agree there's no significant difference between rlwrap and no readline at all (besides line-editing and history, which are nice but not as useful as immediate output)." CreationDate="2011-04-09T21:49:16.880" UserId="224" />
  <row Id="14497" PostId="10980" Text="What distribution and version? What kernel version? What architecture? Does `ps -e` produce output? What about `top`? Has this system been running for a long time, what is it normally running? Have you done a memory test recently? Not being able to read `/proc/$pid/cmdline` looks like a kernel bug or an exploit." CreationDate="2011-04-09T21:52:53.680" UserId="885" />
  <row Id="14498" PostId="10978" Text="@Matthew: Ah, so readline support does more than just link with readline, it also changes the behavior of the program? That seems weird. Then you can rebuild from source, or use the dotdeb packages if they work for you." CreationDate="2011-04-09T21:54:52.087" UserId="885" />
  <row Id="14499" PostId="10978" Text="@Gilles, yeah, a lot of things in PHP seem weird. ;)  But it does look like the readline code path is different in this area only tangentially related to readline. " CreationDate="2011-04-09T22:00:13.373" UserId="224" />
  <row Id="14500" PostId="10981" Text="@Tshepang: Arch Linux. I could downgrade if I really wanted to, but Arch isn't really designed for that." CreationDate="2011-04-09T22:03:44.990" UserId="6246" />
  <row Id="14501" PostId="10980" Text="[Cross-posted at Server Fault](http://serverfault.com/questions/257764) — [don't do that](http://meta.stackoverflow.com/questions/64068). Choose one site and stick to it (if you regret your choice, flag your question and ask a moderator to migrate it)." CreationDate="2011-04-09T22:07:44.503" UserId="885" />
  <row Id="14502" PostId="10981" Text="I expect that there will be an option to run `gnome-panel`+`metacity` even on Arch, selectable on login. This is because the idea of GNOME folk is to have a fallback mechanism for hardware that doesn't support advanced rendering that `gnome-shell` requires." CreationDate="2011-04-09T22:33:17.553" UserId="688" />
  <row Id="14503" PostId="10980" Text="@Gilles, If you have the rights could you please migrate the question to this site. There was no intention to duplicate the question, instead I thought I can get more info here! Appreciated, if you can flag the question in server fault &amp; migrate it to Unix &amp; Linux" CreationDate="2011-04-09T22:58:01.590" UserId="5192" />
  <row Id="14504" PostId="10971" Score="2" Text="@ralf - what is the problem with more information? You can easily pull out the info from sensors-detect. Read http://linux.die.net/man/5/sensors.conf for some guidelines" CreationDate="2011-04-09T22:58:42.917" UserId="3046" />
  <row Id="14505" PostId="10981" Text="Yeah I already installed GNOME 3 on my desktop. If you don't install the `gnome-shell` package, it keeps using gnome-panel and metacity. The problem is that it sucks. They took out all of the configuration and now it forces you to have two panels (the opposite of what I want on a laptop with a small screen)." CreationDate="2011-04-09T23:15:59.797" UserId="6246" />
  <row Id="14506" PostId="10075" Text="@polemon: I made few tests running commands on about 1e6 files, ZSH faces the same problems: `&quot;$ cp * Test/                                                                                 &#xA;ksh: cp: Argument list too long&#xA;&#xA;% rm *&#xA;zsh: sure you want to delete all the files in /home/user/Downloads [yn]? y&#xA;&#xA;zsh: argument list too long: rm &#xA;% ls *&#xA;zsh: argument list too long: ls&#xA;&quot;`. Sorry but I cannot see how this is related to the question -1 because it was so easy to test this, create just 1e6 files and run the commands. " CreationDate="2011-04-09T23:57:49.127" UserId="2362" />
  <row Id="14507" PostId="10980" Text="@Gilles Yep, ps -e produces output and I found there are too many greps. Number of greps varies 250, 450, now I see around 520 greps. I traced back and found it is the result of a cron script. I still have to understand those cron scripts. Yes, top displays results. We manually shutdown the server 2 days back. System has been running from last 2 days. I see some oracle stuff running all the time. I just did the memory test, no faults detected." CreationDate="2011-04-10T00:17:53.130" UserId="5192" />
  <row Id="14508" PostId="10482" Text="@Faheem Ah yes.  I'm pretty proficient in R but hadn't used it much to create this type of utility.  I have something working in Python but I may try to create something in R as well." CreationDate="2011-04-10T01:05:43.197" UserId="1207" />
  <row Id="14509" PostId="10981" Text="@BrendanLong: You referring to fallback mode that they reduced configuration?" CreationDate="2011-04-10T01:08:17.300" UserId="688" />
  <row Id="14510" PostId="10880" Text="I get no matches on the search you specified.  The only file in yum.repos.d is rhel-debuginfo.repo.  yum.conf contains only a section named [main], and the only thing interesting listed looks like:  distroverpkg=redhat-release  Is there a stanza for the update repo I can add?" CreationDate="2011-04-10T01:48:00.820" UserId="4193" />
  <row Id="14511" PostId="10987" Text="@James ... the cantebury stuff feels like it isn't realy a part of the question. You should probably remove it" CreationDate="2011-04-10T02:25:18.183" UserId="29" />
  <row Id="14513" PostId="10066" Text="@alex: that is a good idea but what do you do when you have too large amount of dirs?" CreationDate="2011-04-10T04:06:20.953" UserId="2362" />
  <row Id="14514" PostId="10987" Text="@xenoterracide: I'm done editing, is it better now?" CreationDate="2011-04-10T05:02:38.487" UserId="6439" />
  <row Id="14515" PostId="10724" Text="I know, I just tried to explain from a practical approach as I do it. Using `mknod` for something else than making named pipes is more than rare." CreationDate="2011-04-10T05:15:29.703" UserId="1290" />
  <row Id="14516" PostId="10987" Text="@james I don't understand why we need the why in this case." CreationDate="2011-04-10T05:58:14.503" UserId="29" />
  <row Id="14517" PostId="10987" Text="@james also systemd should be its own question, please one question per question" CreationDate="2011-04-10T05:59:44.983" UserId="29" />
  <row Id="14518" PostId="10971" Text="@Roly - Which information is related to **fan**? I understood that I can pull out the information but don't know which. Is the information from sensors-detect **all** information about the fan or is there some other information in other configuration files?" CreationDate="2011-04-10T06:55:35.493" UserId="6215" />
  <row Id="14519" PostId="10983" Text="Figured out that there doesn't seem to be any other option so finally using it now. :)" CreationDate="2011-04-10T07:12:18.733" UserId="4335" />
  <row Id="14520" PostId="10955" Text="I don't see any resemblance with Google UI (one editbox, one button). It is not for weekend-users, weekend users &quot;search&quot;, they don't build queries." CreationDate="2011-04-10T07:57:45.600" UserId="5884" />
  <row Id="14521" PostId="10993" Score="1" Text="Did you just jump through some kind of time warp portal?" CreationDate="2011-04-10T08:14:09.060" UserId="3082" />
  <row Id="14522" PostId="10955" Text="You mentioned that you want the ability to just search file names, so I wonder how the one-button setup will work for that. Also, are you saying that the first UI (searches only filenames) is too complex for weekend user?" CreationDate="2011-04-10T09:03:33.990" UserId="688" />
  <row Id="14523" PostId="10991" Text="Why not just start the process when you're leaving the computer for the night. e.g. run command, walk away." CreationDate="2011-04-10T09:34:17.890" UserId="29" />
  <row Id="14524" PostId="10995" Text="You may have missed the part where I'm using VBox 3.2.10." CreationDate="2011-04-10T09:38:46.570" UserId="688" />
  <row Id="14525" PostId="10995" Text="Sorry, I've missed that.... &#xA;I upgrade squeezy to whezzy due to this issue.. Only way I've found to solve the pb...." CreationDate="2011-04-10T09:48:19.450" UserId="6450" />
  <row Id="14526" PostId="11000" Score="1" Text="possibly a shared lib issue. what's the output of `ldd /opt/bin/transmission-daemon`? might also want to try `strace transmission-daemon` if ldd doesn't give a clue." CreationDate="2011-04-10T09:52:48.270" UserId="5842" />
  <row Id="14527" PostId="11000" Text="@Mat: I forgot to add the output from ldd, I've added it just above the output from file.  I don't think it helps much.  I don't  have `strace` and I'm hitting errors trying to install it - d'oh!" CreationDate="2011-04-10T10:02:41.527" UserId="6216" />
  <row Id="14528" PostId="11000" Text="do you have `readelf`? if so, what's the output of `readelf -l /opt/sbin/smbd`?" CreationDate="2011-04-10T10:06:37.250" UserId="5842" />
  <row Id="14529" PostId="10995" Text="[This answer](http://unix.stackexchange.com/questions/10962/i-am-failing-to-build-virtualbox-driver-for-linux-2-6-38/10964#10964) helped, so am still a Squeeze user :)" CreationDate="2011-04-10T10:08:22.283" UserId="688" />
  <row Id="14530" PostId="11000" Text="@Mat: Thanks for your help and quick responses so far. `readelf - l /opt/sbin/smbd` gives me `readelf: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory`.  I've had numerous problems with libc6 these last few days whilst trying to upgrade the distro." CreationDate="2011-04-10T10:10:16.530" UserId="6216" />
  <row Id="14531" PostId="11000" Text="could you post the complete output of that `readelf` command?" CreationDate="2011-04-10T10:21:21.220" UserId="5842" />
  <row Id="14532" PostId="11000" Text="@Mat: that was the complete output :-/" CreationDate="2011-04-10T10:22:38.333" UserId="6216" />
  <row Id="14533" PostId="11000" Text="screwed up libc is not a good thing... what does `cat /proc/$$/maps` say?" CreationDate="2011-04-10T10:26:26.803" UserId="5842" />
  <row Id="14534" PostId="11000" Text="@Mat: `40084000-4019e000 r-xp 00000000 09:01 112594     /lib/libc-2.7.so` is listed among a few others.  I tried to upgrade my distro but it errored whilst installing the latest libc6, telling me that I needed to upgrade my kernel first, but I can't find a `linux-image` in apt-get for my processor." CreationDate="2011-04-10T10:47:38.073" UserId="6216" />
  <row Id="14535" PostId="11001" Text="@felix that's odd, arch doesn't crash for me hardly ever." CreationDate="2011-04-10T11:22:03.047" UserId="29" />
  <row Id="14536" PostId="11002" Text="AFAIK, this is the only option outside of arch that could meet the criterion." CreationDate="2011-04-10T11:22:49.223" UserId="29" />
  <row Id="14538" PostId="11002" Text="There's also OpenSUSE, or is the stability not to too satisfactory, or do they do heavy customization (I remember the gnome-main-menu bar fiasco, but I wonder if there are more examples)? I know that their developers embrace GNOME 3 (if the fact that they are the first to provide a live disc is any indicator). Oh, they have at least " CreationDate="2011-04-10T11:25:31.890" UserId="688" />
  <row Id="14540" PostId="11015" Score="1" Text="Being computationally expensive is exactly why bcrypt is used for this application." CreationDate="2011-04-10T12:11:36.683" UserId="3001" />
  <row Id="14542" PostId="2212" Text="The original UNIX developers seem to call it minus, judging by the books they wrote. See my updated answer." CreationDate="2011-04-10T12:31:11.830" UserId="3169" />
  <row Id="14543" PostId="11015" Score="1" Text="@rob 4. bcrypt adds a dependency that isn't otherwise there, where sha1 and sha2 are part of glibc" CreationDate="2011-04-10T12:39:14.697" UserId="29" />
  <row Id="14544" PostId="2406" Text="You claim that &quot;dash&quot; is correct, but don't provide any reason or proof.  At least as far as ASCII is concerned, [you are wrong](http://en.wikipedia.org/wiki/Hyphen-minus).  There is no &quot;dash&quot; key on the keyboard." CreationDate="2011-04-10T12:40:22.887" UserId="3169" />
  <row Id="14545" PostId="11002" Score="1" Text="@tshepang I've used opensuse... it's not rolling... and given an 8 month release schedule, not as up to date as possible. I don't think it meets the ops criteria. Also opensuse is heavy on its own modifications. with kde it constantly backports parts of the next release... it had kde4 parts before kde4 was 4.0" CreationDate="2011-04-10T12:40:40.530" UserId="29" />
  <row Id="14546" PostId="11015" Text="What I said in point 3." CreationDate="2011-04-10T12:40:43.883" UserId="6454" />
  <row Id="14547" PostId="10981" Score="1" Text="Hardware acceleration might actually use less battery life. For example, see claims by Adobe regarding Flash on Macs http://www.engadget.com/2010/11/16/adobe-ceo-flash-battery-life-depends-on-hardware-acceleration/" CreationDate="2011-04-10T12:46:51.573" UserId="6454" />
  <row Id="14548" PostId="11006" Score="1" Text="That's an interesting solution, but you could replace the path with `%`, which in vim will be the path of the file you're currently editing. " CreationDate="2011-04-10T13:54:08.907" UserId="4398" />
  <row Id="14549" PostId="11015" Text="Sorry, I'll be more clear. Being computationally expensive, plus having a configurable number of rounds, is exactly why this is a good scheme for long-term security.  It allows the cost of checking the hash to increase as hardware gets faster.  The original paper describing bcrypt was actually titled &quot;A Future-Adaptable Password Scheme&quot; (http://www.usenix.org/events/usenix99/provos/provos_html/)" CreationDate="2011-04-10T13:56:03.510" UserId="3001" />
  <row Id="14550" PostId="2916" Text="Yes, except using `-r` on a file is silly and especially along with `-f` is dangerous if you make a mistake.  e.g. `rm -rf /bin/ nessus-fetch.rc`.  Oops!" CreationDate="2011-04-10T13:58:43.240" UserId="4196" />
  <row Id="14551" PostId="11013" Text="Another similar tool: http://dvdisaster.net/en/" CreationDate="2011-04-10T14:08:26.070" UserId="4196" />
  <row Id="14552" PostId="10066" Text="@hhh: with this approach you may only have up to about 256 directories on any given level, so for two levels of indirection you'll have up to 256*256=65536 directories in total (more, if Unicode in filenames is employed.)  Is that too large already for your filesystem?" CreationDate="2011-04-10T14:27:06.953" UserId="1946" />
  <row Id="14553" PostId="11002" Text="@Tshepang is Debian testing more stable than Archlinux? That *testing* part sounds worrying. But thanks for the answer, I did not know Debian testing was rolling release. I will try it." CreationDate="2011-04-10T14:42:24.780" UserId="423" />
  <row Id="14554" PostId="10991" Text="On a related note, sudo asks me for a password.  How can I provide sudo with my password in a secure way?" CreationDate="2011-04-10T14:43:55.917" UserId="5391" />
  <row Id="14555" PostId="11002" Score="1" Text="@Felix: Many people claim that even Debian Unstable is more stable than, for example, Ubuntu 'stable' releases. I've never heard of a comparison with Arch, but I would bet more on Debian to be more stable (remember the 10 day wait thing)." CreationDate="2011-04-10T15:12:38.387" UserId="688" />
  <row Id="14556" PostId="11018" Text="Good question! I remember looking once, but didn't find any solution." CreationDate="2011-04-10T15:22:01.593" UserId="250" />
  <row Id="14557" PostId="11001" Text="@xenoterracide how long have you been using it? It took me probably a couple of months to get it to completely crash (something related to Xorg/ATI drivers/Gnome) and make me want to go back to Ubuntu. It was not unrepairable (I would have had to downgrade some packages), but I felt I wanted something more stable." CreationDate="2011-04-10T15:33:19.743" UserId="423" />
  <row Id="14558" PostId="11013" Text="@Wodin Thanks for the ref to another tool, but I don't use DVDs/CDs. (They're just not big enough for my backups.)" CreationDate="2011-04-10T15:43:51.240" UserId="6454" />
  <row Id="14559" PostId="11015" Text="@pdo I don't consider the ability to increase the number of rounds to negate point 3. It may be that additional rounds cancel each other out in some way w.r.t. future cryptoanalytic attacks on the underlying algorithm." CreationDate="2011-04-10T15:50:36.290" UserId="6454" />
  <row Id="14560" PostId="10066" Text="@alex: of course not. The question is about managing huge amount of files and it really means, the scalability is a serious problem which I don't know how to address correctly, not just that many familiar shell commands fail so I am using Python like the added example code shows. I think the dir restriction can be circumvented by mounting new fs to the system every time space is used in one machine, any experience with that?" CreationDate="2011-04-10T15:58:11.137" UserId="2362" />
  <row Id="14561" PostId="11017" Score="2" Text="The `tuning` man page is for *performance* tuning. Not everyone needs to make their life more complicated for a few percent of disk performance. Worse than that, its recommendations are not relevant to today's hardware, where the OS is a small part of the disk space, RAM (so disk cache) is cheap, and real performance comes from SSD or RAID rather than relying on disk geometry which the disk controller may be manufacturing out of thin cloth anyway. It's unfortunate that this advice hasn't been updated since it was written a decade ago." CreationDate="2011-04-10T15:59:23.867" UserId="885" />
  <row Id="14562" PostId="11014" Text="@Gilles: why do you use `&quot;--&quot;` in `'do mv -- &quot;$i&quot;'`? It works fine at least in my machine without `&quot;--&quot;`." CreationDate="2011-04-10T16:08:15.283" UserId="2362" />
  <row Id="14563" PostId="11015" Text="@Rob All things being equal, a hashing scheme that is more computationally expensive is better than one that is less expensive.  It means you have to spend longer to hash each candidate password when brute-forcing the keyspace.&#xA;&#xA;If you know of a better attack against Blowfish (as used in bcrypt) than the rest of the world, please let somebody know :)" CreationDate="2011-04-10T16:14:23.127" UserId="3001" />
  <row Id="14564" PostId="11014" Score="1" Text="`--` is needed when `$i` begins with a `-` (and only then). Try it with a file called `-Strange.flac.mp3` or `-thats-weird.flac.mp3`." CreationDate="2011-04-10T16:24:18.787" UserId="885" />
  <row Id="14565" PostId="11006" Text="You should wrap the `%` in quotes in case the filename contains a space." CreationDate="2011-04-10T16:37:48.160" UserId="1535" />
  <row Id="14566" PostId="11006" Text="Also: this will not reset the `'modified'` setting; you can do that manually with `set nomodified`." CreationDate="2011-04-10T16:44:06.843" UserId="1535" />
  <row Id="14568" PostId="11006" Text="Actually, if you really want to be careful, you should do `exec 'w !sudo dd of=' . shellescape(expand('%'))` in case the filename contains quotes, backslashes, dollar-signs, etc." CreationDate="2011-04-10T16:53:56.970" UserId="1535" />
  <row Id="14569" PostId="9922" Text="While this sounded promising, sadly all I get is `Sent 1 probes (1 broadcast(s))` / `Received 0 response(s)` :-(" CreationDate="2011-04-10T17:47:40.117" UserId="1974" />
  <row Id="14571" PostId="11024" Score="2" Text="Beyond the homework exercise, `echo *` is useful in practice, when you've screwed up your system so that you can't execute *any* program (e.g. you removed `libc.so` or `ld.so`), but you still have a running shell." CreationDate="2011-04-10T18:30:06.830" UserId="885" />
  <row Id="14572" PostId="10066" Text="Why not just use full-blown database then?  Modern databases allow you to store arbitrary file content in a table column.  Adding an index to modification date column you can instantly search it." CreationDate="2011-04-10T18:53:17.653" UserId="1946" />
  <row Id="14573" PostId="11028" Score="1" Text="Yes, you can back up the whole hard disk, and there are many ways of doing this. What media are you backing up to? How often are you doing backups? How fast do you need recovery to be?" CreationDate="2011-04-10T18:56:16.197" UserId="885" />
  <row Id="14574" PostId="11029" Text="So is `cat`. There's nothing magical about `dd`, the magic is in `/dev/sd*`. And no, [`dd` isn't faster](http://unix.stackexchange.com/questions/9432/is-there-a-way-to-determine-the-optimal-value-for-the-bs-parameter-to-dd/9492#9492)." CreationDate="2011-04-10T19:35:46.147" UserId="885" />
  <row Id="14575" PostId="11029" Text="It is a solution but the image is too large..That means that it wont work at another disk... If i use cp for the files and dd for MBR would that work ?" CreationDate="2011-04-10T20:06:01.653" UserId="3378" />
  <row Id="14576" PostId="11024" Score="1" Text="In bash4 (I think) and zsh, you can use `echo **/*` to do this recursively, too." CreationDate="2011-04-10T20:07:55.623" UserId="4398" />
  <row Id="14577" PostId="11024" Text="@Reid: gonna test that. Nice find." CreationDate="2011-04-10T20:18:26.460" UserId="5462" />
  <row Id="14578" PostId="10996" Text="wheel is only required to su to root." CreationDate="2011-04-10T22:45:57.023" UserId="3169" />
  <row Id="14579" PostId="11008" Text="+1 and accept, I think you're onto something with that last paragraph. The Debian distro I'm running is EABI, but I have a feeling the distro that came on the NAS is the standard ABI.  I've switched back to the previous feed.  I guess this means I will need to compile transmission myself, since the one on the feed I'm using keeps crashing :-\" CreationDate="2011-04-10T22:53:10.557" UserId="6216" />
  <row Id="14580" PostId="11027" Text="+1 for the Python code :)" CreationDate="2011-04-10T23:14:45.897" UserId="4926" />
  <row Id="14581" PostId="11006" Text="How is that different to the Commandlinefu -command by plaes?" CreationDate="2011-04-10T23:49:57.727" UserId="2362" />
  <row Id="14582" PostId="11006" Text="@hhh Using tee as @plaes suggests will send the entire file to your terminal screen as well as write it out to the filesystem which may not be very desirable, especially when editing a large file over a slow terminal/network connection." CreationDate="2011-04-11T00:09:34.777" UserId="6167" />
  <row Id="14583" PostId="11024" Text="Good one, @Gilles.  Learned that from old DEC systems which could not have access to either /usr or /bin in certain boot conditions and boot scripts needed to make 'cat' and 'ls' functions themselves." CreationDate="2011-04-11T00:10:39.150" UserId="4194" />
  <row Id="14584" PostId="11027" Text="@Blender, `import glob; print '\n'.join(glob.glob('/home/*'))` would work just as well." CreationDate="2011-04-11T00:13:21.770" UserId="4194" />
  <row Id="14585" PostId="11039" Text="The last sentence of the first paragraph can be misleading. Please make it clear that you the problem only occurs *sometimes*. The way you put makes it seems like DDs are generally like that." CreationDate="2011-04-11T00:24:40.053" UserId="688" />
  <row Id="14587" PostId="11001" Text="Is there a reason you do not want to use one of the other desktop environments that come with Ubuntu, like KDE or Xcfe4?  Myself I dislike Gnome and KDE and have been using Xcfe4 for many years." CreationDate="2011-04-11T00:52:16.493" UserId="4194" />
  <row Id="14588" PostId="11027" Text="So *that's* how you use `.join()`. I tried supplying the delimiter using a second argument, but then I gave up. Funny that I learned that from the Unix &amp; Linux site, not on SO ;)" CreationDate="2011-04-11T00:52:32.857" UserId="3032" />
  <row Id="14589" PostId="11034" Score="2" Text="This is what I love about Linux; you can resize partitions without getting boot errors (**cough** windows **cough**)." CreationDate="2011-04-11T00:54:40.203" UserId="3032" />
  <row Id="14590" PostId="11033" Score="2" Text="`Shrink current system`. The instructions should be clear enough from there." CreationDate="2011-04-11T00:58:58.853" UserId="688" />
  <row Id="14591" PostId="11006" Text="much better! +1" CreationDate="2011-04-11T01:02:44.477" UserId="2362" />
  <row Id="14592" PostId="10998" Text="+1 for at; one problem with any of the 'later' solutions will be if the program (including sudo) requires terminal input.  The process will either fail or be stopped on SIGTTIN.  Make sure that if you are using sudo, to have the appropriate NOPASSWD tag in the sudoers file." CreationDate="2011-04-11T01:05:20.310" UserId="4194" />
  <row Id="14593" PostId="10991" Text="@Tyr I would run the command in `expect` and load the password from a file with 0400 permissions.  But you can also have add the NOPASSWD sudo tag for just specific commands." CreationDate="2011-04-11T01:08:08.997" UserId="4194" />
  <row Id="14594" PostId="10794" Text="@SiegeX - This site (http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml) says: &quot;Wildcards are not full regular expressions. Sed, grep, awk etc. work with more flexible (and more complex) string matching operators.&quot; which seems to imply that wildcards are a subset of the full set of regexps, i.e. are regular expressions, but limited in the number of them as well as the commands that use them. Would you agree with that?" CreationDate="2011-04-11T02:17:46.553" UserId="3127" />
  <row Id="14595" PostId="10794" Text="@SiegeX - I'm not being difficult. I just want to understand whether wildcards and regexps are different *in kind* or just the same kind of thing, but in the context of bash, used in different circumstances. For example, in the source code for bash, are wildcards implemented using regexps?" CreationDate="2011-04-11T02:18:20.330" UserId="3127" />
  <row Id="14596" PostId="11019" Text="I think I'll stick with the dumb version :)" CreationDate="2011-04-11T02:25:13.553" UserId="250" />
  <row Id="14597" PostId="11024" Text="nice, I first learned about echo * from http://www.ee.ryerson.ca/~elf/hack/recovery.html" CreationDate="2011-04-11T02:25:46.857" UserId="3852" />
  <row Id="14598" PostId="11017" Text="@Gilles - note that the first few paragraphs of 'tuning' directly address disk layout. Also see Eartz post." CreationDate="2011-04-11T02:25:52.117" UserId="3887" />
  <row Id="14599" PostId="11040" Text="You were right, the primary partition wasn't an issue. For the record: I ran into some grub problems in the process, but they seem unrelated, everything is now up and running." CreationDate="2011-04-11T02:26:25.923" UserId="6469" />
  <row Id="14600" PostId="10987" Text="@xenoterracide: Okay, thanks for the tip about that systemd part, and the why is mainly just there to show an example of usage on what I intend to do. Is that not a good enough reason?" CreationDate="2011-04-11T03:02:15.440" UserId="6439" />
  <row Id="14601" PostId="10622" Text="I compiled with `allmodconfig` but the kernel still won't boot. Anyway, `make install` did install the kernel and create the initramfs image." CreationDate="2011-04-11T03:46:08.313" UserId="1290" />
  <row Id="14602" PostId="10794" Text="@bev: Although a functionally equivalent regular expression can be made to match that of a [globular](http://en.wikipedia.org/wiki/Glob_%28programming%29) expression, the reverse is not true.  Globs are not a [regular language](http://en.wikipedia.org/wiki/Regular_language) and hence not a regular expression." CreationDate="2011-04-11T04:52:56.193" UserId="1338" />
  <row Id="14603" PostId="11052" Text="I just booted into windows, installed the Logitech drivers and tried to set those two buttons to something else, which does not need repetitive &quot;autofire&quot;. But it didn't help. The state numbers all changed though." CreationDate="2011-04-11T04:53:03.167" UserId="1290" />
  <row Id="14604" PostId="11044" Text="You mean `cd ~/a/really/long/path` then `cd ..` puts you in `~` at the moment?  I can't reproduce that." CreationDate="2011-04-11T05:13:08.290" UserId="3169" />
  <row Id="14605" PostId="11046" Text="The way I read the question, the OP has `-P` or `-o physical` already set?" CreationDate="2011-04-11T05:14:29.257" UserId="3169" />
  <row Id="14606" PostId="11044" Text="@Mikel: No, first create a symlink to `~/a/really/long/path` then cd to that then to `..`. You should end up back in ~ (assuming that's where you started)." CreationDate="2011-04-11T05:50:06.340" UserId="4249" />
  <row Id="14607" PostId="11039" Text="@Tshepang: Good point. Is it Ok now?" CreationDate="2011-04-11T06:26:49.040" UserId="4671" />
  <row Id="14608" PostId="11044" Text="@Xodarap: Is my edit accurate?  I couldn't understand the question before." CreationDate="2011-04-11T06:28:55.227" UserId="3169" />
  <row Id="14609" PostId="11039" Text="Yeah, much better." CreationDate="2011-04-11T07:10:45.363" UserId="688" />
  <row Id="14610" PostId="11046" Text="+1, but suggest link to man page." CreationDate="2011-04-11T08:00:55.133" UserId="4671" />
  <row Id="14611" PostId="11046" Text="@Mikel: No, the question says that he is following the symbolic link, not the physical directory structure." CreationDate="2011-04-11T08:02:53.587" UserId="4671" />
  <row Id="14612" PostId="11001" Text="@Felix: define &quot;as up to date as possible&quot;. :-)" CreationDate="2011-04-11T08:11:01.723" UserId="4671" />
  <row Id="14613" PostId="11002" Text="Debian is an obvious answer (I don't really understand why people use Ubuntu, so I'm probably biased.). However, what is wrong with stable? I guess this does depend on the OPs definition of &quot;as up to date as possible&quot;." CreationDate="2011-04-11T08:12:23.860" UserId="4671" />
  <row Id="14614" PostId="11002" Text="@FaheemMitha: People using Ubuntu tend to be first-time *nix users; most decide to stay there (and some move on to Debian or other systems)." CreationDate="2011-04-11T08:18:09.267" UserId="688" />
  <row Id="14615" PostId="11058" Score="1" Text="Do you know any Linux system that won't *happily run on that*, or were you playing safe (i.e. there could be, but you don't know)?" CreationDate="2011-04-11T08:20:52.557" UserId="688" />
  <row Id="14616" PostId="10991" Text="Perhaps I'm missing something, but why not use a cron job?" CreationDate="2011-04-11T08:28:19.040" UserId="4671" />
  <row Id="14617" PostId="11058" Text="@Tshepang - I have certainly had Debian, Red Hat, Fedora, Ubuntu, Suse and Slack on much lower specced machines. I was just playing safe (as you never know :-)" CreationDate="2011-04-11T08:51:12.867" UserId="3046" />
  <row Id="14619" PostId="11062" Score="1" Text="+1 for Puppy Linux. Absolutely amazing mini-distro." CreationDate="2011-04-11T09:10:35.150" UserId="5770" />
  <row Id="14620" PostId="11058" Text="But you are aware that the statement can be misleading right, as in you might know of one that won't *happily run on that*. So rather change the statement to something like *I don't think there's any distro that won't happily run on that (I stand to be corrected)*." CreationDate="2011-04-11T09:11:42.730" UserId="688" />
  <row Id="14621" PostId="11059" Text="Wow!!! You're the savior... Thanks a lot.. Can't express the gratefulness in words.. You saved me from formatting." CreationDate="2011-04-11T09:30:56.373" UserId="4335" />
  <row Id="14622" PostId="11064" Score="2" Text="Based on the Here String: read a1 a2 a3 &lt;&lt;&lt; $(echo one two three)" CreationDate="2011-04-11T09:45:42.870" UserId="173" />
  <row Id="14624" PostId="11046" Text="@Gilles: Sorry, I didn't actually try to edit your post. Suggested edit submitted now." CreationDate="2011-04-11T10:00:18.793" UserId="4671" />
  <row Id="14625" PostId="11057" Text="related: http://unix.stackexchange.com/questions/2692/what-is-the-smallest-possible-linux-implementation" CreationDate="2011-04-11T10:02:45.900" UserId="863" />
  <row Id="14626" PostId="11067" Text="I don't understand. Do you want the output to go to stdout?" CreationDate="2011-04-11T10:03:23.997" UserId="688" />
  <row Id="14627" PostId="11067" Text="@Tshepang: I think he wants to write back to the same file." CreationDate="2011-04-11T10:04:56.183" UserId="4671" />
  <row Id="14628" PostId="11067" Text="@Faheem, that is correct." CreationDate="2011-04-11T10:14:13.560" UserId="6484" />
  <row Id="14629" PostId="11067" Text="&quot;in situ&quot; is a Latin phrase meaning &quot;in place&quot;. Literally, &quot;in position&quot;." CreationDate="2011-04-11T10:16:12.590" UserId="4671" />
  <row Id="14630" PostId="11064" Text="Thanks a lot. I didn't know about the `&lt;&lt;&lt; Here String` " CreationDate="2011-04-11T10:26:16.987" UserId="6479" />
  <row Id="14631" PostId="10823" Text="PS.. as general info.. I've just discovered that `less` can accept colorized text input ( nice :) ...eg: `tree -C ~/ |less -R` or `ls -lR --color=always . |less -R`" CreationDate="2011-04-11T10:27:19.637" UserId="2343" />
  <row Id="14632" PostId="11058" Score="1" Text="I'm developing software for Unity on a 4 gigabyte USB disk, it runs Ubuntu 11.04 perfectly well, and even after a few weeks of upgrades, I have about 1.5gb of free space. :-)" CreationDate="2011-04-11T10:30:28.420" UserId="2939" />
  <row Id="14633" PostId="11058" Text="@Tshepang - done :-)" CreationDate="2011-04-11T10:38:35.233" UserId="3046" />
  <row Id="14634" PostId="11067" Score="1" Text="In that case, the question should be clearer, something like *is there a way to modify a file in-place*?" CreationDate="2011-04-11T10:43:25.663" UserId="688" />
  <row Id="14635" PostId="10516" Score="1" Text="It was the DNS lookup, as suspected. In my `/etc/nsswitch.conf` I had to change: `hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4` to `hosts: files dns`." CreationDate="2011-04-11T10:54:49.240" UserId="2654" />
  <row Id="14637" PostId="11060" Score="2" Text="-1 LFS is not easy, and it's bound to confuse anyone who has no experience in using GNU/Linux." CreationDate="2011-04-11T11:19:55.180" UserId="3038" />
  <row Id="14638" PostId="11055" Text="Abstractions galore! ...interesting... (and all sired by the humble punchcard :) ... +1 for explaining where LVM fits into the general picture" CreationDate="2011-04-11T11:22:05.103" UserId="2343" />
  <row Id="14639" PostId="11060" Text="@André Paramés: it's still a proper point matcheek makes. +1" CreationDate="2011-04-11T11:25:17.793" UserId="5462" />
  <row Id="14640" PostId="10821" Text="@penguin359: alrighty, neither `sudo /sbin/ifdown -a &amp;&amp; sudo /sbin/ifup -a` nor `sudo /sbin/dhclient` seemed to have any effect. `ifconfig` still returned the same results, and the VM was still inaccessible over the network." CreationDate="2011-04-11T11:25:23.037" UserId="5646" />
  <row Id="14641" PostId="11058" Text="Really guys? What machines did you use? I was trying to get an old laptop running with Debian Squeeze and it complained at the beginning about only 32M of RAM and indeed failed later to get it into a bootable state. It may be helpful to give such actual numbers when telling about how small you can go ..." CreationDate="2011-04-11T11:27:53.877" UserId="5462" />
  <row Id="14643" PostId="11058" Score="2" Text="32MB RAM is 8 times less than the specs being discussed here. Ubuntu's official line is 256MB IIRC for a standard install." CreationDate="2011-04-11T11:33:03.993" UserId="2279" />
  <row Id="14644" PostId="11067" Text="The only things you can do with a file is to overwrite some bytes in place (i.e. overwrite byte position X with a new byte value), append to it (i.e. write after the existing bytes) and to truncate it (i.e. remove everything after position Y). You can't insert or remove bytes in the middle. So you'll need a specialized tool for your particular task, that moves data around as it finds chunks to delete." CreationDate="2011-04-11T11:43:49.980" UserId="885" />
  <row Id="14645" PostId="11067" Text="@Tshepang, &quot;in situ&quot; is a fairly common phrase used in English to describe exactly that - I thought the title was fairly self explanatory... @Gilles, I figured as much, easier to wait for more disk space! ;)" CreationDate="2011-04-11T11:48:51.643" UserId="6484" />
  <row Id="14646" PostId="11072" Text="interesting, will this temp file need to be the same size as the original though?" CreationDate="2011-04-11T11:50:34.183" UserId="6484" />
  <row Id="14647" PostId="11060" Text="@STATUS_ACCESS_DENIED: I don't agree, LFS is not an OS, it's a guide to build them. It doesn't answer the actual question and it will probably confuse OP." CreationDate="2011-04-11T11:53:08.150" UserId="3038" />
  <row Id="14649" PostId="11060" Text="@André Paramés: well, the question wasn't for a ready-to-use distro. So we keep disagreeing :o)" CreationDate="2011-04-11T11:55:27.257" UserId="5462" />
  <row Id="14650" PostId="11060" Text="@STATUS_ACCESS_DENIED Yes, but the question was about &quot;trying&quot; UNIX/Linux. Talk about heads first!" CreationDate="2011-04-11T12:19:17.453" UserId="6490" />
  <row Id="14651" PostId="11043" Text="@fred.bear: That one was a genuine typo, and a nasty one. Thanks for spotting it!" CreationDate="2011-04-11T12:22:21.467" UserId="885" />
  <row Id="14652" PostId="11060" Text="@Jacob: the educational value would be tremendous. I understand your point, though :)" CreationDate="2011-04-11T12:24:22.557" UserId="5462" />
  <row Id="14653" PostId="11070" Text="The MX510 had no adjustable resolution. Those two buttons you're talking about had a totally different function on the MX-510 (I know both mice, MX-510 and MX-518)." CreationDate="2011-04-11T12:41:00.063" UserId="1290" />
  <row Id="14655" PostId="11067" Text="That's if you dont mind screwing the file with your edit.  Otherwise you'd better take a backup.  And if you have a backup, you don't need to do it in-place...  If you're short on disk space, you may try making a compressed backup." CreationDate="2011-04-11T12:54:26.187" UserId="1946" />
  <row Id="14656" PostId="11072" Score="1" Text="Yes, so that's probably no good." CreationDate="2011-04-11T13:00:22.797" UserId="4776" />
  <row Id="14657" PostId="789" Text="Works well with NFS (for sharing the actual files)" CreationDate="2011-04-11T13:04:00.703" UserId="4776" />
  <row Id="14658" PostId="11074" Text="I wanted to see if I could get away without writing something for it! :) I guess this will do the trick! Thanks!" CreationDate="2011-04-11T13:06:36.507" UserId="6484" />
  <row Id="14659" PostId="11072" Score="2" Text="This is not what the OP is asking for since it creates a second file." CreationDate="2011-04-11T13:15:30.933" UserId="4194" />
  <row Id="14660" PostId="11074" Text="+1 for C; does seem to work, but I see a potential problem: the file is being read from the left side at the time as the right is writing to the same file and unless you coordinate the two processes, you would have overwrite problems potentially on the same blocks.  It might be better for the file integrity to use smaller block size since most of the core tools will likely use 8192.  This might slow down the program enough to avoid conflicts (but cannot guarantee). Maybe read larger portions into memory (not all) and write in smaller blocks.  Could also add a nanosleep(2)/usleep(3)." CreationDate="2011-04-11T13:15:49.140" UserId="4194" />
  <row Id="14661" PostId="11074" Score="2" Text="@Arcege: Writing is not done in blocks. If your read process has read 2 bytes and your write process writes 1 byte, only the first byte will change and the read process can continue reading at byte 3 with the original contents at that point unchanged. Since `grep` will not output more data than it reads, the write position should always be behind the read position. Even if you are writing at the same rate as reading, it will still be ok. Try rot13 with this instead of grep, and then again. md5sum the before and after and you'll see its the same." CreationDate="2011-04-11T13:45:54.350" UserId="1078" />
  <row Id="14662" PostId="10829" Text="@ultrasawblade +1 it was my next question =)" CreationDate="2011-04-11T13:50:36.487" UserId="3608" />
  <row Id="14663" PostId="10833" Text="For the line `od -t test` I got `od: invalid character 't' in type string 'test'`" CreationDate="2011-04-11T13:52:48.747" UserId="3608" />
  <row Id="14664" PostId="10833" Text="It worked with `--t`" CreationDate="2011-04-11T13:53:57.530" UserId="3608" />
  <row Id="14665" PostId="11081" Score="1" Text="what specific version of UNIX are you using and what is the output of echo $TERM ?" CreationDate="2011-04-11T14:09:18.057" UserId="36" />
  <row Id="14666" PostId="11081" Text="Red Hat Linux / BSD Cal." CreationDate="2011-04-11T14:20:28.220" UserId="872" />
  <row Id="14667" PostId="10833" Text="@Tom: Maybe a different Unix/Linux flavor? My od is: `od --version&#xA;od (GNU coreutils) 7.4`&#xA;" CreationDate="2011-04-11T15:01:38.773" UserId="4485" />
  <row Id="14668" PostId="11090" Text="I think you meant to say &quot;do not login as root&quot;. :-)" CreationDate="2011-04-11T15:16:38.647" UserId="4671" />
  <row Id="14669" PostId="11081" Text="&quot;BSD Cal&quot; is the output of echo $TERM ?" CreationDate="2011-04-11T15:21:02.613" UserId="36" />
  <row Id="14670" PostId="11084" Text="so you're using gnome? try to write less of a novel..." CreationDate="2011-04-11T15:21:51.623" UserId="1952" />
  <row Id="14671" PostId="11084" Score="1" Text="Was there something in particular you didn't follow? I'll highlight the question so those who struggle to read *novels* can skip over the fluff and go straight to the question." CreationDate="2011-04-11T15:24:10.063" UserId="6498" />
  <row Id="14672" PostId="11044" Text="@Mikel: yes, this is correct. Thanks!" CreationDate="2011-04-11T15:34:36.377" UserId="4249" />
  <row Id="14673" PostId="11090" Text="the question is &quot;What horrible mistakes should I avoid as a newb?&quot; the mistake is &quot;login as root&quot;." CreationDate="2011-04-11T15:35:48.593" UserId="1135" />
  <row Id="14674" PostId="10767" Text="Thanks so much for your thorough explanation - it turns out that I was putting in the wrong username. Everything seems to be working now." CreationDate="2011-04-11T15:41:58.993" UserId="5286" />
  <row Id="14675" PostId="11085" Text="Hard To Say, could you post the content of your xorg.conf file(s)?  &#xD;&#xA;It appears you are running as the 'root' user, is there a reason for this?" CreationDate="2011-04-11T15:08:29.763" UserId="6501" />
  <row Id="14676" PostId="11071" Text="I wouldn't recommend Lubuntu. For the amount of space that you're going to save, you might as well just use Ubuntu - everything actually works out of the box." CreationDate="2011-04-11T15:46:32.127" UserId="5286" />
  <row Id="14677" PostId="11088" Score="1" Text="I suspect this will lead to some disagreement, but I'm going to close this; &quot;please make a list of everything not to do on a *nix machine&quot; is massively broad and not very helpful -- people aren't going to consult this list before running commands" CreationDate="2011-04-11T15:50:27.913" UserId="73" />
  <row Id="14678" PostId="11098" Score="1" Text="After doing some googling, I found I can use `fuser -fu` on the file to find out who is using the file. root is still using it, but I can't see it when running `ps -ef`. Any ideas why these files are left behind?" CreationDate="2011-04-11T16:13:44.487" UserId="6502" />
  <row Id="14679" PostId="11085" Text="@Chris2048 I'm running as root right now because I'm still setting up the system. There is no other special reason." CreationDate="2011-04-11T16:33:33.663" UserId="3413" />
  <row Id="14680" PostId="11095" Text="Is there a list of commonly needed programs I should install? I would usually just emerge x11-base/xorg-x11 and get xterm and friends. " CreationDate="2011-04-11T16:36:01.743" UserId="3413" />
  <row Id="14681" PostId="11060" Text="You can do this, it's interesting, but not necessary here, so doesn't fit to the question. " CreationDate="2011-04-11T16:45:00.127" UserId="4485" />
  <row Id="14682" PostId="11071" Text="I can recommend xUbuntu, but won't think other decisions bad. 512 MB is much and could be enough, even for (K)Ubuntu, but it might  get slowly, from update to update, a little weak." CreationDate="2011-04-11T16:48:32.057" UserId="4485" />
  <row Id="14683" PostId="11058" Text="@STATUS_ACCESS_DENIED: I set up some Ubuntu flavors in the last few years. If you like to run Firefox + Thunderbird + OpenOffice simultaneously, you should plan in the direction of 512 MB. Less than 256 MB will not be a fine experience. Then you can go with Opera and Abiword, but a lot of people need a heavyweight office suite." CreationDate="2011-04-11T16:53:39.507" UserId="4485" />
  <row Id="14685" PostId="11088" Text="I don't think so. Many people have a general fear of doing something wrong in this unspecific manner, since Unix/Linux is often 'advertised' as expert system. Let's show them a way how to deal rationally with the doubt. " CreationDate="2011-04-11T16:59:36.630" UserId="4485" />
  <row Id="14686" PostId="11081" Text="$TERM is linux." CreationDate="2011-04-11T17:10:37.797" UserId="872" />
  <row Id="14687" PostId="11099" Text="yes, `ps -ef` does show defunct processes and there is one on the machine. I am running ps as root. The man page says `ps -e` should show all processes.  Looks like I should talk to the makers of the program to see why the process is going defunct. [This](http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=702079&amp;admit=109447626+1302541855906+28353475) was informative. Thanks!" CreationDate="2011-04-11T17:15:37.693" UserId="6502" />
  <row Id="14688" PostId="10965" Text="Sorry Gilles.  I haven't probed too deeply into this one(still a FreeBSD n00b, although I do have gnome/flash on native firefox/general multimedia working)." CreationDate="2011-04-11T17:33:29.600" UserId="3397" />
  <row Id="14689" PostId="10997" Text="Thanks.  I was using portsnap/portupgrade/portaudit.  I hadn't looked into portmaster.  The relevant example/switch was --list-origins." CreationDate="2011-04-11T17:34:51.483" UserId="3397" />
  <row Id="14690" PostId="10996" Text="Why `sudo su - bob` instead of just `sudo -s -u bob`?" CreationDate="2011-04-11T17:37:51.573" UserId="3886" />
  <row Id="14691" PostId="11070" Text="I see. Well one of the two programs I mentioned may be able to map them then." CreationDate="2011-04-11T17:52:05.233" UserId="5535" />
  <row Id="14692" PostId="10162" Text="+1 to that.  There would be MANY intricacies to tracking a hot-patched kernel and what hot-patches were applied.  And it doesn't even begin to touch what happens if even a non-hotpatched system would have crashed on a kernel upgrade(panic,fail to boot, etc).  I like having the fall-back option...I don't know if ksplice duplicates the running kernel as a backup or not." CreationDate="2011-04-11T17:57:38.570" UserId="3397" />
  <row Id="14693" PostId="11095" Text="You might want to install a Desktop Environment like KDE, GNOME, or Xfce. Other common X11 programs are a browser (e.g. Chrom[e|ium], Firefox) The [Gentoo Documentation Resources](http://www.gentoo.org/doc/en/list.xml?desc=1) and the [Gentoo Wiki](http://en.gentoo-wiki.com/wiki/Main_Page) are good resources." CreationDate="2011-04-11T18:05:05.010" UserId="2270" />
  <row Id="14694" PostId="11095" Text="@Ramon Marco Navarro I already have GNOME installed, but can't start it until I can get Xorg to work.  Those two links saved me countless times over the years, but they are sometimes a bit out of date (and they didn't mention that xterm has to be installed by hand now). " CreationDate="2011-04-11T18:11:01.823" UserId="3413" />
  <row Id="14695" PostId="11089" Score="1" Text="I make a habit of adding the flags *after* the directory (e.g. `rm /some/dir -rf`) so that `rm -rf /some/obsolete/directory` doesn't get turned into `rm -rf /` by an accidental press of the `Enter` key.  Not sure how universally this can be done." CreationDate="2011-04-11T18:17:51.353" UserId="1535" />
  <row Id="14696" PostId="11092" Text="Well, considering that the worst-case scenario is a cold shutdown without much chance of file corruption, I wouldn't call it one of the worst things you can do, but it's a PITA, yeah.  I don't consider the suggestion worth a downvote, in any case." CreationDate="2011-04-11T18:21:42.270" UserId="1535" />
  <row Id="14697" PostId="11096" Text="I usually go with `sudo sfdisk -l`, which works as long as you can identify the disk based on the partition layout." CreationDate="2011-04-11T18:22:43.767" UserId="1535" />
  <row Id="14698" PostId="11043" Text="Thanks, I had tried putting the `--include` first, but the &quot;./&quot; in front of the &quot;./.htaccess&quot; was what was killing it." CreationDate="2011-04-11T18:26:16.543" UserId="5840" />
  <row Id="14699" PostId="11095" Text="Try creating `~/.xinitrc` containing `exec ck-launch-session gnome-session`, then run `startx`." CreationDate="2011-04-11T18:31:33.763" UserId="2270" />
  <row Id="14700" PostId="11093" Text="These are very general tips, I was aiming for something a bit more concrete." CreationDate="2011-04-11T18:36:29.923" UserId="1594" />
  <row Id="14701" PostId="11093" Text="There are hundrets of things, which could be wrong and 100*100 if you combine two of them. But for many of them, one of the above might be a solution or stop your losses." CreationDate="2011-04-11T18:39:27.050" UserId="4485" />
  <row Id="14702" PostId="11071" Text="Xubuntu is really the only one of these that makes sense. The others are more &quot;Running it off a floppy&quot; small." CreationDate="2011-04-11T18:45:51.103" UserId="6246" />
  <row Id="14703" PostId="11076" Text="I guess that's sort of my question. I don't necessarily need an IDE per se (as in with all of its features). But what I want to be able to see is where kernel macros are defined, code completion, and things like that. When projects start reaching tens of thousands of files with compile time dependencies and conditional defines, it's extremely hard to keep thing straight using vim." CreationDate="2011-04-11T18:47:02.953" UserId="1571" />
  <row Id="14704" PostId="11092" Text="Considering the thing the questioner did, I thought putting up forkbomb in the list would be good. Dunno why someone would downvote it. :)" CreationDate="2011-04-11T18:49:42.437" UserId="4335" />
  <row Id="14705" PostId="11103" Text="I have a line `* * * * * /usr/bin/chromium-browser` in crontab. According to manual it should run every minute but nothing is running." CreationDate="2011-04-11T19:12:58.243" UserId="6215" />
  <row Id="14706" PostId="11103" Text="Is it difficult to write such a script? Should I ask another question or could it be written here?" CreationDate="2011-04-11T19:13:53.827" UserId="6215" />
  <row Id="14707" PostId="11103" Text="Cron jobs don't have a terminal so I would expect the browser to fail.  It may do so silently." CreationDate="2011-04-11T19:14:58.780" UserId="4520" />
  <row Id="14708" PostId="11092" Text="@Dharmit - quote from your link: Properly configured Linux / UNIX box should not go down when fork() bomb sets off. It's a good load test, but not fatal." CreationDate="2011-04-11T19:16:37.233" UserId="3046" />
  <row Id="14709" PostId="11103" Text="My cron logs are located in /var/log/cron for derivatives of redhat, ie. fedora, centos etc. It also may help for you to describe exactly what you are trying to do so people have a full picture of what is going on." CreationDate="2011-04-11T19:17:23.573" UserId="6472" />
  <row Id="14710" PostId="11084" Text="Your distribution doesn't actually matter, what matters is your window manager or desktop environment (i.e. the GUI part of the system), which by default in Ubuntu is Gnome. Are you willing to change to another desktop environment (it may broaden your choices)? Also, what do tasks do you do with taskbars/panels? (This is both for the benefit of people who know neither Windows nor Gnome, and in case someone has a partial replacement to offer.)" CreationDate="2011-04-11T19:40:07.210" UserId="885" />
  <row Id="14711" PostId="11099" Score="2" Text="@user6502: Make sure you read the last posting there. Your problem is not from a defunct process, it's from a live process that's linked with these libraries (they aren't executables, they're shared libraries, so `ps` won't help). `lsof` should tell you what these processes are." CreationDate="2011-04-11T19:50:31.417" UserId="885" />
  <row Id="14712" PostId="11084" Text="I'd be happy to try a different window manager if it means i can use an app or hack to manage tasks on a particular window from a panel(taskbar) on that screen, but using two screens(ie. what Ultramon does on Windows). Tasks, watching movies, browsing the web, writing code, running a local server for web dev, email, remote desktop connections, chat, general stuff...." CreationDate="2011-04-11T19:51:20.963" UserId="6498" />
  <row Id="14713" PostId="11088" Score="1" Text="Avoid the mistakes mentioned in [What are your favorite *painful* Unix moments.](http://unix.stackexchange.com/questions/502/what-are-your-favorite-painful-unix-moments)" CreationDate="2011-04-11T19:52:20.573" UserId="885" />
  <row Id="14714" PostId="11084" Text="In short, i'd like to avoid managing two screens worth of windows/tasks from one screen panel(taskbar)... " CreationDate="2011-04-11T19:52:41.697" UserId="6498" />
  <row Id="14715" PostId="11106" Text="When I write `ps aux | grep chrom` after a minute I can't see chromium-browser running." CreationDate="2011-04-11T19:53:24.527" UserId="6215" />
  <row Id="14716" PostId="11058" Text="@tobyodavies: fair point. Rory's comment, however, sounded like &quot;much lower specced&quot; than discussed here. And I was trying to get the point across, that much lower than that won't even fly with some of the distros that are considered rather lean (like Debian)." CreationDate="2011-04-11T19:57:35.800" UserId="5462" />
  <row Id="14717" PostId="11082" Text="There are many variants of `cal`, for example all three BSDs have different features. This isn't a bug in dogbane's cal, just a different implementation." CreationDate="2011-04-11T19:59:42.613" UserId="885" />
  <row Id="14718" PostId="11107" Score="4" Text="I smell an [MTU problem](http://unix.stackexchange.com/questions/4261/cant-access-select-https-sites-on-linux-over-pppoe/4319#4319). Read my answer there to see an explanation. If you need help fixing the problem, you'll need to give more information about your setup." CreationDate="2011-04-11T20:04:26.527" UserId="885" />
  <row Id="14719" PostId="11003" Text="For navigating the Linux kernel specifically, [LXR (online Linux cross-reference)](http://lxr.linux.no/linux/) is very helpful. For Android, Eclipse is the preferred IDE, so the authors have spent some energy making things work well with it." CreationDate="2011-04-11T20:09:46.587" UserId="885" />
  <row Id="14720" PostId="11065" Text="If you have a filesystem that supports [ACLs](http://en.wikipedia.org/wiki/Access_control_list), you don't need to use a group (and in particular you don't need any root intervention). But this doesn't solve the issue of sharing the tmux *configuration*, does it?" CreationDate="2011-04-11T20:15:26.427" UserId="885" />
  <row Id="14721" PostId="11063" Text="possible duplicate of [Why is my variable being localized in one 'while read' loop, but not in another seemingly similar loop.](http://unix.stackexchange.com/questions/9954/why-is-my-variable-being-localized-in-one-while-read-loop-but-not-in-another-s)" CreationDate="2011-04-11T20:16:32.667" UserId="885" />
  <row Id="14722" PostId="10961" Text="Tiny core looks nice I will give it a try." CreationDate="2011-04-11T20:26:17.510" UserId="4807" />
  <row Id="14723" PostId="11110" Text="possible duplicate of [ls command: what does the first line mean?](http://unix.stackexchange.com/questions/4109/ls-command-what-does-the-first-line-mean)" CreationDate="2011-04-11T20:46:21.030" UserId="885" />
  <row Id="14724" PostId="11074" Score="1" Text="Nice. This may be a valuable addition to Joey Hess's [moreutils](http://kitenet.net/~joey/code/moreutils/). You [can use `dd`](http://unix.stackexchange.com/questions/11067/is-there-a-way-to-filter-a-file-in-place/11114#11114), but it's cumbersome." CreationDate="2011-04-11T21:24:20.327" UserId="885" />
  <row Id="14725" PostId="10821" Score="1" Text="@Paul Sounding more like a VMware issue now.  Anything from the kernel log? `dmesg | tail`" CreationDate="2011-04-11T22:08:11.897" UserId="6167" />
  <row Id="14726" PostId="11116" Text="Thanks, I did end up using `fdisk` and it was a lot easier than `parted`. I did create a primary partition, as that's all I really needed. Thanks for the help with `parted`, though, I just assumed it would be easier to specify the size of the drive, as per `fdisk`, which defaulted to using all the space. " CreationDate="2011-04-11T22:41:49.957" UserId="5614" />
  <row Id="14727" PostId="10718" Text="I suppose that you already follow the procedure described [here](http://dev.gentoo.org/~vapier/s390/) in the &quot;Networking Configuration&quot; chapter. What was the result? " CreationDate="2011-04-11T22:46:33.087" UserId="6261" />
  <row Id="14728" PostId="11109" Text="you did load the module, didnt you?" CreationDate="2011-04-11T23:28:41.240" UserId="3041" />
  <row Id="14729" PostId="10961" Text="Thanks, micro worked great. " CreationDate="2011-04-11T23:41:06.887" UserId="4807" />
  <row Id="14730" PostId="11116" Text="@Gilles Out of curiosity, why do you advocate creating an extended+logical partition, over simply creating a primary partition? If you're just putting one big partition across the entire disk and thus don't need 5+ partitions (as made possible by the extended partition) I just don't see any point to doing it this way over just `mkpart primary 0 123456`. Not trying to start a discussion on this, just seeking clarification of your answer." CreationDate="2011-04-11T23:48:42.607" UserId="6208" />
  <row Id="14731" PostId="11118" Text="This started very simple but quickly got complex as I just layered options on. I went ahead anyway and tested your command again but I still get access denied. " CreationDate="2011-04-11T23:51:10.103" UserId="2630" />
  <row Id="14732" PostId="11109" Text="yeah.  a couple of times, rmmod insmod, depmod -a, et cetera" CreationDate="2011-04-11T23:56:26.843" UserId="6027" />
  <row Id="14733" PostId="11116" Text="@Kromey: I don't advocate a logical partition, I'm just focusing on it because that's what the question requested. In fact I advocated using a primary partition; hopefully my edit makes this a bit clearer." CreationDate="2011-04-12T00:01:37.933" UserId="885" />
  <row Id="14734" PostId="11123" Text="Maybe Ubuntu is packing a very out-dated mount (2.17.2 according to `mount -V`), but that command didn't work (and according to the man page, you cannot change mount options as part of the bind command). However, I did have success (after going through the man page for the fiftieth time) doing `mount --bind /var/smb/snapshots /var/smb/test` followed by `mount -o remount,ro /var/smb/test`. (Obviously this was a test, if you couldn't tell by my lovely directory names!)" CreationDate="2011-04-12T00:07:04.370" UserId="6208" />
  <row Id="14735" PostId="11001" Text="@felix over a year now. I had far more problems with ubuntu, which is what came on this computer. Though I did have that weird broken perl problem..." CreationDate="2011-04-12T00:08:56.573" UserId="29" />
  <row Id="14736" PostId="11116" Text="@Gilles Sorry, I must have mis-read both question _and_ answer, unless your edit was to add the &quot;not&quot; in front of &quot;making it primary&quot;." CreationDate="2011-04-12T00:09:19.343" UserId="6208" />
  <row Id="14737" PostId="10987" Text="@James I get tired of trying to help people help themselves, I could (probably should) just edit your question... but I'll let the answer's your getting speak for themselve's. Your question is too long, contains more than 1 question, contains a bunch of rambling. Just ask what you need to know and that's it, no one cares about the rest. The only time anyone asks *why* is when what you're doing seems like a really bad idea." CreationDate="2011-04-12T00:14:16.940" UserId="29" />
  <row Id="14738" PostId="11123" Text="That's strange: mount 2.13.1 happily creates a read-only bind mount on a 2.6.32 kernel (Debian squeeze), and I remember it could on 2.6.26 too (lenny). The man page was correct once but needs updating." CreationDate="2011-04-12T00:19:58.470" UserId="885" />
  <row Id="14739" PostId="11123" Text="I've tried every permutation of the bind and ro options I could think of (incidentally, &quot;bind&quot; is not a valid option to -o, but is a valid switch as --bind or -B), but got nowhere with that. Kernel 2.6.35 (Ubuntu Maverick Meercat). Maybe Debian has an entirely different mount command? But Ubuntu is based on Debian, so that doesn't seem likely. That's a really weird place to find a difference in these two distros..." CreationDate="2011-04-12T00:34:09.260" UserId="6208" />
  <row Id="14740" PostId="11123" Text="@Kromey: I've just tested on Ubuntu 10.04, and `mount -o bind,ro` doesn't work there either. So I guess this is a Debian patch after all!" CreationDate="2011-04-12T00:47:14.793" UserId="885" />
  <row Id="14741" PostId="11124" Text="I observe the same (rather confusing!) behavior as you on Ubuntu 10.04." CreationDate="2011-04-12T00:49:01.407" UserId="885" />
  <row Id="14742" PostId="11123" Text="I'm accepting your answer on this one since a) it's (apparently, I can't verify it myself) valid for Debian (and likely others as well), and b) it directly lead me to finding the solution on Ubuntu. However, for future folks reading this one, **Gilles' answer won't work on Ubuntu**, and you'll instead need my answer." CreationDate="2011-04-12T00:57:45.760" UserId="6208" />
  <row Id="14743" PostId="11067" Text="I don't have a solution, but I [this blog posting](http://backreference.org/2011/01/29/in-place-editing-of-files/) talks about the in-place editing function of things like perl and sed and how they actually create a temp file. &#xA;&#xA;More importantly, it talks about all the things NOT to do and why not to do them, going in to great technical depth." CreationDate="2011-04-12T00:59:46.377" UserId="3852" />
  <row Id="14744" PostId="11118" Text="Also, try `ssh quackgame:/home game-home`  Can you post the output of `ls -ld game-home`, `ssh quackgame id`, and `ssh quackgame ls -ld /home/game`" CreationDate="2011-04-12T01:00:05.180" UserId="6167" />
  <row Id="14745" PostId="10981" Score="1" Text="@Tshepang - As far as I can tell, fallback mode always has two panels, which are set up the same as the defaults in GNOME 2. Panels can't be removed, the taskbar can't be moved to the top panel, and the workspaces thing can't be turned off." CreationDate="2011-04-12T02:10:59.537" UserId="6246" />
  <row Id="14746" PostId="67" Text="@Falmarri The real strength of these commands is that they are shell-agnostic - they work in /bin/sh, not just bash. That doesn't really matter nowadays, but it's something." CreationDate="2011-04-12T02:20:09.340" UserId="6517" />
  <row Id="14747" PostId="11118" Text="@penguin Posted output in edit. Strange how the folder is owned by root when mounting the folder" CreationDate="2011-04-12T02:27:20.580" UserId="2630" />
  <row Id="14748" PostId="10996" Text="Hmm I guess it's just a habit :)" CreationDate="2011-04-12T02:29:56.990" UserId="250" />
  <row Id="14749" PostId="11081" Text="What version of Red Hat and cal, e.g. `cat /etc/redhat-release` and `rpm -q util-linux`.  This works out of the box on recent versions of Ubuntu and Fedora, so presumably you are using an old version." CreationDate="2011-04-12T02:57:27.087" UserId="3169" />
  <row Id="14750" PostId="11088" Text="@Gilles Ah, there it is; I thought we had a similar post from the early days, but I couldn't find it" CreationDate="2011-04-12T03:11:16.017" UserId="73" />
  <row Id="14751" PostId="11135" Text="Thanks for ur reply, but I don't want to shrink the partition but the filesystem image(vdi) of the guest. " CreationDate="2011-04-12T03:33:20.937" UserId="5763" />
  <row Id="14752" PostId="11054" Text="Perfect!  Thank you very much.  (It may also be worth noting that, on OS X at least, core dumps get stored to the /cores directory.)" CreationDate="2011-04-12T03:34:00.447" UserId="6476" />
  <row Id="14753" PostId="11109" Text="great to hear it works now :)  ...does it work including touch and buttons?" CreationDate="2011-04-12T03:53:08.340" UserId="3041" />
  <row Id="14754" PostId="11109" Text="almost?  The touch is really odd, for some reason it's always right clicking, whether I want it to or not.. If you try to use it as a trackpad and 'pick up' your finger the cursor jumps.  It's a poor substitute for a mouse without the pen." CreationDate="2011-04-12T03:58:28.990" UserId="6027" />
  <row Id="14755" PostId="11070" Text="lmctl is long dead. The subsequent project, [lomoco], seems to be unmaintained, somewhat at the moment, yet it still sees development. However, I don't seem able to build the cloned build repo. The release is so old, it won't compile." CreationDate="2011-04-12T04:23:47.247" UserId="1290" />
  <row Id="14756" PostId="11073" Score="1" Text="Eclipse is too unreliable when using that for larger projects. Java developers stick to it, because there's little alternatives around." CreationDate="2011-04-12T04:29:34.607" UserId="1290" />
  <row Id="14757" PostId="11140" Text="Thank you for that link. :)" CreationDate="2011-04-12T05:47:37.023" UserId="5770" />
  <row Id="14758" PostId="11143" Text="I don't think &quot;all yes&quot; is a good idea, since there are options that conflict with one another. The people who compile kernels for distribution have to choose very carefully to include support for most (but not all) hardware. You have to do the same and choose options for your hardware." CreationDate="2011-04-12T06:02:24.180" UserId="250" />
  <row Id="14759" PostId="10270" Text="Thanks for this Kambus. I've been using `cuebreakpoints file.cue | shnsplit -o flac file.flac` for a long time. The 2nd bit is going to help a lot!" CreationDate="2011-04-12T06:44:01.073" UserId="5770" />
  <row Id="14760" PostId="11148" Text="Where in the filesystem did you do your changes?" CreationDate="2011-04-12T06:59:18.947" UserId="688" />
  <row Id="14761" PostId="11067" Text="@Nim: Well, I think *in-place* is more common than *in situ*." CreationDate="2011-04-12T07:07:22.810" UserId="688" />
  <row Id="14763" PostId="11058" Text="@STATUS - yep, fair point.I have had Suse and Red Hat run just about fine on less that 256MB, and I have Debian running on a 16MM machine in my car (but although you can play pac man on it, a word processor would be right out of the question)" CreationDate="2011-04-12T07:33:25.080" UserId="3046" />
  <row Id="14764" PostId="11147" Text="I can't see 3.0.0-1 on [your mirror](http://debian.mirror.ac.za/debian/pool/main/e/evolution-data-server/)." CreationDate="2011-04-12T07:39:21.827" UserId="3169" />
  <row Id="14765" PostId="11147" Text="Ah.  They're doing weird things for Gnome 3 so it doesn't overwrite Gnome 2.  e-d-s-common 3 is in `pool/main/e/evolution-data-server3` on your mirror." CreationDate="2011-04-12T07:45:18.467" UserId="3169" />
  <row Id="14766" PostId="11148" Text="most of the stuff is in home dir, so one thing that comes to my mind is to backup home dir, but I have installed and configured stuff like Apache so thats the trouble part :(" CreationDate="2011-04-12T07:54:06.670" UserId="5430" />
  <row Id="14767" PostId="11151" Text="But that **2.91.x** version was a development version leading to **3.0**. The last GNOME 2 versions are **2.32.x**" CreationDate="2011-04-12T08:04:38.063" UserId="688" />
  <row Id="14768" PostId="11081" Text="@Mikel Red Hat Enterprise Linux AS release 3 (Taroon Update 7) and util-linux-2.11y-31.11" CreationDate="2011-04-12T08:12:43.167" UserId="872" />
  <row Id="14769" PostId="10718" Text="No result at all. I've created file `/etc/ccwgroup.conf`, but `eth0` still not created and `grep -R 'ccwgroup\.conf' /etc/init.d` shows nothing." CreationDate="2011-04-12T08:18:42.070" UserId="3886" />
  <row Id="14770" PostId="10549" Text="@pjc50: Yes, the rest of my system is completely sane. `/etc/nsswitch.conf` looks perfectly ok, too." CreationDate="2011-04-12T08:42:14.850" UserId="5502" />
  <row Id="14771" PostId="10821" Text="@penguin359: sure, I guess it would be the most likely culprit. I can’t see anything that looks related to a networking issue via `dmesg`, although I’m not currently experiencing the issue, so I’ll check it again if/when it recurs. I’ve got a support call in with VMWare, so hopefully the problem will be found there and we can close this question off." CreationDate="2011-04-12T08:51:52.710" UserId="5646" />
  <row Id="14772" PostId="11151" Text="Don't ask me, ask the package maintainer." CreationDate="2011-04-12T09:42:30.207" UserId="3169" />
  <row Id="14773" PostId="11081" Text="Is installing the latest version from source an option?" CreationDate="2011-04-12T09:43:18.537" UserId="3169" />
  <row Id="14774" PostId="11081" Text="nope, as I don't have root access. I didn't think that searching for a date and surrounding it with a colour escape sequence would be that difficult. Surely grep or sed can do the job?" CreationDate="2011-04-12T09:55:56.877" UserId="872" />
  <row Id="14775" PostId="11019" Text="@phunehehe: one advantage of the smart version is u don't have to know in advance what the untarred directory name is" CreationDate="2011-04-12T10:00:55.467" UserId="688" />
  <row Id="14776" PostId="10821" Text="@penguin359: I checked `dmesg` after the issue occurred again after a restart, and I couldn’t see anything different from the previous session when the issue didn’t occur. As such, I reckon this is a VMWare issue. If you want to pop in a little answer to that effect, I’d be delighted to accept and upvote it, I really appreciate your help here." CreationDate="2011-04-12T10:10:04.297" UserId="5646" />
  <row Id="14777" PostId="11095" Text="Starting GNOME directly somehow solved the problem. " CreationDate="2011-04-12T10:47:02.093" UserId="3413" />
  <row Id="14778" PostId="11153" Text="my home dir is already on different partition, any tip :(" CreationDate="2011-04-12T11:04:28.673" UserId="5430" />
  <row Id="14779" PostId="11159" Text="Aha, that explains why it's been working so far. Thanks!" CreationDate="2011-04-12T11:10:31.663" UserId="3645" />
  <row Id="14780" PostId="11153" Text="That makes things easier then, meaning no need to back it up. Just install to the current root partition. Ensure that you select the Advanced option during the partitioning stage, and choose your `/home` to point to where your homedir is, and **make sure you leave it marked K (i.e. keep the data)**. I never lost data doing this on Debian through dozens of installations, but YMMV, so you might wanna back your home regardless :)" CreationDate="2011-04-12T11:11:59.383" UserId="688" />
  <row Id="14781" PostId="11144" Score="1" Text="Colored wdiff: `wdiff -w &quot;$(tput bold;tput setaf 1)&quot; -x &quot;$(tput sgr0)&quot; -y &quot;$(tput bold;tput setaf 2)&quot; -z &quot;$(tput sgr0)&quot; file1 file2`" CreationDate="2011-04-12T11:21:42.547" UserId="3645" />
  <row Id="14782" PostId="10900" Text="@shellter: `eval` is evil. It might work for simple arrays, but I wouldn't want to try to handle all the special strings which could break it." CreationDate="2011-04-12T11:41:27.437" UserId="3645" />
  <row Id="14783" PostId="11153" Text="Sounds good! I will back up my data before I do this." CreationDate="2011-04-12T11:48:36.077" UserId="5430" />
  <row Id="14784" PostId="11162" Text="@camh: Thanks for the answer. One request for clarification: when you say &quot;those re-created nodes will also work fine&quot; you are referring to &quot;the /dev/dm-X nodes&quot;, right? What do you mean by &quot;re-created&quot; here, and also, &quot;also work fine&quot; in what sense? Work fine for what? Excuse my slowness. I assume all the LVM devices are recreated from information stored in `/etc/lvm/archive`?" CreationDate="2011-04-12T12:10:17.947" UserId="4671" />
  <row Id="14785" PostId="11162" Text="I mean the nodes created by `vgscan --mknodes`. They aren't the original symlinks, but are the block dev nodes the symlinks would have pointed to. You should find, for example, that `/dev/olddebian/root` is a symlink to ../dm-3, which will have the same major:minor numbers as the re-created `/dev/mapper/olddebian-root`." CreationDate="2011-04-12T12:31:44.353" UserId="1078" />
  <row Id="14786" PostId="11163" Text="try `sed &quot;s#~/#/home/wolf/#g&quot; -ie ~/.rsync_file_list`" CreationDate="2011-04-12T12:35:40.153" UserId="2512" />
  <row Id="14787" PostId="11163" Text="@Andy: Alas, same result." CreationDate="2011-04-12T12:38:46.157" UserId="2333" />
  <row Id="14788" PostId="11153" Text="You mind responding to Shadur's alternative answer?" CreationDate="2011-04-12T12:47:33.513" UserId="688" />
  <row Id="14790" PostId="11073" Text="Have you used it with a large project without trouble?" CreationDate="2011-04-12T13:27:41.467" UserId="688" />
  <row Id="14791" PostId="11108" Text="Nope, didn't work." CreationDate="2011-04-12T13:30:06.950" UserId="6231" />
  <row Id="14792" PostId="11155" Text="its not only Udev thats troubling me, Java has gone mad as well. :(" CreationDate="2011-04-12T13:31:59.397" UserId="5430" />
  <row Id="14793" PostId="11166" Text="interesting, am reading this" CreationDate="2011-04-12T13:33:04.590" UserId="5430" />
  <row Id="14794" PostId="11153" Text="done, udev seems to be in place" CreationDate="2011-04-12T13:33:56.600" UserId="5430" />
  <row Id="14795" PostId="11108" Text="Are you getting any errors at all?" CreationDate="2011-04-12T14:56:08.997" UserId="6472" />
  <row Id="14796" PostId="11168" Text="why it doesn't load?" CreationDate="2011-04-12T14:57:52.647" UserId="76" />
  <row Id="14797" PostId="11108" Text="Not that I can see during boot.  Any logs I should check?" CreationDate="2011-04-12T15:07:44.113" UserId="6231" />
  <row Id="14798" PostId="11108" Text="I would look at where syslog routes your kernel facility, your info level logs." CreationDate="2011-04-12T15:27:15.617" UserId="6472" />
  <row Id="14799" PostId="11139" Text="I'm not sure what your question is exactly?  Is it... how is the timestamp (042612492005) generated?" CreationDate="2011-04-12T15:48:05.830" UserId="298" />
  <row Id="14800" PostId="11180" Text="No dice.  I tried it and got `writing /dev/adb: No such device or address`.  Thanks though." CreationDate="2011-04-12T17:47:49.250" UserId="6231" />
  <row Id="14801" PostId="11181" Text="Looks interesting. I only have to upgrade my firefox and there is only .tar.gz file (not debian package) so I have to backup first if something happened. It's good that this solution exists but split window would be better than new tab. ctrl-pageUp is similar as alt-tab. I will try it with [yubnub](http://yubnub.org/kernel/ls?args=split) split command if it helps." CreationDate="2011-04-12T17:49:17.720" UserId="6215" />
  <row Id="14802" PostId="10969" Text="Using Minecraft (which has a smaller icon) has confirmed that it is resizing to fit the icons." CreationDate="2011-04-12T17:53:29.317" UserId="131" />
  <row Id="14803" PostId="11181" Text="I tried FireSSH with yubnub, and it didn't work. Firefox does have the ability for add-ons to create side-bars (prime example: Firebug) so maybe you could ask the add-on's author to add this feature." CreationDate="2011-04-12T18:17:02.647" UserId="138" />
  <row Id="14804" PostId="11184" Text="Thank you. I'd like to achieve that always when I press the key between right alt and right ctrl (keycode 135) it will be the same as Ctrl+C (This is only example, I'd like to use more keys that aren't utilized on my keyboard and assign them shortcuts Ctrl+A, Ctrl+B, Ctrl+C etc., it doesn't matter what is the function (e.g. copy)). Could you achieve it with another program (xbindkeys, xmacro)?" CreationDate="2011-04-12T18:39:54.520" UserId="6215" />
  <row Id="14805" PostId="11181" Text="Good idea. If they would combine some firebug functionality with FireSSH functionality. Maybe it would be possible to code it, if chrome windows have this flexibility." CreationDate="2011-04-12T18:44:05.467" UserId="6215" />
  <row Id="14806" PostId="11003" Text="By Android, do you mean android java app development? Or android kernel/NDK development?" CreationDate="2011-04-12T19:10:54.513" UserId="1571" />
  <row Id="14807" PostId="11168" Text="no idea; probably broken" CreationDate="2011-04-12T19:15:59.077" UserId="688" />
  <row Id="14808" PostId="11172" Text="No one is stating the obvious... a &lt;defunct&gt; process owned by &quot;init&quot; should be impossible! This is  a very strange situtation!  Are you sure?" CreationDate="2011-04-12T19:17:43.443" UserId="576" />
  <row Id="14809" PostId="11185" Text="If this is only while you're debugging, have you considered something crazy like swap on an NFS file or a network block device?" CreationDate="2011-04-12T19:18:15.610" UserId="885" />
  <row Id="14811" PostId="11153" Text="@Kumar: Another thing you may want to keep is the list of installed packages. See [my answer to a related question](http://unix.stackexchange.com/questions/7364/how-do-i-migrate-configuration-between-computers-with-different-hardware/7401#7401)." CreationDate="2011-04-12T19:21:38.277" UserId="885" />
  <row Id="14812" PostId="11179" Text="Right now I'm trying to copy _from_ Google Docs, which doesn't seem to work." CreationDate="2011-04-12T19:22:56.747" UserId="1594" />
  <row Id="14813" PostId="11186" Text="That's great and yet more general solution than I was looking for. Could you recommend me something for the beginner with quick learning curve (and later I would try something more sophisticated)? I'm not using GNOME (I'm using XFCE). I have a small display 15&quot; so it would be great if the manager could turn off the graphical needlessness (the bar with name of the application, resizing buttons like _ [] x)." CreationDate="2011-04-12T19:23:02.720" UserId="6215" />
  <row Id="14814" PostId="11164" Score="1" Text="More information would be helpful. For instance, when you say dconf-editor can't view them, are you seeing errors? Do you think this is a bug with dconf-editor or is it just not used to view gsetting keys? Can it view normal keys, just not keys with multiple values? All of these are questions that would shed some light on your current question. Will using something like gconf overcome this problem? More detail will be infinitely useful. What are you trying to do, what exactly is failing etc." CreationDate="2011-04-12T13:11:35.223" UserId="6472" />
  <row Id="14815" PostId="11164" Text="@rfelsburg Good points. I have updated my post to clarify." CreationDate="2011-04-12T13:24:40.860" UserId="688" />
  <row Id="14816" PostId="11186" Text="@xralf: Tiling WMs are generally good at not wasting screen real estate. You'll find recommendations in the first question I link to." CreationDate="2011-04-12T19:27:34.950" UserId="885" />
  <row Id="14817" PostId="10032" Text="OK, this is quite sad, actually..." CreationDate="2011-04-12T19:30:10.190" UserId="1290" />
  <row Id="14818" PostId="11032" Text="I pipe the output of vdmfec to split (since files on VFAT are limited to 4GB, and my backups are significantly larger)." CreationDate="2011-04-12T19:42:02.837" UserId="6454" />
  <row Id="14819" PostId="11162" Text="@camh: Thanks for the clarification. I checked that what you say was correct for /dev/mapper/debian-video, which was one of my two intact symbolic links. :-) I just did a read about major/minor device numbers. Thanks for the educational answer." CreationDate="2011-04-12T19:59:15.107" UserId="4671" />
  <row Id="14820" PostId="11196" Text="Nice, which version of perl do I need to run this ?" CreationDate="2011-04-12T20:08:48.890" UserId="6534" />
  <row Id="14821" PostId="11148" Score="2" Text="If you told us what you actually messed up (or maybe I missed what you messed), maybe... well, I've yet to reinstall Debian just because I &quot;messed up&quot; (and I did make my share of mistakes)." CreationDate="2011-04-12T20:16:19.790" UserId="4206" />
  <row Id="14822" PostId="11196" Text="I use v5.10.1, I guess perl 5 is fairly common these days." CreationDate="2011-04-12T20:19:24.810" UserId="6536" />
  <row Id="14823" PostId="11196" Text="ya its 5.8.8 and it works, great, but I need a script that does what -B do" CreationDate="2011-04-12T20:24:46.350" UserId="6534" />
  <row Id="14824" PostId="11032" Text="@Rob: In that case, I recommend you look into `par2`. Briefly, `par2` works by running as a post-processing step on your large archive files. It creates a number of files containing redundancy codes that can be used to repair the original files, should they be corrupted. The number and size of the redundancy files is configurable." CreationDate="2011-04-12T20:29:21.420" UserId="4604" />
  <row Id="14826" PostId="11148" Score="1" Text="@jae: I was about to say the same thing! :-) Actually, I was about to suggest to the poster that he try to fix his system rather than reinstalling. He'd learn so much more that way... If I reinstalled every time I broke my system, I'd spend even more time on sysadmin than I do now. :-)" CreationDate="2011-04-12T20:33:33.903" UserId="4671" />
  <row Id="14827" PostId="11195" Text="This is cool, Works like charm, though I had to use -bitw option with this to make it work for windows generated files.  " CreationDate="2011-04-12T20:40:00.783" UserId="6534" />
  <row Id="14829" PostId="11200" Text="Its production box and Unfortunately I dont have enough privilege to install anything, and I cant risk it, though, thanks for this tip I will install it and try on my home laptop" CreationDate="2011-04-12T20:49:50.010" UserId="6534" />
  <row Id="14830" PostId="11199" Text="pretty lenghty oneliner, but, this file is very huge, so pushing lines into array in this case is a bad Idea, isnt it ?" CreationDate="2011-04-12T20:51:46.733" UserId="6534" />
  <row Id="14831" PostId="11199" Text="The `shift @A if push(@A,$_)&gt;7;` bit only keeps an array of maximum size 7 around. (that's your -A parameter). The second option keeps an incredibly small file around (just run the perl without the sed outer layer to see what is generated there), but it does read the file twice." CreationDate="2011-04-12T20:54:59.307" UserId="455" />
  <row Id="14832" PostId="11164" Text="BTW, gconf-editor also doesn't have this option." CreationDate="2011-04-12T20:59:26.803" UserId="688" />
  <row Id="14833" PostId="11122" Text="Could one do this using acl, perhaps? Off the top of my head, that seems a natural way to go, since acl is an extension of unix file permissions. Also, acl exists alongside standard unix permissions." CreationDate="2011-04-12T21:02:53.563" UserId="4671" />
  <row Id="14834" PostId="11208" Text="Is there a way of doing it in-place?" CreationDate="2011-04-12T21:02:56.940" UserId="688" />
  <row Id="14835" PostId="11198" Text="Holy crap, I can't believe I missed that. Really sorry! Thanks for the help" CreationDate="2011-04-12T21:03:08.367" UserId="2630" />
  <row Id="14836" PostId="11200" Text="@Prashant, you don't need root to install `ack` for your own use." CreationDate="2011-04-12T21:10:17.053" UserId="2421" />
  <row Id="14837" PostId="11150" Text="+1. @poleman: Use the config of a distribution kernel which is close in version but &lt;= the version you are trying to use from upstream, then tweak the config as necessary." CreationDate="2011-04-12T21:14:29.437" UserId="4671" />
  <row Id="14838" PostId="11208" Text="I suggest sed -i file" CreationDate="2011-04-12T21:24:31.320" UserId="6539" />
  <row Id="14839" PostId="11211" Text="Ok, so it seems that the + is a wildcard that is mentioned under the spec of the -i flag. hmmm now to figure out why." CreationDate="2011-04-12T21:33:38.070" UserId="6540" />
  <row Id="14840" PostId="11122" Text="@Faheem Admittedly, I don't know whether it can or cannot be done with acl, but I suspect not, since one of my requirements here is to preserve existing permissions (to make it easy for users to restore files from backup themselves without having to change permissions again when they do so) while also making the whole thing read-only. I know, that sounds contradictory, but thanks to Gilles' help below, I do have an answer for it." CreationDate="2011-04-12T21:45:58.557" UserId="6208" />
  <row Id="14841" PostId="11214" Text="also `/dev/disk/by-id` works well." CreationDate="2011-04-12T21:48:01.680" UserId="3389" />
  <row Id="14842" PostId="11214" Text="@ultrasawblade: Right, thanks, I meant to discuss `/dev/by-*` and forgot." CreationDate="2011-04-12T21:55:19.717" UserId="885" />
  <row Id="14843" PostId="11198" Text="Permissions in UNIX/Linux aren't really that complicated, but things like sshfs make it more confusing.  sshfs is more of a single user filesystem because it logs in to the remote server as a specific user and all accesses are seen as that user.  It doesn't matter who on the client-side accesses it.  Those settings like uid, gid, etc. are used to affect how it appears on the client side, but don't affect server-side permission which is what this was.  Another small note, the idmap option affects how the uid shows up on the client side, but can be misleading as the actual uids may be different." CreationDate="2011-04-12T21:58:11.153" UserId="6167" />
  <row Id="14844" PostId="11208" Text="@Tshepang: Use `ed`, or GNU sed `-i`, or [`sponge`](http://unix.stackexchange.com/questions/9318/9324#9324), or a [large file method](http://unix.stackexchange.com/q/11067)." CreationDate="2011-04-12T22:00:09.713" UserId="885" />
  <row Id="14845" PostId="11211" Text="Is that really `tun0+`, and not `tun+`? As far as I know `tun0+` would only match `tun0` anyway, whereas `tun+` would match `tun0`, `tun1`, `tun2`, …" CreationDate="2011-04-12T22:03:00.787" UserId="885" />
  <row Id="14846" PostId="11200" Text="Yes but still I cant use it there, though its sure that this script will stay forever in my  ~/bin :)" CreationDate="2011-04-12T22:11:09.380" UserId="6534" />
  <row Id="14847" PostId="11122" Text="@Kromey: acl can override unix permissions without changing them. The idea is that when users copy back stuff out they have the same permission flags as their original backup, right? So you could set acl to whatever permissions you want for whatever user. If an acl entry is set, it ignores the corresponding unix permission without changing it. See `man acl` for details." CreationDate="2011-04-12T22:11:56.087" UserId="4671" />
  <row Id="14849" PostId="11122" Text="@Faheem Will the extra acl permissions effectively &quot;disappear&quot; when the file is copied out of the backup? If the acl permissions &quot;stick&quot; to the file when it's moved, then it really doesn't matter that the (ignored) underlying Unix permission bits are unchanged. I'll look into it, though, as a possible simpler solution..." CreationDate="2011-04-12T22:14:36.600" UserId="6208" />
  <row Id="14850" PostId="11201" Text="Any solution that stores data in array is out of question ... as I mentioned earlier , filesize is quite huge and it might over flow. Also awk on this system does not allow file size more than 3000 bytes. " CreationDate="2011-04-12T22:19:20.197" UserId="6534" />
  <row Id="14851" PostId="11122" Text="@Kromey: The acl permissions are set on the directory path, so yes, they &quot;disappear&quot; if the file is moved out. :-) And I don't think any standard unix tools try to preserve them unlike `cp -a` preserving unix permissions, for example, since in general it would not make sense. `acl` is not supported in general. The kernel has to support it &amp; you have to enable it on the filesystem when you mount it, as a mount option." CreationDate="2011-04-12T22:20:57.330" UserId="4671" />
  <row Id="14852" PostId="11201" Text="@Prashant: I don't understand your objections. This script deletes lines once they're ineligible to be before-lines. It doesn't use more memory than is inherently necessary given the requirements, except that awk may have a higher overhead than a special-purpose program (but less than Perl, which you're also considering). The total size of the file is completely irrelevant." CreationDate="2011-04-12T22:28:23.273" UserId="885" />
  <row Id="14853" PostId="11170" Text="Correction: File names in the given file ARE relative to the source directory, but cannot be above it (no `../`). Leading slashes will be ignored, so absolute paths don't work." CreationDate="2011-04-12T22:28:59.910" UserId="2333" />
  <row Id="14854" PostId="11211" Text="Yes it is, that's why I'm stumped. In the server config for openvpn, it is &quot;dev tun0&quot;, so would openvpn create tun01 tun02 etc... for concurrent vpn connections?" CreationDate="2011-04-12T22:37:22.227" UserId="6540" />
  <row Id="14856" PostId="516" Text="Lesson reloaded: whenever you do shell-stuff, and you see a &quot;*&quot;, be *extra*, no, be **extra** **Extra** **EXTRA** careful." CreationDate="2011-04-12T23:05:25.870" UserId="4206" />
  <row Id="14857" PostId="1330" Text="@wazoox: otp is a good alternative too." CreationDate="2011-04-12T23:22:41.563" UserId="4206" />
  <row Id="14858" PostId="1961" Text="Now doing that on your work system would have been **really** stupid ;-)" CreationDate="2011-04-12T23:23:30.253" UserId="4206" />
  <row Id="14859" PostId="11148" Text="@kumar, I would try reinstalling all the packages... but idk the easyness of that... and maybe it's a config gone bad." CreationDate="2011-04-13T00:08:42.550" UserId="29" />
  <row Id="14860" PostId="11172" Text="@JoelFan: I was just looking that up to make sure that I wasn't forgetting something important.  Zombies that are children of `init` should go away pretty quickly since `init` waits on children periodically as one of its many common tasks... is `&lt;defunct&gt;` the same as a zombie?" CreationDate="2011-04-13T01:31:09.823" UserId="5481" />
  <row Id="14861" PostId="11172" Score="1" Text="nevermind ... `&lt;defunct&gt;` is precisely the same as a zombie. `init` will wait on its children so this should never happen in theory.  I wonder what happens if you send a `SIGCHLD` to `init`?" CreationDate="2011-04-13T01:34:08.933" UserId="5481" />
  <row Id="14862" PostId="11193" Text="+1 I did not know there was a `-C` switch." CreationDate="2011-04-13T01:42:12.483" UserId="912" />
  <row Id="14863" PostId="11173" Text="`init` can never have zombie children.  From the wikipedia article: _When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent._  One of `init`'s responsibilities is reaping orphans and parentless zombies." CreationDate="2011-04-13T01:45:29.407" UserId="5481" />
  <row Id="14864" PostId="11032" Text="@Steven I don't see what I get from using par2 that I already don't have with vdmfec. " CreationDate="2011-04-13T01:58:03.520" UserId="6454" />
  <row Id="14865" PostId="11032" Text="I've also found another tool, zfec http://pypi.python.org/pypi/zfec though I think it uses the same algorithm as vdmfec" CreationDate="2011-04-13T01:59:45.717" UserId="6454" />
  <row Id="14867" PostId="11125" Text="I'll be the first to state the obvious here. Back up your important data on that box immediately, then diagnose whether the box is hosed or not." CreationDate="2011-04-12T02:25:06.167" UserId="6472" />
  <row Id="14868" PostId="11214" Text="I am making the changes right now to use UUID, which I got from the `blkid` command.  Do I need to also update grub?  Grub is pointing to the device itself (/dev/mapper/pva-root)." CreationDate="2011-04-13T03:11:52.420" UserId="3513" />
  <row Id="14869" PostId="11032" Text="@Rob: It was just a suggestion. If `vdmfec` works for you, then keep using it! Just be certain that you are able to restore from your backups, when/if the time comes." CreationDate="2011-04-13T04:06:33.700" UserId="4604" />
  <row Id="14870" PostId="11195" Text="You can send stdin to diff, and skip the temporary: `grep -v pattern file | diff -c - file`" CreationDate="2011-04-13T04:18:01.877" UserId="2376" />
  <row Id="14871" PostId="11148" Text="Actually am frustrated, most of the missing pieces are fixed, have problem with mouse which I am managing, other issues including my root partition is just 10GB, java eats up everything, sound behaves weirdly &amp; on top of it, am running out of time :(" CreationDate="2011-04-13T04:34:37.747" UserId="5430" />
  <row Id="14872" PostId="7401" Text="How does this compare to using `aptitude-create-state-bundle`?" CreationDate="2011-04-13T06:33:20.613" UserId="1535" />
  <row Id="14873" PostId="7367" Text="Boot options (stored in `/etc/default/grub`, as the value of `GRUB_CMDLINE_LINUX_DEFAULT`) should be added to this list." CreationDate="2011-04-13T06:37:03.917" UserId="1535" />
  <row Id="14874" PostId="11214" Text="@churnd: `/dev/mapper/pva-root` is fine, that's an LVM volume label. That's better than a filesystem UUID that will change if you restore from a backup." CreationDate="2011-04-13T07:16:33.430" UserId="885" />
  <row Id="14875" PostId="11107" Text="@Gilles: I tried following those steps, even setting a much lower MTU than necessary, but it doesn't seem to solve the problem. `ifconfig` claims that the MTU indeed is set correctly." CreationDate="2011-04-13T07:46:58.947" UserId="4518" />
  <row Id="14876" PostId="11107" Text="@Tim: Then you need to describe your network setup. What OS are you running? How is the network configured on your machine (static configuration, Network Manager, …)? Are there other devices (router?) under your control between you and your ISP? By what method do you connect to your ISP? And how did the ping measure go?" CreationDate="2011-04-13T08:08:21.230" UserId="885" />
  <row Id="14877" PostId="11179" Text="Strange. I've tried just now, selecting some text in Google Docs (using Chromium, the open source version of Chrome), pressing ctrl+c to copy and then using shift+insert in a terminal to paste it, and it worked. Does this work for you?" CreationDate="2011-04-13T08:14:11.647" UserId="3686" />
  <row Id="14878" PostId="11214" Text="The directories are `/dev/disk/by-{id,uuid,label,path}`" CreationDate="2011-04-13T08:23:19.093" UserId="1078" />
  <row Id="14879" PostId="11173" Score="1" Text="@D.Shawley: `init` can have bugs though. The init replacement `runit` has had a bug that causes this issue." CreationDate="2011-04-13T08:26:43.757" UserId="1078" />
  <row Id="14880" PostId="11234" Text="If you are the only user of it, just slap it in `/home`. If not, `/opt`." CreationDate="2011-04-13T08:37:30.033" UserId="688" />
  <row Id="14881" PostId="11232" Score="1" Text="just as another note... missing files won't necessarily stop existing apps from running. So if your root filesystem disappears and you have an open shell... the shell itself will be available, though coreutils won't be." CreationDate="2011-04-13T08:38:29.833" UserId="29" />
  <row Id="14882" PostId="11179" Text="Hmm. It works from my desktop, but when I tried it yesterday from my laptop it didn't. I don't know what the difference is, both should be nigh-identical machines, OS wise." CreationDate="2011-04-13T08:52:56.557" UserId="1594" />
  <row Id="14883" PostId="11236" Text="/home/myusername is on an NFS drive, so that's a no go. I'm the only user of the machine - so /opt, you say?" CreationDate="2011-04-13T08:53:52.327" UserId="1594" />
  <row Id="14884" PostId="11032" Text="@Steve Thanks for the suggestion BTW. I have tested restoring vdmfec piped to split (by catting  them together and decoding). It seems to work. The real &quot;test&quot; will be restoring files from damaged disks, though." CreationDate="2011-04-13T09:00:25.517" UserId="6454" />
  <row Id="14885" PostId="11237" Text="Why do you want to? In fact, the session manager is pre-configured to restart that one automatically." CreationDate="2011-04-13T09:20:44.773" UserId="3082" />
  <row Id="14886" PostId="11200" Text="@Prashant: Why can't you use it?  It's just a perl script." CreationDate="2011-04-13T09:21:44.837" UserId="1535" />
  <row Id="14887" PostId="11237" Text="I'm changing the window manager." CreationDate="2011-04-13T09:24:10.213" UserId="6215" />
  <row Id="14888" PostId="11200" Score="1" Text="Its PRODUCTION box, need to take special permissions approvals bla bla bla... todo any thing on it. and anything goes wrong there on comes on my head ;) and Its not worth it :)" CreationDate="2011-04-13T10:24:02.880" UserId="6534" />
  <row Id="14890" PostId="11240" Score="3" Text="Concur with the chorus of 'no' here, and the addendum that most linux distros automatically clean out `/tmp/` on startup. While this doesn't necessarily help if we're talking about a no-reboots-EVER server here, one possibility might be running  `find ./ -type f -atime 14 -exec rm {} \;`  every week or so to delete any plain file that hasn't been accessed at all in the past two weeks..." CreationDate="2011-04-13T11:32:31.310" UserId="4949" />
  <row Id="14891" PostId="11226" Text="Does it have to have a GUI? Or can it be a console app?" CreationDate="2011-04-13T11:42:12.003" UserId="252" />
  <row Id="14892" PostId="11226" Text="@Gert: I don't know about xenoterracide, but I'd be interested in such a console app." CreationDate="2011-04-13T11:48:47.317" UserId="2333" />
  <row Id="14893" PostId="11232" Score="1" Text="Actually, even a running app may crash.  When an executable is loaded, its image is merely mapped into virtual memory.  If program execution jumps to code on a page that hasn't been paged in yet, bang." CreationDate="2011-04-13T12:39:13.623" UserId="6555" />
  <row Id="14894" PostId="11211" Text="`dev tun0` will force creation of `tun0` device. If you want to dynamically create `tun` devices and don't care which server uses which device, then use `dev tun` so `tun0`, `tun1`, `tun2`, ... be created subsequently and `tun+` in iptables rules will match all of them." CreationDate="2011-04-13T13:12:55.457" UserId="5666" />
  <row Id="14895" PostId="11209" Text="Excellent. Thanks!" CreationDate="2011-04-13T13:28:35.143" UserId="4531" />
  <row Id="14896" PostId="4477" Text="Thanks for that info, especially for the hint with atkkbd" CreationDate="2011-04-13T13:29:08.023" UserId="6557" />
  <row Id="14897" PostId="11084" Score="6" Text="@Kim: that comment seems a little unfriendly. Please express yourself in a positive way in our community. Thanks." CreationDate="2011-04-13T13:43:16.393" UserId="2511" />
  <row Id="14900" PostId="11208" Score="1" Text="I've often wondered about the possibly misleading term **in-place**, when referring to 'sed', so I looked it up in 'man sed': *--in-place[=SUFFIX]*  `This option specifies that files are to be edited in-place.  GNU `sed' does this by creating a temporary file and sending output to this file rather than to the standard output.` ... I don't know about any other 'sed' but the logistics of updating &quot;in place&quot; with a *stream* editor don't &quot;compute&quot; :)" CreationDate="2011-04-13T14:36:52.810" UserId="2343" />
  <row Id="14901" PostId="9127" Text="mcd is an already existing command. Though you've just given an example, I used it myself as it's a letter shorter than mkcd. " CreationDate="2011-04-13T14:44:05.757" UserId="4335" />
  <row Id="14902" PostId="11161" Text="That should be `Tango`, not `tango`." CreationDate="2011-04-12T23:13:34.473" UserId="688" />
  <row Id="14903" PostId="11254" Text="This is true, but some background might be nice...." CreationDate="2011-04-13T14:56:21.227" UserId="2511" />
  <row Id="14905" PostId="11255" Text="doesn't belong here. What has GUI management to do with programming??" CreationDate="2011-04-13T06:21:22.170" UserId="2510" />
  <row Id="14906" PostId="11255" Text="&quot;Best distro&quot; is an extremely subjective question, not well-suited for a Q&amp;A site like this one. Beyond that, it has nothing to do with programming, the [stated focus](http://stackoverflow.com/faq) of this site." CreationDate="2011-04-13T06:29:01.170" />
  <row Id="14907" PostId="11221" Text="I don't think that &quot;the kernel does not page&quot; is true universally.  http://support.microsoft.com/kb/184419 seems to imply that &quot;drivers and system code in the Windows NT Executive&quot; can be pageable. There's also references to VMS and Tenex operating system having pageable kernel code, or perhaps just stack and data." CreationDate="2011-04-13T15:19:28.110" UserId="732" />
  <row Id="14908" PostId="11241" Text="+1 for lsof and then kill the pid." CreationDate="2011-04-13T16:13:14.610" UserId="2567" />
  <row Id="14909" PostId="11204" Text="How big is your file? Could it be loaded into memory?" CreationDate="2011-04-13T16:41:16.767" UserId="4671" />
  <row Id="14910" PostId="11259" Text="Is it not common to clear /tmp automatically on restart? Gentoo does, and I think Ubuntu does, but it's been a while since I used it" CreationDate="2011-04-13T17:11:30.433" UserId="73" />
  <row Id="14911" PostId="11232" Text="I remember a 'Unix Horror Story' where someone logged on as root executed rm -rf / and deleted almost everything on the drive. Strange things happened but they were able to concoct a repair on this still running but crippled system. It's an interesting read: http://macnugget.org/stuff/unix-horror-story.txt" CreationDate="2011-04-13T17:17:53.577" UserId="5535" />
  <row Id="14912" PostId="10671" Text="Do you see the usb bus reaching its theoretical maximum? Did you compare the traffic you get with [benchmarks](http://www.tomshardware.com/reviews/x48-790i-chipset,1940-19.html) of your hardware? Max throughput is usually depended on the device connected and not the system bus, so to test it properly you'll need some hardware specifically made for that purpose." CreationDate="2011-04-13T17:21:05.173" UserId="5666" />
  <row Id="14913" PostId="11258" Text="Which output produces your tre-agrep command?" CreationDate="2011-04-13T17:26:26.277" UserId="4485" />
  <row Id="14914" PostId="11264" Score="3" Text="Oh, very cool. You can combine those with `pkill -USR1 -x dd`" CreationDate="2011-04-13T17:26:47.997" UserId="73" />
  <row Id="14915" PostId="11239" Score="3" Text="On my system, logfiles go to /var/log, lockfiles to /var/lock." CreationDate="2011-04-13T17:27:59.550" UserId="4485" />
  <row Id="14916" PostId="11235" Text="Is this is an ever running server, or a desktop machine with daily shutdown?" CreationDate="2011-04-13T17:29:01.157" UserId="4485" />
  <row Id="14917" PostId="11240" Text="`find ./ -type f -atime 14 -delete` with gnu-find" CreationDate="2011-04-13T17:30:52.683" UserId="4485" />
  <row Id="14918" PostId="11224" Text="-i ignores cases, which wasn't asked for." CreationDate="2011-04-13T17:44:42.517" UserId="4485" />
  <row Id="14921" PostId="11263" Text="Clearly it hasn't terminated; he's worried that it's frozen" CreationDate="2011-04-13T17:55:18.833" UserId="73" />
  <row Id="14922" PostId="11263" Text="But the led wouldn't blink, would it? " CreationDate="2011-04-13T18:01:13.907" UserId="4485" />
  <row Id="14923" PostId="11263" Text="@user No, that part made sense; I was talking about your second sentence" CreationDate="2011-04-13T18:02:13.803" UserId="73" />
  <row Id="14924" PostId="11264" Text="Checked the `man` page for `kill`, and there's no mention of `-USR1` - what does that do? I'm really nervous about running any form of `kill` on this process, as I have a client waiting on this to finish." CreationDate="2011-04-13T18:06:20.060" UserId="5286" />
  <row Id="14925" PostId="11258" Text="tre-agrep command produces the following: text1-2$text1-4" CreationDate="2011-04-13T18:08:39.907" UserId="6562" />
  <row Id="14926" PostId="7401" Text="@intuited: I didn't know about `aptitude-create-state-bundle`. Thanks, that's an automatic way of reproducing the APT-managed state (better than the manual way, which didn't reproduce APT sources or debconf settings). You might want to add an answer to [the](http://unix.stackexchange.com/q/3595) [related](http://superuser.com/q/6338) [questions](http://askubuntu.com/q/2389) as well." CreationDate="2011-04-13T18:09:29.533" UserId="885" />
  <row Id="14927" PostId="11264" Text="Start another `dd` doing something easy and try it on that before you risk breaking your big one. I don't know what USR1 stands for but my guess is it's a custom (user 1?) signal that different process might handle differently." CreationDate="2011-04-13T18:10:42.523" UserId="1925" />
  <row Id="14928" PostId="11214" Text="@camh: Fixed, thanks. I should stop posting after a certain time at night. Feel free to edit answers in such cases by the way." CreationDate="2011-04-13T18:10:54.447" UserId="885" />
  <row Id="14929" PostId="11259" Text="No I don't think the Debian derived distros like Ubuntu does it (right now anyway). But it is quite easy to add this if you like it." CreationDate="2011-04-13T18:31:35.113" UserId="2567" />
  <row Id="14930" PostId="11264" Text="No, it definitely stopped the process and spit out &quot;User defined signal 1&quot;. Good thing I tried it on something extraneous. :P" CreationDate="2011-04-13T18:37:11.590" UserId="5286" />
  <row Id="14931" PostId="11264" Score="1" Text="My Ubuntu box says to use `$ kill -s INFO $pid; wait $pid`.  &quot;On systems lacking the 'INFO' signal 'dd' responds to the 'USR1' signal instead, unless the 'POSIXLY_CORRECT' environment variable is set.&quot;" CreationDate="2011-04-13T18:44:23.390" UserId="4991" />
  <row Id="14932" PostId="11264" Score="2" Text="@kivetros: On BSD systems, you need to send the `INFO` signal. Linux doesn't have a SIGINFO and uses `USR1` instead." CreationDate="2011-04-13T18:50:06.753" UserId="885" />
  <row Id="14933" PostId="11253" Text="`fuser` helps only in the specific case when you want to unmount a filesystem. Here the problem is to find what's using a specific file." CreationDate="2011-04-13T19:09:13.647" UserId="885" />
  <row Id="14934" PostId="11267" Text="Are you sure it's actually rebooting? It sounds like it's just restarting X" CreationDate="2011-04-13T19:10:36.997" UserId="73" />
  <row Id="14935" PostId="10895" Text="@jmucchiello, it's not a spelling error. It's a deliberate (albeit non-standard) abbreviation.  It fits with the heavy use of abbreviations like `fcntl`, `ls`, `mv`, etc, in general." CreationDate="2011-04-13T19:15:36.727" UserId="224" />
  <row Id="14936" PostId="11267" Text="Yes I watch it all the way, shuts every thing off then begins right where a normal cold boot would" CreationDate="2011-04-13T19:21:12.280" UserId="6564" />
  <row Id="14937" PostId="11233" Text="And for zsh, see [Title and Hardstatus in the zsh wiki](http://zshwiki.org/home/examples/hardstatus)." CreationDate="2011-04-13T19:28:00.767" UserId="885" />
  <row Id="14939" PostId="11225" Score="1" Text="Buggy codec? Did you try playing MP4s in another player? Potentially useful info: what video driver(s) (`-vo`) in mplayer, what video driver(s) in X?" CreationDate="2011-04-13T19:54:45.777" UserId="885" />
  <row Id="14940" PostId="11211" Text="@Realn0whereman: Where did you find this rule anyway?" CreationDate="2011-04-13T19:57:58.923" UserId="885" />
  <row Id="14941" PostId="11264" Text="@Gilles thanks for tracking down the different signal on BSD." CreationDate="2011-04-13T19:58:46.313" UserId="1925" />
  <row Id="14942" PostId="11262" Text="Not answering your question, but your times are quite high IMO. Did you remember to pass a bigger block size to dd other than the default 512 bytes? `dd ... bs=16M` is my suggestion, given your RAM, disk size and speed." CreationDate="2011-04-13T20:29:28.447" UserId="1627" />
  <row Id="14944" PostId="11279" Text="set your dhcp server to offer the same ip to your linux machine and add an entry to your hosts file." CreationDate="2011-04-13T21:13:01.187" UserId="5666" />
  <row Id="14945" PostId="11278" Text="smart idea! but it doesn't work for some reason.. :\ i tried it with the full url (not using http://) and i tried it with only the domain. no luck:\ but thank you!!" CreationDate="2011-04-13T21:21:05.893" UserId="5664" />
  <row Id="14946" PostId="11283" Score="2" Text="Additionally, if you have a constant but ugly name for your machine such as `prosseek-home.dyndns.org`, you can give it a nickname in ssh with a `Host home` ␤ `HostName prosseek-home.dyndns.org` ␤ section in `~/.ssh/config`." CreationDate="2011-04-13T21:26:59.017" UserId="885" />
  <row Id="14947" PostId="11259" Text="Ubuntu Matty (or whatever the current release is called) does. But if you don't reboot your machine regularly, it won't happen." CreationDate="2011-04-13T21:53:26.370" UserId="6454" />
  <row Id="14948" PostId="9127" Text="@Dharmit Shah: What is the existing `mcd` command?  Which package or project provides this command?" CreationDate="2011-04-13T22:05:29.610" UserId="3169" />
  <row Id="14949" PostId="11204" Text="A few kilobytes." CreationDate="2011-04-13T22:40:38.133" UserId="688" />
  <row Id="14950" PostId="11287" Score="1" Text="`sudo` is an awesome invention" CreationDate="2011-04-13T22:47:25.787" UserId="688" />
  <row Id="14951" PostId="11207" Text="I'm curious about *better integration with virtualisation solutions*. Do you have references, or rather, how did you come to that believe? I'm not disputing, just curious." CreationDate="2011-04-13T23:47:54.737" UserId="688" />
  <row Id="14952" PostId="11253" Text="@Gilles: Also works for files. " CreationDate="2011-04-14T00:36:35.933" UserId="4520" />
  <row Id="14953" PostId="11288" Text="Whether or not a password is required when using sudo depends entirely on how the `sudoers` file is set up. It can be set up to require a password or set up to not require a password." CreationDate="2011-04-14T00:40:22.453" UserId="2712" />
  <row Id="14954" PostId="11287" Text="Whether sudo requires the root password or the root password depends on the configuration. It can be set up either way." CreationDate="2011-04-14T00:41:17.477" UserId="2712" />
  <row Id="14955" PostId="11260" Text="I'm just curious why you would care to remain in 32-bit userland?  It is possible to do so on a 64-bit system.  There are some binary applications that are still 32-bit that require 32-bit libraries - so such libraries are available on 64-bit systems, but otherwise, why?" CreationDate="2011-04-14T00:48:17.160" UserId="4193" />
  <row Id="14956" PostId="11264" Score="1" Text="The SIGUSRx signals are for programs to do what they want with, as opposed to having a standardized meaning.  SIGWINCH, for example, is raised when the terminal has changed its size and the program might need to redraw its screen.  The operating system doesn't send SIGUSRx's so they are available for custom uses." CreationDate="2011-04-14T01:17:35.010" UserId="3389" />
  <row Id="14957" PostId="11262" Text="I didn't, simply because I wanted to play it safe. I'll try that next time, though. Thanks." CreationDate="2011-04-14T01:26:52.413" UserId="5286" />
  <row Id="14958" PostId="11268" Text="pv looks amazing - I'm definitely going to use that next time. Thank you so much." CreationDate="2011-04-14T01:27:39.357" UserId="5286" />
  <row Id="14959" PostId="11296" Text="I would use Python's [zope.testbrowser](http://pypi.python.org/pypi/zope.testbrowser) for that." CreationDate="2011-04-14T03:19:40.357" UserId="250" />
  <row Id="14960" PostId="11296" Score="1" Text="Do you need to be able to use Javascript?" CreationDate="2011-04-14T04:28:19.137" UserId="1535" />
  <row Id="14961" PostId="11106" Text="@xralf - The script only executes for a few seconds at most. Try grepping for `sleep`." CreationDate="2011-04-14T04:31:16.737" UserId="1655" />
  <row Id="14962" PostId="11287" Score="2" Text="@Tshepang Amen, brother. If I'd have to release the root password and explain the support techs about how to SU and not do /anything/ other than `apache2ctl graceful` I think I'd prefer to slit my wrists and get it over with." CreationDate="2011-04-14T04:33:55.427" UserId="4949" />
  <row Id="14963" PostId="11295" Text="dovecot is great stuff." CreationDate="2011-04-14T04:48:40.217" UserId="412" />
  <row Id="14964" PostId="11276" Text="Found that package in my system must be it. Awesome" CreationDate="2011-04-14T05:25:13.323" UserId="6564" />
  <row Id="14965" PostId="9127" Text="mtools provides the mcd command. Its man page says &quot;The mcd command is used to change the mtools working directory on the MS-DOS disk.&quot;" CreationDate="2011-04-14T06:11:14.610" UserId="4335" />
  <row Id="14966" PostId="11259" Text="Ok, did not check the current. I'm using the LTS track right now." CreationDate="2011-04-14T06:25:15.307" UserId="2567" />
  <row Id="14967" PostId="11266" Text="This didn't work but it inspired me to work it out this way. I'll post the solution later. I 'd vote your answer but I don't have enough reputation ;)" CreationDate="2011-04-14T06:38:49.367" UserId="6562" />
  <row Id="14968" PostId="11299" Score="2" Text="That might not be a good idea, anyway, since Linux (or Windows) may have left any peripheral hardware registers in a state that works for it, but not what the other OS expects. e.g. USB handoff may have occurred so that BIOS is no longer in control. Boot through BIOS ensures the hardware is reinitialized to a know state." CreationDate="2011-04-14T07:02:00.923" UserId="3082" />
  <row Id="14969" PostId="11226" Text="@Wolf what @alex said" CreationDate="2011-04-14T07:51:12.450" UserId="252" />
  <row Id="14970" PostId="11253" Text="@BillThor: Sorry, wrong objection: `fuser` doesn't help here because the problem is to find all the open files in a directory tree. You can tell `lsof` to show all files and filter, or make it recurse; `fuser` has no such mode and needs to be invoked on every file." CreationDate="2011-04-14T07:57:44.830" UserId="885" />
  <row Id="14971" PostId="11302" Score="1" Text="what do you mean by &quot;most visited directory&quot;? visited by what?" CreationDate="2011-04-14T08:01:22.337" UserId="5842" />
  <row Id="14972" PostId="11245" Text="Thanks, the second solution better fits my case as the virtual disk size is greater than the actual hdd. " CreationDate="2011-04-14T08:34:15.753" UserId="5763" />
  <row Id="14973" PostId="11248" Text="Thanks for your reply. The manpage of zerofree did not specify ext4, thats why i needed an alternative. &#xA;" CreationDate="2011-04-14T08:37:22.273" UserId="5763" />
  <row Id="14974" PostId="11302" Text="my definition: Let's say that during 3 hours you call the cd command with 10 arguments (a1..a10) The directory `ax` is most visited if the command `cd ax` is called more often then cd ai, for each i in {a1, a10} where ax &lt;&gt; ai." CreationDate="2011-04-14T08:50:22.083" UserId="6215" />
  <row Id="14975" PostId="11264" Score="1" Text="Sending dd the USR1 signal _too soon_ after it has started (i.e. in a bash script, the line after you started it) will in fact terminate it. Put a 0.1 second sleep in between and it will output its progress properly. By the way, a very nice dd command to test USR1/INFO on is `dd if=/dev/zero of=/dev/null`. :)" CreationDate="2011-04-14T08:51:53.300" UserId="6339" />
  <row Id="14976" PostId="11276" Text="Interesting. This can be enabled in Debian with `kexec-tools` (the stock Debian kernels have `kexec` support), and installation of `kexec-tools` enables `kexec` by default, though I have not tested it. Looks like Ubuntu (and Mint) have it by default. My system has debconf priority high, &amp; I didn't see a debconf screen when enabling, so I conclude that the question is set to priority medium or low, though I forget how to check how to find out the debconf priority for a template. Would anyone like to remind me? Might be a reasonable question here - Google doesn't immediately provide an answer." CreationDate="2011-04-14T08:57:31.923" UserId="4671" />
  <row Id="14977" PostId="11276" Text="For the record, this is set in the config file, in this case `/var/lib/dpkg/info/kexec-tools.config`. See the line &quot;db_input medium kexec-tools/load_kexec || true&quot;." CreationDate="2011-04-14T09:11:02.897" UserId="4671" />
  <row Id="14978" PostId="11245" Text="@Mr.Confused.A.Lot, in this case you might not be able to zero the whole disk at once. You may try doing it in small chuncks, e.g. create small partitions, write zero to one of them, compact vdi, repeat." CreationDate="2011-04-14T09:36:26.647" UserId="5666" />
  <row Id="14979" PostId="11306" Text="Just tried, it just outputs the first line of the file... even though match is at line 38." CreationDate="2011-04-14T09:44:38.380" UserId="2305" />
  <row Id="14980" PostId="11306" Text="Works fine for me.  Can you give an example of actual input and output?  And the command you are running as-is." CreationDate="2011-04-14T09:46:01.913" UserId="3169" />
  <row Id="14981" PostId="11308" Score="1" Text="Nice idea, but three commands when one will do." CreationDate="2011-04-14T09:47:01.460" UserId="3169" />
  <row Id="14982" PostId="11307" Text="Thanks it works!" CreationDate="2011-04-14T09:49:36.753" UserId="2305" />
  <row Id="14983" PostId="11306" Text="I had tried your command before you edited it, it was: sed '/PATTERN/p;q' FILE" CreationDate="2011-04-14T09:51:53.503" UserId="2305" />
  <row Id="14984" PostId="11307" Score="1" Text="This command is good, but you can do better.  This way it reads the whole file, but it is possible to quit as soon as it has found a match." CreationDate="2011-04-14T09:55:59.007" UserId="3169" />
  <row Id="14985" PostId="11260" Text="**One reason**: I am heavily-invested there. I have the entire repository of Debian 32bit x86 binaries, and moving implies throwing all that away (and getting the 64bit ones... so much!). Having a setup like this I don't always need to be on the network, and if I am, my installs are extra fast. **Another reason**: I heard about problems with certain things, like flash, and I'm not interested in the complexity (however small) of now running a 32bit app on that 64bit userland. I've seen a few complaints of how problematic it is to do such a mishmash." CreationDate="2011-04-14T10:01:26.957" UserId="688" />
  <row Id="14986" PostId="11208" Text="Most &quot;in-place&quot; methods use a temporary file, in my experience." CreationDate="2011-04-14T10:08:06.140" UserId="4671" />
  <row Id="14987" PostId="11290" Score="1" Text="It is for security purposes because sudo supports logging to the syslog which in any major setup concerned about security will be configured to log to a separate remote machine so that if a system is compromised the logs cannot be effected." CreationDate="2011-04-14T10:09:07.260" UserId="3459" />
  <row Id="14988" PostId="11208" Text="@fred If you use a full-screen text editor to modify the file are you editing a file in-place?  Most editors including Vim use the same logic in-place sed uses." CreationDate="2011-04-14T10:29:21.190" UserId="6167" />
  <row Id="14989" PostId="11312" Text="+1. Interesting. I didn't know `df` was so accomodating." CreationDate="2011-04-14T10:34:35.303" UserId="4671" />
  <row Id="14990" PostId="11313" Text="I have been using Gentoo for many years now. I have also used catalyst, metro and recently my own build script to build my own customized stages before installation. When I still had some multimedia apps installed there were around 700 packages installed, now after removing those I am down to ~400. And that after removing many useflags bringing in useless dependencies and removing some packages that while useful came with to many dependencies. Not minimal." CreationDate="2011-04-14T10:51:20.603" UserId="1311" />
  <row Id="14991" PostId="11312" Text="OK, I did that and got /dev/mapper/fun-root as my Filesystem. Now what? (My computer's name is 'fun')" CreationDate="2011-04-14T11:37:40.067" UserId="1594" />
  <row Id="14992" PostId="11315" Text="@forcefsck at first sight i thought this what i'm looking for. Unfortunately i know nothing about what is `hello` and that's my problem. I don't want to decrypt these encrypted strings but i'd like to be sure about my newly imported database will accept original passwords." CreationDate="2011-04-14T12:37:36.510" UserId="6582" />
  <row Id="14993" PostId="11313" Text="So, do you also expect to do anything useful with it? ;-)" CreationDate="2011-04-14T12:47:46.327" UserId="3082" />
  <row Id="14994" PostId="11184" Text="The question is correctly answered, so I will accept it and try xbindkeys and xmacro." CreationDate="2011-04-14T12:50:27.463" UserId="6215" />
  <row Id="14995" PostId="11315" Score="1" Text="@fabrik: how come you write English and know nothing about `'hello'`? ;)  Well, `hello` is just hello here--a test string to demonstrate the `ENCRYPT` behavior." CreationDate="2011-04-14T12:50:39.057" UserId="1946" />
  <row Id="14996" PostId="11320" Text="Thank you. I didn't know this great use of history command. I will use it and if that's insufficient I will try to implement the timestamps." CreationDate="2011-04-14T12:58:19.887" UserId="6215" />
  <row Id="14997" PostId="11320" Text="Can I go to forward too in history?" CreationDate="2011-04-14T12:59:53.503" UserId="6215" />
  <row Id="14998" PostId="11315" Text="@alex I'm glad you're so funny but the original problem for me is not too funny. And i hope you're just kidding about hello." CreationDate="2011-04-14T13:07:38.277" UserId="6582" />
  <row Id="14999" PostId="11315" Text="@fabrik, I'm not decrypting anything, I'm just showing how the password checking mechanism is able to match two encrypted strings of the same password by extracting `salt` from the already stored value. Which is why the system works where it is currently." CreationDate="2011-04-14T13:15:14.187" UserId="5666" />
  <row Id="15000" PostId="11303" Text="How exactly would you go about attaching `strace`? Also, I did start another `dd` and send one of the suggested signals to it, and... it killed it." CreationDate="2011-04-14T13:15:33.780" UserId="5286" />
  <row Id="15001" PostId="11315" Text="@forcefsck oops maybe i was really equivocal. I totally understood your example but i think it won't solve my problem, because i know nothing about users' passwords to write a script then insert passwords into the new database as you wrote." CreationDate="2011-04-14T13:21:52.723" UserId="6582" />
  <row Id="15002" PostId="9547" Text="are you sure that the UART controller for other 4 ports is also 16550A ?&#xA;" CreationDate="2011-04-14T13:24:33.713" UserId="5763" />
  <row Id="15003" PostId="11315" Text="@fabrik, I'm not telling you to re-encode the passwords, my point is that if you migrate the database and use the same software, it will still work, because `salt` is not really lost." CreationDate="2011-04-14T13:32:31.630" UserId="5666" />
  <row Id="15004" PostId="11313" Text="@Keith I would rather invest time in installing things that are still missing instead of investigating what something which is already installed does only to learn that I do not needed it but nevertheless cannot remove it because it is hardwired into the distribution." CreationDate="2011-04-14T13:34:20.060" UserId="1311" />
  <row Id="15005" PostId="11312" Text="Then perhaps you are using LVM? `lvdisplay` or `lvs` will be your friend." CreationDate="2011-04-14T13:38:55.737" UserId="250" />
  <row Id="15006" PostId="11315" Text="@forcefsck The two machine will be different (architecture, OS, MySQL), salt originally wasn't added, all i have now is a table with unknown encrypted passwords. I'd like to be sure about they will work on the new box, but looks like until the server isn't up and running i can't get the answer. :( The worst case will be if i need to regenerate new passwords which won't make our customers happy. This what i want to avoid." CreationDate="2011-04-14T13:40:13.053" UserId="6582" />
  <row Id="15007" PostId="11016" Text="@plaes completely unrelated to this... but just so you know it is acceptable to take others answers, improve them or change them in some way, and then accept your own." CreationDate="2011-04-14T13:52:55.800" UserId="29" />
  <row Id="15008" PostId="11183" Score="4" Text="@johhn8888 how does this improve upon the answer given by @pdo ? I'm not particularly sure why you answered this instead of accepting his answer." CreationDate="2011-04-14T13:54:11.290" UserId="29" />
  <row Id="15009" PostId="11303" Score="1" Text="If you know the pid of the running dd process, just do strace -p &lt;pid&gt;. You should see the log of all system calls called by the process (mostly read and write)" CreationDate="2011-04-14T14:07:19.363" UserId="4200" />
  <row Id="15010" PostId="11263" Text="@user but the LED could blink for other reasons... also some programs will not give you back the prompt not because they are frozen, but because you didn't tell them to do what you think you did." CreationDate="2011-04-14T14:07:51.740" UserId="29" />
  <row Id="15012" PostId="11303" Text="That's beautiful. Thank you so much." CreationDate="2011-04-14T14:10:59.413" UserId="5286" />
  <row Id="15013" PostId="11221" Text="That's why I specified VM above. Also, Windows was excluded from the discussion by the question, which specified only OSes that don't &quot;lock&quot; live files." CreationDate="2011-04-14T14:12:34.373" UserId="138" />
  <row Id="15014" PostId="11320" Text="This would be good for the following situation: I press Ctrl+R, then cd, then Ctrl+R 10 times (I'm doing it quickly) and I will note that I was too quick and want to go one step back." CreationDate="2011-04-14T14:14:39.207" UserId="6215" />
  <row Id="15016" PostId="11183" Score="3" Text="I assume it's just misunderstanding how accepts work. This isn't like a forum where you need to reply with how you fixed something -- if someone's answer worked for you, you can just accept it directly. The only time you should need to post your own answer is if none of the existing answers cover everything" CreationDate="2011-04-14T14:19:00.683" UserId="73" />
  <row Id="15017" PostId="11315" Text="@fabrik, ENCRYPT() created a random `salt` for each password and saved it inside the encoded string which is what you have in your _table with unknown encrypted passwords_. This is why your users are able to login in your current system now. You will only have a problem if the implementation of crypt() in your new system, creates different strings with the same `salt`, which I doubt." CreationDate="2011-04-14T14:45:05.980" UserId="5666" />
  <row Id="15018" PostId="10971" Text="@xralf, you could provide the output of `sensors-detect` from the start and spare me the effort." CreationDate="2011-04-14T14:51:36.647" UserId="5666" />
  <row Id="15020" PostId="11308" Text="Knowing the basics is very good indeed. Knowing the right tool for the job is better, though." CreationDate="2011-04-14T15:00:13.873" UserId="5502" />
  <row Id="15021" PostId="11327" Score="1" Text="We can't help with anything illegal, sorry. The core of the question about what remote admins can do when you're SSHed to their machine is good though, so I edited down to just that" CreationDate="2011-04-14T15:01:27.993" UserId="73" />
  <row Id="15023" PostId="11327" Text="@Michael Mrozek - thanks. i didnt consider the legal side when i wrote the question" CreationDate="2011-04-14T15:05:24.197" UserId="5451" />
  <row Id="15025" PostId="11172" Text="@JoelFan: yeah, I'm sure.  The value for PPID was 1 (init), so it was impossible to SIGKILL the process." CreationDate="2011-04-14T15:08:21.340" UserId="6216" />
  <row Id="15026" PostId="11329" Text="@echox - you gave much better detail than me:-) +1" CreationDate="2011-04-14T15:10:40.243" UserId="3046" />
  <row Id="15027" PostId="11329" Text="@echox: thanks for the putty link - interesting. i use OpenSSH_5.3p1 for ubuntu 10.04 so it should be pretty safe. could you provide the code for how a session might be &quot;hijacked&quot;. its true - im very new to linux and i don't have much idea what im doing. but knowledge is never a bad thing and im a very quick learner. btw the question has been amended to take out the illegal bits." CreationDate="2011-04-14T15:15:59.207" UserId="5451" />
  <row Id="15028" PostId="11331" Text="The question is talking about the OS, not just the kernel." CreationDate="2011-04-14T15:18:35.153" UserId="688" />
  <row Id="15029" PostId="11330" Text="I *think* this is a duplicate, but if I'm not understanding you leave a comment" CreationDate="2011-04-14T15:22:04.240" UserId="73" />
  <row Id="15030" PostId="10971" Text="@forcefsck [Here](http://pastebin.ubuntu.com/594074/) is the link of **sensors-detect** output." CreationDate="2011-04-14T15:22:04.643" UserId="6215" />
  <row Id="15031" PostId="11331" Text="Well when your asking Whats the difference between Unix and Linux its pretty key becuase with out the linux kernal you'd have no GNU/Linux" CreationDate="2011-04-14T15:25:13.867" UserId="6103" />
  <row Id="15033" PostId="11315" Text="Can't you afford setting up a staging system with software identical to the new machine and test if it works as expected?  Or just don't switch to new machine util it was actually tested." CreationDate="2011-04-14T16:10:32.410" UserId="1946" />
  <row Id="15034" PostId="11126" Text="+1, but only because the widespread availability of 64-bit CPUs and OSes makes it possible to do that with a 35 GB file now. Those still on 32-bit systems (the vast majority even of this site's audience, I suspect) won't be able to use this solution." CreationDate="2011-04-14T16:21:28.220" UserId="138" />
  <row Id="15035" PostId="4097" Text="BTW: While earlier versions were not certified as such, Mac OS 10.5 and 10.6 are Unix (tm). " CreationDate="2011-04-14T17:01:12.500" UserId="3270" />
  <row Id="15036" PostId="7440" Text="+1 for showing more forbearance in answering this question than I would. :)" CreationDate="2011-04-14T17:04:37.370" UserId="138" />
  <row Id="15037" PostId="11253" Text="@Giles: `fuser` works will lists. Try `fuser /var/log/*`,  if any logs are open it will tell which ones and who has it open.  If a simple wildcard, won't work, `find` with or without `xargs` will do the job. " CreationDate="2011-04-14T17:23:25.000" UserId="4520" />
  <row Id="15038" PostId="11263" Text="The led blinking for 12 hours? Did you experience such a thing?" CreationDate="2011-04-14T17:24:45.233" UserId="4485" />
  <row Id="15040" PostId="11097" Text="I like the idea, but unless different `ed` versions behave differently..... this is from `man ed` (GNU Ed 1.4)... `If  invoked  with a file argument, then a copy of file is read into the editor's buffer.  Changes are made to  this  copy  and  not  directly  to  file itself.`" CreationDate="2011-04-14T17:34:49.970" UserId="2343" />
  <row Id="15041" PostId="11308" Text="If this command is for a script then I will look for more elegant (and possibly efficient) solutions. If this is a one time command (or a throw away script), then I don't care." CreationDate="2011-04-14T17:59:26.433" UserId="1170" />
  <row Id="15042" PostId="9276" Score="1" Text="@johhny I'd recommend moving as a safety precaution, `mv /etc/X11/xorg.conf /etc/X11/xorg.conf.my_safety_blanket`" CreationDate="2011-04-14T18:27:52.947" UserId="6167" />
  <row Id="15045" PostId="11328" Score="1" Text="or unless your ssh client forwards something (in particular, it might be configured to forward X by default)" CreationDate="2011-04-14T18:53:37.390" UserId="885" />
  <row Id="15046" PostId="11327" Text="See also [this similar question at Super User](http://superuser.com/questions/202123/if-someone-is-signed-into-ssh-on-my-computer-can-i-access-their-computer/202970#202970)." CreationDate="2011-04-14T18:54:42.087" UserId="885" />
  <row Id="15047" PostId="11097" Text="@fred, if you're implying that saving the changes will not affect the named file, you're incorrect. I interpret that quote to say that your changes aren't reflected *until* you save them. I do concede that `ed` isn't a gool solution for editing 35GB files since the file is read into a buffer." CreationDate="2011-04-14T19:07:33.000" UserId="4667" />
  <row Id="15048" PostId="11320" Text="@Warren: It does for me (bash 4.1.5 on Debian squeeze or 3.2.39 on Debian lenny or 4.1.7 on OpenBSD, started with `HOME=/none bash`)." CreationDate="2011-04-14T19:09:13.253" UserId="885" />
  <row Id="15049" PostId="9180" Text="@Faheem: I mean that if you just need to download a torrent once in a while you can use Deluge but if you plan to have a PC downloading and serving torrents for a long period something like azureus with bandwith plugins, remote http interface is a good choice." CreationDate="2011-04-14T12:12:26.840" UserId="5669" />
  <row Id="15050" PostId="11315" Text="@alex: Let me reformulate the main points of forcefsck's correct answer. ENCRYPT always uses salt. You can pass an explicit salt, but that's rare; when storing passwords, you must use a random salt. The salt is stored in plain text together with the result of encrypting the salt+password." CreationDate="2011-04-14T19:21:46.593" UserId="885" />
  <row Id="15051" PostId="11314" Text="If you're migrating to a different operating system (the hardware is irrelevant), it's possible (but rare) that they might use different algorithms to encrypt passwords. If you want reassurance on that, you need to say exactly what the old and new OS are, and possibly how MySQL was configured (I don't know where or even if MySQL can be configured to use a non-default algorithm, e.g. MD5 or Blowfish or SHA-256)." CreationDate="2011-04-14T19:24:42.593" UserId="885" />
  <row Id="15052" PostId="11339" Score="1" Text="Run `xev` and use the wheel in its window. What events do you see? (Expected: `ButtonPress` and `ButtonRelease` for button 4 going up, button 5 going down)" CreationDate="2011-04-14T20:23:56.327" UserId="885" />
  <row Id="15053" PostId="11338" Text="Linux would have to read Grub from the disk in some way, but that's not excluded by Seth's question." CreationDate="2011-04-14T20:27:48.960" UserId="885" />
  <row Id="15054" PostId="11339" Text="hrm... I'm getting button 5 for both up and down. Same exact mouse on FreeBSD and I get 4&amp;5 (scrolls fine).  Thanks for reference to 'xev' :)" CreationDate="2011-04-14T20:47:42.733" UserId="6381" />
  <row Id="15055" PostId="11097" Text="I was thinking that it meant the *full* file would be loaded into the buffer.. but perhaps only the section(s) it neeeds are loaded into the buffer.. I've been curious about ed for a while... I thought it *could* do in-situ editing... I'll just have to try a *big* file... If it works it is a reasonable solution, but as I write, I'm starting to think that this may be what inspired *sed* (freed from working with large data chunks...  I've noticed that 'ed' can actually accept streamed input from a script (prefixed with `!` ), so it may have a few more interesting tricks up its sleeve." CreationDate="2011-04-14T20:49:37.337" UserId="2343" />
  <row Id="15056" PostId="11337" Text="I haven't read your scripts in detail, but here are a few notes on coping with special characters. Set `IFS=''` and use `read -r line` to avoid skipping initial whitespace and interpreting backslashes. **Always double quote variable substitutions** (`&quot;$line&quot;`) to keep whitespace and `\[?*` unchanged; and use `printf %s &quot;$line&quot;` rather than `echo`. But in fact you can extract tab-separated fields in the shell: `tmp=${line#*␉}; var_template=${tmp%%␉*}; line=${tmp#*␉}; var_parameter=${tmp%%␉*}` where ␉ is a tab. The last line in the loop should be `printf '%s\t%s\n' &quot;$line&quot; &quot;$var_suggest&quot;`." CreationDate="2011-04-14T21:04:27.167" UserId="885" />
  <row Id="15057" PostId="11339" Text="There's an Xorg.conf option &quot;ZAxisMapping&quot; that should be responsible for that. Maybe you need to change it? Also, which X driver is reponsible for the mouse, some direct one (PS/2, USB) or via some daemon (eg. moused)?" CreationDate="2011-04-14T21:08:45.617" UserId="6595" />
  <row Id="15058" PostId="11342" Score="1" Text="Thanks so if a mailserver sends an email to postfix does postfix store the mail in the file system and then I use an IMAP agent like dovecot to connect to an email client? " CreationDate="2011-04-14T21:23:24.257" UserId="6103" />
  <row Id="15059" PostId="11342" Score="1" Text="@Steve: Yes, that's what most people do (with IMAP some other protocol like POP or Exchange, unless they're using a webmail). On a unix system, you can also read point a client directly at the local mailbox file, with no IMAP or the like." CreationDate="2011-04-14T21:26:47.060" UserId="885" />
  <row Id="15060" PostId="11342" Text="Thanks giles thats made everything a lot clearer for me. Ill look into the individual packages now." CreationDate="2011-04-14T21:29:03.110" UserId="6103" />
  <row Id="15061" PostId="11339" Text="@Patrick if xev shows both buttons showing the same event, I don't think ZAxisMapping will have any effect. @Justin Is this a USB or PS/2 mouse?  And does it have more than the usual set of buttons?" CreationDate="2011-04-14T21:55:25.043" UserId="6167" />
  <row Id="15062" PostId="11339" Text="It's a usb mouse, and I'm ashamed to say that it's a Microsoft Wheel Mouse (Just what I ended up with)" CreationDate="2011-04-14T21:57:23.480" UserId="6381" />
  <row Id="15063" PostId="11347" Text="Your advice is a requirement with Grub 1; Grub 2 copes with LVM and nontrivial dm-raid modes including encryption just fine. Ubuntu 10.04 ships with Grub 2, but Fedora 14 with Grub 1." CreationDate="2011-04-14T23:09:00.587" UserId="885" />
  <row Id="15064" PostId="11320" Text="Found the problem and fix, so added it to above and deleted my comments." CreationDate="2011-04-14T23:34:19.667" UserId="138" />
  <row Id="15065" PostId="11335" Text="great answer @penguin359. could you provide a bit more depth about why hijacking a pts session will only give access to the pc which that session is on? also, you mention about remote admins being able to see data from my private ssh keys - could you explain a bit more about what data is obtainable? that's good knowledge about x11 forwarding - something i wasnt previously aware of. i have 2 servers of my own and i'd like to test some of this out, so if you could give any basic examples re: x11 exploits that would be great!" CreationDate="2011-04-14T23:45:52.897" UserId="5451" />
  <row Id="15066" PostId="11338" Text="Which is stageload into GRUB. I believe booting from Stage 1.5  on would be sufficient. Linux would have to run it and hand over control to it. I don't believe the Kernel is capable of that." CreationDate="2011-04-14T23:49:23.680" UserId="1290" />
  <row Id="15067" PostId="11324" Text="What do you consider a &quot;playlist&quot;?" CreationDate="2011-04-15T00:42:23.250" UserId="1571" />
  <row Id="15068" PostId="11358" Text="I've heavily edited this question, please ensure it still conveys your original question." CreationDate="2011-04-15T05:03:02.050" UserId="1207" />
  <row Id="15069" PostId="11347" Text="but i did create a separated /boot partition for each distro, and the /boot's are not encrypted!" CreationDate="2011-04-15T06:05:17.193" UserId="5664" />
  <row Id="15070" PostId="11315" Text="@Gilles: thanks, that was clear to me already.  I've just tried to push OP into doing something sensible about his problem instead of theorizing here how it might not work." CreationDate="2011-04-15T06:16:18.353" UserId="1946" />
  <row Id="15071" PostId="11314" Text="@Gilles thank you for your comment, see my update on my question." CreationDate="2011-04-15T06:20:45.043" UserId="6582" />
  <row Id="15072" PostId="11353" Text="Thank you but I can't find there nothing about the fan. I'm interested of the fan's parameters and configuration files that I can edit and change those parameters to have the most possible control over the fan. I used `sudo lshw | grep fan` and it didn't find it. But command aren't so important. I remember the sentence &quot;Everything in unix is a file&quot; so there should be files with the information I'm looking for." CreationDate="2011-04-15T07:19:09.137" UserId="6215" />
  <row Id="15073" PostId="11353" Text="`dmesg` is on a good way. `/proc` seems to have the information inside but I'd like to be able to locate it and be sure that it's all that controls the fan." CreationDate="2011-04-15T07:35:25.620" UserId="6215" />
  <row Id="15074" PostId="11345" Text="Thanks for the info, I know I could look this up and I will be reading the man page for them but just to get my head straight, If I set the MX record to point to my postfix server and say I have a unix account called steve and the hostname of that box is mydomain.co.uk, and someone sends an email to bob@mydomain.co.uk does the POSTFIX bounce it as there's no unix account called bob on the server?" CreationDate="2011-04-15T07:45:47.830" UserId="6103" />
  <row Id="15075" PostId="11366" Text="@jrtayloriv Could you please explain how this script works? I'm using Acer Travelmate (not Acer Aspire). Is it OK?" CreationDate="2011-04-15T07:49:32.753" UserId="6215" />
  <row Id="15077" PostId="11345" Text="Hi just got postfix setup and i can read the mail in /var/mail/$user thanks v.much" CreationDate="2011-04-15T08:30:07.793" UserId="6103" />
  <row Id="15078" PostId="11261" Text="Win7 and SuSE are the same box, dualboot? What OS and software is the server side?" CreationDate="2011-04-15T08:30:54.173" UserId="5666" />
  <row Id="15079" PostId="11315" Text="@alex: Oops, I replied to the wrong comment." CreationDate="2011-04-15T08:37:45.167" UserId="885" />
  <row Id="15080" PostId="11314" Text="@fabrik: If you're upgrading to a more recent version of the same OS, you have nothing to worry about. Making previously-existing passwords unusable would be a huge incompatibility!" CreationDate="2011-04-15T08:39:48.377" UserId="885" />
  <row Id="15081" PostId="11246" Text="Ok thanks. I need the list of deps for my app to install without the need for the user to install the deps himself." CreationDate="2011-04-15T08:53:49.693" UserId="6480" />
  <row Id="15082" PostId="11314" Text="@Gilles i hope you're right :)" CreationDate="2011-04-15T09:03:28.590" UserId="6582" />
  <row Id="15083" PostId="11362" Text="That's a secondary hard drive that I don't use very often, I don't have any problems with it if it fails, is there a way to get rid of this notification while keeping it for now?" CreationDate="2011-04-15T09:33:43.207" UserId="1707" />
  <row Id="15084" PostId="11367" Text="I don't have Disk Utility, I only have disk usage analyzer, I don't think it's what you're referring to, I'll try one of those two commands you've mentioned, though." CreationDate="2011-04-15T09:35:15.250" UserId="1707" />
  <row Id="15085" PostId="11367" Text="@Mahmoud Hossam, updated my answer." CreationDate="2011-04-15T09:40:38.350" UserId="5666" />
  <row Id="15086" PostId="11367" Text="@forcefsck I use mandriva." CreationDate="2011-04-15T09:41:19.783" UserId="1707" />
  <row Id="15087" PostId="11367" Text="@Mahmoud Hossam, they all look alike these days :) . Package names are more or less the same in most distros. Use the distro's package manager to install it." CreationDate="2011-04-15T09:45:48.350" UserId="5666" />
  <row Id="15088" PostId="4312" Text="Tint2 is my answer. Thanks for all." CreationDate="2011-04-15T10:22:54.927" UserId="2792" />
  <row Id="15089" PostId="11339" Text="As I understand it, ZAxisMapping happens in the driver, so xev sees the data after ZAxisMapping did its work." CreationDate="2011-04-15T10:50:22.300" UserId="6595" />
  <row Id="15090" PostId="11261" Text="Yes, dualboot.  Multiple servers:  some Windows 2003 &amp; some OS X 10.6.7 Server." CreationDate="2011-04-15T10:51:31.353" UserId="3513" />
  <row Id="15091" PostId="11367" Text="@forcefsck hmm...that's interesting, gnome-disk-utility is already installed, yet there's no program with this name, even when I'm root, however, I ran badblocks and it's checking the device right now." CreationDate="2011-04-15T11:18:31.580" UserId="1707" />
  <row Id="15092" PostId="11084" Text="I've done a little more digging and i think i've found the information i needed, if it pans out i'll add my own answer with details." CreationDate="2011-04-15T11:19:40.300" UserId="6498" />
  <row Id="15093" PostId="11367" Text="@Mahmoud Hossam, makes sense since it's the same applet that gives you the warning. To start the gui from command prompt run `palimpsest`. Another nice gui for SMART is `gsmartcontrol`." CreationDate="2011-04-15T11:39:39.917" UserId="5666" />
  <row Id="15094" PostId="11369" Score="4" Text="I suggest you read http://www.washington.edu/computing/unix/vi.html it gives you a basic usage overview. Here's a cheatsheet: http://www.tuxfiles.org/linuxhelp/vimcheat.html It's always a good idea to take a look at pages like that before asking trivial questions..." CreationDate="2011-04-15T12:41:44.117" UserId="1290" />
  <row Id="15095" PostId="11329" Text="At first: I don't know anything about current flaws of this kind. The advisory is from 2002. Here is the Link to the Advisory: http://www.cert.org/advisories/CA-2002-36.html here to the testsuite used to discover the flaw: http://www.rapid7.com/security-center/tools.jsp and here the link to a metasploit test: http://packetstormsecurity.org/files/view/83008/putty_msg_debug.rb.txt" CreationDate="2011-04-15T12:46:28.447" UserId="1339" />
  <row Id="15096" PostId="11374" Score="1" Text="There is already an upvoted and accepted answer with this suggestion and another with details on your additional suggestion. In the future if you don't have anything new to add, throw your weight behind somebody elses answer. This is a collaborative community where we build on each other not fight for attention." CreationDate="2011-04-15T13:04:49.783" UserId="1925" />
  <row Id="15097" PostId="11377" Score="3" Text="+1 for `vimtutor`. That's what people asking this question really need." CreationDate="2011-04-15T14:15:24.197" UserId="250" />
  <row Id="15098" PostId="11358" Text="Steven D.. that was a hard call :)  it was difficult to know if dimpal meant &quot;number of lines&quot; or &quot;line numbers&quot;... I guess he'll pipe up one way or the other..." CreationDate="2011-04-15T14:29:52.690" UserId="2343" />
  <row Id="15099" PostId="11389" Text="`man` actually uses `less` as the pager; you can hit `h` in a man page to get the `less` help screen. I'm not sure why it doesn't dynamically resize man pages" CreationDate="2011-04-15T14:44:03.617" UserId="73" />
  <row Id="15100" PostId="11389" Score="2" Text="The problem appears to be that `man` renders the output to the width of the term. What you need is a pager that can bookmark where you are in the document, re-execute man (which it really has no idea about since it's piped to it) and return to the bookmark. Alternatively, a new man command that incorporates a pager." CreationDate="2011-04-15T14:48:02.990" UserId="6175" />
  <row Id="15101" PostId="11389" Text="I understand the whole process is a bit complicated, from looking up relevant pages, to piping raw source forms through formatting interpreters to a pager, and it's all a little muddy in my head. I'm just wondering if this is so far out there that no one else ever had this wish or is it so complicated that no one's willing to touch it? Dynamic content resizing doesn't seem like a terribly unreasonable thing to wish for." CreationDate="2011-04-15T15:03:46.220" UserId="4750" />
  <row Id="15102" PostId="11389" Text="@nix: Thanks for the first suggestion. I'll try to stick my head in it a little deeper. Maybe I'll find such a setup or can rig up my own." CreationDate="2011-04-15T15:08:13.410" UserId="4750" />
  <row Id="15103" PostId="11367" Text="@forcefsck updated the question." CreationDate="2011-04-15T15:16:44.353" UserId="1707" />
  <row Id="15106" PostId="11367" Text="@Mahmoud Hossam, badblocks is not the only indication of failing disks. Check my last edit and the added links for more info." CreationDate="2011-04-15T15:48:53.063" UserId="5666" />
  <row Id="15109" PostId="11377" Text="A few people need it. If you edit text files regularly, it's worth the time to learn vim. If you don't, and you're just trying to follow some instructions to get something working, then it's probably not worth it unless you just interested in trying different software and learning new things." CreationDate="2011-04-15T16:36:31.757" UserId="2180" />
  <row Id="15110" PostId="11370" Score="4" Text="You have to be quick on the draw to get +10 for `dd`" CreationDate="2011-04-15T16:59:24.313" UserId="5045" />
  <row Id="15113" PostId="11361" Text="What happens when you click the icon?" CreationDate="2011-04-15T19:17:26.960" UserId="885" />
  <row Id="15114" PostId="11372" Score="1" Text="Or `d5d`. I don't know why, but I prefer this. (Fun fact: `NdMd` deletes _N_ × _M_ lines)" CreationDate="2011-04-15T19:28:36.940" UserId="6290" />
  <row Id="15115" PostId="11357" Score="1" Text="That motherboard is pretty recent and you're installing an old distribution that may not have drivers for it. Have you tried something more recent, such as the current release of Debian (squeeze)?" CreationDate="2011-04-15T19:29:15.787" UserId="885" />
  <row Id="15116" PostId="11355" Score="1" Text="How *exactly* do you start gnome-terminal and xterm? Did you do any setup to be able to use gnome-keyring? What OS/distribution are you running?" CreationDate="2011-04-15T19:33:06.407" UserId="885" />
  <row Id="15117" PostId="11373" Text="There's no standard terminology. The concept is pretty much useful only inside the kernel. Linux calls them dentries; see [What is a Superblock, Inode, Dentry and a File?](http://unix.stackexchange.com/questions/4402/what-is-a-superblock-inode-dentry-and-a-file)." CreationDate="2011-04-15T19:35:56.047" UserId="885" />
  <row Id="15118" PostId="11403" Score="2" Text="That doesn't make sense to me. How do you explain the walking-backwards behavior of repeated `i` and `ESC` keypresses?" CreationDate="2011-04-15T19:41:19.120" UserId="138" />
  <row Id="15119" PostId="11403" Score="2" Text="Going into insert mode, not inserting anything, then leaving it is not a fair test. Why would you be in insert mode if you didn't insert something. If you do insert something, going back to normal mode leaves you with the character you inserted selected. Very intuitive." CreationDate="2011-04-15T19:45:49.507" UserId="1925" />
  <row Id="15120" PostId="11403" Score="1" Text="It's not about &quot;fair&quot;, it's about explanatory power. If your theory of operation doesn't explain all the behavior, either it is incomplete or vi's behavior is inconsistent. I prefer to believe that vi is perfect in every way, and therefore consistent. :)" CreationDate="2011-04-15T19:54:42.083" UserId="138" />
  <row Id="15121" PostId="11356" Text="When I `echo $SSH_AUTH_SOCK` in xterm I've got: `/tmp/ssh-mIDzpMya1902/agent.1902`. In gnome-terminal: `/tmp/keyring-F5L0Fh/ssh`. If I set `export SSH_AUTH_SOCK=/tmp/keyring-F5L0Fh/ssh` then xterm works with gnome-keyring. What should I do to set this value in xterm (this value should be the same as in gnome terminal, but every new terminal window this value changes)?" CreationDate="2011-04-15T13:22:02.363" UserId="6621" />
  <row Id="15122" PostId="11403" Score="1" Text="My &quot;theory&quot; does explain all the behavior, it precisely defines why the &quot;moving backward&quot; behavior you describe is happening and why that is the most consistent way the interface could handle the scenario." CreationDate="2011-04-15T20:00:41.277" UserId="1925" />
  <row Id="15123" PostId="11403" Score="4" Text="@Warren The &quot;walking backwards&quot; behavior of `i` followed by `ESC` is a function of `i` and is fully independent of `ESC`; specifically, when you hit `i` you are asking vim to *insert* a character, which by definition means &quot;insert a character prior to the one I am on&quot;, as opposed to `a` which is &quot;append a character after this one&quot;." CreationDate="2011-04-15T20:14:37.890" UserId="6208" />
  <row Id="15124" PostId="11402" Text="I've never even noticed this until just now... and I use vim everyday.  I have no idea why, but I'm interested in hearing the answers." CreationDate="2011-04-15T20:16:27.043" UserId="298" />
  <row Id="15126" PostId="11390" Score="1" Text="The &quot;squeeze&quot; (-s) option to tr can be used on a range of characters, too: echo &quot;aabbcc&quot; | tr -s '[ac]' should yeild &quot;abbc&quot;" CreationDate="2011-04-15T20:35:18.103" UserId="732" />
  <row Id="15127" PostId="9358" Text="So do all the other answers (except maybe the one using `sort` - there's a chance it will use a temporary file)." CreationDate="2011-04-15T20:39:03.600" UserId="6290" />
  <row Id="15129" PostId="5215" Score="1" Text="@Tuxalot If you need me to 'sign a petition' for DW to have a list of rolling-release distro's, give me a nudge at (my-username) @ gmail. I'll gladly sign :-)" CreationDate="2011-04-15T21:07:34.380" UserId="5589" />
  <row Id="15130" PostId="11375" Text="I think that on some operating systems &quot;open file&quot; is a specific term that can also include mappings. There's also the fact that, IIRC, &quot;duplicating&quot; a file descriptor _doesn't_ duplicate some things, like the position, so really all you can reasonably call it is &quot;file descriptor table entry&quot;" CreationDate="2011-04-15T21:09:32.557" UserId="6290" />
  <row Id="15131" PostId="11358" Text="@fred.bear: Indeed.  Not sure which he meant so I allowed the given answer to guide me a bit.  " CreationDate="2011-04-15T21:56:28.813" UserId="1207" />
  <row Id="15132" PostId="11411" Text="+1 Thanks, exactly what I needed!" CreationDate="2011-04-15T15:31:19.100" UserId="2466" />
  <row Id="15133" PostId="11375" Text="@Random832: The file descriptor table is separate to the file table. I was specifically referring to the file table, hence called it a &quot;file table entry&quot;. But I guess the question could be read either way." CreationDate="2011-04-15T22:08:23.953" UserId="1078" />
  <row Id="15134" PostId="11356" Text="As I have explained, you will need to look at your own setup, because it is different from mine.  Look at your `~/.bashrc` and `~/.bash_profile` to start with and see if they contain `ssh-agent`.  If not, look at `/etc/pam.d` and `/etc/X11/Xsession`." CreationDate="2011-04-15T22:21:58.760" UserId="3169" />
  <row Id="15135" PostId="7384" Text="`xargs` adds just noise. Use `find -name \*.h -execdir grep -l 'the regex {} +` " CreationDate="2011-04-15T22:47:18.687" UserId="4485" />
  <row Id="15136" PostId="10913" Text="Why not let a weekend user use locate? The name is easy to grasp, easy to remember, easily combined with ohter commands through pipes and command substitution. Better you teach the people to use a fancy search-box, which is useless for real work? Teach them `locate -i` and you needn't teach them `-i` at dozen other places. Teach them command substitution, and dito. Teach them pipes: dito. Or teach them how to cut and paste icons from box to box. " CreationDate="2011-04-15T22:59:50.963" UserId="4485" />
  <row Id="15137" PostId="11361" Text="@Gilles It says that the disk has too many bad sectors, I click on it, the message disappears, but the icon just stays there." CreationDate="2011-04-15T23:33:23.090" UserId="1707" />
  <row Id="15138" PostId="11358" Text="I added an alternate solution in case he meant he wanted the line numbers that match. I think that should cover it." CreationDate="2011-04-16T00:54:09.527" UserId="6607" />
  <row Id="15139" PostId="11418" Text="It's getting late here ... but it's not clear how or why you would copy 'cfg' files to 'jpg', and why you say there are 'ranges'. Also they appear to be owned by root. Will you do this copying as root?" CreationDate="2011-04-15T15:39:15.950" />
  <row Id="15140" PostId="11418" Text="I guess he means copying all files from asps.cfg to acpi.txt to some destination folder, or that is at least how I interpreted it." CreationDate="2011-04-15T15:43:06.803" />
  <row Id="15141" PostId="11418" Text="The files are just exemples, I'm gonna copy lots of images." CreationDate="2011-04-16T00:12:33.323" />
  <row Id="15142" PostId="11419" Text="Since it's gonna be lots of images that way is to complicated.." CreationDate="2011-04-16T00:13:14.883" />
  <row Id="15143" PostId="11417" Score="3" Text="It should just happen... Are you sure you have some command history for it to repeat? Do you have a file named `~/.bash_history`?" CreationDate="2011-04-16T01:41:14.347" UserId="250" />
  <row Id="15144" PostId="11418" Score="1" Text="I think it would be more helpful if your example was your actual use case.  As it stands, it is pretty difficult to determine what you need to do." CreationDate="2011-04-16T01:41:39.157" UserId="1207" />
  <row Id="15145" PostId="11261" Text="I don't know of anything offhand that would do this. Have you taken a look at the output of mount.cifs with the --verbose option already? My guess would be that it has something to do with the driver under Linux. Can you replicate the problem with the same version of openSUSE on a different computer or with a different brand/model of NIC on the same computer?" CreationDate="2011-04-16T03:36:10.957" UserId="6607" />
  <row Id="15146" PostId="11377" Text="@Shawn J. Goff: I fired vimtutor at command line, and it opened up a vim, with a temp. file. Have I done any mistake?" CreationDate="2011-04-16T04:21:06.513" UserId="6162" />
  <row Id="15147" PostId="11418" Text="My actual use case is about 200 images so that would be to long.. I used 5 files case it is enough to show what Im after. What I need to do is the examples of use in the question. If you don't understand the question you can't answer it ;)" CreationDate="2011-04-16T04:47:22.600" UserId="6637" />
  <row Id="15148" PostId="11391" Text="The obvious downside of having to use $*number* is that you can't use an index variable as with `${args[$i]}`." CreationDate="2011-04-16T05:08:13.260" UserId="1535" />
  <row Id="15149" PostId="11421" Text="How do I define the function range()? I tried creating a file named range.sh with the funtion in it then running ./range.sh but then when I try using it, it says &quot;-sh: range: command not found&quot;" CreationDate="2011-04-16T05:24:50.383" UserId="6637" />
  <row Id="15150" PostId="11421" Text=" You need to source the file rather than run it so that the function is in your current bash environment. Like: `source range.sh` " CreationDate="2011-04-16T06:03:25.657" UserId="1207" />
  <row Id="15151" PostId="11413" Text="The limitation of the `-H` argument to man is that it doesn't use a webserver, but simply a small file. While this avoids any problems with misconfigured firewalls, it doesn't allow hyperlinks to other man pages to be generated (which at least some third-party man-&gt;html scripts support)." CreationDate="2011-04-16T06:12:38.627" UserId="2510" />
  <row Id="15152" PostId="11421" Text="If it's a function that you may use a lot, put it in your .bashrc. Otherwise you can just create a shell script on your path and leave out the function wrapping." CreationDate="2011-04-16T06:28:02.077" UserId="1078" />
  <row Id="15153" PostId="11418" Text="My point was not to list every single image but to ensure that these were actually representative of the type of file names you will be working with.  camh's answer, while clever, will break on most whitespace and a variety of other characters." CreationDate="2011-04-16T06:30:05.000" UserId="1207" />
  <row Id="15154" PostId="11413" Text="@Robin Green: The question is about supporting man pages in re-sizable terminal windows. In that context not using a webserver is not a limitation. And not having hyperlinks is not a limitation, since man pages displayed in `less` do not have hyperlinks." CreationDate="2011-04-16T06:31:00.170" UserId="1078" />
  <row Id="15155" PostId="11413" Text="That's true, it's certainly a valid answer." CreationDate="2011-04-16T06:49:50.357" UserId="2510" />
  <row Id="15156" PostId="11393" Text="hrm, running the --whatprovides command for me just yields &quot;/usr/bin/Xvfb&quot; not found.  Is there a way to find the package required for something you don't have installed?" CreationDate="2011-04-16T07:21:36.270" UserId="6603" />
  <row Id="15157" PostId="11395" Text="Close.  Installed server-extra and Xvfb is now installed but not Xvbf-run." CreationDate="2011-04-16T07:23:18.843" UserId="6603" />
  <row Id="15158" PostId="11367" Text="@forcefsck I booted my computer today, and the problem just went away all by itself, thank you." CreationDate="2011-04-16T07:35:29.290" UserId="1707" />
  <row Id="15159" PostId="11426" Text="#asoundmove: Thanks, that's fantastic... and I like the [-] ability to allow indentation. That has bugged me, and to find a way around it is a nice bonus :)  .. but I'll have to watch out that the tabs don't get changed to spaces.. (as I have my editor set to change tabs to spaces when I type a tab.. but I can paste a tab as a tab (but If I ever retab without thinking, it could cause &quot;unpredictable results&quot;....  but it will be handy for testing ..." CreationDate="2011-04-16T08:47:31.847" UserId="2343" />
  <row Id="15161" PostId="11377" Text="@i-m-jm I don't think you've made a mistake, but your system might have an unusual configuration. It should open a document that begins &quot;Welcome to the VIM Tutor&quot;. If you're interested in working through that, you should post another question." CreationDate="2011-04-16T08:57:00.203" UserId="2180" />
  <row Id="15162" PostId="11417" Text="The keyboard mapping was indeed incorrect. I fixed it. Thanks!" CreationDate="2011-04-16T08:58:16.627" UserId="5672" />
  <row Id="15163" PostId="3196" Score="2" Text="Homework questions I've seen; wanting a QnA site to write your thesis for you is a new one." CreationDate="2011-04-16T09:31:41.437" UserId="1925" />
  <row Id="15164" PostId="11289" Text="nobody has ideas about this? :\" CreationDate="2011-04-16T09:51:40.747" UserId="5664" />
  <row Id="15165" PostId="10932" Text="nobody has ideas about this? :\" CreationDate="2011-04-16T09:52:01.387" UserId="5664" />
  <row Id="15166" PostId="11442" Text="(I moved this answer from a comment to an answer, it was a long shot so I figured I wouldn't clutter the answer space, but since it came out right... :)" CreationDate="2011-04-16T10:18:51.773" UserId="1925" />
  <row Id="15167" PostId="11391" Text="@intuited then use indirection; I'll edit my answer." CreationDate="2011-04-16T12:16:59.703" UserId="5589" />
  <row Id="15168" PostId="11433" Text="`rpm -qi patterns-openSUSE-minimal_base` will show the description of the package." CreationDate="2011-04-16T12:42:43.957" UserId="885" />
  <row Id="15169" PostId="11431" Score="1" Text="Someone's written a GUI for that: [grub-choose-default (Grub 1)](http://digamma.cs.unm.edu/trac.dmohr/wiki/GrubChooseDefaultLegacy), [grub-choose-default (Grub 2)](http://digamma.cs.unm.edu/trac.dmohr/wiki/GrubChooseDefault)." CreationDate="2011-04-16T12:55:39.320" UserId="885" />
  <row Id="15171" PostId="11418" Text="@Tiax: Your question was formulated in a very confusing way, because “copy from X to Y” usually means that Y is the destination. I hope I've reformulated it correctly." CreationDate="2011-04-16T13:07:32.417" UserId="885" />
  <row Id="15172" PostId="7376" Text="thanks phunehehe" CreationDate="2011-04-16T13:52:33.550" UserId="4811" />
  <row Id="15173" PostId="11449" Text="This is not really the solution, only a hack that makes it not so symptomatic. The correct answer here was given in comments and by @phunehehe as an answer. You don't just need a working graphics driver, you need the latest proprietary ones and the latest flash player. Flash's hardware acceleration is way picker than compiz, it only cooperates with a few versions of a few proprietary drivers." CreationDate="2011-04-16T14:03:22.173" UserId="1925" />
  <row Id="15175" PostId="11443" Score="1" Text="This is great, but I believe this only shows WHICH core is being used, it is important to note that each item is still only running on 1 core at a time. The author asked how many cores were in use, not which one." CreationDate="2011-04-16T14:20:14.410" UserId="1925" />
  <row Id="15176" PostId="11450" Text="who are you? some kind of god? :D THANK YOU!" CreationDate="2011-04-16T14:21:01.950" UserId="5664" />
  <row Id="15178" PostId="11420" Text="If the object is just to batch them, there is a MUCH easier way! `ls | xargs -iX -n20 cp X target_folder/` would run cp on files in batches of 20 until they were all done." CreationDate="2011-04-16T14:36:53.590" UserId="1925" />
  <row Id="15179" PostId="9669" Text="What kind of statistics are you expecting to generate that wouldn't be better answered by mail server log files?" CreationDate="2011-04-16T15:16:56.723" UserId="1925" />
  <row Id="15180" PostId="11426" Text="@fred.bear, you're most welcome. Retabbing will be an issue with any editor, but for scripting (shell, awk, perl, sed, grep and general text parsing utilities) it is not a good idea to have your editor replace tabs with spaces as for text parsing tabs are often used as a delimiter." CreationDate="2011-04-16T15:29:39.567" UserId="3519" />
  <row Id="15181" PostId="3411" Text="This is a QnA forum, not a mechanical-turk research site :) This would be a good time to read the documentation." CreationDate="2011-04-16T15:46:31.407" UserId="1925" />
  <row Id="15183" PostId="11391" Text="@pepoluan: Ah, yes, good.  Thanks for adding that." CreationDate="2011-04-16T16:21:59.047" UserId="1535" />
  <row Id="15184" PostId="11457" Text="@Caleb: thanks for your comment, but it leaves me wondering about what exactly a &quot;system process&quot; is.. I keep seeing references to then but I don't understand whwere the distinction lies.... (btw I can't see how 'which' is an absolute indicator).. eg..'which echo`=&gt;&quot;/bin/echo&quot; and `type echo`=&gt;&quot;echo is a shell builtin&quot;, but 'which dd`=&gt;&quot;/bin/dd&quot; and `type dd`=&gt;&quot;dd is /bin/dd&quot; ...  so, I'm part way there .... " CreationDate="2011-04-16T16:44:43.657" UserId="2343" />
  <row Id="15185" PostId="11456" Text="@Shawn: `type` seems to do the trick; thanks for that... but I still wonder what &quot;provided by the shell&quot; means... Perhaps I need to more fully understand how the *shell* relates to the kernel.... but not at 2 AM.. I'll come back to this tomorrow" CreationDate="2011-04-16T16:48:58.163" UserId="2343" />
  <row Id="15186" PostId="11457" Text="&quot;System procses&quot; just means it is being started up as an independent application managed by the kernel. The alternative in the case of builtins is just running a sub-function in the already running code of your shell. In the example you give, `type` is the better indicator of what is being run, but you notice `echo` is both a builtin and there is an application with that name. If your shell didn't have a builtin the system one would get run." CreationDate="2011-04-16T16:53:55.803" UserId="1925" />
  <row Id="15187" PostId="11275" Score="1" Text="The bounty requirement go a little beyond strictly answering the question: please explain how to create an encrypted volume, create a filesystem on it, then change the passphrase. Ideally address both LUKS and non-LUKS. I'll be testing on Ubuntu 10.04, [kernel 2.6.32](http://packages.ubuntu.com/lucid/linux-image-2.6.32-30-generic), [cryptsetup 1.1.0](http://packages.ubuntu.com/lucid/cryptsetup)." CreationDate="2011-04-16T16:57:57.173" UserId="885" />
  <row Id="15188" PostId="11463" Score="1" Text="They're not library files, they're `.*.hmac`, which makes me think they're [signature files](http://en.wikipedia.org/wiki/HMAC), probably part of some intrusion detection package." CreationDate="2011-04-16T17:12:12.223" UserId="885" />
  <row Id="15189" PostId="11463" Text="So what shall I do with those files? Shall I `rm -f` them? Or shall I use ClamAV? " CreationDate="2011-04-16T17:27:26.500" UserId="4335" />
  <row Id="15190" PostId="11463" Text="First figure out what they are and where they came from. If as @Gilles suggests they came from an intrusion detection system (are you running one?) you don't want to mess that up by deleting it's data. First learn what they are and how they got there, then decide what to do with them." CreationDate="2011-04-16T17:31:37.750" UserId="1925" />
  <row Id="15191" PostId="11457" Score="2" Text="`which` is not necessarily a built-in command, and if it's not, it won't know about the shell's built-ins.  POSIX requires that `type` be a built-in command, so it always knows about built-ins." CreationDate="2011-04-16T17:34:41.167" UserId="2421" />
  <row Id="15192" PostId="11463" Text="@Dharmit: First try `rpm -qf /usr/lib/.libssl.so.10.hmac`. @both: but anyway they're from [fipscheck](https://fedorahosted.org/fipscheck/), see my answer." CreationDate="2011-04-16T17:38:14.923" UserId="885" />
  <row Id="15193" PostId="11466" Text="I found http://forums.fedoraforum.org/archive/index.php/t-243765.html and did `rpm -qf` to all those files mentioned in the output by chkrootkit. And they all belong to some or the other package. Thanks though. The links pointed were truly helpful." CreationDate="2011-04-16T17:46:44.473" UserId="4335" />
  <row Id="15194" PostId="11466" Text="@Dharmit: The files are legitimate, but their content might not be. Chkrootkit is warning you about their content. However, since these are common false positives, and chkrootkit would not find most genuine malware anyway, I wouldn't worry about it." CreationDate="2011-04-16T17:57:51.500" UserId="885" />
  <row Id="15195" PostId="11469" Score="1" Text="[Ubuntu doesn't ship `uwsgi`](http://packages.ubuntu.com/search?suite=default&amp;section=all&amp;arch=any&amp;searchon=names&amp;keywords=uwsgi). What source did you add to get the package? If you followed instructions on a web page, link to it. Post the relevant lines in `/etc/apt/sources.list` or in a file under `/etc/apt/sources.list.d`." CreationDate="2011-04-16T18:20:16.090" UserId="885" />
  <row Id="15196" PostId="10932" Text="@johnny8888 Is it not solved? There's a self-answer that's accepted; if you're still having a problem you should probably unaccept it" CreationDate="2011-04-16T18:27:28.140" UserId="73" />
  <row Id="15197" PostId="11471" Text="+1 WoW! Thank you very much! That was exactly what I was looking for. I think I will use `SUDO_UID` and `SUDO_USER`. Thank you again." CreationDate="2011-04-16T18:46:02.253" UserId="4289" />
  <row Id="15198" PostId="11470" Text="Inder most configurations, `sudo` leaves the `HOME` environment variable intact (this can be overridden at compile- or run-time). But you may or may not be able to use the environment variable, depending on what you want to happen if the user specifies a different value for `HOME` (what if bob runs `HOME=/home/joe sudo your_script`?). You should probably **set your euid to the calling user** (given by `SUDO_UID`) before making any filesystem access (apart from whatever actually requires root permission in your script)." CreationDate="2011-04-16T18:54:36.200" UserId="885" />
  <row Id="15199" PostId="11460" Text="These distinctions are the really important ones. " CreationDate="2011-04-16T19:24:25.717" UserId="3270" />
  <row Id="15200" PostId="11457" Text="Many systems ship with an alias of `which` to `type` or some set of options e.g. `alias which='type -path'` - this could be the source of confusion." CreationDate="2011-04-16T19:35:01.937" UserId="6290" />
  <row Id="15201" PostId="11468" Text="@Gilles: Another inciteful answer, thanks... I really like your bullet-point maxims about when to &quot;Prefer&quot;.... I'm starting to differentiate between shell built-ins and the externals...  I've close to finished my alternative method.. it's speed is very close `dd`, and seems to be rather indifferent to the string size... (I'll try to post it sometime tomorrow, once I get it ship-shape :) ... " CreationDate="2011-04-16T19:37:06.367" UserId="2343" />
  <row Id="15203" PostId="10989" Text="Thanks, that makes sense. However, my ssh session is still broken. When I am logged in as user, it doesn't evaluate `\u@\h \w` as variables. I also can't use the up or down arrows, instead I see `^[[A`." CreationDate="2011-04-16T19:44:17.827" UserId="6442" />
  <row Id="15204" PostId="11467" Text="Interesting and useful.. As the string length reduces, the time increases ..On my box your exact command took `real/user/sys **0m4.565s**/0m0.804s/0m0.904s` ..with a string &quot;x\n&quot;, it took `r/u/s **0m30.227s**/0m29.202s/0m0.880s`... but that's still certainly faster than `printf--sed` ... The 384 byte string version is about the same speed as `dd` on my system too...(it's funny how things vary... I actually got a slower dd speed this time... " CreationDate="2011-04-16T19:48:27.950" UserId="2343" />
  <row Id="15205" PostId="9431" Text="You should open 3 different questions, because they don't seem to be related, so it is easier to work on each question stringently, to upvote `the` right/best answer and accept it, to tag them well, to find matching answers, if somebody has similar problems. You may provide links between them, if you think they are useful. " CreationDate="2011-04-16T20:34:53.653" UserId="4485" />
  <row Id="15206" PostId="11431" Text="This worked for me. I had to set my `/boot` partition as `ext2` (it was `ext4`) and my limited experience doing that made that process take longer than it should have. It looks like these instructions set Fedora as the default (which I don't really want, I just want the ability to control the next boot) so I didn't follow them to the letter, but being able to edit `/boot/grub.conf` is good enough." CreationDate="2011-04-16T21:25:23.677" UserId="5387" />
  <row Id="15207" PostId="11468" Text="@fred.bear, spelling tip: I suppose you meant &quot;insightful&quot; rather than &quot;inciteful&quot; (which does not exist, but could be linked to &quot;to incite&quot;)." CreationDate="2011-04-16T21:48:24.370" UserId="3519" />
  <row Id="15208" PostId="11457" Text="`type which` *which is /usr/bin/which* .. `which which` which is hashed (/usr/bin/which)` .. `type type` *type is a shell builtin* ..  I'm not sure what that last one means, but it looks interesting :) .. `which type` returned nothing.. &#xA;" CreationDate="2011-04-16T21:59:51.203" UserId="2343" />
  <row Id="15209" PostId="11465" Text="Applications communicate with the kernel by issuing interrupts, actually." CreationDate="2011-04-16T22:00:28.053" UserId="1049" />
  <row Id="15211" PostId="11465" Score="3" Text="@George: Applications communicate with the kernel by issuing syscalls, which depending on the OS and architecture may or may not use interrupts. Users, as a rule, don't issue interrupts." CreationDate="2011-04-16T22:05:27.863" UserId="885" />
  <row Id="15212" PostId="11465" Text="@cjm: It sounds so simple when you explain it like that :)... you've certainly helped clear the fog... just a light mist now.. (actually that's just what the weather is like here, this morning... pleasantly misty ;) ... thanks" CreationDate="2011-04-16T22:15:35.130" UserId="2343" />
  <row Id="15213" PostId="11465" Text="@Gilles: Really? I thought all user mode programs communicated with the kernel via interrupts (on certain architectures, of course)." CreationDate="2011-04-16T22:16:10.510" UserId="1049" />
  <row Id="15214" PostId="11443" Text="For which cores are in use, you can use taskset -pc [pid]" CreationDate="2011-04-16T22:22:57.367" UserId="5535" />
  <row Id="15217" PostId="11468" Text="@asoundmove: Thanks. I'm quite happy with such alerts.. but I definitely(?) meant 'inciteful' :) http://oxforddictionaries.com/view/entry/m_en_gb0404940#m_en_gb0404940  (but not to incite to illegal actions, as the strict sense of the word implies... I may have got the two cross wired.. I recall both sentiments;  &quot;insight&quot; and &quot;being spurred on&quot;...   Actually, I'll concede.. Hey, :)  my excuse is: not a lot of sleep last night. too much Q&amp;A.... I think I did mean mainly &quot;insight&quot;.. but I definitely recall thinking of both words. (a bit off topic, but a change is as good as a holiday :)" CreationDate="2011-04-16T22:40:46.147" UserId="2343" />
  <row Id="15218" PostId="11435" Text="@Caleb // Great answer. I guess there is no short way. Just installed ubuntu :)" CreationDate="2011-04-16T22:50:48.173" UserId="6640" />
  <row Id="15219" PostId="11457" Text="I can't upvote this, until `which` is replaced by `type`. I used which, over and over again, not knowing of `type` and was very astonished to lern, that `which` is only right, if deciding between programs. " CreationDate="2011-04-16T23:01:25.433" UserId="4485" />
  <row Id="15220" PostId="11347" Score="1" Text="@johnny How far does Ubuntu get when booting? Did you run grub-install manually for Ubunut or Fedora? Can you boot up with an Ubuntu LiveCD and mount your Ubuntu partition?  If you can try chrooting to your Ubuntu root directory and run grub-install." CreationDate="2011-04-16T23:06:35.787" UserId="6167" />
  <row Id="15221" PostId="11347" Text="I updated the OP." CreationDate="2011-04-16T23:14:05.280" UserId="5664" />
  <row Id="15222" PostId="11476" Text="WPA PSK does not have the same problem as WEP where various vendors tried to make it easier to type in the WEP HEX key.  WPA PSK defines a standard method to convert a passphrase of US-ASCII printable characters into a 64 character HEX string.  If the passphrase entered in is less than 64 characters, it's a passphrase as US-ASCII.  They would have to have exactly 64 characters to make it a Hex key.  Look at the section under Security and Insecurity http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access" CreationDate="2011-04-16T23:15:16.637" UserId="6167" />
  <row Id="15223" PostId="11472" Text="By minimal, I assume you mean no X and Gnome/KDE?" CreationDate="2011-04-16T23:29:56.683" UserId="3169" />
  <row Id="15224" PostId="11479" Score="3" Text="It's difficult to know what to say. Obviously, there are differences, but will they be where you expect them? maybe, maybe not. Read the [FAQ](http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/) and the [handbook](http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/) (one piece at a time, of course). Don't always expect things to work exactly the same — it's a different OS after all. You might prefer to start in a VM, so you can do things like browse the web for information if you get stuck." CreationDate="2011-04-16T23:51:08.657" UserId="885" />
  <row Id="15225" PostId="11347" Text="@johnny Did Ubuntu boot before Fedora was installed?  If so, I think I have an answer." CreationDate="2011-04-17T00:03:19.183" UserId="6167" />
  <row Id="15226" PostId="11479" Text="OK, that's fair enough. I'm happy that there's nothing that really stands out. The VM idea is a good one. I'm still keen to see if anyone has any other suggestions about things that caught them out first time. Perhaps there won't be any." CreationDate="2011-04-17T00:04:40.960" UserId="5770" />
  <row Id="15227" PostId="11445" Text="Perl snippet works great; thanks for the tip about `quotemeta`.  I'm still a little surprised that running verbatim string replacements from a list didn't have some simple canned solution, but I'm happy with the Perl code." CreationDate="2011-04-17T00:37:25.753" UserId="2879" />
  <row Id="15228" PostId="11482" Text="It's hard to tell without some more info from the original poster, but I believe that is what @dimpal intended in the original question -- to count the number of lines that had at least one word between 5 and 10 characters long that starts with a capital letter. Also the solution you posted would match the line &quot;F foobar&quot;, for example." CreationDate="2011-04-17T00:38:45.623" UserId="6607" />
  <row Id="15229" PostId="11482" Text="Yes, intentionally my first solution does. The line starts with a capital letter and contains a word of length 5-10. Think either: `find the number of (lines in a text file that (have words which are 5 to 10 character long) and (begin with a capital letter))` OR `find the number of lines in a text file that have (words (which are 5 to 10 character long) and (begin with a capital letter))`. " CreationDate="2011-04-17T00:55:55.113" UserId="4485" />
  <row Id="15230" PostId="11482" Text="The original question was &quot;a shell script in unix/linux to find the lines number of a text file are having words which are 5 to 10 character long and having first letter as a capital letter&quot;, again, it's ambiguous but it sounds like he meant words that start with a capital letter, not lines that start with a capital letter." CreationDate="2011-04-17T00:59:56.047" UserId="6607" />
  <row Id="15231" PostId="11476" Text="@penguin359 - so what are you saying? that the method I use to enter the psk is ok and my problem lies elsewhere?" CreationDate="2011-04-17T01:12:37.013" UserId="3127" />
  <row Id="15232" PostId="11482" Text="Well, tak, I didn't vote you down or suggested your answer is wrong, but said, that I see 4 possibilities, and I provided what I think is  a solution to 2 interpretations, which were not addressed by your solutions - no? Your interpretation might be better, but now I stop to argue, and work on an correction for my answers, which is needed. But I can vote your answer up, if it succeds my test cases. :) " CreationDate="2011-04-17T01:52:00.407" UserId="4485" />
  <row Id="15233" PostId="11458" Text="Wow this looks interesting. I'll have to try it." CreationDate="2011-04-17T02:08:02.103" UserId="250" />
  <row Id="15234" PostId="10989" Text="What is your shell? Other shells may have different format to the `PS1` variable. Check [this question](http://unix.stackexchange.com/q/9501/250) in case you don't know. About the up and down arrows, I think it has little to do with the prompt. You should ask that in another question." CreationDate="2011-04-17T02:11:23.690" UserId="250" />
  <row Id="15235" PostId="11472" Text="The Debian installation without Desktop Environment and System Services. So, with X but no GNOME/KDE." CreationDate="2011-04-17T02:18:26.557" UserId="5184" />
  <row Id="15236" PostId="11476" Text="Yes.  With WEP there were problems about using password vs. hex key as well as different incompatible password schemes.  That doesn't happen with WPA PSK." CreationDate="2011-04-17T02:25:24.583" UserId="6167" />
  <row Id="15237" PostId="11478" Text="I'm hoping for a simple solution like halevt, just &quot;Install &lt;package&gt; and you are done.&quot; I'll have to look at those packages." CreationDate="2011-04-17T02:28:09.637" UserId="5184" />
  <row Id="15238" PostId="11478" Text="Copy the code above, paste it into the suggested file (/etc/udev....rules), and hopefully you're done." CreationDate="2011-04-17T03:00:00.437" UserId="3169" />
  <row Id="15239" PostId="11482" Text="Fair enough, no offense intended :)" CreationDate="2011-04-17T03:01:26.287" UserId="6607" />
  <row Id="15240" PostId="10989" Text="I am asking this [here](http://unix.stackexchange.com/questions/11485/different-shell-for-root-and-non-root-user)." CreationDate="2011-04-17T03:32:37.400" UserId="6442" />
  <row Id="15241" PostId="11468" Text="@fred.bear: oh it does exist! New one on me. Learn something new everyday." CreationDate="2011-04-17T03:43:14.890" UserId="3519" />
  <row Id="15242" PostId="11482" Text="The correction is, that no correction was needed. I thought, egrep or sed might depend on LC_COLLATE and include aBbCc..YyZ in A-Z (or was it bBcC...yYzZ?), but, according to my experiments, it doesn't." CreationDate="2011-04-17T03:44:03.537" UserId="4485" />
  <row Id="15243" PostId="5681" Score="1" Text="...so you followed the instructions for quik and it worked?  Didn't work?  How far did you get?" CreationDate="2011-04-17T03:48:54.940" UserId="6662" />
  <row Id="15244" PostId="10616" Score="2" Text="@Host Post, did you notice that others actually voted up some of your questions. Would you mind having the courtesy to vote up the answers that you found at least somewhat helpful, and accept (click on the tick mark) the answers that gave you the best information. This is how things work around here. Your accept rate is currently showing 0%, this will not incite many of us to help you with further questions." CreationDate="2011-04-17T04:03:21.397" UserId="3519" />
  <row Id="15245" PostId="11420" Text="The difference is, your version, target folder is same for all batches." CreationDate="2011-04-17T04:11:59.297" UserId="6635" />
  <row Id="15246" PostId="11488" Score="1" Text="OMG thanks. I used useradd, so that's why it was configured to `sh`. If you use adduser, it will be `bash` on Ubuntu." CreationDate="2011-04-17T04:39:34.183" UserId="6442" />
  <row Id="15248" PostId="11493" Score="1" Text="Don't forget to edit `/etc/gshadow` when adding groups. Also, use `vigr(8)` rather than directly editing the files." CreationDate="2011-04-17T05:30:49.340" UserId="1078" />
  <row Id="15249" PostId="11445" Text="@Gilles There's a pending edit suggestion about adding `chomp`" CreationDate="2011-04-17T05:37:45.463" UserId="73" />
  <row Id="15250" PostId="11070" Text="@polemon: Make sure you're using the original lomoco, not the rewrite which currently doesn't compile.  I don't think the original lomoco is under version control." CreationDate="2011-04-17T05:42:48.283" UserId="6662" />
  <row Id="15251" PostId="11496" Text="Problem is, lomoco doesn't compile, since Linux doesn't support STREAMS (stropts.h)" CreationDate="2011-04-17T06:17:19.780" UserId="1290" />
  <row Id="15252" PostId="11497" Text="Is your school network WPA2?" CreationDate="2011-04-17T06:20:53.163" UserId="6635" />
  <row Id="15253" PostId="11488" Text="@fortress You can use the `-s` option to set the shell at user creation time." CreationDate="2011-04-17T07:22:39.607" UserId="3082" />
  <row Id="15254" PostId="11470" Text="Thank you for the advice. Ok, I will set my `euid` to `SUDO_UID`." CreationDate="2011-04-17T07:49:25.317" UserId="4289" />
  <row Id="15255" PostId="9669" Text="@Caleb I have very basic statistics in mind, e.g. min/avg/max mails per year/month/day, most recurrent receipt/sender, etc.  Not everybody has access to mail server logs, so this is not always an option." CreationDate="2011-04-17T08:02:36.517" UserId="5766" />
  <row Id="15256" PostId="11240" Text="@rob @user this of course assume that `/tmp` isn't using the current kernel defaults which is `relatime` only update when the file is modified, or `noatime`. In which case `atime` isn't going to be remotely helpful." CreationDate="2011-04-17T08:27:03.473" UserId="29" />
  <row Id="15257" PostId="11239" Text="@user sure, for system daemons... this doesn't necessarily mean that there aren't locks or logs for a users application in `/tmp` because the normal user can't write to `/var/log|lock` I have a shell script that writes a lock to `/tmp`" CreationDate="2011-04-17T08:27:56.517" UserId="29" />
  <row Id="15258" PostId="11381" Text="ahh... so by 'eval' you meant indirect reference... ${!var} construct is safer, like what I wrote in my answer" CreationDate="2011-04-17T08:51:35.613" UserId="5589" />
  <row Id="15259" PostId="11486" Text="My main issue is having tasks all bundled onto one screen, that and performance. Ubuntu runs 2-3 times as fast even when running off the wubi installer(not on it's own partitition). I've no interest in using keys to manage windows, that's the opposite of what i'll be doing on any other computer i use(they all use Windows). For me, the keyboard is for typing, if the task doesn't require written input, then it's a mouse operation, which naturally includes window/task management, am i honestly expected to change my workflow that drastically just to use Linux? Appreciate the feedback nonetheless.." CreationDate="2011-04-17T08:55:40.483" UserId="6498" />
  <row Id="15260" PostId="11480" Text="In essence that's what I've done too..(but differently)... I'll check this later (busy now), and I've &quot;answered&quot; the question with my &quot;tee&quot; versoon..." CreationDate="2011-04-17T09:08:38.903" UserId="2343" />
  <row Id="15261" PostId="11504" Text="If you've used Gentoo, portage is based on the concept of ports from BSD." CreationDate="2011-04-17T09:19:54.027" UserId="6167" />
  <row Id="15262" PostId="11505" Text="thank you for the answer but the boot partitions was: 256 and 270 MBytes in the two instances :\" CreationDate="2011-04-17T09:21:32.433" UserId="5664" />
  <row Id="15264" PostId="11481" Text="Re `chown` argument: the current syntax, at least in GNU coreutils, is `user:group`, with dot being accepted only for compatibility. One can use `j.smith:j.smith`." CreationDate="2011-04-17T10:03:47.343" UserId="2168" />
  <row Id="15266" PostId="11259" Text="Ubuntu does, and every Linux I tested before, did: Knoppix, Peanut, Halloween, Red Hat, SuSe. Why would it make the system faster? What exactly would be faster? Calculations, disk access, networking, boot up? " CreationDate="2011-04-17T10:23:29.803" UserId="4485" />
  <row Id="15269" PostId="11480" Text="@user-unknown: I've looked at it again.. I think the idea is good (but I would, as we have both used a binary doubling :).. It creates a *lot* of files.. which then have to be selectively `cat`d again to get the final desired number of strings. eg 987654321 ... repeats of your string... and as you said it slows downa lot with larger numbers of repeating strings... It has been running for aprox 40 mins to make a 32GB file, so I killed it. (I'm after a 35 GB file..) ... The `tee` process I've used takes 7-9 minutes... but I all for the binary idea.. binay splits and doublings are powerful tools " CreationDate="2011-04-17T10:54:48.493" UserId="2343" />
  <row Id="15270" PostId="11508" Text="So does he write about the file, in which it is defined? " CreationDate="2011-04-17T11:43:11.280" UserId="4485" />
  <row Id="15271" PostId="11504" Text="But don't make installing bash the first thing you do. As noted, sh is the default shell and others are used more often than you'll see bash." CreationDate="2011-04-17T11:51:47.417" UserId="3887" />
  <row Id="15272" PostId="11479" Text="Using the handbook cannot be emphasized enough. Most answers to forum questions will almost always refer you to the handbook. Also, with all due respect to those here, you should visit http://forums.freebsd.org/ ." CreationDate="2011-04-17T11:53:46.883" UserId="3887" />
  <row Id="15273" PostId="11481" Score="1" Text="@grawity: It's not just GNU coreutils, but the problem isn't `chown` itself, it's existing scripts and other programs that call `chown $user.$group` instead of `chown $user:$group` — even if the `chown` implementation tries to do the right thing, some cases are intrinsically ambiguous." CreationDate="2011-04-17T11:58:27.323" UserId="885" />
  <row Id="15275" PostId="11445" Text="@Michael: Suggested edits leave a notification on every page, so I go through them anyway (the rare times when you don't reach them first)." CreationDate="2011-04-17T12:01:07.963" UserId="885" />
  <row Id="15277" PostId="11510" Score="2" Text="What desktop environment are you using? (The answer should be something like “KDE 5.3.1”, preferably with some additional indications like “under the default configuration of FooBSD, with BarDesktopManager also installed”.)" CreationDate="2011-04-17T12:13:08.190" UserId="885" />
  <row Id="15278" PostId="11509" Score="1" Text="I recommend having one of the Grubs chainload the other, rather than have it directly load the kernel. Don't modify `menu.lst` or `grub.cfg` manually, your modifications may/will be lost when a kernel upgrade comes in. In a nutshell, install the Fedora grub on a partition boot sector, and make the Ubuntu grub chainload it (it's easier to customize Ubuntu's Grub2 than Fedora's Grub1)." CreationDate="2011-04-17T12:16:30.700" UserId="885" />
  <row Id="15280" PostId="11508" Score="1" Text="I don't understand the question. Do you mean the number of elements in the list? It's the number of tasks, of course. Do you mean the size occupied by the task list? The nodes are stored in the task data structure, so each takes `sizeof(struct task_struct)` bytes, but that includes the nodes and all other data. Or did you mean the maximum length of the list? Then the list structure isn't a limiting factor, the limiting factor would be either the limit on PIDs (only 15 bits by default) or the available memory." CreationDate="2011-04-17T12:21:34.007" UserId="885" />
  <row Id="15282" PostId="11503" Text="But note that you can't catch `SIGSTOP`, which is the `SIGKILL` to `SIGTSTP`'s `SIGTERM`. (In other words, `SIGTERM` is “please die”, `SIGKILL` is “you're dead”, `SIGTSTP` is “please suspend” and `SIGSTOP` is “you're suspended”.)" CreationDate="2011-04-17T12:26:16.000" UserId="885" />
  <row Id="15283" PostId="11510" Text="@Gilles - Gnome 2.30.2 under Ubuntu 10.04" CreationDate="2011-04-17T12:29:34.107" UserId="1594" />
  <row Id="15284" PostId="11508" Text="@Gilles:  I meant the maximum length of the circular doubly linked list? Or does it have such a restriction or will it grow continuously?" CreationDate="2011-04-17T13:27:13.380" UserId="2871" />
  <row Id="15285" PostId="11479" Text="I'm having a read through the handbook now actually. Have been all day. Full of good info." CreationDate="2011-04-17T13:33:53.037" UserId="5770" />
  <row Id="15286" PostId="11504" Text="Thanks for this info. I've left off doing the install until I've ploughed through the handbook. Sounds like I'll be making lots of aliases. :)" CreationDate="2011-04-17T13:58:30.777" UserId="5770" />
  <row Id="15287" PostId="11513" Score="1" Text="[Please don't just post a link as an answer](http://meta.stackoverflow.com/q/8259), both because the linked site may be unavailable, and because as it is your answer doesn't show what it's about. Summarize the essential parts of the answer here, and provide the link for reference." CreationDate="2011-04-17T15:31:04.397" UserId="885" />
  <row Id="15288" PostId="11514" Score="1" Text="On the contrary, the Alt+Tab handler is an ordinary application under Unix. It can be (and usually is) the same application that does other things such as provide window frames and a task bar." CreationDate="2011-04-17T15:33:53.007" UserId="885" />
  <row Id="15289" PostId="11514" Text="@Gilles: Like I said, the window manager." CreationDate="2011-04-17T15:36:17.800" UserId="2168" />
  <row Id="15290" PostId="11509" Text="I think I found a Virtualbox bug :( - http://unix.stackexchange.com/questions/11518/virtualbox-bug-when-chainloading-grub2" CreationDate="2011-04-17T15:40:45.360" UserId="5664" />
  <row Id="15291" PostId="11511" Text="that's the same I said." CreationDate="2011-04-17T15:42:33.817" UserId="5664" />
  <row Id="15292" PostId="11518" Text="Given that it's a bug, I really recommend reporting it to the authors." CreationDate="2011-04-17T15:42:36.560" UserId="885" />
  <row Id="15293" PostId="11518" Text="I updated to VirtualBox 4.0.4..it's the same" CreationDate="2011-04-17T16:12:28.580" UserId="5664" />
  <row Id="15294" PostId="11518" Text="http://www.virtualbox.org/ticket/8742" CreationDate="2011-04-17T16:13:31.917" UserId="5664" />
  <row Id="15296" PostId="11503" Text="@Gilles yes, but no normal program will send SIGCONT.  It also doesn't allow terminal programs to clean up the screen because it can't be handled.  I have never seen it except when I have sent it myself. I have on the other hand seen programs normally in the way of shutdown scripts send SIGKILL." CreationDate="2011-04-17T17:16:00.507" UserId="6167" />
  <row Id="15297" PostId="11504" Text="@boehj I do recommend learning the native FreeBSD commands, but I don't want these differences to scare you off.  When I first installed FreeBSD, I realized just how user-friendly Linux was with all the customizations Linux distributors make to Linux and their choice of software.  FreeBSD is still easier to get used to then a standard Solaris install from my experience." CreationDate="2011-04-17T17:18:05.120" UserId="6167" />
  <row Id="15298" PostId="11523" Text="While the general advice to use single quotes is right, in this particular case, it doesn't matter: `)` and `|` are not single-character variables, so the shell won't interpolate `$)` or `$|`; and `&quot;\s&quot;` expands to `\s`, the backslash inside double quotes is retained except before `&quot;$\\``." CreationDate="2011-04-17T18:02:28.020" UserId="885" />
  <row Id="15299" PostId="11523" Text="@geekosaur I was using the -E option but i forgot to include it here. I will edit the post. &#xA;&#xA;In this case why the two options give me different results?&#xA;&#xA;The single vs double-quotes can influence this?" CreationDate="2011-04-17T18:02:36.490" UserId="6678" />
  <row Id="15300" PostId="11524" Text="That debug script is trying to run `dpkg`, which is a Debian (and Ubuntu, and others) package management tool. Fedora doesn't have `dpkg`, it has `rpm` instead playing the same role. Don't copy things under `/usr` if you don't understand what you're doing. If you want help installing openshot, tell us what instructions you followed, what files you downloaded, copy-paste the commands you ran and the error messages." CreationDate="2011-04-17T18:11:18.580" UserId="885" />
  <row Id="15301" PostId="11523" Text="@Gilles: that turns out to depend on the shell; I've just gotten 3 different behaviors from three different shells." CreationDate="2011-04-17T18:16:49.527" UserId="5325" />
  <row Id="15302" PostId="11523" Text="@user6678: see my reply to Gilles; it depends on the shell (but it appears that in `bash` the double quotes should be okay; it's still a bad habit that can lead to problems in the future, though). `\s` is not supported by `grep -E` in any version of GNU `grep` I have available (checked on OSX and Ubuntu Maverick). That said, I would expect them to behave the same (if incorrectly), and they do so here." CreationDate="2011-04-17T18:21:03.863" UserId="5325" />
  <row Id="15303" PostId="11523" Text="@geekosaur: What shells are those? On Debian, I can't find a (Bourne-style) shell that prints anything but `\a$|` for `printf %s\\n &quot;\a$|&quot;`. [POSIX](http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_02_03) is clear that the backslash must be retained; I can't find anything about `$` followed by an invalid character." CreationDate="2011-04-17T18:32:59.817" UserId="885" />
  <row Id="15304" PostId="11401" Text="@Gilles - that's the exact thing. Passing $COLUMNS bypasses the issue (even locally).  --disable-columns is too messy to look at.  Time to create more aliases :)" CreationDate="2011-04-17T19:04:46.893" UserId="6630" />
  <row Id="15305" PostId="11398" Text="@Caleb - I'll have to check that when I get back to my office tomorrow.  I'll keep you posted." CreationDate="2011-04-17T19:05:35.380" UserId="6630" />
  <row Id="15306" PostId="10710" Text="Hmmm, I installed XP SP1 on a brand new VM and did no updates whatsoever.  It connected fine.  Very odd." CreationDate="2011-04-17T19:17:10.340" UserId="6324" />
  <row Id="15307" PostId="11503" Text="THe above solution works correctly if I send kill -SIGTSTP PID or SIGCONT. however sigtstp and sigcont doesnt seem to be sent when for example you close the mbp lid and open it later. do you know what signals you should be trapping for those? " CreationDate="2011-04-17T19:26:47.303" UserId="6663" />
  <row Id="15308" PostId="11259" Text="A lot of different sw use temp files in the tmp dir, read/write times to a tmpfs is the same as to ram (since it is ram). Otherwise those access would have the read/write times of a normal harddrive with is way slower. So every time you have a app that use a temp files, you would have faster access for those actions." CreationDate="2011-04-17T20:10:15.893" UserId="2567" />
  <row Id="15309" PostId="11523" Text="Thanks guys. &#xA;&#xA;As i searched i found another way to do it:&#xA;`grep -E '^[[:space:]]*$'`&#xA;&#xA;" CreationDate="2011-04-17T20:26:37.697" UserId="6678" />
  <row Id="15310" PostId="10710" Text="Try rdesktop or grdesktop to compare." CreationDate="2011-04-17T21:36:15.750" UserId="6167" />
  <row Id="15312" PostId="11503" Score="1" Text="Laptop suspend/hibernate is really a system-wide event. Individual processes don't get notified normally. There might be a udev/hal/dbus event you can monitor, but it's a lot more sophisticated than catching a process signal. You also may not have time to do anything, I don't have much experience in this area." CreationDate="2011-04-17T21:42:08.447" UserId="6167" />
  <row Id="15313" PostId="11503" Text="@Gilles @Pradeep I meant SIGSTOP. I've never seen any process actively send that signal, only SIGTSTP." CreationDate="2011-04-17T21:46:25.497" UserId="6167" />
  <row Id="15314" PostId="11501" Text="This is looking very good.. It think that the actual number of repeats (xrange) would depend on system resources, but it can get several GB of strings from xrange alone... (easily dealt with wit a bit of bounds checking)... I've included some test times in my answer.. Both your method, and my method are close to 'dd', timewise.." CreationDate="2011-04-17T21:51:39.707" UserId="2343" />
  <row Id="15315" PostId="11533" Text="possible duplicate of [Lightweight outgoing SMTP server](http://unix.stackexchange.com/questions/1449/lightweight-outgoing-smtp-server)" CreationDate="2011-04-17T22:22:12.813" UserId="885" />
  <row Id="15316" PostId="11496" Text="@polemon: Compiles fine for me - are you using the &quot;download version 1.0&quot; link from the [homepage](http://www.lomoco.org/)?" CreationDate="2011-04-18T00:53:01.177" UserId="6662" />
  <row Id="15317" PostId="11486" Text="@t31os: No, you're not expected to change your workflow, but you should at least consider whether you're dismissing a change that could ultimately benefit you.  To put it another way, it's like the owner of a horse-drawn carriage complaining that this new-fangled automobile doesn't have anywhere to attach the horse :-)" CreationDate="2011-04-18T00:59:21.307" UserId="6662" />
  <row Id="15318" PostId="11533" Text="Do you have any code?" CreationDate="2011-04-18T01:02:17.600" UserId="1900" />
  <row Id="15319" PostId="11539" Text="Thanks! That fixed my problem." CreationDate="2011-04-18T04:41:19.767" UserId="6693" />
  <row Id="15320" PostId="11465" Text="@George Edison: Never heard of `sysenter`? That ain't no interrupt. ;-)" CreationDate="2011-04-18T05:09:12.743" UserId="6695" />
  <row Id="15321" PostId="11465" Text="@George, @Gilles, @Chris, none of your comments have anything to do with this question or my answer.  Maybe somebody should ask a question about how apps communicate with the kernel, and take this discussion there.  @fred, you're welcome. :-)" CreationDate="2011-04-18T05:34:31.803" UserId="2421" />
  <row Id="15322" PostId="11533" Score="1" Text="No, i don't want outgoing , i want incoming !!!" CreationDate="2011-04-18T05:38:20.023" UserId="6686" />
  <row Id="15323" PostId="11532" Text="Thanks for `set -e`!" CreationDate="2011-04-18T05:59:26.377" UserId="1946" />
  <row Id="15324" PostId="11508" Text="@Sen: your question should be rephrased as &quot;what is doubly linked list?&quot;  And that it can be trivially easy answered by web search." CreationDate="2011-04-18T06:15:22.853" UserId="1946" />
  <row Id="15325" PostId="11465" Text="@Chris: You're right. I learned something new :) (I admit that I had to Google 'sysenter' to figure out that it was an instruction.)" CreationDate="2011-04-18T06:15:42.267" UserId="1049" />
  <row Id="15326" PostId="11496" Text="@Malvineous: yes" CreationDate="2011-04-18T06:27:28.190" UserId="1290" />
  <row Id="15327" PostId="11546" Score="1" Text="What would be the point? If you are going to make the symlink anyway, why not just put the original file there in the first place?" CreationDate="2011-04-18T09:54:56.830" UserId="2671" />
  <row Id="15328" PostId="11467" Text="@Mat: I've included some test times in my answer (so that all times relate to the same hardware)." CreationDate="2011-04-18T09:59:07.267" UserId="2343" />
  <row Id="15330" PostId="8732" Text="Thanks! Also it turns out the ethernet problem was unrelated to my laptop/linux configuration (it was a problem with my ISP) - so everything's working now. Thanks again:)" CreationDate="2011-04-18T11:04:17.040" UserId="3892" />
  <row Id="15332" PostId="11546" Score="1" Text="Just to comment on the `make install` target pushing files into `/usr/local`; this functionality is easily changeable by passing a `--prefix=` command line parameter to the `./configure` script, or if there is no `./configure` script, you can pass a parameter to the `make` target like so: `make --prefix=/usr install`." CreationDate="2011-04-18T11:45:50.937" UserId="6149" />
  <row Id="15333" PostId="11546" Text="Is /opt a standard directory included in $PATH?  I know /usr/local is." CreationDate="2011-04-18T14:13:54.410" UserId="3389" />
  <row Id="15334" PostId="11546" Text="@Let_Me_Be the benefit would be that it's very easy to keep older versions. Let's say I have 2 versions of 'foo', located in `/opt/foo-1.1` and `/opt/foo-1.2`. When I upgrade, `foo` symlink in `/usr/local/bin` points to foo-1.2. If for some reason I need to rollback, I just replace the symlink with one that points to foo-1.1 instead. If 1.2 is okay after several weeks, a quick `rm -rf /opt/foo-1.1` removes the older version quickly and cleanly." CreationDate="2011-04-18T14:41:24.720" UserId="5589" />
  <row Id="15335" PostId="11546" Text="@Sean indeed. but sometimes lots of crud gets sent there, too. I'd rather have the cruds not littering my /usr/local" CreationDate="2011-04-18T14:42:52.347" UserId="5589" />
  <row Id="15336" PostId="11546" Text="@ultrasawblade no, it is not. and never should be. after all, according to FHS, /opt must be subdivided into subdirs bearing the name of the package. cramming everything into PATH is a surefire way to disaster. rather, apps should install themselves under /opt, and symlinks their user-invoked programs into /usr/local/bin (or sbin)." CreationDate="2011-04-18T14:45:28.973" UserId="5589" />
  <row Id="15337" PostId="11545" Text="Oh dear.  I didn't mean to drag myself into a &quot;holy war&quot;." CreationDate="2011-04-18T15:01:30.383" UserId="5164" />
  <row Id="15338" PostId="11558" Score="1" Text="I don't have perl on my system... :( However, +1" CreationDate="2011-04-18T15:44:46.703" UserId="6001" />
  <row Id="15339" PostId="11561" Text="Thank you! that was the one I was thinking of." CreationDate="2011-04-18T15:47:00.843" UserId="6707" />
  <row Id="15340" PostId="11561" Score="2" Text="If that's the answer you needed, good etiquette here is to mark it as the accepted answer." CreationDate="2011-04-18T16:14:39.007" UserId="1925" />
  <row Id="15341" PostId="11547" Text="I disagree about your monolithic point. The LHS standard says packages installed in /opt subdirectories must have their host specific files be installed outside /opt, respectively under /etc/opt/package for configuration files and /var/opt/package for logs, spool and similar. /opt is actually closer that the unix deployment rules than /usr/local, which put everything under a directory that should be read-only but can't be for obvious reasons." CreationDate="2011-04-18T16:22:29.370" UserId="2594" />
  <row Id="15342" PostId="11565" Text="@Caleb: thanks for the response, but I'm having this problem even if I'm not currently using the international layout.  When the layout is being used, everything works as expected.  It's when it's not being used, that my regular layout is broken (just the Alt_R key)." CreationDate="2011-04-18T18:09:29.660" UserId="6708" />
  <row Id="15343" PostId="11567" Text="@Juliano: just like I told Caleb, the problem is when I'm not actually using the layout.  I don't see why simply enabling the layout should cause a problem if it's not being used at the moment, but maybe I'm misunderstanding how linux keymaps work?" CreationDate="2011-04-18T18:10:54.977" UserId="6708" />
  <row Id="15344" PostId="11566" Score="1" Text="Do you mean sometimes you boot and it's unclaimed and sometimes you boot and it's claimed, or do you mean it oscillates between claimed and unclaimed just like that? Do you see anything in the kernel logs (`/var/log/kern.log`) (post anything that you aren't sure is irrelevant)?" CreationDate="2011-04-18T18:43:19.813" UserId="885" />
  <row Id="15345" PostId="11521" Text="I'm going to give &quot;apt-offline&quot; a try. Thanks!" CreationDate="2011-04-18T19:50:21.983" UserId="6677" />
  <row Id="15346" PostId="11567" Text="@deuberger: Yes, it is likely that simply adding the layout as available will revert the right Alt key to its original meaning. The right-Alt-same-as-left-Alt is an exception that only makes sense if only U.S. English is used (and that is for backwards compatibility). If you add other layouts, it implies that you will use them. The modifier mapping and keyboard layout are achieved in different layers inside the xkb code." CreationDate="2011-04-18T20:11:38.233" UserId="1627" />
  <row Id="15347" PostId="11560" Score="1" Text="You can also use th `ip` command: `/sbin/ip link show eth0`." CreationDate="2011-04-18T20:39:09.410" UserId="3082" />
  <row Id="15348" PostId="11560" Text="@Keith I don't have that command, I'm not sure which package it's in; I think `ifconfig` is fairly standard" CreationDate="2011-04-18T20:49:34.217" UserId="73" />
  <row Id="15349" PostId="11560" Score="1" Text="@Michael On Linux anyway, it is the [preferred tool](http://lartc.org/lartc.html#LARTC.IPROUTE2.WHY). In fact you must use to configure some advanced features. But ifconfig lives on..." CreationDate="2011-04-18T20:55:47.767" UserId="3082" />
  <row Id="15351" PostId="11570" Text="Do you know about MacPorts and Fink?  If not, look them up -- they're 3rd party package managers for OS X and might be of interest to you." CreationDate="2011-04-18T21:17:16.507" UserId="6721" />
  <row Id="15352" PostId="11578" Score="3" Text="While using double quotes around command substitutions is a good idea in general, this is one of the few cases where they are not necessary: variable assignments always result in a single word, with no word splitting or filename generation performed on the result of the substitution." CreationDate="2011-04-18T21:20:54.183" UserId="885" />
  <row Id="15353" PostId="11577" Score="4" Text="While using double quotes around command substitutions is a good idea in general, this is one of the few cases where they are not necessary: variable assignments always result in a single word, with no word splitting or filename generation performed on the result of the substitution." CreationDate="2011-04-18T21:21:50.003" UserId="885" />
  <row Id="15354" PostId="11565" Score="1" Text="@Caleb: I see what you mean now, though that doesn't answer the question I was intending to ask, which now I know has to do with the modifier mapping.  This does help me to get the full benefit of the international keyboard though, so +1.  Also FYI for others, the way I got a proper AltGr key was by choosing third level chooser under layout options in the GNOME keyboard preferences.  I chose right alt." CreationDate="2011-04-18T21:26:34.203" UserId="6708" />
  <row Id="15355" PostId="11567" Text="Okay, that makes more sense, but I don't understand why the mapping should be updated based on my current layout?  Is this a GNOME or xorg bug or am I still not getting it?  I understand the technical behavior now, I just don't understand the why behind it." CreationDate="2011-04-18T21:28:27.243" UserId="6708" />
  <row Id="15356" PostId="11578" Score="1" Text="After running a test script it seems you're right. After executing, TEST=`echo testing 123`, $TEST contains &quot;testing 123&quot;. I would still say that it's a good idea to include the double quotes on variable assignment in any case though." CreationDate="2011-04-18T22:06:03.967" UserId="6607" />
  <row Id="15357" PostId="11487" Text="I was hoping for a pre-existing tool, but I suppose this will be sufficient." CreationDate="2011-04-18T22:12:43.597" UserId="4856" />
  <row Id="15358" PostId="11577" Score="1" Text="That may be true, but the question was why does one particular script do it, and I'm sure that's what the original author had in mind. Right or wrong, that would be the reasoning. Because, as you said, it is generally a good idea and does no harm in this context." CreationDate="2011-04-18T22:32:10.750" UserId="3082" />
  <row Id="15359" PostId="11584" Text="Rotating the logs before processing was my first thought." CreationDate="2011-04-18T22:46:16.093" UserId="885" />
  <row Id="15360" PostId="11567" Text="It is not a bug, neither in GNOME, nor in Xorg. This is intended behavior. Right Alt is AltGr, not the same as the left Alt. It just so happens that U.S. English has no use for AltGr, so if it is the only keyboard layout loaded, it is mapped to the same modifier as left Alt, for compatibility with really old systems." CreationDate="2011-04-18T22:54:21.167" UserId="1627" />
  <row Id="15361" PostId="11402" Text="when going back to insert mode, you can press 'a' for append instead of 'i' for insert.  You will then move back to the position you were in before pressing escape." CreationDate="2011-04-18T23:39:54.950" UserId="6167" />
  <row Id="15362" PostId="11561" Text="There's also denyhosts" CreationDate="2011-04-18T23:58:14.857" UserId="5535" />
  <row Id="15363" PostId="11577" Score="1" Text="Which is, why the advice is bad. If you use them, when they are benficial, and omit them, when not, you encourage the learning of the distinction, which is beneficial itself." CreationDate="2011-04-19T00:17:37.783" UserId="4485" />
  <row Id="15364" PostId="11560" Score="2" Text="The international approach is `LC_ALL=C ifconfig eth0 | awk '/HWaddr/ {print $NF}'`, because the output might be localized, not matching 'HWaddr'. LC_ALL=C uses the international standard." CreationDate="2011-04-19T00:21:30.713" UserId="4485" />
  <row Id="15365" PostId="11560" Score="1" Text="@user Ah, cool. As far as I know it'll always be the first line, so you could just get away with `awk '{print $NF; exit}'` too" CreationDate="2011-04-19T00:31:55.267" UserId="73" />
  <row Id="15366" PostId="11577" Score="1" Text="Some of us have better things to do with our time than learn shell minutiae. Doing it the safe way, that has no downside, is fine advice.  " CreationDate="2011-04-19T00:56:05.947" UserId="3082" />
  <row Id="15368" PostId="11580" Text="mmm. Correct me if I'm wrong. So looks like original script author didn't need to create alias for ECHO - since it's a built bash command? - right?" CreationDate="2011-04-19T02:41:42.793" UserId="2657" />
  <row Id="15369" PostId="11496" Text="@polemon: Sounds like you're missing some header files then, maybe your distro has -dev packages you need to install before you can compile it?  I tried it under Gentoo with no problems.  Maybe your distro already has a package for it." CreationDate="2011-04-19T02:58:06.043" UserId="6662" />
  <row Id="15370" PostId="11590" Score="3" Text="The `/proc` filesystem is the typical source of this kind of information." CreationDate="2011-04-19T03:52:25.413" UserId="5931" />
  <row Id="15371" PostId="11560" Text="Yes, if you're the AWK-type. I'm the sed-type, but would here prefer an `| head -n 1` then. " CreationDate="2011-04-19T03:53:21.930" UserId="4485" />
  <row Id="15372" PostId="10827" Text="Note that this will work better than prepending `echo ` if there are multiple commands on the line (delimited by `;`, `&amp;&amp;`, etc.)." CreationDate="2011-04-19T04:58:58.297" UserId="1535" />
  <row Id="15373" PostId="11543" Text="Thank you but I do not know python :(" CreationDate="2011-04-19T05:02:33.050" UserId="6686" />
  <row Id="15374" PostId="10863" Text="`^U` `^K` will have the same effect as `^A` `^K` but is marginally more ergonomic, and significantly more convenient under `screen`." CreationDate="2011-04-19T05:04:30.410" UserId="1535" />
  <row Id="15375" PostId="10869" Score="1" Text="@Gilles .. unless you need to use some aspect of the shell state (variables, functions, aliases, etc.)." CreationDate="2011-04-19T05:05:15.370" UserId="1535" />
  <row Id="15376" PostId="10864" Text="You can also prepend `Esc` instead of pressing `Alt`.  This might be more palatable for removing the `#`: you can do `Esc` `1` `Esc` `#`." CreationDate="2011-04-19T05:06:39.347" UserId="1535" />
  <row Id="15377" PostId="11057" Text="512MB ought to be enough for anybody." CreationDate="2011-04-19T05:38:48.777" UserId="1535" />
  <row Id="15378" PostId="11024" Text="I suppose this is also marginally faster, since it avoids the invocation of the `ls` executable." CreationDate="2011-04-19T05:40:51.723" UserId="1535" />
  <row Id="15379" PostId="11595" Text="Very good points about NFS—though I was referring to *NTFS*! Much appreciated anyway, I'll keep these things in mind." CreationDate="2011-04-19T06:12:26.760" UserId="4111" />
  <row Id="15380" PostId="11594" Text="Thanks for the input. Based on what you're telling me, I'm now leaning towards using /mnt/windows. In the future, perhaps I can use /mnt/tmp or something like that for temporary mounts." CreationDate="2011-04-19T06:13:34.607" UserId="4111" />
  <row Id="15381" PostId="11566" Text="I mean the former, it changes after each boot." CreationDate="2011-04-19T06:14:29.950" UserId="4812" />
  <row Id="15382" PostId="11595" Text="@jgottula NTFS is no problem of course as it's local.  I though a NFS windows mount was odd.  I still might put it under `/mnt` personally since it's not a part of the standard Linux Filesystem like `/home`  or `/usr`, but I just like a clean `/` filesystem." CreationDate="2011-04-19T06:17:10.453" UserId="6167" />
  <row Id="15383" PostId="11503" Text="@Pradeep I forgot to mention you in my response." CreationDate="2011-04-19T06:18:41.823" UserId="6167" />
  <row Id="15384" PostId="11594" Text="Thats what I would do, I personally like a clean top level directory. Especially since I've gotten used to hitting tab at certain points for certain directories :-)" CreationDate="2011-04-19T06:51:24.880" UserId="6472" />
  <row Id="15385" PostId="11390" Text="+1, exactly what I was looking for" CreationDate="2011-04-19T07:02:26.877" UserId="3645" />
  <row Id="15386" PostId="11580" Score="3" Text="@Andre: Yes, `ECHO` is completely useless. But then all the calls to `which` here are useless, because all the script ever does is call the commands, which would look up the `PATH` anyway. The quoting is also off: there are double quotes in the definitions of these variables, where they don't make a difference, but not when using the variables, where it would (and sometimes they're even `eval`ed). You mustn't call this script with any special character in a command name (or in `$PASSWORD`, but using that is a bad idea anyway)." CreationDate="2011-04-19T07:06:21.853" UserId="885" />
  <row Id="15387" PostId="11566" Text="@apoorv020: Next time you boot and see the card as unclaimed, post all the lines concerning the card or the driver from `/var/log/kern.log`. Also try `modprobe ath_pci` and report any error message or line appearing in the kernel logs. One possible explanation is that there's a conflicting driver that claims the card but then doesn't work; if that's the issue and you find this name, you can blacklist it." CreationDate="2011-04-19T07:11:53.970" UserId="885" />
  <row Id="15388" PostId="11606" Text="Additional question for fellow helpers: Given that not all terminal emulators default to a login shell I recommended `.bashrc` rather than `.bash_profile`; if there's a persuasive argument for keeping it restricted to login shells I'd like to hear it." CreationDate="2011-04-19T07:36:43.670" UserId="4949" />
  <row Id="15389" PostId="11594" Text="Concur and upvoted. Nicely explained and well put." CreationDate="2011-04-19T07:38:42.713" UserId="4949" />
  <row Id="15390" PostId="11580" Text="yeah -I was scratching my head about those evals as well:) Also - regular variables should be lowercased to avoid any collisions with internal shell variables. And they are uppercased everywhere in that script. um.. oh well. Things like this really hinder bash beginners like myself. So - thanks for your help!" CreationDate="2011-04-19T07:50:06.273" UserId="2657" />
  <row Id="15391" PostId="11580" Text="@Gilles: IMHo - that script is a bit over-engineered for what it does, - mysql dbs backup, -  -would you agree?" CreationDate="2011-04-19T07:55:29.120" UserId="2657" />
  <row Id="15392" PostId="11543" Text="If you know C and Perl, Python should be the easiest language to learn. Probably there is only one line missing to finish this script. How should the mail be redirected to your script ? What to do with the recipients and the body of the message ?" CreationDate="2011-04-19T07:59:14.890" UserId="4200" />
  <row Id="15393" PostId="11601" Text="What is meant by **unicorns**? Is it a technical term or just a filler?" CreationDate="2011-04-19T08:03:28.520" UserId="2871" />
  <row Id="15394" PostId="11601" Text="I removed the unicorns to avoid confusion." CreationDate="2011-04-19T08:05:34.787" UserId="5842" />
  <row Id="15395" PostId="11601" Text="Could you please elaborate on **the compiler will try and make the code layout optimal for the case**? I would like to know how it does that." CreationDate="2011-04-19T08:08:07.873" UserId="2871" />
  <row Id="15396" PostId="11606" Text="I'm using `bash`. Maybe I asked the question bad way. I edited `~/.bashrc` as you said and restarted the computer and after restart I had to run `xmodmap ~/.Xmodmap` manually to have remapped keys." CreationDate="2011-04-19T08:12:45.527" UserId="6215" />
  <row Id="15397" PostId="11601" Text="added a bit of information on that. there is no general way of optimizing code, it's all very processor dependent." CreationDate="2011-04-19T08:19:47.590" UserId="5842" />
  <row Id="15398" PostId="3202" Text="&quot;which is going to be usable any decade now&quot; gave me good chuckles:)" CreationDate="2011-04-19T08:27:57.427" UserId="2657" />
  <row Id="15399" PostId="11606" Text="Try adding the line to `~/.bash_profile` as well, as `~/.bashrc` may not get loaded in a login shell." CreationDate="2011-04-19T09:07:36.630" UserId="4949" />
  <row Id="15400" PostId="11499" Text="@Can Burak Cilingir: Thanks for the link. I'll take a look at that." CreationDate="2011-04-19T09:13:22.213" UserId="5770" />
  <row Id="15401" PostId="11396" Text="Sorry for taking so long to get back to you Caleb. Cheers for the answer. I've decided to bypass the network and just plug in the drive. Therefore I've partitioned a bit of it as ext4 for this purpose." CreationDate="2011-04-19T09:15:37.453" UserId="5770" />
  <row Id="15402" PostId="11345" Text="@steve If it does not match either a UNIX account or an alias by default, it will register as a permanent delivery error and bounce the email.  Postfix can be set up with an alternate user database and use virtual hosting, but for smaller setups, it can be easier to just create aliases that point to the UNIX account.  webmaster can be an alias that directs all mail to steve's account." CreationDate="2011-04-19T09:20:47.860" UserId="6167" />
  <row Id="15403" PostId="11607" Text="Thanks, that worked... I had tried 'file`, but without any option :(  ... I've now also tried a mixof UTF-16 and UTF-8 and ISO-8859-1. `file -i` reported `unknown-8bit`. So, this also seems to be the answer to: &quot;How to detect an invalid/unknown encoding&quot;  " CreationDate="2011-04-19T09:21:39.760" UserId="2343" />
  <row Id="15404" PostId="11606" Text="This helped. I had to create the file `~/.bash_profile` . Should I add all the lines or only the one line with `xmodmap ~/.Xmodmap`?" CreationDate="2011-04-19T09:37:24.097" UserId="6215" />
  <row Id="15405" PostId="11606" Text="This worked for a while but stopped working and I had to run it manually again." CreationDate="2011-04-19T09:50:49.307" UserId="6215" />
  <row Id="15406" PostId="11548" Text="Thanks for the pointer to kickstart. I only had a quick look at it's documentation so I don't know yet if it will serve my needs but it certainly looks interesting. You understood what I am looking for, congratulations :-) I won't &quot;accept&quot; your answer yet, because I still want to encourage more answers. I am still looking for a builder originating from a minimalist distribution rather than from a mainstream one. The latter might get it right too but I still have a little more faith in the former. Thanks again." CreationDate="2011-04-19T10:03:58.350" UserId="1311" />
  <row Id="15407" PostId="11556" Text="It's not that I have never heard of these distributions before rather I have ruled them out in the past. However I will reconsider; from a fresh look they seem at least worth doing that. Thanks." CreationDate="2011-04-19T10:06:37.397" UserId="1311" />
  <row Id="15408" PostId="11381" Text="@pepoluan ... Thanks for alerting me to that. It's much simpler to write... (I've just now gone back to the webpage I referred to, If I had read further, I would have seen it mentioned it there too :( ...." CreationDate="2011-04-19T10:27:51.663" UserId="2343" />
  <row Id="15411" PostId="11566" Text="@apoorv020: So the driver is loaded anyway but sometimes doesn't like the hardware. Can we have the logs from a successful boots for comparison? On an unsuccessful boot, if you `rmmod ath_pci; rmmod ath_hal; modprobe ath_pci`, does it sometimes work?" CreationDate="2011-04-19T10:55:36.127" UserId="885" />
  <row Id="15412" PostId="11601" Text="Thanks Mat. I understood it well." CreationDate="2011-04-19T10:56:47.617" UserId="2871" />
  <row Id="15413" PostId="11384" Text="@Mat.. The replacement needs to be `/` (not `\/`) on my system... ????" CreationDate="2011-04-19T11:01:18.713" UserId="2343" />
  <row Id="15414" PostId="11384" Text="@fred.bear: both work here (bash 4.1.9(2))" CreationDate="2011-04-19T11:04:01.693" UserId="5842" />
  <row Id="15415" PostId="11612" Text="make sure you set the right permissions on `su` (must be identical to what they are on your main system). setuid scripts is a bad idea (and doesn't work on a lot of systems anyway, not sure about Solaris)" CreationDate="2011-04-19T11:05:47.650" UserId="5842" />
  <row Id="15416" PostId="11384" Text="@Mat.. version 4.1.5(1) ... That must be it. thanks." CreationDate="2011-04-19T11:07:57.323" UserId="2343" />
  <row Id="15417" PostId="11413" Text="Thanks for the extensive answer! It works pretty ok apart from rather long delays processing large man pages (to be expected, I guess) and a lot of formatting differences. I also couldn't find a text browser whose handling would satisfy me (tried lynx, elinks, w3m). Being this answer is the closest to the original intent of my question, I'll give it some time and accept it, unless a miracle occurs in the meantime." CreationDate="2011-04-19T11:28:17.003" UserId="4750" />
  <row Id="15418" PostId="11399" Text="Thanks for this answer. Running a dedicated server goes against my minimalistic streak, but definitely +1 for bringing up the HTML solution in the first place, and because `manServer` produces much better output than either the `-H` option or `man2html`. This would be my preferred solution if `manServer` could be used on a per-request basis (as part of a pipe or in `cgi-bin`)." CreationDate="2011-04-19T11:36:22.467" UserId="4750" />
  <row Id="15419" PostId="11381" Text="@fred heh. but if the indirection happens on the *left* side, eval is a necessary evil, tho' :)" CreationDate="2011-04-19T11:45:03.257" UserId="5589" />
  <row Id="15420" PostId="7544" Text="NOTE: Oracle has dumped OpenOffice - http://goo.gl/cKzQS - so you might want to consider switching to LibreOffice, essentially the same thing. http://www.libreoffice.org/" CreationDate="2011-04-19T12:32:50.593" UserId="3887" />
  <row Id="15422" PostId="11544" Text="My understanding is that `/usr/local` is a local version of `/usr` file system, whereas `/opt` is place holder for misc stuff." CreationDate="2011-04-19T13:11:50.930" UserId="3482" />
  <row Id="15423" PostId="11621" Score="1" Text="@michelemarcon: This does not use perl. It uses recent GNU grep and grep has an option for using perl-style regular expressions." CreationDate="2011-04-19T13:18:41.440" UserId="1078" />
  <row Id="15424" PostId="11621" Text="I have busybox grep, thanks however for the clarification. +1" CreationDate="2011-04-19T13:20:37.023" UserId="6001" />
  <row Id="15425" PostId="11624" Text="Path permissions?  Who owns the file, and who owns the process that's trying to open it for execution?" CreationDate="2011-04-19T12:01:08.890" />
  <row Id="15426" PostId="11624" Text="I am the owner of the file. The permission I have set is chmod u+x submit_cron_test.sh, but I am not the root user or have any admin privileges. the path permisions for /bin/sh has all users and groups rwx" CreationDate="2011-04-19T12:50:29.867" />
  <row Id="15427" PostId="11625" Text="I am the owner of the file. The permission I have set is chmod u+x submit_cron_test.sh, but I am not the root user or have any admin privileges . I have the shebang set to #!/bin/zsh " CreationDate="2011-04-19T12:08:54.487" />
  <row Id="15428" PostId="11625" Text="Hi, &#xA;&#xA;The server that I am working on doesn't have a token for cron jobs...so I have been told.&#xA;&#xA;Therefor I am getting the above error.&#xA;&#xA;I will move to a local machine to run my cron job.&#xA;&#xA;Cheers,&#xA;&#xA;Mike" CreationDate="2011-04-19T12:56:38.537" />
  <row Id="15429" PostId="11618" Text="It works after restart. I will wait for a while yet because Shadur's answer worked after restart too." CreationDate="2011-04-19T13:35:02.030" UserId="6215" />
  <row Id="15430" PostId="11629" Text="isn't that a Linux-specific tool?" CreationDate="2011-04-19T14:24:52.783" UserId="5842" />
  <row Id="15431" PostId="11620" Text="I think this --&gt; http://unix.stackexchange.com/questions/7950/reserved-space-for-root-on-a-filesystem-why is very similar to what you ask." CreationDate="2011-04-19T14:41:09.267" UserId="5770" />
  <row Id="15432" PostId="11630" Text="ok, that clears it pretty much. thank you! a statement like&#xA;&#xA;`if you run for long periods of time (with lots of file creates and deletes) while the filesystem is almost full (i.e., say above 95%), at which point you'll be subject to fragmentation problems.`&#xA;&#xA;is exactly what I was looking for." CreationDate="2011-04-19T14:52:45.677" UserId="6738" />
  <row Id="15433" PostId="11624" Text="@MWright, the excerpt from the crontab file is &quot;OTP_ProJect/...&quot; **WITHOUT** a leading slash. " CreationDate="2011-04-19T15:24:34.783" UserId="4667" />
  <row Id="15434" PostId="11632" Text="Mint questions go on http://unix.staxckexchange.com" CreationDate="2011-04-19T13:14:27.373" UserId="968" />
  <row Id="15435" PostId="11575" Text="I have a feeling that I need a device driver for the ICH10R for Debian (which would support the CSMI I/O control codes), but it doesn't appear that Intel has a device driver specifically for Debian. Can anyone confirm this?" CreationDate="2011-04-19T15:28:50.833" UserId="5944" />
  <row Id="15436" PostId="11633" Text="This was annoying because we had another user account for testing before, but then I created a new account (for other reasons) and forgot to add it to the UDEV rules." CreationDate="2011-04-19T15:57:09.603" UserId="4856" />
  <row Id="15437" PostId="11630" Text="But let's be clear: ext3 fragmentation isn't at all the same as NTFS fragmentation.  ext3 allocates disk blocks to files as individual blocks. NTFS allocates disk blocks in extents. A &quot;fragmented&quot; NTFS file can have multiple inode-equivalents full of very small extents of disk blocks." CreationDate="2011-04-19T16:18:05.103" UserId="732" />
  <row Id="15438" PostId="11566" Text="I tested the driver on some similar hardware, and it seems that the problem is that the card is somewhat loose." CreationDate="2011-04-19T16:29:17.247" UserId="4812" />
  <row Id="15439" PostId="11566" Text="One related problem was that on Ubuntu 9.04, you have to 'activate' proprietary drivers (madwifi uses some proprietary binaries). But this is not made obvious." CreationDate="2011-04-19T16:32:08.603" UserId="4812" />
  <row Id="15440" PostId="11600" Text="Thank you for the thorough response." CreationDate="2011-04-19T16:33:29.700" UserId="6722" />
  <row Id="15441" PostId="11399" Text="Oh, wait. It **can**. I'll be back after trying to make this work." CreationDate="2011-04-19T16:36:53.983" UserId="4750" />
  <row Id="15442" PostId="11637" Score="2" Text="I find the date change on `/dev/pts/1` also strange. This doesn't mean node.js is running as root (it can't be unless it's setuid root, and that has absolutely nothing to do with the port forwarding). What OS is this? Is there any virtualization, SELinux or other element worth mentioning? Are there other users on this machine?" CreationDate="2011-04-19T17:52:12.637" UserId="885" />
  <row Id="15443" PostId="11625" Text="@MWright If this solved your problem you should [accept it](http://meta.stackoverflow.com/questions/5234/how-does-accepting-an-answer-work/5235#5235)" CreationDate="2011-04-19T18:07:31.767" UserId="73" />
  <row Id="15444" PostId="11637" Text="what's also pretty strange is the date going back to Feb. 21st." CreationDate="2011-04-19T18:19:40.253" UserId="5842" />
  <row Id="15445" PostId="11263" Text="And: If the led does **not blink** for some seconds, you know it **is** frozen. " CreationDate="2011-04-19T18:31:29.467" UserId="4485" />
  <row Id="15446" PostId="11637" Score="1" Text="This smacks of something fundamentally wrong, like a compromised system and you're tracking the effect of ghosts on the woodwork of a house. I don't know exactly what to say to look for, but we aren't seeing the whole picture yet." CreationDate="2011-04-19T18:48:52.063" UserId="1925" />
  <row Id="15447" PostId="11575" Text="This answers my question: http://www.spinics.net/lists/dm-devel/msg15009.html" CreationDate="2011-04-19T18:52:50.720" UserId="5944" />
  <row Id="15448" PostId="11585" Text="What are your kernel and ubuntu versions? What was the kernel driver you had to disable before?" CreationDate="2011-04-19T19:03:54.543" UserId="5931" />
  <row Id="15449" PostId="11641" Text="And the current mount information is in `/etc/mtab`" CreationDate="2011-04-19T19:20:17.107" UserId="73" />
  <row Id="15450" PostId="11641" Score="1" Text="...or in /proc/mounts, /etc/mtab is some cases may have wrong info" CreationDate="2011-04-19T19:53:05.567" UserId="4523" />
  <row Id="15451" PostId="11639" Text="Can you add links to before and after example videos?" CreationDate="2011-04-19T19:57:32.160" UserId="3001" />
  <row Id="15453" PostId="11623" Text="See also [GNU Screen for X11 Forwarding](http://unix.stackexchange.com/questions/10597/gnu-screen-for-x11-forwarding)" CreationDate="2011-04-19T20:07:28.640" UserId="885" />
  <row Id="15454" PostId="11606" Text="`.bashrc` is aboslutely not the right place. It is read when you start an interactive shell. It is not read when you start a graphical environment, but it will be read each time you open a terminal window. In other words, it won't trigger when it should, and will trigger when it shouldn't." CreationDate="2011-04-19T20:12:11.430" UserId="885" />
  <row Id="15455" PostId="11597" Text="This is really a programming question, better suited for [Stack OVerflow](http://stackoverflow.com/)." CreationDate="2011-04-19T20:17:29.213" UserId="885" />
  <row Id="15456" PostId="11581" Text="Make sure you are using `dir/` and not `dir/*` in rsync arguments." CreationDate="2011-04-19T20:19:14.850" UserId="2168" />
  <row Id="15457" PostId="11606" Text="My bad. Which is, then? `.xsession`?" CreationDate="2011-04-19T20:29:05.070" UserId="4949" />
  <row Id="15459" PostId="11653" Text="...almost downvoting but wsconsctl is not for manipulating usb hid devices. It is the usbhidctl -command. Forgive me if I am wrong but it is my understandig, currently... you may be on the right track. Can you clarify the last point you added?" CreationDate="2011-04-19T22:37:30.670" UserId="2362" />
  <row Id="15460" PostId="11624" Text="Your test of `sh /OTP_ProJect/...` does not test the executability of the script, only it's readability.  Try it directly without the sh prefix.  In particular, try the line exactly as it is in crontab.  Also, the script is only executable by the file owner.  I assume that that user is the same as the user who's crontab has the above entry." CreationDate="2011-04-19T22:38:34.663" UserId="6167" />
  <row Id="15461" PostId="11653" Text="@hhh: Your question does not state that assumption.  Did you already try `wsconscfg -k`, `usbhidctl -f /dev/wskbd1 ...`?" CreationDate="2011-04-19T22:38:42.603" UserId="3169" />
  <row Id="15462" PostId="11632" Text="The Meta key normally refers to Alt on a US PC Keyboard.  I assume you are referring to the Windows Logo key which is normally called Super in X11 terminology." CreationDate="2011-04-19T22:40:00.807" UserId="6167" />
  <row Id="15463" PostId="11653" Text="`wscons` has supported USB devices [since 2001](http://openbsd.monkey.org/misc/200101/msg00653.html).  Did you even try this?" CreationDate="2011-04-19T22:41:06.843" UserId="3169" />
  <row Id="15464" PostId="11653" Text="@Mikel: sorry my question may be misleading but by usb console keybord I mean that I want to get just plugged usb-keyboard working in my specified layout. I tried `&quot;-f /dev/uhid0&quot;` to manipulate the keyboard, not wskbd1 haven't done such redirection." CreationDate="2011-04-19T22:43:57.653" UserId="2362" />
  <row Id="15465" PostId="11655" Score="1" Text="Look in `/var/log/syslog`. Post everything from around the time the connection is dropped." CreationDate="2011-04-19T22:44:30.963" UserId="885" />
  <row Id="15466" PostId="11653" Text="`wscons` is supposed to support USB keyboards, so I suggest finding the `/dev/wskbd&lt;number&gt;` that corresponds to your keyboard (or using `wsconscfg` to create such a device if it does not already exist), then try `wsconsctl` on it." CreationDate="2011-04-19T22:49:13.907" UserId="3169" />
  <row Id="15467" PostId="11653" Text="clearly I confused wsconsctl and usbhidctrl. Indeed, it automatically creates `/dev/wskbd&lt;number&gt;` -device so `$ wsconsctl -f /dev/wsbkbd1 keyboard.encoding=us.dvorak` works fine. Thank you." CreationDate="2011-04-19T23:01:31.407" UserId="2362" />
  <row Id="15468" PostId="11648" Text="@Gilles: Thanks for the good overview... Yes, &quot;best-guess&quot; can be the only option when the encoding is not known... Using `iconv`, I just ran all 1168 encodings (including aliases) listed by `iconv -l` against one of my .htm files... There were 683 encodings which passed muster.. The file's actual charset=ISO-8859-1 ..made up of all bar one ASCII-range values.. The non-ASCII char was \xA9 ." CreationDate="2011-04-19T23:02:28.207" UserId="2343" />
  <row Id="15469" PostId="11653" Text="Out of interest, if you put `keyboard.encoding=us.dvorak` in `/etc/wsconsctl.conf`, and reboot, does it affect all keyboards?  If you can't reboot now, no problem, but I would like to hear when you do." CreationDate="2011-04-19T23:04:08.097" UserId="3169" />
  <row Id="15471" PostId="11606" Text="@Shadur: Should it be `.xsession` or `.xsessionrc`? The one I linked to mentions both." CreationDate="2011-04-20T00:43:20.170" UserId="2333" />
  <row Id="15472" PostId="11660" Score="1" Text="This is a really nice answer Giles. Thanks for those links." CreationDate="2011-04-20T00:44:17.130" UserId="5770" />
  <row Id="15473" PostId="11479" Text="Still reading... Lots of good stuff in there." CreationDate="2011-04-20T00:50:49.557" UserId="5770" />
  <row Id="15474" PostId="9124" Text="This is rather awesome. And I agree with Keith!" CreationDate="2011-04-20T01:01:19.383" UserId="5770" />
  <row Id="15475" PostId="4624" Text="@Luke Did Gilles solution work?  If so, can you mark it accepted?" CreationDate="2011-04-20T01:05:00.167" UserId="6167" />
  <row Id="15476" PostId="11589" Text="Are you specifically running a program as root?" CreationDate="2011-04-20T01:13:08.117" UserId="6167" />
  <row Id="15477" PostId="11609" Text="MongoDB does appear to be in Ubuntu and most likely Debian, but I've never used it." CreationDate="2011-04-20T01:14:54.590" UserId="6167" />
  <row Id="15478" PostId="11660" Text="Thank you! I appreciate your prompt and informative answer -- especially with all of the links to help me further!" CreationDate="2011-04-20T01:25:44.897" UserId="6756" />
  <row Id="15479" PostId="11659" Text="Thank you as well!" CreationDate="2011-04-20T01:34:39.193" UserId="6756" />
  <row Id="15480" PostId="11660" Text="May I ask, for those of us that *are* heavy torrenters, which file system would best suit our needs for a dedicated torrent partition? Does anyone know?" CreationDate="2011-04-20T01:38:49.647" UserId="5770" />
  <row Id="15481" PostId="11659" Text="No problem. I learned a lot out of this deal too!" CreationDate="2011-04-20T01:40:32.353" UserId="5770" />
  <row Id="15482" PostId="11664" Text="I think this breaks the first 3 of 5 &quot;don't ask&quot; bullets in the [FAQ](http://unix.stackexchange.com/faq#dontask). &quot;You should only ask practical, answerable questions based on actual problems that you face&quot;" CreationDate="2011-04-20T05:02:00.293" UserId="73" />
  <row Id="15483" PostId="11613" Text="Just one remark -- encrypting entire system except /boot is supported by default. This means, that if you fall into problem with your system, you probably fix it easier than in case with /boot encrypted as well." CreationDate="2011-04-20T05:07:40.350" UserId="5884" />
  <row Id="15484" PostId="11660" Text="@boehj pretty much any modern filesystem (i.e. avoid FAT32)" CreationDate="2011-04-20T05:27:24.333" UserId="5535" />
  <row Id="15485" PostId="11617" Text="Thanks Rory.... I will follow the tutorial and will give you feedback. BTW, the link is broken, it seems. If you have the http://michael.gorven.za.net/bzr/grub/luks., please do share with us. " CreationDate="2011-04-20T05:40:22.100" UserId="4843" />
  <row Id="15486" PostId="11672" Text="Excellent. Thanks for the link, I'll have a read." CreationDate="2011-04-20T05:43:45.770" UserId="5770" />
  <row Id="15487" PostId="11660" Text="While it's not needed in most cases when it is needed it really stinks that it's not available. :(" CreationDate="2011-04-20T06:02:42.837" UserId="4885" />
  <row Id="15490" PostId="11606" Text="According to http://www.acm.uiuc.edu/workshops/cool_unix/xinitrc.html it's either `.xinitrc` or `.xsession` depending on how you start X -- if you use gdm or kdm or the like, it's the latter, if you use `startx` from the command line it's the former." CreationDate="2011-04-20T06:41:35.833" UserId="4949" />
  <row Id="15491" PostId="11662" Text="You might have missed the part that this is LFS." CreationDate="2011-04-20T06:53:12.387" UserId="688" />
  <row Id="15492" PostId="11660" Text="I use ext4 and I saw my torrent software (transmission) allocating the entire space the file would occupy (perhaps with nothing). Someone using Windows told me she saw something similar, so I thought this was general behavior." CreationDate="2011-04-20T07:03:55.920" UserId="688" />
  <row Id="15493" PostId="11664" Text="@whitman: This question is far too broad, especially if you're also after research papers. This kind of open-ended question is now frowned upon on most SE sites, so you'd have to ask a really good one to make it stick. Please read the [existing book questions](http://unix.stackexchange.com/questions/tagged/books) first. For OS development in general, check out the [proposed OS development site](http://area51.stackexchange.com/proposals/5425/operating-systems-development?referrer=20fT1aeKp9_gMMEpzVsZAg2)." CreationDate="2011-04-20T07:10:34.813" UserId="885" />
  <row Id="15494" PostId="11660" Score="1" Text="@Tshepang: Some always preallocate, some allocate lazily, some are configurable." CreationDate="2011-04-20T07:16:25.450" UserId="885" />
  <row Id="15496" PostId="11667" Text="Welcome to Unix and Linux! [Please don't just post a link as an answer](http://meta.stackoverflow.com/q/8259), both because the linked site may be unavailable, and because as it is your answer doesn't show what it's about. Summarize the essential parts of the answer here, and provide the link for reference." CreationDate="2011-04-20T07:20:08.490" UserId="885" />
  <row Id="15498" PostId="11366" Text="I wasn't saying that this script will solve your problem. I was pointing to this script because it demonstrates how to fiddle with your fans settings. That is, you can learn the commands that you can use to alter various fan settings by reading through the script, and seeing how they did it." CreationDate="2011-04-20T07:41:00.163" UserId="5447" />
  <row Id="15500" PostId="11366" Text="I haven't found the commands or configuration files that are working on my system. The script uses `/etc/acerfand.conf`, `acer_ec.pl`. I need to be able after this question to find **all** configuration and information about the fan (it doesn't matter if it will be in kernel, but it should be possible to find on every system)" CreationDate="2011-04-20T09:11:25.630" UserId="6215" />
  <row Id="15501" PostId="11628" Score="2" Text="One minor detail that is not answered here: You can preserve the attributes when copying (of course you have to copy to a filesystem with xattr support). cp has an option &quot;--preserve=xattr&quot;" CreationDate="2011-04-20T09:13:56.160" UserId="102" />
  <row Id="15502" PostId="11680" Text="Login as root and tell us what this looks like: `ls -l /etc/sudoers`" CreationDate="2011-04-20T09:29:14.387" UserId="1925" />
  <row Id="15504" PostId="11680" Text="just added it to the edit" CreationDate="2011-04-20T09:36:32.777" UserId="6781" />
  <row Id="15505" PostId="11680" Text="Hmm. That's still not giving up any clues. How about `ls -l /usr/bin/sudo` (or wherever `which sudo` tells you the sudo executable is at)" CreationDate="2011-04-20T09:39:51.637" UserId="1925" />
  <row Id="15507" PostId="11680" Score="1" Text="This could happen if there is a problem with group permissions.  Did you recently make any changes to `/etc/group`?  Did you install `sudo` using your own `./configure` arguments?  Is group 0 `root` or `wheel`?  If it's wheel, you'll need to run `chgrp wheel /etc/sudoers` as root." CreationDate="2011-04-20T09:48:01.243" UserId="3169" />
  <row Id="15508" PostId="11681" Text="Don't confuse Gnome and KDE with window managers. They use Metacity (or Mutter in Gnome 3) and KWin as window manager respectively." CreationDate="2011-04-20T09:48:05.430" UserId="6598" />
  <row Id="15510" PostId="11680" Text="I didn't mess with sudo to change anything related to it. I might've deleted something but not sure what I'm missing. how do I find out what group 0 is?" CreationDate="2011-04-20T09:50:06.790" UserId="6781" />
  <row Id="15511" PostId="11680" Text="Simplest way: `getent group 0`.  Other way: `head -1 /etc/group`." CreationDate="2011-04-20T09:54:20.677" UserId="3169" />
  <row Id="15512" PostId="11682" Score="1" Text="thanks, sshfs was what I needed" CreationDate="2011-04-20T10:02:45.937" UserId="3834" />
  <row Id="15515" PostId="11655" Text="Open a terminal and run `sudo tail -f /var/log/messages` just before connecting. That should tell you something. Cat and paste the output here if you still can't figure it out." CreationDate="2011-04-20T11:18:51.337" UserId="3082" />
  <row Id="15516" PostId="11677" Score="1" Text="Can you list some specific packages so other people can try to help/reproduce your problem?" CreationDate="2011-04-20T12:05:40.990" UserId="3169" />
  <row Id="15517" PostId="11689" Text="what about setup the environment in Linux, and then compile there?" CreationDate="2011-04-20T12:22:25.240" UserId="1542" />
  <row Id="15518" PostId="11554" Text="Wrong, OpenWRT works on it just as well..." CreationDate="2011-04-20T12:37:21.460" UserId="1290" />
  <row Id="15519" PostId="6880" Text="Please complement these backup instructions with this answer: http://unix.stackexchange.com/questions/11028/backup-whole-hard-disk-linux/11086#11086" CreationDate="2011-04-20T12:38:36.543" UserId="6789" />
  <row Id="15520" PostId="11496" Text="I checked all of them. They're only available for cross compiling purposes. The standard Linux headers do not include them anymore. A fairly new distro doesn't have them in the repos or anywhere. The 1.0 version is just too old. :(" CreationDate="2011-04-20T12:38:51.830" UserId="1290" />
  <row Id="15521" PostId="11691" Text="crossposting: http://askubuntu.com/q/36098/10068" CreationDate="2011-04-20T12:46:47.703" UserId="4485" />
  <row Id="15522" PostId="11694" Text="@KJBweb not one command, but I always do `vim -p /etc/localdomains /etc/remotedomains` `/domain` `dd` `gt` `p` `:xa`. it cuts out the steps of opening closing and saving each file, though I'm pretty sure it could be more optimized." CreationDate="2011-04-20T12:57:12.073" UserId="29" />
  <row Id="15523" PostId="11695" Text="Indeed, example.com is on its own line. Thanks for your suggestion :)" CreationDate="2011-04-20T13:02:51.993" UserId="6791" />
  <row Id="15524" PostId="11689" Text="@MA1 Cygwin is a system that provides a unix like environment on top of Windows. Cygwin on top of linux would be a meaningless combination! Your application needs to be compiled in and for the environment it will run under, so it needs to be compiled in cygwin on windows since that is what you want to end up with in the end." CreationDate="2011-04-20T13:14:51.320" UserId="1925" />
  <row Id="15525" PostId="11689" Text="@MA1 Yes, you can cross-compile Windows executables on Linux. There are many tutorials covering this, this one for example: http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/" CreationDate="2011-04-20T13:20:18.380" UserId="2671" />
  <row Id="15526" PostId="11689" Text="@Caleb The application definitely doesn't need to be compiled in the environment it is built for. Or do you think that embedded chips actually have to capable of running a compiler?" CreationDate="2011-04-20T13:21:55.087" UserId="2671" />
  <row Id="15527" PostId="11689" Text="@Let_Me_Be: I was simplifying for the sake of a guy who clearly doesn't understand the pieces. Of course cross-compiling is an option, but that is more complicated to understand and @MA1 hasn't put together the first pieces of the puzzle yet. If he says his software needs to be compiled, the process of getting dependencies setup to compile there will also leave a working running environment." CreationDate="2011-04-20T13:35:59.060" UserId="1925" />
  <row Id="15528" PostId="11698" Text="This is only a minor part of the poster's question. Now explain how to iterate over the directories and copy the thumbnails :-)" CreationDate="2011-04-20T13:38:25.747" />
  <row Id="15529" PostId="11698" Text="the OP wants to use `find`" CreationDate="2011-04-20T13:38:28.947" />
  <row Id="15530" PostId="11698" Text="Yes, you're right... I don't know what happened to me..." CreationDate="2011-04-20T13:40:33.190" />
  <row Id="15532" PostId="11366" Text="@xralf It looks like you need to donwload `acer_ec.pl` and create the config file `/etc/acerfad.conf` yourself if you want any custom settings (that file is not required). Of course you don't have it on your system by default, you would have to create it if you want to modify the default behavior of the script. Here are some [instructions](http://wiki.debian.org/DebianAcerOne#Quiet_Fan) and downloads for [acer_ec.pl](http://jorge.ulver.no/files/acer_ec.pl) and [acerfand](http://jorge.ulver.no/files/acerfand)." CreationDate="2011-04-20T13:47:17.767" UserId="1925" />
  <row Id="15533" PostId="11689" Text="@Caleb Then please don't say that it isn't possible, say that it is possible, but hard to set up." CreationDate="2011-04-20T13:49:56.447" UserId="2671" />
  <row Id="15534" PostId="11689" Text="@Let_Me_Be I never said it was impossible, I said the application needs to be compiled in the environment it will run under and this is true. In the case of cross compiling, you have to set up extensive parts of the target inside the host so that the compile happens against the architecture and libraries (including version numbers) of the target instead of those on the host. In essence the compile happens in the *mock*-target environment." CreationDate="2011-04-20T14:00:05.083" UserId="1925" />
  <row Id="15535" PostId="11701" Text="[Don't do that](http://meta.stackoverflow.com/questions/76195/how-to-deal-with-have-you-tried-google-comments/76201#76201)" CreationDate="2011-04-20T14:04:05.563" UserId="73" />
  <row Id="15536" PostId="11589" Text="@penguin359 - Sometimes I do specifically run a program as root that needs to access the GPUs. When this happens, the permissions are changed." CreationDate="2011-04-20T14:12:10.680" UserId="663" />
  <row Id="15537" PostId="11696" Score="1" Text="Even on Windows 7 Enterprise and Ultimate, the &quot;Subsystem for Unix Applications&quot; (aka Interix) is an optional component. Furthermore, it runs in its own subsystem directly on the NT kernel rather than within the Windows subsystem, so the result of building for Interix isn't a Windows program as such." CreationDate="2011-04-20T14:13:27.030" UserId="2978" />
  <row Id="15538" PostId="11701" Text="whats wrong with above command" CreationDate="2011-04-20T14:20:07.947" UserId="6797" />
  <row Id="15539" PostId="11366" Text="Thank you, but notice that this is not the exact answer to my question. It means I should look for the configuration files in `acerfand`? If it was a source code it would be possible, but it's a binary file." CreationDate="2011-04-20T14:25:28.423" UserId="6215" />
  <row Id="15540" PostId="11701" Text="@MIc ha ha , i executed that and now i know what was wrong :)" CreationDate="2011-04-20T14:26:45.410" UserId="6797" />
  <row Id="15541" PostId="11701" Text="@Mirror51 I actually didn't even read the code, I meant don't tell people to Google it, which is what the [first revision](http://unix.stackexchange.com/posts/11701/revisions) said; I linked to [one of many meta discussions](http://meta.stackoverflow.com/questions/76195/how-to-deal-with-have-you-tried-google-comments/76201#76201) about it. But yes, the code doesn't appear to do the right thing either" CreationDate="2011-04-20T14:31:15.233" UserId="73" />
  <row Id="15542" PostId="11689" Text="@Caleb Quote: &quot;Your application needs to be compiled in and for the environment it will run under&quot;" CreationDate="2011-04-20T14:41:12.710" UserId="2671" />
  <row Id="15543" PostId="11696" Text="@ak2 Are you sure? What I read is that the SDK and utilities have to be downloaded separately, but you shouldn't need that for running the programs." CreationDate="2011-04-20T14:42:50.320" UserId="2671" />
  <row Id="15544" PostId="11700" Text="I have some png files in some more subfolders , will that work" CreationDate="2011-04-20T14:43:34.420" UserId="6797" />
  <row Id="15545" PostId="11702" Text="have you tried gtk-recordmydesktop?  i can record most anything with it.  ffmpeg -i x11grab works too.  if you're having problems getting the audio alsa-loop works." CreationDate="2011-04-20T15:16:16.877" UserId="3397" />
  <row Id="15546" PostId="11637" Text="Ubuntu 10.04.1 LTS, it is a VPS. There is one other user it's just an account for a friend of mine, he doesn't do anything on the box and I know his pass if I need to do anything as him. There's nothing else running either, and no it looks like node isn't running as root so I dunno what is up with that terminal. Here's the output of htop http://pastebin.com/EHvDXXQp" CreationDate="2011-04-20T15:21:16.220" UserId="6745" />
  <row Id="15547" PostId="11654" Text="But how come `sudo lsusb` showed the device? Doesn't that point to permission issues with UDEV? If you ask me it doesn't make sense anyway. Even if a normal user doesn't have permissions to use a device, they should still be able to tell if it is connected to the system." CreationDate="2011-04-20T15:39:47.867" UserId="4856" />
  <row Id="15548" PostId="4658" Text="I just had occasion to use this in tcsh, and noticed that it doesn't work without the shebang. Seems a bit odd for the behavior to change if you're just sourcing it, not executing it..." CreationDate="2011-04-20T16:28:47.313" UserId="2376" />
  <row Id="15549" PostId="11697" Text="rename them, how? If you replace the directory delimiter with something - let's say underline (_), you may get collisions with files, which already contain an underline. That's true for every valid character, and beside / and \0, which are forbidden in filenames, there is no safe harbor - any character might produce a collision. " CreationDate="2011-04-20T16:46:33.773" UserId="4485" />
  <row Id="15550" PostId="11697" Text="Do folders have subfolders, or just a plain, wide folderstructure?" CreationDate="2011-04-20T17:06:29.880" UserId="4485" />
  <row Id="15551" PostId="11699" Text="new_file=new_folder? What's the purpose of the backslash in front of the slash in `new_file/\/thumb`? " CreationDate="2011-04-20T17:07:50.343" UserId="4485" />
  <row Id="15552" PostId="11700" Text="for my &quot;A A&quot;-folder, it produces: `mv -i ./A A/thumb.png ../tmp/.png` - all files end in ../tmp/.png  (../tmp is my target dir)." CreationDate="2011-04-20T17:14:33.940" UserId="4485" />
  <row Id="15553" PostId="11713" Text="If you have two unrelated questions, post two questions.  Don't combine them just because you had them at the same time.  I've removed your second question.  If you want to ask it, open a new question." CreationDate="2011-04-20T18:01:37.643" UserId="2421" />
  <row Id="15554" PostId="11654" Text="@Mr. If `sudo lsusb` sees the device, it's probably not hardware related.  As a test you can try `sudo chmod -R 777 /dev/bus/usb` and see if it shows up in lsusb normally and if it starts working.  The permissions will reset after next boot.  If it is a permissions problem then we can look at fixing the udev rules." CreationDate="2011-04-20T18:18:27.343" UserId="6167" />
  <row Id="15555" PostId="11713" Score="1" Text="I'd recommend just reading the source for the procps package.  It's pretty reasonable.  I think the answer is in the file `proc/sysinfo.c`" CreationDate="2011-04-20T18:27:14.277" UserId="6167" />
  <row Id="15556" PostId="11582" Text="Thank you, Guilles. The problem happens when I *rsync* from a hard drive to a flash memory stick: `rsync: mkstemp &quot;/media/verd/rence/.Using an expressive work: fact or fiction.pdf.RbjlKK&quot; failed: Invalid argument (22)&#xA;rsync: mkstemp &quot;/media/verd/rence/.What's in a concept: structural foundations for semantic networks.pdf.tLXoZz&quot; failed: Invalid argument (22)`" CreationDate="2011-04-20T18:36:37.610" UserId="4610" />
  <row Id="15557" PostId="11581" Text="The problem happens when I *rsync* from a hard drive to a flash memory stick: `rsync: mkstemp &quot;/media/verd/rence/.Using an expressive work: fact or fiction.pdf.RbjlKK&quot; failed: Invalid argument (22)&#xA;rsync: mkstemp &quot;/media/verd/rence/.What's in a concept: structural foundations for semantic networks.pdf.tLXoZz&quot; failed: Invalid argument (22)`" CreationDate="2011-04-20T18:40:45.580" UserId="4610" />
  <row Id="15558" PostId="11700" Text="Add quotes and curly braces around all variables in above code, i.e. &quot;${dir}&quot;" CreationDate="2011-04-20T18:45:32.613" UserId="6122" />
  <row Id="15559" PostId="11582" Text="@Kejia柯嘉: Ah, ok, your problem is to rename-and-rsync, not to pass the colons to rsync. This question came up before on the Ubuntu site: [How can I substitute colons when I rsync on a USB key?](http://askubuntu.com/questions/11634/how-can-i-substitute-colons-when-i-rsync-on-a-usb-key) Unfortunately no one's produced a satisfying answer." CreationDate="2011-04-20T18:46:07.917" UserId="885" />
  <row Id="15560" PostId="11582" Text="Thank you, Guilles :-)" CreationDate="2011-04-20T18:50:08.057" UserId="4610" />
  <row Id="15561" PostId="11618" Text="Now, I restarted and it doesn't work." CreationDate="2011-04-20T19:15:06.613" UserId="6215" />
  <row Id="15562" PostId="11618" Text="Check out Shadur's comments to his answer; the filename may need to be .xinitrc or .xsession instead." CreationDate="2011-04-20T19:25:59.860" UserId="2333" />
  <row Id="15563" PostId="11728" Text="Perfect. It's what I assumed, and I'd *much* rather edit a conf file than recompile whenever I add new support :P" CreationDate="2011-04-20T19:35:57.823" UserId="6811" />
  <row Id="15564" PostId="11719" Text="Don't forget quotes around a variable expansion, so: `$(basename &quot;$(dirname \&quot;$path\&quot;)&quot;)`" CreationDate="2011-04-20T19:38:37.897" UserId="1946" />
  <row Id="15565" PostId="11729" Text="I realize that the first document is about migrating Windows, but near the end, they show a command to convert a device file on Linux to a VDI." CreationDate="2011-04-20T19:43:02.497" UserId="6167" />
  <row Id="15566" PostId="11707" Text="Are you running inside the native Windows console, in another terminal emulator running as a native application, in a terminal emulator running under X? What version of Windows? Does the delay between pressing `ESC` and pressing `i` matter?" CreationDate="2011-04-20T19:46:22.990" UserId="885" />
  <row Id="15567" PostId="11711" Score="1" Text="As Caleb explains, a mapping change with xmodmap applies to the whole X session, and there's no easy alternate way. Maybe if you explain the Matlab issue we can come up with a better workaround." CreationDate="2011-04-20T20:05:17.240" UserId="885" />
  <row Id="15568" PostId="11476" Text="Can you post any output from running wpa_supplicant manually?" CreationDate="2011-04-20T20:16:31.017" UserId="6167" />
  <row Id="15569" PostId="11510" Text="Did the answer help?" CreationDate="2011-04-20T20:17:42.483" UserId="6167" />
  <row Id="15570" PostId="11700" Text="@Mirror51 wrote : &quot; files in some more subfolders , will that work &quot;. Yes it should. Did you know you can execute each step of this script separately (or when piped together, each set of pipes). You can execute just the `find -type d` and see the output. Does that get all the directories you expect? It should, if not, please add some output to show the problem. Good Luck." CreationDate="2011-04-20T20:33:07.773" UserId="6122" />
  <row Id="15571" PostId="11712" Text="On what OS (if Linux, what distribution), and what architecture? Why aren't you installing binary packages (at least the gtk stuff should be a `yum install`/`apt-get install`/`pkg_add`/… away)?" CreationDate="2011-04-20T20:37:20.877" UserId="885" />
  <row Id="15572" PostId="11699" Score="1" Text="@user: `${VARIABLE/PATTTERN/REPLACEMENT}` produces the value of `VARIABLE` but with the pattern replaces by the replacement text. Here the pattern is `/thumb` (the `/` needs to be escaped so that it doesn't look like `${new_file//PATTERN/REPLACEMENT}`, which makes it a global replacement instead of a first-occurrence replacement) and the replacement text is empty." CreationDate="2011-04-20T20:43:07.567" UserId="885" />
  <row Id="15573" PostId="11680" Score="1" Text="What virtualization technology? Is SELinux or AppArmor active?" CreationDate="2011-04-20T20:52:19.887" UserId="885" />
  <row Id="15574" PostId="11712" Text="This is on Scientific Linux SL 5.5 (Boron), which seems to be derived from red hat. I don't have root access to the machine - just trying to get these items built in my home directory." CreationDate="2011-04-20T20:55:10.260" UserId="6807" />
  <row Id="15575" PostId="11712" Text="@David: I recommend getting the source RPMs and building them with a different installation directory (I think it's easy with rpm, but I don't remember how)." CreationDate="2011-04-20T20:57:44.143" UserId="885" />
  <row Id="15576" PostId="11688" Text="What features does the application use (e.g. command line or GUI, does it use unix-y features such as interprocess communication or permissions intensively)? Depending on the answer, this can go from trivial to extremely complicated." CreationDate="2011-04-20T21:02:25.497" UserId="885" />
  <row Id="15577" PostId="11712" Text="Is the content of the RPM somehow different from the source tar ball?" CreationDate="2011-04-20T21:04:13.703" UserId="6807" />
  <row Id="15578" PostId="9912" Text="Two corrections: you need a `\;` before the `-o` on the first line of the `find` command, and you shouldn't escape `!` in the `if` -- it's just `!`, not `\!`" CreationDate="2011-04-20T05:30:36.993" UserId="6575" />
  <row Id="15579" PostId="11712" Text="@David: It might have patches that were needed on your distribution, and more likely and more importantly it will have a full compilation script." CreationDate="2011-04-20T21:07:17.243" UserId="885" />
  <row Id="15580" PostId="11699" Text="Of course, now I see it. :)" CreationDate="2011-04-20T21:11:43.463" UserId="4485" />
  <row Id="15581" PostId="11701" Score="1" Text="You'd wind up with exactly one `/your/dest/dir/thumb.png` which will be the last of the thumbnails it found, as it will have overwritten every single other one subsequently." CreationDate="2011-04-20T21:19:25.633" UserId="4949" />
  <row Id="15582" PostId="11682" Text="“Several programs make that process look pretty seamless, but it's a hack.”: That's what Tramp (which ships with Emacs nowadays) is about. It's not a hack, it's a natural way of working with remote files." CreationDate="2011-04-20T21:20:30.217" UserId="885" />
  <row Id="15583" PostId="11682" Text="@Gilles: I know nothing of `Tramp`, so my &quot;hack&quot; alegation must needs not apply. I was particularly thinking of various file manager programs that have menu items like &quot;open in an editor&quot;. While these to work to get a file open, they are typically brittle in the way they require the file being copied, modified, copied back, etc. Intermediate file saves before the editor closes are often not pushed upstream making them an awkward way to work on files. If you know a way around the limitations in `Tramp` @starcorn complained of by all means add another answer!" CreationDate="2011-04-20T21:29:48.557" UserId="1925" />
  <row Id="15584" PostId="11704" Text="Fails on files which contain a newline in their name." CreationDate="2011-04-20T21:29:54.063" UserId="4485" />
  <row Id="15585" PostId="11736" Text="@imz: Would you mind posting some sample code, like the Perl, Python and R answers? (Especially since Curry is not a common unix scripting language.)" CreationDate="2011-04-20T21:31:17.747" UserId="885" />
  <row Id="15586" PostId="11682" Score="1" Text="@Caleb: With Tramp, the editor is doing the work, so it knows to push when saving and so on. The ideal solution would be to make emacsserver and ssh interoperate, but that's hard. The two workarounds I would have offered are sshfs and eshell, both mentioned already." CreationDate="2011-04-20T21:35:12.033" UserId="885" />
  <row Id="15587" PostId="11736" Text="@Gilles: Yes, you are right, I should post some sample code to make the answer better. I'm going to do this in a while." CreationDate="2011-04-20T21:36:25.183" UserId="4319" />
  <row Id="15588" PostId="11700" Text="Won't work. `read dir` performs word splitting, and takes, from a directory `a\nb` a and b as two instances, which no masking can solve. " CreationDate="2011-04-20T21:42:13.607" UserId="4485" />
  <row Id="15589" PostId="11712" Text="@Gilles thanks. The latest RPM I can find is 1.20.1. I'll give it a shot. (If you want to copy your comments into an answer I'll happily upvote.)" CreationDate="2011-04-20T21:43:55.010" UserId="6807" />
  <row Id="15590" PostId="11611" Text="`cryptsetup: Unknown action.` (on Ubuntu 10.04)" CreationDate="2011-04-20T21:56:50.197" UserId="885" />
  <row Id="15591" PostId="11473" Text="Thanks. So the gist for LUKS is `cryptsetup luksAddKey /dev/underlying`, enter old and new passphrase, `cryptsetup luksRemoveKey /dev/underlying`, enter old and new passphrase. Any idea about a non-LUKS volume?" CreationDate="2011-04-20T21:58:51.273" UserId="885" />
  <row Id="15592" PostId="11711" Text="When this problem happens I loose control of Matlab, because the prompt behaves as it should when the Enter key gets stuck. The only option is to suspend session (CTRL-z) and then kill the process." CreationDate="2011-04-20T22:22:46.723" UserId="6803" />
  <row Id="15593" PostId="11737" Text="@dugsong Nice edit; I was just about to do something similar" CreationDate="2011-04-20T22:26:33.567" UserId="73" />
  <row Id="15594" PostId="11712" Text="As far as I can tell, the RPM has the same contents as the tarball I already had. =/ I don't understand why anyone would bother distributing a version of their package that won't even compile. =[" CreationDate="2011-04-20T22:52:03.323" UserId="6807" />
  <row Id="15595" PostId="11712" Text="Also, unless I'm missing something, no one maintains packages specifically for Scientific Linux. I'd love to know if there is another distribution that has compatible binaries. It'd probably save me a lot of trouble." CreationDate="2011-04-20T22:53:02.993" UserId="6807" />
  <row Id="15596" PostId="11712" Text="@David: Since SL is derived from Red Hat, Red Hat (or CentOS) packages might work. But not being root does make things less convenient. Most Linux software can in fact be compiled with just `./configure --prefix=$HOME &amp;&amp; make &amp;&amp; make install`, though you have to track dependencies (Gnome stuff has a lot). I don't know what's going wrong with your compilation (obviously a broken makefile or script, but where?)." CreationDate="2011-04-20T23:03:00.150" UserId="885" />
  <row Id="15597" PostId="11738" Text="That's not a function, it's a block, and it doesn't make any difference." CreationDate="2011-04-20T23:05:11.210" UserId="885" />
  <row Id="15598" PostId="11719" Score="1" Text="@alex, you don't need to escape the inner quotes -- they are protected by the parentheses (it's like a new &quot;scope&quot; for quotes). Fully quoted: `folder=&quot;$(basename &quot;$(dirname &quot;$path&quot;)&quot;)&quot;`" CreationDate="2011-04-20T23:18:34.387" UserId="4667" />
  <row Id="15599" PostId="11740" Text="How do you start the NX session? You're clearly running Gnome with the Ubuntu theme in VMware, and either not running Gnome or with a different theme in NX." CreationDate="2011-04-20T23:50:20.097" UserId="885" />
  <row Id="15600" PostId="6292" Text="Right click on a text field and go to Input Methods.  What is selected for working vs. non-working apps?  Usually System is the default." CreationDate="2011-04-21T00:26:58.387" UserId="6167" />
  <row Id="15601" PostId="11700" Text="@userunknown : do I read you right? `a\nb` = newLine in dirName? Yes it is possible, but this is not a sysadmin-script we're writing here. Yes users do dumb things. Hopefully @Mirror51 is using normally formed directory names. BUT your point is well taken about word splitting and I am adding IFS=&quot;&quot; to eliminate word splitting. Thanks for the feedback and cordially yours! " CreationDate="2011-04-21T00:28:26.037" UserId="6122" />
  <row Id="15602" PostId="7342" Text="Any luck getting it to work?" CreationDate="2011-04-21T00:48:00.347" UserId="6167" />
  <row Id="15603" PostId="11700" Text="Well, things getting worse. `../thumbs.sh: line 4: while: command not found&#xA;../thumbs.sh: line 5: syntax error near unexpected token `do'&#xA;../thumbs.sh: line 5: `do'&#xA;`. A consequence of IFS? Did you test your script? There are more and more tools which generate filenames without interaction, for example from saved webpages, the title is translated to a filename, and so on. That's how linefeeds happen to get part of filenames. AFAIK, my solution from above avoids the problems - you're invited to criticize it. " CreationDate="2011-04-21T01:14:27.470" UserId="4485" />
  <row Id="15604" PostId="11700" Text="@userunknown : 1. are you the OP, @Mirror51? 2. I was mistaken with `IFS=&quot;&quot; while read`, it should be `while IFS=&quot;&quot; read`. 3. I don't have an easy way to test this. 4. newLines in filenames (I admit, while allowed), are IHMO pathological cases. But I guess we have to deal with it ;-). 5. no issues with your solution. Thanks for sharing!" CreationDate="2011-04-21T01:32:12.457" UserId="6122" />
  <row Id="15605" PostId="11496" Text="@polemon: I can compile it successfully on a Gentoo box only a couple of months out of date, and an Arch Linux box that was installed a couple of weeks ago.  On both these systems stropts.h is part of the GNU C library versions 2.12.2 and 2.13 respectively.  According to the GNU website the latest version of glibc is 2.13, so I'm not sure what you mean by the 'standard Linux headers' not including them?  Maybe your glibc install is just incomplete or corrupted?" CreationDate="2011-04-21T03:23:31.233" UserId="6662" />
  <row Id="15606" PostId="10987" Text="@xenoterracide: Okay, thanks for the tips, I'll edit away &quot;the rest&quot; for you. ;)" CreationDate="2011-04-21T04:03:32.660" UserId="6439" />
  <row Id="15608" PostId="11478" Text="Been trying this on two Debian machines, but it doesn't work well. 1. All devices are mounted as `root`. 2. Auto-unmounting sometimes fails, leaving a node that is persistent through a reboot. 3. Some unpowered drives don't get mounted at all. 4. Several times failed transfer of files. I've had none of these problems with `halevt`." CreationDate="2011-04-21T04:39:45.150" UserId="5184" />
  <row Id="15610" PostId="11677" Text="Alright. Well, the handbrake-gtk package from Debian multimedia gets -O3 from a script, I think the only way to set it up to compile with -Os is to modify the scripts. I was hoping there was a global way to do so.&#xA;&#xA;When I tried to rebuild pulseaudio, it accepts my build options, but appends -O2 to the end making it impossible to build it as -Os." CreationDate="2011-04-21T05:21:25.703" UserId="2469" />
  <row Id="15611" PostId="11749" Text="It sounds like if you're sharing your ssh tunnel with somebody, this provides an attack vector for them to derive information about the nature of your traffic by measuring variations in latency and throughput.." CreationDate="2011-04-21T05:27:48.970" UserId="6342" />
  <row Id="15612" PostId="11696" Text="No, I'm not sure actually. For all I know the core parts of Interix could be installed by default." CreationDate="2011-04-21T05:43:19.777" UserId="2978" />
  <row Id="15613" PostId="11738" Text="@gilles Thx for the correction. BTW I've tried myself and it works. Did you?" CreationDate="2011-04-21T06:09:32.957" UserId="3372" />
  <row Id="15614" PostId="11719" Text="Blows my mind, but that's true :)" CreationDate="2011-04-21T06:16:56.180" UserId="1946" />
  <row Id="15615" PostId="11611" Text="see the package name of cryptsetup at http://packages.ubuntu.com/lucid/allpackages?format=txt.gz. Install it by apt-get install cryptsetup. And the please do check the command again.  I am using the cryptsetup's version 1.3, where I do have the option to change the luks-key." CreationDate="2011-04-21T06:17:05.540" UserId="4843" />
  <row Id="15616" PostId="11606" Text="`$ ps aux | grep X`&#xA;`root       619  1.7  1.1  30772 22908 tty7     Ss+  07:50   0:34 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-WDyyFH/database -nolisten tcp vt7&#xA;xralf   946  0.0  0.0   1832   536 ?        Ss   07:51   0:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc&#xA;xralf  1073  0.0  0.5  50228 12244 ?        S    07:51   0:00 /usr/lib/xfce4/panel-plugins/xfce4-menu-plugin socket_id 27263015 name xfce4-menu id 1 display_name Xfce Menu size 24 screen_position 11`&#xA;so, I think I'm using startx? Should I create the file `~/.xinitrc`?" CreationDate="2011-04-21T06:26:41.163" UserId="6215" />
  <row Id="15617" PostId="11738" Score="2" Text="@tmow: The block doesn't have any effect on the validity of the `&lt;(…)` construct. Your script will work or not work depending on whether you run it in a shell that supports `&lt;(…)` or not (ksh93/bash/zsh vs Bourne/ash/kshk88). [Caleb's answer nails it all.](http://unix.stackexchange.com/questions/11733/how-to-diff-a-file-and-output-from-the-command/11734#11734)" CreationDate="2011-04-21T06:51:54.860" UserId="885" />
  <row Id="15618" PostId="11611" Text="@SHW: Given that error message, it's obvious that I do have the `cryptsetup` command. What I'm telling you is that the version on Ubuntu 10.04 (one of the two OSes this question is about) doesn't have a `luksChangeKey` action." CreationDate="2011-04-21T06:53:11.960" UserId="885" />
  <row Id="15619" PostId="11699" Score="1" Text="@simon: You're assuming that the 487 directories are directly under `/home/user/temps`, which is not clear from the question. If they aren't, you need [find](http://unix.stackexchange.com/questions/11697/how-copy-and-rename-files-found-in-find-function-linux/11709#11709) or `**`." CreationDate="2011-04-21T07:00:52.423" UserId="885" />
  <row Id="15620" PostId="11611" Text="@Giles, Yeah. And I also mention that, If you use the version 1.3 from source code, you will get exactly what you are looking for. Compiling a binary from source code will not harm the system, IMHO. [ FYI, I used 1.3 for LFS ]" CreationDate="2011-04-21T07:04:12.240" UserId="4843" />
  <row Id="15621" PostId="11752" Score="1" Text="Sounds like a solution in search of a problem, though your “question” is so meandering that I have no idea what you're really after. In any case, this is really a discussion starter, not a question with direct answers, so a [questions and answers site](http://unix.stackexchange.com/about) isn't the place for it." CreationDate="2011-04-21T07:06:23.967" UserId="885" />
  <row Id="15624" PostId="11688" Text="It is a command-line application. No IPC or Permissions." CreationDate="2011-04-21T07:24:36.590" UserId="1542" />
  <row Id="15625" PostId="11745" Text="Your answer would be more useful if you summarized the features of `byobu`, like [this answers](http://unix.stackexchange.com/questions/549/tmux-vs-gnu-screen/586#586) with its list of features." CreationDate="2011-04-21T07:24:54.020" UserId="885" />
  <row Id="15626" PostId="11693" Text="Setting up CygWin on Windows..." CreationDate="2011-04-21T07:26:22.017" UserId="1542" />
  <row Id="15627" PostId="11689" Score="1" Text="@Caleb; @Let_Me_Be;                                             Great Great Thanks.....Setting up CygWin on Windows..." CreationDate="2011-04-21T07:27:02.533" UserId="1542" />
  <row Id="15628" PostId="11606" Text="From the looks of it, you're using gdm. Like I said, the easy way to check is whether you use a graphical login screen or whether you start with a command prompt -- and if you have to ask, you're *likely* using gdm. So `.xsession`" CreationDate="2011-04-21T07:29:33.453" UserId="4949" />
  <row Id="15629" PostId="11744" Text="Works For Me™. Does it work for you if you start Emacs with `emacs -q` (to skip your `.emacs`)? If not, what about `emacs -Q` (skips all installed packages)? What terminal emulator are you running `emacsclient -t` in, and does using another emulator make a difference? I suspect Emacs is sending an escape sequence that expects a response and not getting it, but the important data is the character before the `1`, which doesn't get displayed. Run `strace -o emacs.strace -s9999 emacs --daemon` and post the resulting `emacs.strace` somewhere (it may be huge)." CreationDate="2011-04-21T07:32:02.127" UserId="885" />
  <row Id="15630" PostId="11757" Score="3" Text="This is not a tutorial-on-demand site, it is a QnA site. You should probably break this down into several questions and take it step by step. Also I think your summary is probably verbose enough to grasp the whole problem without all the other details. The less people have to work to understand what you are asking the more likely they are to jot down an answer." CreationDate="2011-04-21T07:43:37.223" UserId="1925" />
  <row Id="15631" PostId="11759" Text="+1 for using tarballs." CreationDate="2011-04-21T07:44:32.370" UserId="1925" />
  <row Id="15632" PostId="11759" Text="Thanks Keith, but just &quot;you can use ntfs-3g&quot; will actually not help too much. You say it is stable, so I can use it without concerns? That is good. One doubt down. But now: how to do it is the question! :) About the ext2 image file, I can't mount it under windows, so that is not possible. Also, I can't create a tarball under windows without installing software. The backup is not only from linux to HD, but also from windows to HD." CreationDate="2011-04-21T07:47:02.293" UserId="6030" />
  <row Id="15633" PostId="11756" Score="4" Text="On windows? You're asking on a *nix forum for a solution that can run on windows? Of course `wget` is cross platform, but the suggestions for scripting you are going to get here are going to be *nix central!" CreationDate="2011-04-21T07:49:20.933" UserId="1925" />
  <row Id="15634" PostId="11759" Text="@caleb I don't have the conditions to create tarballs under windows without installing some &quot;tar&quot; file. Remember, I'm not using only linux, but booting linux and windows, bringing the external USB HD with me, some places saving info, other places just using the info. I would use info also in computers that is not even mine, like for presentation, class teaching, etc. So, I need plain NTFS. Thanks" CreationDate="2011-04-21T07:49:30.560" UserId="6030" />
  <row Id="15635" PostId="11761" Text="humm, then, you know any useful tld register?" CreationDate="2011-04-21T07:50:13.823" UserId="6439" />
  <row Id="15636" PostId="11757" Text="Ok, thanks for the edition." CreationDate="2011-04-21T07:50:38.310" UserId="6030" />
  <row Id="15637" PostId="11759" Text="@Drbeco hm, I use ntfs-3g and haven't had any problems with it (once I figured out the mappings file). I guess it's still not clear to me what you are trying to do. Do you also need Windows to access your Linux backup files? " CreationDate="2011-04-21T07:51:03.163" UserId="3082" />
  <row Id="15638" PostId="11759" Text="They are just files, I would not categorize them as being linux files or windows files. They are my projects, source codes (portable codes that compile and run in both SO), presentations, etc. So, yes, I need them to be available under both SO. Kind of trick, isn't it? What I don't know is how to enable linux to use correclty NTFS." CreationDate="2011-04-21T07:53:57.853" UserId="6030" />
  <row Id="15639" PostId="11759" Text="I've used NTFS-3g extensively and under heavy load with zero problems. I've even been able to delete files which for one reason or another could not be deleted from within Windows.As for using an EXT2 image, you can access EXT2 filesystems from Windows using [Ext2 IFS](http://www.fs-driver.org/) (warning: EXT2 and EXT3 only, not EXT4!)." CreationDate="2011-04-21T08:12:58.143" UserId="5535" />
  <row Id="15640" PostId="11761" Score="1" Text="It's not a matter of who you use to register a domain name. If the TLD hasn't been approved by the [IANA](http://data.iana.org/TLD/tlds-alpha-by-domain.txt) then standard DNS servers won't resolve it." CreationDate="2011-04-21T08:17:36.030" UserId="5535" />
  <row Id="15641" PostId="11699" Text="@Gilles -- I am indeed, that's how I read the question.  Appreciate the point, though :)" CreationDate="2011-04-21T08:18:33.627" UserId="5454" />
  <row Id="15643" PostId="11606" Text="OK, I pasted the row into `.xsession`. I will give it few days time. thank you" CreationDate="2011-04-21T09:08:25.173" UserId="6215" />
  <row Id="15645" PostId="11687" Text="/home should be used on the NFS server too. The automounter should manage the mapping there too." CreationDate="2011-04-21T09:54:10.303" UserId="2594" />
  <row Id="15646" PostId="11516" Text="How do I run ccsm? 'ccsm' itself isn't installed on my machine." CreationDate="2011-04-21T09:58:10.953" UserId="1594" />
  <row Id="15647" PostId="11734" Text="Ah, you are good, indeed, I didn't check if sh is bash or not. Thank you very much for the solution." CreationDate="2011-04-21T10:04:21.173" UserId="5884" />
  <row Id="15648" PostId="11756" Score="1" Text="@Caleb: [It's ok to ask about unix-y tools even if you're running on them other platforms.](http://meta.unix.stackexchange.com/questions/436/cygwin-on-topic) @Evan: But you should be clear about what you're using. In particular, it's not clear what unix scripting tool you expect to be available (in addition to wget): Cygwin? Any POSIX shell and utilities?" CreationDate="2011-04-21T10:12:10.717" UserId="885" />
  <row Id="15650" PostId="11731" Text="How do I reach ccsm? (Just running ccsm isn't working. Does it mean I'm not using Compiz? How do I find out what I am using?)" CreationDate="2011-04-21T10:18:03.660" UserId="1594" />
  <row Id="15651" PostId="11510" Text="@penguin359 - wasn't able to run ccsm yet." CreationDate="2011-04-21T10:29:02.677" UserId="1594" />
  <row Id="15652" PostId="11740" Text="+1 for showing us exactly what you want." CreationDate="2011-04-21T11:37:18.340" UserId="3001" />
  <row Id="15653" PostId="11752" Text="+1 on what @Gilles said.  What problem are you trying to solve?" CreationDate="2011-04-21T11:39:09.930" UserId="3001" />
  <row Id="15654" PostId="11752" Text="@james this is not the right place for discussing websites and communities... programmers, or maybe the open source (if it ever gets to beta?) sites are better." CreationDate="2011-04-21T11:45:57.747" UserId="29" />
  <row Id="15655" PostId="11744" Text="@Gilles: The emulator is whatever default ships with Debian 6/Xfce4, simply called &quot;Terminal Emulator&quot;. In that, `emacs -q --daemon` doesn't fix it, but `emacs -Q --daemon` does. In LXTerminal, the -q option works fine; with just `emacs --daemon` in LXTerminal, `emacsclient -t` doesn't actually hang (I can still C-x # to exit) but it doesn't give me a cursor or allow me to actually do anything. Working on the strace thing now." CreationDate="2011-04-21T11:59:35.350" UserId="2333" />
  <row Id="15656" PostId="11744" Text="@Gilles: http://ironhaq.tumblr.com/post/4803854323/strace-o-emacs-strace-s9999-emacs-daemon" CreationDate="2011-04-21T12:07:19.757" UserId="2333" />
  <row Id="15657" PostId="11537" Text="Thanks for you quick reply. I was finally able to get back to fixing this last night. It was the pam_resmgr that was the culprit. I can login fine, now I can't get the desktop to start." CreationDate="2011-04-21T12:17:18.533" UserId="6830" />
  <row Id="15658" PostId="11740" Text="@Gilles: Yeah I guess that's my question is how to run Gnome over NX. I am starting the console in a rootless session. I will post a screenshot showing details." CreationDate="2011-04-21T12:23:18.993" UserId="1974" />
  <row Id="15659" PostId="11667" Text="Thank you.Get it." CreationDate="2011-04-21T12:25:36.307" UserId="6575" />
  <row Id="15660" PostId="11516" Score="1" Text="@ripper234: If it's Ubuntu, install the `compizconfig-settings-manager` package." CreationDate="2011-04-21T12:25:36.990" UserId="2168" />
  <row Id="15661" PostId="11764" Text="Do you mean I need to change the settings for my *local* gnome theme? If so then I need to ask a different question. I'll do some tests and see if the applications look different using different local systems..." CreationDate="2011-04-21T12:30:37.003" UserId="1974" />
  <row Id="15662" PostId="11629" Text="It seems like the project is developed by Debian but it is present in many Linux distributions. Also a search on google led me to this changelog for schroot back from 2009 which contains code for checking SunOS and Solaris. So I presume it can be compiled on Solaris ... just give it a try. http://www.mail-archive.com/debian-release@lists.debian.org/msg30798.html" CreationDate="2011-04-21T12:32:22.213" UserId="2000" />
  <row Id="15663" PostId="11764" Text="No, that doesn't make sense, because on my laptop I have a custom Gnome theme and that theme is not used when running applications through NX... So, I'm sorry, what are you suggesting I do?" CreationDate="2011-04-21T12:33:06.503" UserId="1974" />
  <row Id="15664" PostId="11516" Text="Thanks - but when I opened ccsm, I saw that alt-f8 was really disabled there (remember, I did disable it via the built in configuration). After a system restart, this seems to be resolved." CreationDate="2011-04-21T13:12:17.047" UserId="1594" />
  <row Id="15665" PostId="11759" Text="Dear @Keith, I see some hope here. My first simple test using only a text.txt file show user and permissions ok. I need to test it under other circustances. I'll keep you updated. The only problem is that the command `mount -t ntfs-3g -o defaults,nls=utf8 /dev/sdc2 /home/carl/ntfs/` mount the partition as owned by root. Is that the case of just using another option? Maybe umask? or gid? Thanks for now!" CreationDate="2011-04-21T13:25:49.027" UserId="6030" />
  <row Id="15666" PostId="11731" Text="Opacity solves my 3rd problem completely. 1st problem solved by setting &quot;popup window delay&quot; to 0. 2nd point - alt-shift-tab does work, but only if you do it from the start. If you start alt-tabbing, but after a few alt-tabs hold shift, it doesn't start going in reverse (very useful if you pass the target window by just one window) . This is still unsolved, but I'll accept your answer because it's great and solved my other issues - thanks." CreationDate="2011-04-21T13:44:52.620" UserId="1594" />
  <row Id="15667" PostId="11704" Text="Well that worked very well . one thing more , i have few zip files in some sub directories as well . is it possible to extract imgae from there as well . remember 'zip not tar'" CreationDate="2011-04-21T13:45:16.443" UserId="6797" />
  <row Id="15668" PostId="11769" Text="Is your debian package going to put files in `/usr/local/bin`? If so, it shouldn't." CreationDate="2011-04-21T13:54:56.260" UserId="4671" />
  <row Id="15669" PostId="11769" Text="@Faheem, well my `make install` puts them in `/usr/local/bin`. When I run `dh_make` it puts them in `$(DESTDIR)/bin`, which I believe means they'll actually go in `/usr/bin` when the .deb is installed. I could be wrong about this -- I've never built a .deb file before." CreationDate="2011-04-21T14:04:17.160" UserId="6831" />
  <row Id="15670" PostId="11771" Score="1" Text="You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a `.zshrc`? Post the output of `ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc` in that XFCE terminal." CreationDate="2011-04-19T21:28:38.090" UserId="885" />
  <row Id="15671" PostId="11771" Text="@Gilles - I do have a .zshrc file.  ZSH loads fine on a TTY or when I manually run zsh.  I'll get output later this evening." CreationDate="2011-04-20T12:25:30.167" UserId="6630" />
  <row Id="15672" PostId="11771" Text="@Gilles - Oddly, it started working last night after a reboot (which I had done already)." CreationDate="2011-04-21T10:24:02.557" UserId="6630" />
  <row Id="15673" PostId="11769" Text="Can you explain what your sed call is doing? If it is rewriting your script after installation it is a bad idea. Why do you need to do that? What is this PREFIX for? Are you writing a rules file and using debhelper? You should set your variables in the rules file. You are reading the packaging documentation, right?" CreationDate="2011-04-21T14:38:53.493" UserId="4671" />
  <row Id="15674" PostId="11759" Text="@Drbeco That is normal. Most files will be owned as Administrator/root on the NTFS file system. Only those in your User directory will yours. The gid, etc. are not used when a UserMapping is in use." CreationDate="2011-04-21T14:39:41.010" UserId="3082" />
  <row Id="15675" PostId="11767" Score="1" Text="Do you have package called scim-bridge installed? If so, uninstall it. See https://bugs.launchpad.net/ubuntu/+source/scim-bridge/+bug/573103 based on googling the error message." CreationDate="2011-04-21T14:43:37.597" UserId="4671" />
  <row Id="15676" PostId="11677" Text="You can normally set the compile options in the rules file. Are you saying this doesn't work for you?" CreationDate="2011-04-21T14:58:35.857" UserId="4671" />
  <row Id="15677" PostId="11769" Text="@Faheem, Yes to all of your questions, for better or worse. I've edited the question with my actual .sh file, which hopefully clears things up." CreationDate="2011-04-21T15:00:02.107" UserId="6831" />
  <row Id="15678" PostId="11677" Text="I looked at handbrake. You could just change this line in debian/rules - ./configure --gcc=/usr/lib/ccache/gcc CXX=&quot;$(CXX)&quot; CFLAGS=&quot;$(CFLAGS)&quot; \&#xA;        --build build --prefix=/usr" CreationDate="2011-04-21T15:02:25.573" UserId="4671" />
  <row Id="15679" PostId="11677" Text="Ok, I see. You want to change that everywhere." CreationDate="2011-04-21T15:03:24.387" UserId="4671" />
  <row Id="15680" PostId="11722" Text="@Gerald: The order of answers can change! I find it better to say &quot;Matt's answer&quot;. " CreationDate="2011-04-21T15:12:33.280" UserId="2974" />
  <row Id="15681" PostId="11769" Text="I'm not sure why PREFIX is required at all. The usual way these things work is `exec mono phonix.exe` and mono looks in a standard location for phonix. Disclaimer: I don't know a thing about mono." CreationDate="2011-04-21T15:26:15.283" UserId="4671" />
  <row Id="15682" PostId="11739" Text="Your radical solution worked.  &#xA;With stty istrip, matlab receives those characters, and for &quot;ñ&quot; it prints C1...  &#xA;I don't need the special characters inside Matlab, but by accident they sometimes get pressed.  &#xA;So, this is a very good solution, and one that I didn't find anywhere else.&#xA;Thanks!" CreationDate="2011-04-21T15:33:34.187" UserId="6803" />
  <row Id="15683" PostId="11749" Text="@R.. Someone monitoring the TCP packets with no knowledge of what's going on inside can determine this as well.  Since TCP uses Acknowledgements, it's easy for someone to determine the RTT, latency, and Jitter by just watching TCP.  Bandwidth is always observable." CreationDate="2011-04-21T15:49:51.687" UserId="6167" />
  <row Id="15684" PostId="11769" Text="@Faheem, mono's standard location is the GAC, but application libraries aren't supposed to go into the GAC. I'm following the mono app deployment guidelines here: http://www.mono-project.com/Guidelines:Application_Deployment." CreationDate="2011-04-21T15:56:25.327" UserId="6831" />
  <row Id="15685" PostId="11769" Text="Maybe I'll just use a relative path. Is there any situation where the stuff I put in `bin` and the stuff I put in `lib` won't share a parent directory?" CreationDate="2011-04-21T15:56:52.380" UserId="6831" />
  <row Id="15686" PostId="11774" Text="I'm creating a remote administration tool. The general idea is that users and groups can be retrieved over SSH, configured using the tool, then updated to the server. A newgroups command is not an absolute requirement for this case obviously but it's apparent absence made me wonder if I was missing something. " CreationDate="2011-04-21T15:58:59.790" UserId="6835" />
  <row Id="15687" PostId="11731" Text="Yes, not having a way to go backwards can get annoying, but I can't seem to reproduce your problem with my Compiz setup. I still suspect it's a binding problem.  My binding for Alt-Tab and Shift-Alt-Tab is Next Window and Prev Window, respectively. I also have bindings for Cntrl-Alt-Tab and Cntrl-Shift-Alt-Tab which are Next Window (All Windows) and  Next Window (All Windows). It sounds like you finally found ccsm.  It was in a separate package on my Ubuntu computer called `compizconfig-settings-manager`. I've also seen the command spelled out on some systems as well.  Hope you get it working!" CreationDate="2011-04-21T15:59:55.250" UserId="6167" />
  <row Id="15688" PostId="11731" Text="@ripper I forgot to mention you in my reply.  I did not notice any difference in behavior between the Control and non Control variation." CreationDate="2011-04-21T16:00:18.513" UserId="6167" />
  <row Id="15689" PostId="11770" Score="1" Text="Does it maximize to a screen different than the screen the browser is on?  What OS and is it 32 or 64-bit?" CreationDate="2011-04-21T16:08:08.990" UserId="6167" />
  <row Id="15690" PostId="11774" Score="1" Text="@Joel: No I don't think you are missing anything there.  However, I would look at using LDAP to manage the users and groups rather than the flat files in /etc." CreationDate="2011-04-21T16:09:31.877" UserId="4520" />
  <row Id="15691" PostId="11774" Text="@BillThor: LDAP is the best option but I'm dealing with some legacy servers with interesting limitations. Maybe that's the problem I should be addressing." CreationDate="2011-04-21T16:26:19.917" UserId="6835" />
  <row Id="15692" PostId="11755" Score="1" Text="To ask the obvious, did you restart OpenLDAP after editing slapd.conf?  Also, any errors in the log files for OpenLDAP?  The error is more likely server-side, if you could run slapd with -d 255 instead.  255 might be a little high for the server-side, I'd be a little more selective.  Is the database currently empty?  Does slapcat dump the existing, possibly empty database?" CreationDate="2011-04-21T16:27:15.587" UserId="6167" />
  <row Id="15694" PostId="11749" Text="But someone sharing your tunnel (local interface) might not be able to sniff your external-interface traffic, so this could be leaking additional information they would not otherwise have." CreationDate="2011-04-21T16:41:53.610" UserId="6342" />
  <row Id="15695" PostId="11749" Text="@R.. well, you shouldn't be sharing an SSH Tunnel with an untrusted user anyways.  Regardless, compression has nothing to do with detecting latency.  Even if compression was independently applied to each tunnel inside an SSH connection, latency would still be the same for the whole connection since TCP enforcing data ordering across the whole TCP connection.  Once a packet is sent, northing else can be read by the receiver until that first packet is properly received.  If one tunnel using compression sends a large file, it will affect other data going through that SSH connection." CreationDate="2011-04-21T17:02:58.787" UserId="6167" />
  <row Id="15696" PostId="11764" Text="My hunch is that Firefox tries to detect whether it's running in Gnome or not, and makes itself look different if it is. Try choosing &quot;new virtual desktop&quot; and &quot;run the default X client script&quot; and see if that makes any difference." CreationDate="2011-04-21T17:41:57.457" UserId="2510" />
  <row Id="15697" PostId="11667" Text="@llhuii: Now that's a very nice list. Thank you!" CreationDate="2011-04-21T18:44:53.277" UserId="885" />
  <row Id="15698" PostId="11764" Score="1" Text="@NXer: Welcome to Stack Exchange. Note that [you must explicitly disclose your affiliation](http://unix.stackexchange.com/faq#promotion). Your answer reads more like ad copy than like a useful contribution to solve a technical problem. For example, it would be helpful if you explained how NX starts a session (for VNC, I'd point Josh towards `~/.vnc/xstartup`; does NX have anything in the same vein?)." CreationDate="2011-04-21T18:55:40.060" UserId="885" />
  <row Id="15699" PostId="11745" Text="OK, I added more information on `byobu`, but it is as simple as running the command and finding it for yourself (it is menu driven), since it doesn't messup your existing screen settings. And I made my answer a community wiki, so feel free to edit it." CreationDate="2011-04-21T18:58:57.277" UserId="6475" />
  <row Id="15700" PostId="11739" Text="@nozimica: Note that in a UTF-8 locale (which you seem to be in since `ñ` is two bytes), some accented letters will end up sending a control character to Matlab (e.g. ś → `E^[`). That could be a problem, so I recommend doing both: switch to a latin1 locale and `stty istrip`." CreationDate="2011-04-21T19:03:30.353" UserId="885" />
  <row Id="15702" PostId="11769" Text="I suggest, first, talking to the Debian Mono maintainers, namely Debian Mono Group &lt;pkg-mono-group@lists.alioth.debian.org&gt;. This is a mailing list, you could just send mail to it. Alternatively, I suggest treating your regular install differently from your Debian packaging. For your Debian package, you know what the final path needs to be, so you can just have `debian/rules` manually write `phonix.sh` to `debian/packagename/usr/bin/` with the correct path, and not put the `phonix.sh` in there, or just write over it. This is an ugly hack. The mono people may be able to suggest something sane." CreationDate="2011-04-21T19:19:58.473" UserId="4671" />
  <row Id="15704" PostId="11769" Text="See also http://pkg-mono.alioth.debian.org/. IRC is generally a good way to get this kind of info." CreationDate="2011-04-21T19:25:55.897" UserId="4671" />
  <row Id="15705" PostId="11761" Text="It was announced that you could purchase your own TLD through ICANN/IANA but it would require approval, you would have to show that you are capable of running a TLD on an international scale, and it would likely cost over $100,000." CreationDate="2011-04-21T19:29:33.713" UserId="3459" />
  <row Id="15706" PostId="11780" Text="This is likely related to [this other one](http://unix.stackexchange.com/q/11651/688)." CreationDate="2011-04-21T19:57:36.860" UserId="688" />
  <row Id="15707" PostId="11774" Text="@Joel: If you have legacy servers, you may just have to edit `/etc/passwd` or equivalent through `VISUAL=ed vipw` or even directly." CreationDate="2011-04-21T20:34:10.870" UserId="885" />
  <row Id="15708" PostId="11781" Text="You aren't going to come up with anything like a “standard” list. Every project is different. My main project at work has a few `.exe` and `.tgz` checked in (hint: we didn't build them), and some `bin` directories. And note that an ignore list not stored within the project is potentially annoying and harmful: you may be forgetting patterns that are needed in the project (annoying other people) and you may be missing some project files (so not getting some of your files committed)." CreationDate="2011-04-21T20:40:18.683" UserId="885" />
  <row Id="15709" PostId="11774" Text="@Gilles: That's what I ended up doing." CreationDate="2011-04-21T21:07:56.673" UserId="6835" />
  <row Id="15710" PostId="11191" Text="Interesting. I wish there was a way to do this without modifying the running code (ie being able to do it without setup), but I doubt that's possible. This should be good enough for what we need." CreationDate="2011-04-21T21:09:52.107" UserId="1571" />
  <row Id="15711" PostId="11781" Text="That's a good point. Maybe instead, is there a way to make &quot;git init&quot; copy a .gitignore template from somewhere?" CreationDate="2011-04-21T21:11:31.123" UserId="1571" />
  <row Id="15712" PostId="11759" Text="@Keith, I've a problem creating UserMap. From the question: need to copy to/from linux/windows to this same HD. Although all machines and all SO's have `carl` as username, one windows has a code and other has another. How can I map `1:n`? Do I need to create groups? Say `file1.txt` is `SID-11` from machine capivara/windows, `file2.txt` is `SID-22` from machine mico/virtualbox-WinXP, and `file3.txt` is `SID-33` from a third machine. Can I make `carl:carl:SID-11`, `carl:carl:SID-22` and `carl:carl:SID-33`. When I save one file to NTFS, how linux would know, based on `carl` which `SID` to use? :/" CreationDate="2011-04-21T21:18:54.437" UserId="6030" />
  <row Id="15713" PostId="11744" Text="@Wolf: The trace is missing the good bits. My fault, can you do it again with `strace -f -o emacs.strace -s9999 emacs --daemon`? Also, to find out what this mysterious “Terminal Emulator” is, please run `ps $PPID` in it. Also, since the bug is apparently triggered by an installed package, run `dpkg -S /etc/emacs*/site-start.d` to get the list." CreationDate="2011-04-21T21:52:23.640" UserId="885" />
  <row Id="15715" PostId="11611" Text="http://linux.die.net/man/8/cryptsetup" CreationDate="2011-04-21T22:04:13.397" UserId="3389" />
  <row Id="15716" PostId="11473" Text="It's `cryptsetup luksDelKey /dev/underlying`, but yes." CreationDate="2011-04-21T22:05:17.233" UserId="3389" />
  <row Id="15717" PostId="11473" Text="@ultrasawblade: If I understand the documentation correctly, they do the same thing but with a different UI: with `luksRemoveKey`, you type the passphrase or supply the key file you want to remove; with `luksDelKey`, you supply the slot number." CreationDate="2011-04-21T22:07:31.280" UserId="885" />
  <row Id="15718" PostId="11759" Text="I scanned through all this. But is there a reason you can't use Dropbox? You might end up having to duplicate the data across your hard drives. But it's the bets solution I've found." CreationDate="2011-04-21T22:34:00.490" UserId="1571" />
  <row Id="15719" PostId="11786" Text="I don't understand the effect. Could you post a screenshot?" CreationDate="2011-04-21T22:37:37.550" UserId="885" />
  <row Id="15720" PostId="11759" Text="That's an equivalent problem you would have just using Windows in a non-AD (standalone workstation) environment. Each user is unique. You would have to provide a system with single sign on that provides the same user/SID globally. With AD, you would have carl/SID always the same in the domain, and ntfs-3g maps that one user/SID to your Linux account." CreationDate="2011-04-21T22:46:15.513" UserId="3082" />
  <row Id="15721" PostId="11786" Text="@Gilles: picture attached." CreationDate="2011-04-21T22:46:31.720" UserId="4249" />
  <row Id="15723" PostId="11780" Score="1" Text="If you find a source for support for DocBoook on LFS, please add that info here. I have tried creating docBook too, and I still need some help. (I haven't had time to look at it lately). You might do better with this on StackOverflow as there are many questions on xml, xslt there. (tag this as xml too?). Good Luck!" CreationDate="2011-04-21T23:21:51.633" UserId="6122" />
  <row Id="15724" PostId="11702" Text="Try asking at http://askubuntu.com/." CreationDate="2011-04-21T23:36:59.150" UserId="1762" />
  <row Id="15725" PostId="11740" Text="I'm just an nx user who saw this and thought it looked weird that NX is not showing the remote desktop how you have set it to look. What theme have you set on the Gnome desktop? I don't know what VMware is capable of but NX will simply show you a replica of the desktop on the server. Have you tried contacting them or checking their website?" CreationDate="2011-04-21T19:02:35.183" UserId="6839" />
  <row Id="15727" PostId="11740" Text="@NXer I'm using a rootless NX session, not a &quot;VNC-style&quot; one" CreationDate="2011-04-21T19:25:10.600" UserId="1974" />
  <row Id="15728" PostId="11744" Text="@Gilles: The terminal is &quot;xfce4-terminal&quot;. The `dpkg` command gives: `a2ps, dictionaries-common, emacsen-common, git: /etc/emacs/site-start.d \ emacs23-common: /etc/emacs23/site-start.d` (that \ represents a newline). And the updated strace out put is here: http://www.friendpaste.com/6MzrccvkziCBxUhGCrzgn8" CreationDate="2011-04-22T00:53:55.263" UserId="2333" />
  <row Id="15729" PostId="11677" Text="If I have to use the rules file that is acceptable. I was just curious if there was a nice easy global way." CreationDate="2011-04-22T01:12:05.517" UserId="2469" />
  <row Id="15731" PostId="11473" Text="Ah yes, consulted the actual man page on my system.  Then yes, you are correct." CreationDate="2011-04-22T02:24:42.200" UserId="3389" />
  <row Id="15734" PostId="11792" Text="It's certainly possible; are you looking for actual code?" CreationDate="2011-04-22T05:49:22.060" UserId="73" />
  <row Id="15735" PostId="11791" Text="If you want to use a single script across all OSes, I follow Jander's suggestion since it seems like you're comfortable enough with bash.  Write a bash script that's checks $OSTYPE, uname, which/whereis/type, or whatever is appropriate and call the script from vim using your keybinding." CreationDate="2011-04-22T06:44:34.257" UserId="6167" />
  <row Id="15736" PostId="11744" Text="@Wolf: The main Emacs process is waiting for a client to connect, did you post the trace before running emacsclient? But I now realize the interesting bits should be in what emacsclient does. So: `strace -f -s9999 -o emacsclient.strace emacsclient -t somefile` (we'll get there eventually!)." CreationDate="2011-04-22T07:00:38.653" UserId="885" />
  <row Id="15737" PostId="11802" Text="@Caleb Thanks, however there is still an issue: I don't want to replace &quot;next lines \n&quot; with a comma, and the command with perl is currently doing it. She sed command you wrote, it still doesn't work." CreationDate="2011-04-22T08:29:36.213" UserId="2504" />
  <row Id="15738" PostId="11800" Text="Thank you, but I'm searching for kernel.printk like solutions, so that &quot;logging/warnings&quot; will not occur to console" CreationDate="2011-04-22T08:40:40.230" UserId="6850" />
  <row Id="15739" PostId="11802" Text="Sorry you need to escape the `+` operator in sed, I just updated my answer. Newlines are whitepsace in perl, so you will have to do your whitepsace class manually if you don't wnat to include it. I added two solutions for that as wel." CreationDate="2011-04-22T08:41:16.420" UserId="1925" />
  <row Id="15740" PostId="11809" Text="Ooh, nice. Didn't know that one yet -- Bookmarking the link and adding it to my repertoire." CreationDate="2011-04-22T09:59:21.497" UserId="4949" />
  <row Id="15741" PostId="11811" Text="I'd like to do it independently on Window Management Environement (like KDE, GNOME etc.) (As if X was not started)." CreationDate="2011-04-22T10:39:03.493" UserId="6215" />
  <row Id="15742" PostId="11809" Text="Could you please be more specific? Which paragraphs from the [link](http://reactivated.net/writing_udev_rules.html) are relevant to me?" CreationDate="2011-04-22T10:42:58.760" UserId="6215" />
  <row Id="15743" PostId="11719" Text="@glenn: The outermost quotes aren't necessary; variable assignment is one of the exceptions to word-splitting. You do still need to quote `$(dirname)` and `$path`, though." CreationDate="2011-04-22T11:25:51.563" UserId="2168" />
  <row Id="15744" PostId="11804" Score="1" Text="Even on Windows, you can only run a *read-only* scan on mounted disks." CreationDate="2011-04-22T12:09:47.733" UserId="2168" />
  <row Id="15745" PostId="11811" Text="Then you'll have to read that link SHW posted, and read pretty much all of it." CreationDate="2011-04-22T12:36:52.387" UserId="4949" />
  <row Id="15746" PostId="11744" Text="@Gilles: Yes, that strace was before running emacsclient. Here's the trace on emacsclient: http://friendpaste.com/5nXokwYNJQdsMsDf09Knlk . Strangely, though, this morning it's working just fine. Maybe something I commented out of my emacs config was the problem; or maybe it's just a fluke and it'll go back to misbehaving. But do let me know if you see anything significant in the strace. The only thing I did differently this time was run `emacs --daemon &amp;`, i.e., with the &amp; on the end, which I had thought might be redundant for a `--daemon` but decided to try anyway." CreationDate="2011-04-22T12:55:16.720" UserId="2333" />
  <row Id="15748" PostId="11816" Score="2" Text="What did you learn from Google?  What confused you -- **specifically** -- in the Google results you found?" CreationDate="2011-04-22T01:21:19.950" />
  <row Id="15749" PostId="11817" Text="so an application compiled in Ubuntu desktop would run on Debian server right?" CreationDate="2011-04-22T02:36:17.283" />
  <row Id="15750" PostId="11817" Score="1" Text="Depends if they're the same architecture and if all linked shared libraries can be found on the server (along with other factors)." CreationDate="2011-04-22T05:15:02.603" />
  <row Id="15751" PostId="11818" Text="Interesting fact at the end." CreationDate="2011-04-22T06:38:01.440" />
  <row Id="15752" PostId="11815" Score="7" Text="+1 for the subject alone. :)" CreationDate="2011-04-22T13:57:03.197" UserId="2511" />
  <row Id="15753" PostId="11792" Text="that will be **excellent**" CreationDate="2011-04-22T14:02:29.050" UserId="6797" />
  <row Id="15754" PostId="11753" Text="Using wine is a bit dicey. But what's wrong with Pidgin and the Linux version of Skype?" CreationDate="2011-04-21T07:39:39.543" UserId="3082" />
  <row Id="15755" PostId="11753" Text="@Keith He did say Skype for Linux was too old.  A quick check myself shows Skype at 2.2 as a Beta for Linux from Skypes official website.  Skype for Windows is at 5.3." CreationDate="2011-04-21T22:03:56.330" UserId="6167" />
  <row Id="15756" PostId="11753" Text="@penguin Ah, that's right. But Pidgin works great for the text only services. How about [ekiga, or linphone](http://wiki.ekiga.org/index.php/Which_programs_work_with_Ekiga_%3F#Can_I_connect_to_a_SIP_server_with_Skype.3F)? True it doesn't work with Skype, but skype is proprietery and IMHO should not be on the Internet." CreationDate="2011-04-21T22:48:28.163" UserId="3082" />
  <row Id="15757" PostId="11753" Text="@Keith I never said I agreed with his approach, but I can understanding preferring Skype over Wine if the Linux version is so under maintained.  Personally, I push using Ekiga or Empathy for VoIP on Linux.  In fact, I use PSI or Empathy with XMPP Transports to connect to legacy networks like MSN instead of running Pidgin to natively connect just so I can at least claim partial use of an open chat protocol." CreationDate="2011-04-22T02:23:50.800" UserId="6167" />
  <row Id="15758" PostId="11753" Text="@penguin I understand. It may be worth trying to get skype working with Wine myself. :-o" CreationDate="2011-04-22T03:39:21.497" UserId="3082" />
  <row Id="15759" PostId="11753" Text="Also, it may not be right to compare version numbers for different platforms. On Linux Skype is version 2.2, but that version number is for the Linux version. As long as it interoperates with version X on other platforms it should be fine." CreationDate="2011-04-22T03:43:33.133" UserId="3082" />
  <row Id="15760" PostId="11800" Text="then you should edit your question to make that clear" CreationDate="2011-04-22T14:19:54.853" UserId="1952" />
  <row Id="15761" PostId="11809" Text="It looks like the thing I'm looking for. I only have not time to read it all these days. I will study it and paste the right answer into your comment in the time I will understand it. Thanks" CreationDate="2011-04-22T14:49:14.333" UserId="6215" />
  <row Id="15762" PostId="11815" Score="1" Text="`tr` is useful for deleting characters you don't want." CreationDate="2011-04-22T14:50:35.283" UserId="3389" />
  <row Id="15763" PostId="11825" Score="3" Text="The Python script can't. bash must." CreationDate="2011-04-22T14:57:25.933" />
  <row Id="15764" PostId="11825" Text="upvote for what exactly?" CreationDate="2011-04-22T14:58:49.497" />
  <row Id="15765" PostId="11819" Score="2" Text="+1. you can also use -r to prevent escaping advanced regex chars, greatly simplifying the regex pattern" CreationDate="2011-04-22T15:27:46.637" UserId="5589" />
  <row Id="15766" PostId="11817" Text="@Christopher - yes makes sense, thanks!" CreationDate="2011-04-22T16:13:52.343" UserId="6864" />
  <row Id="15767" PostId="11770" Text="@penguin - yeah, it maximizes to a different screen. Ubuntu 10.04, 64 bit." CreationDate="2011-04-22T16:15:49.317" UserId="1594" />
  <row Id="15768" PostId="11779" Text="My browser window does not span, and still maximizes to the other display." CreationDate="2011-04-22T16:16:34.463" UserId="1594" />
  <row Id="15769" PostId="11780" Text="I'd try unpacking Debian sources on this machine, and mimicking the rules file. You could also do a build run on a Debian machine and copy over the transcript. Also the build depends listed for Debian are (excluding debhelper) docbook-dsssl, jade, perl, sgmlspl, sp. Do you have those installed?" CreationDate="2011-04-22T16:25:59.690" UserId="4671" />
  <row Id="15770" PostId="11797" Text="@Caleb can u give me some sample code" CreationDate="2011-04-22T17:05:48.563" UserId="6797" />
  <row Id="15771" PostId="11818" Text="When you say internal operating system at google, you mean for developer/user desktops, right? " CreationDate="2011-04-22T17:12:52.053" UserId="3983" />
  <row Id="15772" PostId="11819" Text="@pepoluan Thanks. Added it to the answer." CreationDate="2011-04-22T18:04:29.950" UserId="1627" />
  <row Id="15773" PostId="11823" Text="Step 1: stop using `ifconfig`." CreationDate="2011-04-22T18:10:23.923" UserId="1627" />
  <row Id="15774" PostId="11823" Text="@Juliano, I have no credulity in your three word sentence.  Elaborate" CreationDate="2011-04-22T18:13:07.277" UserId="6766" />
  <row Id="15775" PostId="11744" Text="@Wolf: There's no useful information in the trace if it doesn't exhibit the problem. I'm glad you can use Emacs again. Be sure to come back if you manage to reproduce the problem." CreationDate="2011-04-22T18:34:53.180" UserId="885" />
  <row Id="15776" PostId="11831" Text="@Juliano, thanks for the information... this was to use dual-stack ipv6, not for an ipv4 address." CreationDate="2011-04-22T18:41:05.463" UserId="6766" />
  <row Id="15777" PostId="11823" Score="1" Text="@Mike, in my answer. Ifconfig was last updated ten years ago; it uses the obsolete ioctl() interface instead of the new netlink and thus doesn't support anything past Linux 2.2. It is an abomination that distros still include it. Also, [discussion](http://news.ycombinator.com/item?id=2362194), [Debian bug](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538433), etc." CreationDate="2011-04-22T18:45:23.050" UserId="1627" />
  <row Id="15778" PostId="11823" Text="@Juliano, very useful info... I had no idea it was so bad.  Thank you" CreationDate="2011-04-22T18:47:02.947" UserId="6766" />
  <row Id="15779" PostId="11831" Text="@Mike, dual-stack means that the system supports both IPv4 and IPv6, each one on its own stack. `ip -4 a` will show you the IPv4 one, `ip -6 a` will show you the IPv6 one. Simply `ip a` will show both, plus MAC addresses." CreationDate="2011-04-22T18:49:06.043" UserId="1627" />
  <row Id="15780" PostId="11831" Text="@Juliano... are we disagreeing about this?" CreationDate="2011-04-22T18:51:31.817" UserId="6766" />
  <row Id="15781" PostId="11830" Score="2" Text="`]` is not an angle bracket.  Angle brackets are `&lt;&gt;`.  `[]` are &quot;square brackets&quot;, or just &quot;brackets&quot;. " CreationDate="2011-04-22T18:54:07.510" UserId="2421" />
  <row Id="15782" PostId="11830" Text="I think you need to escape that closing bracket, unless I actually do need to go read up on my regular expressions." CreationDate="2011-04-22T18:58:19.140" UserId="3125" />
  <row Id="15783" PostId="11830" Text="@cjm - Maybe he's German: http://news.ycombinator.com/item?id=1181243 :)" CreationDate="2011-04-22T19:01:11.040" UserId="3125" />
  <row Id="15784" PostId="11831" Text="It depends, perhaps I'm confused by your distinction between &quot;dual-stack ipv6&quot; and &quot;ipv4 address&quot;." CreationDate="2011-04-22T19:01:36.763" UserId="1627" />
  <row Id="15785" PostId="11831" Text="@Juliano, I have no idea what you are talking about and why you keep mentioning ipv4.  Look at the output of ifconfig above... do you see family `inet` or family `inet6`?" CreationDate="2011-04-22T19:07:05.587" UserId="6766" />
  <row Id="15786" PostId="11830" Text="@cjm, sorry I meant to say square bracket, typed a little too fast. @Kit, I am not German. You do not want to escape the inner closing bracket (it would serve no purpose), but it must be the first character in the range." CreationDate="2011-04-22T19:20:26.513" UserId="3519" />
  <row Id="15787" PostId="11831" Text="@Mike: 192.168.13.236 is an IPv4 address. It doesn't make sense to add it to the IPv6 stack, not even by changing it to a IPv4-mapped IPv6 address like you are trying to." CreationDate="2011-04-22T19:27:57.867" UserId="1627" />
  <row Id="15789" PostId="11744" Text="@Gilles: Thanks for all your help! I just wish I knew what we did to fix it." CreationDate="2011-04-22T19:35:00.260" UserId="2333" />
  <row Id="15790" PostId="11797" Score="2" Text="No sorry I don't have time to write other people scripts that do their jobs for them. I can tell you it's possible and give you an outline, but basically scripting just involves writing down all the steps that you would normally do by hand and chaining them together. There are lots of bash and other shell scripting guides available on the web. This is a QnA site not mechanical turk, on demand tutorial or contract job board. If you get stuck on any specific steps feel free to ask specific questions." CreationDate="2011-04-22T19:36:20.780" UserId="1925" />
  <row Id="15791" PostId="11805" Text="Can you log in as root? If you can't, and you're absolutely sure you typed the username and password correctly, [boot into single user mode](http://unix.stackexchange.com/questions/11536/upgrade-suse-10-3-to-11-3-and-startup-fails/11537#11537), run `openvt -s login`, try to log in, and look in the system logs for more information." CreationDate="2011-04-22T19:54:13.923" UserId="885" />
  <row Id="15792" PostId="11739" Text="@Gilles: I've just tested, and `ś` and other special characters do no harm to the matlab session. In particular, `ś` prints just `E`. About the `stty sane` command, it doesn't restore the original settings, but `stty -istrip` does. Very good is the option to negate a command in `stty` just by prepending a `-`. Thanks again!" CreationDate="2011-04-22T20:01:51.900" UserId="6803" />
  <row Id="15793" PostId="11831" Text="@Mike: clarified in the answer above." CreationDate="2011-04-22T20:02:39.537" UserId="1627" />
  <row Id="15794" PostId="11816" Text="Possible duplicate of [9461](http://unix.stackexchange.com/questions/9459/differences-between-debian-and-ubuntu/9461)" CreationDate="2011-04-22T20:14:00.777" UserId="5661" />
  <row Id="15795" PostId="11833" Text="As I just mentioned in another question, stop using `ifconfig`, it is obsolete. The correct command is `ip addr show` or simply `ip a`." CreationDate="2011-04-22T20:18:10.817" UserId="1627" />
  <row Id="15796" PostId="11839" Text="Is it possible to network boot (PXE) the N900?" CreationDate="2011-04-22T20:48:44.333" UserId="3082" />
  <row Id="15797" PostId="11839" Text="I have no idea how to do that... :p" CreationDate="2011-04-22T20:51:11.090" UserId="4846" />
  <row Id="15798" PostId="11843" Text="haven't set anything up ahead of time... my main phones an android phone, just trying to salvage! :p" CreationDate="2011-04-22T20:54:26.687" UserId="4846" />
  <row Id="15799" PostId="11843" Text="Look into the bootloader and if there are any hooks to get into it before/as it boots." CreationDate="2011-04-22T20:56:21.990" UserId="1925" />
  <row Id="15800" PostId="11831" Text="@Juliano, great answer... thank you!" CreationDate="2011-04-22T21:04:03.850" UserId="6766" />
  <row Id="15801" PostId="6603" Text="Or use `udevadm test /sys/bus/usb/devices/1-2:3-4` where the path locates your USB device (this path will depend on where it's plugged in, but that's only for debugging)." CreationDate="2011-04-22T21:15:01.140" UserId="885" />
  <row Id="15802" PostId="11847" Text="Yes, I have it in my netbase postinst too. Good catch! +1." CreationDate="2011-04-22T21:26:38.917" UserId="4671" />
  <row Id="15803" PostId="11839" Text="If you turn your phone off and connect it to a computer over USB, does the phone appear as a USB removable drive? (Some phones do this, I have no idea if that includes the N900.)" CreationDate="2011-04-22T21:29:07.043" UserId="885" />
  <row Id="15804" PostId="11759" Text="+1. I'll keep trying and if you don't mind I'll keep you updated, as you are being really helpful with your tips. Anycase, I already closed the answer as accepted. Thanks a lot. @Keith" CreationDate="2011-04-22T21:42:05.363" UserId="6030" />
  <row Id="15805" PostId="11753" Text="@Keith Checking Wikipedia, Skype 2.0 was release for Linux in 2008, Skype 5.0 was released for Windows and Mac OS in 2010.  Skype is also at version 5.0+ for Symbian.  I wouldn't be surprised if there was a number of missing features in the Linux version.  Though, I do realize version numbers can be irrelevant when talking across operating systems." CreationDate="2011-04-22T22:15:13.870" UserId="6167" />
  <row Id="15806" PostId="11753" Text="I don't like depending on proprietary junk either, but I have clients who need it an the alternative would be running complete Windows systems (and having to maintain them). This question is not about choosing an ideal voice/video over IP system, but about working within existing requirements. :-(" CreationDate="2011-04-22T22:21:17.390" UserId="6342" />
  <row Id="15807" PostId="11753" Text="@penguin FYI, [skype 2.2 for Linux](http://blogs.skype.com/garage/2011/04/skype_22_beta_for_linux_with_s.html) (beta, of course) was released just a few weeks ago." CreationDate="2011-04-22T22:21:22.960" UserId="3082" />
  <row Id="15808" PostId="11753" Text="Yeah, that doesn't change the fact that the interface is horribly outdated and complete unfamiliar to the people who would be using it (and asking why they can't find any of the features they're used to). Also video support on the other networks I asked about is important." CreationDate="2011-04-22T22:48:24.310" UserId="6342" />
  <row Id="15809" PostId="11722" Text="It's Jerry! Thanks for bringing your historical context!" CreationDate="2011-04-22T23:20:18.853" UserId="4" />
  <row Id="15810" PostId="11667" Text="I think the Python version is much simpler and more intuitive. ;-)" CreationDate="2011-04-22T23:37:31.133" UserId="3082" />
  <row Id="15811" PostId="11852" Text="Thanks +1, do you know why using printf, rather than sprintf, causes problems with printing the next line on the same line (if I have 4 fields, it prints those fields and then the next line right after that before the line break)." CreationDate="2011-04-22T23:43:40.900" UserId="3445" />
  <row Id="15812" PostId="11753" Text="@R.. That's why I mentioned Empathy.  It can do Voice and Video over XMPP and is compatible with other XMPP clients including Google Talk.  I can do Video chat on Empathy with someone else using GTalk from their web browser." CreationDate="2011-04-22T23:48:53.977" UserId="6167" />
  <row Id="15813" PostId="11753" Text="Thanks, I'll check it out. It may be a good choice for Google Talk, but it definitely won't solve the QQ or Skype problem." CreationDate="2011-04-22T23:51:35.910" UserId="6342" />
  <row Id="15814" PostId="11854" Text="@Gilles to properly use RELATED and ESTABLISHED states, you need to match the initial packet as a NEW state.  `lo` in the above example is excluded from state matching and always allowed." CreationDate="2011-04-22T23:54:47.560" UserId="6167" />
  <row Id="15815" PostId="11854" Text="@penguin359: Could you elaborate on why NEW is needed? I'm far from an iptables expert, I partly copied these rules from my home router, which doesn't match on NEW. As far as I understand, all that's left after the first rule is NEW (or UNTRACKED) packets anyway. (If I'm too far off the mark and you can't explain in a comment, post your versions with explanations as an answer and I'll delete mine.)" CreationDate="2011-04-23T00:07:23.430" UserId="885" />
  <row Id="15816" PostId="11857" Text="+1 awesome.  Worth bundling up as a shell function I think." CreationDate="2011-04-23T00:42:42.570" UserId="3169" />
  <row Id="15817" PostId="11859" Text="`ps -C COMMAND` may be more appropriate than `grep COMMAND`, but it's just an example.  Also, you can't use `-C` if you also used another selection option such as `-U`." CreationDate="2011-04-23T00:51:12.847" UserId="3169" />
  <row Id="15818" PostId="11857" Text="+1, any reason why a subshell is preferable, or is `{}` ok instead of `()`?" CreationDate="2011-04-23T00:57:28.023" UserId="3445" />
  <row Id="15819" PostId="11859" Text="Or maybe it should be called `body`?  As in `body sort` or `body grep`.  Thoughts?" CreationDate="2011-04-23T00:57:33.563" UserId="3169" />
  <row Id="15820" PostId="11859" Text="I tried `read` in this form first, but noticed that it was eating leading whitespace. Making this a function is a good idea. +1" CreationDate="2011-04-23T01:01:54.320" UserId="5931" />
  <row Id="15821" PostId="11856" Text="I came across the following [link](http://gadelkareem.com/2008/03/07/sort-unix-processes-on-ps-by-highest-memory-usage/). However, I can't get this technique of `{ head -1; sort; }` to work. It always deletes a bunch of the text after the first line. Does anyone know why this happens?" CreationDate="2011-04-23T01:02:06.353" UserId="3445" />
  <row Id="15822" PostId="11859" Text="Renamed from `header` to `body`, because you're doing the action on the body.  Hopefully that makes more sense." CreationDate="2011-04-23T01:02:18.770" UserId="3169" />
  <row Id="15823" PostId="11859" Text="@Andy, yeah, we should set `IFS=`.  Fixed." CreationDate="2011-04-23T01:04:10.627" UserId="3169" />
  <row Id="15824" PostId="11856" Text="I suspect it's because `head` is reading more than one line into a buffer and throwing most of it away. My `sed` idea had the same problem." CreationDate="2011-04-23T01:09:58.820" UserId="5931" />
  <row Id="15825" PostId="11857" Text="(read;...) seems to lose the spacing between the fields of the header for me. Any suggestions?" CreationDate="2011-04-23T01:17:21.183" UserId="3445" />
  <row Id="15826" PostId="11857" Text="@jonderry: Change `read` to `IFS= read`." CreationDate="2011-04-23T01:25:30.617" UserId="3169" />
  <row Id="15827" PostId="11857" Text="@Mikel: OK, changing to `IFS=` didn't fix this problem. However, changing to `printf '%s\n' &quot;$REPLY&quot;` fixed it for this approach. I haven't noticed an effect from setting `IFS`. What is this fixing?" CreationDate="2011-04-23T01:33:40.020" UserId="3445" />
  <row Id="15828" PostId="11857" Text="@jonderry: Any spaces at the start of the line.  Without `IFS`, leading spaces are stripped out.  With `IFS=`, the line is printed verbatim." CreationDate="2011-04-23T01:49:27.033" UserId="3169" />
  <row Id="15829" PostId="11857" Score="1" Text="`IFS=` disables word splitting when reading the input. I don't think it's necessary when reading to `$REPLY`. `echo` will expand backslash escapes if `xpg_echo` is set (not the default); `printf` is safer in that case. `echo $REPLY` without quotes will condense whitespace; I think `echo &quot;$REPLY&quot;` should be okay. `read -r` is needed if the input may contain backslash escapes. Some of this might depend on bash version. " CreationDate="2011-04-23T01:50:08.180" UserId="5931" />
  <row Id="15830" PostId="11857" Score="1" Text="@Andy: Wow, you're right, different rules for `read REPLY; echo $REPLY` (strips leading spaces) and `read; echo $REPLY` (doesn't)." CreationDate="2011-04-23T02:44:55.057" UserId="3169" />
  <row Id="15831" PostId="11857" Score="1" Text="@Andy: IIRC, the default value of `xpg_echo` depends on your system, e.g. on Solaris I think it defaults to true.  This is why Gilles likes `printf` so much: it's the only thing with predictable behavior." CreationDate="2011-04-23T02:47:39.377" UserId="3169" />
  <row Id="15832" PostId="11771" Text="You probably put your settings in `.zprofile` or `.zlogin`.  Short answer: you should put your settings in `.zshrc` or `.zshenv` instead." CreationDate="2011-04-23T03:37:27.310" UserId="3169" />
  <row Id="15833" PostId="11815" Text="If you try the code in people's answers, you will see three different outputs.  This suggests your question was not 100% clear.  Does &quot;cut out&quot; mean remove or select?  Do you want the `(inactive)` status or not?  Please provide sample output." CreationDate="2011-04-23T03:42:27.103" UserId="3169" />
  <row Id="15835" PostId="11835" Text="What is not clear in your questions is whether you talk about text and vector graphics in your pdf, or whether you mean to extract embedded images." CreationDate="2011-04-23T04:02:24.117" UserId="3519" />
  <row Id="15836" PostId="11791" Text="@Jander and @penguin359: both of your answers have taught me what I need to know to do this and more. I'm very thankful!" CreationDate="2011-04-23T04:07:12.223" UserId="6845" />
  <row Id="15837" PostId="11815" Text="@Mikel - Considering I'm using `cut` to cut things out and you can see the intent of the failed example I have, it should be fairly clear in the context.  I will provide sample out though to clear it up further. :)" CreationDate="2011-04-23T04:25:56.890" UserId="3125" />
  <row Id="15838" PostId="11815" Text="No, not really.  I changed one sentence in your question to &quot;print only the city names&quot;, because it was your use of the word &quot;cut&quot; that was unclear to me.  Is my change correct?" CreationDate="2011-04-23T05:04:03.133" UserId="3169" />
  <row Id="15839" PostId="11815" Text="@Mikel - Well we'll just have to disagree then. None of the 3 people that answered before you got it wrong (and you could've looked at them for guidance). :) I don't want to use your word usage because I think it makes the question less interesting to read. With the example output I can't possibly see how anyone would get it wrong. Feel free to downvote if you are unhappy with that though. :)" CreationDate="2011-04-23T07:05:04.997" UserId="3125" />
  <row Id="15840" PostId="11815" Score="1" Text="@Kit Sunde: With the sample output, it's certainly understandable.  The title is cute.  &quot;cut out&quot; makes me think of what happens when you press Ctrl+X, which is why I suggested the change, but it's your question.  Downvoting would be silly when it's just a simple disagreement." CreationDate="2011-04-23T07:13:03.673" UserId="3169" />
  <row Id="15841" PostId="11851" Text="As [Gilles demonstrates](http://unix.stackexchange.com/questions/11851/iptables-allow-certain-ips-and-block-all-other-connection/11854#11854) the concept goes like this: Add ACCEPT rules for each specific thing you want to allow whether by source IP or other qualifications, then set the default policy to REJECT." CreationDate="2011-04-23T07:30:49.720" UserId="1925" />
  <row Id="15842" PostId="11866" Text="That's not per user." CreationDate="2011-04-23T07:35:02.680" UserId="3169" />
  <row Id="15843" PostId="11867" Text="Great one ... never knew `ps` could do these things :)" CreationDate="2011-04-23T07:49:52.847" UserId="3879" />
  <row Id="15844" PostId="11855" Text="See also http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc/5763243" CreationDate="2011-04-23T08:49:09.027" UserId="3169" />
  <row Id="15845" PostId="10616" Text="@asoundmove, I am sorry that I couldn't be active.. this was because of some unexpected condition! Thanks" CreationDate="2011-04-23T09:13:34.713" UserId="5836" />
  <row Id="15846" PostId="11854" Text="@Gilles I always drop INVALID state before accepting anything... which makes anything not INVALID, RELATED, ESTABLISHED, must be NEW state. But I don't know any reason that everything else must specify NEW. In theory though if you don't handle INVALID, and you don't specify NEW, you could end up accepting INVALID. But once INVALID is handled, it seems to me that checking for NEW state on every rule simply requires more processing for the packet." CreationDate="2011-04-23T09:29:28.670" UserId="29" />
  <row Id="15847" PostId="11854" Text="@Gilles also a default policy of reject is bad, because it sends a reject packet for every packet that is received, this compounds a DOS attack." CreationDate="2011-04-23T09:30:23.927" UserId="29" />
  <row Id="15848" PostId="10609" Text="@SiegeX, your code worked great in sed, &lt; sed 's/ /\t/g' students.txt &gt;. But the one in AWK didn't.!" CreationDate="2011-04-23T09:31:49.463" UserId="5836" />
  <row Id="15849" PostId="11798" Text="Thanks! How can I record only specific windows e.g. the window of my webcam and the window of the other person's? Perhaps even how to record them separately to make it easier to edit. " CreationDate="2011-04-23T11:03:17.760" UserId="4792" />
  <row Id="15850" PostId="11817" Text="I'm about to set up a Debian Squeeze (i.e. stable) box and put Google Chrome on there. I figure I'll get a very stable machine, but with all the benefits of a state-of-the-art browser. Does this sound correct?" CreationDate="2011-04-23T11:18:07.410" UserId="5770" />
  <row Id="15851" PostId="11818" Text="It's called 'Goobuntu'. From wikipedia: [Almost half of the 20,000 employees of Google use Goobuntu](http://en.wikipedia.org/wiki/Goobuntu)." CreationDate="2011-04-23T11:22:36.037" UserId="5770" />
  <row Id="15852" PostId="11875" Text="Is there a way to have a user get 'bash: blah: command not found' instead of 'bash: /usr/bin/blah: Permission denied'? @Caleb" CreationDate="2011-04-23T11:42:41.533" UserId="6884" />
  <row Id="15853" PostId="11875" Score="2" Text="Not unless you move the command from the users $PATH and into something that is only in admin users $PATH. Generally it is a bad idea to move executable from their system installed defaults. You can do it, but think twice because you are going to make a real admin mess for yourself or somebody else down the road." CreationDate="2011-04-23T11:58:33.633" UserId="1925" />
  <row Id="15854" PostId="9180" Score="1" Text="Any reasons to prefer azureus over transmission?  I've found that transmission provides at least most of the features that people look for in azureus, at about 1/10 of the memory usage." CreationDate="2011-04-23T12:12:57.633" UserId="1535" />
  <row Id="15855" PostId="11875" Score="1" Text="@G26: Put in in `/usr/local/sbin` rather than `/usr/local/bin`. (If it was a standard system command in `/usr/bin` or `/bin`, you shouldn't do anything to it." CreationDate="2011-04-23T12:29:51.247" UserId="885" />
  <row Id="15856" PostId="11874" Score="1" Text="Why do you want to do that? Security doesn't come from making commands non-executable, it comes from the kernel preventing commands not running as root to do certain things. For example, if you want to [prevent users from seeing each other's processes](http://unix.stackexchange.com/questions/11873), preventing them from running `ps` is useless (`ps` is just a friendly formatter for information in `/proc`). What you need is to make the information restricted in the first place." CreationDate="2011-04-23T12:30:47.843" UserId="885" />
  <row Id="15857" PostId="11873" Score="1" Text="Related: [how to do it with SELinux](http://unix.stackexchange.com/questions/1326/hide-processes-from-other-users-based-on-groups-under-linux)." CreationDate="2011-04-23T12:34:32.930" UserId="885" />
  <row Id="15858" PostId="11864" Text="Note that there's no single definition of how much memory a process or a user is using. Some memory is shared between users or backed by disk files, for example the code of loaded executables and shared libraries. So don't be surprised if you end up with several different results (even for a single process)." CreationDate="2011-04-23T12:39:07.497" UserId="885" />
  <row Id="15859" PostId="11805" Text="@Gilles - thanks for your answer." CreationDate="2011-04-23T13:18:45.247" UserId="4658" />
  <row Id="15860" PostId="11815" Text="Too bad I'm not on a unix machine here but I think in GNU grep there is an option to only show the match, not the entire line." CreationDate="2011-04-23T14:08:33.237" UserId="2726" />
  <row Id="15861" PostId="11854" Text="@xenoterracide: Good point. Should REJECT ever be used? I've asked: [Reject IP packets with an ICMP error, or just drop them?](http://security.stackexchange.com/questions/3290/reject-ip-packets-with-an-icmp-error-or-just-drop-them)" CreationDate="2011-04-23T14:28:10.690" UserId="885" />
  <row Id="15862" PostId="11868" Text="Thanks that worked. I put &#xA;	`autocmd VimEnter * NERDTreeerd_tree`&#xA;	`autocmd VimEnter * wincmd p` &#xA;inside the if instead though. Otherwise when I start vim I need to press enter to continue" CreationDate="2011-04-23T17:24:37.113" UserId="6876" />
  <row Id="15863" PostId="11854" Text="@gilles yes, but if you're going to use it you should LIMIT it." CreationDate="2011-04-23T17:56:06.893" UserId="29" />
  <row Id="15864" PostId="11872" Text="Excellent. Thanks Caleb. I just ran into this problem about 30 minutes ago. :)" CreationDate="2011-04-23T18:33:07.787" UserId="5770" />
  <row Id="15865" PostId="11877" Score="1" Text="Echo should not be quoted there. Also you might want to provide the full path. Cron's $PATH environment variable is often very restricted." CreationDate="2011-04-23T19:05:58.037" UserId="1925" />
  <row Id="15866" PostId="11877" Text="You might also find it useful to run date instead of echo. This will give you a series of timestamps in your log file instead of sending a blank line!" CreationDate="2011-04-23T19:07:21.420" UserId="1925" />
  <row Id="15867" PostId="11884" Text="I'm using ssh-agent. It's happy enough with multiple keys, one per server, but doesn't seem to accept I might want to use a different key with each account on a single given server. If you think I'm doing something wrong with ssh-agent, please say :)" CreationDate="2011-04-23T19:18:31.693" UserId="6860" />
  <row Id="15868" PostId="11884" Text="Ah, it might be a Mac OS X specific problem with ssh-agent: http://www.shawndavison.com/2010/06/how-to-use-different-ssh-keys-to-access-the-same-server/ (In my case, DESKTOP happens to be running Snow Leopard.)" CreationDate="2011-04-23T19:29:08.033" UserId="6860" />
  <row Id="15869" PostId="11817" Text="@boehj dont know. I only use debian server with console. perhaps. Let us know!" CreationDate="2011-04-23T19:50:50.930" UserId="3983" />
  <row Id="15871" PostId="11890" Text="Definitely qualifies as &quot;better&quot;.  Thanks!" CreationDate="2011-04-23T20:05:58.007" UserId="1535" />
  <row Id="15874" PostId="11899" Text="http://lxr.linux.no/ is easier than cscope/" CreationDate="2011-04-22T18:59:53.663" />
  <row Id="15875" PostId="11899" Score="1" Text="well - it's different! It sure looks interesting enough if I can get it to work against other codebases" CreationDate="2011-04-22T19:12:40.517" UserId="5946" />
  <row Id="15876" PostId="11899" Text="lxr was developed for linux kernel, but it is possible to use it with other projects. It is opensource. There are sites for BSD oses http://fxr.watson.org/ , for firefox mxr.mozilla.org" CreationDate="2011-04-22T19:39:11.290" />
  <row Id="15877" PostId="11899" Text="there is a list of existing lxr sites also http://en.wikipedia.org/wiki/LXR_Cross_Referencer" CreationDate="2011-04-22T19:41:01.803" />
  <row Id="15878" PostId="11899" Text="Also I recommend http://google.com/codesearch - it is google search which indexed a lot of opensource and allows to use a regex and special chars in queries" CreationDate="2011-04-22T19:42:33.477" />
  <row Id="15879" PostId="11877" Text="@Caleb: It works, it just creates a file with a blank line each time it runs." CreationDate="2011-04-23T22:08:36.110" UserId="591" />
  <row Id="15880" PostId="11901" Text="Uh, any driver has to take care about this on its own? Why aren't these information centralized and in common for all the drivers? Well, guess I would need to dig deeper in the video infrastructure in order to understand this.... I was hoping in a more general solution (like adding a line in a DB-file or something), since I'll be using this monitor for a couple of weeks only. At the moment I'm adding the new mode with a script anytime I boot; it works, but looks like a dirty hack..." CreationDate="2011-04-24T00:36:42.307" UserId="4041" />
  <row Id="15881" PostId="2307" Text="@Mikel I say &quot;sudo&quot; as &quot;pseudo&quot; because I'm not really the super user." CreationDate="2011-04-24T01:27:39.143" UserId="1927" />
  <row Id="15882" PostId="11884" Text="@sampablokuper: You never mentioned what you are doing with your `ssh-agent`, nor what kinds of entries you are using in your `.ssh/config`." CreationDate="2011-04-24T02:21:11.450" UserId="1107" />
  <row Id="15883" PostId="11903" Text="Yep.. already tried. it is trying to open in new instance of eclipse. But from the link that you provided it has to open it in running instance. I'm using ubuntu and eclipse Version: 3.5.2. Perhaps i need to upgrade the version of eclipse?" CreationDate="2011-04-24T02:31:51.403" UserId="6888" />
  <row Id="15884" PostId="11908" Score="4" Text="But why would that make it necessary? You can run ruby directly with `ruby`, but that doesn't stop you from specifying `/home/user/myrubyinterpreter` if you want" CreationDate="2011-04-24T03:00:35.613" UserId="73" />
  <row Id="15885" PostId="11908" Text="Michael's point is exactly what I what I am asking." CreationDate="2011-04-24T03:31:50.283" UserId="6200" />
  <row Id="15886" PostId="1271" Score="2" Text="Big Wheel, Big Cheese, Big Shot (etc) were all slang for an important person in the early and mid 20th century. Some of them are still popular today, others aren't. Big Wheel was an allusion to the wheels on carriages of previous centuries, where more important people would have carriages with larger wheels." CreationDate="2011-04-24T03:44:57.157" UserId="5083" />
  <row Id="15887" PostId="11869" Text="maybe better to post this as a comment; answers are supposed to provide solutions, thanks!" CreationDate="2011-04-24T04:37:45.863" UserId="4272" />
  <row Id="15888" PostId="11910" Text="Thanks. I think I now understand." CreationDate="2011-04-24T04:58:39.213" UserId="6200" />
  <row Id="15889" PostId="11905" Text="wow! thanks for getting into the source. Your words make a lot of sense, I guess the bottom line is that it can't be done. Oh well. Thanks again." CreationDate="2011-04-24T07:12:05.997" UserId="898" />
  <row Id="15890" PostId="11871" Text="@kit merging with [this question](http://unix.stackexchange.com/q/11004/29) has been suggested. Basically the  same problem, but `vim`. I'm considering the merge... though I'm also considering the fact that vim specific instructions will not work in `nano`." CreationDate="2011-04-24T08:50:51.103" UserId="29" />
  <row Id="15891" PostId="11912" Score="2" Text="@davidshen84, what specific protocols are you proxying with this server?  Just http or others?" CreationDate="2011-04-24T09:33:27.167" UserId="6766" />
  <row Id="15892" PostId="9074" Text="@kungfusia, can you elaborate on what problem you could solve with this information?" CreationDate="2011-04-24T09:40:53.507" UserId="6766" />
  <row Id="15893" PostId="11871" Score="1" Text="@xenaterracide - I think the vim question is a special case of this one, since that one actually has a solution and it seems the general case has none. I'm not sure either though, up to you. :)" CreationDate="2011-04-24T09:44:54.547" UserId="3125" />
  <row Id="15894" PostId="11821" Text="Thanks, its really other process that was still using it." CreationDate="2011-04-24T09:56:17.520" UserId="6852" />
  <row Id="15895" PostId="10884" Text="@penguin359: I've now aliased `cp` to `cp -i`. Can't look back. Wonder how I survived w/o it in fact. It'll certainly be one of my bash aliases from now on on every install." CreationDate="2011-04-24T10:39:41.333" UserId="5770" />
  <row Id="15896" PostId="11915" Text="Indeed! I can start from there. Yep, manpage read, but could not bring `--numstat` together with `--format`. thanks." CreationDate="2011-04-24T11:40:03.040" UserId="5590" />
  <row Id="15897" PostId="11901" Text="@peoro: See edit above. " CreationDate="2011-04-24T12:40:57.830" UserId="4520" />
  <row Id="15898" PostId="9487" Text="@Gilles, sorry it has taken me so long to reply to this as I have only just been able to implement this, but I'm still in the same situation of the files I dump in this directory that I have created on my local machine only have read/write permissions for me, and only read for the rest of the group.  I don't know if this is as a result of all the messing around I've done in this particular directory.  Still the only way I can get it to work is by setting the umask on my local machine 0002.  Files I create on the server itself are fine, but that's not the method we mainly use." CreationDate="2011-04-24T12:56:48.043" UserId="5764" />
  <row Id="15899" PostId="11916" Text="Thats perfect. I couldn't have done this in _perl_ (and in _python_ it would have been longer :-). In only had to remove the `use Date`, I obviously have a slim perl here. NP, using `git log --shortstat --date=short | ./gitstats.pl ` it's almost perfect. I seem to have some parsing glitches... will work on that." CreationDate="2011-04-24T14:04:15.327" UserId="5590" />
  <row Id="15900" PostId="11916" Text="After a `Merge` the lines get mixed up. Easily solved." CreationDate="2011-04-24T14:14:52.373" UserId="5590" />
  <row Id="15901" PostId="9487" Text="@Jagot: I think we need more information to help you then. Please edit your question to describe precisely how you upload files to the server, and show the output of `getfacl` on a file that doesn't have the desired permissions and the containing directories all the way up to the root of the shared space." CreationDate="2011-04-24T14:41:25.043" UserId="885" />
  <row Id="15902" PostId="11890" Text="In what application? None of the applications I use often behave like this." CreationDate="2011-04-24T15:01:52.763" UserId="885" />
  <row Id="15904" PostId="11913" Text="This concern only applies if the script is running with elevated privileges. [And that's uncommon, because shebang and setxid don't play well together, and there's a lot more to worry about than `$PATH`.](http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts). Without elevated privileges, what if `LD_PRELOAD` is used? P.S. Downvoted because giving a false warning about security is detrimental to security." CreationDate="2011-04-24T15:21:09.983" UserId="885" />
  <row Id="15905" PostId="11913" Text="Your point about setxid is valid, however it is a perfectly useful attack vector so definitely isn't a false warning" CreationDate="2011-04-24T16:16:42.937" UserId="3046" />
  <row Id="15906" PostId="11884" Text="@Chris, sorry. I didn't have an `.ssh/config`, &amp; I asked the question partly to troubleshoot what seemed to be odd behaviour by ssh-agent on *DESKTOP*. (I wanted to pose the question as a general one, though, so that others might benefit.) Turns out the behaviour was caused by either the `.ssh` directory not being executable or the `.ssh/authorized_keys` being misconfigured, on all but one of the remote accounts! Until I fixed this, it had appeared to me that ssh-agent just wouldn't use more than one SSH key per server, since on all but one account SSH would ask for the password regardless." CreationDate="2011-04-24T16:21:09.357" UserId="6860" />
  <row Id="15907" PostId="11920" Text="Thanks, works perfectly. What does the `--` do, exactly?" CreationDate="2011-04-24T16:22:21.460" UserId="2333" />
  <row Id="15908" PostId="11923" Text="@grawity: what is `$@`?" CreationDate="2011-04-24T16:54:40.480" UserId="912" />
  <row Id="15909" PostId="11920" Score="3" Text="@Wolf: For most commands, `--` marks the end of options; everything after it is arguments. For example, `logger foo -x bar` would log &quot;foo bar&quot; and treat `-x` as an option, while `logger -- foo -x bar` would treat it as an ordinary word in the message &quot;foo -x bar&quot;." CreationDate="2011-04-24T16:58:01.307" UserId="2168" />
  <row Id="15910" PostId="11923" Score="2" Text="@Lazer: In sh and bash, `$@` expands to all arguments given to the function or script. Unquoted it works the same way as `$*`. When inside double quotes, however, it expands to _exactly_ the same words as originally given, [without any additional splitting.](http://pastie.org/1828726)" CreationDate="2011-04-24T17:05:22.827" UserId="2168" />
  <row Id="15911" PostId="11923" Text="@Lazer: `$@` expands to all the parameters passed to the function (equivalent to `&quot;$1&quot; &quot;$2&quot; ...`). For more information, do `man bash` and search for Special Parameters." CreationDate="2011-04-24T17:05:40.323" UserId="3038" />
  <row Id="15912" PostId="11920" Score="1" Text="The `--` indicates that no more options follow on the command line, following `-`'s aren't interpreted as options. So this allows you to `cat` files that start with a `-` ;-)" CreationDate="2011-04-24T17:07:10.407" UserId="6890" />
  <row Id="15913" PostId="11920" Text="@grawity and @binfalse: Thanks for the explanation, that's very helpful! Very good to know." CreationDate="2011-04-24T17:09:28.270" UserId="2333" />
  <row Id="15914" PostId="11901" Text="I mostly agree - I've seen several times that xrandr reports only &quot;standard&quot; resolutions like 800x600 and 1024x768. The problem was always in hardware - corrupted EDID in monitor or faulty VGA cable. In any case, see your Xorg.0.log for lines like &quot;(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0&quot;." CreationDate="2011-04-24T18:11:49.680" UserId="6883" />
  <row Id="15915" PostId="11884" Text="If you have more than one identity loaded into the agent, it will offer to authenticate with any of them in order against the other end. So if you have identities A, B and C loaded, and account 1 only has B's public key in `~/.ssh/authorized_keys` then your client will attempt to auth with key A, be told that account 1 doesn't seem to accept key A, then attempt key B and get authenticated." CreationDate="2011-04-24T19:17:09.533" UserId="4949" />
  <row Id="15916" PostId="11872" Score="1" Text="@Caleb You can use the tee command from within vim to do what you describe: `:w !sudo tee`" CreationDate="2011-04-24T16:41:29.540" UserId="6908" />
  <row Id="15917" PostId="11938" Text="Makes perfect sense. :) I don't know why but reading *&quot;do nothing, unsuccessfully.&quot;* makes me laugh." CreationDate="2011-04-24T20:23:25.093" UserId="3125" />
  <row Id="15918" PostId="11934" Text="I'm accepting this answer over binfalses because it's more general purpose." CreationDate="2011-04-24T20:38:32.807" UserId="2897" />
  <row Id="15919" PostId="11935" Text="Thanks for the tip." CreationDate="2011-04-24T20:38:46.987" UserId="2897" />
  <row Id="15920" PostId="11940" Text="is there any combination of common linux commands that could do the same?" CreationDate="2011-04-24T20:45:45.160" UserId="912" />
  <row Id="15921" PostId="11938" Score="3" Text="Another reason to avoid `| true` is that if the command produced enough output to fill up the pipe buffer, it would block waiting for `true` to read it." CreationDate="2011-04-24T20:53:07.867" UserId="2421" />
  <row Id="15923" PostId="11933" Text="What version of `bash` and what terminal program are you using?" CreationDate="2011-04-24T21:20:08.017" UserId="3169" />
  <row Id="15924" PostId="11933" Text="I'm using&#xA;GNU bash, version 3.1.17(1)-release (x86_64-redhat-linux-gnu)&#xA;&#xA;on gnome-terminal (also on Terminator)" CreationDate="2011-04-24T21:30:37.633" UserId="4531" />
  <row Id="15925" PostId="11943" Score="1" Text="Thanks! I had &quot;M-w&quot; instead of &quot;\ew&quot; in .inputrc. The lack of highlighting also confused me. Thanks for the pointer to the bind command by the way. It now works like a charm! " CreationDate="2011-04-24T21:35:12.913" UserId="4531" />
  <row Id="15926" PostId="11943" Score="1" Text="Welcome!  Yeah, you have to write `\e` or `\M-`.  See [readline init file syntax](http://www.gnu.org/software/bash/manual/bashref.html#Readline-Init-File-Syntax)." CreationDate="2011-04-24T21:37:19.100" UserId="3169" />
  <row Id="15927" PostId="11941" Score="1" Text="A slightly shorter awk script is `{ if (!seen[$0]++) print }`" CreationDate="2011-04-24T22:32:04.737" UserId="1078" />
  <row Id="15928" PostId="11941" Text="Thanks, @camh.  I don't use awk much." CreationDate="2011-04-24T22:47:31.063" UserId="2421" />
  <row Id="15929" PostId="11947" Score="1" Text="Since `ulimit` is a shell built-in, it matters which shell you do it from -- this appears to be bash. I tried it in zsh and it didn't recognize `-p` or output anything about pipe size with `-a`" CreationDate="2011-04-24T23:32:47.683" UserId="73" />
  <row Id="15930" PostId="11947" Text="Updated to be bash specific.  I guess zsh users should look at `limits.h`?" CreationDate="2011-04-24T23:38:04.987" UserId="3169" />
  <row Id="15931" PostId="11947" Text="Added `pathconf` and example Python program." CreationDate="2011-04-24T23:48:52.203" UserId="3169" />
  <row Id="15932" PostId="11941" Text="general info: I time tested both perl and awk... awk was faster by 25+%)... 450000 unique lines (doubled up) to make 900000 lines (4 bytes per line)" CreationDate="2011-04-25T00:48:17.027" UserId="2343" />
  <row Id="15933" PostId="11929" Score="3" Text="you can do `sleep 15m &amp;&amp; command`, that way if you want to cancel it you can `ctrl-c` it (your version would run the command if you `ctrl-c` it)." CreationDate="2011-04-25T00:54:42.387" UserId="2759" />
  <row Id="15934" PostId="11941" Score="1" Text="@fred, unless your file is truly huge, either version takes longer to type in than it does to run." CreationDate="2011-04-25T03:32:30.647" UserId="2421" />
  <row Id="15935" PostId="11796" Text="Nice.  I missed the idea of doing the OS detection from within the shellscript.  One minor point -- I think you mean &quot;gnome-open&quot; instead of &quot;gnome-terminal&quot;." CreationDate="2011-04-25T04:35:16.020" UserId="3629" />
  <row Id="15936" PostId="11938" Score="1" Text="@cjm or die due to SIGPIPE" CreationDate="2011-04-25T04:43:38.743" UserId="5931" />
  <row Id="15937" PostId="11930" Text="Thanks @binfalse Will check soon. As you pointed out, / may be the problem." CreationDate="2011-04-25T05:04:40.487" UserId="6824" />
  <row Id="15938" PostId="11952" Text="I can pull data to and from the server, I just don't have permissions to install anything." CreationDate="2011-04-25T05:22:41.890" UserId="1898" />
  <row Id="15939" PostId="11947" Score="1" Text="Neither PIPE_BUF nor its *pathconf* equivalent are the same as the buffer capacity of a pipe (e.g. PATH_BUF is 512 on Mac OS X 10.6.7 (and `bash -c 'ulimit -p'` gives 1), but most pipes can actually buffer either 16Ki or 64Ki bytes)." CreationDate="2011-04-25T05:34:23.267" UserId="1107" />
  <row Id="15940" PostId="11944" Text="When you say &quot;track STABLE in your base installation&quot;, what do you mean by that?" CreationDate="2011-04-25T05:58:59.147" UserId="6250" />
  <row Id="15941" PostId="11954" Score="3" Text="Great answer.  Especially for the link to POSIX write(2), which says: *The effective size of a pipe or FIFO (the maximum amount that can be written in one operation without blocking) may vary dynamically, depending on the implementation, so it is not possible to specify a fixed value for it.*" CreationDate="2011-04-25T05:59:24.493" UserId="3169" />
  <row Id="15942" PostId="11890" Text="@Gilles this is an X level binding that pasts at the keyboard focus location like the middle mouse would, not an application specific paste function. I'm not sure where X decides whether or not to initiate it, but you should be looking for some sort of X config option, not wondering about applications. What distro do you use?" CreationDate="2011-04-25T06:03:33.273" UserId="1925" />
  <row Id="15943" PostId="11872" Text="@hellojesus Brilliant trick. If you care to write that up as an answer I can remove it from mine. I figure people other than nano users get into this situation and may find themselves here." CreationDate="2011-04-25T06:14:42.940" UserId="1925" />
  <row Id="15944" PostId="11958" Text="@caleb syslog() function writes data into /var/log/syslog. whereas I want to write logs in my own file. " CreationDate="2011-04-25T06:24:25.760" UserId="5861" />
  <row Id="15945" PostId="11941" Score="4" Text="The awk version can be made even shorter by leaving out the `if`, `print`, parentheses, and braces: `awk '!seen[$0]++'`" CreationDate="2011-04-25T06:29:58.347" UserId="6511" />
  <row Id="15946" PostId="11958" Text="As [Mikel explains below](http://unix.stackexchange.com/questions/11953/make-a-log-file/11957#11957) you can tag your log messages in such a way that syslog understand what program you are, then configure syslog to write your programs log messages to a different file." CreationDate="2011-04-25T06:31:00.000" UserId="1925" />
  <row Id="15947" PostId="11957" Text="@mikel Thanks.This is quite useful info. But would you please explain more on log_local0-7 option. For eg. I want to write my data( that have &lt;self&gt; word in log line) in self.log file. and some logs in other files." CreationDate="2011-04-25T06:53:36.107" UserId="5861" />
  <row Id="15948" PostId="11956" Text="@binfalse Actually I want to do it using c language. and I have got info in mikel post." CreationDate="2011-04-25T06:54:53.280" UserId="5861" />
  <row Id="15949" PostId="11916" Text="No need to parse the default, human-targeted output format. Use `--format` and `--numstat`: `git log --format='%H %at' --numstat | perl -ne 'if (m/^([[:xdigit:]]{40}) (\d+)$/) { print qq($c\t$t\t$n\t$a\t$r\n)&#xA; if ($c); ($c,$t) = ($1,$2); $n = $a = $r = 0 }; if (m/^(\d+|-)\t(\d+|-)+\t/) { $n++; $a += $1 if $1 ne q(-); $r += $2 if $2&#xA; ne q(-) }'`" CreationDate="2011-04-25T07:04:07.570" UserId="1107" />
  <row Id="15950" PostId="11957" Text="@Sushant Jain: What Linux distribution and version are you targeting?  Do you have old syslog (ksyslogd) or rsyslog?  `rpm -qa | grep syslog` or `dpkg -l '*syslog*'` will probably tell you which." CreationDate="2011-04-25T07:22:03.487" UserId="3169" />
  <row Id="15951" PostId="11952" Text="If `gpg` is installed already you could use that to encrypt the data. gpg comes built-in to many *nix flavors (I'm assumong it's a *nix) so it may be usable. A last resort would be to attempt obfuscation with some other standard utility like `uuencode` or `base64` but that's not real security." CreationDate="2011-04-25T07:38:32.997" UserId="5535" />
  <row Id="15952" PostId="11950" Text="Which type of program needs to know these information? There are different solutions for different languages, e.g. use `getifaddrs` to get the IP's from within C code.." CreationDate="2011-04-25T07:44:09.710" UserId="6890" />
  <row Id="15954" PostId="11872" Score="1" Text="This question is supposed to be about nano.  If we start including answers about Vim here, what's the point of this question?  We already have [Becoming root from inside Vim](http://unix.stackexchange.com/questions/11004/becoming-root-from-inside-vim) for Vim." CreationDate="2011-04-25T08:13:18.703" UserId="3169" />
  <row Id="15955" PostId="11871" Text="You can make a mapping in your .vimrc to easily call the sudo tee function: &lt;pre&gt;&lt;code&gt;&quot; Allows writing to files with root priviledges&#xA;cmap w!! w !sudo tee % &gt; /dev/null&lt;/pre&gt;&lt;/code&gt;" CreationDate="2011-04-25T07:51:51.380" UserId="6761" />
  <row Id="15957" PostId="11871" Text="@xenoterracide: Caleb's answer about Nano is useful, so I think we should keep this one only about Nano." CreationDate="2011-04-25T08:15:02.307" UserId="3169" />
  <row Id="15958" PostId="11871" Score="1" Text="@kit @mikel I decided that merging is invalid. `nano` is not `vim`... and no `nano` solutions that are similar to `vim`'s have presented themselves." CreationDate="2011-04-25T08:16:30.553" UserId="29" />
  <row Id="15959" PostId="11872" Text="Great related link Mikel. I've edited again to just link to that set of answers instead of getting off topic here." CreationDate="2011-04-25T08:24:03.193" UserId="1925" />
  <row Id="15960" PostId="11929" Text="@OneOfOne I don't know if it's shell or something else dependent, but I've never seen Ctrl+C fallthrough like that; it cancels the entire line" CreationDate="2011-04-25T08:28:43.627" UserId="73" />
  <row Id="15961" PostId="11965" Text="Exactly, I wanted to know whether I can keep it as double or single. i.e. double works on the current shell, but am not sure it will work on all the environments. So, it's better to have it single, then. Thanks a lot." CreationDate="2011-04-25T09:33:48.167" UserId="3540" />
  <row Id="15962" PostId="11965" Score="1" Text="I suppose the difference is that anything operating on the file system will usually discern the reference to the same folder, but anything doing string matching on your path and not actually parsing it and looking at the disc might see this as different file. For example if you were comparing two files lists, you would want to normalize them by removing duplicate '/'s. If you are passing the string to `cd`, it won't care." CreationDate="2011-04-25T09:37:38.103" UserId="1925" />
  <row Id="15963" PostId="11959" Score="4" Text="you might want to use `&quot;$@&quot;` instead of `$*` -- then arguments containing spaces will be properly quoted" CreationDate="2011-04-25T11:12:08.330" UserId="4667" />
  <row Id="15964" PostId="11950" Score="1" Text="FYI... `ifconfig` is not recommended for use under linux, as it has bugs and is no longer maintained... use `ip addr show`" CreationDate="2011-04-25T12:09:36.847" UserId="6766" />
  <row Id="15965" PostId="11969" Text="Can you provide the output of the command `env`? I'm especially interested in the content of `GTK_IM_MODULE`." CreationDate="2011-04-25T12:44:29.873" UserId="6890" />
  <row Id="15966" PostId="11969" Text="The GUI application may be hanging because of some other issue. The highlighted message is of &quot;SCIM&quot;, which you can safely stop from being started at boot-time. Stop it for once and check the GUI apps." CreationDate="2011-04-25T13:00:54.307" UserId="4843" />
  <row Id="15967" PostId="11970" Score="4" Text="This site is not for getting other people to do your CS homework for you. Please spend some time working through some [awk](http://www.grymoire.com/Unix/Awk.html) [tutorials](http://www.google.com.tr/search?q=awk+tutorial) on the web and then come back here if you have specific usage questions." CreationDate="2011-04-25T13:54:53.903" UserId="1925" />
  <row Id="15968" PostId="11970" Text="@Caleb I left this open because we've generally allowed &quot;script this for me questions&quot; (at least small ones like this), but you can [bring it up on meta](http://meta.unix.stackexchange.com/questions/ask?tags=on-topic) if you think we should get rid of them" CreationDate="2011-04-25T14:22:48.767" UserId="73" />
  <row Id="15969" PostId="11901" Text="Thanks, your answer is really clear.&#xA;I checked my Xorg log file and it doesn't report errors: `intel(0): EDID for output VGA1`, then it shows the probed modes (which range from 800x600 to 1024x768 only). So well, the monitor is probably transmitting a wrong EDID; if I can I'll try using a different computer/OS in order to see if this is really the case." CreationDate="2011-04-25T14:26:46.233" UserId="4041" />
  <row Id="15970" PostId="11957" Text="log_local* are, frankly, relics from back when `sysklogd` was the only game in town for syslog software. Nowadays software like `syslog-ng`, `rsyslog` and `dsyslog` exist and have much more sophisticated filtering capabilities than just service/level. " CreationDate="2011-04-25T14:30:55.697" UserId="4949" />
  <row Id="15971" PostId="11890" Text="I'm using Ubuntu, and I'd really like `Shift-Insert` to be of any practical use, but it simply isn't (in Ubuntu).. The only &quot;consistancy (+/-)&quot; I've found is that an X-selection in GTK apps can be Shift-Inserted into a `gnome-terminal`, but it is quite hit-and-miss for any other cross-pasting combination of these same apps...  The few KDE apps I use (including Konsole),  simply don't cross-paste at all.... and even in the GTK apps, centre-click may work, but Shift+Insert may not (for the same app)... So I use the mouse :( " CreationDate="2011-04-25T15:35:01.500" UserId="2343" />
  <row Id="15972" PostId="11970" Text="@Michael: Thanks for the explanation. I might just [do that](http://meta.unix.stackexchange.com/q/578/1925)." CreationDate="2011-04-25T15:49:42.927" UserId="1925" />
  <row Id="15975" PostId="11980" Text="@fred `xev` will do it, if you put it's little window, over the area ish that you want. Unfortunately this seems a poor way to do things." CreationDate="2011-04-25T17:27:25.243" UserId="29" />
  <row Id="15976" PostId="11913" Score="1" Text="@Rory: Could you give an example of a case where `PATH` is an attack vector, and there aren't so many other attack vectors that the whole approach should be rethought?" CreationDate="2011-04-25T17:38:19.957" UserId="885" />
  <row Id="15977" PostId="11890" Text="@Caleb: There's no such thing as an “X level binding”. It could be something the applications you use do, or something your window manager or desktop environment does. I doubt it would be specific to a distribution." CreationDate="2011-04-25T17:41:18.023" UserId="885" />
  <row Id="15978" PostId="10851" Text="@Gilles your function is admirable, but did you know that `zsh` has a function for that [built in already](http://unix.stackexchange.com/questions/10825/remember-a-half-typed-command-while-i-check-something/11982#11982)? It's called `push-line` and all you need to do is use `bindkey` to get to it." CreationDate="2011-04-25T17:42:00.673" UserId="1925" />
  <row Id="15979" PostId="11796" Text="@Jander yea, I was thinking there was something funny about what I wrote." CreationDate="2011-04-25T17:45:09.610" UserId="6167" />
  <row Id="15980" PostId="11890" Text="@Gilles: There are keys that X listens for on it's on (e.g. it's kill code) but you are right that this function doesn't seem to be one of those like I thought. It appears to be built into some toolkits including GTK (so it works in my gnome/xfce testing but not kde). I'm going a little more research and will post back if I get a better answer." CreationDate="2011-04-25T17:45:45.867" UserId="1925" />
  <row Id="15981" PostId="11976" Text="he specifically asked for a command-line program" CreationDate="2011-04-25T17:49:13.790" UserId="6167" />
  <row Id="15982" PostId="11873" Score="1" Text="Hmm, that subject line kinda sounds like a cracking attempt." CreationDate="2011-04-25T17:50:23.647" UserId="6167" />
  <row Id="15984" PostId="6292" Text="Hi, penguin359! Both working and non-working apps use the &quot;System&quot; input method. In Inkscape, it is presented as &quot;System (Simple)&quot;. Also, I've tried all other methods available in the popup menu and none worked." CreationDate="2011-04-25T18:14:59.680" UserId="3084" />
  <row Id="15985" PostId="10851" Text="@Caleb: I don't know why I use `push-input` rather than `push-line` here, `push-line` does seem more appropriate (maybe old versions of zsh only had `push-input`?). But that's not a replacement for the rest of the function." CreationDate="2011-04-25T18:17:57.973" UserId="885" />
  <row Id="15986" PostId="10851" Text="As far as I can tell the only difference is the same-binding effect to background a running job. Am I missing something?" CreationDate="2011-04-25T18:20:57.317" UserId="1925" />
  <row Id="15987" PostId="11839" Text="Hmm, I'll try this, need to find my USB then! :p" CreationDate="2011-04-25T18:22:03.200" UserId="4846" />
  <row Id="15989" PostId="11929" Text="@Michael I coulda swore it used to do that with older bash, I just tried and it didn't, so ignore my comment" CreationDate="2011-04-25T18:37:49.553" UserId="2759" />
  <row Id="15991" PostId="11987" Text="Note, completely revised answer based on my working .vimrc file instead of crazy speculation :)" CreationDate="2011-04-25T18:45:02.797" UserId="1925" />
  <row Id="15992" PostId="11980" Text="@xenoterracide: It seems useful for dynamically following events, and could be suitable if my intention was to constantly follow the text insertion point, but I'm actually wanting the mouse to jump there on-demand via a shortcut key. I'm really after one-off current-status values; just like the mouse-pointer x,y stats... but thanks none-the-less; it's good to know about 'xev'.. maybe it is in some &quot;X-goemetry&quot; setting " CreationDate="2011-04-25T18:46:33.653" UserId="2343" />
  <row Id="15993" PostId="11990" Text="stat needs the exact location, does it not?  I'm using find because I just have a list of _file names_ and they could be in numerous directories.  Sorry if that wasn't clear." CreationDate="2011-04-25T19:00:21.123" UserId="6245" />
  <row Id="15994" PostId="11984" Text="I've read more about it now, and it certainly seems that Uinx was the chicken and POSIX was the egg.. but I do wonder if UNIX still rules the roost.. ie..Does POSIX have a life of its own now, and UNIX must comply to POSIX? ... btw. it seems the name POSIX was coinded by [Richard Stallman](http://en.wikipedia.org/wiki/Posix#Name) ...." CreationDate="2011-04-25T19:11:54.203" UserId="2343" />
  <row Id="15995" PostId="11988" Text="Thanks for your suggestion.  I tried using a bang, and putting the `autocmd` line after the function, but it didn't work.  Here's another part of the puzzle: when I load a TeX file, everything works swimmingly.  It appears that it is the `:set filetype=tex` that doesn't pick up the filetype properly.  Any other ideas?" CreationDate="2011-04-25T19:35:01.887" UserId="6934" />
  <row Id="15996" PostId="11991" Text="Thanks, Andy. In my bash history i had both `...of=/dev/sdg` and `...of=-/dev/sdg1`. Apparently for some reason I thought the first one didn't work. I reran `dd` just now, put it in the laptop, and the Arch installer booted just fine. Mea culpa." CreationDate="2011-04-25T19:36:57.237" UserId="2333" />
  <row Id="15997" PostId="11988" Text="What does `:set` show as the value for filetype when you load a tex file automatically as opposed to setting the value yourself?" CreationDate="2011-04-25T19:37:41.460" UserId="1925" />
  <row Id="15998" PostId="11990" Text="Hmmm. Ya you didn't say you had filenames without paths! Maybe you can fix THAT problem instead? It would be way more efficient than running find a bunch of times across the same dataset." CreationDate="2011-04-25T19:39:45.127" UserId="1925" />
  <row Id="15999" PostId="11964" Text="See also http://unix.stackexchange.com/questions/1910/how-linux-handles-multiple-path-separators-home-username-file The question asks about Linux but Gilles' answer covers more." CreationDate="2011-04-25T20:00:30.233" UserId="1207" />
  <row Id="16000" PostId="11975" Text="1024:768 is 4:3 " CreationDate="2011-04-25T20:14:18.187" UserId="4485" />
  <row Id="16001" PostId="11988" Text="`:set` shows tex as the filetype, both when I load a tex file automatically, and when I set the filetype value myself." CreationDate="2011-04-25T20:18:17.167" UserId="6934" />
  <row Id="16002" PostId="11990" Text="Thanks for the edit, and sorry again for not being specific.  The file name/path is not something that I'm going to fix - files may be in different places on the two systems so I want a solution that is robust enough to work around that.  The computer should work to _my_ specifications, not the other way around!  Seriously, this isn't something I do often - I was looking for some old files to delete to make space and just wanted a &quot;quick 'n' dirty&quot; way to ensure that they were in my backups." CreationDate="2011-04-25T20:28:54.400" UserId="6245" />
  <row Id="16005" PostId="11984" Text="@fred.bear: Short answer: UNIX (the trade mark) must conform to POSIX; Unix (the product) was the main basis for POSIX; unices (the family of OSes) mostly conform but have more in common. See [Is Linux a Unix?](http://unix.stackexchange.com/questions/4091/is-linux-a-unix) and [Is Mac OS X, UNIX?](http://unix.stackexchange.com/questions/1489/is-mac-os-x-unix) for related discussions." CreationDate="2011-04-25T20:34:41.467" UserId="885" />
  <row Id="16006" PostId="11990" Text="First of all you wouldn't need to full path, just a relative path to whatever directory structure you were backing up. Allow me to suggest that **if the path is not the same, there is a good chance the file is not the same** and you might get false positives out of your test. It sounds like your solution might be more dirty than quick; I wouldn't want to see you burned by thinking you had something you didn't. Also, if files are valuable enough to backup in the first place, you shouldn't delete the primaries, otherwise you need to backup your backups!" CreationDate="2011-04-25T20:35:48.627" UserId="1925" />
  <row Id="16007" PostId="11982" Text="Bound to `Ctrl+Q` and `ESC q` by default (in emacs mode)." CreationDate="2011-04-25T20:37:28.327" UserId="885" />
  <row Id="16008" PostId="11975" Text="He want's his images to be in 6:4" CreationDate="2011-04-25T20:38:36.153" UserId="6935" />
  <row Id="16009" PostId="10851" Score="1" Text="@Caleb: No, it's just that I find the combination of the two both convenient (`push-line` is useless on an empty line, having `bg` on `Ctrl+Z` is only useful when I've just suspended that process with `Ctrl+Z`) and mnemonic (I'm either backgrounding the process or the partial command line)." CreationDate="2011-04-25T20:39:01.557" UserId="885" />
  <row Id="16011" PostId="11990" Text="@Caleb: Ak!  I left out a load of details to try to focus the question and you're filling those in with a load of assumptions which - I should say - are perfectly reasonable but happen to be completely wrong!  Suffice it to say that I _know_ that if the file is there and is in a directory with a particular type of name then I know that it is the original file and it is safe to delete the copy on my machine." CreationDate="2011-04-25T20:45:14.073" UserId="6245" />
  <row Id="16012" PostId="1758" Score="1" Text="AAALT... TEXXXT!" CreationDate="2011-04-25T20:46:16.757" UserId="4962" />
  <row Id="16013" PostId="8656" Text="You forgot `/usr/sbin/`." CreationDate="2011-04-25T20:47:37.783" UserId="4962" />
  <row Id="16014" PostId="11980" Text="I notice the `bash` tag. Are you trying to use the mouse at the bash prompt? If so, what you want is xterm mouse reporting, i.e. the terminal transmits mouse click information to the application running inside it. (I think bash mouse reporting has been implemented already.)" CreationDate="2011-04-25T21:03:37.957" UserId="885" />
  <row Id="16015" PostId="11983" Text="SUS is the official definition of UNIX since The Open Group, not the IEEE, owns the UNIX trademark.  Se my answer below." CreationDate="2011-04-25T21:32:51.350" UserId="6167" />
  <row Id="16016" PostId="11929" Score="1" Text="@OneOfOne: It did up to bash 3.x; that's fixed in bash 4." CreationDate="2011-04-25T21:58:20.723" UserId="885" />
  <row Id="16017" PostId="11953" Text="@Sushant: Please note that programming questions are generally off-topic here; you should ask them on [Stack Overflow](http://stackoverflow.com/). An explanation of the API is ok here, but explanations of how to use it in C or other programming language normally belongs on Stack Overflow." CreationDate="2011-04-25T22:02:05.590" UserId="885" />
  <row Id="16018" PostId="11674" Text="I meant treating the **contents** of files as the elements of a set (let's say, one element per line), and the files themselves as sets." CreationDate="2011-04-25T22:04:55.800" UserId="6596" />
  <row Id="16019" PostId="12004" Text="I think udev is an automounter right?  I have that installed by default with Arch Linux but I'm not sure how it works...anyone has any insight on this?" CreationDate="2011-04-25T22:05:17.580" UserId="6941" />
  <row Id="16020" PostId="11938" Score="1" Text="@Kit: Note that `foo || true` and `foo | true` won't do the same thing: `foo || true` will show the output from `foo`, whereas `foo | true` will discard everything `foo` writes to its standard output (and `foo` is likely to die with `SIGPIPE` or block, as already indicated)." CreationDate="2011-04-25T22:06:36.880" UserId="885" />
  <row Id="16021" PostId="12004" Text="Yes. Try the [ArchLinux Udev docs](https://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices)." CreationDate="2011-04-25T22:07:21.437" UserId="1925" />
  <row Id="16022" PostId="11667" Text="I think this is the most complete answer. Unfortunately which commands to run or which arguments (comm -12, -23, -13) in each case is not always intuitive as &quot;intersection&quot; or &quot;difference&quot;. Maybe'll create a wrapper around them, since I'm always using these things." CreationDate="2011-04-25T22:08:23.503" UserId="6596" />
  <row Id="16023" PostId="11989" Text="I updated my solution to use the far faster `locate`." CreationDate="2011-04-25T22:08:48.747" UserId="4485" />
  <row Id="16024" PostId="11344" Text="Indeed, comm seems to do most of the stuff. Although the arguments are very unintuitive. Thanks!" CreationDate="2011-04-25T22:09:21.210" UserId="6596" />
  <row Id="16025" PostId="12006" Text="Thanks, that helps a lot!  I did read the Arch documentation for Udev however it doesn't really explain how exactly to write your own rules, which annoys me a bit because I want to understand what it's doing before I just copy and paste it in.  I'll try it out and see if it mounts my stuff.  By the way, what's the benefit of using HAL over Udev or vice-versa?" CreationDate="2011-04-25T22:16:19.657" UserId="6941" />
  <row Id="16026" PostId="12006" Text="HAL has been deprecated and is no longer developed, so -sooner or later, you will need to move to other arrangements. The first rule on the wiki page should accomplish what you are after..." CreationDate="2011-04-25T22:20:02.303" UserId="6761" />
  <row Id="16027" PostId="12004" Text="Is gnome-volume-manager a sort of proprietory automounter too by the way?" CreationDate="2011-04-25T22:20:55.300" UserId="6941" />
  <row Id="16028" PostId="12006" Text="OK thanks...I'll stick with Udev then and I'll get that rule working properly" CreationDate="2011-04-25T22:24:41.967" UserId="6941" />
  <row Id="16029" PostId="11926" Text="Note that you'll have to run `chown` as root, e.g. `sudo chown -R www-data /var/www/`." CreationDate="2011-04-25T22:26:16.390" UserId="885" />
  <row Id="16030" PostId="6524" Text="I don't think OP is talking about serial protocol but the serial number of the USB device. That's a little used field in the device descriptor along with vendor and product IDs. It's supposed to be unique to each device but isn't mandatory in the USB spec. No answer for how to fake it, sorry. I'd probably patch the kernel..." CreationDate="2011-04-25T22:33:58.427" UserId="6940" />
  <row Id="16031" PostId="11995" Text="Thanks Gilles... That makes sense... Now that you've mentioned it, it seems quite &quot;expected&quot;, because all xdotool does is send keystroke messages to the window, and then the app takes over and (I assume) would then tells X, &quot;I'm want you to display &quot;this text&quot; in &quot;this edit-field&quot;... okay, I can let this on go now :) .... btw. a more appropriate tag may be &quot;scripting&quot; or &quot;shell-scripting&quot;; I did mean it for X apps in general... and I wanted to wrap an existing tool in a bash-script" CreationDate="2011-04-25T22:53:54.703" UserId="2343" />
  <row Id="16034" PostId="11996" Score="2" Text="Wow.  Some paragraphs would help readability!" CreationDate="2011-04-26T00:26:04.207" UserId="3169" />
  <row Id="16035" PostId="11970" Text="possible duplicate of [My awk program to change spaces into tabs doesn't work](http://unix.stackexchange.com/questions/10606/my-awk-program-to-change-spaces-into-tabs-doesnt-work)" CreationDate="2011-04-26T00:28:16.360" UserId="3169" />
  <row Id="16036" PostId="10616" Text="@asoundmove: OP doesn't have enough reputation to upvote." CreationDate="2011-04-26T00:29:47.887" UserId="3169" />
  <row Id="16037" PostId="10489" Text="Should we merge with http://unix.stackexchange.com/questions/10200/manipulating-a-file-with-sed" CreationDate="2011-04-26T00:31:05.843" UserId="3169" />
  <row Id="16038" PostId="10200" Text="Should we merge with http://unix.stackexchange.com/questions/10489/switch-from-grep-to-sed?" CreationDate="2011-04-26T00:31:18.307" UserId="3169" />
  <row Id="16039" PostId="12011" Text="I don't see what was so inflammatory about the initial title." CreationDate="2011-04-26T00:42:07.547" UserId="688" />
  <row Id="16040" PostId="11998" Score="2" Text="Please take the time to spell the title properly.  It makes searching much easier for everyone." CreationDate="2011-04-26T01:01:13.783" UserId="3169" />
  <row Id="16041" PostId="11872" Text="`cat TMPFILE &gt; FILE` will obviously need you to do `su -` or similar first.  `sudo cp TMPFILE FILE` would be easier.  `cp` actually truncates the file if it already exists and doesn't change it's permissions." CreationDate="2011-04-26T01:04:08.790" UserId="3169" />
  <row Id="16042" PostId="11995" Text="@gilles @fred given `xev` and a few other features of kwin, I'm sure it can be done... but I'm not sure it exists. might have to write the program to do it." CreationDate="2011-04-26T01:11:09.637" UserId="29" />
  <row Id="16043" PostId="11996" Text="@penguin359: A great answer.. all (3) answers have been good, but this one was hugely informative (especially after having been prepped by the other 2); just what I needed... and thanks for the comment (below the question body) about SUS, I understand it well enough now, thanks... (and I didn't notice it was only one paragraph...It was too interesting :)" CreationDate="2011-04-26T01:26:31.243" UserId="2343" />
  <row Id="16044" PostId="11784" Text="This is what I get as an error message: &quot;cannot access `/dev/video0': No such file or directory&quot;" CreationDate="2011-04-26T01:28:30.370" UserId="6840" />
  <row Id="16045" PostId="11873" Score="1" Text="`kill -9 &lt;your_pid&gt;` :D" CreationDate="2011-04-26T01:49:05.117" UserId="195" />
  <row Id="16046" PostId="11872" Text="@Caleb: The related link was actually suggested by xenoterracide." CreationDate="2011-04-26T01:51:43.183" UserId="3169" />
  <row Id="16047" PostId="11892" Text="Very good observation ! Seems like it will do the job for me. Thanks !" CreationDate="2011-04-26T02:14:44.160" UserId="6891" />
  <row Id="16048" PostId="12016" Text="OK, cool.  Thanks for the answer.  You mention a &quot;text mode&quot;.  Are there other modes for a standard terminal?  Or, is the only other way to interpret it like you said, via an application that can properly render that filetype?" CreationDate="2011-04-26T02:34:24.407" UserId="6950" />
  <row Id="16049" PostId="10616" Score="1" Text="@Mikel, Ok, I did not remember the early restrictions. How about accepting an answer?" CreationDate="2011-04-26T02:46:33.227" UserId="3519" />
  <row Id="16050" PostId="12018" Text="Excellent explanation!  Glad you went down to the lowest level." CreationDate="2011-04-26T03:01:05.773" UserId="6950" />
  <row Id="16051" PostId="12016" Score="1" Text="@BOSS, no, I believe gordoco meant to say that a terminal is a text device. The original purpose of `cat` is to put files together as in `cat filea fileb &gt; filec`, if you don't transit via the terminal (as in this example) then it does not matter whether the file if text or binary. In the unix world, binary and text files are stored the same, only text files contain a somewhat restricted set of bytes. A common use of cat is to direct file contents to commands that do not take file names as parameters, but accept input from the standard input." CreationDate="2011-04-26T03:25:34.240" UserId="3519" />
  <row Id="16052" PostId="12016" Text="@BOSS, saying a file is a text file as opposed to binary, only means that the file's binary content can be interpreted as text. Things used to be simple, either the file was ASCII or it was not. Nowadays the file could be a number of different text formats, including ASCII, UTF8, UTF16... On the hard drive they are all binary." CreationDate="2011-04-26T03:30:38.243" UserId="3519" />
  <row Id="16053" PostId="12010" Text="Can you give some examples?&#xA;&#xA;What package sets or packages did you ask for?&#xA;&#xA;Perhaps it's just downloading updates rather than packages?" CreationDate="2011-04-26T03:59:04.200" UserId="3169" />
  <row Id="16054" PostId="4094" Text="I'd definitely say the BSDs are closer to Unix than Linux.  Due to BSD's more liberal license and it's close development with AT&amp;T UNIX, a lot of BSD source code and it's APIs are used in commercial Unix.  The UFS filesystem in Solaris and some other commercial UNIX came straight from BSD.  Also, the Berkely Sockets API (not necessarily source) used by everything including Linux was developed on BSD." CreationDate="2011-04-26T04:16:05.283" UserId="6167" />
  <row Id="16055" PostId="6041" Text="@STATUS POSIX was the basis for SUSv2.  The Austin Group was later formed as a joint working group between the IEEE who created POSIX and The Open Group who own the UNIX trademark and the UNIX specification.  They released POSIX:2001 also known as SUSv3.  They are one in the same as far as I can tell.  POSIX is still being developed with POSIX:2004 and POSIX:2008 which is the core of SUSv4.  I don't think POSIX is dead yet.  http://en.wikipedia.org/wiki/Single_UNIX_Specification" CreationDate="2011-04-26T04:20:43.750" UserId="6167" />
  <row Id="16056" PostId="11929" Text="Thanks @Gilles, I thought I was being crazy :D" CreationDate="2011-04-26T04:21:32.833" UserId="2759" />
  <row Id="16057" PostId="11996" Text="@Mikel hopefully my edit helps a little" CreationDate="2011-04-26T04:36:42.700" UserId="6167" />
  <row Id="16058" PostId="12018" Score="1" Text="@BOSS I'd throw in the definition of a bit.  A bit is a Binary DIgit or a number that can be a one or a zero.  One bit has two possibilities or 2^1=2. Two bits can have four combinations or 2×2=4.  More correctly, it's 2²=4 for 2 digits.  8 Binary DIgits or bits can have 2^8=2×2×2×2×2×2×2×2=256 possible combinations." CreationDate="2011-04-26T05:45:44.663" UserId="6167" />
  <row Id="16059" PostId="11965" Score="1" Text="I believe POSIX specifies any number of consecutive slashes collapse into one, but I'm uncertain, I do know both Linux and FreeBSD do it in the kernel.  It's not the shell that cares.  The cases where multiple slashes affects the interpretation are not local filenames.  The example caleb gives of a samba path is actually a UNC path and it how Windows (which does not allow multiple slashes) interpret the path.  This does not occur normally on UNIX systems as they don't natively support UNC paths.  URLs are a different matter and multiple slashes do affect interpretations." CreationDate="2011-04-26T05:51:56.407" UserId="6167" />
  <row Id="16060" PostId="11970" Score="1" Text="@Caleb: On the other sites you get &quot;clues&quot; to the solution if you tag the question with &quot;homework&quot;, why not the same here?" CreationDate="2011-04-26T06:26:23.490" UserId="2567" />
  <row Id="16061" PostId="11969" Text="Here is the o/p of env | grep &quot;GTK*&quot;&#xA;GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2&#xA;GTK_IM_MODULe=scim" CreationDate="2011-04-26T07:06:05.717" UserId="6956" />
  <row Id="16062" PostId="12004" Text="Your use of the adjective &quot;proprietary&quot; doesn't make much sense since gnome is also open source, but yes GVM is just a little bit fancier automount wrapper around pmount." CreationDate="2011-04-26T07:09:34.060" UserId="1925" />
  <row Id="16063" PostId="11784" Text="Wait now, &quot;Permission denied&quot; from your initial question is different than &quot;no such file&quot;. Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?" CreationDate="2011-04-26T07:16:38.287" UserId="1925" />
  <row Id="16065" PostId="11993" Text="I'm accepting this one for two reasons.  I like the `zsh` solution with the `**` syntax.  It's a very _simple_ solution and whilst it may not be the most efficient in terms of the _machine_, it is probably the most efficient in terms of me actually remembering it!  Also, the first solution here answers the _actual question_ in that it twists `find` into something where the exit code distinguishes &quot;I got a match&quot; from &quot;I didn't get a match&quot;." CreationDate="2011-04-26T07:43:43.510" UserId="6245" />
  <row Id="16066" PostId="11913" Text="@Gilles - +1 you have a good point, definitely, as if this is broken there are probably other ways in that are just as valid, however in terms of broken things you can fix, this is an easy one." CreationDate="2011-04-26T07:46:04.473" UserId="3046" />
  <row Id="16067" PostId="11999" Text="You could modify the syntax just a little and it would be perfect ISO 8601 date format. [YYYY][MM][DD]T[hh][mm][ss]Z, since you use date -u for UTC you could add a Z after the date ;). http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations " CreationDate="2011-04-26T08:04:16.057" UserId="2567" />
  <row Id="16068" PostId="12022" Text="Yeah I know about this, but I would like some solution that works with different passwords." CreationDate="2011-04-26T08:49:12.447" UserId="2671" />
  <row Id="16069" PostId="11904" Text="I'll go test this one ASAP." CreationDate="2011-04-26T09:05:44.817" UserId="6895" />
  <row Id="16070" PostId="12019" Text="At the next disk-partitioning crossroads, consider using [LVM](http://tldp.org/HOWTO/LVM-HOWTO/), so you don't have to worry about things like this." CreationDate="2011-04-26T09:49:19.690" UserId="6339" />
  <row Id="16071" PostId="9202" Text="#$ emacsclient --help&#xA;....&#xA;The following OPTIONS are accepted:&#xA;...&#xA;-c, --create-frame    	Create a new frame instead of trying to use the current Emacs frame&#xA;...&#xA;-a EDITOR, --alternate-editor=EDITOR Editor to fallback to if the server is not running If EDITOR is the empty string, start Emacs in daemon mode and try connecting again&#xA;" CreationDate="2011-04-26T10:13:14.650" UserId="4778" />
  <row Id="16072" PostId="11975" Text="Yes, they should be 6:4 for printing purposes.  As the printer I will be using gives best results if the images are 6:4.  Any other aspect ratio, it the prints will end up showing blank white borders top/bottom, or left/right." CreationDate="2011-04-26T10:13:33.027" UserId="4430" />
  <row Id="16073" PostId="11975" Text="@Musaul, if I use that command and replace &lt;input_image&gt; and &lt;output_image&gt; with *,  will that resize and crop all images in the given directory?" CreationDate="2011-04-26T10:15:19.873" UserId="4430" />
  <row Id="16074" PostId="12031" Text="@jasonwryan thanks." CreationDate="2011-04-26T11:02:36.830" UserId="6959" />
  <row Id="16075" PostId="12020" Text="Thanks. It all went smoothly for me. The UUID of sda{5,6,7} didn't change, and the new partition was named sda8, just like you had said." CreationDate="2011-04-26T11:17:58.110" UserId="6953" />
  <row Id="16076" PostId="11999" Text="I can't test it right now, my VPS is down ;) But you guys voting up. I accept this answer. " CreationDate="2011-04-26T11:37:42.307" UserId="6939" />
  <row Id="16077" PostId="11998" Text="Do you mean grammatical errors or what? How should I spell it?" CreationDate="2011-04-26T11:42:17.310" UserId="6939" />
  <row Id="16078" PostId="12036" Text="Sorry, I phrased my question badly. I want to know how to disable tab completion cycling. I think I'll start a new question." CreationDate="2011-04-22T18:01:30.507" />
  <row Id="16079" PostId="12036" Score="2" Text="@user714112: `setopt no_auto_menu` does disable tab completion cycling: if you press `Tab` and the current prefix is ambiguous, you see a menu, and that's it, the command line won't change." CreationDate="2011-04-22T18:31:45.987" UserId="885" />
  <row Id="16081" PostId="11975" Score="1" Text="I've updated my answer to include a little script to rename all images in the same directory. On a sidenote though, 1024x683 is a very low resolution for printing photos." CreationDate="2011-04-26T12:33:36.090" UserId="6935" />
  <row Id="16082" PostId="11738" Text="@gilles ok, thx for the explanation." CreationDate="2011-04-26T12:38:03.477" UserId="3372" />
  <row Id="16083" PostId="12040" Score="1" Text="+1 for question title! If all newbies asked so innocently..." CreationDate="2011-04-26T12:41:04.263" UserId="1925" />
  <row Id="16084" PostId="11974" Text="@karlphillip not sure I see why..." CreationDate="2011-04-26T12:52:25.997" UserId="29" />
  <row Id="16085" PostId="11771" Text="@Mikel - they were in .zshrc" CreationDate="2011-04-26T13:08:24.483" UserId="6630" />
  <row Id="16086" PostId="11785" Text="@Caleb - I had rebooted previously with little effect.  The one magic reboot and all was working and has been since." CreationDate="2011-04-26T13:08:50.723" UserId="6630" />
  <row Id="16087" PostId="11785" Score="1" Text="In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect." CreationDate="2011-04-26T13:14:22.787" UserId="1925" />
  <row Id="16088" PostId="12040" Text="Haha, *exactly* my thoughts too! +1." CreationDate="2011-04-26T13:22:25.017" UserId="5770" />
  <row Id="16089" PostId="12044" Text="You can use `zip -sf foo.zip | grep abc.jpg` to determine if an archive has `abc.jpg`; that should help. I don't have time to figure out the complete command now, but I'll try later if nobody else has answered" CreationDate="2011-04-26T13:46:51.327" UserId="73" />
  <row Id="16090" PostId="11984" Text="@fred-bear Many people argue that the POSIX standard is nowadays guided by the Linux kernel development community, which (if true) IMHO is not a good thing..." CreationDate="2011-04-26T14:05:16.383" UserId="5661" />
  <row Id="16091" PostId="12047" Text="nice solution, but FUSE? that's a little bit overkill, isn't it?" CreationDate="2011-04-26T14:38:36.477" UserId="1952" />
  <row Id="16092" PostId="11784" Text="My apologies. It's the latter now &quot;No such file or directory.&quot; Btw, I think copied the error message directly the first time. Seems really odd to me as well." CreationDate="2011-04-26T14:52:06.393" UserId="6840" />
  <row Id="16093" PostId="12047" Text="@Kim: Why should I cripple myself not to use FUSE if it's available?" CreationDate="2011-04-26T14:53:22.647" UserId="885" />
  <row Id="16094" PostId="12047" Text="some reasons not to use FUSE if you don't have to: portability (some OSs don't have FUSE), maintainability (not everybody knows FUSE)" CreationDate="2011-04-26T14:59:52.240" UserId="1952" />
  <row Id="16095" PostId="11784" Text="What do you see here: `sudo ls -al /dev | grep video`" CreationDate="2011-04-26T15:02:14.680" UserId="1925" />
  <row Id="16096" PostId="12046" Score="1" Text="&quot;A **simple** script written using **very advanced** methods&quot; does not sound very probable to me..." CreationDate="2011-04-26T15:12:19.940" UserId="3860" />
  <row Id="16097" PostId="11784" Text="crw-rw----   1 root video    10, 175 2011-04-26 14:43 agpgart&#xA;crw-rw----   1 root video    29,   0 2011-04-26 14:43 fb0&#xA;" CreationDate="2011-04-26T15:33:57.420" UserId="6840" />
  <row Id="16098" PostId="11785" Text="@caleb - yeah, i know, but i changed nothing." CreationDate="2011-04-26T15:36:36.977" UserId="6630" />
  <row Id="16099" PostId="12051" Text="@Gilles. thanks :).. understood.. `locale` does it's best in very difficult terrain, and anyone dealing with a fringe case would (hopefully) be aware of the quirks involved and make special concessions... The `locale ctype-width` example solved my real-world problem of how to generically get `iconv` to print out the Unicode Codepoint of a particular char based on the current locale (for the Multi-Lingual-Plane..UTF-16 surrogates as usual being *the fly in the ointment* ).. I think(?) this should do the trick: `echo -n &quot;∴&quot; |iconv -f &quot;$(locale charmap)&quot; -t &quot;UTF-16BE&quot; |xxd -p` ... 2234" CreationDate="2011-04-26T15:51:13.277" UserId="2343" />
  <row Id="16100" PostId="12055" Text="Got it. But it gives me &quot;access denied&quot; even with sudo" CreationDate="2011-04-26T15:53:42.167" UserId="6964" />
  <row Id="16101" PostId="12055" Score="1" Text="That's because shell does the redirection before executing sudo. So if you need/want to use sudo, you have to do it as following: sudo sh -c 'echo 0 &gt; /proc/sys/kernel/randomize_va_space'" CreationDate="2011-04-26T16:04:18.497" UserId="173" />
  <row Id="16102" PostId="12055" Text="ok, it worked. thank you so much :)" CreationDate="2011-04-26T16:14:23.157" UserId="6964" />
  <row Id="16104" PostId="11784" Text="Ya you don't have a video device with the name Video4Linux was expecting :( Check out `dmesg` when you plug/unplug the camera for clues as to what else it might be called. Maybe you need to load a module for it?" CreationDate="2011-04-26T16:31:50.997" UserId="1925" />
  <row Id="16106" PostId="12053" Text="thanks for that , but do i have to read all 8oo pages for advanced bash scripting guide , its too much" CreationDate="2011-04-26T16:35:52.143" UserId="6797" />
  <row Id="16107" PostId="12046" Score="1" Text="ha ha Don't get me wrong , i mean to say i want to know advanced method writing" CreationDate="2011-04-26T16:40:28.930" UserId="6797" />
  <row Id="16114" PostId="12051" Text="I've just noticed, that `en_AU` (in `en_AU.UTF-8`) etc, appears to be just a name.. It is the name of a file which defines that particular &quot;whatever-name-you-like&quot; locale... but that now makes me wonder where the `.UTF-8` suffix comes from, because all the LC_* vars are defined in this file... Perhaps `locale` gets all its info from this file, either directly or indirectly, and just tacks on the '.UTF-8` suffix, but I can't see any reference to UTF-8.. These definition files are in `/usr/share/i18n/locales&quot;" CreationDate="2011-04-26T17:11:24.203" UserId="2343" />
  <row Id="16115" PostId="12046" Text="@Mirror51: of course, I got what you meant, it just sounded a bit strange! ;)" CreationDate="2011-04-26T17:24:34.480" UserId="3860" />
  <row Id="16116" PostId="12061" Text="did not know about that one - looks like a good start, @cjm" CreationDate="2011-04-26T18:12:33.140" UserId="6388" />
  <row Id="16117" PostId="12060" Text="Interesting...having been shown the DOS HIGHMEM assembly code by a professor, I can at least agree that it was a pain." CreationDate="2011-04-26T18:20:16.323" UserId="4856" />
  <row Id="16118" PostId="12070" Score="1" Text="@marinus: ooh, I didn't realize. I knew `time` writes to stderr, but I didn't realize that it would merge stdout and stderr of the executed command into its stdout. But generally there is no direct method (i.e. without intermediate file)? +1." CreationDate="2011-04-26T19:57:59.053" UserId="5462" />
  <row Id="16119" PostId="12041" Text="All of the partitions that are automatically mounted on boot are in `/etc/fstab`.  If you add a partition there, it'll be there on the next boot.&#xA;" CreationDate="2011-04-26T19:58:43.407" UserId="3389" />
  <row Id="16120" PostId="12069" Score="1" Text="@binfalse: I didn't want to throw away the output from the command though. So I guess your third code block is closest to what I had in mind. Although I'd write the last one as `DIFF=$((END-START))`, making use of the arithmetic expressions. :) ... thanks for the answer. +1" CreationDate="2011-04-26T20:00:52.220" UserId="5462" />
  <row Id="16121" PostId="12051" Text="@fred.bear: Try `strace date` and other commands to see what files are actually used. Most locale information is compiled and not read from `/usr/share/i18n/locales` under normal operation. See my edit." CreationDate="2011-04-26T20:03:06.947" UserId="885" />
  <row Id="16122" PostId="12055" Score="1" Text="If you're doing this 'by hand' and not in a script, then another option would be using sudoedit. It's quite convenient for setting /proc file values and there's no need to escape the echo command etc." CreationDate="2011-04-26T20:26:59.243" UserId="6972" />
  <row Id="16123" PostId="12070" Score="2" Text="@STATUS_ACCESS_DENIED: `time` does not merge its command's `stdout` and `stderr`. The way I showed assumed that you only needed the command's stdout output. Since `bash` will only store what comes out of `stdout`, you have to redirect. &#xA;&#xA;In case you can safely drop your command's stderr: the time will always be on the last line of stderr. If you do need both your command's output streams, I'd suggest wrapping it in another script.&#xA;&#xA; " CreationDate="2011-04-26T20:27:14.550" UserId="6969" />
  <row Id="16124" PostId="12055" Text="@Erik `tee` is another common way (see [this post](http://unix.stackexchange.com/questions/6713/sudo-permission-denied-but-su-grants-permission))" CreationDate="2011-04-26T20:49:29.357" UserId="73" />
  <row Id="16125" PostId="11944" Text="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html" CreationDate="2011-04-26T20:52:04.037" UserId="6912" />
  <row Id="16126" PostId="12071" Text="So, just to be pedantic, a process running on a 32-bit PAE kernel can only access a maximum of 4GB of memory? That was my main point, while the address space is extended, its not like some memory-hog of an application is going to be able to utilize all 64GB. Thanks for the detailed response, but I want to leave this open just for more comments." CreationDate="2011-04-26T20:53:18.437" UserId="4856" />
  <row Id="16127" PostId="12069" Text="@STATUS_ACCESS_DENIED: Bash doesn't do floating point arithmetic, so if you want better than second resolution (`.%N` in binfalse's code), you either need `bc` or fancier calculations." CreationDate="2011-04-26T21:11:14.823" UserId="885" />
  <row Id="16129" PostId="12063" Text="@Gilles: That's what I meant. That should be an answer :)" CreationDate="2011-04-26T21:23:13.170" UserId="4518" />
  <row Id="16130" PostId="9625" Text="great, congrats" CreationDate="2011-04-26T21:31:13.550" UserId="5836" />
  <row Id="16131" PostId="11974" Text="In the future, please [don't crosspost](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073) ([SU version](http://superuser.com/questions/275127/resizing-and-cropping-images-to-6x4-to-width-of-1024)). If you want a post moved to another site, you can flag it and ask a mod on that site to move it" CreationDate="2011-04-26T21:34:04.000" UserId="73" />
  <row Id="16133" PostId="11784" Text="Hmm.. it is a built-in laptop camera. What should I be looking for when checking out `dmesg`?" CreationDate="2011-04-26T22:10:48.540" UserId="6840" />
  <row Id="16134" PostId="12068" Text="The most direct way to get the data and handle it while still letting it run normally would be to do it in a C program using `fork()`, `execvp()` and `wait3()/wait4()`.  This is ultimately what time and friends are doing.  I'm not aware of a simle way to do it in bash/perl without redirecting to a file or similar approach." CreationDate="2011-04-26T22:20:33.160" UserId="6167" />
  <row Id="16135" PostId="4881" Text="...if you try the escape sequence: then to re-enable the wrap `echo -ne '\e[?7h'`&#xA;" CreationDate="2011-04-26T22:26:38.763" UserId="2343" />
  <row Id="16136" PostId="12071" Score="1" Text="@Mr. Shickadance: indeed. For all practical purposes and as a user this is all that is relevant. Just wanted to make sure it's understood that there is a logical separation between virtual address space and physical address space." CreationDate="2011-04-26T22:35:59.133" UserId="5462" />
  <row Id="16137" PostId="12077" Text="I like the `awk` solution for being short and easy to do on the fly in one line. However, if the command I want to run has quotes, this can be a bit cumbersome, is there an alternative, maybe using pipelines and compound commands that also allows a brief one-liner solution but doesn't require the resulting command to be passed as a string?" CreationDate="2011-04-26T22:39:48.133" UserId="3445" />
  <row Id="16138" PostId="12077" Text="@jon You can write awk as a script.  Use &quot;#!/usr/bin awk -f&quot; as the first line of the script.  This will eliminate the need for the outer single quotes in my example and free them for use inside a `system()` command." CreationDate="2011-04-26T22:43:17.663" UserId="6167" />
  <row Id="16139" PostId="11784" Text="In that case I doubt you have the right module installed. Try `modprove uvc` or figure out what kernel module matches your camera/laptop model. When you load the module you should get some clues in `dmesg` and a device node for it." CreationDate="2011-04-26T22:43:37.570" UserId="1925" />
  <row Id="16140" PostId="12077" Text="@penguin359, True, but it'd still be interesting to do it from the command line as well. In my case, there are a variety of different things I'd want to do including many things I can't foresee, so it's convenient to be able to just start the server and do it all in one line." CreationDate="2011-04-26T22:50:06.087" UserId="3445" />
  <row Id="16141" PostId="12040" Text="@John: Asking two questions in one is not recommended. Since there are now answers that cover both questions, I guess we'll let it slide, but please ask separate questions separately next time. Your difficulty finding a good title (no, your title wasn't a good summary of your question) was due to trying to combine multiple questions into one." CreationDate="2011-04-26T22:50:53.417" UserId="885" />
  <row Id="16142" PostId="12028" Text="Related: [What do I have to take care of when hibernating both Ubuntu and Windows (dual-boot environment)](http://superuser.com/questions/211079/what-do-i-have-to-take-care-of-when-hibernating-both-ubuntu-and-windows-dual-boo/211175#211175)" CreationDate="2011-04-26T22:53:51.123" UserId="885" />
  <row Id="16143" PostId="12084" Text="And here's a [simplified version of the precmd-through-DEBUG trick](http://superuser.com/questions/175799/does-bash-have-a-hook-that-is-run-before-executing-a-command/175802#175802)." CreationDate="2011-04-26T22:59:49.747" UserId="885" />
  <row Id="16144" PostId="12086" Score="2" Text="+10 Gilles where DO you get the time? My only comment is that I have to give people some slack on the swap issue because it's bloody confusing to have my swap partition listed in `/etc/fstab` when it's not to be mounted." CreationDate="2011-04-26T23:05:21.273" UserId="1925" />
  <row Id="16145" PostId="12068" Text="There is a related question that you might find interesting [going on here](http://unix.stackexchange.com/q/12059/1925)." CreationDate="2011-04-26T23:09:25.437" UserId="1925" />
  <row Id="16146" PostId="12061" Text="It's a start, but doesn't address the problem of knowing when a command was run. The prompt itself might be drawn minutes or hours or days before a command was typed and run." CreationDate="2011-04-26T23:17:01.020" UserId="1925" />
  <row Id="16147" PostId="12077" Text="I found an alternative, though I don't know how solid it is: `tail -f /path/to/serverLog | grep &quot;server is up&quot; | head -1 &amp;&amp; do_some_command`" CreationDate="2011-04-26T23:20:08.943" UserId="3445" />
  <row Id="16148" PostId="11998" Score="1" Text="@Buddy.  You wrote &quot;How to add uniqie id to file nime in cron job&quot;." CreationDate="2011-04-26T23:21:16.617" UserId="3169" />
  <row Id="16149" PostId="12069" Text="@Gilles: I know. As I wrote in my question integers are fine. No need to have a higher resolution than second. But thanks, the date invocation would have to be changed. I had realized that, though." CreationDate="2011-04-26T23:25:11.253" UserId="5462" />
  <row Id="16150" PostId="12073" Text="Wow, a lot to test. Thanks a lot for the extensive reply. +1." CreationDate="2011-04-26T23:25:45.233" UserId="5462" />
  <row Id="16151" PostId="12068" Text="@Caleb: thanks. Indeed interesting. However, for my purposes it's sufficient to do it in a script." CreationDate="2011-04-26T23:28:00.347" UserId="5462" />
  <row Id="16152" PostId="12084" Text="See also http://unix.stackexchange.com/questions/8607/how-can-i-play-a-sound-when-script-execution-is-ready/8611#8611" CreationDate="2011-04-26T23:30:55.363" UserId="3169" />
  <row Id="16153" PostId="12059" Text="I looked before, and couldn't find a way to do exactly this.  As Caleb says, you can use `preexec`, but you don't want to run it inside the `preexec` (e.g. `preexec() { time $1; }`), because the shell still runs it after `preexec` returns.  So the best we can do is something similar." CreationDate="2011-04-26T23:35:33.507" UserId="3169" />
  <row Id="16154" PostId="5835" Text="Thanks that fixed it ..  " CreationDate="2011-04-27T00:02:37.847" UserId="3731" />
  <row Id="16155" PostId="12051" Text="@gilles; thanks again... I think this may explain to some degree where the `.UTF-8` suffix comes from... I just changed my default `date` by modifying `/usr/share/i18n/locales/en_AU`... using this command: `sudo localedef -f UTF-8 -i en_AU_mod  fred` ... The default output of `date` is now `[2011-04-27][11.21.44]` and the output from `locale |grep LC_TIME` is: **LC_TIME=fred** ... :) " CreationDate="2011-04-27T01:25:44.640" UserId="2343" />
  <row Id="16156" PostId="11381" Text="@peopluan...okay, thanks for pointing that out... and just as an aside: I don't understand why `eval` is considered, by some, to be `evil` ... (maybe it's because of the spelling :) ... If `eval` is &quot;bad&quot;, then is ${!var} equally &quot;bad&quot;? ... To me it is just part of the language, and a useful part, at that.. but I definitely prefer ${!var} ...  " CreationDate="2011-04-27T02:03:21.667" UserId="2343" />
  <row Id="16158" PostId="12090" Text="Whoops. That was foolish of me to ask here. :( Thanks by the way." CreationDate="2011-04-27T02:09:31.970" UserId="4335" />
  <row Id="16159" PostId="12077" Text="@jon  That seems a little fragile using head that way.  More importantly, it's not repeatable like my examples.  If &quot;server is up&quot; is in the last ten lines of the log, it will fire the command and exit immediately.  If you restart it, it will most likely fire and exit again unless ten lines not containing &quot;server is &quot;up have been added to the log.  A modification of that that might work better is `tail -n 0 -f /path/to/serverLog`  That will read the last 0 lines of the file, then wait for more lines to print." CreationDate="2011-04-27T03:07:38.973" UserId="6167" />
  <row Id="16160" PostId="12077" Text="However, if your goal is to fire a command every single time something appears in the log files, both version of tail and head may miss lines between each invocation." CreationDate="2011-04-27T03:08:55.353" UserId="6167" />
  <row Id="16161" PostId="11867" Text="@Mikel thanx a lot.....i ran the script posted by you...it gives me the memory used by a user but when I computed the same thing with a utility named smem the results were different.The command I used was &quot;smem -u&quot; according to the man page of smem it gives me the memory used by the user.I want to know why there is difference in the output generated by the two.I would really be obliged." CreationDate="2011-04-27T03:44:59.737" UserId="6771" />
  <row Id="16162" PostId="9625" Text="Thanks for your `thanks`, but you are supposed to mark your accepted answer with an check mark. This will get you away from the `0% accept rate` and improve the chances to get answers in the future. (Disclosure: It would give me some extra reputation too)." CreationDate="2011-04-27T03:57:47.470" UserId="4485" />
  <row Id="16163" PostId="11995" Text="@xenoterracide: interesting, but I was after something that was directly hooked in to X, ie. generic... needing to rely on `kwin` would take me out of G into K ;) ... but you've got me thinking about it now, and I recall reading the other day about an app which moves the mouse directly to the active button (probably an acceddiblity app).. that's getting close to the mark..  I can't recall what it was called.. but maybe it too is desktop-manager dependent.. " CreationDate="2011-04-27T04:12:10.863" UserId="2343" />
  <row Id="16164" PostId="11995" Text="@xenoterracide: thanks, Needing to rely on a specific desktop manager won't really suit (especially as I don't use kwim ;)... Your comment has got me thinking about this again, and I recalll reading recently about an app which moves the mouse to the &quot;current&quot; button (possibly an accessibility app). It reminded me of somethin I tried in Windows once, but found it to be &quot;un-settling&quot;... That behaviour seems to put it into the right category, but I can't recall its name, and maybe it too relies on a particular desktop... " CreationDate="2011-04-27T04:20:04.243" UserId="2343" />
  <row Id="16165" PostId="11867" Text="@nishan: The smem home page explains this.  In short: it depends on how you count virtual memory and shared libraries.  Read about vsz versus rss versus pss for details. " CreationDate="2011-04-27T04:42:50.897" UserId="3169" />
  <row Id="16167" PostId="11957" Text="@mikel Thanks a lot. My problem has been solved. I have one more query about parsing data stored in log file. Is there any good way to do this it. Actually I am trying to make a system statistics tool. So i need it. " CreationDate="2011-04-27T05:12:20.443" UserId="5861" />
  <row Id="16168" PostId="12091" Text="Is there a way I can map `&lt;prefix&gt;c` to read the working directory of the underlying shell instance (if any) and set the `default-path` prior to executing `new-window`. Or is that too much to ask of *tmux* :)" CreationDate="2011-04-27T05:34:05.163" UserId="898" />
  <row Id="16169" PostId="12091" Text="On another note, is it even possible to read the underlying shell's working directory? I'd kill to have it displayed in my status bar." CreationDate="2011-04-27T05:34:36.660" UserId="898" />
  <row Id="16170" PostId="11995" Text="@fred not saying you'd need to rely on kwin, I've just seen stuff it does that's similar. So i'm sure what you're trying to do *can* be done, I just don't know if anyone ever has." CreationDate="2011-04-27T06:34:58.410" UserId="29" />
  <row Id="16171" PostId="12091" Text="There is no portable way to extract the cwd of another process (though it is possible on some platforms (e.g. `/proc/PID/cwd` on Linux)). There is a possible partial solution in [an entry](http://tmux.cvs.sf.net/viewvc/tmux/tmux/FAQ?r1=1.39&amp;r2=1.40) of the *tmux* FAQ (it has the shell record its cwd when it prints a prompt, then binds a key that starts a new shell in the recorded directory)." CreationDate="2011-04-27T07:14:20.420" UserId="1107" />
  <row Id="16172" PostId="11995" Text="@xenoterracide: I don't see how the window manager would matter. The toolkit used by the application would matter (so you'll be able to do something if its text cursor is recognized by your program, but otherwise not)." CreationDate="2011-04-27T07:18:56.140" UserId="885" />
  <row Id="16173" PostId="12083" Text="I've tried to write &quot;help&quot;, &quot;--help&quot; and &quot;?&quot;, but without any luck. Will try later to use tab completion to see if that helps. My guess here is that I need to modify the device.hints file, but I couldn't find a possibility to do this during the installer." CreationDate="2011-04-27T07:20:01.970" UserId="6968" />
  <row Id="16174" PostId="12095" Score="2" Text="[Please don't just post a link as an answer](http://meta.stackoverflow.com/q/8259), both because the linked site may be unavailable, and because as it is your answer doesn't show what it's about. Summarize the essential parts of the answer here, and provide the link for reference." CreationDate="2011-04-27T07:21:34.517" UserId="885" />
  <row Id="16176" PostId="11957" Text="@Sushant Jain.  Glad to help.  Please post your log parsing question as a separate question so that people can see it and provide proper answers." CreationDate="2011-04-27T07:49:45.283" UserId="3169" />
  <row Id="16177" PostId="12099" Text="Linux supports 802.11q. While I dont know about ISL, I know that it's pretty much deprecated in Cisco now adays." CreationDate="2011-04-27T08:11:06.980" UserId="6961" />
  <row Id="16178" PostId="12096" Text="@Sushant Jain: I cannot make out what you are trying to ask here. Perhaps you could try rewriting your question to expound on your situation a little bit." CreationDate="2011-04-27T08:23:54.487" UserId="1925" />
  <row Id="16179" PostId="12094" Score="4" Text="In the unix world, commands and tools ARE the world. If you want to know how to do something with system calls the best thing to do is look through the source code for the tools. However, rather than re-implementing those things it is highly recommended that you use the tools so that you don't have to keep up with file system development progress!" CreationDate="2011-04-27T08:28:18.573" UserId="1925" />
  <row Id="16180" PostId="12091" Text="ok, this is a bit out of scope for my knowledge and doesn't feel very reliable. Something tells me I may be better off without all this.. thanks anyway." CreationDate="2011-04-27T08:57:38.390" UserId="898" />
  <row Id="16181" PostId="12090" Score="1" Text="Minor tip: Bracketing your regex with `^` and `$` is useful to ensure that you're always looking at the whole string." CreationDate="2011-04-27T09:48:39.830" UserId="3645" />
  <row Id="16182" PostId="11784" Text="I followed the instructions on this [site](http://kylewilliams.co.za/2009/03/05/getting-the-lenovo-sl300-camera-to-work-on-linux) and got `[ 3456.159058] Linux video capture interface: v2.00&#xA;[ 3456.162709] usbcore: registered new interface driver uvcvideo&#xA;[ 3456.162713] USB Video Class driver (v0.1.0)` in `dmesg`. Unfortunately, I have no idea where to go from there." CreationDate="2011-04-27T10:57:08.867" UserId="6840" />
  <row Id="16183" PostId="12106" Text="How do you edit them during the install process? Tried to boot up a Live CD version of PC-BSD, but could mount the disk to actually edit those files." CreationDate="2011-04-27T11:14:34.407" UserId="6968" />
  <row Id="16184" PostId="12027" Text="A PVLAN basically means putting each switchport on its own VLAN.  This prevents a client from issuing broadcast traffic to anyone else on the LAN unless explicitly permitted.  Used by campuses as part of rogue DHCP server prevention and such." CreationDate="2011-04-27T11:21:53.403" UserId="3389" />
  <row Id="16185" PostId="11784" Text="That sounds good. Now check to see if you have any video devices under /dev again using `find /dev -iname 'video*'`" CreationDate="2011-04-27T11:42:59.603" UserId="1925" />
  <row Id="16186" PostId="2120" Text="I wanted to use `C-s` for this purpose, but [my terminal got frozen](http://unix.stackexchange.com/q/12107/4319); beware! (Well, I haven't yet employed any `stty ixon`, not sure what this is for.)" CreationDate="2011-04-27T12:26:50.377" UserId="4319" />
  <row Id="16187" PostId="6896" Text="Aha, that's what [happened](http://unix.stackexchange.com/q/12107/4319) to me! Thanks to you that I'm learning about Ctrl-Q now!" CreationDate="2011-04-27T12:29:52.417" UserId="4319" />
  <row Id="16188" PostId="297" Text="Aha, that's what [happened](http://unix.stackexchange.com/q/12107/4319) to me! Thanks to @badp that I'm learning about `Ctrl-C` now! But wait, [the answer there](http://unix.stackexchange.com/questions/6890/what-is-making-my-cursor-randomly-disappear-when-using-gnome-teminal/6896#6896) tells us to use `Ctrl-Q`. Which is correct?" CreationDate="2011-04-27T12:32:26.937" UserId="4319" />
  <row Id="16189" PostId="4086" Text="@Dennis's point about `Ctrl-s` is important, otherwise one gets stuck as [I did](http://unix.stackexchange.com/q/12107/4319)." CreationDate="2011-04-27T12:35:23.267" UserId="4319" />
  <row Id="16190" PostId="7064" Text="Be careful with `Ctrl-S`: [it can freeze your terminal](http://unix.stackexchange.com/q/12107/4319) unless you have done some re-configuration beforehand." CreationDate="2011-04-27T12:38:28.800" UserId="4319" />
  <row Id="16191" PostId="12108" Text="Thank you! BTW, [there](http://unix.stackexchange.com/questions/232/unix-linux-pranks/297#297) they suggested `Ctrl-C`; does it work, too? (And at [another place](http://unix.stackexchange.com/questions/6890/what-is-making-my-cursor-randomly-disappear-when-using-gnome-teminal/6896#6896), they suggested `Ctrl-Q`, just as you.)" CreationDate="2011-04-27T12:41:57.783" UserId="4319" />
  <row Id="16192" PostId="12108" Text="Yes, both `Ctrl-C` and `Ctrl-Q` work (at least, for me)." CreationDate="2011-04-27T12:44:24.083" UserId="4319" />
  <row Id="16193" PostId="11995" Text="@gilles I don't know if it does. Where did I say that it does... ? though the window manager might make it easier..." CreationDate="2011-04-27T13:05:52.327" UserId="29" />
  <row Id="16194" PostId="12108" Score="3" Text="Ctrl-C does work, but it also sends an interrupt signal, which one generally wouldn't want. (Btw, the keys being used for these things are all configurable through `stty`.)" CreationDate="2011-04-27T13:10:04.550" UserId="2978" />
  <row Id="16195" PostId="12096" Text="@sushant this probably rather depends on the log files...Apache logs are quite different from Exim logs, or even Iptables logging, please clarify what logs you need to parse." CreationDate="2011-04-27T13:10:27.767" UserId="29" />
  <row Id="16196" PostId="12115" Text="I have thought about doing that, but how would I figure out the ip addresses of facebook and paypal servers?  Facebook seems to have many servers, and I assume paypal does too." CreationDate="2011-04-27T13:16:52.013" UserId="4430" />
  <row Id="16197" PostId="11975" Text="What resolution would you recommend the 6x4 images be?  They will be printed on 6&quot; by 4&quot; photo paper." CreationDate="2011-04-27T13:22:02.477" UserId="4430" />
  <row Id="16198" PostId="12108" Text="I see, thanks for the clarification!" CreationDate="2011-04-27T13:28:56.647" UserId="4319" />
  <row Id="16199" PostId="11975" Text="According to  http://www.photokaboom.com/photography/learn/printing/resolution/1_which_resolution_print_size_viewing_distance.htm you'd want them to be at least 1878 pixels wide. So, if your question's answered, do you mind accepting the answer. Cheers :)" CreationDate="2011-04-27T13:29:58.610" UserId="6935" />
  <row Id="16200" PostId="12016" Text="@asoundmove: You are correct, I should have said text device, rather than the ambiguous term &quot;text mode&quot;. I've edited my response." CreationDate="2011-04-27T13:32:18.017" UserId="5191" />
  <row Id="16201" PostId="12119" Text="Well, that alt-f2 really made is so I didn't even need to do it.  and I did notice that it was refreshing my applications.  Now all my applications are gone.  I must have messed something up!  But there must be cron job to do it then eh?  I'll check there. " CreationDate="2011-04-27T13:41:57.010" UserId="4330" />
  <row Id="16202" PostId="12027" Text="I see. But from the on-the-wire, client-side perspective it's no different than a regular VLAN. " CreationDate="2011-04-27T13:50:48.430" UserId="3082" />
  <row Id="16203" PostId="12120" Text="What exactly do you mean by &quot;not respond&quot;? Can you ping it on the network? Or is it mouse input? " CreationDate="2011-04-27T13:52:31.610" UserId="3082" />
  <row Id="16204" PostId="12122" Text="What is gnome-panel? Here's what I have running: bash-4.2$ ps -A | grep gnome&#xA; 1961 ?        00:00:00 gnome-keyring-d&#xA; 1969 ?        00:00:00 gnome-session&#xA; 2074 ?        00:00:23 gnome-settings-&#xA; 2123 ?        00:21:52 gnome-shell&#xA; 2132 ?        00:00:01 gnome-power-man&#xA; 2141 ?        00:00:05 gnome-screensav&#xA; 2228 ?        00:00:00 gnome-shell-cal&#xA;" CreationDate="2011-04-27T13:52:49.683" UserId="4330" />
  <row Id="16205" PostId="12111" Text="Do you have /dev/sda* entries? That should be the new names of your disk partitions." CreationDate="2011-04-27T13:55:03.043" UserId="3082" />
  <row Id="16206" PostId="12122" Text="Do you have the gnome-panel binary ?  I do have this file on debian-5. May be you do not have it as you are using Gnome-3" CreationDate="2011-04-27T13:55:51.310" UserId="4843" />
  <row Id="16207" PostId="11975" Text="In your bash script, it has *.jpg.  Some of these images are *.JPG, will the case difference stop some of the images from resizing?" CreationDate="2011-04-27T14:05:58.863" UserId="4430" />
  <row Id="16208" PostId="12122" Text="Yeah I've got the binary (I did an update from Fedora 14, not a fresh install), but I don't see where it's running.  No .pid file, not showing up in processes, but if I try to run it, it tells me that it's already running.  " CreationDate="2011-04-27T14:14:50.867" UserId="4330" />
  <row Id="16209" PostId="12088" Text="thank you! that works" CreationDate="2011-04-27T14:14:56.147" UserId="6973" />
  <row Id="16210" PostId="11975" Text="updated it again to match both character cases." CreationDate="2011-04-27T14:24:00.157" UserId="6935" />
  <row Id="16211" PostId="12111" Text="@Keith: No, there are no /dev/sda* or /dev/sd* entries.  Not at the point when the boot sequence fails nor after I manually has managed to get the system to resume the boot process." CreationDate="2011-04-27T14:24:30.763" UserId="6851" />
  <row Id="16212" PostId="6896" Text="@imz you're welcome :)" CreationDate="2011-04-27T14:33:37.543" UserId="4463" />
  <row Id="16213" PostId="12122" Text="simple try to run those two commands I mentioned." CreationDate="2011-04-27T14:42:09.083" UserId="4843" />
  <row Id="16214" PostId="12115" Text="Facebook are large enough that they own large swathes of IP Ranges. This discussion (I hate to link to a forum ...) on the Facebook Developers forums talk about some ranges that might cover the ones your app is using. I'm sure Paypal etc will have similar setups: http://forum.developers.facebook.net/viewtopic.php?pid=139481" CreationDate="2011-04-27T15:36:38.377" UserId="5067" />
  <row Id="16215" PostId="12128" Text="I was going to answer with almost the exact same thing." CreationDate="2011-04-27T16:27:38.600" UserId="3309" />
  <row Id="16216" PostId="12111" Text="Tried to rebuild `udev` but got a warning that the kernel options `CONFIG_SYSFS_DEPRECATED`, `CONFIG_SYSFS_DEPRECATED_V2` and `CONFIG_IDE` was supposed to be disabled but still were configured in the kernel.  So, I'm rebuilding the kernel with those options disabled (and with ATA support enabled, so the kernel finds my drive partition).  Only thing is that this new kernel might call my root partition sda3 instead of hda3.  Well, I'll find out once the new kernel has been built (takes a while on a host from 1999)." CreationDate="2011-04-27T17:46:41.167" UserId="6851" />
  <row Id="16217" PostId="11784" Text="No, unfortunately there are no matches for items named 'video*'. Here are the contents of the `/dev` folder: [pastebin](http://pastebin.com/yMJbSnKt)." CreationDate="2011-04-27T18:01:42.497" UserId="6840" />
  <row Id="16218" PostId="12077" Text="Thanks, -n 0 will help. In my current case, a little fragility isn't an issue because I'm just going through experimental iteration. From another question, I found that `grep -m 1 &quot;server is up&quot; &lt;(tail -n 0 -f /path/to/serverLog); some_command` avoids problems with a pipe remaining alive when I expect it to die and have the command terminate." CreationDate="2011-04-27T18:36:08.690" UserId="3445" />
  <row Id="16219" PostId="12134" Score="3" Text="What are you trying to accomplish by uniquely identifying the hardware?" CreationDate="2011-04-27T18:43:45.567" UserId="2421" />
  <row Id="16220" PostId="12126" Score="1" Text="I just fired up vim on Ubuntu 10.10 Maverick and confirmed that the version of `gvim` packaged there was compiled with right to left support." CreationDate="2011-04-27T19:08:17.317" UserId="1925" />
  <row Id="16221" PostId="12136" Text="Thank you very much, great reading! openSUSE has the same location for fonts, so there was no problem." CreationDate="2011-04-27T19:42:37.423" UserId="5884" />
  <row Id="16222" PostId="12084" Text="wish this was available in bash!" CreationDate="2011-04-27T19:46:32.720" UserId="6388" />
  <row Id="16223" PostId="12084" Text="See [Gilles](http://unix.stackexchange.com/questions/12059/forcing-an-added-alias-to-every-command/12079#12079)'s and others links, it is implementable in bash with a little extra fiddling. The again, why don't you just run zsh? It's a rocking shell with more good reasons to switch than just this!" CreationDate="2011-04-27T19:48:31.370" UserId="1925" />
  <row Id="16224" PostId="12123" Score="2" Text="I have `alias cvss='cvs -nq update'`, and an alias for `cvs -nq update | grep -v '^?'` for when I work with people who haven't heard of `.cvsignore`. And, strictly speaking, the answer to your question is `cvs -nq update | grep '^?'`." CreationDate="2011-04-27T19:57:09.337" UserId="885" />
  <row Id="16225" PostId="12138" Text="@grawity: tnx I included the debug output. The only thing I can see is &quot;channel 0: write failed&quot; but I'm not sure that is it. Maybe some write permissions on some folder? Update:: hmmmm wait..." CreationDate="2011-04-27T20:13:09.827" UserId="6024" />
  <row Id="16226" PostId="12138" Score="1" Text="i made a change in .bashrc ... maybe i made a mistake and the sftp starts a new shell... and something is outputted... testing... yep... that was the problem. " CreationDate="2011-04-27T20:18:54.543" UserId="6024" />
  <row Id="16227" PostId="12111" Text="Recompiling without CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 (but still with CONFIG_IDE and 'friends' set) resulted in a kernel which got a proper `/dev/hda3` device.  I cannot submit an answer for this yet, I have to wait for a few more hours before I do :-)." CreationDate="2011-04-27T20:25:19.573" UserId="6851" />
  <row Id="16228" PostId="12145" Text="OK great, thanks for that example (and also for the link to the Bash Manual). I quote from the Manual: &quot;The rules concerning the definition and use of aliases are somewhat confusing... For almost every purpose, shell functions are preferred over aliases.&quot; I guess I'd better learn how to do shell functions then. :)" CreationDate="2011-04-27T20:53:05.250" UserId="5770" />
  <row Id="16229" PostId="12145" Text="Yes. Aliases can save you some typing for common commands, but for anything even remotely complex writing custom functions to handle it is usually a better option." CreationDate="2011-04-27T21:28:43.140" UserId="1925" />
  <row Id="16231" PostId="12145" Text="@Caleb @Gilles - Thank you folks. BTW, ls='ls --color' I can see being very handy. Love this site.:)" CreationDate="2011-04-27T21:50:34.333" UserId="5770" />
  <row Id="16232" PostId="12137" Text="+1, I had no idea `multitail had those kind of ninja skills tucked away. Thanks for pointing that out." CreationDate="2011-04-27T21:54:02.007" UserId="1925" />
  <row Id="16233" PostId="12077" Text="@jon  You may stil want `&amp;&amp;` instead of `;`.  The `&amp;&amp;` means execute the next command if and only if the previous command was successful.  The `;` means execute the second command when the first command finishes.  For example, if I hit Ctrl-Z I get a funny behavior and the second command executes immediately.  With `&amp;&amp;` this doesn't happen." CreationDate="2011-04-27T22:02:24.293" UserId="6167" />
  <row Id="16234" PostId="12083" Text="@tronda I will reiterate that I don't think it's a hints issue at this point.  You will reach the full screen menu on FreeBSD where one can select safe mode or other options before the device.hints file has any effect.  I think it's simply that boot1 is not finding the right device/partition.  Can you post a screenshot or pic of where it's stuck or any additional output?  I will try to boot up a FreeBSD to test myself." CreationDate="2011-04-27T22:07:37.503" UserId="6167" />
  <row Id="16235" PostId="12146" Text="Thanke.. very interesting... I've been wondering: Why on earth would anyone choose to *Continue* a process with  &quot;Q&quot; which is commonly used  (now) for Quit... The QRST grouping explains it ..... " CreationDate="2011-04-27T22:40:35.213" UserId="2343" />
  <row Id="16236" PostId="12146" Text="This one took me a long time to figure out too, but after I found Q, I was like &quot;Man their so close on the keyboard how did I not hit it before!!!&quot;" CreationDate="2011-04-27T22:43:33.137" UserId="6998" />
  <row Id="16237" PostId="12146" Score="1" Text="Thanks very much for that bit of history. I recently disabled flow control by default in a terminal emulator I maintain, but had to reinstate it rather quickly after vocal protests from Unix traditionalists who do still use it. I set the ixany bit instead, so at least people who press ^S without knowing about ^Q don't get stuck." CreationDate="2011-04-27T22:45:11.310" UserId="2978" />
  <row Id="16238" PostId="12145" Text="@Gilles, don't you mean you'd make `d` a function?" CreationDate="2011-04-27T22:45:25.397" UserId="2421" />
  <row Id="16239" PostId="12145" Text="@boehj: A rule of thumb is to use an alias when you want to have automatic arguments to a command, using the name of the command or a minor variation, and functions otherwise. So `alias ls='ls --color'`, `alias cp='cp -i'`, but functions for more complex stuff. In particular, I'd make your `d` a function so that you can pass arguments to `ls`.  *[comment reposted to fix confusing braino, thanks @cjm]*" CreationDate="2011-04-27T22:48:15.833" UserId="885" />
  <row Id="16240" PostId="12145" Text="@Gilles - OK, my task for today is to teach myself how to replicate `d` as a shell function." CreationDate="2011-04-27T23:04:36.870" UserId="5770" />
  <row Id="16241" PostId="12134" Score="1" Text="If you are using this for software licensing, be aware that binding to a hardware id might annoy your users, e.g. if it changes just because they had to replace a faulty network card or motherboard." CreationDate="2011-04-27T23:33:05.983" UserId="3169" />
  <row Id="16244" PostId="12084" Score="2" Text="If you're using zsh there is an even better way to do it. The REPORTTIME environment variable when set will output the execution time info (as if you had run the command with 'time' in front of it) for any command taking longer than $REPORTTIME seconds. Just set it to 0 and it should tell you the time for every command, with the user/sys breakdown to boot." CreationDate="2011-04-27T23:54:46.130" UserId="7001" />
  <row Id="16246" PostId="12109" Text="Well that's actually a lot simpler than I had feared. The Linux networking stack really is a beautiful beast, isn't it?! I've given this a quick test and it all appears to work as expected. I'm monitoring each interface via `iftop` and they're each showing the right sort of traffic. Thank you so much." CreationDate="2011-04-28T00:31:25.520" UserId="880" />
  <row Id="16248" PostId="12022" Text="@Let_Me_Be: Can you elaborate?  `try_first_pass` or no option should work in that case." CreationDate="2011-04-28T00:39:21.193" UserId="3169" />
  <row Id="16249" PostId="12109" Text="@Shawn I don't know how iptables or iproute2 store their configuration. Do I have to fire off these rules each boot?" CreationDate="2011-04-28T00:52:24.667" UserId="880" />
  <row Id="16250" PostId="12094" Score="1" Text="You'll find most of what you want with the `sysctl` command and similar tools, mostly under the fs tree.  Try running the command `sysctl fs`.  Documentation can be found http://kernel.org/doc/Documentation/sysctl/" CreationDate="2011-04-28T00:59:49.820" UserId="6167" />
  <row Id="16251" PostId="12124" Text="Thanks. That was helpful. :)" CreationDate="2011-04-28T01:18:34.937" UserId="4335" />
  <row Id="16252" PostId="12156" Text="I will have to try it, thank you.  I will let you know." CreationDate="2011-04-28T01:35:28.560" UserId="1304" />
  <row Id="16253" PostId="12160" Text="@penguin259: That works perfectly. I guess I got confused about how to use `if` vs `$(...)`, and testing return values (basically I was trying to test whether `grep` returned anything or not). Thanks!" CreationDate="2011-04-28T01:50:26.717" UserId="2333" />
  <row Id="16254" PostId="12160" Score="1" Text="@Wolf, in that case, use `grep -q ...`." CreationDate="2011-04-28T02:38:03.837" UserId="4667" />
  <row Id="16255" PostId="12160" Text="@Glenn I used redirection as that is more portable.  Some greps don't support -q or treat it as -s." CreationDate="2011-04-28T03:02:35.487" UserId="6167" />
  <row Id="16256" PostId="12160" Text="@Wolf Here's some more explanatin.  A pipe is a type of complex COMMAND combining mutliple simple COMMANDs in a pipeline.  When using multiple simple commands together in a pipe, the return status of the whole pipe is equal to the greatest return status of any individual simple command. Basically that means a pipe is only considered successful if every command was successful. The full syntax of `if` is `if COMMAND1; then COMMAND2; ...; elif  COMMAND3; then COMMAND4; ..; else COMMAND5; fi`  The `;` can be replaced by a newline. Basically, if COMMAND1 is successful, COMMAND2 is executed an so on" CreationDate="2011-04-28T03:08:55.653" UserId="6167" />
  <row Id="16257" PostId="12157" Text="It looks like 5.1.19 and 5.0.30 are available from the above link." CreationDate="2011-04-28T03:34:59.467" UserId="6167" />
  <row Id="16258" PostId="12156" Text="You will also need [a patch](http://mikelward.com/software/gnome/flashing-terminal).  [git repo](https://github.com/mikelward/gnome-terminal)." CreationDate="2011-04-28T03:41:17.877" UserId="3169" />
  <row Id="16259" PostId="12096" Text="Thanks to all for their consideration, I have edited my question. So please reconsider it." CreationDate="2011-04-28T03:47:47.063" UserId="5861" />
  <row Id="16260" PostId="12158" Text="As an aside, your regex is either more complex or less complex than it needs to be. Just plain `^[0-9]` will match every line that your `^[0-9]\{1,\}` will match. Maybe you want to limit matches to those where a space follows the digits? If so, try `^[0-9]\{1,\} ` (note the trailing space)." CreationDate="2011-04-28T03:51:35.957" UserId="1107" />
  <row Id="16261" PostId="12156" Text="@Mikel shoot!  I can't believe after all this time, Gnome Terminal hasn't had it working.  I never tested it, but I assumed it would work like other terminal." CreationDate="2011-04-28T03:53:49.000" UserId="6167" />
  <row Id="16262" PostId="12161" Text="Is there a good reason why the GNOME people haven't included this?  I found your patch from 2008." CreationDate="2011-04-28T03:55:51.447" UserId="6167" />
  <row Id="16263" PostId="11996" Text="That's a fantastic answer there @penguin359!" CreationDate="2011-04-28T04:02:10.363" UserId="5770" />
  <row Id="16264" PostId="11984" Text="@faif I've never heard this and find it unlikely, can you post a reference?" CreationDate="2011-04-28T04:06:54.573" UserId="6167" />
  <row Id="16265" PostId="11984" Text="@Gilles The Open Group, owner of the UNIX® trademark is also in charge of the UNIX® certification and specification which they call Single UNIX Specification or SUS.  POSIX is developed by the IEEE who are not in charge of UNIX®.  Since 2001, they have been developed largely in sync, but it technically SUS which is now at version 4 that defined UNIX®." CreationDate="2011-04-28T04:11:43.740" UserId="6167" />
  <row Id="16266" PostId="12095" Text="@Gilles, well, that's discussion, not final resolution -- copying huge amount of text with losing formatting does not make any sense for me (not even mentioning traffic stealing -- images -- which is forbidden on **all** sites, because of technical issues, not good manners). Linking is valid mechanism in Internet, and copying Internet &quot;just in case&quot; is somewhat redundant. In short, no-go." CreationDate="2011-04-28T04:49:40.060" UserId="5884" />
  <row Id="16268" PostId="12135" Text="BTW: It's spelled &quot;Java&quot;. That is a name, not an abbreviation..." CreationDate="2011-04-28T05:16:35.690" UserId="258" />
  <row Id="16269" PostId="12165" Text="`ssh user@IP . ~/.bashrc; sh runme.sh` this could work, but `ssh user@IP '. ~/.bashrc; sh runme.sh'` still can not get env vars, I'm confused. What's wrong with a signle quote? Nor double quotes could work... I'm on ubuntu box." CreationDate="2011-04-28T05:16:45.247" UserId="7012" />
  <row Id="16270" PostId="12160" Text="nice answer, but this would be more readable: if [[ &quot;$variable&quot; =~ ^[0-9]\{1,\} ]]" CreationDate="2011-04-28T05:30:21.817" UserId="1952" />
  <row Id="16271" PostId="12150" Text="Thanks - the duplicate message was in motd.tail - changing it fixed the issue" CreationDate="2011-04-28T06:33:29.567" UserId="6955" />
  <row Id="16272" PostId="12084" Text="@Joseph: Wow where did you pull that out of? If I had asked that question that would have been THE answer I was looking for. It might be worth adding as a separate answer even though it is zsh because I don't see another thread covering these issues and some people looking for the functionality might be able to switch shells even if this poster cannot." CreationDate="2011-04-28T07:00:45.543" UserId="1925" />
  <row Id="16273" PostId="12095" Score="2" Text="@macias: *Summarize*, not copy. An answer with just a link is not useful (and trigger-happy viewers have been known to flag such answers as spam)." CreationDate="2011-04-28T07:06:43.530" UserId="885" />
  <row Id="16274" PostId="12168" Text="There're mutiple palces we can set environment variables, if you set it in /etc/profile, I'm sure it works. Thank you Andy." CreationDate="2011-04-28T07:56:34.643" UserId="7012" />
  <row Id="16275" PostId="12087" Text="+50, just wow. More than I asked for, at any rate. You, sir, are awesome." CreationDate="2011-04-28T07:59:35.610" UserId="3645" />
  <row Id="16276" PostId="11959" Text="Thanks for the tip. I edited my answer accordingly. I think it doesn't change anything in the context of the _at_ command, bu it's definitely better standard practice." CreationDate="2011-04-28T08:15:32.140" UserId="4415" />
  <row Id="16277" PostId="12171" Text="You mean to create `mylink.directory` with the same contents as `mylink.desktop` above, but add it as a new menu directory? Would this really work?" CreationDate="2011-04-28T08:57:51.827" UserId="7025" />
  <row Id="16278" PostId="12171" Text="no no. Not the mylink.directory but the Link.directory. [ here Link is value you write against the &quot;Type&quot; variable ]" CreationDate="2011-04-28T09:09:52.463" UserId="4843" />
  <row Id="16279" PostId="6121" Text="It will stop, but you can use `nohup watch -n 5 ./periodic.sh &gt; periodic.log &amp;` and store the output." CreationDate="2011-04-28T10:07:39.957" UserId="3969" />
  <row Id="16280" PostId="12160" Text="@Kim probably, but again, that is a bashism, the example I gave is just pure borne shell and therefore more portable." CreationDate="2011-04-28T10:18:30.010" UserId="6167" />
  <row Id="16281" PostId="12170" Text="I Assume you mean RedHat Enterprise 6 (RHEL 6) or perhaps even Fedora 6, but RedHat 6 itself is 10 years old now and a bit obsolete." CreationDate="2011-04-28T10:25:15.917" UserId="6167" />
  <row Id="16282" PostId="11959" Score="2" Text="@Dalker, you need to use the quotes around it: specifically `&quot;$@&quot;` not `$@`. Only when quoted will bash perform this special expansion: http://www.gnu.org/software/bash/manual/bashref.html#Special-Parameters" CreationDate="2011-04-28T10:26:48.003" UserId="4667" />
  <row Id="16283" PostId="12152" Score="1" Text="At least since 7.2, if not before, FreeBSD has kern.hostid as a 32-bit unique identifier and kern.hostuuid as a 128-bit unique identifier.  hostid is really to small for a good unique identifier." CreationDate="2011-04-28T10:31:06.427" UserId="6167" />
  <row Id="16284" PostId="12126" Text="vim/gvim on Ubuntu does.  I haven't seen any modern distro that doesn't compile with that option on." CreationDate="2011-04-28T10:33:12.417" UserId="6167" />
  <row Id="16285" PostId="12170" Text="@penguin oh yeah, I meant RHEL 6, sorry ;)" CreationDate="2011-04-28T10:35:10.540" UserId="7025" />
  <row Id="16286" PostId="12125" Text="gvim does support it with :set rightleft.  You should know this setting is per-window.  If you use split windows, you can have one Window with rightleft enabled and a second window on the same file/buffer with rightleft disabled.  This is supposed to help with mixed RLT/LTR text." CreationDate="2011-04-28T10:36:11.477" UserId="6167" />
  <row Id="16287" PostId="12171" Text="OK, could you please be more specific? What should Link.directory contain? I suppose I could add it by invoking `xdg-desktop-menu` as well instead of manually editing `/etc/xdg/menus/applications.menu`, right?" CreationDate="2011-04-28T10:45:08.473" UserId="7025" />
  <row Id="16288" PostId="12146" Score="1" Text="@RBerteig I ran into something similar learning about backspace and delete.  Backspace is officially ^H and delete is ^?  Some people like the Emacs developers (Stallman again?) wanted ^H available for general purpose like shortcuts like Help.  The escape sequence ^[[3~ or something like that was created to replace ^? and backspace now became the old delete character ^?.  In fact, I've seen ncurses specifically patched on Linux distros to remap thoses keys in terminfo whereas ncurses on FreeBSD is unpatched causing some of the annoying confusion causing backspace to not work." CreationDate="2011-04-28T10:48:25.337" UserId="6167" />
  <row Id="16289" PostId="12105" Text="I added some more detail on configuring SSH as a second answer." CreationDate="2011-04-28T10:54:29.293" UserId="6167" />
  <row Id="16290" PostId="12161" Text="@penguin359: The way I see it: the Gnome Terminal maintainer doesn't want to add it because he thinks it won't be used by many people.  Read the Gnome bug and make up your own mind." CreationDate="2011-04-28T11:00:59.347" UserId="3169" />
  <row Id="16291" PostId="12152" Text="@penguin359: Ah.  Thanks for that.  Didn't see it in the man page." CreationDate="2011-04-28T11:02:13.573" UserId="3169" />
  <row Id="16292" PostId="12076" Text="it returns overall keyboard settings, not current layout (us _or_ ru)" CreationDate="2011-04-28T11:17:48.103" UserId="2320" />
  <row Id="16293" PostId="2120" Text="@imz: `C-q` will &quot;unfreeze&quot;. It and `C-s` are the usual software flow control characters which were once useful to manually interrupt (pause) the flow of output when slow serial connections were used. Now output is so fast in most cases that what you want to see when you press `C-s` has already scrolled by. `stty -ixon` turns off software flow control." CreationDate="2011-04-28T11:19:09.460" UserId="382" />
  <row Id="16294" PostId="12171" Text="&#xA;http://satishwagh.blogspot.com/2010/05/adding-sub-menu-to-main-menu.html" CreationDate="2011-04-28T11:19:14.173" UserId="4843" />
  <row Id="16295" PostId="12171" Text="@SHW this doesn't help me at all. I don't want to create any custom submenu..." CreationDate="2011-04-28T11:23:25.710" UserId="7025" />
  <row Id="16296" PostId="12181" Score="1" Text="Interesting idea, but that doesn't work either (at least on my system).  I don't see how it would either, because there's no space in `ls` to substitute." CreationDate="2011-04-28T11:25:20.737" UserId="3169" />
  <row Id="16297" PostId="12181" Text="It did work on my debian system with bash version as   &gt; GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)&#xA;Copyright (C) 2007 Free Software Foundation, Inc." CreationDate="2011-04-28T11:27:09.280" UserId="4843" />
  <row Id="16298" PostId="12179" Text="worst part is: I read about `!!` seconds earlier (Although, they didn't show that you could set the `!!` after anything else). My memory span is waay to short. Thanks for your answer :)" CreationDate="2011-04-28T11:34:02.427" UserId="6997" />
  <row Id="16299" PostId="12146" Text="@penguin359 - Actually, I believe you're talking about the VT control codes which began with &lt;esc&gt;[[ (sometimes called ANSI codes which were often used for color and other purposes).  VT52 and VT100 are among the most common versions of that." CreationDate="2011-04-28T11:41:29.987" UserId="7032" />
  <row Id="16300" PostId="12183" Text="Exact command will be more helpful for me  :-)" CreationDate="2011-04-28T11:45:10.053" UserId="4843" />
  <row Id="16301" PostId="12181" Text="Doesn't work for me. I think `sudo !!` is the better solution here." CreationDate="2011-04-28T11:47:12.117" UserId="1925" />
  <row Id="16302" PostId="12181" Text="I guess so. I think, &gt;sudo !!  is the good answer to this question." CreationDate="2011-04-28T11:48:59.627" UserId="4843" />
  <row Id="16303" PostId="2120" Text="@Dennis, thanks for the comment!" CreationDate="2011-04-28T11:54:41.160" UserId="4319" />
  <row Id="16304" PostId="12184" Text="So, to complicate matters, what if I run `echo Calen` and wanted to instead run `sudo echo Caleb`.. Could I then do something like.. `sudo !!^Calen^Caleb` ?" CreationDate="2011-04-28T11:56:27.340" UserId="6997" />
  <row Id="16305" PostId="12179" Text="@Default: Welcome! &quot;Thanks for your answer :)&quot; is best expressed as a green tick next to the answer that helped you most. [FAQ](http://unix.stackexchange.com/faq#howtoask)" CreationDate="2011-04-28T11:56:27.587" UserId="2818" />
  <row Id="16306" PostId="12179" Text="@Johnsyweb: thanks, i am aware of how SE works. However, since I see other answers informing me of the exact opposite and since I asked the question less than one hour ago, I do not feel ready to accept an answer yet. A better advice here would be to ask me to at least upvote this answer since upvoting is allowed when reputation exceeds 15." CreationDate="2011-04-28T12:05:42.727" UserId="6997" />
  <row Id="16307" PostId="12184" Text="The right syntax for that would be `sudo !!:s/Calen/Caleb/`" CreationDate="2011-04-28T12:08:58.127" UserId="1925" />
  <row Id="16308" PostId="12176" Score="1" Text="Get a test computer! You can't make sense of a unix tutorail with somewhere to bang out some commands. Obviously you typed this question up somewhere. If you're stuck on windows get cygwin or ssh into some box somewhere but by all means have a prompt in front of you to test stuff as you ask questions." CreationDate="2011-04-28T12:15:13.210" UserId="1925" />
  <row Id="16309" PostId="12184" Text="and that deserves the accepted answer. Thanks Caleb for your help" CreationDate="2011-04-28T12:15:25.600" UserId="6997" />
  <row Id="16310" PostId="12181" Text="In order for this (as you typed it) to work in most versions of bash, you would also have had to left a space BEFORE ls in the previous command." CreationDate="2011-04-28T12:18:38.030" UserId="1925" />
  <row Id="16311" PostId="12176" Text="I have a unix system at home but forgot to start it up this morning. I'll start it up tomorrow. Promise" CreationDate="2011-04-28T12:21:52.723" UserId="6997" />
  <row Id="16312" PostId="12160" Text="I've been struggling with grep when bash has a `=~` operator?? Well, I feel silly now. No bash tutorial or reference I've ever seen has mentioned such a thing!" CreationDate="2011-04-28T12:25:47.153" UserId="2333" />
  <row Id="16313" PostId="12184" Text="With bash, you can `set +o histexpand` if you want to turn it off. This is what I do, because any `!` inside double quotes will trigger an error (like `echo &quot;Hello, World!&quot;`)" CreationDate="2011-04-28T12:41:28.097" UserId="2405" />
  <row Id="16314" PostId="12191" Text="which distribution?" CreationDate="2011-04-28T09:28:31.480" UserId="5946" />
  <row Id="16315" PostId="12076" Text="Execute it well, as @jasonwryan states if you analyze carefully that line, into it resides your layout. In my case it is `latam`." CreationDate="2011-04-28T14:10:47.260" UserId="6803" />
  <row Id="16316" PostId="12126" Text="Quick followup - how do you set left to right again?" CreationDate="2011-04-28T14:11:54.590" UserId="1594" />
  <row Id="16317" PostId="12199" Text="@jmtd : Thanks for the answer, but I got some errors with -a/-p option - http://unix.stackexchange.com/questions/12203/rsync-failed-to-set-permissions-on-error-with-rsync" CreationDate="2011-04-28T14:58:31.940" UserId="1090" />
  <row Id="16318" PostId="12172" Text="With gedit it works fine. But I wanted to send it to eclipse." CreationDate="2011-04-28T15:28:47.300" UserId="6888" />
  <row Id="16319" PostId="12196" Text="Your Question is not much clear. Please explain it in clear format." CreationDate="2011-04-28T15:38:03.030" UserId="4843" />
  <row Id="16320" PostId="12143" Text="that's NOT what I asked." CreationDate="2011-04-28T15:39:33.917" UserId="6960" />
  <row Id="16321" PostId="12154" Text="that's NOT what I asked." CreationDate="2011-04-28T15:39:42.777" UserId="6960" />
  <row Id="16322" PostId="12210" Text="kalispera file :) Goodys gia panta :P" CreationDate="2011-04-23T19:16:05.680" />
  <row Id="16323" PostId="12210" Score="1" Text="I don't understand why `sort` made entries appear and disappear. Can you post the whole file or show a shorter example?" CreationDate="2011-04-23T19:24:00.383" />
  <row Id="16324" PostId="12210" Text="It is just a portion of the file entries don't dissappear they are just sorted, but I didn't post the whole file" CreationDate="2011-04-23T19:33:54.660" />
  <row Id="16330" PostId="12143" Text="@LanceBaynes: It's what you asked, it may not be what you meant to ask. If that's not what you meant to ask, edit your question to make it clearer (or ask a new question if that would be too big an edit)." CreationDate="2011-04-28T15:52:25.177" UserId="885" />
  <row Id="16331" PostId="11292" Text="With avahi, I could use &quot;host name&quot;.local to be accessed both Mac and PC (bonjour for PC installed)." CreationDate="2011-04-28T15:58:41.897" UserId="1090" />
  <row Id="16332" PostId="12196" Text="@SHW: I am not sure what it is, sometimes it is called userspace macro but I want just that keys are pressed according to some pattern in X. By X, I mean that I want it work with programs in X." CreationDate="2011-04-28T16:06:55.137" UserId="2362" />
  <row Id="16337" PostId="12221" Text="And if you need to do this for an arbitrary number of strings, enclose it in a for loop.  For example:  `for searchString in &quot;string1 string2 stringn&quot;; do grep -H $searchString file1.txt file2.txt; done`  However, this assumes that searchString is an easy word -- if it has symbols, spaces, you need more escaping." CreationDate="2011-04-28T15:13:47.943" />
  <row Id="16338" PostId="12223" Text="you can use stdin as file `echo -e &quot;string1\nstring2\nstringn&quot; | grep -f - search.txt file*.txt`" CreationDate="2011-04-28T15:24:29.863" UserId="1806" />
  <row Id="16339" PostId="12223" Text="Thank you so much, it worked flawlessly." CreationDate="2011-04-28T15:24:52.380" />
  <row Id="16340" PostId="12223" Text="My pleasure. If you think it was useful then pls mark the answer as accepted also :)" CreationDate="2011-04-28T16:22:27.320" UserId="5839" />
  <row Id="16341" PostId="12076" Text="jasonwryan version just output a part of string after '+', `xkb_symbols` value doesn't depend on selected layout, I always get 'us'" CreationDate="2011-04-28T16:33:16.703" UserId="2320" />
  <row Id="16342" PostId="12074" Text="Thanks, `xkb-switch` works fine, but I hope that there was more portable solution" CreationDate="2011-04-28T16:34:25.187" UserId="2320" />
  <row Id="16343" PostId="12126" Text="`:set norl` sets it back to left-to-right." CreationDate="2011-04-28T16:44:37.363" UserId="3447" />
  <row Id="16344" PostId="12227" Text="Not a programming question. Should go to SuperUser or Unix." CreationDate="2011-04-27T22:13:16.957" UserId="5462" />
  <row Id="16345" PostId="12228" Text="Thanks, this helps a lot. Is there anyway to rename an already existent screen session?" CreationDate="2011-04-27T21:19:08.203" UserId="3149" />
  <row Id="16346" PostId="12228" Text="@Charlotte : see edits. Thanks for the votes!" CreationDate="2011-04-27T21:44:25.653" UserId="6122" />
  <row Id="16347" PostId="11984" Text="@penguin359 If it's unlike I'm glad to hear it :) Sorry, no web references" CreationDate="2011-04-28T17:11:00.753" UserId="5661" />
  <row Id="16348" PostId="12203" Text="Can you give us ls -al output for some of the affected files?" CreationDate="2011-04-28T17:32:57.363" UserId="3001" />
  <row Id="16349" PostId="12209" Text="I assume by your tags that you're using Apache on some Linux distribution. It might be helpful to provide a little more background information, and what you've looked at already." CreationDate="2011-04-28T17:34:19.957" UserId="2511" />
  <row Id="16350" PostId="12154" Text="Well, for JRE-1.5 you have to choose 2, not 1, of course, which will lead to the same 'permission denied' answer, but JRE is 1.5.0.0-34, not 1.5.0.21, which raises the question, why you need that minor-minor-version-number. Most of the time, you choose between 1.6 or 1.5, but for each of them, you would use the most current release. Except you want to tackle a specific error, which is only present in one older version, but then you need to emphasize, wheter you mean gcj-, sun-jre, ibm- or someones else JRE, 32- or 64bit, Linux, Solaris, BSD or ... . " CreationDate="2011-04-28T17:34:43.050" UserId="4485" />
  <row Id="16352" PostId="12233" Text="But I want one command.  Something like, &#xA;&quot;renamefilesfrommappingfile &lt;mappingfile&gt; .&quot;  :)" CreationDate="2011-04-28T17:51:06.147" UserId="7046" />
  <row Id="16353" PostId="12233" Score="3" Text="@steve: `renamefilesfrommappingfile() { local old new; while read -r old new; do mv &quot;$old&quot; &quot;$new&quot;; done &lt; &quot;$1&quot;; }`" CreationDate="2011-04-28T17:52:18.850" UserId="2168" />
  <row Id="16354" PostId="12233" Text="Haha. Good one." CreationDate="2011-04-28T17:57:07.363" UserId="7046" />
  <row Id="16355" PostId="12234" Text="-1 for `eval`'ing the input, for eval'ing *barewords* on the right side of `=&gt;`, and for using `\`mv\`` instead of whitespace-safe [rename()](http://perldoc.perl.org/functions/rename.html)." CreationDate="2011-04-28T17:58:14.600" UserId="2168" />
  <row Id="16356" PostId="12236" Text="For what it's worth, I was pointed towards the [manual](http://www.gnu.org/software/bash/manual/bash.html) today and it's making for an interesting, but rather substantial read. It may be of use to you." CreationDate="2011-04-28T18:10:47.463" UserId="5770" />
  <row Id="16358" PostId="12234" Score="1" Text="Why not something like: `perl -nle 'my ($old, $new) =  split /=&gt;/; rename &quot;$old.png&quot;, &quot;$new.png&quot;' mapfile`. Another advantage of avoiding eval is that you can actually change the pattern as the question indicates may be necessary.&#xA;" CreationDate="2011-04-28T18:20:53.560" UserId="1207" />
  <row Id="16359" PostId="12234" Text="@grawity: `perldoc rename`: Behavior of this function varies *wildly* depending on your system implementation. For example, it will usually not work across *file system boundaries*, even though the *system mv* command sometimes compensates for this. Other restrictions include whether it works on directories, open files, or pre-existing files. Check perlport and either the rename(2) manpage or equivalent system documentation for details.[italics mine]" CreationDate="2011-04-28T18:22:23.520" UserId="1178" />
  <row Id="16360" PostId="12234" Text="@Axeman: thanks for the heads up on rename! But the eval is still ugly." CreationDate="2011-04-28T18:24:32.870" UserId="1207" />
  <row Id="16361" PostId="12233" Score="1" Text="You could make this a bit more general by playing with $IFS before and after the while loop;" CreationDate="2011-04-28T18:38:51.023" UserId="1207" />
  <row Id="16362" PostId="12241" Text="Thank you, looks like you can find other useful guides in general there, as well." CreationDate="2011-04-28T18:53:55.773" UserId="7047" />
  <row Id="16363" PostId="12240" Text="Both seem to be exactly what I need. Thanks" CreationDate="2011-04-28T18:55:26.413" UserId="7047" />
  <row Id="16364" PostId="12207" Text="You'll need `control-alt-F1` to get back to the console." CreationDate="2011-04-28T19:00:24.480" UserId="4949" />
  <row Id="16365" PostId="12146" Score="1" Text="I used to wonder why DEL had the code 127 rather than being grouped with the other control characters, until I first played with some paper tape and an ASR33. Once I realized that it had the effect of punching all the holes, which meant it could be overstruck on any previously punched character to delete it, it made sense. " CreationDate="2011-04-28T19:08:10.593" UserId="5835" />
  <row Id="16366" PostId="12243" Text="It may(?) be a dodgy key.. Have you tried different combinations of Left_Ctrl/Right_Ctrl and Left_Alt/Right_Alt...  I've just had a similar thing with my Escape key... I changed the keyboard and I'm back on the road...... " CreationDate="2011-04-28T19:20:11.720" UserId="2343" />
  <row Id="16370" PostId="12243" Text="PS: run this in the terminal; it bypasses the physical keybpard : `xdotool key &quot;Ctrl+Alt+Right&quot;`" CreationDate="2011-04-28T19:30:21.297" UserId="2343" />
  <row Id="16371" PostId="12242" Text="@Shadur, thanks for the reply. I tried lpq -a at first, but the system responsed with &quot;no entries&quot;. Can you let me know why this happens and how to solve it? Thanks." CreationDate="2011-04-28T19:30:45.347" UserId="6984" />
  <row Id="16372" PostId="12234" Score="1" Text="@Axeman: Use `File::Copy` to copy or move files on all but antique versions of Perl." CreationDate="2011-04-28T19:33:43.587" UserId="885" />
  <row Id="16373" PostId="12242" Text="That means that there aren't any entries in its print queue. Are you sure the job is still even on your system?" CreationDate="2011-04-28T20:06:15.083" UserId="4949" />
  <row Id="16374" PostId="12207" Text="@Shadur, duly noted, I was messing with formatting and deleted the beginning of the sentence. I edited the answer to reflect your comment." CreationDate="2011-04-28T20:06:58.297" UserId="6863" />
  <row Id="16375" PostId="12234" Text="@Axeman: Renaming within the same directory, as in the question, generally does not cross fs boundaries." CreationDate="2011-04-28T20:17:45.980" UserId="2168" />
  <row Id="16376" PostId="12243" Text="How often do the shortcuts switch between working and not working? Is this consistent between reboots, or do they stop working at some point, or do they randomly start and stop working during a session? Does it matter what window is focused? what applications are running? where the mouse pointer is? If you can, press the keys in an `xev` window when they aren't running: do you see `KeyPress` and `KeyRelease` events for `Right`, `M`, …?" CreationDate="2011-04-28T20:28:21.267" UserId="885" />
  <row Id="16377" PostId="12207" Text="Links about single user mode on this site: [How do I run a command as the system administrator (root)](http://unix.stackexchange.com/questions/3063/how-do-i-run-a-command-as-the-system-administrator-root); [more specific Grub instructions](http://unix.stackexchange.com/questions/4027/how-do-i-prevent-grub-from-using-starting-any-graphical-ui/4030#4030), " CreationDate="2011-04-28T20:33:28.660" UserId="885" />
  <row Id="16378" PostId="12234" Text="@grawity, I was thinking the same thing shortly after I posted it, but oh well--he doesn't say anything about complicated file names either--he doesn't say anything about wily hackers intercepting your rename one-liner to make you eval bad code, either--so are we talking about the *general* case, or the *specific*." CreationDate="2011-04-28T20:36:06.337" UserId="1178" />
  <row Id="16379" PostId="12244" Text="Ran into this issue too when I set `GTK_IM_MODULE=xim` so that I could use `~/.Xcompose`. Better question would be &quot;How to input Unicode characters by codepoint when using XIM?&quot;." CreationDate="2011-04-28T20:38:36.027" UserId="3459" />
  <row Id="16380" PostId="12146" Score="1" Text="@Mystere Your right, it's not an ANSI Escape sequence, but an [ANSI Control Sequence](http://www.inwap.com/pdp10/ansicode.txt).  Escape \(^\[) followed by [ is an Escape sequence that represents the CSI ANSI Control charater.  CSI starts an ANSI Control sequence.  The [DEC Terminals](http://vt100.net/docs/vt220-rm/chapter3.html) as far as I can tell never used ^[[3~ for Delete, I think that was added in XTerm." CreationDate="2011-04-28T20:40:43.087" UserId="6167" />
  <row Id="16381" PostId="12160" Text="@Wolf I wouldn't feel silly, grep is an important command to learn.  I never use the =~ operator myself as it's often too unflexible for my needs.  For example, I often pipe multiple greps together possibly with some sed mixed in." CreationDate="2011-04-28T20:43:30.073" UserId="6167" />
  <row Id="16382" PostId="12152" Text="@Mikel I didn't either, I just did `sysctl -a | host`" CreationDate="2011-04-28T20:44:16.237" UserId="6167" />
  <row Id="16383" PostId="12165" Text="@Yang: When you run that first command, `runme.sh` is executed on the local machine. Your problem may be that [`.bashrc` is exiting early](http://unix.stackexchange.com/questions/12164/12169#12169), in which case the fix is to [not define environment variables there but in `.profile`](http://superuser.com/questions/183870/difference-between-bashrc-and-bash-profile/183980#183980)." CreationDate="2011-04-28T20:52:16.093" UserId="885" />
  <row Id="16384" PostId="12232" Text="@cjm : It just happened that the files are owned by _www. Changing the owner solved this issue. Thanks for the help." CreationDate="2011-04-28T20:56:53.593" UserId="1090" />
  <row Id="16386" PostId="12174" Score="1" Text="Even if this free software, stating that this is your product would be [appreciated if not actually required](http://meta.stackoverflow.com/questions/15787/how-do-i-mention-my-own-products-in-answers). A more readable README/FAQ link and a short explanation of how Mandos works would also be appreciated." CreationDate="2011-04-28T21:11:05.007" UserId="885" />
  <row Id="16387" PostId="12251" Text="Thank you Gilles.. I have this dat file created by the script. I just want to know what happens to that file after it is being created.. non of the other scripts are picking it for further process so I want to see if someone is manually accessing that dat file" CreationDate="2011-04-28T21:13:39.970" UserId="7054" />
  <row Id="16388" PostId="12251" Text="@Jack: It's hard to say without knowing a lot more about your setup, but as long as nothing removes or renames the file, it'll be there for the other scripts to pick it up, whether or not someone else is accessing it. From your comment, I think you should be looking at what happens when you run your scripts." CreationDate="2011-04-28T21:17:30.793" UserId="885" />
  <row Id="16389" PostId="12243" Text="@gilles I'll check with xev next time it happens. &#xA;@fred thanks for the pointer. next time it happens I'll try it. &#xA;&#xA;i dont think its a bad key, the keyboard is brand new, but i'll try using the right ctrl next time. &#xA;&#xA;if i come up with any new info i'll post an update.  it's hard to recreate on demand.  it *does* require a reboot to fix. " CreationDate="2011-04-28T21:21:15.037" UserId="6027" />
  <row Id="16390" PostId="12251" Text="Hey, you could create a nice circular loop with this: `syslogd access log file /var/log/audit.log at 10:01\nsyslogd access log file /var/log/audit.log at 10:02\n...`" CreationDate="2011-04-28T21:24:14.360" UserId="6167" />
  <row Id="16391" PostId="12175" Text="@Teddy: Thank you for your contributions, but note that 100% of your posts being almost-identical mentions of your product is [borderline behavior](http://meta.stackoverflow.com/questions/66148/what-is-too-much-self-promotion-and-where-do-we-draw-the-line), and you run a risk of being considered [spam](http://meta.stackoverflow.com/questions/87993/every-post-spam) (I'd have flagged your posts if Mandos wasn't free software or you didn't have a history of non-Mandos posts on other sites)." CreationDate="2011-04-28T21:24:24.517" UserId="885" />
  <row Id="16392" PostId="12244" Score="1" Text="This is a feature of the GTK widget set used by all GNOME applications.  You will need to find a similar feature offered by QT used by KDE applications.  Look up QT IMM modules." CreationDate="2011-04-28T21:27:14.577" UserId="6167" />
  <row Id="16393" PostId="12253" Text="Try running `ls -al $(which sh)` to see if your `sh` command is what you think it is. :-)" CreationDate="2011-04-28T21:36:55.723" UserId="1207" />
  <row Id="16394" PostId="12254" Score="1" Text="`grep -v '[^0-9]'`, or `expr`, or better, a `case` expression." CreationDate="2011-04-28T21:37:23.717" UserId="885" />
  <row Id="16395" PostId="12257" Text="That looks good!I will look into using Xnest together with xinerama to archieve my goal. Stupid me: I thought Xnest only was for testing purposes in terms of creating a kind of jail for Xclients. Anyway, thank you very much!" CreationDate="2011-04-28T20:54:12.320" />
  <row Id="16396" PostId="12254" Text="*Sigh*. I always use `sh` for portability, but forgot that this code wasn't portable. Thanks for the clarification." CreationDate="2011-04-28T21:40:02.327" UserId="4671" />
  <row Id="16397" PostId="12234" Text="Not necessarily wily &quot;hackers&quot;. The 1st-attempt `eval` would break if the new name was a Perl function name too, which aren't that uncommon." CreationDate="2011-04-28T21:40:31.210" UserId="2168" />
  <row Id="16398" PostId="12255" Text="@Gilles: I'm using `sh` for a bash script because I'm a moron. :-) So both `[[ ]]` and `[ ]` work for tests in bash, but in general only `[ ]` works?" CreationDate="2011-04-28T21:42:47.223" UserId="4671" />
  <row Id="16399" PostId="12255" Text="@Faheem: Bash/ksh/zsh have both `[[` and `[`, other shells have only `[`. `[[` and `[` have a lot of operators in common, but `[[` is a special shell construct whereas `[` has to obey normal quoting rules." CreationDate="2011-04-28T21:48:35.927" UserId="885" />
  <row Id="16400" PostId="12255" Text="@Gilles: With your alternative syntax above, I'm getting: $ `sh foo.sh 100`&#xA;`foo.sh: 4: arithmetic expression: expecting EOF: &quot;foo.sh-1&quot;`. Can you break down the syntax in the above shell snippet a little bit for us illiterates, please?" CreationDate="2011-04-28T21:51:15.377" UserId="4671" />
  <row Id="16401" PostId="11296" Text="Related: [Are there any good tools besides SeleniumRC that can fetch webpages including content post-painted by JavaScript?](http://unix.stackexchange.com/questions/12186/are-there-any-good-tools-besides-seleniumrc-that-can-fetch-webpages-including-con)" CreationDate="2011-04-28T21:53:25.220" UserId="885" />
  <row Id="16402" PostId="12186" Text="No one's suggested anything else on [Does anybody here have experience in automating some tasks in web applications using curl?](http://unix.stackexchange.com/questions/11296/does-anybody-here-have-experience-in-automating-some-tasks-in-web-applications-us), but that question wasn't specifically asking about scraping Javascript." CreationDate="2011-04-28T21:54:14.847" UserId="885" />
  <row Id="16403" PostId="12218" Score="1" Text="after reading, i'm still curious about what information a lecherous vice president could provide in casual conversation that would win you that bet." CreationDate="2011-04-28T22:05:10.677" UserId="6027" />
  <row Id="16404" PostId="12255" Text="@Faheem: Typo, see my edit. The script took the right case branch, but then the arithmetic expression `$(($0-1))` bombed out, because `$0` (the name of the script) looked nothing like a number. Just for fun, try the original version with a script called `2+2` or ` ` (a space). For extra credit, try calling the script `-` (a single dash), in various shells." CreationDate="2011-04-28T22:11:35.727" UserId="885" />
  <row Id="16405" PostId="12255" Text="@Gilles: I see. I don't need the echo lines, right? So I can do `case $1 in&#xA;  *[!0-9]*) exit 1;;                                                                                                                                &#xA;esac`. I see that http://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs has a section on case. perhaps add this link, unless you can find a better one? So this matches the argument against the regex `*[!0-9]*`? And the `*` line I assume is executed if all matches fail, though I don't know what the `*` denotes here." CreationDate="2011-04-28T22:38:24.763" UserId="4671" />
  <row Id="16406" PostId="11959" Text="@glenn, re-edited accordingly. Thanks for the tip, I didn't know that!" CreationDate="2011-04-28T22:59:41.173" UserId="4415" />
  <row Id="16407" PostId="12255" Text="@Faheem: The echo lines are just examples, similar to your question. The case construct first tries to match the wildcard pattern `*[!0-9]*` (anything followed by a non-digit followed by anything), then if it doesn't match tries `*` (anything). The patterns are usual shell wildcards, with the same meaning as when globbing files." CreationDate="2011-04-28T23:13:02.093" UserId="885" />
  <row Id="16408" PostId="12262" Score="1" Text="@draeath: You need to put four spaces at the start of each line to preserve newlines.  I changed the first block to show you how.  Can you fix the second?" CreationDate="2011-04-28T23:21:55.637" UserId="3169" />
  <row Id="16409" PostId="12262" Text="You didn't find RSA in `openssl enc` because `enc` is for symmetric encryption only. Yeah, openssl's options aren't very well organized. Asymetric algorithms have their own commands: `rsa`/`dsa`/`dh` to manipulate keys, `rsautl`/`dsautl` to encrypt/decrypt/verify/sign, and `genrsa`/`gendsa`/`gendh` to generate keys." CreationDate="2011-04-28T23:24:59.943" UserId="885" />
  <row Id="16410" PostId="12160" Text="@penguin359: Oh, I know that intellectually. It's just that I'm much more familiar with the =~ operator thanks to Perl. Still, I probably won't use it; I'm trying to focus on learning bourne shell for scripting rather than bash since it's more universally available." CreationDate="2011-04-28T23:30:29.687" UserId="2333" />
  <row Id="16411" PostId="12262" Text="Thanks Mikel! Fixed." CreationDate="2011-04-28T23:31:32.217" UserId="6866" />
  <row Id="16415" PostId="12263" Score="1" Text="@LanceBaynes: [Don't leave “thank you” comments](http://meta.stackoverflow.com/q/72330/149076). That's what the upvote button is for. " CreationDate="2011-04-29T00:13:51.553" UserId="885" />
  <row Id="16416" PostId="12188" Text="What version of Gnome? On what operating system?" CreationDate="2011-04-29T00:16:08.120" UserId="885" />
  <row Id="16417" PostId="12266" Score="2" Text="Oh, FVWM already does all that for me. It's just that FVWM is getting old, and I would like to try something more modern." CreationDate="2011-04-29T00:38:06.290" UserId="5859" />
  <row Id="16418" PostId="12258" Text="...for python there is always D!" CreationDate="2011-04-29T01:27:56.387" UserId="2362" />
  <row Id="16419" PostId="12218" Text="@justin: I said I was there to see $friend re: a school project, but he was out of the office.  I let the VP show me some trivial things about the computer system, and he was too distracted by staring at me to notice that I observed him entering his password. He had legitimate access to the drive I was supposed to access to win the bet." CreationDate="2011-04-29T01:53:10.890" UserId="4063" />
  <row Id="16420" PostId="12185" Text="@jlliagre So if we want to calculate cpu usage in &quot;solaris mode&quot; then we have to consider &quot;cpu0&quot; and &quot;cpu1&quot; entry separately. And I saw the source code of top implementation it uses hash table to retrieve results very fast. But is there another way to do this." CreationDate="2011-04-29T03:13:51.530" UserId="5861" />
  <row Id="16421" PostId="12269" Text="What does the log file /var/log/Xorg.0.log say?" CreationDate="2011-04-29T03:20:02.440" UserId="6607" />
  <row Id="16422" PostId="12271" Text="@jasonwryan- Yes, I've already installed those packages but still it doesn't work" CreationDate="2011-04-29T04:02:19.500" UserId="3496" />
  <row Id="16424" PostId="12271" Score="1" Text="The error message is pretty clear - neither package is found. Install them explicitly: # pacman -S xorg-twm xorg-xclock xterm" CreationDate="2011-04-29T04:36:30.180" UserId="6761" />
  <row Id="16425" PostId="12152" Text="@penguin359 really good stuff, thank you very much! I will upvote Mikel's answer because it contains this thread. Thank you @Mikel. When I read draeth's answer it hit me that I could use hardware ID's like PCI DEVID and such to assemble a hardware signature. " CreationDate="2011-04-29T05:23:20.317" UserId="6987" />
  <row Id="16426" PostId="12007" Text="Thanks a lot for the hints everyone...I'm already getting to know the 'ip' utility and reading about it in 'Linux Advanced Routing &amp; Traffic Control HOWTO' by &#xA;Bert Hubert. It's much neater than 'ifconfig'. Next step might be to get the source and have a peek in there to get ideas about performing the queries from within my program." CreationDate="2011-04-29T06:01:09.180" UserId="6918" />
  <row Id="16427" PostId="12146" Text="@penguin359 The VT220 sends `^[[3~` for the Remove key that's part of the six-key editing keypad. Seems to make plenty of sense to equate that with the 'Delete' key on PC keyboards. See also http://www.quadibloc.com/comp/images/vt220.gif for a picture." CreationDate="2011-04-29T06:21:23.687" UserId="2978" />
  <row Id="16428" PostId="12218" Score="1" Text="i agree completely, social engineering is far easier than heap overflows. you will really like this http://archive.cert.uni-stuttgart.de/isn/2006/01/msg00055.html" CreationDate="2011-04-29T06:29:29.723" UserId="2597" />
  <row Id="16429" PostId="12255" Text="@Gilles: Ok. I was confused about whether it was using regex or shell wildcards. I presume the section http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13 in the POSIX standard you linked to specifies shell wildcards, though that is not very clear. Thanks." CreationDate="2011-04-29T07:01:46.193" UserId="4671" />
  <row Id="16430" PostId="12146" Text="@ak2 Looks like you might be [right](http://www.connectrf.com/documents/vt220.html).  Odd, I can't find mention of the remove and similar function keys on the [VT-200 Programmer Reference Manual](http://vt100.net/docs/vt220-rm/) from [vt100.net](http://vt100.net/).  Must just be incomplete.  I'd love to get my hands on a real DEC Terminal someday." CreationDate="2011-04-29T07:47:08.353" UserId="6167" />
  <row Id="16431" PostId="11847" Text="Well, this isn't a complete answer, but nobody else responded. So I guess I accept this. :-)" CreationDate="2011-04-29T07:58:17.203" UserId="4671" />
  <row Id="16432" PostId="12276" Text="Thanks.. The `echo` won't do what I want, as Codepoints are 2-byte UTF-16 Big-Endian.. but you've reminded me that there are **2** printf functions! (I thought printf could do it, and it seems that I ws invoking the wrong one)... `$(which printf)` works... Thanks for the python example.. but for this (my learning curve), I'm trying to stick as close as possible to &quot;bash&quot; as the only scriting language involved.. (when I'm comfortable enough with bash, I'll get stuck into Python... btw, `.encode('hex')` is one step beyond what I need.. (I thought it looked a bit busy in there :)&#xA;" CreationDate="2011-04-29T08:02:05.323" UserId="2343" />
  <row Id="16433" PostId="12276" Text="Yeah, the .encode('hex') was just to get the hex code that seemed to work with echo for me.  Glad that at least part of this was helpful." CreationDate="2011-04-29T08:07:01.083" UserId="1207" />
  <row Id="16434" PostId="12276" Text="I've just now seen you perl snippet.. thanks... it's good to have these various solutions tabled...  The printf one is exactly what I was looking for (a single command, as per the zsh example) ..... I may a well post my *not-using-another-scripting-language* method which works on a stream of hex data (no \u, etc).." CreationDate="2011-04-29T08:11:42.650" UserId="2343" />
  <row Id="16435" PostId="12185" Text="CPU usage reported in Solaris mode is as much correct as it is in Irix mode. What problem are you trying to solve ?" CreationDate="2011-04-29T08:28:09.077" UserId="2594" />
  <row Id="16436" PostId="12248" Text="Why mention Ubuntu? Did it seem like I'm using it?" CreationDate="2011-04-29T08:29:52.777" UserId="688" />
  <row Id="16437" PostId="12218" Text="&quot;If you lack boobs, consider offering up a pointless game or something&quot;.. seriously? You put both of them in the same category of effectiveness?! :)" CreationDate="2011-04-29T08:40:21.383" UserId="7070" />
  <row Id="16438" PostId="12218" Text="&quot;Consider offering up a pointless game or something that idiots will download for fun...&quot; -- Ahh, so that's the idea behind Farmville and Evony." CreationDate="2011-04-29T08:43:00.053" UserId="4949" />
  <row Id="16439" PostId="12274" Text="This doesn't seem to work. I get `sh foo.sh 111` -&gt; `'111' has a non-digit somewhere in it`" CreationDate="2011-04-29T08:43:07.793" UserId="4671" />
  <row Id="16440" PostId="12248" Text="@Tshepang: It was just for the record. I'm not sure what you currently using. You didn't specify." CreationDate="2011-04-29T08:46:40.443" UserId="4671" />
  <row Id="16441" PostId="12283" Text="That doesn’t happen on Solaris, Darwin, or OpenBSD.  " CreationDate="2011-04-29T03:34:41.247" UserId="2649" />
  <row Id="16442" PostId="12146" Text="@penguin359 The editing keypad appears on the page you linked to actually, with a pointer to [a table](http://vt100.net/docs/vt220-rm/table3-1.html) listing its keys." CreationDate="2011-04-29T08:57:27.777" UserId="2978" />
  <row Id="16443" PostId="12279" Text="Thanks... the perl one in nice and terse, but it has me a bit puzzled as to how it knows to treat the value as UTF-16BE.. I guess that's what the &quot;chr&quot; means..." CreationDate="2011-04-29T09:08:15.590" UserId="2343" />
  <row Id="16444" PostId="12277" Text="In Arch, you start X with the command: startx - and Ctrl-Alt-Backspace is disabled by default... Also, he doesn't need an xorg.conf" CreationDate="2011-04-29T09:26:12.607" UserId="6761" />
  <row Id="16445" PostId="12288" Text="Add this line to your `~/.zshrc`: setopt menu_complete See `man zshoptions` for details." CreationDate="2011-04-23T17:06:31.630" UserId="5539" />
  <row Id="16446" PostId="12284" Score="1" Text="I remember that double slash to allow remote file system access in an early system V implementation (Utek V &amp; DFS). The syntax was //servername/path. Just like Solaris automounter would use now /net/servername/path." CreationDate="2011-04-29T09:39:55.897" UserId="2594" />
  <row Id="16447" PostId="12284" Score="1" Text="[Linux doesn't do anything about `//`, it's bash.](http://unix.stackexchange.com/questions/12283/unix-difference-between-path-starting-with-and/12291#12291)" CreationDate="2011-04-29T10:11:38.747" UserId="885" />
  <row Id="16448" PostId="12282" Text="[Welcome to Stack Exchange](http://unix.stackexchange.com/about). Answers are not presented in chronological order, so “previous answer” doesn't convey which answer you mean. I wonder which of the other two you're referring to anyway: one doesn't have anything that looks like good or bad practice, and the other one does mention the inotify API." CreationDate="2011-04-29T10:14:06.780" UserId="885" />
  <row Id="16449" PostId="12279" Text="@fred that's a good point.  The Perl example is locale sensitive.  The -C enables full Unicode processing, but the example works because my locale uses a Unicode example.  If I set LANG to C, I get a warning about a wide character in print, but it still prints.  If I print `chr 0xa2` in a UTF-8 locale I get a cents sign ¢, but if I use LANG=C, I get � because it prints out the byte 0xa2 which is invalid in UTF-8.  The Vim/GVim example is semi-sensitive to the locale.  More correctly, to the file encoding.  If you started Vim in a non-UTF-8 locale, you will need to `:set encoding=utf-8`" CreationDate="2011-04-29T10:41:47.620" UserId="6167" />
  <row Id="16450" PostId="12146" Text="@ak2 you're right, I guess I was taking too quick a glance. I didn't understand what &lt;X] (Delete) which sends DEL meant. Looking at the keyboard, I realize they were trying to be clever and post the symbol for the Backspace (Delete) key in ASCII and I assumed any actual [Forward] Delete key would be called Delete and not Remove. It looks like the VT-220 only sends the ASCII Backspace character from F12 when operated in VT-100 compatibility mode. I've spent much more time studying the VT-102 and naturally assume the VT-220 had the same Backspace and Delete keys which send ^H and ^? respectively" CreationDate="2011-04-29T10:54:36.817" UserId="6167" />
  <row Id="16451" PostId="12293" Score="1" Text="What do you mean by &quot;snap&quot;?" CreationDate="2011-04-28T17:38:06.600" UserId="3300" />
  <row Id="16452" PostId="12287" Text="Post the contents of `/var/log/syslog` containing a full cycle of pppoe to deconnection." CreationDate="2011-04-29T11:25:48.900" UserId="885" />
  <row Id="16453" PostId="12275" Text="If “magic track pad” software or hardware? If it's software, what does it do? If it's hardware, this site isn't the right place for your question: we can help with finding drivers, but not with finding the hardware (and Stack Exchange in general usually rejects shopping questions)." CreationDate="2011-04-29T11:30:17.400" UserId="885" />
  <row Id="16454" PostId="12109" Text="@Oli They do get cleared out when you reboot. You can save and restore the rules with `iptables-save` and `iptables-restore`. If you're using NetworkManager, you can setup dispatcher scripts to automate the process. Unfortunately, the official NM page doesn't have documentation about the feature, but [Ubuntu](https://help.ubuntu.com/community/IptablesHowTo#Configuration%20on%20startup, &quot;Network Manager Config&quot;) and [Arch Linux](https://wiki.archlinux.org/index.php/NetworkManager#Network_Services_with_NetworkManager_Dispatcher) documentation both mention it." CreationDate="2011-04-29T12:55:44.560" UserId="2180" />
  <row Id="16455" PostId="12234" Text="@Axeman: Also, *still* -1 for the regexitis instead of `system(&quot;mv&quot;, $old, $new)`. Sorry :D" CreationDate="2011-04-29T13:12:34.160" UserId="2168" />
  <row Id="16456" PostId="12283" Text="@tchrist: This behavior is specific to Bourne shell; you are probably using `zsh` or the like." CreationDate="2011-04-29T13:14:27.857" UserId="2168" />
  <row Id="16457" PostId="12283" Text="@grawity: No no no. It is a namei() thing, not a shell thing!! It happens on Linux, just not on the others." CreationDate="2011-04-29T13:16:37.810" UserId="2649" />
  <row Id="16458" PostId="12283" Text="@thchrist: 1) What do you mean by &quot;namei()&quot;? If you are referring to a syscall or library function, then I haven't yet heard of such. There's only a `/usr/bin/namei`, but it is not related. 2) It *is* a shell thing, since it only happens with `sh` and `bash`, but not with `zsh/csh/tcsh`, nor with the `chdir()` syscall. 3) It *happens* on &quot;the others&quot; - I just tested NetBSD 5.0 and FreeBSD 6.3, and `cd //bin` shows exactly the same behavior." CreationDate="2011-04-29T13:28:04.787" UserId="2168" />
  <row Id="16459" PostId="12274" Text="@faheem-mitha I've updated answer." CreationDate="2011-04-29T13:58:28.460" UserId="6988" />
  <row Id="16460" PostId="5020" Text="Yes a tutorial would be great." CreationDate="2011-04-29T14:09:31.253" UserId="1375" />
  <row Id="16461" PostId="12306" Text="Thanks. But it will only delete the files right not damage the disk, right? After using DBAN I will be able to use the HDD again right?" CreationDate="2011-04-29T15:23:28.743" UserId="7075" />
  <row Id="16462" PostId="12306" Text="@Lispninjutsu, yes, it only deletes the data; it doesn't damage the disk.  But you'll need to format it again in order to use it, like you'd just bought it." CreationDate="2011-04-29T15:26:04.550" UserId="2421" />
  <row Id="16463" PostId="12306" Text="@cjm, Thank you very much!" CreationDate="2011-04-29T15:28:53.760" UserId="7075" />
  <row Id="16464" PostId="12234" Text="@grawity, no problem. It was a slap-dash deal anyway. " CreationDate="2011-04-29T15:29:48.817" UserId="1178" />
  <row Id="16465" PostId="12309" Text="@Sanda: The short answer to your question at the end is - it depends. I'm not sure exactly what your question is. Do you want to know how to apply a kernel patch? Or something else?" CreationDate="2011-04-29T16:19:43.450" UserId="4671" />
  <row Id="16466" PostId="12188" Text="gnome 2.6 both on ubuntu and debian, But my problem is how to quit it" CreationDate="2011-04-29T16:27:00.840" UserId="2490" />
  <row Id="16467" PostId="12286" Text="Since it seems you used penguin359's information in your answer, you might consider marking his answer as correct rather than mine." CreationDate="2011-04-29T16:31:46.570" UserId="1207" />
  <row Id="16469" PostId="12286" Text="@Steven D: a noteworthy comment, but &quot;seem&quot; is the operative word. I've been using iconv like this for a couple of days now, which got me wondering if there is a single command. I've done similar entire-file processing in windows (C++), so I have a reasonlabe understanding of Unicode. I was really after a quick and simple `bash` method. By &quot;bash&quot; I mean: using the bash scripting language; not python/perl from within bash). I've added this as an answer because it may be of some value to someone reading this page. It is good one-liner for an entire file. Your `printf` is the best answer for me." CreationDate="2011-04-29T16:59:23.383" UserId="2343" />
  <row Id="16470" PostId="12309" Text="@Faheem: To be more specific, I am wondering if I would need to do a patch (i.e if the patch has &quot;2.6.25&quot; in the filename, does this mean that in a 2.6.26 kernel, this patch wouldn't need to be applied?)" CreationDate="2011-04-29T17:11:51.257" UserId="5944" />
  <row Id="16471" PostId="12312" Score="1" Text="`dd if=/dev/urandom of=[your disk... make sure you get it right] bs=10M` is not much slower and pretty much guarantees the data will be unreadable through published techniques even with an electronics lab." CreationDate="2011-04-29T17:12:17.433" UserId="885" />
  <row Id="16472" PostId="12306" Score="3" Text="DBAN is effective but overkill. A simple overwrite with random data is effective with modern hard disks (I can't find the reference right now, but I remember reading a paper showing a best-case probability of recovery of &lt;55% *per bit (independent)* with fairly heavy equipment, after a one-pass overwrite)." CreationDate="2011-04-29T17:17:00.530" UserId="885" />
  <row Id="16473" PostId="12279" Text="@fred I should point out, Perl treat the value of chr as a Unicode codepoint if Perl is started in a Unicode locale like UTF-8.  A codepoint is the unique number that represents a character and is not tied to any one encoding such as UTF-16BE or UTF-8.  It converts it to the correct encoding when it prints it out.  For example, the Cuneiform Sign A is codepoint U+012000.  I can use `chr 0x12000` in Perl (assuming Unicode is active) to represent it.  In UTF-16BE, this is 0xd8, 0x08, 0xdc, and 0x00.  You character is U+0965 which just happens to be the bytes 0x09 followed by 0x65 in UTF-16BE." CreationDate="2011-04-29T17:25:09.460" UserId="6167" />
  <row Id="16474" PostId="12313" Text="Thank you but this doesn't work. When I press `AltGr + n` it prints `:`. And it would be better to map it with caps lock or other key because AltGr would conflict in many applications." CreationDate="2011-04-29T17:27:41.740" UserId="6215" />
  <row Id="16475" PostId="12306" Text="@Gilles It doesn't even have to be random -- zero-out the drive is, for all practical purposes, just as effective. Nothing against DBAN (it certainly works) nor against random data (which also works), but it's a very common myth that overwritten data can still be recovered, when the truth is that no such thing has ever been accomplished (with any reasonable probability of success)." CreationDate="2011-04-29T18:06:25.493" UserId="6208" />
  <row Id="16476" PostId="12274" Text="`case` is also POSIX-compliant, and it's a shell built-in construct. If you insist on using `expr` (I can't think of a good reason where `case` is enough, i.e. you can make do with wildcards), use its return result: `if expr &quot;$1&quot; : '[0-9]*' &gt;/dev/null; then …` Note also that your regexp is not portable: `expr` matches are always anchored, and some implementations treat `^` and `$` literally." CreationDate="2011-04-29T18:08:27.567" UserId="885" />
  <row Id="16477" PostId="12306" Text="@Kromey: The article I remember (but can't find now) mentioned a worrying-if-you're-paranoid recovery rate for a simple zeroing, if the attacker has expensive equipment. If you can find a reference, please share!" CreationDate="2011-04-29T18:16:30.807" UserId="885" />
  <row Id="16478" PostId="12306" Text="@Gilles, I believe current versions of DBAN also offer faster methods like a PRNG wipe in addition to the more exhaustive methods." CreationDate="2011-04-29T18:19:30.770" UserId="2421" />
  <row Id="16479" PostId="12304" Score="2" Text="I see a lot of answers/comments remarking on the need to overwrite with random data and/or overwrite a disk multiple times. According to the NIST http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBoQFjAA&amp;url=http%3A%2F%2Fcsrc.nist.gov%2Fpublications%2Fnistpubs%2F800-88%2FNISTSP800-88_rev1.pdf&amp;rct=j&amp;q=sp-800-88&amp;ei=Tga7TdGgKOH30gHnncHEBQ&amp;usg=AFQjCNH59_l6pt79o5EPsmKBXsA6fq2qhg&amp;sig2=fPiLyYt4fROjaWv9iU_j0Q&amp;cad=rja (pdf), any hard disk manufactured after 2001 need only be overwritten once with zeros to completely destroy the data such that not even a laboratory can recover it." CreationDate="2011-04-29T18:43:00.033" UserId="5453" />
  <row Id="16480" PostId="12318" Text="thank you. sorry for the brevity" CreationDate="2011-04-29T18:56:31.237" UserId="7080" />
  <row Id="16481" PostId="12322" Text="@yasouser: That looks perfect, thanks!" CreationDate="2011-04-29T19:59:47.103" UserId="1375" />
  <row Id="16482" PostId="12329" Text="Thank you for the response:) I was looking for a good grafical gui for firewall to use at a demostration. So there arent any good-equilivement GUI for ipatables?" CreationDate="2011-04-29T20:11:08.487" UserId="3378" />
  <row Id="16483" PostId="12329" Text="What have you found to be missing from system-config-firewall (System -&gt; Administration -&gt; Firewall)?" CreationDate="2011-04-29T20:17:50.687" UserId="1295" />
  <row Id="16484" PostId="12314" Score="1" Text="Thanks, that was helpful. I actually didn't realize when I asked this question that patches are just results of diff (with some change), so this means that if I really needed to apply a patch for whatever reason, I'd need to get the patch that specifies my kernel version, right?" CreationDate="2011-04-29T20:18:30.013" UserId="5944" />
  <row Id="16486" PostId="12135" Text="FYI, I still don't understand what you're getting at. You already have two versions of Java, and can choose the default one by calling `sudo update-alternatives …`. Are you looking for a place to download other versions?" CreationDate="2011-04-29T21:12:48.893" UserId="885" />
  <row Id="16487" PostId="12335" Text="Be sure to browse [`bash+prompt`](http://unix.stackexchange.com/questions/tagged/bash+prompt), though I don't think we have a tutorial in there." CreationDate="2011-04-29T21:16:53.930" UserId="885" />
  <row Id="16488" PostId="3196" Text="Agrree with caleb, this smells of big homework/thesis.  &quot;Please explain X, Y and Z&quot; really sounds like an exam question ;-P" CreationDate="2011-04-29T21:41:11.390" UserId="4206" />
  <row Id="16489" PostId="8353" Text="It's &quot;Minix&quot;, not &quot;Minux&quot;... pedantically y'rs ;-)" CreationDate="2011-04-29T21:43:22.807" UserId="4206" />
  <row Id="16490" PostId="8353" Text="Oh, and the answer is full or errors anyway." CreationDate="2011-04-29T21:45:54.410" UserId="4206" />
  <row Id="16491" PostId="12312" Text="Read the great answer I received [here](http://superuser.com/q/270556/35856) about wiping, how often." CreationDate="2011-04-29T21:58:28.820" UserId="4485" />
  <row Id="16492" PostId="12290" Text="Do you want Caps Lock to also have the caps lock effect? Do you also have an `AltGr` key (i.e. a key that makes some character keys insert a different character, never mind that it's the right Alt key or not)?" CreationDate="2011-04-29T22:37:44.377" UserId="885" />
  <row Id="16493" PostId="12341" Text="You probably need to change ownership of some files, or run a command as the right user. I don't know anything about installing DokuWiki, so have no idea which files or which commands or which users." CreationDate="2011-04-29T22:52:13.510" UserId="885" />
  <row Id="16494" PostId="12332" Text="I'm not sure the question is a duplicate, but the answer there seems to cover this pretty well" CreationDate="2011-04-29T23:05:05.857" UserId="73" />
  <row Id="16495" PostId="12332" Text="You might be interested in this very smart chart of the [unix history](http://www.levenez.com/unix/) ;-)" CreationDate="2011-04-29T21:05:12.060" UserId="6890" />
  <row Id="16496" PostId="12340" Text="Bash does not use the ansi colour scheme. It is the terminal that implements the escape codes. Bash will work on any terminal, so it may be best to use `tput setf _n_` to get the escape code to set the foreground colour." CreationDate="2011-04-29T23:24:14.177" UserId="1078" />
  <row Id="16497" PostId="12316" Score="1" Text="Or you could use the [mini.iso](https://help.ubuntu.com/community/Installation/MinimalCD) (~20 MB) and install what you want from there." CreationDate="2011-04-30T00:29:58.660" UserId="5770" />
  <row Id="16498" PostId="12317" Score="1" Text="+1 for Puppy. Amazing distro and definitely worth a try." CreationDate="2011-04-30T00:31:09.440" UserId="5770" />
  <row Id="16499" PostId="12279" Text="@penguin359.. Thanks, one day (hopefully) I'll have a good look at perl.. It seems unfathomably cryptic, but then so did sed and regex, initially, and now it is quite easy... maybe it's a bit like vim; a steep learning curve, then plain sailing.... It's good to read your explanation... it paves the way.." CreationDate="2011-04-30T00:45:25.923" UserId="2343" />
  <row Id="16500" PostId="12312" Text="`/dev/zero` is *way* faster on my computer.." CreationDate="2011-04-30T01:00:00.380" UserId="6246" />
  <row Id="16506" PostId="12271" Text="`# pacman -S xorg-twm xorg-xclock xterm` made it work. Thanks!" CreationDate="2011-04-30T06:14:31.190" UserId="3496" />
  <row Id="16507" PostId="6408" Text="Great answer. Very helpful." CreationDate="2011-04-30T06:41:52.240" UserId="5770" />
  <row Id="16508" PostId="12355" Score="1" Text="If you think there are problems, I'd suggest a reinstallation from scratch. Is there some reason  you can't do that? You've have plenty of opportunities to fix up your system once you have a proper installation.:-) You don't need to start now." CreationDate="2011-04-30T07:41:05.453" UserId="4671" />
  <row Id="16509" PostId="12355" Score="1" Text="Have you set the flag as 'bootable' on the appropriate partition? It appears that you haven't as there's no '*' in the Boot column." CreationDate="2011-04-30T07:42:14.503" UserId="5770" />
  <row Id="16510" PostId="12355" Text="@ Faheem Mitha:  you are right of course. It's purely educational for me:) I'm trying to learn as much about how linux systems work:)" CreationDate="2011-04-30T07:44:34.643" UserId="2657" />
  <row Id="16511" PostId="12355" Text="@ boehj: yep -I have just set active flasg on sda5 - which is a root partition. but still no dice." CreationDate="2011-04-30T07:45:40.930" UserId="2657" />
  <row Id="16512" PostId="12355" Score="1" Text="Afaik linux doesn't care about having a primary partition. Can you give what error messages you get on boot? Also possibly your grub config (if it is not too long)." CreationDate="2011-04-30T07:49:15.040" UserId="4671" />
  <row Id="16513" PostId="12355" Text="grub file is pretty long one:) mmm. i think the problem could be this line: set root='(hd1,msdos5)' - i don't have any msdos partitions... :)" CreationDate="2011-04-30T07:58:10.820" UserId="2657" />
  <row Id="16515" PostId="12354" Text="You will need to post your profile (with sensitive information removed, naturally) if you want help with this issue. Also, check the permissions on the file..." CreationDate="2011-04-30T08:01:21.720" UserId="6761" />
  <row Id="16516" PostId="12355" Score="1" Text="You said that recovery mode worked, but regular didn't, right? If the root was wrong they would both fail. Still, the msdos thing looks strange. What did you format root as?" CreationDate="2011-04-30T08:02:52.983" UserId="4671" />
  <row Id="16517" PostId="12355" Text="mmm:) sorry - I should have mentioned - recovery mode from usb drive.  Drives are ext4." CreationDate="2011-04-30T08:04:58.410" UserId="2657" />
  <row Id="16518" PostId="12355" Score="1" Text="@andre - 'msdos' in this context means an MBR partition table as opposed to a GUID partition table (i.e. this isn't your problem)." CreationDate="2011-04-30T08:06:45.287" UserId="5770" />
  <row Id="16519" PostId="12355" Score="1" Text="@Andre: you'll have to reboot if you want to get the error messages, and probably manually transcribe the messages." CreationDate="2011-04-30T08:30:52.087" UserId="4671" />
  <row Id="16520" PostId="12355" Score="1" Text="@boehj: My bad. I should have checked before speaking." CreationDate="2011-04-30T08:31:35.097" UserId="4671" />
  <row Id="16521" PostId="12349" Text="One of the best bashrc definitions I have seen till now!" CreationDate="2011-04-30T08:47:38.463" UserId="3493" />
  <row Id="16523" PostId="12351" Text="Shred is the most promising _solution [ answer ]_ for this Question." CreationDate="2011-04-30T10:02:52.537" UserId="4843" />
  <row Id="16524" PostId="12345" Text="The other was shorter, so accepted that. Excellent answer though, thank you!" CreationDate="2011-04-30T10:37:18.680" UserId="3775" />
  <row Id="16525" PostId="12346" Text="Short and sweet, thank you! Do you know where I can read about the `--` modifier?" CreationDate="2011-04-30T10:37:36.887" UserId="3775" />
  <row Id="16526" PostId="12346" Score="2" Text="@Znarkus: `--` to signify the end of options is a convention that most commands obey. E.g. `tail -n +1 -- -f -g` tells `tail` that `-f` and `-g` are files to read (operands) and not options. It's guideline 10 in the [POSIX utility syntax guideline](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02) (a document intended for utility writers). I don't have a reading suggestion intended for end-users, I'd expect a good unix tutorial to cover it at some point." CreationDate="2011-04-30T10:50:01.493" UserId="885" />
  <row Id="16527" PostId="12361" Text="I did point out in the comments that I'm doing it only to better understand how linux works. I've reinstalled it from scratch already with the same result though." CreationDate="2011-04-30T11:16:33.583" UserId="2657" />
  <row Id="16529" PostId="12355" Score="1" Text="Your question is missing a description of what happens when you boot. What do you see on the screen after the BIOS has finished its stuff and loaded (or tried to load) Grub?" CreationDate="2011-04-30T11:44:49.887" UserId="885" />
  <row Id="16530" PostId="12353" Text="And to answer the first part of the question (why): `wget` prints tracing information to standard output and downloads the content to a file whose name is derived from the URL and server response. Also, use `-q` to suppress tracing information." CreationDate="2011-04-30T12:12:35.197" UserId="885" />
  <row Id="16531" PostId="12349" Text="Variables would save on typing: `bright=$'\e1m'` and so on. (Unless you need compatibility with very old versions that didn't have the `$'…'` syntax.)" CreationDate="2011-04-30T12:17:23.223" UserId="885" />
  <row Id="16532" PostId="12367" Text="can is send packets to the port if nothign is connected ?" CreationDate="2011-04-30T12:53:15.510" UserId="5926" />
  <row Id="16533" PostId="12290" Text="Caps Lock can lose its effect. Or it can be mapped to Fn key + n or something what is comfortable to press and not colliding (Alt is colliding and Win key is already in use)." CreationDate="2011-04-30T13:25:37.990" UserId="6215" />
  <row Id="16534" PostId="12355" Text="@everyone: got it fixed. was just my dumb wrong assumption. Thanks for help;) see update 4" CreationDate="2011-04-30T13:43:12.493" UserId="2657" />
  <row Id="16535" PostId="726" Text="About keeping old versions of MacOS: I use Parallel to keep separated VMs with a given OS X version if I want to test backward compatibility. I recommend this or a similar tool for app testing." CreationDate="2011-04-30T13:59:04.267" UserId="6436" />
  <row Id="16536" PostId="12339" Text="I have a problem running Autokey in XFCE and Autokey does not support unicode (see [here](http://askubuntu.com/questions/23305/is-there-any-way-of-adding-chinese-characters-to-autokey))" CreationDate="2011-04-30T14:15:46.960" UserId="6215" />
  <row Id="16537" PostId="12275" Text="Where then should i ask for hardware witch would work under Linux? I won't use it under any other platform there fore i thought it would be appropriate place since my main concern that it would work under Linux." CreationDate="2011-04-30T14:27:15.573" UserId="3384" />
  <row Id="16538" PostId="12349" Text="@Gilles, you misunderstood: I prefer to type `blue`at the prompt (or in a shell script) than `echo $blue`." CreationDate="2011-04-30T14:48:46.763" UserId="3519" />
  <row Id="16539" PostId="12275" Text="@JackLeo: First, you should clarify your question: make it clear that you're looking for hardware, and describe what you want that an ordinary touchpad doesn't do. On asking about hardware supported by Linux, we don't have an established policy; [I've raised the issue on our meta-discussion site](http://meta.unix.stackexchange.com/questions/600/hardware-recommendations-whats-the-limit)." CreationDate="2011-04-30T15:14:11.693" UserId="885" />
  <row Id="16540" PostId="12376" Text="Yes it is. I even explicitly told BIOS to boot that drive, with the same result." CreationDate="2011-04-30T15:19:59.890" UserId="2333" />
  <row Id="16541" PostId="12377" Text="@Gilles: Alas, no dice. I selected the USB's option to &quot;Boot existing OS&quot;. As is, the screen went blank and then returned me to the USB's Live menu. Pressing TAB after selecting that option allows me to edit which drive to boot, giving me a prompt that says `chain.c32 hd0 0`. Changing this to `hd1 0` and hitting ENTER, I get a black screen that says `Booting...` and then the blinking cursor that does nothing." CreationDate="2011-04-30T15:56:14.507" UserId="2333" />
  <row Id="16542" PostId="2978" Text="Saying &quot;Ubuntu actually doesn't use the bash shell&quot; is imprecise and technically incorrect. Ubuntu *does* use the bash shell, the point is that `sh` corresponds to `dash`, but not to `bash`." CreationDate="2011-04-30T16:16:17.860" UserId="4671" />
  <row Id="16544" PostId="12370" Text="You went from talking about DokuWiki to MediaWiki halfway through your response, but otherwise it was very helpful :) Thank you for your very helpful comment." CreationDate="2011-04-30T17:04:58.883" UserId="7089" />
  <row Id="16548" PostId="12373" Text="This works perfectly. Thanks... very interesting...  *`keysym n =`* and *`keycode 57 =`*, do the same thing, but I suppose that using `keysym` is more portable... another mystery demystified...  (and it is easy to toggle it via a hotkey, to quickly get access the caps-lock again) ... " CreationDate="2011-04-30T18:22:40.467" UserId="2343" />
  <row Id="16549" PostId="12384" Text="thanks for that !! i will give it a try. by the way i solved the issue from my java side. i was missing a \r, so that prevented my message from writing on to the port. thanks for that anyways!!" CreationDate="2011-04-30T18:24:42.543" UserId="5926" />
  <row Id="16550" PostId="5508" Text="Thanks for the edit!" CreationDate="2011-04-30T18:32:23.420" UserId="3493" />
  <row Id="16551" PostId="12359" Text="Packets aren't written on the port.  Characters are.  It's not like Ethernet at all.  " CreationDate="2011-04-30T18:33:45.657" UserId="3389" />
  <row Id="16552" PostId="12372" Text="I've never used an AltGr &quot;enabled&quot; keyboard before, but I think that simply setting Caps-Lock to be AlgGr isn't enough... all relevant keys would need to be set to act differntly when AlgGr is pressed... A standard US keyboard mapping is not aware of anything other than ASCII characters." CreationDate="2011-04-30T18:34:42.380" UserId="2343" />
  <row Id="16553" PostId="12313" Text="@nozimica: You show 6 values: `n N n N n N` .. I only get **4** values in the output from `xmodmap` (Ubuntu) and it works when I set the 3rd and 4th values, but fails on 5th and 6th... You even mention the words &quot;fitth&quot; and &quot;sixth&quot; ... Is there a difference in implementation of `xmodmap` from one distro to another?  " CreationDate="2011-04-30T18:56:25.257" UserId="2343" />
  <row Id="16554" PostId="12388" Text="Nope, trying to boot from HDD, the USB is just the installation medium." CreationDate="2011-04-30T19:52:12.540" UserId="2333" />
  <row Id="16556" PostId="12388" Text="Can you edit your original post to provide a bit more detail: your partitions, filesystems etc? That might provide a little more to diagnose." CreationDate="2011-04-30T20:35:17.893" UserId="6761" />
  <row Id="16557" PostId="12372" Text="Well, you would also have to do the mapping mentioned in the other answer. I thought that would go without saying." CreationDate="2011-04-30T20:52:44.897" UserId="6290" />
  <row Id="16558" PostId="12388" Text="@jasonwryan: I've added some details. I'm not 100% sure about all of it, but I'll check next time I can boot it up." CreationDate="2011-04-30T21:00:56.517" UserId="2333" />
  <row Id="16559" PostId="12313" Text="@fred: I use ubuntu in two different machines and in both of them I get six values for that command... I don't know why the difference with you. May be it doesn't depend on the distribution but it does according to other circumstances or settings..." CreationDate="2011-04-30T22:08:37.897" UserId="6803" />
  <row Id="16560" PostId="12388" Text="For dual booting - I'd chainload: https://wiki.archlinux.org/index.php/Windows_and_Arch_Dual_Boot" CreationDate="2011-04-30T22:41:39.023" UserId="6761" />
  <row Id="16561" PostId="12388" Text="@jasonwryan: I'm not dual-booting yet. I want to get ONE hard drive working before I worry about the other one." CreationDate="2011-04-30T22:57:47.977" UserId="2333" />
  <row Id="16562" PostId="12354" Score="1" Text="It looks OK to me. Try creating another profile with a different name and seeing if you get the same error. Also, make sure you can connect manually." CreationDate="2011-04-30T23:00:23.057" UserId="6761" />
  <row Id="16563" PostId="12388" Text="OK. Then all I can suggest is that you reinstall grub." CreationDate="2011-04-30T23:03:52.397" UserId="6761" />
  <row Id="16564" PostId="12388" Text="Added the output of `fdisk -l`, if it helps. Should I reinstall the whole thing, or just grub, and if just grub, how do I do that?" CreationDate="2011-04-30T23:06:28.797" UserId="2333" />
  <row Id="16565" PostId="12388" Text="Just grub. There are instructions here: https://wiki.archlinux.org/index.php/Change_Root and https://wiki.archlinux.org/index.php/Grub#Finding_GRUB.27s_root" CreationDate="2011-04-30T23:12:29.453" UserId="6761" />
  <row Id="16566" PostId="12377" Text="@Wolf: Given you've now said you have two disks and Linux is on `sdb`, I think the device map is the problem. See my edit." CreationDate="2011-04-30T23:26:40.107" UserId="885" />
  <row Id="16567" PostId="12392" Text="Nope. I tried that. Putting in: &quot;export PATH=$PATH:/home/ahuq/MappingServer/md5_program&quot; at the end of &quot;/home/ahuq/.bashrc&quot; and &quot;/home/ahuq/.profile&quot; files do not help.   " CreationDate="2011-05-01T00:07:55.200" />
  <row Id="16568" PostId="12313" Text="@xralf: Are your `Alt` and `AltGr` keys identical in behaviour?" CreationDate="2011-05-01T01:09:42.413" UserId="6803" />
  <row Id="16569" PostId="12391" Score="1" Text="It seems like your .bashrc and .profile files aren't running. If you do `source ~/.bashrc` or `source ~/.profile`, does the path get fixed?" CreationDate="2011-05-01T01:21:42.553" UserId="2180" />
  <row Id="16570" PostId="12392" Text="Just to be sure - you also need to either log out and back in after adding `export` or you need to manually source the files from the command line by `source ~/.bashrc`" CreationDate="2011-05-01T01:29:58.697" UserId="2180" />
  <row Id="16571" PostId="12390" Text="Is UTC the server timezone?  Are you sure there's no cron jobs run at that time?  e.g. `makewhatis`/`man-db` and `slocate`/`mlocate` do a lot of disk access." CreationDate="2011-05-01T02:48:03.590" UserId="3169" />
  <row Id="16572" PostId="12390" Text="And can you add the relevant part of your cron log to the question please?" CreationDate="2011-05-01T02:58:48.373" UserId="3169" />
  <row Id="16573" PostId="12390" Text="Is this server also an NFS server?  Maybe there is a backup running on a different host that is using NFS to talk to your server." CreationDate="2011-05-01T03:06:27.090" UserId="3169" />
  <row Id="16574" PostId="12380" Text="ohk.. Thanx for the info.." CreationDate="2011-05-01T04:03:43.290" UserId="2490" />
  <row Id="16575" PostId="12354" Text="Tried creating a new profile and it worked :) Thanks. It seems I had created a directory for a profile instead of a file. " CreationDate="2011-05-01T06:31:40.937" UserId="3496" />
  <row Id="16576" PostId="12397" Text="Yep, these were what I was after, unfortunately seems not compatible with my end goal, but the question is answered." CreationDate="2011-05-01T06:54:53.957" UserId="2629" />
  <row Id="16578" PostId="12370" Text="There's no need to `cd` into a directory in order to work with it. That's the inefficiency from the GUI way of doing things. Just do, for example, `chown www-data:www-data -R /var/www/mediawiki`." CreationDate="2011-05-01T08:23:40.680" UserId="688" />
  <row Id="16579" PostId="12370" Text="Why are changing the group? Isn't just changing the owner sufficient?" CreationDate="2011-05-01T08:24:12.880" UserId="688" />
  <row Id="16580" PostId="12086" Text="definitely a silly question... but can't stop myself. You said &quot;Mounting associates a directory with the root of the filesystem.&quot; So where is &quot;/&quot; directory located?" CreationDate="2011-05-01T08:35:07.537" UserId="6962" />
  <row Id="16581" PostId="12314" Text="@SandraE: Not necessarily. For example, if you are patching parts of the kernel that haven't changed forever, the the patch will apply. Also, patching is smart enough that it would apply to newer, although it will tell you that stuff you are patching has changed since the patch was created. In other cases you'll get conflicts, which basically means that the change the patch introduces doesn't comply with a different change, and this happens when both changes modify the same line(s)." CreationDate="2011-05-01T08:49:03.680" UserId="688" />
  <row Id="16582" PostId="12321" Text="As [mentioned](http://unix.stackexchange.com/q/12319/12334#12334), one advantage of keeping `/home` partition separate is to ease system re-installation." CreationDate="2011-05-01T08:55:50.773" UserId="688" />
  <row Id="16584" PostId="12275" Text="@Gilles, Thank you. Please notify if possible on results, what in this case i should do. :) Good luck. " CreationDate="2011-05-01T09:43:48.333" UserId="3384" />
  <row Id="16585" PostId="12036" Text="Thank you, you're right. I'm not sure why I didn't see that earlier. Is it possible to get it to redisplay the list on 2nd, 3rd, 4th TAB instead of nothing? Human instinct is to think your keyboard isn't working if nothing happens on 2nd, 3rd, 4th tab keypress." CreationDate="2011-05-01T10:10:56.060" UserId="7000" />
  <row Id="16586" PostId="12036" Text="@user7000: Again, it does redisplay the list each time you press `Tab`. If I clear the screen from the terminal emulator menu, or create a file, then press `Tab` again, zsh redisplays the list and shows the new file. (Just tested with zsh 4.3.4, and I don't think that behavior has changed in a long time.)" CreationDate="2011-05-01T10:59:38.990" UserId="885" />
  <row Id="16587" PostId="12086" Text="@John: Not a silly question at all, the words “filesystem” and “root” have two different meanings here: there are individual filesystems (each with their root), and there's the whole directory hierarchy (with its root, the `/` directory). I've reworded this part of my answer, hopefully it should be clearer now." CreationDate="2011-05-01T11:17:21.150" UserId="885" />
  <row Id="16588" PostId="12086" Text="@Gilles - That answer is so incredibly helpful - it's encyclopaedic. I, too, wish I could do a +10 here. Awesome answer." CreationDate="2011-05-01T12:31:06.193" UserId="5770" />
  <row Id="16589" PostId="12411" Text="Random comments: does your computer support booting from a USB stick, and is the partition in question a FAT partition? Also, why sdb? What else do you have on that stick?" CreationDate="2011-05-01T12:36:14.407" UserId="4671" />
  <row Id="16590" PostId="12411" Text="hi, yes it supports it. done it already with debian 5. `sdb` because `sda` is the internal hd on the machine where i do the copying. the stick is completely used for this installation." CreationDate="2011-05-01T12:41:34.183" UserId="7123" />
  <row Id="16593" PostId="12411" Text="Testing images are sometimes broken, try an [earlier build](http://cdimage.debian.org/cdimage/daily-builds/daily/). You can also [directly copy the iso onto the stick](http://www.debian.org/releases/stable/i386/ch04s03.html.en#usb-copy-isohybrid), what happens if you do this?" CreationDate="2011-05-01T12:47:00.633" UserId="885" />
  <row Id="16594" PostId="12411" Text="Are you using http://www.debian.org/releases/stable/i386/ch04s03.html.en as documentation?" CreationDate="2011-05-01T12:47:11.477" UserId="4671" />
  <row Id="16595" PostId="12338" Text="problem solved. turns out the problem is much simpler- System&gt;&gt;Mouse and you enable click through touchpad :) Thanks anyway" CreationDate="2011-05-01T13:27:38.957" UserId="3496" />
  <row Id="16596" PostId="12411" Text="@Gilles I tried to copy it directly. reboots again. I think I'll another image now." CreationDate="2011-05-01T13:28:02.330" UserId="7123" />
  <row Id="16597" PostId="12377" Text="@Gilles: I booted into the installation USB, and mounted /dev/sdb1 (boot partition). It did not have a device.map file. There was also no `update-grub` command available. I'm wondering whether I should try disconnecting the other drive and reinstalling Arch, so the 2nd drive isn't there to confuse the issue; then reconnect the other drive, install Win7 on it, and then edit the GRUB config accordingly after the fact." CreationDate="2011-05-01T13:29:11.107" UserId="2333" />
  <row Id="16598" PostId="10328" Text="From: http://www.eduunix.ccut.edu.cn/index/pdf/Security%20Evaluation%20of%20the%20OpenBSD%20Operating%20System.pdf Bcrypt takes the password and (a) uses a 128 bit salt (b) a cost value, (c) use **localcipher** to encrypt. The **localcipher** is defined by login.conf and by default is Blowfish." CreationDate="2011-05-01T13:29:37.120" UserId="200" />
  <row Id="16599" PostId="9119" Text="I'm attempting this exact procedure, and I've gotten the loop mount to work, but after using tail and dd, mount still cannot find a filesystem on the raw device. any ideas?" CreationDate="2011-05-01T13:34:29.940" UserId="415" />
  <row Id="16600" PostId="4213" Text="+1, both versions are very stable. " CreationDate="2011-05-01T13:35:01.810" UserId="200" />
  <row Id="16602" PostId="9119" Text="@TREE: Did you use the loop driver's partition support (`/dev/loop0p1`), or a user-specified offset (`losetup -o`)? What is the output of `&lt;Debian.raw file -`, of `&lt;Debian.raw tail -c +$((512*s)) | file -`, or `file -` on any relevant intermediate stage?" CreationDate="2011-05-01T13:48:55.360" UserId="885" />
  <row Id="16603" PostId="12377" Text="@Wolf: My experience is with Debian, not Arch, and some of what I'm used to seems to be specific to Debian, so you may need to adapt my answer. Try making a `/boot/grub/device.map` containing two lines `(hd0) /dev/sdb` and `(hd1) /dev/sda` then run `grub-install /dev/sdb`. In `menu.lst`, change `(hd0)` into `(hd1)`." CreationDate="2011-05-01T13:55:38.833" UserId="885" />
  <row Id="16604" PostId="12377" Text="@Gilles: Just to be sure, does that `device.map` file go on the hard drive's boot partition? And the `menu.lst` file as well?" CreationDate="2011-05-01T13:57:06.950" UserId="2333" />
  <row Id="16605" PostId="12377" Text="@Wolf: Same directory as `menu.lst`, normally `/boot/grub/device.map`." CreationDate="2011-05-01T13:59:53.757" UserId="885" />
  <row Id="16606" PostId="12377" Text="@Gilles: Yes, but on the hard drive, rather than the USB Live installation medium? Since `/boot/grub` exists in both." CreationDate="2011-05-01T14:01:35.743" UserId="2333" />
  <row Id="16607" PostId="12377" Text="@Wolf: Yes, edit the files on the hard drive. `device.map` is read by `grub-install`, so in principle it could be anywhere, but normally it's in `/boot/grub`. `menu.lst` is read by the Grub bootloader at boot time." CreationDate="2011-05-01T14:20:03.763" UserId="885" />
  <row Id="16609" PostId="12416" Text="Thanks. It seemed to me this ought to work. I figure even step 7 should be straightforward, since Linux will be `(hd0,0)` and `/dev/sda`, and Windows will be `(hd1,0)` and `/dev/sdb`. The only issue I can see is that there's a chance Windows won't like being installed as hd0 and then moved to hd1; but for all I know it might not care. I think Arch supports Grub 2, but not during the initial installation. So perhaps once Arch is installed I could install Grub 2 before going on to set up the dual-boot. But I'll read up on Grub 2 first." CreationDate="2011-05-01T15:44:19.447" UserId="2333" />
  <row Id="16610" PostId="12414" Text="Step 7 should work. My memory's foggy but I believe I once installed either Vista in a two drive set-up similar to what you describe. Ubuntu was already installed. Windows installed its boot loader onto the Ubuntu partition despite that being the 2nd drive in the BIOS order *and* otherwise not making much sense in general. Caused all sorts of headaches while I worked out what had gone wrong. Since then I've always disconnected all other drives while installing an OS where it's going to be a heterogeneous multi-boot set-up." CreationDate="2011-05-01T15:50:37.500" UserId="5770" />
  <row Id="16611" PostId="12414" Text="@boehj: Interesting to know. I think I probably will try this plan out, except that I'll end up with Linux and Grub on hd0 and Windows on hd1." CreationDate="2011-05-01T15:59:30.527" UserId="2333" />
  <row Id="16612" PostId="12398" Text="I'll track this using the auditctl command as suggested" CreationDate="2011-05-01T10:56:19.460" UserId="7122" />
  <row Id="16614" PostId="12373" Text="This worked only for a while. After a few sentences it swapped n with ntilde. So, I have to press mod_switch + n to type n and n to type ntilde. It happened already three times, so I believe there is something wrong with this mod_switch." CreationDate="2011-05-01T16:34:07.743" UserId="6215" />
  <row Id="16615" PostId="12373" Text="@xralf: Did you add `clear Lock`? (I forgot it in my original answer.)" CreationDate="2011-05-01T16:38:58.813" UserId="885" />
  <row Id="16616" PostId="12373" Text="@Gilles Actually I used rather `keycode 94 = Mode_switch` without `clear lock`." CreationDate="2011-05-01T16:42:23.770" UserId="6215" />
  <row Id="16617" PostId="12373" Text="@xralf: If you rebound a key that isn't `CapsLock`, you don't need the `clear Lock` part. But you need another part I'd forgotten (sorry): there must be a modifier associated with `Mode_switch`. See my edit." CreationDate="2011-05-01T16:53:24.350" UserId="885" />
  <row Id="16618" PostId="12373" Text="Thank you. I added `add Mod3 = Mode_switch` after `keycode 94 = Mode_switch` and will test it. Could you please tell me where you learned about xmodmap to avoid my other questions? I searched for some tutorials but nowhere was good explanation of the principles and basic concepts like mod1..mod5, mod_switch etc. and how to utilize it effectively.&#xA;" CreationDate="2011-05-01T17:05:47.893" UserId="6215" />
  <row Id="16619" PostId="12418" Text="@xralf: On my system, Ubuntu, I get the same message when I start if from the terminal... That message in itself is not an error, because it runs perfectly...  It shows up as an icon in my top Panel...  The first time I ran it, I too, wondered what was going on..." CreationDate="2011-05-01T17:13:29.707" UserId="2343" />
  <row Id="16620" PostId="12373" Text="@xralf: I don't remember, it was last century! There's a GUI application `xkeycaps` that generates a `.Xmodmap` file, my `.Xmodmap` is ultimately derived from that. And you can at least find examples on the web or through `locate xmodmap`." CreationDate="2011-05-01T17:15:49.797" UserId="885" />
  <row Id="16621" PostId="12373" Text="The new settings ended with error message `X Error of failed request:  BadValue (integer parameter out of range for operation)&#xA;  Major opcode of failed request:  118 (X_SetModifierMapping)&#xA;  Value in failed request:  0x17&#xA;  Serial number of failed request:  33&#xA;  Current serial number in output stream:  33&#xA;`" CreationDate="2011-05-01T17:18:29.560" UserId="6215" />
  <row Id="16622" PostId="12418" Text="Do you know where can I find it if I don't have the top panel in my XFCE? I removed it and have only bottom panel." CreationDate="2011-05-01T17:21:31.133" UserId="6215" />
  <row Id="16623" PostId="12373" Text="@xralf: I'd have to see your `.Xmodmap` file for a better diagnosis, but I suspect you're affected by [this issue](http://unix.stackexchange.com/q/4485). Try [the cited workaround](https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/524774/comments/17)." CreationDate="2011-05-01T17:29:45.913" UserId="885" />
  <row Id="16624" PostId="12419" Text="I had only `autokey-gtk`. So I installed `autokey` now. I have only command `autokey-gtk -c` but this has the same effect." CreationDate="2011-05-01T17:34:32.147" UserId="6215" />
  <row Id="16625" PostId="12418" Text="I added the top panel but this doesn't help." CreationDate="2011-05-01T17:35:03.377" UserId="6215" />
  <row Id="16626" PostId="12419" Text="The only other thing I can think of, is just to mention that when I installed `autokey`, three packages were installed: `autokey`, `autokey-gtk`, and `autokey-common`  " CreationDate="2011-05-01T17:44:01.140" UserId="2343" />
  <row Id="16627" PostId="12419" Text="Another thought, but it is only guesswork; you could try using `autokey-qt` instead... They both work on my system.. The QT version installs `autokey-qt autokey-common libqscintilla2-5 python-qscintilla2`" CreationDate="2011-05-01T17:51:55.740" UserId="2343" />
  <row Id="16628" PostId="12373" Text="[Here](http://pastebin.ubuntu.com/601810/) is my xmodmap file." CreationDate="2011-05-01T17:58:35.080" UserId="6215" />
  <row Id="16629" PostId="12419" Text="`autokey-qt` has the same problem." CreationDate="2011-05-01T18:22:15.177" UserId="6215" />
  <row Id="16630" PostId="12418" Text="Which distro are you using?  .. Autokey's Project homepage (http://code.google.com/p/autokey/) says, `KDE and GTK versions available, making AutoKey integrate well into any desktop environment.` ... So it should(??) work with XFCE..." CreationDate="2011-05-01T18:23:10.623" UserId="2343" />
  <row Id="16631" PostId="12373" Text="@xralf: So yes, it looks like you're hit by that bug. Try using `clear Lock` instead of `remove`, or the other changes suggested in the workaround." CreationDate="2011-05-01T18:31:17.503" UserId="885" />
  <row Id="16632" PostId="12422" Text="Thanks... http://man.cat-v.org/unix-1st/1/ed ... There is certaily a lot more to grep these days.. but the basic structure hasn't changed" CreationDate="2011-05-01T19:36:49.870" UserId="2343" />
  <row Id="16633" PostId="12083" Text="I've added a screenshot and a little more information." CreationDate="2011-05-01T20:00:51.230" UserId="6968" />
  <row Id="16634" PostId="12418" Text="I downloaded xubuntu (XFCE), installed it in a vm (VirurualBox), installed `autokey` (*the transitional package which helps users transition to the autokey-gtk package)*... and `autokey` works fine, so it isn't anything to do with XFCE." CreationDate="2011-05-01T20:09:02.820" UserId="2343" />
  <row Id="16635" PostId="12343" Text="If nobody adds another answer in a few days I'll mark as accepted, I think you're right. It would be interesting to try to make a shell where the history was more suitable for assisting with audits." CreationDate="2011-05-01T20:12:01.310" UserId="7001" />
  <row Id="16636" PostId="12343" Score="1" Text="@Joseph: The shell is the wrong level for auditability, there are too many ways to escape it (such as launching a file manager). There are all kinds of auditing packages, up to fully logged filesystems, but they aren't wildly deployed." CreationDate="2011-05-01T20:16:06.110" UserId="885" />
  <row Id="16637" PostId="12421" Text="Emacs was an evolution of TECO, not ed. Emacs didn't originate from the unix world but from MIT (which explains why its key bindings aren't aligned with unix, for example `Ctrl+G` and not `Ctrl+C` as the break key)." CreationDate="2011-05-01T20:21:07.743" UserId="885" />
  <row Id="16638" PostId="12083" Text="@tronda yep, it's stuck at `boot2` whose job is to load `/boot/loader`.  It's using Atapi Disk 0 AKA C: AKA hda AKA primary master.  Try running `4:ad(0,a)/boot/loader` at the prompt.  The first number is the disk number.  You can try varying that from 0-7.  The second number is the MS-DOS partition known as slice number in FreeBSD speak.  Slice 0 means first primary partition.  The a is the FreeBSD partition which should always be a." CreationDate="2011-05-01T20:24:21.437" UserId="6167" />
  <row Id="16640" PostId="12417" Text="It makes sense for a handheld device, because they don't have a full size keyboard. It is a paint typing anything on them, and so the auto-capitalization is designed in to alleviates some of the burden (and really, simple text typing is all that ever gets done on a handheld device.. they aren't exactly *flexible*)... The best automation on a normal keyboard is called touch-typing.. There is nothing better or easier ..  (and I doubt that there is anything to do what you want anyhow.. )" CreationDate="2011-05-01T20:43:54.597" UserId="2343" />
  <row Id="16643" PostId="12421" Score="1" Text="Thanks Gilles.. yes, it seems to be `E macs` (not `ed` macs).. 'E' being a Stanford editor whose WYSIWYG feature had impressed Richard Stallman (RS), and the 'MACS' being the macro feature RS added to MIT's TECO.. This info came from wikipedia'a [Emacs](http://en.wikipedia.org/wiki/Emacs#History) page (a page with 6 `citation needed` alerts in its History section... but they read well :)..." CreationDate="2011-05-01T21:42:20.810" UserId="2343" />
  <row Id="16644" PostId="12433" Text="`apt_pkg` is from **python3-apt**." CreationDate="2011-05-01T21:59:54.203" UserId="688" />
  <row Id="16645" PostId="12339" Text="Aha.. you've just remeinded me why I didn't use Autokey... I tried it six months ago, and I'd forgotten about that... Your question revived my interest in it, but now I'll have to shelve that idea again... Any program which can't handle Unicode is a useless relic... but I suppose it is still good for ASCII.. and other macro things, like manipulating windows... (but I want unicode..." CreationDate="2011-05-01T22:41:44.930" UserId="2343" />
  <row Id="16646" PostId="12441" Text="There's a much simpler way to do this: `exec 2&gt; &gt;(rederr)`. Both versions will have the issues I mention in my answer, of reordering lines and risking mangled output (particularly with long lines)." CreationDate="2011-05-02T00:38:15.710" UserId="885" />
  <row Id="16647" PostId="12441" Text="I tried that, and it didn't work." CreationDate="2011-05-02T00:46:15.367" UserId="3169" />
  <row Id="16648" PostId="12427" Text="That's what slots are for. If the package is not slotted then the only thing I can think of is to create a personal overlay and a new package/ebuild that is slotted." CreationDate="2011-05-02T01:11:18.960" UserId="3082" />
  <row Id="16649" PostId="12427" Text="@Keith - That's the right answer, why not post it as an answer?" CreationDate="2011-05-02T02:07:43.750" UserId="4063" />
  <row Id="16650" PostId="12440" Text="Thanks, as always. That makes a lot of sense. " CreationDate="2011-05-02T02:54:28.927" UserId="5614" />
  <row Id="16651" PostId="12276" Text="I particularly like the brevity of the `printf` above, but it doesnt handle values below ``\u00A0`... I've just re-discovered something I already knew (but dropped off the radar)... Here is a Question I asked about 4 months ago; [Why does printf report an error on all but three (ASCII-range) Unicode Codepoints](http://askubuntu.com/questions/20806/why-does-printf-report-an-error-on-all-but-three-ascii-range-unicode-codepoints)... So *penguin359's* `perl` solution is looking pretty good now :) .. It's a single invocaton, and I after &quot;easy to type&quot;, so I'll give him the green-tick for `perl` " CreationDate="2011-05-02T03:21:53.140" UserId="2343" />
  <row Id="16652" PostId="12440" Text="It might not be difficult to patch a terminal program to colourize the stderr stream.  Somebody has suggested something like this at [ubuntu brainstorm](http://brainstorm.ubuntu.com/idea/24144/)." CreationDate="2011-05-02T03:27:04.533" UserId="1535" />
  <row Id="16654" PostId="12279" Text="I just (re-)discovered that *Steven D's* printf soultion won't handle the ASCII block of the unicode range, so your `perl` answer is now the best (for my particular requirements).. I'd previously ruled out printf (months ago), but I'd forgotten about it. Here is the queston/answer about its limits... [Why does printf report an error on all but three (ASCII-range) Unicode Codepoints](http://askubuntu.com/questions/20806/why-does-printf-report-an-error-on-all-but-three-ascii-range-unicode-codepoints)" CreationDate="2011-05-02T03:34:20.060" UserId="2343" />
  <row Id="16656" PostId="12302" Text="Can't install any additional s/w on the machine. So using pam_ssh is out of question. Can you explain the concept of left-over settings?" CreationDate="2011-05-02T04:44:10.117" UserId="5971" />
  <row Id="16657" PostId="12099" Text="That's true; Linux does support 802.1q.  Maybe I should have said so outright, but I was assuming that we're not talking about 802.1q." CreationDate="2011-05-02T05:27:40.177" UserId="3629" />
  <row Id="16658" PostId="12339" Text="It seems there isn't alternative for Autokey which can handle unicode? But I haven't tried Autokey yet, because of the problem in another question." CreationDate="2011-05-02T05:40:16.597" UserId="6215" />
  <row Id="16659" PostId="12373" Text="I tried the workaround but without success. I have found [here](https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/524774) and [here](https://bugs.freedesktop.org/attachment.cgi?id=22994) the suggestion for patch but don't know how to use it. Is it suitable to ask another question for it?" CreationDate="2011-05-02T06:12:52.953" UserId="6215" />
  <row Id="16661" PostId="12339" Text="btw.. Autokey can **insert** unicode text which is triggered by an ASCII abbreviation (I tried it today; it worked for inserting Unicode text); eg. *`brn`* will automatically be replaced by *`be right ñññ`* (or whatever you choose), but it won't recognize an abbreviation in Unicode, ie. it won't recognize *`brñ`* as an abbreviaton... I believe there are some hackish workarounds.. but I haven't fully looked into it.. I read that the hacks allow the use of Unicode in the scripts. " CreationDate="2011-05-02T06:41:28.397" UserId="2343" />
  <row Id="16663" PostId="12450" Text="Thanks alot for the answer!" CreationDate="2011-05-02T06:51:40.800" UserId="7138" />
  <row Id="16664" PostId="12339" Text="This is sufficent. I don't need recognizing abbreviation in Unicode." CreationDate="2011-05-02T07:06:40.390" UserId="6215" />
  <row Id="16665" PostId="12441" Text="@Mikel: `seterr` would have to be a standalone script, not a function." CreationDate="2011-05-02T07:09:24.367" UserId="885" />
  <row Id="16667" PostId="12106" Text="If I'm not mistaken (I installed a while ago), I had to: install FreeBSD to the DOM, exit the installer (or reboot with the CD, I don't remember), mount the DOM, edit those 2 files and reboot." CreationDate="2011-05-02T07:17:59.377" UserId="6981" />
  <row Id="16668" PostId="12444" Text="that's great news! thank you!" CreationDate="2011-05-02T07:18:22.873" UserId="6960" />
  <row Id="16669" PostId="12373" Text="@xralf: If you can't make it work with the [existing question](http://unix.stackexchange.com/q/4485) on that topic, then yes, ask another question." CreationDate="2011-05-02T07:18:47.800" UserId="885" />
  <row Id="16670" PostId="12443" Score="1" Text="I'll let a FreeBSD expert answer, but as far as I know, a package is just a port that someone's compiled for you, so yes, you can mix them freely." CreationDate="2011-05-02T07:20:08.970" UserId="885" />
  <row Id="16671" PostId="12286" Score="1" Text="I wouldn't say recode obsoletes iconv, in fact recode is older than iconv, and these days iconv is far more commonly installed by default than recode (for example, on Linux, iconv is almost always installed because it comes with libc)." CreationDate="2011-05-02T07:24:41.117" UserId="885" />
  <row Id="16673" PostId="12456" Text="Thanks. I used the key binding proposed by @cjm" CreationDate="2011-05-02T09:17:48.653" UserId="7140" />
  <row Id="16675" PostId="12427" Text="@Keith: If it's indeed the only way to do it, then post it as an answer and I will gladly accept it." CreationDate="2011-05-02T10:56:06.563" UserId="4787" />
  <row Id="16676" PostId="11107" Text="@Tim, have you solved this issue?" CreationDate="2011-05-02T11:02:11.720" UserId="6766" />
  <row Id="16677" PostId="11107" Text="@Mike: No. I've got some more info, namely that I'm behind a PPPOE router and that there is an MTU (~1300, don't remember). Setting the MTU does not solve anything, though. I'm currently running Windows 7, and everything over there works fine." CreationDate="2011-05-02T11:15:23.310" UserId="4518" />
  <row Id="16678" PostId="11107" Text="@Tim, compare the results you get from surfing to [what is my ip?](http://www.whatismyip.com/) with what you see in Windows7.  I wonder whether your ISP has a proxy that is doing goofy things.  The perfect world is that you will see your pppoe modem's IP address in both cases, but if your problem is strictly http; instinct tells me otherwise." CreationDate="2011-05-02T11:19:13.890" UserId="6766" />
  <row Id="16679" PostId="11107" Text="@Mike: I'll check that next time I boot. " CreationDate="2011-05-02T11:21:04.923" UserId="4518" />
  <row Id="16680" PostId="11107" Text="@Mike: The problem isn't only with HTTP. There is a maximum file size limit for SCP, SSH sessions stop working if I get too much output, and pings that are too big drop." CreationDate="2011-05-02T11:22:03.970" UserId="4518" />
  <row Id="16682" PostId="11168" Text="anything wrong with alsa-mixer?" CreationDate="2011-05-02T11:25:03.817" UserId="7139" />
  <row Id="16684" PostId="11107" Text="@Tim, could you edit your post with the output of `ip link show`, `ip addr show` and `ip route show`?  If PPPoe is not in Linux, then also add the exact MTU shown in the admin screen of your PPPOE Modem." CreationDate="2011-05-02T11:56:30.220" UserId="6766" />
  <row Id="16685" PostId="12397" Text="What is your end goal? Maybe we can refine these answers. Maybe ask another question?" CreationDate="2011-05-02T11:58:00.370" UserId="1925" />
  <row Id="16686" PostId="11168" Text="@Behrooz: haven't tried it, thanks for the suggestion" CreationDate="2011-05-02T12:20:21.903" UserId="688" />
  <row Id="16687" PostId="12236" Text="Oh I didn't notice this answer, thank you :)" CreationDate="2011-05-02T12:24:11.477" UserId="7047" />
  <row Id="16688" PostId="12463" Text="I completely agree with you that there is some MTU problem. What I've done is test different-sized pings to find just where the limit is. However, when I set the MTU for eth0 (`ifconfig eth0 mtu 1232`, I think), it does not change the problem. Setting an MTU much lower than the limit doesn't, either. I did not realise that I had to set the MTU for the other side of the link -- how does Windows 7, which seems to auto-tune its MTU, do that?" CreationDate="2011-05-02T12:28:27.070" UserId="4518" />
  <row Id="16689" PostId="12463" Text="@Tim, I can't answer your question about Windows 7 yet... there are a few possibilities... 1) an isp technician or isp software set it.  2) Differences in how they are handling [Path MTU Discovery](http://en.wikipedia.org/wiki/Path_MTU_Discovery)... there could be other dynamics in play, but let's get the output of the pings and figure out where to go from there" CreationDate="2011-05-02T12:32:18.320" UserId="6766" />
  <row Id="16691" PostId="12463" Text="Sure, I'll get it this evening." CreationDate="2011-05-02T12:34:15.113" UserId="4518" />
  <row Id="16696" PostId="12440" Text="@intuited: that would require pathcing every terminal emulator you want this to work with.  Using `LD_PRELOAD` trick to intercept `write` calls seems to be the most appropriate, IMO (but then again, there might be differences on certain *nix flavors.)" CreationDate="2011-05-02T13:24:09.923" UserId="1946" />
  <row Id="16698" PostId="12236" Text="No worries at all. I'm still ploughing through it. :)" CreationDate="2011-05-02T14:29:14.870" UserId="5770" />
  <row Id="16699" PostId="12370" Text="**Update:** Combining the above suggestions, this worked for me: 'chown apache:apache -R /path/to/dokuwiki'. The username for the webserver was found in Apache's 'httpd.conf' file. Thanks to both of you for the tips." CreationDate="2011-05-02T15:19:08.590" UserId="7089" />
  <row Id="16700" PostId="12465" Text="What filesystem is on your external drive?" CreationDate="2011-05-02T16:17:38.923" UserId="3001" />
  <row Id="16701" PostId="12466" Text="Its not about &quot;explicit&quot; support but more of is it worth for example paying for a usb 3.0 enclosure for external hard drive.  I am asking more &quot;do the costs outweigh the benefits&quot; for moving to USB 3.0 now or is it too soon.  Appreciate the insight though!" CreationDate="2011-05-02T17:31:49.663" UserId="1253" />
  <row Id="16702" PostId="1318" Text="@Shawn J. Goff.: Suggestion on where?  Did you mean another SE or something like a Linux forum? " CreationDate="2011-05-02T17:32:28.727" UserId="1253" />
  <row Id="16703" PostId="12453" Text="Is that a typo on the first sentence: `uname -m` and `uname -m`?" CreationDate="2011-05-02T17:34:24.610" UserId="688" />
  <row Id="16705" PostId="12471" Text="It seems there aren't many advantages. My Ubuntu is stable. Is the RAM usage better in Debian?" CreationDate="2011-05-02T18:15:31.540" UserId="6215" />
  <row Id="16707" PostId="12471" Score="2" Text="With a server that potentially provides a critical service to many users, or where downtime can mean massive financial loss, the very conservative approach to upgrades that Debian adopts is a Good Thing (tm)." CreationDate="2011-05-02T19:29:42.720" UserId="3389" />
  <row Id="16708" PostId="12471" Text="@ultrasawblade, I agree with your love for debian stability and that is one reason I have stayed with debian for so long.  But... I have been burned by packaging issues between releases too many times (more with RedHat, but Debian has done it too).  If a service is mission-critical, I compile from source and install in `/opt`... unless someone installs a deb on top of this, it's pretty safe" CreationDate="2011-05-02T19:34:37.173" UserId="6766" />
  <row Id="16709" PostId="12478" Score="1" Text="@SHW, is the goal just ease of transfer (i.e. put it on a usb, carry anywhere with that processor arch)?" CreationDate="2011-05-02T19:52:28.463" UserId="6766" />
  <row Id="16712" PostId="12471" Score="1" Text="@xralf, for the same version of software, I cannot say I have actually compared memory usage in debian and ubuntu; however, I cannot imagine why it would be significantly different just because of a different distribution.  Perhaps if one had a kernel or shared-libs that used memory differently, but that isn't the fault of the distro per-se." CreationDate="2011-05-02T20:19:40.880" UserId="6766" />
  <row Id="16713" PostId="12471" Score="2" Text="`/opt` is for third party precompiled stuff.  Stuff you compile yourself should go in `/usr/local/bin`.  Elaborate what you mean by packaging issues.  I've run Debian since 2005 and never had issues except when `exim4` changed its config file format, but that was my fault for not reading the `Debian.README`, which we all do, right?" CreationDate="2011-05-02T20:25:34.803" UserId="3389" />
  <row Id="16714" PostId="12471" Text="@ultrasawblade, I'm pretty comfortable with putting my [custom packages in /opt](http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html)... you can put things in /usr/ and that's fine.  I had a problem upgrading lenny with php5, but I can't remember more than that." CreationDate="2011-05-02T20:50:47.830" UserId="6766" />
  <row Id="16715" PostId="12477" Text="Security-wise, there's not much difference. As for stability, which of the many meanings do you have in mind?" CreationDate="2011-05-02T21:01:32.700" UserId="885" />
  <row Id="16716" PostId="12471" Score="1" Text="@xralf: RAM usage has nothing to do with the distribution and everything to do with which applications you run." CreationDate="2011-05-02T21:02:00.483" UserId="885" />
  <row Id="16717" PostId="12416" Text="@Gilles: It worked. I haven't actually tried step 7 yet, but the Windows install worked and the Arch install worked. Thanks for your input!" CreationDate="2011-05-02T21:10:46.847" UserId="2333" />
  <row Id="16718" PostId="12465" Text="@samrat please include the line of the mounted drive from `cat /proc/mounts` also this is unlikely to have anything at all to do with &quot;arch&quot; specifically" CreationDate="2011-05-02T21:24:09.747" UserId="29" />
  <row Id="16719" PostId="12453" Text="See also [Linux command to return number of bits (32 or 64)?](http://superuser.com/questions/208301/linux-command-to-return-number-of-bits-32-or-64/208306#208306). If `uname -m` shows i?86, you have a 32-bit system." CreationDate="2011-05-02T21:29:07.377" UserId="885" />
  <row Id="16720" PostId="12468" Text="Does loading the module produce anything in `/var/log/kern.log`? (They usually do.)" CreationDate="2011-05-02T21:31:18.183" UserId="885" />
  <row Id="16721" PostId="12489" Score="3" Text="Can you describe what features of that app you like?" CreationDate="2011-05-02T21:37:45.977" UserId="73" />
  <row Id="16722" PostId="12480" Text="I'd be curious what the `file` command on Linux says about it.  Try `file my_odd_file.pages`" CreationDate="2011-05-02T21:39:34.827" UserId="6167" />
  <row Id="16723" PostId="12468" Text="@Gilles, I have `bnx2` failure messages in `kern.log` while booting, but nothing with a timestamp around the time of my `modprobe`.  I expect the messages on boot because the firmware isn't there." CreationDate="2011-05-02T21:42:24.037" UserId="6766" />
  <row Id="16724" PostId="12473" Text="Does the lm flag simply mean the CPU supports 64-bit or does it mean that it's running in 64-bit.  I recommend relying on the arch knowing that it will be x86_64 for 64-bit or i?86 for 32-bit." CreationDate="2011-05-02T21:45:49.983" UserId="6167" />
  <row Id="16725" PostId="12468" Text="@Mike: And you did `rmmod bnx2` before `modprobe bnx2`, right? As well as `rmmod` of any auxiliary module it might be using?" CreationDate="2011-05-02T21:49:31.093" UserId="885" />
  <row Id="16726" PostId="12485" Text="Can you put the output of `dmidecode` up somewhere (it might be too long to include in your question)?" CreationDate="2011-05-02T21:51:31.623" UserId="885" />
  <row Id="16727" PostId="12493" Text="Good point about the architecture. If you include PPAs, Ubuntu wins for packages (otherwise, Debian's lead is pretty small, as most of testing ends up in universe). Ubuntu is committed to free software, even if they're \ifpolite more pragmatic\else less fanatic\fi\ about it." CreationDate="2011-05-02T21:55:32.600" UserId="885" />
  <row Id="16728" PostId="12468" Text="@Gilles, `rmmod bnx2` and another `modprobe` worked.  Thank you, please repost your answer below so I can accept." CreationDate="2011-05-02T21:57:04.720" UserId="6766" />
  <row Id="16729" PostId="12493" Score="3" Text="I never meant to imply that Ubuntu isn't committed to Free Software, so I apologize if I came off that way. Debian has the Social Contract which is definitely a differentiating feature. " CreationDate="2011-05-02T22:01:35.557" UserId="7136" />
  <row Id="16730" PostId="12486" Text="Wouldn't using ImageMagick rasterize the files? And you should explain that last part inline, especially for the benefit of the non-francophones in the audience." CreationDate="2011-05-02T22:17:44.927" UserId="885" />
  <row Id="16731" PostId="12495" Text="I should have thought to remove the module...  I am getting rusty" CreationDate="2011-05-02T22:32:45.143" UserId="6766" />
  <row Id="16732" PostId="12473" Text="@penguin359 it means that the cpu supports 64-bit." CreationDate="2011-05-02T22:57:21.107" UserId="29" />
  <row Id="16733" PostId="12091" Text="I was hoping this would be easier to add. I have been enjoying automatically switching to the current directory in iTerm2 and would love to find the same convenience in Tmux. " CreationDate="2011-05-02T23:03:35.223" UserId="6569" />
  <row Id="16734" PostId="12453" Text="See also [Get Distribution Name and Version Number](http://unix.stackexchange.com/questions/6345/bash-get-distribution-name-and-version-number/6348#6348)" CreationDate="2011-05-02T23:07:11.213" UserId="3169" />
  <row Id="16735" PostId="12453" Text="The question Gilles links to gives an interesting solution: `getconf WORD_BIT`." CreationDate="2011-05-02T23:11:31.147" UserId="3169" />
  <row Id="16736" PostId="12473" Text="@xeno so then is can't be used to determine the kernel architecture." CreationDate="2011-05-02T23:58:18.123" UserId="6167" />
  <row Id="16737" PostId="4610" Text="Maybe it's just your CPU fan getting old.  Do you have any hardware sensors for your fan enabled?" CreationDate="2011-05-03T00:12:06.083" UserId="6167" />
  <row Id="16738" PostId="11730" Text="Thanks for the suggestions! I screwed up my KDE anyway and had to restart, so I just switched to Gnome." CreationDate="2011-05-03T00:25:38.550" UserId="6810" />
  <row Id="16739" PostId="11718" Text="Thanks!! I like the explanation as to why I can't." CreationDate="2011-05-03T00:26:57.550" UserId="6810" />
  <row Id="16740" PostId="12286" Text="Thanks.. I was wondering about that.. That web page isn't exactly the definitive reference... so it is more of an alternative..." CreationDate="2011-05-03T02:15:48.297" UserId="2343" />
  <row Id="16741" PostId="12463" Text="@Tim, please edit with the results of your pings if you're still interested in debugging." CreationDate="2011-05-03T03:37:42.907" UserId="6766" />
  <row Id="16742" PostId="12463" Text="@Mike: Certainly. I've added the output. Windows and Linux have the same IP. I found that the MTU I mentioned earlier was caused by my setting the MTU for eth0! With `ifconfig eth0 mtu 1500`, ping size seems capped on 1468, which, with the headers, is very close to 1500." CreationDate="2011-05-03T05:30:32.013" UserId="4518" />
  <row Id="16743" PostId="12297" Text="Is there any way to do it in my script say like I use  &#xA;`ssh-agent bash`  &#xA;`ssh-add`   &#xA;inside my script? This way it can add the keys and make the connection passwordless whenever I run the script.&#xA;" CreationDate="2011-05-03T06:35:30.100" UserId="5971" />
  <row Id="16744" PostId="12494" Text="I tried Elf statifier, but to my surprise. It did not work. It segfaults. I tried many time with many distributions with many utilities." CreationDate="2011-05-03T06:50:38.717" UserId="4843" />
  <row Id="16745" PostId="12501" Text="Is `en_CA` (i.e. Canadian English) a locale you expected to be in?" CreationDate="2011-05-03T06:59:50.663" UserId="885" />
  <row Id="16746" PostId="12483" Text="The PyPdf library works perfect. I only changed it a [little](http://pastebin.ubuntu.com/602654/) and run it with **python conv_pdf.py res.pdf** . How would you run your script shebang from commandline?" CreationDate="2011-05-03T08:03:11.287" UserId="6215" />
  <row Id="16747" PostId="12483" Text="I'd like to try the version with pdfjam (because of slight scaling) too, but after the installation of pdfjam package my shell won't recognize `pdfjam` command." CreationDate="2011-05-03T08:34:24.243" UserId="6215" />
  <row Id="16748" PostId="12473" Text="@penguin359 no, was that unclear in the answer?" CreationDate="2011-05-03T08:55:12.343" UserId="29" />
  <row Id="16749" PostId="12508" Score="1" Text="That advice given, I don't actually know what `//` represents here so it will be interesting to hear from somebody who does :)" CreationDate="2011-05-03T08:58:22.127" UserId="1925" />
  <row Id="16750" PostId="12499" Text="@lance admittedly it might be easier if you split this question into 2 (or more) questions... the bsd stuff is going to be way different from the linux stuff... and then in many ways you also have a virtual box question. I personally think that &quot;how do I only allow application/user XY through iptables&quot; and &quot;how do I only allow application/user XY through pf&quot; are good questions." CreationDate="2011-05-03T09:03:33.160" UserId="29" />
  <row Id="16752" PostId="12487" Text="The guy was asking for Debian advantages, not Ubuntu ones." CreationDate="2011-05-03T09:20:36.950" UserId="688" />
  <row Id="16753" PostId="12515" Text="@lain this answer is exactly backwards. If you read the question you'll see he is catching just stderr instead of stdout." CreationDate="2011-05-03T10:00:15.967" UserId="1925" />
  <row Id="16754" PostId="12515" Text="@Caleb: As you can see I realised that and edited it but the command is the same" CreationDate="2011-05-03T10:03:51.883" UserId="591" />
  <row Id="16755" PostId="12517" Text="Why the downvote? don't like the tee command?" CreationDate="2011-05-03T10:10:07.837" UserId="2567" />
  <row Id="16756" PostId="12515" Text="@lain ... and I changed my vote :) I know the solution worked but the explanation was misleading to somebody who clearly doesn't have a grasp on io redirection issues." CreationDate="2011-05-03T10:14:49.890" UserId="1925" />
  <row Id="16757" PostId="12517" Score="1" Text="Downvote wasn't me, but it's canceled out now :) Good additional suggestion. I might suggest writing it up with this users exact command though so they see better how your suggestion fits into the big picture." CreationDate="2011-05-03T10:17:21.323" UserId="1925" />
  <row Id="16758" PostId="12483" Text="@xralf: My python script just reads from standard input and writes to standard output. The pdfjam version requires pdfjam 2.0; it's only a small wrapper around pdfpages, and I've added the bit of LaTeX it generates so you can use that directly. The scaling issue is probably solvable with pypdf, it could be a page size issue (I may or may not be able to help if you give more details on what's happening and especially the page sizes involved)." CreationDate="2011-05-03T10:22:40.530" UserId="885" />
  <row Id="16759" PostId="12503" Text="Thanks minaev: that was a good suggestion. I installed http://www.jukie.net/bart/blog/urxvt-url-yank but, alas, while it works in my term - it doesn't work in w3m..." CreationDate="2011-05-03T10:25:24.963" UserId="6761" />
  <row Id="16760" PostId="12473" Text="@xeno When I first read your answer, I took it as implying an alternative to looking at the kernel architecture.  On a re-read, I do notice you were specifying the CPU architecture, but I wanted to clarify that that does not help with the user's question which is specifically whether the kernel is 64-bit." CreationDate="2011-05-03T11:01:30.060" UserId="6167" />
  <row Id="16761" PostId="12483" Text="Thank you, the difference is in very slightly worse resolution, but this doesn't matter. I will turn back to it when I know more about Latex (it's too complex for me now and the solution is really good with PyPdf)." CreationDate="2011-05-03T11:10:48.760" UserId="6215" />
  <row Id="16762" PostId="12463" Text="@Tim, I need more information.  Please see my response." CreationDate="2011-05-03T11:35:39.423" UserId="6766" />
  <row Id="16763" PostId="12175" Text="@Gilles: Done now." CreationDate="2011-05-03T11:54:39.873" UserId="7030" />
  <row Id="16764" PostId="12174" Text="@Gilles: Done now." CreationDate="2011-05-03T11:54:59.267" UserId="7030" />
  <row Id="16765" PostId="7687" Text="I wish I had more than one vote to give for this answer." CreationDate="2011-05-03T12:01:21.287" UserId="6167" />
  <row Id="16766" PostId="12516" Text="@Caleb - Nice one. I'd never seen `2&gt;` before. Learn something new every day here. :)" CreationDate="2011-05-03T12:04:35.250" UserId="5770" />
  <row Id="16767" PostId="12463" Text="@Mike: Sorry for the misunderstanding. After setting the ethernet link MTU to 1500, I can ping without fragmentation up to `-s 1468`. Larger pings do not complain about fragmentation, they just get lost. I edited my question to reflect that. Can I add any other information?" CreationDate="2011-05-03T12:08:37.270" UserId="4518" />
  <row Id="16768" PostId="12463" Text="(Pings of `-s 1232` and 1432 go through.)" CreationDate="2011-05-03T12:09:21.653" UserId="4518" />
  <row Id="16770" PostId="12463" Text="@Tim, thank you for the information.  I will consider it and respond tonight" CreationDate="2011-05-03T12:31:30.963" UserId="6766" />
  <row Id="16771" PostId="12522" Score="1" Text="Must be, but... oh, so much pain." CreationDate="2011-05-03T12:34:44.553" UserId="688" />
  <row Id="16772" PostId="4459" Text="what could go wrong with having `.` at the end? " CreationDate="2011-05-03T12:57:57.933" UserId="2832" />
  <row Id="16773" PostId="12522" Text="Possibly, but you'll need to give more details. What OS (version of Debian/Ubuntu) precisely, and more imporantly what is the legacy software, and what libc version does it use? I think `ldd` would tell you something. If possible you may need to recompile the legacy libc library and/or install/recompile supporting packages. Depending on how old your app is, this could get tricky. I see current Debian `libc6` depends on `libc-bin (= 2.13-0exp5)` and `libgcc1`, so `libc6` doesn't have a lot of dependencies, but you could still run into problems." CreationDate="2011-05-03T13:15:55.087" UserId="4671" />
  <row Id="16774" PostId="12518" Text="Thank you for great explanation and new information. Do you know what applications are started in the boot process (upstart or initscript) which makes the decision over keyboard and what happens at login in the stage I can choose the layout. Which program interacts with it and where is it stored in the filesystem? After login xmodmap or xkb will overwride the default layout chosen at login process?" CreationDate="2011-05-03T13:47:48.153" UserId="6215" />
  <row Id="16775" PostId="12525" Text="tapping `w` does not work too. In fullscreen mode I can't change the zoom. There is a message in commandline `Error: Invalid command syntax: 'zoomFitWidth'` when I'm pressing `w`" CreationDate="2011-05-03T13:56:49.967" UserId="6215" />
  <row Id="16776" PostId="12525" Text="Hm. What version of xpdf? My 3.02 works find and allows me to change the zoom using that keystroke after launching with `-fullscreen`." CreationDate="2011-05-03T14:04:58.723" UserId="1925" />
  <row Id="16777" PostId="12525" Text="I have 3.02 too." CreationDate="2011-05-03T14:16:54.357" UserId="6215" />
  <row Id="16778" PostId="12525" Text="I found out that it works with `w` and `+` or `-`" CreationDate="2011-05-03T14:22:15.177" UserId="6215" />
  <row Id="16779" PostId="12527" Text="Thanks, your answer made me do a late double-take: I realized I'd completely missed the interactive bit. I don't think that's even possible with sed (not enough input/output channels)." CreationDate="2011-05-03T14:37:01.413" UserId="885" />
  <row Id="16780" PostId="12523" Text="On the importance of proper formatting: I'd initially read your command as `s/from/to/g` with a formatting glitch after it, rather than `s/from/to/gc` with emphasis on the `c` as you'd attempted to write (you can't do that with Markdown, you could do it with `&lt;code&gt;` and `&lt;strong&gt;` HTML tags)." CreationDate="2011-05-03T14:39:09.460" UserId="885" />
  <row Id="16781" PostId="12533" Text="As an aside, that second command is the fastest way that I know of to use up 10MB" CreationDate="2011-05-03T14:44:58.490" UserId="195" />
  <row Id="16782" PostId="12517" Text="I wouldn't downvote it as it's not _wrong_, but probably because using tee only for redirection is superfluous. tee only really helps if you have more commands piped after it." CreationDate="2011-05-03T15:04:04.407" UserId="3642" />
  <row Id="16784" PostId="12533" Score="1" Text="@Kevin: Faster than `head -c`? Please share a [benchmark](http://unix.stackexchange.com/questions/9432/is-there-a-way-to-determine-the-optimal-value-for-the-bs-parameter-to-dd/9492#9492)!" CreationDate="2011-05-03T15:15:56.263" UserId="885" />
  <row Id="16786" PostId="12534" Score="1" Text="`dd` actually has nothing to do with low-level devices, it needs an entry in `/dev` like the others. You can copy a whole partition with `cat`, or a part of it with `tail +c $(($start+1)) | head -c $count`." CreationDate="2011-05-03T15:18:01.113" UserId="885" />
  <row Id="16787" PostId="12508" Text="Thanks for the information regarding the priority." CreationDate="2011-05-03T15:18:04.477" UserId="6200" />
  <row Id="16788" PostId="12513" Text="Thanks. That's the perfect answer that I wanted. It helps." CreationDate="2011-05-03T15:18:45.787" UserId="6200" />
  <row Id="16790" PostId="12327" Text="No, I can't just use wireless for my desktop: the wired router has the VPN connection that my desktop needs for connecting to my work network.  " CreationDate="2011-05-03T15:23:49.673" UserId="2688" />
  <row Id="16791" PostId="12327" Text="As for using the same subnet, is that possible, given the VPN connection?" CreationDate="2011-05-03T15:24:10.890" UserId="2688" />
  <row Id="16793" PostId="12517" Score="1" Text="@hometoast: You use it to &quot;debug&quot; a long pipe chain. So you later can look at the output from the different stages? Example &quot;find / | tee a.txt | grep -v bin | tee b.txt&quot; and then compare a.txt and b.txt to see what grep -v removed in the middle? Or what did you mean? " CreationDate="2011-05-03T15:54:18.510" UserId="2567" />
  <row Id="16796" PostId="12538" Text="+1 - Thank you very much for this interesting answer!" CreationDate="2011-05-03T16:11:12.860" UserId="5770" />
  <row Id="16797" PostId="12536" Text="Are you using `gvim`?" CreationDate="2011-05-03T16:14:07.393" UserId="6803" />
  <row Id="16798" PostId="12539" Text="There's no `vol_id`. There's a `v4l_id`, but if I pass the sda# devices to it, it outputs nothing." CreationDate="2011-05-03T16:40:41.900" UserId="2333" />
  <row Id="16800" PostId="12485" Text="Sure. Here is a link to it: http://www.mediafire.com/?dwf8mrcw2oe4ss7" CreationDate="2011-05-03T16:54:38.800" UserId="6270" />
  <row Id="16801" PostId="12534" Score="4" Text="Of course. ;-) And when I feed a 1.6TB disk image into `cat | head | tail` to fetch the last few MBs the disk spin up will suck the moon in closer to earth." CreationDate="2011-05-03T17:01:53.833" UserId="1925" />
  <row Id="16802" PostId="12536" Text="@nozimica- yeah" CreationDate="2011-05-03T17:09:01.770" UserId="1594" />
  <row Id="16803" PostId="12527" Score="1" Text="You might speed this up by not opening ALL files in the current buffer by using `grep` instead of `find` so that you only open files that have known matches. `vim $(grep 'from' . -Rl)`" CreationDate="2011-05-03T17:15:47.027" UserId="1925" />
  <row Id="16804" PostId="12517" Text="@Johan: ah. I see what you mean now. Clever." CreationDate="2011-05-03T17:33:10.400" UserId="3642" />
  <row Id="16805" PostId="12539" Text="on my debian, it's vol_id. Please check if there is volume_ id.&#xA;btw, with which os you tried ?" CreationDate="2011-05-03T17:39:18.447" UserId="4843" />
  <row Id="16806" PostId="12539" Text="There's no volume_id there either. It's Arch Linux release 2010.05." CreationDate="2011-05-03T17:59:33.750" UserId="2333" />
  <row Id="16808" PostId="12517" Text="@hometoast: tee is a funny little thing :)" CreationDate="2011-05-03T18:37:11.147" UserId="2567" />
  <row Id="16809" PostId="12539" Text="In that case, try to use binary `fs_type`.  partitioning indicates that kernel is not properly recognizing the structure. You dig into /proc and /sys to get the correct partitioning and their filetype" CreationDate="2011-05-03T18:45:50.917" UserId="4843" />
  <row Id="16812" PostId="12484" Text="Unfortunately, I _can't_ run `make distclean` due to the aforementioned problem with the makefile!  So I wiped the directory and reloaded it (I'm not familiar enough with the DVCS used to revert to pristine) but I still get the same problem.  I'm now trying under bash (I use zsh normally) ... nope, same problem." CreationDate="2011-05-03T19:02:47.470" UserId="6245" />
  <row Id="16813" PostId="12548" Text="Do you mean holding down the shift key when selecting text? That's the way I do it with `xterm`." CreationDate="2011-05-03T19:27:43.517" UserId="6803" />
  <row Id="16814" PostId="12484" Text="@Andrew: I'm afraid you're going to have to link to the precise source you're trying to compile (a tag in the bazaar repository? With custom patches?)." CreationDate="2011-05-03T19:30:04.810" UserId="885" />
  <row Id="16815" PostId="12549" Text="Possibly related: http://www.spinics.net/lists/linux-ext4/msg07885.html" CreationDate="2011-05-03T18:10:19.010" UserId="5931" />
  <row Id="16816" PostId="12473" Text="@penguin359, no but it's often useful to find out if your OS is running 64-bit and if not if the hardware is capable, imo" CreationDate="2011-05-03T20:09:31.280" UserId="29" />
  <row Id="16817" PostId="12484" Text="@Gilles: I've just tried a version that I know used to work (as it's the one I compiled before I updated my machine) so I strongly suspect that there's a problem on my system.  I think that what I need to do is find a small example to test of a configure script (do you happen to know any?).  If you _really_ want to know what I'm trying to compile, it's the _tiling_ version of emacs available here: http://arch.savannah.gnu.org/archives/emacs/emacs/emacs--tiling/emacs--tiling--0/ (I made some notes on what to do: http://www.math.ntnu.no/~stacey/HowDidIDoThat/Unix/Transparent_Emacs.html )" CreationDate="2011-05-03T20:36:14.787" UserId="6245" />
  <row Id="16818" PostId="12548" Text="@nozimica: Yes." CreationDate="2011-05-03T20:37:14.707" UserId="6245" />
  <row Id="16819" PostId="12484" Text="@AndrewStacey: Does running the configure script as `bash ./configure` or `ksh ./configure` make a difference? Try running `bash -x ./configure` or `ksh -x configure` to see a trace of what the shell is doing. Add the trace to your question if you need help understanding it." CreationDate="2011-05-03T20:47:22.483" UserId="885" />
  <row Id="16820" PostId="12484" Text="@Gilles: Running under bash didn't make a difference.  I'll try with the `-x` switches tomorrow (I just tried and the output was rather long, and it's rather late here, so I'll take another look tomorrow).  Thanks for your help so far!" CreationDate="2011-05-03T21:01:37.323" UserId="6245" />
  <row Id="16821" PostId="12536" Score="1" Text="That's also available in vim running in an xterm or similar terminal emulator under X (if vim is compiled with the `+xterm_clipboard` feature)." CreationDate="2011-05-03T21:02:45.550" UserId="885" />
  <row Id="16822" PostId="12553" Text="Thanks! This is exactly what I needed to know." CreationDate="2011-05-03T21:07:10.257" UserId="7124" />
  <row Id="16823" PostId="12554" Text="How would I set LS_OPTIONS to automatically include -F?" CreationDate="2011-05-03T21:15:16.113" UserId="7124" />
  <row Id="16824" PostId="12554" Text="While I think the accepted answer is the right one, this is also good to know." CreationDate="2011-05-03T21:20:38.390" UserId="4856" />
  <row Id="16825" PostId="12531" Text="Welcome to Stack Overflow. Please [don't *just* link to external content](http://unix.stackexchange.com/questions/how-to-answer), include the most relevant parts directly in your answer as well. (An answer containing *only* a link to your blog might well be considered spam.)" CreationDate="2011-05-03T21:44:34.020" UserId="885" />
  <row Id="16827" PostId="12555" Text="What are you connecting **to** with FreeNX? (OS, GUI environment, …)" CreationDate="2011-05-03T22:23:39.710" UserId="885" />
  <row Id="16829" PostId="12567" Text="For some reason it doesn't work. Just select with visual mode, copy with ctrl-shift-C, then paste in another app using Ctrl-shift-V ? The text doesn't get copied for me." CreationDate="2011-05-03T23:14:56.107" UserId="1594" />
  <row Id="16830" PostId="12567" Score="1" Text="@ripper234: this does not work if you are using gvim. As crazy2be said, this functionality is from your terminal emulator." CreationDate="2011-05-03T23:20:21.703" UserId="4398" />
  <row Id="16831" PostId="12572" Text="I don't know if you cooked that up on the spot or it is a (little) known workaround, but it is both elegant &amp; effective. Thank you." CreationDate="2011-05-03T23:33:58.057" UserId="6761" />
  <row Id="16832" PostId="12572" Text="[I did.](http://chat.stackexchange.com/transcript/message/925205#925205) I hadn't realized this was so easy before your question spurred me into looking! Thank you." CreationDate="2011-05-03T23:43:33.200" UserId="885" />
  <row Id="16833" PostId="12572" Text="Colour me impressed :) To put the finishing touches on, I mapped some more intuitive keybinds, (the functions are EXTERN &amp; EXTERN_LINK) and now I am set..." CreationDate="2011-05-04T00:25:07.843" UserId="6761" />
  <row Id="16834" PostId="12512" Text="Thank you. For the issue you mentioned, you can use the _setlocal_ instead of _set_. I just figured it out :)" CreationDate="2011-05-04T01:27:03.277" UserId="5075" />
  <row Id="16835" PostId="12556" Text="Thanks Gilles. Screen looks quite interesting. I'll put a bit of supplementary info in the question." CreationDate="2011-05-04T01:29:09.687" UserId="5770" />
  <row Id="16837" PostId="12463" Text="@Tim, do you have any other local machines that you can ssh or wget from locally on your LAN?  I'm reasonably sure this problem exists outside your LAN, but it's worth checking to be sure.  If you have no problems locally, I will post a script you can run that may help us isolate this further.  We may need to debug collaboratively this weekend via chat" CreationDate="2011-05-04T01:39:40.583" UserId="6766" />
  <row Id="16838" PostId="12555" Text="see edits in original post." CreationDate="2011-05-04T02:03:09.987" UserId="3513" />
  <row Id="16839" PostId="12552" Text="Great answer. I will check all that out. Thank you very much. I will report back." CreationDate="2011-05-04T02:36:27.033" UserId="6270" />
  <row Id="16840" PostId="12567" Text="@ripper234: 1) It is functionality provided by your terminal emulator (gnome-terminal for one provides it), 2) Ctrl+Shift+V is to paste *to the terminal*, GUI apps still use Ctrl+V as per usual. I'll edit the answer to make it more clear." CreationDate="2011-05-04T02:41:19.843" UserId="7189" />
  <row Id="16841" PostId="12518" Text="The kernel keymap, as I said is loaded by `loadkeys` by one of the init scripts. `grep loadkeys /etc/init.d/*` reveals the file `keymap.sh`.  X11 has it's own keymaping which has traditionally been loaded by Xmodmap running from one of the Xsession start-up scripts.  Nowadays, with XKB being used instead of Xmodmap, the default keymaping is set either in Xorg.conf via the various Xkb options or via HAL.  Once either the Gnome or KDE Display manager is loaded, they may load their own layout via the `setxkbmap` command.  A user's desktop environment might also set a different layout on login." CreationDate="2011-05-04T05:10:30.480" UserId="6167" />
  <row Id="16842" PostId="12575" Text="I gave `rsync` a thought but wondered if it was of any benefit when not dealing with 'partial copies'. I'll take another look. Cheers." CreationDate="2011-05-04T05:39:15.680" UserId="5770" />
  <row Id="16843" PostId="12518" Text="I tried the command `grep loadkeys /etc/init.d/*` and `locate keymap.sh` and nothing was found. The file Xorg.conf was not found too. Does it depend on my Ubuntu version which is 10.04?" CreationDate="2011-05-04T06:00:41.730" UserId="6215" />
  <row Id="16844" PostId="12532" Text="See [this SO question](http://stackoverflow.com/q/2794049/23744) for one concrete example." CreationDate="2011-05-04T06:02:54.547" UserId="1078" />
  <row Id="16845" PostId="12579" Text="I usually like `apt-get` more than `rpm`, but now debian gets -1 for not saving the installation date in the database. The debian trick includes all the installed packages, not just the *selected* packages, but it's a good start." CreationDate="2011-05-04T06:53:29.143" UserId="1262" />
  <row Id="16846" PostId="12555" Text="@churnd: Ah, from your original question I thought the client was running on SuSE. What desktop environment or window manager are you running on SuSE then?" CreationDate="2011-05-04T07:18:15.693" UserId="885" />
  <row Id="16847" PostId="12575" Score="1" Text="@boehj: rsync has the advantage that if it's interrupted for any reason (network problem for a network copy, power failure, …), you can launch it again and it'll pretty much start again where it left out." CreationDate="2011-05-04T07:19:44.613" UserId="885" />
  <row Id="16848" PostId="12575" Text="@Gilles - That's just what I want to hear. That makes complete sense now that I've given it a little extra moment's thought. Nothing to see here. :) Cheers." CreationDate="2011-05-04T07:38:42.600" UserId="5770" />
  <row Id="16849" PostId="12582" Text="Interesting.  What version of Debian did that appear in?" CreationDate="2011-05-04T07:43:23.800" UserId="3169" />
  <row Id="16850" PostId="12578" Text="See also [How to get the history of apt-get install](http://serverfault.com/questions/175504/how-do-i-get-the-history-of-apt-get-install-on-unbuntu)." CreationDate="2011-05-04T07:49:51.783" UserId="3169" />
  <row Id="16851" PostId="12582" Text="@Mikel: squeeze." CreationDate="2011-05-04T08:09:38.223" UserId="4671" />
  <row Id="16853" PostId="12582" Score="1" Text="@Mikel: Looking at the changelog, this arrived in `0.7.26~exp1`, dated 18 Feb 2010." CreationDate="2011-05-04T08:23:57.447" UserId="4671" />
  <row Id="16854" PostId="12553" Score="4" Text="It's worth pointing out that '.' is not in PATH for security reasons, and therefore it is a bad idea to add it. In case anyone thinks this was some unaccountable oversight on the part of their OS provider." CreationDate="2011-05-04T08:27:57.270" UserId="4671" />
  <row Id="16856" PostId="12453" Text="`getconf WORD_BIT` returns 32 on my 64-bit Ubuntu" CreationDate="2011-05-04T08:53:12.423" UserId="4404" />
  <row Id="16858" PostId="12486" Text="Because you don't need to understand French. It just show how you can use ImageMagick's convert, pdftk, or ghostscript (gs) alone to achieve this goal. I like using pdftk. &quot;Rastering&quot; doesn't matter as it's a scanned document." CreationDate="2011-05-04T09:29:08.273" UserId="7098" />
  <row Id="16860" PostId="12585" Text="That's the system architecture, which isn't always the kernel architecture. See [this answer at SU](http://superuser.com/questions/208301/linux-command-to-return-number-of-bits-32-or-64/208306#208306) for more variations." CreationDate="2011-05-04T09:47:35.063" UserId="885" />
  <row Id="16861" PostId="12555" Text="another edit..." CreationDate="2011-05-04T10:18:23.510" UserId="3513" />
  <row Id="16862" PostId="12592" Text="Yeah - it's alphabetic, but you are right by it being before the Nth char, where N=9. Seems undocumented, but has the same behaviour on the Solaris and AIX boxen." CreationDate="2011-05-04T11:17:21.557" UserId="3046" />
  <row Id="16863" PostId="12592" Score="1" Text="The &lt;Nth character was a stab in the dark based less on AIX/Solaris knowledge as nonsense I've run into elsewhere." CreationDate="2011-05-04T11:20:13.243" UserId="1925" />
  <row Id="16864" PostId="12593" Text="cd into the directory and do an `rm -Rf` of all the files and directories in there. " CreationDate="2011-05-04T07:39:28.563" UserId="6783" />
  <row Id="16865" PostId="12594" Text="Thanks demas... Its working........" CreationDate="2011-05-04T08:37:01.020" />
  <row Id="16866" PostId="12592" Score="1" Text="I hadn't seen that behaviour before, and I've been in the Unix admin side of things since late 1983 (early Sys V I think) - you are absolutely right about it being nonsense that should be sorted out! :-)" CreationDate="2011-05-04T11:28:39.143" UserId="3046" />
  <row Id="16867" PostId="12592" Text="I was still in diapers then! Actually I haven't seen this on the Unix side so much as password systems that have dumb hash systems that end up only saving/comparing the first N characters no matter how long you think your password is. Out of curiosity, see if you can login with &gt;8th character being something other than your password. Windows NT used to do this at 25 chars and several bank API's I know of still do it at 8." CreationDate="2011-05-04T11:43:09.473" UserId="1925" />
  <row Id="16868" PostId="12597" Text="Are you installing from debian packages or source?" CreationDate="2011-05-04T11:57:30.667" UserId="1925" />
  <row Id="16869" PostId="12597" Text="debian packages aptitude / apt0get install apache2" CreationDate="2011-05-04T12:02:40.410" UserId="7196" />
  <row Id="16870" PostId="12597" Text="apt-get install . . " CreationDate="2011-05-04T12:03:06.163" UserId="7196" />
  <row Id="16872" PostId="12597" Text="shouldn't that file be created automatically, and it not being there is an indication that my purge, as well as reinstall didnt work !/" CreationDate="2011-05-04T12:06:29.967" UserId="7196" />
  <row Id="16876" PostId="12598" Text="In my Debian 6.0.1 system the init script belongs to the `apache2.2-common` package. You can find this relationship out for any file on the system with `dpkg -S /path/to/file`." CreationDate="2011-05-04T12:24:03.290" UserId="1925" />
  <row Id="16877" PostId="12599" Text="seems like this might get more answers / fit better on SuperUser..." CreationDate="2011-05-03T16:29:01.403" UserId="407" />
  <row Id="16879" PostId="12598" Text="Since the init script belongs to the `-common` sub-package, it is likely that you only removed the main package and didn't actually remove all the related sub-packages. The you manually removed a file belonging to the sub-package. In this case re-installing just the main package won't help at all. You should `apt-get install --re-install apache2.2-common` to get the files associated with that package back." CreationDate="2011-05-04T12:29:09.047" UserId="1925" />
  <row Id="16880" PostId="12598" Text="unfortunately it does not restore my init-script. I am unable to restore it / or rather seem to be unable to properly reinstall the Apache package. Maybe my question should be, how I properly clean up / delete previous installed packages and all dependencies / folders + files with it." CreationDate="2011-05-04T12:37:35.743" UserId="7196" />
  <row Id="16881" PostId="12538" Text="Accepted because I think it explains the gist of the other answers (`trunc` and `seek` being usable from `dd`)." CreationDate="2011-05-04T13:01:52.877" UserId="2130" />
  <row Id="16882" PostId="12534" Score="1" Text="@Gilles Sorry I did mean to acknowledge that my use of the term &quot;low level&quot; wasn't very good diction, although I was referring to data on devices, not devices. Perhaps &quot;fine tuned data manipulation&quot; would be better than &quot;manipulating low level data&quot;." CreationDate="2011-05-04T13:09:21.477" UserId="1925" />
  <row Id="16883" PostId="12592" Score="1" Text="@Caleb - in testing, it definitely looks the full length of the password (have checked with a 20 char password, and changing the final char makes a difference) but only checks the first 8 for compliance with the rules!" CreationDate="2011-05-04T13:13:04.263" UserId="3046" />
  <row Id="16884" PostId="12598" Text="I'm not enough of a Debian expert to say why apt-get is apparently mis-behaving so badly, but I was able to both replicate the problem here and find references to other people with the same issue. The only solution I found was manually extracting the package; see my edited answer." CreationDate="2011-05-04T13:39:57.093" UserId="1925" />
  <row Id="16887" PostId="12597" Text="I suggest an integrity check. You can try `debsums -s`. This might point out if any of your packages are badly damaged." CreationDate="2011-05-04T13:48:09.823" UserId="4671" />
  <row Id="16889" PostId="12591" Text="Could be the case that password themselves are truncated to 8 chars! See: `http://www.aixmind.com/?p=490`" CreationDate="2011-05-04T14:11:32.917" UserId="1660" />
  <row Id="16891" PostId="12591" Text="@MrShunz - nope. @Caleb thought that, but I tested up to 20 chars." CreationDate="2011-05-04T14:20:45.610" UserId="3046" />
  <row Id="16892" PostId="12509" Text="Thanks for the idea, I tried it but replacing the executable with a shell script does not work, unfortunately. I can't change the source code of the calling app either." CreationDate="2011-05-04T14:48:05.350" UserId="2703" />
  <row Id="16893" PostId="12598" Score="1" Text="@Caleb: You say &quot;I replicated the problem on a test system&quot;. I'm unsure what the problem is. Can you provide a reproduction recipe? Is it related to http://bugs.debian.org/621720? If you find a problem and it has not been reported already, please file a bug report. Thanks." CreationDate="2011-05-04T14:53:58.793" UserId="4671" />
  <row Id="16895" PostId="12604" Text="That would do the trick, thanks :)" CreationDate="2011-05-04T14:59:45.323" UserId="4001" />
  <row Id="16897" PostId="12604" Text="One thing, though: the `screen` command I gave was just to send the command in. To start the `screen`, I used `screen -dmS name program` ;-)" CreationDate="2011-05-04T15:02:30.393" UserId="4001" />
  <row Id="16899" PostId="2530" Text="@camh: 16m VMs using what? Linux from Scratch?" CreationDate="2011-05-04T15:36:55.477" UserId="4671" />
  <row Id="16900" PostId="12583" Text="In this case, it would be run in a graphical environment." CreationDate="2011-05-04T15:40:35.007" UserId="1049" />
  <row Id="16901" PostId="12608" Score="3" Text="Since you've used Fedora before, go ahead and download and install it http://fedoraproject.org/en/get-fedora." CreationDate="2011-05-04T16:21:20.023" UserId="688" />
  <row Id="16902" PostId="12573" Text="Good answer, and to respond: The script I am trying to replace uses the &quot;ftp &lt;&lt;EOF&quot; method, which works and is fine, it just looks like the sort of pattern that shebangs attempt to abstract." CreationDate="2011-05-04T16:30:11.467" UserId="3454" />
  <row Id="16904" PostId="12616" Score="1" Text="That's funny, `rm -rf` should always succeed, short of permission issues. Ask the script to print debugging output if the removal fails.`ls -laR a/b` should suffice." CreationDate="2011-05-04T16:41:43.953" UserId="4671" />
  <row Id="16905" PostId="12473" Text="+1, much more accurate than my answer." CreationDate="2011-05-04T17:56:38.887" UserId="7139" />
  <row Id="16906" PostId="12615" Text="-1, I have never seen a windows system performing more efficient than a Linux system.It's funny. +1, virtualization is a good idea.then nothing" CreationDate="2011-05-04T18:11:53.323" UserId="7139" />
  <row Id="16907" PostId="12615" Text="@Behrooz When it comes to driving hardware, crappy Windows drivers can provide a result better than that provided by total lack of support in Linux.  On a platform that is well supported by both Linux and Windows, I agree -- Linux usually wins hands down.  But laptops, especially current, high-power laptops, have been known to be poorly supported by Linux." CreationDate="2011-05-04T18:22:47.683" UserId="1397" />
  <row Id="16908" PostId="12615" Text="@David:yes, but assuming you overcome that problem, it works really faster.i have already had this problem.(read my answer)" CreationDate="2011-05-04T18:30:07.823" UserId="7139" />
  <row Id="16909" PostId="12630" Text=":) thanks Andomar.... so simple.... As I've now mentioned in an edit in the question; actually writing and preparing the question gave me a fresh view.... I noticed a similar mistake in the question itslef.... I am soooooo relieved.... one and half days later :)  " CreationDate="2011-05-04T19:04:12.593" UserId="2343" />
  <row Id="16910" PostId="12583" Text="@George That's asking how to shift a car into reverse. Automatics you have to slide to R but sometimes there is a button you have to push to unlock the lever to get there. Manuals are every which direction. Some you have to jam the lever down, then over. Some have a little ring you lift, then go into a gear slot. Some have a spring you have to push aside. Some grind gears just for the heck of it it seams. You would need to specify a made, model and year. There are more &quot;graphical environents&quot; for linux than you can shake a stick at." CreationDate="2011-05-04T20:04:04.457" UserId="1925" />
  <row Id="16911" PostId="12509" Text="@Fabian In general this DOES work, I've had to do it several times. You do need to know what to wire up to each end; basically all the input/output options on both ends need to be directly patched through. This could include trapping and passing signals. Can you explain why this &quot;doesn't work&quot; for you?" CreationDate="2011-05-04T20:11:18.603" UserId="1925" />
  <row Id="16912" PostId="12618" Text="I don't understand how this would work outside the application: only the application knows where it's displayed text and images. What application are you interested in?" CreationDate="2011-05-04T20:12:09.357" UserId="885" />
  <row Id="16913" PostId="12509" Text="I've added my progress to my question. You're right that it works, my script works exactly as it should with test input. But it is not executed by a shell for some reason when called from the big program." CreationDate="2011-05-04T20:22:33.587" UserId="2703" />
  <row Id="16914" PostId="12609" Score="2" Text="[Don't parse the output of ls!](http://mywiki.wooledge.org/ParsingLs) Use `$EDITOR *.c` or `for i in *.c; do $EDITOR &quot;$i&quot;; done`." CreationDate="2011-05-04T20:23:19.267" UserId="885" />
  <row Id="16915" PostId="12633" Score="4" Text="[Don't parse the output of ls!](http://mywiki.wooledge.org/ParsingLs) Use `editor-command *.css`, etc." CreationDate="2011-05-04T20:23:41.123" UserId="885" />
  <row Id="16916" PostId="12505" Text="That's unusual. The system doesn't give the caller any indication of whether it's calling a binary or a script, the application would have to go out of its way to even find out. What's the exact error message? Are you trying to work around some kind of content protection mechanism (in which case there'll probably be other hurdles)?" CreationDate="2011-05-04T20:26:23.803" UserId="885" />
  <row Id="16917" PostId="12631" Score="1" Text="In your first example, most VM's also provide snapshot abilities so instead of having to delete and re-install the os when you bork it playing around with `rm`, you can just roll back to the last snapshot and be back in a few seconds hacking where you left off right before that stupid command." CreationDate="2011-05-04T20:32:50.230" UserId="1925" />
  <row Id="16919" PostId="12601" Text="Related: [explanation of `screen -X stuff …`](http://unix.stackexchange.com/q/5847); [a question similar to yours](http://unix.stackexchange.com/questions/5305)." CreationDate="2011-05-04T20:43:08.943" UserId="885" />
  <row Id="16921" PostId="12637" Text="Are you opening the file in vim? If so, a tag for vim to your question. " CreationDate="2011-05-02T15:25:09.297" UserId="6122" />
  <row Id="16922" PostId="12638" Text="This is exactly what I was looking for, thanks!" CreationDate="2011-05-03T05:51:09.407" />
  <row Id="16923" PostId="12633" Text="@Gilles: Duly noted, thanks for pointing out the obvious that we all couldn't see. @c0smikdebris Note that I just completely rewrite my answer including a case for if you don't have an obvious way of matching which files are text by just their name." CreationDate="2011-05-04T21:04:47.533" UserId="1925" />
  <row Id="16924" PostId="12629" Text="@Fred I reverted your subject line back to the original so we don't send people chasing a problem that is no longer written up as a problem. Also I would move your edit note from the top of the question to a comment. It's ok that it got solved by you shortly afterwards; the question can stay but leave the main question body as a question, comment on it here, and if need be provide an answer below (although it looks like that happened already)" CreationDate="2011-05-04T21:20:16.527" UserId="1925" />
  <row Id="16925" PostId="12583" Text="Thanks for the answer - I guess my best bet is to code for the most common scenarios (for example, make sure it works at least in Gnome and KDE)." CreationDate="2011-05-04T21:38:46.550" UserId="1049" />
  <row Id="16926" PostId="12640" Score="1" Text="The kernel is not going to change the permissions of a file of its own accord, even the file is a device node. (The kernel does, however, choose the owner and permissions of a `/dev/pts/*` node *when it is created*.)" CreationDate="2011-05-04T22:47:42.753" UserId="885" />
  <row Id="16927" PostId="12641" Text="Although that's technically done with the operating system's cooperation, Linux follows the standard set by makers, who have done two things: engraved an icon on `F5` to indicate that the function key is `Fn+F5` (on many, but not all, laptops), and provided a windows driver. So if all you want to know is the key combination, this question is off-topic. But if you also want other methods such as a command line or GUI application, the question is on-topic." CreationDate="2011-05-04T23:00:44.077" UserId="885" />
  <row Id="16928" PostId="12638" Text="This works great, but unfortunately when I accidentally switch to non-existent job it switches from current dir to `~/`. Any suggestions? I'm using the first answer btw." CreationDate="2011-05-04T23:45:10.530" UserId="7216" />
  <row Id="16929" PostId="12638" Text="@Senthil: In that case the job data was empty so `cd` was called with no argument (which means `cd` to your home directory). I've added a test in my answer. Tip: after calling `cd`, you can call `cd -` to go back to the directory you just left." CreationDate="2011-05-05T00:14:23.940" UserId="885" />
  <row Id="16930" PostId="12638" Text="That did the trick, thanks Gilles! (Thanks for `cd -` too)." CreationDate="2011-05-05T01:07:46.437" UserId="7216" />
  <row Id="16931" PostId="1227" Text="I agree with this comment. I have a _Lenovo Thinkpad SL400_ (the model with Intel graphics) running _Xubuntu_ and the only thing that does not work is the card reader for XD cards, wich in fact is something that does not exist for linux at all (as far as I researched less than a year ago). Bluetooth, Wifi, brightness buttons, HDMI, etc... working perfectly." CreationDate="2011-05-05T02:07:25.937" UserId="6803" />
  <row Id="16932" PostId="2530" Text="@Faheem: They were hand built, but I've built others with [buildroot](http://buildroot.uclibc.org/)." CreationDate="2011-05-05T03:00:35.017" UserId="1078" />
  <row Id="16933" PostId="12644" Text="Probably belongs over @ askubuntu.com." CreationDate="2011-05-05T03:11:51.550" UserId="5770" />
  <row Id="16936" PostId="12650" Text="please, i can't even laugh now.. i will get fired tomorrow if i dont do anythin.. help..." CreationDate="2011-05-05T03:10:35.333" />
  <row Id="16937" PostId="12650" Score="1" Text="I guess you didn't have a backup or a copy in a version control system?" CreationDate="2011-05-05T03:10:51.530" UserId="3169" />
  <row Id="16938" PostId="12650" Score="1" Text="@Heather I'm sorry to hear that, but unless you've got backups, you're likely screwed. If you have a hosting company, ask them if they have tape backups that they could restore." CreationDate="2011-05-05T03:12:28.627" />
  <row Id="16940" PostId="12650" Score="8" Text="On the assumption that you're not qualified to do this recovery on your own, it may be in your best interest to unmount the drive immediately (to prevent new data overwriting any more of the deleted data than necessary) and send it to a data recovery service.  Should you choose to attempt recovery yourself, it's in your best interest to mount the device read-only." CreationDate="2011-05-05T03:16:29.020" />
  <row Id="16941" PostId="12651" Text="No backup .. it was a new site... help me!" CreationDate="2011-05-05T03:16:03.370" />
  <row Id="16942" PostId="12652" Text="If you are still using that computer turn it off or you might destroy your last chances to recover it." CreationDate="2011-05-05T03:17:26.740" />
  <row Id="16943" PostId="12627" Text="Very interesting." CreationDate="2011-05-05T04:01:11.667" UserId="5770" />
  <row Id="16944" PostId="12608" Text="@Tshepang - Echoing what you and @Caleb say below, I'd go with Fedora in this case. It doesn't have the easiest package management system to grasp (RPM), but this will presumably be explained in detail in the lab." CreationDate="2011-05-05T04:18:06.493" UserId="5770" />
  <row Id="16945" PostId="12654" Text="so by doing that I can then type `cd host` in mc?" CreationDate="2011-05-05T04:25:07.173" UserId="7221" />
  <row Id="16946" PostId="12651" Score="3" Text="I'm afraid you're going to have to look back on this as a very painful learning experience." CreationDate="2011-05-05T04:28:31.007" UserId="4949" />
  <row Id="16947" PostId="12654" Score="1" Text="@Radek I don't normally use `mc` myself, but that doesn't seem right.  The `cd` command is normally just for changing folders locally.  I just pulled up `mc` and clicked on Shell Link under the Right menu.  I then typed in `server` which is the alias for my server entry and it automatically connected using my public key with no problems." CreationDate="2011-05-05T04:31:25.733" UserId="6167" />
  <row Id="16948" PostId="1010" Text="Learnt a lot here. Thank you." CreationDate="2011-05-05T04:31:38.390" UserId="5770" />
  <row Id="16950" PostId="12654" Score="1" Text="in that case you nicely answered my question :-) Thank you" CreationDate="2011-05-05T04:46:25.330" UserId="7221" />
  <row Id="16951" PostId="12639" Text="Ahhh..thanks Gilles, a good hint... I tried the `x` but I hadn't quite worked it out. I used a shell line ending, but that didn't work (maybe it was a trailing space..), so I used a quick 'sed' (I just forgot to remove the `x`), but come to think of it, it's pretty much the same as a quoted string, or braces spanning multiple lines. The `x` just tidies up" CreationDate="2011-05-05T04:53:03.580" UserId="2343" />
  <row Id="16952" PostId="12618" Text="If there exist application with this functionality it would be great." CreationDate="2011-05-05T04:56:01.173" UserId="6215" />
  <row Id="16953" PostId="12645" Text="My laptop uses **ACPI** and not support **lm-sensors**. If you know how to set it with ACPI, please add it to your answer. I solved it yesterday with `sudo cpufreq-selector -g powersave`" CreationDate="2011-05-05T05:12:47.033" UserId="6215" />
  <row Id="16954" PostId="12644" Text="@boehj Compiz isn't specific to Ubuntu, so it should be fine here" CreationDate="2011-05-05T05:17:12.287" UserId="73" />
  <row Id="16955" PostId="12463" Text="@Mike: I've tried to ping on my LAN, and you're right. With eth0 MTU set to 1500, I can `ping -M do -s 1472 192.168.1.3` (4 byte more than the limit outside the LAN seems to be), and any higher complains that frag is needed. I'd be very grateful if you could help me further during the weekend." CreationDate="2011-05-05T05:50:23.137" UserId="4518" />
  <row Id="16960" PostId="12628" Text="SUSE employees here?" CreationDate="2011-05-05T06:28:21.330" UserId="7139" />
  <row Id="16961" PostId="12633" Text="$() is what i was actually looking for. i should've mentioned that i'm using ls as an example here. +1 to both answers." CreationDate="2011-05-05T06:29:24.433" UserId="5671" />
  <row Id="16964" PostId="12598" Text="Note [Debian Policy on config files](http://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html). See &quot;However, note that dpkg will not replace a conffile that was removed by the user (or by a script).&quot; etc. etc." CreationDate="2011-05-05T06:53:40.327" UserId="4671" />
  <row Id="16965" PostId="12660" Score="2" Text="Good answer, I was just about to post a similar one :)  But yeah, this is correct, it's all about efficiencies in the looping, with `ls` it can just ask the file system &quot;what are the children of the inode for `pwd`&quot; where as with `ls *` it has to ask &quot;what are the children (and what is the file) of the inode `a`&quot; followed by b, c, d, etc etc.  One query vs many." CreationDate="2011-05-05T07:18:56.820" UserId="2629" />
  <row Id="16966" PostId="11649" Text="Accepting since there doesn't seem to be any canonical suggestions." CreationDate="2011-05-05T07:38:50.360" UserId="3645" />
  <row Id="16967" PostId="12660" Text="@N J *one query vs many* is a good summary so far. @camh: thanks for the detailed answer. I posted the output of `ls -l` as well (still about 30 seconds less than `ls *`)" CreationDate="2011-05-05T07:45:21.793" UserId="6958" />
  <row Id="16968" PostId="12509" Text="Sorry for the confusion, it was just an error in the shebang causing the problem." CreationDate="2011-05-05T07:53:36.490" UserId="2703" />
  <row Id="16969" PostId="12505" Text="My previously described error was caused by a mistake in the shebang of the script." CreationDate="2011-05-05T07:54:46.707" UserId="2703" />
  <row Id="16970" PostId="12527" Text="Thanks.The *c* ( astreriks around c) is needed ? or its a formatting problem ?" CreationDate="2011-05-05T08:27:02.193" UserId="2832" />
  <row Id="16971" PostId="12660" Text="@Sebastian As camh stated, `ls -l` will take longer than `ls` as it has to `stat(2)` each file to get information about timestamps/owner information/permissions, etc." CreationDate="2011-05-05T08:31:28.053" UserId="2629" />
  <row Id="16972" PostId="12660" Score="5" Text="Don't forget, `*` globs to *all* entries in the current directory that don't start with a period -- including the names of subdirectories. Which will then be `ls`'ed." CreationDate="2011-05-05T09:00:40.433" UserId="4949" />
  <row Id="16973" PostId="12653" Text="Did it create a **.so** file ?" CreationDate="2011-05-05T09:02:55.080" UserId="2871" />
  <row Id="16974" PostId="12635" Text="Having a great site like this reduces the need to use *whatever your friends use*." CreationDate="2011-05-05T09:10:57.817" UserId="688" />
  <row Id="16975" PostId="11225" Text="Either use the vdpau or use the mplayer argument &quot;framedrop&quot;. May be either one of them help you out." CreationDate="2011-05-05T10:34:42.007" UserId="4843" />
  <row Id="16976" PostId="12662" Score="1" Text="That seems really dangerous. Such a tool would have to be taught lots more exceptions than user directories like `/home`. For one, a naive implementation will do the wrong thing with `/var/run`. Any directory that can contain files not owned by a package would have to be added to the exception list, and there's no standard list that will cover all cases. I might use such a tool for auditing, but to actually let it run blind? You'd be begging for data loss." CreationDate="2011-05-05T10:40:00.227" UserId="138" />
  <row Id="16977" PostId="12635" Text="You might be surprised how much you can learn if somebody is at the next desk over :)" CreationDate="2011-05-05T10:40:24.030" UserId="1925" />
  <row Id="16978" PostId="12598" Text="@Faheem That's awfully gentleman of Debian not to mess with conf files, but is there no flag or option anywhere to override this behavior? For example RPM can be asked to create conf files with an alternate extension as an alternative to clobbering edited ones." CreationDate="2011-05-05T10:45:10.870" UserId="1925" />
  <row Id="16980" PostId="12527" Text="@balki that's a &quot;formatting&quot; problem. Fixed it" CreationDate="2011-05-05T11:04:01.423" UserId="252" />
  <row Id="16981" PostId="12606" Text="I tried using Java's -DsocksProxyHost and -DsocksProxyPort system properties to redirect traffic to unexisting proxy server. It worked on Linux but not on FreeBSD. Any ideas?" CreationDate="2011-05-05T11:04:37.553" UserId="7201" />
  <row Id="16982" PostId="12662" Text="@Warren: First, of course there are a whole bunch of exceptions, like package configuration files. Second, this is mostly used for stand-alone security-critical servers, so it's important that everything is accounted for. Third, this is used by a bottom-up custom built Linux distribution, so there's no need to cover &quot;all cases&quot;. And I never said I let it &quot;run blind&quot; - On a productive system it's useful for admins to detect unsolicited changes, and on a build system it's useful to check what changed." CreationDate="2011-05-05T11:15:14.723" UserId="3645" />
  <row Id="16983" PostId="12669" Text="This is not applicable. I asked for a way to verify that the package metadata corresponds to the reality on disk." CreationDate="2011-05-05T11:21:15.440" UserId="3645" />
  <row Id="16984" PostId="12585" Text="Theoretically, they may differ, but is there a chance they would mismatch on any real-life installation? " CreationDate="2011-05-05T11:30:53.407" UserId="4404" />
  <row Id="16985" PostId="12635" Text="Yeah, I do agree." CreationDate="2011-05-05T11:32:12.850" UserId="688" />
  <row Id="16986" PostId="12653" Text="It comes with a .so file libncom.so" CreationDate="2011-05-05T11:43:11.563" UserId="3539" />
  <row Id="16987" PostId="12660" Text="@camh: I tested a bit more (see my edits) and found that: `ls` &lt; `ls -l` &lt; `ls -l *` &lt; `ls *` (I always ran it three times). With your explanation, I don't understand why `ls -l *` is faster than `ls *`" CreationDate="2011-05-05T11:55:02.490" UserId="6958" />
  <row Id="16988" PostId="12670" Text="Thanks, but still invisible" CreationDate="2011-05-05T11:59:15.680" UserId="1900" />
  <row Id="16990" PostId="12660" Text="@Sebastian: I'm not sure why you are seeing those differences between `ls *` and `ls -l *`, unless some cache effects are in play. I've updated my answer with how you can see what system calls are being run." CreationDate="2011-05-05T12:15:03.093" UserId="1078" />
  <row Id="16991" PostId="12651" Score="1" Text="It's really common sense to have backups of critical data, especially in a production environment.  If you are new to IT and this job, your boss should really have had some sort of backup system in place.  Unless backing up data was part of your job, I see the fact that there's no backup or recovery strategy as your boss's fault." CreationDate="2011-05-05T12:19:47.533" UserId="3389" />
  <row Id="16992" PostId="12619" Score="1" Text="Thanks for your responses.  I wish I could accept both answers." CreationDate="2011-05-05T12:29:04.080" UserId="7203" />
  <row Id="16993" PostId="12665" Text="What changed between the time you had a mouse pointer and the time it went away (especially system upgrades)? Have you tried starting a new X server (log out, press `Ctrl+Alt+Backspace`) or even rebooting?" CreationDate="2011-05-05T12:45:05.563" UserId="885" />
  <row Id="16994" PostId="12598" Text="@Caleb: One option is to remove it completely, and do `apt-get -o Dpkg::Options::=&quot;--force-confmiss&quot; install --reinstall  apache2.2-common`. I verified this works. If the file is modified and not missing, it seems to me that`apt-get -o Dpkg::Options::=&quot;--force-confnew&quot; install --reinstall  apache2.2-common` should work but doesn't. See `man dpkg`, and the section beginning `--force-things`. It's not the best documented feature. I'll ask about this latter thing. No doubt I'm missing something." CreationDate="2011-05-05T13:00:27.770" UserId="4671" />
  <row Id="16996" PostId="12665" Text="It is a fresh install of latest stable Debian, replacing Fedora I had for a a few years. Have tried all of that, but the pointer is still invisible." CreationDate="2011-05-05T13:31:03.933" UserId="1900" />
  <row Id="16997" PostId="12662" Text="Re: &quot;all cases&quot;, that's the sort of thing you implicitly ask for when you ask for an existing tool. Either an existing tool will be written specifically for a different situation or it will be general enough to be applied to any, and so require a lot of customization. Re: detecting unsolicited changes, I think you're barking up the wrong tree. If someone can modify sensitive files on your system, they can hack the package DB, too. This is why the docs for tools like AIDE (http://serverfault.com/questions/62539/tripwire-and-alternatives) tell you to save the DB to read-only media." CreationDate="2011-05-05T13:35:43.523" UserId="138" />
  <row Id="16998" PostId="12601" Text="Thanks :) The second link was explained why the first command has to be `stuff`, which was what I had trouble understanding." CreationDate="2011-05-05T13:44:04.293" UserId="4001" />
  <row Id="17000" PostId="208" Text="This is also super useful for `comm` as it takes files only, but in a lot of cases that's a waste of inodes." CreationDate="2011-05-05T14:11:58.653" UserId="434" />
  <row Id="17001" PostId="12660" Text="nice! You're right, I'm not seeing this difference on a local file system. Anyway, `strace` reveals that `ls -l *` is using `lstat64` and `getxattr`, whereas `ls *` is just using `stat64` and `lstat64`." CreationDate="2011-05-05T14:13:07.650" UserId="6958" />
  <row Id="17002" PostId="12660" Text="On the other hand, `ls` uses `getdents64` and not `(l)stat64` (as `ls *` is doing). `getdents64` doesn't have a file name argument. On *GPFL*, `ls -l` uses another function called `readlink`, which may be faster than `stat64`. thanks a lot!" CreationDate="2011-05-05T14:21:24.603" UserId="6958" />
  <row Id="17003" PostId="12662" Text="Sorry, that was bad wording on my part. I meant *accidental* rather than *malicious* changes, such as renaming a sample configuration file to the wrong name." CreationDate="2011-05-05T14:30:26.363" UserId="3645" />
  <row Id="17004" PostId="12671" Text="Nice, `-qa` + `-qaV` seems to do exactly what is needed. I wonder how difficult that would be to port to DEB..." CreationDate="2011-05-05T14:30:48.437" UserId="3645" />
  <row Id="17005" PostId="12598" Score="2" Text="@Caleb: After asking the dpkg list (and being told off for it) + further fiddling, the following works. Be careful with this. It will replace all your modified config files with the version from the package. `apt-get -o Dpkg::Options::=&quot;--force-confnew&quot; -o Dpkg::Options::=&quot;--force-confask&quot;  install --reinstall  apache2.2-common`. I don't know why you needed me to tell you this. It's the first thing you should have thought of. :-)" CreationDate="2011-05-05T15:15:51.720" UserId="4671" />
  <row Id="17006" PostId="12651" Text="While @ultrasable has a point, you'll do yourself absolutely no favors if you try to tell your boss that - at best, you'll sound like you're playing the blame game to avoid responsibility. Honesty is likely going to be the best policy, even if it's likely to be painful in the short run." CreationDate="2011-05-05T15:20:24.897" UserId="4949" />
  <row Id="17007" PostId="12264" Score="1" Text="&quot;Dying a slow death&quot;, long times between new versions, these may just be symptoms of mature software that has most/all features that it's philosophy supports, and that has been debugged.  Andy Ozment takes a look at OpenBSD in &quot;Milk or Wine&quot; (http://www.andyozment.com/papers/Ozment_and_Schechter-Milk_Or_Wine-Usenix06.pdf) and suggests that software does become less buggy as time goes on.  Stay with FVWM if it meets your needs." CreationDate="2011-05-05T15:21:37.337" UserId="732" />
  <row Id="17008" PostId="12681" Text="That link says to run cat `/etc/ld.so.preload` to find if its there. But when I run, its not there in my system. `ld.so.preload` - What is the importance of that?" CreationDate="2011-05-05T15:45:27.267" UserId="3539" />
  <row Id="17009" PostId="12555" Text="An anonymous user mentioned in a [suggestion](http://unix.stackexchange.com/suggested-edits/356) that this is limited to OS X clients" CreationDate="2011-05-05T17:03:57.497" UserId="73" />
  <row Id="17011" PostId="12684" Text="Can I challenge to measure boot times with bash installed, versus with dash installed. You are probably not even going to notice." CreationDate="2011-05-05T18:36:21.687" UserId="688" />
  <row Id="17012" PostId="6721" Text="Try getting to a console. Ctrl-Alt-F1. If that works, boot worked, and X is the problem. If not, your system hasn't booted properly. If the former, the next thing is to look at the X log in `/var/log/Xorg.0.log` or similar." CreationDate="2011-05-05T18:37:04.060" UserId="4671" />
  <row Id="17013" PostId="12684" Text="One important thing is when building something like LFS, try as hard as possible to stay with the book. You can always revert to dash anyways, once you don't need the host anymore (i.e. after you log into your LFS system)." CreationDate="2011-05-05T18:37:31.077" UserId="688" />
  <row Id="17014" PostId="6721" Text="@FaheemMitha: This problem occurs at installation stage." CreationDate="2011-05-05T18:39:04.510" UserId="688" />
  <row Id="17015" PostId="12684" Text="@Thespang &quot;The boot speed improvements in Ubuntu 6.10 were often incorrectly attributed to Upstart, which is a fine platform for future development of the init system but in Ubuntu 6.10 was primarily running in System V compatibility mode with only small behavioural changes. These improvements were in fact largely due to the changed /bin/sh.&quot; From: https://wiki.ubuntu.com/DashAsBinSh" CreationDate="2011-05-05T18:47:46.037" UserId="7183" />
  <row Id="17016" PostId="6721" Text="Is it trying to boot up into X? If, so try booting into console mode. This is an option for Debian. I don't know if installers of other distributions support it. (Sorry, didn't realise this was an old question. Perhaps it is no longer relevant?)" CreationDate="2011-05-05T18:47:58.580" UserId="4671" />
  <row Id="17017" PostId="12647" Text="tl;dr :) Can you summarize why your answer is better than Fn-F5?" CreationDate="2011-05-05T18:50:57.800" UserId="1594" />
  <row Id="17018" PostId="12665" Text="If possible, try a more recent kernel. 2.6.38 is in unstable, and should install and boot on stable. And it is not hard to rebuild on stable if necessary. If you are using proprietary drivers or building out of kernel modules, that could make it more difficult. Also, please report the bug. Thanks." CreationDate="2011-05-05T18:53:12.290" UserId="4671" />
  <row Id="17019" PostId="6721" Text="@FaheemMitha: It's the very first installer bootup, before I can do anything at all." CreationDate="2011-05-05T18:56:55.960" UserId="688" />
  <row Id="17020" PostId="6721" Text="@FaheemMitha: The problem is likely still relevant, since I don't think Arch has a newer install iso." CreationDate="2011-05-05T18:57:53.817" UserId="688" />
  <row Id="17021" PostId="12684" Text="@ErikB: Do you mind checking on your system?" CreationDate="2011-05-05T18:59:30.137" UserId="688" />
  <row Id="17022" PostId="12684" Text="Also, next time just use the first three letters in order for me to get a notification. Either that, or install this script http://stackapps.com/q/2051/5198." CreationDate="2011-05-05T19:02:24.233" UserId="688" />
  <row Id="17023" PostId="5202" Text="@wzzrd: you forgot the mandatory link to http://distrowatch.com/ since there is no better site that can show how many different distros you can choose from. " CreationDate="2011-05-05T19:07:17.843" UserId="2567" />
  <row Id="17024" PostId="12484" Text="@Gilles: Thanks again for the help.  In the end, I uninstalled Ubuntu and installed Debian (I had other annoyances) and it all just worked again." CreationDate="2011-05-05T19:14:58.160" UserId="6245" />
  <row Id="17025" PostId="12684" Text="@Tshepang Checking what?" CreationDate="2011-05-05T19:18:00.840" UserId="7183" />
  <row Id="17026" PostId="12684" Text="@Tshepang typo, sorry." CreationDate="2011-05-05T19:24:07.313" UserId="7183" />
  <row Id="17027" PostId="12598" Text="@Faheema I was just about to type that, then decided naw it would be too simple. Sheesh, what a command. Thanks for tracking it down with the dpkg folks tho. If you want to add that as an answer here go ahead. Until then I figured it warranted the attention of adding it to my answer." CreationDate="2011-05-05T19:35:03.337" UserId="1925" />
  <row Id="17028" PostId="12669" Text="@lObO To be fair your question is not entirely clear. You specifically mention an example your question that this is a much better replacement for. Rather than running a script to generate an rm list to return a system to a known clean state, snapshoting would be a much better solution. Based on your input it is worth proposing here particularly for anybody who might come along with the idea of doing something similar. If you have reasons to persist with your architecture fine, but lots of people think they want to do this when really they need to be doing something else." CreationDate="2011-05-05T19:48:25.047" UserId="1925" />
  <row Id="17029" PostId="12585" Text="@minaev: Some distributions ship an amd64 kernel on the x86 version. I don't know how many people use them, I checked [Debian popcon](http://popcon.debian.org/) but it doesn't correlate between the various stats. I think the main use case is having a 32-bit main OS and running a 64-bit OS in a chroot or in a VM." CreationDate="2011-05-05T20:00:11.523" UserId="885" />
  <row Id="17030" PostId="12640" Text="Gilles, we were both wrong. The kernel doesn't make these mods directly, thank you for the correction. But permissions on device nodes *are modified occasionally by other processes, after initialization*." CreationDate="2011-05-05T20:32:49.703" UserId="6352" />
  <row Id="17031" PostId="12647" Text="Simple: because not always Fn-F5 works, and with the method I described you can position just as you need the screens you are using.   &#xA;I have a link to that script in my desktop, so that when I have the external monitor attached to my laptop, I can easily set up the screens (without it, the system just enables the external monitor and shuts off the one of the laptop)." CreationDate="2011-05-05T20:35:09.670" UserId="6803" />
  <row Id="17032" PostId="6130" Text="The -E option is not available in CentOS." CreationDate="2011-05-05T20:40:45.830" UserId="7252" />
  <row Id="17033" PostId="12640" Text="@Sean: I don't see where in your write-up you've found that something would be changing the permissions on `/dev/pts/*`. The device entry disappears when it stops being used, and a *new* one is created when needed. Unlike the old `/dev/pty*`, these entries are not reused, AFAIK." CreationDate="2011-05-05T20:45:58.767" UserId="885" />
  <row Id="17034" PostId="12688" Text="yum install man-pages" CreationDate="2011-05-05T20:55:01.980" UserId="6167" />
  <row Id="17035" PostId="12115" Text="As a good start though, `whois` and `nslookup` are helpful tools." CreationDate="2011-05-05T20:58:00.937" UserId="3389" />
  <row Id="17036" PostId="12688" Text="@penguin: That should be an answer, not a comment." CreationDate="2011-05-05T21:27:28.417" UserId="4671" />
  <row Id="17037" PostId="9409" Text="Fantastic - I've used this as part of an [answer on SO](http://stackoverflow.com/questions/5701508/storing-php-php-fpm-apaches-temporary-from-upload-files-in-ram-rather-than-the/5877346#5877346)" CreationDate="2011-05-05T21:52:59.730" UserId="6053" />
  <row Id="17038" PostId="12676" Text="I don't understand how your answer relates to the question. `updatedb` says nothing about disk usage. If you're doing it just to traverse the disk, you're going to hurt overall performance." CreationDate="2011-05-05T21:54:16.950" UserId="885" />
  <row Id="17039" PostId="12640" Text="*sigh* .. I guess you're right again. Thanks for challenging my understanding of this ! :) " CreationDate="2011-05-05T22:12:46.980" UserId="6352" />
  <row Id="17040" PostId="12684" Text="@ErikB: boot speed of dash vs. bash." CreationDate="2011-05-05T22:18:53.900" UserId="688" />
  <row Id="17041" PostId="12692" Score="1" Text="This is often called “tailing”, after [`tail -f`](http://unix.stackexchange.com/questions/12692/whats-a-convenient-way-of-checking-whats-being-added-to-a-log-file-in-realtime/12693#12693). See also [How to have tail -f show colored output](http://unix.stackexchange.com/questions/8414/how-to-have-tail-f-show-colored-output) and more generally [the `tail` tag](http://unix.stackexchange.com/tags/tail)." CreationDate="2011-05-05T22:41:57.860" UserId="885" />
  <row Id="17042" PostId="12343" Text="@Giles: When I said make a shell I meant create a whole new one from scratch, where you'd have to build in limitations to prevent that sort of thing. You're definitely right that writing a fool proof config is probably impossible." CreationDate="2011-05-05T22:54:20.440" UserId="7001" />
  <row Id="17043" PostId="12694" Text="Wouldn't it be a lot more straightforward to just change the alias to something unique - or shorter?" CreationDate="2011-05-05T23:55:12.357" UserId="6761" />
  <row Id="17046" PostId="12693" Score="3" Text="tail -f | grep ... | while read line; do ...; done is an extremely common scripting idiom among sysadmins.  (Yes variants of of it using popen() styled subprocesses count as using the same idiom).  It's used to selectively process logged events in near real-time (for example to send alerts or initiated automated remediation scripts)." CreationDate="2011-05-06T00:58:10.997" UserId="1036" />
  <row Id="17047" PostId="4149" Text="**Where did you find that app?!?!**" CreationDate="2011-05-06T02:01:41.203" UserId="1049" />
  <row Id="17048" PostId="926" Text="@progo: That doesn't work for me in `bash`." CreationDate="2011-05-06T02:07:59.670" UserId="1049" />
  <row Id="17049" PostId="12555" Text="@michael, it is.  I tried on Windows &amp; Linux &amp; it works fine on both.  I have no idea why only OS X would be affected." CreationDate="2011-05-06T02:11:50.910" UserId="3513" />
  <row Id="17050" PostId="12694" Text="I think flexo is pretty concise, and no I'd rather keep my current scheme - type the name of the server, and off I go." CreationDate="2011-05-06T02:47:52.577" UserId="6309" />
  <row Id="17051" PostId="12700" Text="Could you please elaborate a little bit on why this is true? Perhaps you could give an example of how corruption would occur in a certain scenario." CreationDate="2011-05-06T02:57:28.913" UserId="1049" />
  <row Id="17052" PostId="12700" Text="@George Edison See my expanded answer." CreationDate="2011-05-06T03:21:02.130" UserId="5535" />
  <row Id="17053" PostId="4149" Score="1" Text="@George I wrote it when I was messing with the SO API. It doesn't use any routes except /users, so you're basically seeing all the implemented features in that screenshot; it was just to see how hard it would be" CreationDate="2011-05-06T03:32:08.230" UserId="73" />
  <row Id="17054" PostId="4149" Text="@Michael: Is the code public anywhere?" CreationDate="2011-05-06T04:06:14.717" UserId="1049" />
  <row Id="17055" PostId="4149" Score="1" Text="@George I put it on [github](https://github.com/mrozekma/SE-Fuse)" CreationDate="2011-05-06T04:18:26.340" UserId="73" />
  <row Id="17056" PostId="926" Text="@George. It seems that you're right. I did learn that zsh supported it, and later I heard that bash also supported it. Oh my :(" CreationDate="2011-05-06T04:28:50.820" UserId="5674" />
  <row Id="17057" PostId="12704" Text="`man regex` returns the page from section 7 on my Ubuntu install" CreationDate="2011-05-06T05:07:03.087" UserId="5762" />
  <row Id="17058" PostId="12705" Text="yeah, the section 3 page for regex was not already installed - fixed, thanks" CreationDate="2011-05-06T05:10:42.597" UserId="5762" />
  <row Id="17059" PostId="12679" Text="&quot;I started a trouble ticket back in May 2009 and updated it through out the summer. I can not get the university support to touch it.&quot; Even if I wanted to us external DNS, the problem is something else - I can not load *.uwyo.edu" CreationDate="2011-05-06T06:28:48.267" UserId="3468" />
  <row Id="17060" PostId="7259" Text="When attempting via IP, my browser is redirected to the domain - which doesn't work. The only thing I have been able to do is VPN... actual I set up SSH forwarding and proxy when Im desperate enough.&#xA;" CreationDate="2011-05-06T06:30:46.253" UserId="3468" />
  <row Id="17061" PostId="12700" Text="@Amazed: Thanks!" CreationDate="2011-05-06T06:35:00.260" UserId="1049" />
  <row Id="17062" PostId="926" Score="1" Text="@progo: It turns out that prepending the command with `nohup` accomplishes this." CreationDate="2011-05-06T06:37:51.070" UserId="1049" />
  <row Id="17063" PostId="12701" Text="Isn't the drive's firmware smart enough to suspend writing when retracting the head?" CreationDate="2011-05-06T06:43:32.067" UserId="1049" />
  <row Id="17064" PostId="12501" Text="can you post the output of the `locale` command?" CreationDate="2011-05-06T07:44:11.573" UserId="6167" />
  <row Id="17065" PostId="12701" Text="@George: It's going to depend on the drive. There's a lot out there and you don't know how well your (cheap) drive does things." CreationDate="2011-05-06T07:54:04.623" UserId="1078" />
  <row Id="17066" PostId="12709" Text="+1 for the distinction between file system corruption and data corruption.  That little distinction is quite the doozy in practice." CreationDate="2011-05-06T08:03:32.993" UserId="7267" />
  <row Id="17067" PostId="11632" Text="Indeed, I will edit the post now." CreationDate="2011-05-06T08:43:35.347" UserId="7268" />
  <row Id="17068" PostId="12721" Score="2" Text="TMOUT is available both with bash and ksh." CreationDate="2011-05-06T09:10:52.560" UserId="1078" />
  <row Id="17069" PostId="12721" Score="3" Text="@camh Zsh too, I would expect any modern shell to support it." CreationDate="2011-05-06T09:14:13.260" UserId="3459" />
  <row Id="17070" PostId="12676" Score="1" Text="Counting up file sizes for `du` is slow because you have to access metadata of a potentially large number of files, scattered around the disk.  If you run updatedb aggressively,  the metadata for all the files is forced to be stored in RAM.  The next time you run any other metadata-heavy operation, instead of doing thousands of seeks across the disks, you use the cache.  Normally you have a small chance of having that particular portion of the tree's metadata cached.  With my 'metadata cache priming' it's highly probable that the data you want is freshly cached.  No physical seeks == FAST." CreationDate="2011-05-06T10:33:11.927" UserId="434" />
  <row Id="17071" PostId="12653" Text="The details of the lib is: **ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped**" CreationDate="2011-05-06T10:45:34.427" UserId="2871" />
  <row Id="17072" PostId="12721" Score="1" Text="It's a great thing that I learned today. " CreationDate="2011-05-06T10:50:35.387" UserId="4843" />
  <row Id="17073" PostId="12709" Text="Excuse my utter ignorance, but doesn't `data=journal` as a feature make no sense at all?" CreationDate="2011-05-06T10:57:07.117" UserId="5770" />
  <row Id="17077" PostId="12729" Text="how to get .o object files from shell prompt" CreationDate="2011-05-06T12:04:03.833" UserId="7164" />
  <row Id="17078" PostId="12729" Text="i have given  $ cc -o lc&#xA;and the output is /usr/ucb/cc:  language optional software package not installed&#xA;" CreationDate="2011-05-06T12:06:17.183" UserId="7164" />
  <row Id="17079" PostId="12733" Text="Do you mean you're running Fedora inside a virtual machine, or you're running VMware on Fedora?" CreationDate="2011-05-05T17:26:50.990" UserId="1268" />
  <row Id="17080" PostId="12733" Text="Fedora is the guest on a Windows host running VMware Workstation.  Also updated the question to be more clear." CreationDate="2011-05-05T18:37:46.503" />
  <row Id="17081" PostId="12733" Text="What have you already tried?  [Here's a step by step for Fedora 14](http://www.sysprobs.com/fedora-14-vmware-install-vmware-tools-fedora-14), the process should be pretty similar on 15." CreationDate="2011-05-05T22:36:25.087" UserId="1268" />
  <row Id="17082" PostId="12690" Text="Thanks, using this command the C library docs were installed. But I am still unable to find man pages for iostream and friends." CreationDate="2011-05-06T13:16:49.383" UserId="557" />
  <row Id="17083" PostId="12691" Text="Thanks, but that didn't work either: &quot;No Matches found&quot;." CreationDate="2011-05-06T13:24:34.013" UserId="557" />
  <row Id="17084" PostId="12736" Text="oh i think i figured it out- it just searches your $PATH for 'python'" CreationDate="2011-05-06T13:50:46.133" UserId="7278" />
  <row Id="17085" PostId="12738" Score="1" Text="Kind of obvious that a question tagged Solaris is about Solaris :-D" CreationDate="2011-05-06T13:57:54.427" UserId="2671" />
  <row Id="17087" PostId="12728" Text="Log files: look under `/var/log`, check the recently modified files (`ls -ltr`), probably `daemon.log` or `syslog`. You might get better response if you include more information for people not familiar with dhis: copy-paste the configuration file(s) (minus identifying information), and describe precisely what you've done so that the client runs at the right time." CreationDate="2011-05-06T14:00:30.400" UserId="885" />
  <row Id="17088" PostId="12731" Text="What version of Solaris? Copy-paste the output of `uname -a`. Either you don't have a compiler or it's not in the default `PATH`; ask your admins. If you don't have a Sun compiler (or even if you have one), you can install GCC, possibly from a Sun software distribution." CreationDate="2011-05-06T14:01:55.283" UserId="885" />
  <row Id="17089" PostId="12732" Score="2" Text="Explain what? This is a simple makefile. Is there anything in particular you're stumbling on? If not, you should be reading a makefile tutorial." CreationDate="2011-05-06T14:03:46.637" UserId="885" />
  <row Id="17090" PostId="12740" Text="I'm not sure but isn't this suppose to parse the file twice, one for each `-e`? I was already using two different sed calls and wanted to optimize using a single pass, I found how to do it using hold buffer. +1 for `awk` and `perl` alternatives, I'll `time` them to see which is faster, thank you." CreationDate="2011-05-06T14:04:33.563" UserId="7226" />
  <row Id="17091" PostId="12740" Score="1" Text="@neurino: sed is a streaming editor, it never backs up in the input file. Multiple `-e` arguments are equivalent to specifying a multiline script." CreationDate="2011-05-06T14:07:04.310" UserId="885" />
  <row Id="17092" PostId="12738" Text="Just now noticed it. Not enough coffee yet. Hehe.  (edited my answer)" CreationDate="2011-05-06T14:13:05.580" UserId="3389" />
  <row Id="17093" PostId="12728" Text="So silly of me, `sudo dhid` and not `dhid`. I found the error in syslog." CreationDate="2011-05-06T14:16:01.117" UserId="7140" />
  <row Id="17094" PostId="12740" Text="@Gilles: I profiled on a dir with 5000+ files in it: `time ls -1 | sed -nr -e '1 p' -e '1 p; $ p'` takes 159ms, `time ls -1 | sed -nr '1 {h; p; g; p}; $ p'` 118ms (-25%)." CreationDate="2011-05-06T14:19:18.997" UserId="7226" />
  <row Id="17097" PostId="12744" Text="This cc isn't a stub command to remind the compiler is not installed but was designed to ease recompiling code written for SunOS 4 (BSD) on Solaris 2 (System V)." CreationDate="2011-05-06T14:45:02.123" UserId="2594" />
  <row Id="17098" PostId="12598" Text="@Caleb: I'm just posted a summary of what was in the comments, with brief explanations and context. Feel free to comment if you think further clarifications are needed. Thanks." CreationDate="2011-05-06T15:08:43.430" UserId="4671" />
  <row Id="17099" PostId="12736" Text="I've wondered about that too. And why /usr/bin/env? as opposed to /bin/env or env, if it is just getting a list of paths from env?" CreationDate="2011-05-06T15:50:26.857" UserId="4671" />
  <row Id="17100" PostId="12723" Text="What events could lead to a corrupt journal? The only thing I could think of was bad sectors - is there anything else?" CreationDate="2011-05-06T16:35:34.723" UserId="1049" />
  <row Id="17101" PostId="12746" Text="I'm kind of surprised you managed to hit that limit -- I run apache and pgsql on multiple servers at my workplace without encountering that limit. One thing that might be of help is that phppgadmin doesn't necessarily need to run on the same server as postgresql..." CreationDate="2011-05-06T16:56:27.000" UserId="4949" />
  <row Id="17102" PostId="12746" Text="@Shadur I suspect there are lost semaphores from early crashes. I can't do anything about that at the moment, though, so I'm considering my other options." CreationDate="2011-05-06T17:04:21.843" UserId="715" />
  <row Id="17103" PostId="675" Text="Cheers for the link Mark." CreationDate="2011-05-06T17:32:23.637" UserId="5770" />
  <row Id="17104" PostId="12755" Text="I know this is rather common, but I am having issues. A definitive answer for this question would be helpful for many. Lots of examples around seem omit important details." CreationDate="2011-05-06T17:41:19.780" UserId="4856" />
  <row Id="17105" PostId="12746" Text="In that case I recommend you find some way to clear the lost semaphores and find out what keeps crashing, or raising the limit will just get you in trouble again when the new limit is reached..." CreationDate="2011-05-06T17:53:36.367" UserId="4949" />
  <row Id="17106" PostId="12700" Text="That last bit is incorrect; there is no window for things to go wrong.  Since it records what it is about to do before it starts doing it, the operation can be restarted after the power failure, no matter at what point it occurs during the operation.  It is a matter of ordering, not timing." CreationDate="2011-05-06T17:58:50.783" UserId="7285" />
  <row Id="17107" PostId="12701" Text="The hard drive tells the OS if it uses a write behind cache, and the OS takes measures to ensure they are flushed in the correct order.  Also drives are designed so that when the power fails, they stop writing.  I have seen some cases where the sector being written at the time of power loss becomes corrupt because it did not finish updating the ecc ( but can be easily re-written correctly ), but never heard of random sectors being corrupted on power loss." CreationDate="2011-05-06T18:05:15.900" UserId="7285" />
  <row Id="17108" PostId="12709" Text="Again, the OS knows when the drive caches data and forces it to flush it when needed in order to maintain a coherent fs.  Your data file of course, can be lost or corrupted if the application that was writing it when the power failed was not doing so carefully, and that applies whether or not you use data=journal." CreationDate="2011-05-06T18:11:02.543" UserId="7285" />
  <row Id="17110" PostId="12758" Score="1" Text="You also need `xauth` installed on the remote machine, otherwise the x authority stuff won't work." CreationDate="2011-05-06T18:22:10.003" UserId="4671" />
  <row Id="17111" PostId="12687" Text="I'm aware of that option, but its not what I'm looking for though. I need the folder structure to stay intact  ... I just need the 'parent folder' name changed " CreationDate="2011-05-06T18:22:55.907" UserId="7251" />
  <row Id="17112" PostId="12758" Text="What about setting `DISPLAY`?" CreationDate="2011-05-06T18:36:10.987" UserId="4856" />
  <row Id="17113" PostId="12712" Text="I would prefer if `less` just worked on compressed files." CreationDate="2011-05-06T18:37:02.877" UserId="1010" />
  <row Id="17114" PostId="12746" Text="@Shadur It is not crashing anymore, but to clear the semaphores I need to stop the database, and it will take a while before I get a window to do that." CreationDate="2011-05-06T18:47:58.233" UserId="715" />
  <row Id="17115" PostId="12687" Text="I just looked into using p7zip's `7z` that also handles normal zips nicely, but it has the same to extract options, flatted everything or keep everything. I think you are going to have to script this yourself. `unzip mine.zip; mv stuff/* ./; rmdir stuff`" CreationDate="2011-05-06T18:54:46.407" UserId="1925" />
  <row Id="17116" PostId="12758" Text="ssh will automatically set `$DISPLAY` if `X11Forwarding` is enabled and `xauth` is present on the client system." CreationDate="2011-05-06T18:58:47.690" UserId="4949" />
  <row Id="17117" PostId="12763" Text="I keep getting &quot;command: Command not found.&quot; for command, and &quot;cd: Command not found&quot; for \cd. Is 'command' a tcsh built-in?" CreationDate="2011-05-06T19:18:29.087" UserId="7284" />
  <row Id="17118" PostId="12752" Text="I tried to configure gnus (emacs client) to access gmail but I couldn't have figure which file to use. I followed this [link](http://www.emacswiki.org/emacs/GnusGmail)" CreationDate="2011-05-06T19:18:52.097" UserId="7140" />
  <row Id="17119" PostId="12764" Text="Some of the aliases I have are not of my own doing. I appreciate your advice and will do my best to heed it where possible. Now that there _are_ aliases I would like to bypass, how do I?" CreationDate="2011-05-06T19:19:27.960" UserId="7284" />
  <row Id="17120" PostId="12764" Text="Sure. `unalias cd`." CreationDate="2011-05-06T19:31:56.543" UserId="1925" />
  <row Id="17121" PostId="12763" Text="*sigh* POSIX weirdness... there are fakes in `/usr/bin` on here. But the manual confirms that backslash should work... and turns out it does, but you have to quote an *inner* character to prevent aliasing while still supporting builtins. BTW, If you're trying to do something after a `cd`, take a look at `alias cwdcmd` in `tcsh(1)`; this also saves you from having to deal with `pushd`/`popd` etc." CreationDate="2011-05-06T19:33:04.860" UserId="5325" />
  <row Id="17122" PostId="12766" Text="@Gilles-every thing is working fine but it gives an error /bin/sh: 1 :not found .I am using it like this:-                                    " CreationDate="2011-05-06T19:36:29.703" UserId="6771" />
  <row Id="17123" PostId="12763" Text="@geekosaur: `command` is usually a built-in in POSIX shells, and needs to be for `command -[Vv]`. Using a backslash to bypass the alias only works for regular commands, not for builtins (because builtins can't be quoted in (t)csh any more than aliases can)." CreationDate="2011-05-06T19:40:58.223" UserId="885" />
  <row Id="17124" PostId="12766" Text="@Gilles-every thing is working fine but it gives an error /bin/sh: 1 :not found .I am using it like this:-   system(&quot;date&quot;| getline date) printf(&quot;%s&quot;,date)                                   &#xA;" CreationDate="2011-05-06T19:44:54.347" UserId="6771" />
  <row Id="17125" PostId="12770" Text="@geekosaur. I see, thanks. I just want to prevent anybody from deleting the symbolic link. From what I understand then I cannot change the permission of this link without the help the administrator, correct?" CreationDate="2011-05-06T19:48:14.227" UserId="4531" />
  <row Id="17126" PostId="12770" Score="2" Text="Not even with the administrator's help. File deletion depends on the permissions of the containing directory, not on those of the file. (`rm` specifically checks the file for read-only unless you pass `-f`, because one usually doesn't intend a read-only file to be deleted, but `unlink()` doesn't care. Try it from Perl or Python sometime.)" CreationDate="2011-05-06T19:52:02.947" UserId="5325" />
  <row Id="17128" PostId="12766" Score="1" Text="@nishan: The pipe executes its left-hand side as a command. So you're executing the result of `system(…)` as a shell command. The right syntax is in my answer." CreationDate="2011-05-06T20:00:19.713" UserId="885" />
  <row Id="17129" PostId="12764" Text="Evidentally, I wasn't clear at all, Caleb, and I apologize. Let's call the 'cd' case solved. I was trying to find out how to do this for other aliases _without_ unaliasing. I'm sorry I did not get that across. It looks like an internal backslash is exactly what I was looking for." CreationDate="2011-05-06T20:13:52.543" UserId="7284" />
  <row Id="17130" PostId="12763" Text="It seems that command is not available on my system (aside: how did you format that to stand out?), but the internal backslash works for me. Thanks!" CreationDate="2011-05-06T20:17:49.777" UserId="7284" />
  <row Id="17131" PostId="12763" Text="Cheers @geekosaur - I didn't know about this \ behaviour and I think it'll be quite handy as I begin to use aliases more and more frequently. :)" CreationDate="2011-05-06T20:23:39.227" UserId="5770" />
  <row Id="17132" PostId="12772" Text="As others have mentioned, Gilles must be some sort of manifestation of Linux itself. I'd buy you a pint if I could. Much appreciated." CreationDate="2011-05-06T20:38:37.230" UserId="4856" />
  <row Id="17133" PostId="12741" Text="There's probably something missing in your question: the binary representation of a negative number is just the binary representation of its opposite with a `-` tacked on at the beginning. Do you mean you want the *unsigned* representation modulo N? Please clarify your question." CreationDate="2011-05-06T20:58:03.553" UserId="885" />
  <row Id="17134" PostId="2245" Text="@Sam, the question leaves it kind of open, if a searched word should be searched like 'WORD' or '\&lt;WORD\&gt;' - you can read it both ways. Even if you read it the 2nd way and only in the 2nd way, then my answer would be only incorrect in 1 one way. ;) And the 'grep -o' solution is only superior, if it supports the -o option - which is not specified by POSIX ... Well, I don't think so that the use of tr is that exotic to call it vague ..." CreationDate="2011-05-06T21:01:52.127" UserId="1131" />
  <row Id="17135" PostId="12728" Text="@Yotam: So was this typo the extent of your problem, or do you still have a question?" CreationDate="2011-05-06T21:03:37.047" UserId="885" />
  <row Id="17136" PostId="12732" Text="Sorry to downvote, but there isn't an actual question here." CreationDate="2011-05-06T21:16:35.863" UserId="7136" />
  <row Id="17137" PostId="12771" Text="yum for centOS gets an older java... i want latest/greatest. hence manually getting latest java and doing what I am doing." CreationDate="2011-05-06T21:16:38.137" UserId="5510" />
  <row Id="17138" PostId="12700" Text="@psusi there is still a window for the write to the journal to be interrupted. Journal writes may appear atomic to the OS but they're still writes to the disk." CreationDate="2011-05-06T21:23:15.123" UserId="5535" />
  <row Id="17139" PostId="12764" Text="@Caleb: The `cd` alias might be setting the title **and** changing directory.  That is a pretty common practice from the days before `precmd` and `PROMPT_COMMAND`." CreationDate="2011-05-06T21:38:58.493" UserId="3169" />
  <row Id="17140" PostId="12756" Score="2" Text="`%i` is unique per each file system, e.g. if you have two `ext4` partitions, each will have a different id." CreationDate="2011-05-06T22:05:48.140" UserId="3169" />
  <row Id="17141" PostId="12014" Score="1" Text="It does actually warn you. Question would then be which version you are using. Also, on Debian-based systems the alternatives system is better suited for what you are suggesting." CreationDate="2011-05-06T22:25:40.900" UserId="5462" />
  <row Id="17142" PostId="12014" Score="2" Text="For your reference: `[ Read ... lines (Warning: No write permission) ]` is what appears right above the two lines of help for the shortcuts (bottom of the screen). Nano version is 2.2.4." CreationDate="2011-05-06T22:28:43.250" UserId="5462" />
  <row Id="17143" PostId="12775" Text="@geekosaur: Thanks. What about 2? Not sure what you mean by &quot;xtrace is not, but should actually be the same thing as -x.&quot; So is `set -o xtrace` portable or not? I'll try to understand what the exec redirections are about. Do you have a good reference for this?" CreationDate="2011-05-06T22:32:41.857" UserId="4671" />
  <row Id="17144" PostId="12772" Text="Don't we need sometimes to set `sudo xhost +client`? When I connect from xubuntu1 to xubuntu2, xubuntu2 running sshd, I do ssh -X from 1, on 2 I type above xhost-command, and then I start a graphical program. Is it a workaround if no modificaton of /etc/*config is wanted? " CreationDate="2011-05-06T22:33:46.833" UserId="4485" />
  <row Id="17145" PostId="12014" Text="Ah, it doesn't warn in nano 2.0, which is what I was testing with." CreationDate="2011-05-06T22:38:55.800" UserId="3169" />
  <row Id="17146" PostId="12014" Text="@Mike: cool we sorted that out :)" CreationDate="2011-05-06T22:44:28.037" UserId="5462" />
  <row Id="17147" PostId="12774" Score="1" Text="There's a command called [`script`](http://man.cx/script(1)) that might make your life easier.  `script — make typescript of terminal session&#xA;`" CreationDate="2011-05-06T22:50:08.180" UserId="3169" />
  <row Id="17148" PostId="12772" Score="1" Text="@user: No, you never need `xhost +`. `xhost` is from a gentler era when having a machine connected to the network meant you were trustworthy. `xhost +` means anyone who can spoof your IP can take control of your X server session. `ssh -X` will set up all the required authorizations. If X11 forwarding disabled in the server config, talk to your administrator; if that doesn't work, see [Forwarding X11 over SSH if the server configuration doesn't allow it](http://unix.stackexchange.com/questions/12777/forwarding-x11-over-ssh-if-the-server-configuration-doesnt-allow-it)." CreationDate="2011-05-06T22:52:58.377" UserId="885" />
  <row Id="17149" PostId="12775" Text="`set -o xtrace` is not portable, but its meaning in `bash` is the same as the portable version, `set -x`. Redirections you can find documented in http://www.gnu.org/software/bash/manual/bashref.html#Redirections — note section 3.6.8 in particular. (3.6.9 is, however, `bash`-specific.)" CreationDate="2011-05-06T22:58:42.337" UserId="5325" />
  <row Id="17150" PostId="12774" Text="Resources if you're interested in shell portability: [Single Unix v3](http://pubs.opengroup.org/onlinepubs/009695399/), also available as [`susv3` on Debian](http://packages.debian.org/susv3); also older shell manuals. On Debian, both [`dash`](http://packages.debian.org/dash) and [`posh`](http://packages.debian.org/posh) are shell with few non-standard extensions." CreationDate="2011-05-06T23:06:36.327" UserId="885" />
  <row Id="17151" PostId="12775" Text="[`set -o xtrace` has been standard for a while](http://pubs.opengroup.org/onlinepubs/7990989775/xcu/chap2.html#tag_001_014_011_002). Bourne only had `set -x` IIRC. `exec` redirections were already in Bourne as well, but only with single-digit file descriptors on some systems." CreationDate="2011-05-06T23:09:34.123" UserId="885" />
  <row Id="17152" PostId="12666" Text="Doesn't answer the question, but still +1. Nice tip." CreationDate="2011-05-06T23:15:38.733" UserId="5462" />
  <row Id="17153" PostId="12549" Text="Is that the actual output?  You have two blank lines between `Disk identifier: 0x00000000` and `Device Boot`.  Normally there is only one.  Did you omit an error message such as `Disk /dev/sdb doesn't contain a valid partition table`?" CreationDate="2011-05-06T23:26:14.200" UserId="3169" />
  <row Id="17154" PostId="12549" Text="What does `partx -l /dev/sdb` print?" CreationDate="2011-05-06T23:28:00.923" UserId="3169" />
  <row Id="17156" PostId="12772" Text="Thanks, gilles. Since it was a 192.168.*-address, everybody in the net (eth-xlink-cable) was pretty trustworthy. :) " CreationDate="2011-05-06T23:52:09.110" UserId="4485" />
  <row Id="17157" PostId="12775" Text="@Gilles: If `set -o xtrace` and `set -x` are equivalent and both portable, then which should be preferred? You are referencing Bourne as a precursor to the POSIX standard?" CreationDate="2011-05-07T00:31:37.983" UserId="4671" />
  <row Id="17158" PostId="12768" Text="@geekosaur - thanks for the answer, I would upvote but I don't have quite enough rep yet. " CreationDate="2011-05-07T01:45:01.227" UserId="6234" />
  <row Id="17159" PostId="12700" Text="@Amazed they are atomic because they have sequence numbers and/or checksums, so the journal entry is either written entirely, or not.  If it is not written entirely, it is simply ignored after the system restarts, and no further changes were made to the fs so it remains consistent." CreationDate="2011-05-07T01:57:04.887" UserId="7285" />
  <row Id="17160" PostId="12627" Text="The `&amp;&amp;` should be `;` or else `ls` failure will prevent the script from exiting." CreationDate="2011-05-07T02:06:16.327" UserId="6342" />
  <row Id="17161" PostId="12538" Text="One more special use: `dd` can read binary data from nonseekable file descriptors without potentially destroying unread data due to stdio buffering. See here for an example: http://www.etalabs.net/sh_tricks.html" CreationDate="2011-05-07T02:11:03.233" UserId="6342" />
  <row Id="17162" PostId="12781" Score="1" Text="Have you verified that procmail is installed?" CreationDate="2011-05-07T03:26:32.183" UserId="1078" />
  <row Id="17163" PostId="12756" Text="I edited my answer. Nice catch. I would vote you up if I could." CreationDate="2011-05-07T03:45:32.500" UserId="7246" />
  <row Id="17164" PostId="12783" Text="*A better way to check would be to see if the directory /etc/postfix/ exists.*  The OP is using Fedora 13, so `rpm -q postfix` is another way." CreationDate="2011-05-07T06:33:02.010" UserId="3169" />
  <row Id="17165" PostId="12783" Text="Thanks. Updated the response -- like I said, `rpm` isn't really my strong suit." CreationDate="2011-05-07T07:06:52.297" UserId="4949" />
  <row Id="17166" PostId="12787" Text="Firstly, you should define &quot;word&quot;.  Is it only alphabetic characters?  All non-space characters?" CreationDate="2011-05-07T09:19:54.907" UserId="3169" />
  <row Id="17168" PostId="12786" Text="Yes, thaks.. I already do something very similar to validate marginal/ambiguous cases, and I did think of doing it for this case, but if there is some way to simply change the title bar, I'd prefer that... and also, it would just be handy *to know how to* change the formats... This is what I currently use `pgrep -f -x -n -c  &quot;$procMask&quot;` .. and for the title, its: `wmctrl -l |grep &quot;$windMask&quot; ...`" CreationDate="2011-05-07T09:29:05.617" UserId="2343" />
  <row Id="17169" PostId="12787" Text="word like it is used in emacs terminology" CreationDate="2011-05-07T09:31:08.657" UserId="5289" />
  <row Id="17170" PostId="12789" Text="I use urxvt as terminal emulator" CreationDate="2011-05-07T09:32:09.093" UserId="5289" />
  <row Id="17171" PostId="12789" Text="`Ctrl + Backspace` doesn't work" CreationDate="2011-05-07T09:33:42.723" UserId="5289" />
  <row Id="17172" PostId="12789" Text="You need `^[[3^` for urxvt.  `Ctrl+V` `Ctrl+Delete` would show you this." CreationDate="2011-05-07T09:39:16.327" UserId="3169" />
  <row Id="17173" PostId="12790" Text="Yes, that's the idea. But I was hoping for an answer saying “put this in your `.ssh/config` client-side and that in your `.profile` server-side, and then just run `ssh B`”." CreationDate="2011-05-07T10:13:42.270" UserId="885" />
  <row Id="17174" PostId="12790" Score="1" Text="There is an easy &quot;put this in your config&quot; answer, the problem is you rule that out in your question qualifications because the option you need goes in the sshd_config side of things on B. You're trying to work around a block put in place to make it hard to inadvertently open up a security issue." CreationDate="2011-05-07T10:21:14.500" UserId="1925" />
  <row Id="17175" PostId="12538" Text="@R..: Good point. While the GNU implementation is safe, others aren't." CreationDate="2011-05-07T10:42:20.883" UserId="885" />
  <row Id="17176" PostId="12789" Text="Thanks, I have added bindkey `'^[[3^' kill-word&#xA;bindkey` and  `'^H' backward-kill-word` to my .zshrc. Now it works!" CreationDate="2011-05-07T10:45:18.690" UserId="5289" />
  <row Id="17177" PostId="12775" Text="@Faheem: The [Bourne shell](http://en.wikipedia.org/wiki/Bourne_shell) was `/bin/sh` during Unix's formative years. The POSIX standard was mainly a compromise between the then-already-elderly Bourne shell and the more featureful, but not universally available [Korn shell](http://en.wikipedia.org/wiki/Korn_shell). The [Almquist](http://en.wikipedia.org/wiki/Almquist_shell) (the BSD replacement for the non-free Bourne shell) had `set -x` from day one, but didn't acquire `set -o` until later. So `set -x` will get you portability to more older (pre-POSIX) platforms." CreationDate="2011-05-07T10:49:51.100" UserId="885" />
  <row Id="17178" PostId="12790" Score="1" Text="@Caleb: I'm targeting the (in my experience very common) case where the admin doesn't care and just left the default settings in place. X11 forwarding isn't banned by policy, it's just inconvenience by sysadmin indifference. Anyway X11 forwarding allows the server to attack the client, so banning it server-side doesn't make much sense." CreationDate="2011-05-07T10:56:48.007" UserId="885" />
  <row Id="17179" PostId="12534" Text="@Caleb, your `cat | head | tail` example doesn't make sense.  Firstly `head` will close stdin once it has fetched what it is going to fetch, so the `cat` will have a write failure and stop reading.  Secondly, the `cat` is superfluous there, you could feed the disk image directly to `head`." CreationDate="2011-05-07T10:57:23.947" UserId="1835" />
  <row Id="17180" PostId="12584" Score="1" Text="`ls -ls` shows you the sparse size." CreationDate="2011-05-07T10:58:23.243" UserId="1835" />
  <row Id="17181" PostId="12675" Text="Thanks. Looks very interesting. I'll have a read." CreationDate="2011-05-07T10:58:41.547" UserId="5170" />
  <row Id="17182" PostId="12534" Text="@jmtd, you missed the point. I was poking fun at @Gilles suggestion exactly because it didn't make sense to do it that way! Also, head closing stdin after it gets what it wants is useless in the case I gave of wanting something near the end, and feeding the disk image directly to head won't make that any less painful!" CreationDate="2011-05-07T11:03:15.883" UserId="1925" />
  <row Id="17183" PostId="12790" Text="@Gilles I agree the default doesn't really protect against anything useful. So should we lobby to get the default changed upstream?" CreationDate="2011-05-07T11:04:50.623" UserId="1925" />
  <row Id="17184" PostId="12237" Text="This adds nothing useful not covered in other answers. If you want to show alternate syntax consider commenting on one of the other answers instead." CreationDate="2011-05-07T11:14:31.977" UserId="1925" />
  <row Id="17185" PostId="12222" Text="The use of find here does not add anything that grep cannot do by itself. Of course find COULD be used to a purpose to find a useful set of files to send to grep, but in this case grep would be able to do the same with with the -R flag and save a lot of mess." CreationDate="2011-05-07T11:15:55.317" UserId="1925" />
  <row Id="17187" PostId="12792" Score="1" Text="@Bob: To complete Caleb's answer, you've been using [public key authentication](http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html), which is based on a different set of credentials, not on your password. Your password can only be retrieved by brute force. Ask the server administrator to let you change it." CreationDate="2011-05-07T12:05:21.720" UserId="885" />
  <row Id="17188" PostId="12792" Text="@Gilles: I thought of suggesting that, but decided there was a good chance that his ssh client was just using a password manager rather than that he actually got public key authentication setup. If your guess is correct and its' his passphrase rather than password that's been forgotten, he would need to make a new key pair." CreationDate="2011-05-07T12:13:43.463" UserId="1925" />
  <row Id="17189" PostId="12792" Text="I followed these instructions for passwordless ssh http://www.oit.uci.edu/computing/bduc/newuser.html#passwordless" CreationDate="2011-05-07T12:21:18.333" UserId="7295" />
  <row Id="17190" PostId="12792" Text="@Bob: Yes, you're using a public key. I understood your question to mean that you can still access the server with ssh, but can't log in locally because you've forgotten your password. Could you clarify your question, to indicate which of Caleb's or my interpretation is right?" CreationDate="2011-05-07T12:26:32.833" UserId="885" />
  <row Id="17191" PostId="12538" Text="GNU implementation of...? `head -c 1`?" CreationDate="2011-05-07T12:26:38.070" UserId="6342" />
  <row Id="17192" PostId="12538" Text="@R..: Yes. In GNU coreutils 6.10, `head -c N` calls `read` and never goes beyond N. In NetBSD 5.1, `head -c` calls `getc`. In FreeBSD 7.4, `head -c` calls `fread`." CreationDate="2011-05-07T12:29:59.057" UserId="885" />
  <row Id="17193" PostId="3202" Text="@Renjith G  LINUS DID NOT CREATE HIS NEW OPERATING SYSTEM . Linus just created a kernel ." CreationDate="2011-05-07T12:32:21.723" UserId="4519" />
  <row Id="17194" PostId="12788" Score="1" Text="Could you also mention how to find that information for one's self? [I though `yum provides fopen.3`](http://unix.stackexchange.com/q/12691) would indicate which package contains the `fopen` man page, but apparently that's wrong. What's the Fedora (yum) equivalent of Debian's (apt's) `apt-file search fopen.3`?" CreationDate="2011-05-07T12:33:07.790" UserId="885" />
  <row Id="17195" PostId="12792" Score="1" Text="@Bob if @Gilles is right and you can still get into the box via ssh and your key but don't know the local password, you have a shot to reset the password yourself without the root admin doing it for you by running `sudo passwd USERNAME`. If sudo asks your for your password you are out of luck, but if it was configured not to ask, you would be able to reset your password without having to enter the old one first (normally required)." CreationDate="2011-05-07T12:38:29.130" UserId="1925" />
  <row Id="17196" PostId="12785" Text="Related (but different): [Can I have my shell history record how wildcards expanded?](http://unix.stackexchange.com/questions/12311/can-i-have-my-shell-history-record-how-wildcards-expanded) I don't think there's a way to change what's recorded in the history, but you can clumsily record extra stuff in parallel." CreationDate="2011-05-07T12:42:07.037" UserId="885" />
  <row Id="17197" PostId="12343" Text="@Joseph: Writing a new shell from scratch wouldn't help you because the shell is inherently the wrong LEVEL to be working at. It is just a process run by the kernel. It happens to be an interactive one that accepts commands from user input and instructions the kernel to launch those as other processes, but it is just a process. There are other process on systems and no shell you could ever write would have the ability to audit what those process actually do. The kind of auditing you ask about would have to be done at the kernel or file system level." CreationDate="2011-05-07T12:46:47.987" UserId="1925" />
  <row Id="17198" PostId="12237" Text="I introduced the syntax of curly braces, to address multiple files. We had the discussion already [on meta](http://meta.unix.stackexchange.com/questions/597/answer-deleted-as-duplicte-which-isnt-a-duplicate)." CreationDate="2011-05-07T12:55:51.977" UserId="4485" />
  <row Id="17199" PostId="12627" Text="Yep. `ls` shows that there are new files in that dir. I'm going to give the `mv` solution a try. " CreationDate="2011-05-07T13:08:26.660" UserId="1875" />
  <row Id="17200" PostId="12723" Text="That's right, hardware failures are the usual case." CreationDate="2011-05-07T13:21:08.000" UserId="5661" />
  <row Id="17201" PostId="12373" Text="I will accept it because it's fault of bug. I heard that `xkb` is better than `xmodmap` so I will rather try `xkb` than solving this bug. Please warn readers about this bug in your answer." CreationDate="2011-05-07T13:36:01.410" UserId="6215" />
  <row Id="17202" PostId="12417" Text="@fred Have you got a link for that touch-typing application? Does it work in whole X window system?" CreationDate="2011-05-07T14:06:38.733" UserId="6215" />
  <row Id="17203" PostId="12710" Text="Hmm... that's very interesting. I'm not willing to give in that easily just yet. I'm going to spend some time hacking at this thing, even if it means (gasp) hacking the source code. Yes, I'm that bored :) If I can't figure out SOME way of doing this I'll accept yours as the answer. Thanks!" CreationDate="2011-05-07T14:34:52.787" UserId="6309" />
  <row Id="17204" PostId="12788" Score="1" Text="The equivalent is `yum provides '*/fopen.3*'` - without globing it does not search filenames." CreationDate="2011-05-07T14:55:03.667" UserId="1131" />
  <row Id="17205" PostId="12798" Score="1" Text="No, because that just means there'll be three completions for `push` rather than two.  I want to start typing `push` (e.g. type either `pus` or `push`) and have the only completion be `pushd`." CreationDate="2011-04-04T23:48:58.857" />
  <row Id="17206" PostId="12799" Text="Thanks - that's sufficient for what I was hoping to do!" CreationDate="2011-04-05T22:27:59.807" />
  <row Id="17207" PostId="12800" Score="2" Text="I don't understand what you mean by cloning a serial port. Do you want several applications to access that port? That shouldn't require any special manipulation. Do you want to connect several serial devices? Then you need several ports." CreationDate="2011-05-07T16:29:54.587" UserId="885" />
  <row Id="17208" PostId="12736" Text="Just 'env' won't work because it has to be full path. The 'env' program is usually found in /user/bin/env. On some distros it may also be found as /bin/env, but it's safer to go with /usr/bin/env." CreationDate="2011-05-07T17:21:12.040" UserId="5035" />
  <row Id="17209" PostId="12729" Text="Your system is not set up as a development machine. You need to have a compiler to create executable code from the source code. Talk to your system administrator about getting you set up right." CreationDate="2011-05-07T17:28:24.750" UserId="5035" />
  <row Id="17210" PostId="12786" Text="@Mikel: Re 'sharing the script'.. The main issue for me here is &quot;How can I change the actual default title formats in a *Terminal window*?&quot;.. this is because my approach has been Window-title centric.. I have a script which gives me all Window-IDs for a given regex TitleMask (`window-get-id-by-title-mask`), and then I can use another script: `window-get-exe-by-id` .. but I haven't, as yet, set my main script to handle the situation described in my question... This raised the issue of: Can Terminal-window titles be changed on a per Terminal-program basis? .. thanks for the offer though :)" CreationDate="2011-05-07T18:50:43.930" UserId="2343" />
  <row Id="17211" PostId="12774" Text="@Gilles: Thanks for the pointers." CreationDate="2011-05-07T19:08:12.070" UserId="4671" />
  <row Id="17212" PostId="12775" Text="@Gilles: Ah, I see. So this would have the advantage of being 'past-proofed'? I wonder if anyone uses these older shells any longer. I thought it was mostly bash and zsh these days." CreationDate="2011-05-07T19:09:31.647" UserId="4671" />
  <row Id="17213" PostId="12775" Text="@Faheem: Mostly bash and zsh for interactive use, but you can see the odd interactive ksh or tcsh question on this site. For scripting, there's a lot of ash, and people with old systems with an actual Bourne shell in `/bin/sh`." CreationDate="2011-05-07T19:27:25.270" UserId="885" />
  <row Id="17214" PostId="12778" Text="@Mikel: Thanks. The single quote does indeed work. So, single quotes protect against expansion, so in this case, I guess the `'$PWD$ '` gets substituted as is wherever the `set -x` uses it, and then gets expanded there. Right? I'm not, however, clear on what you mean by `The first character of PS4 can be printed multiple times...`. Can you elaborate?" CreationDate="2011-05-07T19:31:22.867" UserId="4671" />
  <row Id="17215" PostId="12807" Text="OK, to note: I don't care if this uses aliases or not - My real goal is to *stop* myself from using `cd ..` somehow. Perhaps I should change the question title?" CreationDate="2011-05-07T19:47:36.057" UserId="4954" />
  <row Id="17216" PostId="12809" Score="3" Text="Er, yes, the user name is visible publicly. You can pick a pseudonym if you like, but the name has to be unique, and will be visible to the other users. I have no idea what “is there a hash set for that” means." CreationDate="2011-05-07T19:48:30.347" UserId="885" />
  <row Id="17218" PostId="12343" Text="@Caleb: I'm assuming such a shell would only be part of a larger system where what the user can do is fairly controlled by other means already. I didn't mean to imply a custom shell by itself would accomplish anything security wise ;p" CreationDate="2011-05-07T19:57:23.410" UserId="7001" />
  <row Id="17219" PostId="12804" Text="You need a second tac in the end, to reconstruct the original order, no `tac  /var/log/syslog | grep cron -m 5 | tac`? Tacatac ... :)&#xA;" CreationDate="2011-05-07T20:02:37.830" UserId="4485" />
  <row Id="17221" PostId="12805" Text="Thank you for your answer, regretfully I wasn't able to cross-compile. I did everything like you suggested and got no errors but the output .so file was still a 64bit ELF. I'm trying the chroot alternative right now." CreationDate="2011-05-07T20:22:48.137" UserId="7302" />
  <row Id="17222" PostId="12809" Text="@Cell Did that actually answer your question? It seemed like your main question was &quot;Is there a hash set for that?&quot;, but I don't know what that means" CreationDate="2011-05-07T20:24:37.823" UserId="73" />
  <row Id="17223" PostId="12809" Text="If you don't want users visible you can use another user database, accessible from nsswitch. Perhaps LDAP, or database." CreationDate="2011-05-07T20:28:21.033" UserId="3082" />
  <row Id="17225" PostId="12809" Text="@Cell Well, you should probably explain what you're asking then, since we're a bit confused" CreationDate="2011-05-07T20:33:55.877" UserId="73" />
  <row Id="17226" PostId="12813" Text="wow, did not know the `-s` option of cat - just a historic note, it is not in POSIX, but seems to be available in BSD and GNU cat." CreationDate="2011-05-07T20:40:33.203" UserId="1131" />
  <row Id="17227" PostId="12813" Text="Marking as 'winning' for the `:%!cat -s`. Learn something GNnew everyday!" CreationDate="2011-05-07T20:43:53.837" UserId="5709" />
  <row Id="17228" PostId="12809" Text="@Cell-o: Please don't reply to comments, unless you have information to add. But please do what the comments request. Your questions are really not clear, and you will not get good answers, because people don't understand your questions. I recommend that you read [how to ask questions](http://unix.stackexchange.com/questions/how-to-ask), and the links on the right as well." CreationDate="2011-05-07T21:10:48.483" UserId="885" />
  <row Id="17229" PostId="12805" Text="ok I ended up setting up a 32bit virtual machine and building it over there." CreationDate="2011-05-07T21:34:22.043" UserId="7302" />
  <row Id="17230" PostId="12804" Text="But isn't reverse order part of the request? Taaaac ^^" CreationDate="2011-05-07T22:22:59.657" UserId="7226" />
  <row Id="17231" PostId="12800" Text="Yes, Cloning/Splitting the serial port for multi-application use, which I have tried to do. Sorry I wasn't more specific." CreationDate="2011-05-08T00:10:20.840" UserId="7298" />
  <row Id="17232" PostId="12810" Text="@gilles I might have to use this to break my `cd` habit... although... at work I wouldn't have access to `zsh` autocd... oh choices..." CreationDate="2011-05-08T00:18:51.777" UserId="29" />
  <row Id="17233" PostId="12804" Text="Ah, maybe! I understood the reverse-part only as searching for the last ones. " CreationDate="2011-05-08T00:31:23.910" UserId="4485" />
  <row Id="17234" PostId="336" Text="@Arrowmaster I can confirm this from personal experience" CreationDate="2011-05-08T01:23:41.483" UserId="2759" />
  <row Id="17235" PostId="12807" Text="I used to use `cd..` (no spaces) all the time in DOS.  Took me a while to break that habit in Linux back in the day." CreationDate="2011-05-08T03:32:43.217" UserId="3389" />
  <row Id="17236" PostId="12789" Text="@user5289: Ah, sorry, we misunderstood each other.  I don't think `^H` or `^?` will work for `Ctrl+Backspace`.  In fact it seems such a binding is not possible.  `Alt+Backspace` or `Ctrl+W` might be adequate replacements." CreationDate="2011-05-08T03:43:46.967" UserId="3169" />
  <row Id="17237" PostId="8583" Text="Is `$DISPLAY` set?  What if you run `ssh -X`?  Do basic X11 utilities such as `xhost`, `xauth`, `xdpyinfo`, `xterm`, and `xeyes` exist?" CreationDate="2011-05-08T03:46:53.160" UserId="3169" />
  <row Id="17238" PostId="12766" Text="@Gilles-thanks a lot " CreationDate="2011-05-08T05:25:06.523" UserId="5861" />
  <row Id="17239" PostId="12819" Text="@ xenoterracide- Thanks so much.BTW,There is one man who knows my question." CreationDate="2011-05-08T10:07:10.427" UserId="4658" />
  <row Id="17241" PostId="12740" Text="	&#xA;@neurino: I found the times to be effectively the same when I used your version (which still needs a second expression for the last line)... Gilles hasn't used two expressions for your {h; p; g; p}.. He too has used a single expression, with a newline char, to create the two lines you were after....  I did, howerver, need to add a backslash to the end of the first line, so that the newline created by pressing Enter was treated literally as '\n'." CreationDate="2011-05-08T10:48:22.270" UserId="2343" />
  <row Id="17242" PostId="12825" Text="Hmm...I know this but I would like to have like two virtual ports to listen into... i.e Goops and GPS Visualizer" CreationDate="2011-05-08T10:57:12.600" UserId="7298" />
  <row Id="17243" PostId="12828" Score="2" Text="Since you can access the repository locally, svn is working fine. Since you can't access it remotely, your Apache configuration is broken. Post the exact contents of your Apache configuration. In particular, in what file is that code snippet? Also, what error message do you get when you try to access the repository remotely? What messages appear in the Apache logs (`/var/log/apache/*.log` or something like that)?" CreationDate="2011-05-08T11:54:28.543" UserId="885" />
  <row Id="17244" PostId="12545" Text="The main problem with my regexp is that it allowed some forbidden sequences such as `\300\200` (really bad: that's code point 0 not expressed with a null byte!). I think your regexp rejects them correctly." CreationDate="2011-05-08T12:38:18.257" UserId="885" />
  <row Id="17245" PostId="12828" Text="@Gilles - or, firewall?" CreationDate="2011-05-08T12:39:47.287" UserId="2511" />
  <row Id="17246" PostId="12829" Text="@I’m a newbie with Linux OS’s. If more details are required, please let me know." CreationDate="2011-05-08T13:25:01.937" UserId="7318" />
  <row Id="17249" PostId="12833" Text="In the same vein, you could `telnet hostname 8000` and see if the server prints a banner. However, that's mostly useful when the server is running on a machine where you don't have shell access, and then finding the process ID isn't relevant." CreationDate="2011-05-08T14:45:23.210" UserId="885" />
  <row Id="17250" PostId="12821" Text="I'll check this out.  Thanks!" CreationDate="2011-05-08T16:57:06.227" UserId="4193" />
  <row Id="17251" PostId="9254" Text="`netstat -p` above is my vote. also look at `lsof`." CreationDate="2011-03-15T19:56:39.867" UserId="2381" />
  <row Id="17252" PostId="12839" Text="Gilles has pretty much covered it, but may I suggest [Puppy Linux](http://www.puppylinux.com/)?" CreationDate="2011-05-08T17:35:30.883" UserId="5770" />
  <row Id="17253" PostId="12841" Score="1" Text="@ansis I would find a distro you can set up and then make it do what you want. most distro's don't use much ram, at least not if you turn X off." CreationDate="2011-05-08T18:43:39.300" UserId="29" />
  <row Id="17254" PostId="12143" Text="It's just because a program requires an older java version, and my purpose/question is that can I have several versions of java installed, and switch between them with a command? (ok, the command is ok: update-alternatives, but how to have several versions of java under Fedora?)" CreationDate="2011-05-08T18:58:11.283" UserId="6960" />
  <row Id="17256" PostId="12849" Text="Do most versions of `sed` now support `{3}`? I was going to suggest `\[[0-9][0-9][0-9]\]`, but it would be nicer to be able to just use `{3}`. A quick follow-up GNU `sed` supports `{3}` if you pass the `-r` flag. I don't think BSD `sed` does. (At least OSX's `sed` doesn't seem to.)" CreationDate="2011-05-08T19:29:16.023" UserId="3253" />
  <row Id="17257" PostId="12849" Score="1" Text="use sed -E for extended regexs" CreationDate="2011-05-08T19:32:40.093" UserId="1879" />
  <row Id="17258" PostId="12844" Text="I'm not sure if this is a typo or not, but I think you need to escape both the opening `[` and the closing `]`, if you want those literal chars." CreationDate="2011-05-08T19:32:45.603" UserId="3253" />
  <row Id="17259" PostId="12849" Text="Duh, thanks @ennuikiller." CreationDate="2011-05-08T19:33:32.263" UserId="3253" />
  <row Id="17260" PostId="12849" Text="Thank you but I choosed: \[[0-9][0-9][0-9]\] - because [0-9]{3} doesn't works even with -E :\ /Fedora14/Bash/" CreationDate="2011-05-08T19:35:39.287" UserId="6960" />
  <row Id="17261" PostId="12849" Score="1" Text="@LanceBaynes If that's GNU `sed`, try `-r` instead of `-E`. (Aren't portability issues fun?)" CreationDate="2011-05-08T19:54:34.507" UserId="3253" />
  <row Id="17262" PostId="12847" Text="+1 - Very thorough answer. I never knew one could remount / on-the-fly. Good to know." CreationDate="2011-05-08T19:56:05.653" UserId="5770" />
  <row Id="17263" PostId="12740" Text="@fred: _&gt; I found the times to be effectively the same_. Do you mean _the same_ execution time for both statements or _the same_ as I stated (-25% for using `{h; p; g; p }`) ? I repeated profiling several times and had constant results on my linux box." CreationDate="2011-05-08T20:45:01.263" UserId="7226" />
  <row Id="17264" PostId="12851" Text="Thanks a lot, it works lovely. The regions are indeed indent so I added 2 spaces before the `[^ :]+:` to make it work. YML is all about the right number of spaces :)" CreationDate="2011-05-08T21:07:04.660" UserId="7325" />
  <row Id="17265" PostId="12845" Text="Subdirectories created after setting setgid on the parent directory will have setgid set automatically." CreationDate="2011-05-08T21:14:38.963" UserId="3459" />
  <row Id="17266" PostId="12845" Text="@Arrowmaster: On some systems, perhaps, but not all; I tested on OSX and it doesn't propagate, at least for non-root." CreationDate="2011-05-08T21:16:43.343" UserId="5325" />
  <row Id="17267" PostId="12845" Text="Well on Debian (and I assume most other Linux distros) the setgid and group name both propagate." CreationDate="2011-05-08T21:19:18.790" UserId="3459" />
  <row Id="17268" PostId="12618" Text="Do you talk about images on webpages (html-format), of PDFs or textprocessing (open office/libre office)? " CreationDate="2011-05-08T22:49:50.297" UserId="4485" />
  <row Id="17269" PostId="12841" Text="Which distros have you tried so far (apart from Arch)?" CreationDate="2011-05-09T00:29:01.540" UserId="5770" />
  <row Id="17270" PostId="6007" Text="This question is off-topic here. [Electronics doesn't want it either.](http://chat.stackexchange.com/transcript/15?m=949138#949138) SU, maybe?" CreationDate="2011-05-09T00:56:22.520" UserId="885" />
  <row Id="17271" PostId="6007" Text="You can just close it, if you wish. I didn't get a definitive answer from it, nor do I expect to." CreationDate="2011-05-09T01:22:18.273" UserId="3032" />
  <row Id="17272" PostId="12841" Text="I can help with Arch, to some extent. I run my server with it, and my desktop." CreationDate="2011-05-09T01:23:31.300" UserId="3032" />
  <row Id="17273" PostId="12740" Text="@neurino.. perhaps I misunderstood your meaning. but it seems that you are trying to compare a **single -e** {h;p;g;p} expression to **two -e** expressions to produce the 2-line output you want (for the oldest time).. My comment was in the context of pointing out that Gilles' method has bypassed the need for two -e expressions for the oldest-date, and it is nominally the same &quot;speed&quot; ... Even so, I don't get the results you mention; Here is a link to the test script and the results I got for 100 itterations over 5000 files:  http://pastebin.ubuntu.com/605022/" CreationDate="2011-05-09T01:30:28.687" UserId="2343" />
  <row Id="17274" PostId="12845" Text="@geekosaur On OS X, the setgid bit on a directory is just ignored; new files and directories are *always* given the group of their containing directory." CreationDate="2011-05-09T01:52:23.737" UserId="311" />
  <row Id="17276" PostId="12858" Score="2" Text="It's not weird at all. When you clone a partition with dd, of course the clone will have the same UUID as the original. The UUID is just metadata of the partition - not some inherent property of a physical disk." CreationDate="2011-05-04T03:08:20.320" UserId="5930" />
  <row Id="17277" PostId="12858" Text="Thank you Andrew, I thought UUID is a calculated value before when a new partition been created. Now I know it's just a metadata stuff." CreationDate="2011-05-04T03:32:22.023" />
  <row Id="17279" PostId="12858" Text="Thanks Andy, now I got a new UUID on /dev/sdb1" CreationDate="2011-05-04T03:53:43.487" />
  <row Id="17280" PostId="12859" Text="Thanks Andy, now I got a new UUID on /dev/sdb1" CreationDate="2011-05-04T03:53:43.487" />
  <row Id="17281" PostId="12724" Text="	&#xA;+1 for &quot;getting it&quot;, and utilizing sed beyong s/x/y/p :) ... It will be handy for other sed tasks, as it certainly works here, but for your **specific** example (above), you don't really need to use the hold space. You can simply insert \n between \1 (ID) and \2 (datetime)... as per Gilles example (where he uses the line ending as the \n)" CreationDate="2011-05-09T02:25:47.000" UserId="2343" />
  <row Id="17282" PostId="12651" Text="@Shadur I can't help but feel that you're being rather unhelpful here. The least you could do is point @Heather at something like [testdisk](http://www.cgsecurity.org/wiki/TestDisk) to help recover the data. Now, it should likely be pointed out that honesty is the necessary best policy, even here, but let's be helpful." CreationDate="2011-05-09T03:13:48.693" UserId="3258" />
  <row Id="17283" PostId="12652" Text="Testdisk is probably the best resource for this, and can be installed on just about every distro (presuming Ubuntu or Debian it IS in the main repos) http://www.cgsecurity.org/wiki/TestDisk" CreationDate="2011-05-09T03:14:31.830" UserId="3258" />
  <row Id="17284" PostId="12664" Text="So a) you can't be arsed to login to that site and read the PDF for your answer, and b) you refer @Heather to a site that requires you to login in the first place, rather than linking to a tool that can help the user? -1 from me." CreationDate="2011-05-09T03:15:24.793" UserId="3258" />
  <row Id="17285" PostId="12863" Text="@XQYZ: It works, thanks!" CreationDate="2011-05-09T05:12:45.700" UserId="1375" />
  <row Id="17286" PostId="12865" Text="This shows you have raid1, not raid5. And what exactly do you mean by &quot;server stop working&quot;? Can you access the volume with a shell? What is the state of the server process?" CreationDate="2011-05-09T05:46:39.850" UserId="3082" />
  <row Id="17287" PostId="12864" Text="You need to configure apache so that it executes the php file with the interperter, rather than serve it. I'm pretty sure there are instructions on the PHP web site about how to do that." CreationDate="2011-05-09T06:05:33.670" UserId="3082" />
  <row Id="17288" PostId="12618" Text="When you make a screenshot of the image in pdf or browser it's probably `png` format." CreationDate="2011-05-09T06:14:20.753" UserId="6215" />
  <row Id="17289" PostId="12841" Text="Fedora - since it has rock solid stability and extensive community support. That said, most distros use very less RAM. I would just recommend using a distro with great community support like Fedora, Ubuntu, Debian. " CreationDate="2011-05-09T06:33:56.447" UserId="4335" />
  <row Id="17290" PostId="12864" Score="1" Text="Also, you might want to start accepting answers to your questions once you've received one that worked. It's regarded as the polite thing to do." CreationDate="2011-05-09T07:13:13.040" UserId="4949" />
  <row Id="17291" PostId="12740" Text="@fred: ok, I got it, don't know why I get different speeds..." CreationDate="2011-05-09T07:24:54.397" UserId="7226" />
  <row Id="17292" PostId="12664" Text="oops.. i dint know that.. the user need to login to see that doc.. i am sorry if that is against the rules. Can you suggest some other method by which i can attach that pdf to this answer.." CreationDate="2011-05-09T08:39:50.773" UserId="2871" />
  <row Id="17293" PostId="12873" Text="Many people argue that aliasing `rm` to `trash` is counter-productive as it conditions you to rely on `rm` being reversible and this will hurt you one day when you are using a different machine, a different login or a different shell." CreationDate="2011-05-09T09:18:18.493" UserId="2974" />
  <row Id="17294" PostId="12844" Text="I cannot make out what you are trying to accomplish here. Do you want to rip out the 3 digit numbers for use in something? Do you want to replace them with something else? Is it possible that digits could appear in the random strings before and after the one you want to work with? Are the fields consistent (e.g. Is it always the third space separated item from the left of the string?)" CreationDate="2011-05-09T09:19:46.020" UserId="1925" />
  <row Id="17295" PostId="12650" Text="backups backups backups backups backups backups backups backups! You can't fairly get fired for making a mistake with `rm` but you can get fired for not making (and testing) daily backups of data." CreationDate="2011-05-09T09:20:32.640" UserId="2974" />
  <row Id="17296" PostId="12841" Text="@Ansis: There really isn't enough information here to make a good recommendation. Almost any linux distro could be configured for that scenario. Can you add anything more to the picture like hardware, interaction with other systems, your experience with other distros, etc?" CreationDate="2011-05-09T09:25:50.553" UserId="1925" />
  <row Id="17297" PostId="12837" Text="@barrycarter: How about working through some of your old questions and working on that accept rate? Part of getting the community to rally around problems is rallying around them when they solve them, and 25% accept rate is pretty low. Even in cases like this one where the &quot;right&quot; answer may be &quot;no you can't do that&quot; which you don't want to hear, at least judge whether the question was properly addressed." CreationDate="2011-05-09T09:31:20.733" UserId="1925" />
  <row Id="17299" PostId="12875" Text="Are you sure they are actually removed in the unescaped version and not just passed as a blank word?" CreationDate="2011-05-09T09:46:47.047" UserId="1925" />
  <row Id="17300" PostId="12875" Text="Also, you mention &quot;bash&quot; in your subject and tag, but named your script &quot;.sh&quot;, then say you executed it manually with bash. I got different results doing this in bash 4.2.0. Are you sure you are actually using bash and not some other shell with bash emulation?" CreationDate="2011-05-09T09:50:20.880" UserId="1925" />
  <row Id="17301" PostId="12873" Text="Good point, but i implement it to server where user/moderator don't know it. Therefore he acts as if rm is irreversible, but if something happens i may restore data. Its not for him, to think he is safe, it's for me." CreationDate="2011-05-09T10:13:40.570" UserId="3384" />
  <row Id="17302" PostId="12756" Text="Looks like this is the best available option - It would be interesting to know if there is an authoritative list like this online. I couldn't find one with a quick search." CreationDate="2011-05-09T11:29:13.643" UserId="3645" />
  <row Id="17303" PostId="12879" Score="1" Text="+1 for using arrays. If they're available, it's insanity to use anything else. Compare the first part of this answer with the simplicity of the array solution." CreationDate="2011-05-09T12:22:34.503" UserId="1078" />
  <row Id="17304" PostId="10516" Text="I had the same problem, and Nat's solution worked for me. However, now I am at least curious about the reason for this change." CreationDate="2011-05-09T12:37:23.887" UserId="4856" />
  <row Id="17309" PostId="12534" Text="Caleb, I assure you I understood the point you were making.  Unfortunately you nevertheless made errors in your example which could be misleading to others." CreationDate="2011-05-09T13:42:49.857" UserId="1835" />
  <row Id="17310" PostId="12627" Text="@R, that is not true. If `ls` fails, the subshell will return `ls`'s failure code. the '`&amp;&amp; exit 1`' is necessary to ensure that if `ls` *succeeds*, the sub-shell still returns an error code. If you substitute it for '||', you will mask the true error code for `ls`." CreationDate="2011-05-09T13:44:37.267" UserId="1835" />
  <row Id="17311" PostId="12634" Text="That is really editor-specific. There's no guarantee all editors will treat all their free command-line arguments as files to open, nor support opening more than one file at a time." CreationDate="2011-05-09T13:48:15.607" UserId="1835" />
  <row Id="17312" PostId="12609" Text="Good catch -- edited appropriately." CreationDate="2011-05-09T13:49:57.150" UserId="1835" />
  <row Id="17313" PostId="12609" Text="Note that the `for` case will fail for many filenames, including collapsing/changing whitespace characters." CreationDate="2011-05-09T13:52:05.713" UserId="1835" />
  <row Id="17314" PostId="10898" Text="Maybe they didn't like the `:-(`..." CreationDate="2011-05-09T14:02:42.453" UserId="3645" />
  <row Id="17315" PostId="12886" Text="I updated the Question. No I don't have any default IPs from Virtualbox." CreationDate="2011-05-09T14:08:06.130" UserId="6960" />
  <row Id="17316" PostId="12886" Text="See updated answer. Sorry it's been a while since I used NAT in VirtualBox and the machine I have that uses it has sub-interfaces made by me, apparently not VB." CreationDate="2011-05-09T14:17:06.180" UserId="1925" />
  <row Id="17318" PostId="12887" Score="1" Text="VMWare works rather differently than VirtualBox and you cannot just substitute methodology  like that. I just tried this for VirtualBox and it does not work." CreationDate="2011-05-09T14:33:37.300" UserId="1925" />
  <row Id="17319" PostId="12887" Text="In that case, you are doing the `WRONG` thing. You need to follow the procedure very carefully. You will get the desired result." CreationDate="2011-05-09T14:39:42.533" UserId="4843" />
  <row Id="17320" PostId="12664" Text="@Sen, upload it to a site that allows permissive downloading without requiring a login? IDK, does scribd do that? I'm not in the habit of linking PDFs for content, I would prefer to condense it down to the nominative steps (you have 30k of room to answer a question) and link the PDF at the end for authoritative/ownership reasons." CreationDate="2011-05-09T14:43:12.747" UserId="3258" />
  <row Id="17321" PostId="12837" Text="You're right, I really need to work on this across all sites. I even wrote a script to help motivate me, but it didn't work (&quot;include motivate.pl?&quot;). I ask easy questions in IRC and vark, saving the hard ones for here, thus the low accept rate." CreationDate="2011-05-09T14:45:15.863" UserId="2267" />
  <row Id="17322" PostId="12887" Text="@SHW I think I did. I started a VM using NAT and assigned IP addresses from the same subnet to the vboxnet0 interface on the host and eth0 on the guest. The guest is able to route to the internet just fine but the host cannot talk to the guest directly." CreationDate="2011-05-09T14:45:51.620" UserId="1925" />
  <row Id="17323" PostId="12887" Text="@Caleb, Please donot `think`. But do `confirmation` about it." CreationDate="2011-05-09T15:03:03.543" UserId="4843" />
  <row Id="17324" PostId="12890" Text="Also, you can add the `:set spell` in ~/.vimrc file, so that it will be effective for all the file." CreationDate="2011-05-09T15:04:57.307" UserId="4843" />
  <row Id="17325" PostId="12887" Score="1" Text="@SHW, My use of the phrase &quot;I think&quot; was an attempt to be nice and not make it sound like I couldn't have made a mistake. Your instructions are a little bit hard to follow exactly because both the order and what applies to the host and what to the guest isn't clear. I have checked my setup twice and it seems fine, but it's a no go." CreationDate="2011-05-09T15:10:26.337" UserId="1925" />
  <row Id="17326" PostId="12892" Text="Please add this as a comment to my answer, not as a separate answer." CreationDate="2011-05-09T15:16:08.770" UserId="1925" />
  <row Id="17327" PostId="12887" Text="@Caleb, Have you tried it on VMWare-2 ? It works for me [ as I said earlier ]. I do not have VBox right now to check it. But for me, both will behave the same way." CreationDate="2011-05-09T15:17:04.807" UserId="4843" />
  <row Id="17328" PostId="12887" Text="@SHW, This question is not about VMWare, it is about VirtualBox! I tried to tell you in my first comment that you can't just substitute your administrative techniques between platforms like that and that since it is for the wrong platform, this doesn't answer the question. Don't say I did it wrong and need to read more carefully when you are not even using the software in question here." CreationDate="2011-05-09T15:21:45.163" UserId="1925" />
  <row Id="17330" PostId="12892" Text="I initially converted this to a comment, but it seems like it actually adds an important part of the answer" CreationDate="2011-05-09T15:38:37.383" UserId="73" />
  <row Id="17331" PostId="12892" Text="@Michael: It's not that important either way, but the solution isn't actually what his question asks for. Port forwarding is different than exposing a network interface in the same way that the bridging does, so I didn't include exact syntax in my answer. The command he shows is just from the documentation that I suggested and linked to in case port forwarding was an acceptable alternate." CreationDate="2011-05-09T15:47:37.283" UserId="1925" />
  <row Id="17332" PostId="12894" Text="Well, the problem is that I do not know if what I'm asking it is possible. Yes, I want to share a folder between two users from different linux installation. My example try to figure out if besides simple sharing, can I also setup some kind of permission. " CreationDate="2011-05-09T15:52:05.057" UserId="7341" />
  <row Id="17333" PostId="12609" Text="@jmtd: As it's written now, the `for` case will work with every file name (except possibly names beginning with `-` or `+` with some editors; `for i in ./*.c` would fix that)." CreationDate="2011-05-09T15:59:05.050" UserId="885" />
  <row Id="17334" PostId="12894" Text="@raulricardo21: It's possible. i outlined how to do it. though I did not test it.  Still unclear on your reference to `www-data` and `root`. Were you just giving examples of possible two users?" CreationDate="2011-05-09T16:01:48.957" UserId="4671" />
  <row Id="17335" PostId="12894" Text="@raulricardo21: I just added that both users will need to exist on both systems with the same uids. I think this will suffice for what you want to do. It may not be necessary though." CreationDate="2011-05-09T16:10:28.783" UserId="4671" />
  <row Id="17336" PostId="12894" Text="ah, the example was because of this, www-data is on both distros, but how can make I setup a group with www-data on a distro don't crash with the www-data on the another one... by the way thank for your answer :) I going to try it" CreationDate="2011-05-09T16:12:16.007" UserId="7341" />
  <row Id="17337" PostId="12894" Text="@raulricardo21 - The uid's need not match, however, if they will not then it would be prudent to be very  mindful of user-level access permissions and to whom they do and do not apply. From a file system perspective the system does not care." CreationDate="2011-05-09T16:15:23.980" UserId="2701" />
  <row Id="17338" PostId="12781" Text="Yes.  It is installed and I can run it from the command line." CreationDate="2011-05-09T16:49:40.200" UserId="4143" />
  <row Id="17339" PostId="12901" Text="This seems to be more at home on ServerFault.com rather than at SO." CreationDate="2011-05-09T16:24:58.647" />
  <row Id="17340" PostId="12868" Text="I would recommend against using short tags (i.e. using `&lt;?` instead of `&lt;?php` for opening PHP code) as it can cause problems especially with XML/XHTML and for that reason it's not always enabled in PHP offering even more reason to avoid them." CreationDate="2011-05-09T17:46:11.637" UserId="6167" />
  <row Id="17341" PostId="4658" Text="The tcsh version also doesn't seem to work if the script is sourced noninteractively (e.g. from a cshrc). I can't seem to find a way to get the information in that case. Any thoughts?" CreationDate="2011-05-09T18:04:15.910" UserId="2376" />
  <row Id="17342" PostId="12868" Text="Fair enough, I suppose." CreationDate="2011-05-09T18:22:44.903" UserId="4949" />
  <row Id="17343" PostId="12788" Text="@maxschlepzig, it doesn't seem to work. installation looks like it is successful but &quot;man std::iostream&quot; still fails to return docs." CreationDate="2011-05-09T18:25:19.910" UserId="557" />
  <row Id="17344" PostId="9625" Score="1" Text="@user unknown: &quot;+&quot;' isn't a gnu-find extension. It was first introduced by SVR4 find then adopted by the POSIX standard and later included by Gnu find. Every current find implementation is very likely to implement it." CreationDate="2011-05-09T20:20:17.427" UserId="2594" />
  <row Id="17345" PostId="9625" Text="Thanks @jiliagre, my horizon is to tall, I just know a little bit about about Linux, and enjoy to learn new facts. " CreationDate="2011-05-09T20:29:04.483" UserId="4485" />
  <row Id="17346" PostId="12906" Text="How about a strategy of logging memory usage for every process after it exceeds memory more than X (for some fixed memory usage X) at any given point in tiem? I don't know how difficult it would be to implement such an approach though." CreationDate="2011-05-09T20:53:59.523" UserId="4671" />
  <row Id="17347" PostId="12906" Text="What evidence do you have that memory is exhausted? If you can see that memory is exhausted, why cannot you see what is using it?" CreationDate="2011-05-09T21:27:23.763" UserId="1078" />
  <row Id="17348" PostId="12901" Text="Why `init=/bin/busybox`? Is that just for testing? busybox needs to be run as `init` (through a symlink or hardlink) to behave as init." CreationDate="2011-05-09T21:30:46.583" UserId="1078" />
  <row Id="17349" PostId="12906" Text="We use cacti, and right before the server goes down the memory goes to 100% and so does the swap. This usually happens within a 5-10 minute window. And we're talking about roughly 40G (24G RAM + 16G swap) of total virtual space, this ain't no small potatoes." CreationDate="2011-05-09T22:03:09.967" UserId="6309" />
  <row Id="17350" PostId="9036" Text="Seconded on the version control. Everyone should use `etckeeper`." CreationDate="2011-05-09T22:32:36.530" UserId="4671" />
  <row Id="17351" PostId="12906" Text="God can I pick multiple answers? These are all good..." CreationDate="2011-05-09T22:37:06.387" UserId="6309" />
  <row Id="17352" PostId="12903" Score="2" Text="grep will choke if the expansion goes over ARG_MAX. -R will visit everything while using find one can more easily add primitives to exclude certain files (-name, etc) or not even visit subtrees (-prune)." CreationDate="2011-05-09T23:58:42.793" UserId="7351" />
  <row Id="17353" PostId="2929" Text="The difference is important when you create backups that resolve symlinks. You may want to do that if you know you have several symlinks below a tree that resolve to locations outside a tree, but the rest of the stuff outside that tree is not important to you." CreationDate="2011-05-10T02:32:54.057" UserId="7351" />
  <row Id="17354" PostId="12914" Text="Yes we log that, it's not a fork bomb. Good idea though." CreationDate="2011-05-10T03:07:06.860" UserId="6309" />
  <row Id="17355" PostId="12914" Text="So if nr. of processes isn't the culprit and you cannot pinpoint a single process eating the memory. Leaves the kernel. NFS?" CreationDate="2011-05-10T03:21:49.527" UserId="7351" />
  <row Id="17356" PostId="12914" Text="Or possibly a single process. Right now cassandra is the culprit." CreationDate="2011-05-10T03:28:44.113" UserId="6309" />
  <row Id="17357" PostId="6682" Text="I did this with a svnsync to move a repo to a new location. `svnadmin setuuid` save the day!" CreationDate="2011-05-10T04:39:40.890" UserId="5877" />
  <row Id="17358" PostId="12915" Score="1" Text="The problem with `xargs` is that it expects its input to be quoted in a peculiar way that `find` doesn't produce. So `find … | xargs …` doesn't work if you have file names containing whitespace or `\'&quot;`." CreationDate="2011-05-10T06:31:54.177" UserId="885" />
  <row Id="17359" PostId="12903" Text="Good points @Mel. My point was that in all likelihood the asking party was making things more complex than they needed to be by introducing `find` when `grep` could do the job, but in some cases it would be more effective to to use find to fine tine the file list before going out to grep." CreationDate="2011-05-10T06:53:25.757" UserId="1925" />
  <row Id="17360" PostId="12904" Text="If you use the \; ending construct grep is passed one file at a time, so it doesn't display the file name by default, only the matched lines. To get a file list instead add use `grep -ls` inside of the find construct." CreationDate="2011-05-10T06:55:12.463" UserId="1925" />
  <row Id="17361" PostId="12744" Text="/usr/ucb/cc: language optional software package not installed" CreationDate="2011-05-10T08:12:01.777" UserId="5923" />
  <row Id="17362" PostId="12744" Text="It does indeed report that situation but my point was /usr/ucb/cc isn't &quot;just a stub command designed to remind the compiler isn't installed&quot; but a command with a different and specific purpose." CreationDate="2011-05-10T09:00:09.820" UserId="2594" />
  <row Id="17364" PostId="12905" Text="I did a chmod 777 to busybox binary and pointed It with init for testing pruposes." CreationDate="2011-05-10T10:34:33.870" UserId="7359" />
  <row Id="17365" PostId="12901" Text="Because defaults /sbin/init neither works." CreationDate="2011-05-10T10:37:14.193" UserId="7359" />
  <row Id="17367" PostId="12882" Text="How old is your kernel?  I've seen some very odd behaviours from JFFS2 on older kernels." CreationDate="2011-05-10T11:52:19.967" UserId="434" />
  <row Id="17368" PostId="12915" Text="@Gilles You can get around that problem by using something like `find . | xargs -n1 -iX grep &quot;X&quot; 'chrome'` so that arguments are fed one at a time and quoted. Obviously this is a horribly inefficient way to handle this example, but for some situations it's nice." CreationDate="2011-05-10T11:56:13.127" UserId="1925" />
  <row Id="17369" PostId="12915" Text="For completeness we should also mention the -i option for case insensitivity with 'grep'. Also there is -iname in find for case insensitivity." CreationDate="2011-05-10T12:01:24.623" UserId="7353" />
  <row Id="17370" PostId="12912" Text="Atop rocks.  I've used it to successfully solve a similar problem." CreationDate="2011-05-10T12:03:44.873" UserId="2827" />
  <row Id="17371" PostId="12825" Text="there's a utility called &quot;socat&quot; which can be used to create virtual COM ports" CreationDate="2011-05-10T12:21:56.573" UserId="5763" />
  <row Id="17372" PostId="12896" Text="+1 for the overlay approach. The application can look in $HOME first, and in the system path if the file isn't found." CreationDate="2011-05-10T12:30:10.847" UserId="3038" />
  <row Id="17373" PostId="61" Text="I'd consider `alias m=make`, or even `m=make -j6` or similar -- except I already use `alias m=mutt` ☺" CreationDate="2011-05-10T12:54:44.833" UserId="1835" />
  <row Id="17375" PostId="410" Text="I use `reset` where you use `restaura`." CreationDate="2011-05-10T13:04:31.403" UserId="1835" />
  <row Id="17376" PostId="79" Text="Conventionally you put the redirection on the end.  Whilst the pipeline metaphor looks better with `&lt;input foo | bar | baz &gt;output`, it doesn't work if you try mixing in some shell looping primitives like `while` or `for` in the middle.  So I gave up and just put it at the end as per convention." CreationDate="2011-05-10T13:07:17.673" UserId="1835" />
  <row Id="17377" PostId="929" Text="Not as bad as you might think (but still bad), you just sprinkle wildcards everywhere: `ls /usr/lib/game-d*/rott*`" CreationDate="2011-05-10T13:08:53.210" UserId="1835" />
  <row Id="17378" PostId="12930" Score="2" Text="To start with, it's spelled kernel with an e." CreationDate="2011-05-10T13:20:15.333" UserId="1925" />
  <row Id="17379" PostId="79" Text="@jmtd Well, putting it on the end eliminates &quot;This is particularly useful for grep, as it allows you to place the expression at the end of the line, so you can quickly modify a grep command it by hitting Up, without needing to scroll left to get past the filename&quot;" CreationDate="2011-05-10T13:42:17.113" UserId="73" />
  <row Id="17380" PostId="12931" Text="Yeah it's got a head. Not sure about the caps lock thing, that's a good idea though. Even if it is still servicing interrupts the rest of the machine is completely unresponsive. Even using a real monitor and keyboard I can't even pull it out of power-saving mode (i.e. pressing a key won't even power the monitor on). Thanks for the great ideas." CreationDate="2011-05-10T13:53:14.023" UserId="6309" />
  <row Id="17381" PostId="12935" Text="I'm pretty sure this has nothing to do with Unix and Linux. It might be on-topic on [Stack Overflow](http://stackoverflow.com/), but it's pretty open-ended" CreationDate="2011-05-10T13:56:57.483" UserId="73" />
  <row Id="17383" PostId="122" Text="	&#xA;I do the same as you for cd, but I have a few more sanity checks in and avoid doing ls in non-interactive mode: `cd() { builtin cd -- &quot;$@&quot; &amp;&amp; { [ &quot;$PS1&quot; = &quot;&quot; ] || ls -hrt --color; }; }`" CreationDate="2011-05-10T14:27:21.833" UserId="1835" />
  <row Id="17384" PostId="12930" Text="Ya I noticed that when I was putting on the tags lol." CreationDate="2011-05-10T14:38:07.593" UserId="4877" />
  <row Id="17386" PostId="12930" Score="2" Text="@Sauron: Next time take the time to fix it. It's a good way to respect the community here that is taking the time to help you. Also if you want to code for the kernel, your going to have to be rigorous about details like that!" CreationDate="2011-05-10T14:44:18.503" UserId="1925" />
  <row Id="17387" PostId="12922" Text="Thanks Gilles... nicely explained. That's certainly going to save a lot of head-scratching, especially regarding the input key combinations (ie. that the environment *has its say* up to a point)." CreationDate="2011-05-10T14:47:49.223" UserId="2343" />
  <row Id="17388" PostId="9739" Score="1" Text="[Teddy's solution](http://unix.stackexchange.com/q/12939#12939) is much nicer than mine. I didn't know `C-x C-v` pre-filled the file name, and `C-k` is a lot quicker to kill the whole line (I should have thought of that). @imz: please accept Teddy's answer, and I'll delete mine." CreationDate="2011-05-10T15:00:06.623" UserId="885" />
  <row Id="17390" PostId="12930" Text="@Caleb, will do!" CreationDate="2011-05-10T15:13:57.750" UserId="4877" />
  <row Id="17391" PostId="12935" Score="2" Text="On any larger deployment of unix and/or linux-boxes, configuration management (puppet/cfengine) is a highly relevant topic. Question might be more relevant to i.e. serverfault, although I disagree with the assertation that configuration management software have nothing to do with unix and linux." CreationDate="2011-05-10T15:33:50.760" UserId="3154" />
  <row Id="17392" PostId="4658" Text="Sourcing it works for me without the shebang. `&gt; tcsh --version\n&#xA;tcsh 6.14.00 (Astron) 2005-03-25 (i486-intel-linux) options wide,nls,dl,al,kan,rh,nd,color,filec`. As far as sourcing it non-interactively, the source file is included into the parent file as if it were actually a part of it (indistinguishably so) as you mention in your original question. I think your positional parameter workaround is probably the best approach. However, the usual question is &quot;why do you want to do that&quot; and the usual answer to the reply is &quot;don't do that - do *this* instead&quot; where &quot;this&quot; is often to store..." CreationDate="2011-05-10T15:33:58.840" UserId="382" />
  <row Id="17393" PostId="12905" Text="Where did you get the `busybox` executable from?  Is it compatible with your CPU architecture?" CreationDate="2011-05-10T15:34:53.793" UserId="3389" />
  <row Id="17394" PostId="4658" Text="...the data file in a fixed location rather than trying to come up with a method of determining where the script lives and accessing the data (or config, etc.) relative to that." CreationDate="2011-05-10T15:35:07.890" UserId="382" />
  <row Id="17395" PostId="12921" Text="thank you Caleb! You completely answered my immediate question as well as covering some side channel cases which I will definitely use also." CreationDate="2011-05-10T15:44:41.843" UserId="3297" />
  <row Id="17396" PostId="11476" Text="Any change if you leave off the quotes?  " CreationDate="2011-05-10T15:53:28.003" UserId="950" />
  <row Id="17397" PostId="12943" Text="Are you using the same user? Being logged in via ssh usually wouldn't affect that,  I shut down machines remotely all the time. I still haven't figured out how to get them back UP from SSH, but that's different." CreationDate="2011-05-10T16:13:44.133" UserId="1925" />
  <row Id="17398" PostId="11660" Score="1" Text="There's a tool called pydefrag as well which basically just copies around files so they get a chance to be rewritten contiguously, but it's probably only useful if you got fragmented from filling up the drive and now made enough space for those copies to happen." CreationDate="2011-05-10T16:14:59.937" UserId="950" />
  <row Id="17399" PostId="12925" Text="ok, but isn't RDP unsafe?" CreationDate="2011-05-10T16:25:17.223" UserId="6960" />
  <row Id="17400" PostId="12945" Score="1" Text="If @twblamer has to walk into the lab and press the power button, that's probably not it." CreationDate="2011-05-10T16:27:42.227" UserId="2511" />
  <row Id="17401" PostId="12946" Text="How do you communicate with the daemon? Sockets? Is redirecting the output to a log file only readable by root an option?" CreationDate="2011-05-10T16:51:21.183" UserId="6151" />
  <row Id="17402" PostId="4658" Text="@Dennis: Yeah, I'd certainly prefer not to deal with this. But my workplace uses a simulation framework which is completely dependent on environment variables for building (OUR_CFLAGS kinds of things), so you source a script to get them set up (or you'd never have a prayer of getting it to build), and everything uses absolute paths, and.... I think you get the idea." CreationDate="2011-05-10T16:55:03.927" UserId="2376" />
  <row Id="17403" PostId="12925" Text="I think my choice will be ssh tunnel+rdp.. :)" CreationDate="2011-05-10T16:56:33.970" UserId="6960" />
  <row Id="17404" PostId="12946" Text="No the communication is not done through sockets,I will explain you my work in a simpler manner.I am calculating memory usage and cpu usage of all the processes when the user asks.On the other side my process also keeps record of the same in log files .Values are entered in log files every minute and after each week a graph is generated  of cpu usage vs process and memory usage vs process.So i want that only root should be able to do all these thing.I am calculating memory and cpu usage by parsing the files in /proc file system " CreationDate="2011-05-10T17:05:50.853" UserId="6771" />
  <row Id="17405" PostId="9971" Text="Isn't that a bit like asking the age of [Theseus' ship](en.wikipedia.org/wiki/Ship_of_Theseus)?" CreationDate="2011-05-10T17:07:14.067" UserId="2729" />
  <row Id="17406" PostId="12943" Text="I'm logging in as root in both cases." CreationDate="2011-05-10T17:11:22.607" UserId="6154" />
  <row Id="17407" PostId="12946" Text="@nishan: So as XQYZ said, you can make your log files readable only by root, right?" CreationDate="2011-05-10T17:37:48.770" UserId="2376" />
  <row Id="17408" PostId="12952" Score="7" Text="You can also use `\0` to match the entire expression, so `s/.*/\0 \0/`" CreationDate="2011-05-10T17:20:31.023" UserId="73" />
  <row Id="17409" PostId="12953" Score="1" Text="UUOC (http://partmaps.org/era/unix/award.html)" CreationDate="2011-05-10T17:21:05.970" UserId="872" />
  <row Id="17410" PostId="12953" Text="@dogbane .. lol. I am guilty of UUOC. " CreationDate="2011-05-10T17:24:38.770" />
  <row Id="17411" PostId="12945" Text="@DLZ That makes sense except for the fact that he says the machine isn't shut down when he walks up to it! In fact I'm guessing the message he says is on the console, not his terminal. I've seen it that end up that way before." CreationDate="2011-05-10T17:59:20.400" UserId="1925" />
  <row Id="17412" PostId="12925" Text="RDP can be TLS/SSL secured, which is fine. You can SSH tunnel it as well but the performance won't be quite as good. In any case it would still be better than VNC, even if you tunnel it." CreationDate="2011-05-10T18:00:55.793" UserId="1925" />
  <row Id="17413" PostId="12905" Text="I've compiled It for my arch. busybox: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), stripped" CreationDate="2011-05-10T18:15:31.327" UserId="7359" />
  <row Id="17414" PostId="12951" Text="Actually I don't understand why this question was migrated from stackoverflow. That's definitely a programming question." CreationDate="2011-05-10T18:27:55.543" UserId="6415" />
  <row Id="17415" PostId="12951" Text="@bmk How is this a programming question? It's about using `sed`/`awk` to manipulate a text file" CreationDate="2011-05-10T18:32:01.757" UserId="73" />
  <row Id="17416" PostId="12905" Text="Are the libs in the initrd where busybox expects them?  " CreationDate="2011-05-10T18:33:24.673" UserId="3389" />
  <row Id="17417" PostId="12952" Score="2" Text="or `&amp;` (also entire matched part)" CreationDate="2011-05-10T18:40:33.190" UserId="1987" />
  <row Id="17418" PostId="12951" Text="@Michael Mrozek: Yes - but what you have to do is to program using the `sed`/`awk` language to achieve the goal. I never would complain if someone asks a question about `sed`/`awk` on unix.stackexchange. But I really don't understand why it has to be migrated. I could also ask why this is a `unix` question. I think `sed` and `awk` are available for other systems, too." CreationDate="2011-05-10T18:41:12.643" UserId="6415" />
  <row Id="17419" PostId="5620" Text="You might be able to look at the kernel code through creative use of `/dev/kmem` if it's enabled on your system.  You'd have to get the address of the module beforehand and I don't know how to do that." CreationDate="2011-05-10T18:42:48.183" UserId="3389" />
  <row Id="17420" PostId="12942" Text="Can you give us the output of &quot;join --version&quot; and &quot;sort --version&quot;  just for completeness sake?  I can't get some older versions of gnu join to give me that error message under any circumstance." CreationDate="2011-05-10T18:44:51.287" UserId="732" />
  <row Id="17421" PostId="12951" Text="@bmk I guess technically `sed` and `awk` could be called programming languages, but you're literally just replacing a line with itself twice -- calling that programming is like saying `export` is part of the bash programming language" CreationDate="2011-05-10T18:46:20.617" UserId="73" />
  <row Id="17422" PostId="12951" Text="@Michael: OK - I have to admit that that's not a very complex programming task (but if you see the answer of ninjalj - it can also be done in a somewhat more complex way). But nevertheless I think the question is more programming than unix (btw.: why is it unix at all?)." CreationDate="2011-05-10T18:58:35.343" UserId="6415" />
  <row Id="17423" PostId="12951" Text="@bmk Well, it's using \*nix tools; what would you consider valid Unix questions if not this?" CreationDate="2011-05-10T19:01:10.567" UserId="73" />
  <row Id="17424" PostId="12951" Text="@Michael Mrozek: I kind of agree with bmk. I think this shouldn't be migrated either if it appeared originally on _unix_ or on _stackoverflow_, it's relevant for both, OTOH, if it appeared on _programmers_ ..." CreationDate="2011-05-10T19:13:48.583" UserId="1987" />
  <row Id="17425" PostId="12951" Text="@ninjalj Well, you're arguing with the wrong group -- tell that to the SO mods :). My decision is just &quot;should this be closed on UL or left open&quot; -- I think everyone agrees it's fine here" CreationDate="2011-05-10T19:15:12.343" UserId="73" />
  <row Id="17426" PostId="12939" Text="Thank you! I've checked that `find-alternate-file` in my Emacs works indeed this way, but since I have setup it to use ffap and `C-x C-v` is bound to `ffap-alternate-file`, this doesn't work for me. (Pressing down in the prompt of my `C-x C-v` also brings up the current file name.)" CreationDate="2011-05-10T19:34:08.997" UserId="4319" />
  <row Id="17427" PostId="9739" Score="1" Text="Actually, I don't like the idea of deleting an answer (the yours one or whatever different answer I'll get here in the future) if it works correctly, because it teaches us (at least, me) something new about the features of Emacs. I think this is much more important than just getting one quickest way to &quot;grab&quot; the filename. Please don't delete your answer!" CreationDate="2011-05-10T19:37:27.543" UserId="4319" />
  <row Id="17428" PostId="9739" Text="@imz: Ok, then please accept his answer (for people who just want the answer to your question, it should be displayed first) and I'll leave mine up." CreationDate="2011-05-10T19:40:01.407" UserId="885" />
  <row Id="17429" PostId="12951" Text="@Michael: OK - you're right. The discussion is wrong here - it should be discussed on SO. And: No - the question should not be closed here. It's (as ninjalj said) also fine here." CreationDate="2011-05-10T19:44:08.237" UserId="6415" />
  <row Id="17430" PostId="9971" Text="@Tobu: I don't see why; please elaborate that analogy." CreationDate="2011-05-10T19:47:08.903" UserId="4518" />
  <row Id="17431" PostId="12788" Text="@Agnel Kurian, check out my last edit." CreationDate="2011-05-10T19:51:12.087" UserId="1131" />
  <row Id="17432" PostId="12969" Text="@lain - did you notice my mac limited cp w/o -t? I actually intend not to copy the structure, so cmd would be ideal if it worked, but writing the cmd w/o -t doesn't do the trick (I still get the usage printed)." CreationDate="2011-05-10T19:59:57.577" UserId="5307" />
  <row Id="17433" PostId="12968" Text="@Miles - on the mac I don't have -t but $ find MR -name &quot;*.html&quot; -exec cp ~/debug {} \; prints: &quot;cp: /Users/simpatico/debug is a directory (not copied).&quot; for each html file" CreationDate="2011-05-10T20:03:05.467" UserId="5307" />
  <row Id="17434" PostId="12845" Text="Is it also possible that files copied or moved to foo (using cp resp. mv) gain the desired permissions automatically (`-rwxrwx--- A G`)?" CreationDate="2011-05-10T20:15:58.087" UserId="5289" />
  <row Id="17435" PostId="12915" Text="@Caleb: The only 100% reliable way to have `xargs` cope with Linux filenames is `find ... -print0 | xargs -0`, using NUL as separator. Alternative - `xargs -d '\n'` using newline as separator, 99% reliability." CreationDate="2011-05-10T20:18:07.303" UserId="2168" />
  <row Id="17436" PostId="12968" Text="Oh, you didn't mention that in your question. It would probably be helpful to others if you could tag your question with &quot;osx&quot;. You can still do this with -exec - I'll edit my answer." CreationDate="2011-05-10T20:20:56.863" UserId="7255" />
  <row Id="17437" PostId="12875" Text="@Caleb: If `bash &lt;file&gt;` is used, then it *is* bash, irrespective of filename. (I have yet to see a shell that emulates 'bash' down to providing a binary with the same name...)" CreationDate="2011-05-10T20:22:12.213" UserId="2168" />
  <row Id="17438" PostId="12917" Text="Thanks @fred. I should have thought about that." CreationDate="2011-05-10T20:30:51.667" UserId="4531" />
  <row Id="17439" PostId="12951" Score="1" Text="@bmk I talked with some SO mods; we're going to leave sed/awk-type questions alone in the future. Thanks for bringing it up" CreationDate="2011-05-10T20:32:25.753" UserId="73" />
  <row Id="17441" PostId="2805" Text="Re &quot;in Linux everything is a file&quot;: Not entirely correct. There's no node in `/dev` for such devices as my Bluetooth radio or Ethernet card, for example. Higher-level concepts such as X11 windows don't appear as files either (exception: `wmii`). (BTW, the statement *can* be applied to Plan9 OS.)" CreationDate="2011-05-10T20:44:42.163" UserId="2168" />
  <row Id="17442" PostId="9971" Text="When every part of a linux installation has been replaced over the years, is it still the same installation? (Same as the original analogy of a ship that had all of its parts slowly replaced) I ask because my root partition has changed disks and filesystems, and my home partition is older than that. Some appliances are prepared once as gold images, then get custom hostnames, ssh host keys and fs uuids on deployment. Gold images can be modified and frozen again, like the turnkey linux lineage." CreationDate="2011-05-10T20:53:15.107" UserId="2729" />
  <row Id="17443" PostId="12955" Text="Mel's right on the thing about sudo not seeing the redirect, but I'd use tee, not dd, since mistakes with dd...well, there's a reason they call it disk destroyer! `echo 4096 | sudo tee /proc/sys/fs/file-max`" CreationDate="2011-05-10T19:06:01.410" UserId="950" />
  <row Id="17444" PostId="12955" Text="@maco There's absolutely _no_ difference whether you use `dd` or `tee` for this, as long as you don't accidentially mistype &quot;/dev/sda1&quot; instead of &quot;/proc/sys/fs/file-max&quot; :)" CreationDate="2011-05-10T20:39:52.230" UserId="2168" />
  <row Id="17445" PostId="12943" Text="Strange. Does `shutdown -h now` do the same thing?" CreationDate="2011-05-10T21:20:18.863" UserId="4671" />
  <row Id="17447" PostId="12935" Text="@Barry: Are you aware of [Darcs](http://darcs.net/)? It's a DCVS with fine-grained patch management, which might be a basis for a content management framework." CreationDate="2011-05-10T21:49:10.043" UserId="885" />
  <row Id="17448" PostId="12952" Score="1" Text="@Michael: You can? Oh, it's a GNU extension. Not in POSIX or OpenBSD. Rather pointless extension since there's `&amp;`." CreationDate="2011-05-10T21:55:43.937" UserId="885" />
  <row Id="17449" PostId="12788" Text="@maxschlepzig, thank you for investigating." CreationDate="2011-05-10T21:57:58.093" UserId="557" />
  <row Id="17450" PostId="12963" Score="2" Text="You can read the list of [xterm escape sequences](http://invisible-island.net/xterm/xterm.faq.html#ctlseqs_ms). (Not a tutorial!) Nowadays most terminal emulators mimic xterm, or at least a large subset thereof." CreationDate="2011-05-10T22:07:24.063" UserId="885" />
  <row Id="17451" PostId="12943" Text="What OS (for Linux: distribution, release)? What init system (e.g. SysVinit, Upstart)?" CreationDate="2011-05-10T22:31:09.867" UserId="885" />
  <row Id="17452" PostId="12942" Score="1" Text="Please post some sample data that exhibits the problem, and the output of `locale`." CreationDate="2011-05-10T22:37:28.813" UserId="885" />
  <row Id="17453" PostId="12940" Score="2" Text="Good answer for Linux, missing just one resource: [LXR](http://lxr.linux.no/linux) for browsing the kernel source." CreationDate="2011-05-10T22:41:59.527" UserId="885" />
  <row Id="17454" PostId="12875" Text="@grawity: Actually there are several that do, most notably busybox. However the main point was that, because his question had mix and match bits, I wanted to make sure the asker understood that he was being ambiguous because you can easily hit inconsistencies if you don't understand that different shells act differently and sh and bash aren't the same." CreationDate="2011-05-11T00:04:46.630" UserId="1925" />
  <row Id="17455" PostId="12943" Text="@twblamer: Can you clarify a few more details, the solution isn't poping out here :) Besides the other questions asked in comments, what does the physical console read after you send a remote shutdown command? Does it go through the shutdown process and just fail to power off, or do the shutdown scripts never run? Can you still login at the console after failing to shut it down remotely? Is anything still showing there?" CreationDate="2011-05-11T00:08:50.993" UserId="1925" />
  <row Id="17456" PostId="12975" Text="@Caled That's good to know. What about Thunar, PCManFM, or any other file manager? I am hoping for something with less dependencies and lighter weight. Thanks! (editing original question to say that)" CreationDate="2011-05-11T00:37:19.750" UserId="1375" />
  <row Id="17457" PostId="12976" Score="1" Text="What have you tried? How did it fail?" CreationDate="2011-05-11T01:37:29.057" UserId="3001" />
  <row Id="17458" PostId="12976" Text="Because Unix and Linux dont have one big website about its tools, so I simply go to website like `about.com` and some other website for the list of options available that I can possibly use.. but found nothing like `tail`" CreationDate="2011-05-11T01:53:26.840" UserId="7372" />
  <row Id="17459" PostId="12977" Score="1" Text="Note: `ls` will output *directory names*, and will move *entire directories* if there are fewer than 100 files in the source, and the ls sort defaults are as expected... Here is a safer command `find . -type f -maxdepth 1`, or to ignore hidden files: `find . -type f -maxdepth 1 \( ! -iname &quot;.*&quot; \)`" CreationDate="2011-05-11T02:31:49.277" UserId="2343" />
  <row Id="17460" PostId="12977" Text="good point, I was assuming only files in the directory.  I have now corrected it to account for possible subdirectories" CreationDate="2011-05-11T02:42:15.930" UserId="1879" />
  <row Id="17463" PostId="12955" Text="@MeI thanks a lot" CreationDate="2011-05-11T05:28:14.970" UserId="6771" />
  <row Id="17464" PostId="12958" Text="For the most part this worked (finding many duplicates, but sadly not everything apparently [some with multiple daisy-chained SMTPids as it passed over multiple redirection]). But I also figured that I could just go to GMail and delete all the retrieved Mails (as I auto-labeled them anyway). So I did that and it re-downloading them via pop helped me clean out everything." CreationDate="2011-05-11T05:34:53.880" UserId="6151" />
  <row Id="17465" PostId="12952" Text="General info.. For larger file sizes, this `\1 \1` method is up to 30 times slower than Hai Vu's `paste` method.. and it is also slower than `&amp; &amp;`... Here is a link to my test script:  http://paste.ubuntu.com/606010/" CreationDate="2011-05-11T05:38:27.607" UserId="2343" />
  <row Id="17466" PostId="12972" Text="Interesitng, and surprising!... *Surprising* because it is notably *faster* than `sed -e &quot;s/\(.*\)/\1 \1/&quot;` and `sed -e &quot;s/.*/&amp; &amp;/&quot;` for anything but the smallest files..  I did some time tests, and although is takes approximately the same time for a file with **1** line, `paste` becomes relatively *much faster* as the number of lines increases..  upt to a whopping **28** times faster with 1,000,000 lines... Here is a lin to the test snippet: http://paste.ubuntu.com/606010/" CreationDate="2011-05-11T05:42:41.457" UserId="2343" />
  <row Id="17467" PostId="12935" Text="Totally aware of Darcs, git, hg, bzr, fossil, p4 and similar.  That's DVCS." CreationDate="2011-05-11T06:07:42.697" UserId="7360" />
  <row Id="17468" PostId="12935" Text="@Micheal: This question is not offtopic.  System configuration management is a major concern in large scale operations." CreationDate="2011-05-11T06:09:40.623" UserId="7360" />
  <row Id="17470" PostId="12935" Text="I'm also aware of OpsWare, BladeLogic, bcfg2, AutomateIT ControlTier, and Dunes." CreationDate="2011-05-11T06:19:30.997" UserId="7360" />
  <row Id="17471" PostId="12960" Score="1" Text="I've done some time tests: http://paste.ubuntu.com/606010/ ... For large files, `sed -e &quot;h;G;s/\n/ /&quot;` is marginally faster than `sed -e &quot;s/.*/&amp; &amp;/&quot;`, which is marginally faster than `awk '$0=$0FS$0'`, but they are all approx 10 times slower than `paste -d ' ' file file` (as suggested by `Hai Vu` .. I am quite surprised, but that's what the times show..." CreationDate="2011-05-11T06:34:16.077" UserId="2343" />
  <row Id="17472" PostId="12968" Text="Worse, it will also copy both `mydir/a/a.html` and `mydir/b/a.html` to `otherdir/a.html` and it's not entirely obviously predictable which one winds up copied over last, which is *probably* not something you want..." CreationDate="2011-05-11T06:42:51.353" UserId="4949" />
  <row Id="17473" PostId="12946" Text="Hopefully there's a service process keeper like daemontools/runit, upstart, systemd, etc. making sure the process stays running." CreationDate="2011-05-11T06:43:39.403" UserId="7360" />
  <row Id="17474" PostId="12968" Score="1" Text="@simpatico, you got the order wrong. It's `-exec cp {} ~/debug/ \;` not `-exec cp ~/debug {} \;` for what should be fairly obvious reasons once you think about it..." CreationDate="2011-05-11T06:43:46.877" UserId="4949" />
  <row Id="17475" PostId="12972" Text="Thanks @fred fro the performance test." CreationDate="2011-05-11T06:59:26.727" UserId="7370" />
  <row Id="17476" PostId="12982" Text="@Barry:-Thi is ok if I have to run the program but what to do if I have to INstall the program on other systems also.I want to do it programmatically i.e when user enters  the name of the program on the terminal my program should check whether the user is root or not if not then ask the root's password and then authenticate it. " CreationDate="2011-05-11T07:05:37.690" UserId="6771" />
  <row Id="17477" PostId="12959" Text="@Caleb:-Thi is ok if I have to run the program but what to do if I have to INstall the program on other systems also.I want to do it programmatically i.e when user enters  the name of the program on the terminal my program should check whether the user is root or not if not then ask the root's password and then authenticate it. " CreationDate="2011-05-11T07:06:04.257" UserId="6771" />
  <row Id="17478" PostId="12972" Score="1" Text="@fred That's not so surprising. A specialized tool such as `paste` has optimized code for its particular task, unlike `sed` or `awk` which are interpreters. The penalty you pay is that a specialized tool can only do one job." CreationDate="2011-05-11T07:16:34.633" UserId="885" />
  <row Id="17479" PostId="12977" Score="3" Text="Note that this approach only works if there are no special characters (whitespace, nonprintable characters, ``) in the file names. As a general rule, [do not parse the output of `ls`](http://mywiki.wooledge.org/ParsingLs). And always double-quote parameter and command substitutions." CreationDate="2011-05-11T07:20:40.963" UserId="885" />
  <row Id="17480" PostId="12980" Score="2" Text="Note that [shopping recommendations are generally not acceptable on the Stack Exchange network](http://meta.superuser.com/questions/760). On this particular site, see [this meta thread](http://meta.unix.stackexchange.com/questions/600/hardware-recommendations-whats-the-limit). A straight model recommendation is useless because there'll be new models in 6 months. I've edited the question to be more useful: how to fish, rather than finding a particular fish." CreationDate="2011-05-11T07:30:36.240" UserId="885" />
  <row Id="17481" PostId="12935" Text="@Barry: Configuration management software (for unix) is on-topic, but I don't see how requiring a particular implementation language would be." CreationDate="2011-05-11T07:32:34.957" UserId="885" />
  <row Id="17482" PostId="12825" Text="Thanks. I will check it out :D" CreationDate="2011-05-11T07:58:24.663" UserId="7298" />
  <row Id="17483" PostId="12935" Text="@Gilles: Requirements are not set by myself.  Dialog bubble of what I'd like to say in a yet another meeting: &quot;Okay, why are we reinventing yet another oval wheel in a slightly more clever way?&quot;As long as there is a large-scale, production-supportable functional language [not Ruby, Python or Node :(] in there somewhere, everybody's happy.  " CreationDate="2011-05-11T08:15:18.413" UserId="7360" />
  <row Id="17484" PostId="12935" Text="Catch 22: Can't ask here, can't ask in CS... trying Quora and Twitter for extra lolz. :)" CreationDate="2011-05-11T08:25:42.940" UserId="7360" />
  <row Id="17485" PostId="12988" Text="Exactly what I was looking for, thank you! However, the man page says sfdisk is &quot;not designed for large partitions&quot;, but does not specify any further what it means by &quot;large&quot;. What specific limits does this impose? Will sfdisk tell me if it can't cope?" CreationDate="2011-05-11T08:48:32.947" UserId="6339" />
  <row Id="17486" PostId="12977" Score="1" Text="Which part accounts for 100 files?" CreationDate="2011-05-11T08:50:31.997" UserId="688" />
  <row Id="17487" PostId="12988" Text="I don't know for sure, but the only limit that comes to my mind is the 2TB size limit for partition imposed by msdos partition table scheme. To overcome this limit, one can use GPT instead, but AFAIK sfdisk can not work with GPT. I don't know if there is any other limit nor if sfdisk will report if it can't cope. " CreationDate="2011-05-11T09:05:48.367" UserId="173" />
  <row Id="17488" PostId="12988" Text="`sfdisk` doesn't work with large volumes or support GPT.&#xA;" CreationDate="2011-05-11T09:11:37.423" UserId="7360" />
  <row Id="17489" PostId="12988" Text="@Barry and when you say &quot;large&quot;, you're referring to the 2TB limit @Petr is talking about?" CreationDate="2011-05-11T09:18:34.457" UserId="6339" />
  <row Id="17490" PostId="12985" Text="This is an awesome question.  I'm interested in the incast problem and high-resolution TCP retransmits." CreationDate="2011-05-11T09:19:31.203" UserId="7360" />
  <row Id="17491" PostId="6190" Text="Makes one almost pine for the abundant fiords of Plan9... everything's a file. " CreationDate="2011-05-11T09:29:08.150" UserId="7360" />
  <row Id="17492" PostId="12935" Text="@Barry: I'm sorry, but I find it hard to work up any enthusiasm for this question, and that's coming from someone who likes functional languages. Can you come up with a practical reason for using a CMF in a functional language, such as needing a specific feature and thinking of implementing it in-house?" CreationDate="2011-05-11T09:39:56.570" UserId="885" />
  <row Id="17493" PostId="12930" Text="Thank you for asking this question, I have always wondered myself" CreationDate="2011-05-11T10:12:37.930" UserId="6766" />
  <row Id="17494" PostId="79" Text="Yes I am aware of that. I've walked this very road.  My point was, whilst it does give you the advantage of more quickly editing the last argument on a command-sequence, it also breaks if you need to use or introduce a shell loop.  So I found the convenience was not outweighed by that problem." CreationDate="2011-05-11T10:59:36.803" UserId="1835" />
  <row Id="17495" PostId="12983" Score="2" Text="+1 - Interesting about zsh." CreationDate="2011-05-11T11:49:34.157" UserId="5770" />
  <row Id="17496" PostId="12977" Text="Update to my previous comment: After reading Gilles' reference link, [do not parse the output of ls](http://mywiki.wooledge.org/ParsingLs), I've found that my `find` command was lacking. An arg was in the wrong place, and I've added null file-name endings. It is a bit long of a single line, but that's all I can do in a comment. Here is the fixed snippet: `find . -maxdepth 1 -type f \( ! -iname &quot;.*&quot; \) -print0 | while read -rd  $'\0' file ; do mv -- &quot;$file&quot; /other/location/ ; done`" CreationDate="2011-05-11T12:31:17.447" UserId="2343" />
  <row Id="17497" PostId="7574" Text="Have a look on to this [question](http://askubuntu.com/questions/20034/differences-between-doublequotes-singlequotes-and-backticks-on-comma) in StackExchange's AskUbuntu." CreationDate="2011-02-17T14:52:53.550" UserId="2780" />
  <row Id="17498" PostId="7574" Text="A great example of why it's counter-productive for there to be an ubuntu-specific site." CreationDate="2011-02-17T15:50:43.313" UserId="2511" />
  <row Id="17499" PostId="7574" Text="@mattdm I totally agree" CreationDate="2011-02-17T16:06:56.977" UserId="2780" />
  <row Id="17500" PostId="12935" Text="Ok, I understand this now that it's been rewritten; The whole specific language requirement is a bit odd, but I was wrong about the main question, it's on-topic" CreationDate="2011-05-11T14:05:55.937" UserId="73" />
  <row Id="17501" PostId="12995" Score="6" Text="From your distribution provider? If you want more a specific answer, you'll have to give more information. " CreationDate="2011-05-11T14:07:48.230" UserId="4671" />
  <row Id="17502" PostId="12998" Text="See also [I accidentally chmod -R +x on a directory. How do I restore the correct permissions?](http://unix.stackexchange.com/questions/1323/i-accidentally-chmod-r-x-on-a-directory-how-do-i-restore-the-correct-permissio)" CreationDate="2011-05-11T15:15:47.600" UserId="73" />
  <row Id="17503" PostId="12998" Text="what can go wrong in the system? will it cease to work?" CreationDate="2011-05-11T15:20:55.680" UserId="7386" />
  <row Id="17504" PostId="12998" Text="if there are no problems, i can leave it like that" CreationDate="2011-05-11T15:21:12.577" UserId="7386" />
  <row Id="17505" PostId="12998" Score="3" Text="Of course there are problems. SSH will fail for example." CreationDate="2011-05-11T15:25:55.273" UserId="7167" />
  <row Id="17506" PostId="12998" Text="why? any other examples of problems?" CreationDate="2011-05-11T15:26:14.900" UserId="7386" />
  <row Id="17507" PostId="12999" Text="But, aside from security, what can go wrong in terms of applications? Will they cease to work? Or security is the biggest concern here?" CreationDate="2011-05-11T15:31:04.243" UserId="7386" />
  <row Id="17508" PostId="13000" Text="But, aside from security, what can go wrong in terms of applications? Will they cease to work? Or security is the biggest concern here?" CreationDate="2011-05-11T15:31:39.360" UserId="7386" />
  <row Id="17509" PostId="12999" Text="Just the couple of applications that refuse to start if permissions are too loose.  Security is the biggest concern.  But it's also system stability.  If you do a `rm -rf /` as your normal user now you'll grind your system to a halt." CreationDate="2011-05-11T15:32:45.063" UserId="3389" />
  <row Id="17510" PostId="13000" Text="Security is the biggest concern, but lots of programs, particularly behind the scenes things like logging daemons, cron, etc will fail for various reasons rather than put themselves in the dangerous situation they see." CreationDate="2011-05-11T15:32:57.847" UserId="1925" />
  <row Id="17511" PostId="13000" Text="cron will cease to work just because of 777?" CreationDate="2011-05-11T15:34:36.583" UserId="7386" />
  <row Id="17512" PostId="12999" Text="Which applications may cease to work?" CreationDate="2011-05-11T15:37:35.680" UserId="7386" />
  <row Id="17513" PostId="12998" Text="SSH exits if the home directory is world readable. Setting everything to 777 is like doing everything as root." CreationDate="2011-05-11T15:42:40.513" UserId="7167" />
  <row Id="17514" PostId="12999" Text="Aside from SSH? What else may fail? I need to now if i can leave the system like this for a while." CreationDate="2011-05-11T15:47:10.623" UserId="7386" />
  <row Id="17515" PostId="13002" Text="where? in /bin?" CreationDate="2011-05-11T17:11:46.920" UserId="7386" />
  <row Id="17516" PostId="12999" Text="Anyone have any more ideas?" CreationDate="2011-05-11T17:12:20.490" UserId="7386" />
  <row Id="17517" PostId="13001" Text="Will this break existing configuration?" CreationDate="2011-05-11T17:12:37.557" UserId="7386" />
  <row Id="17518" PostId="13002" Text="By the way, which services need which permissions, for example?" CreationDate="2011-05-11T17:22:57.260" UserId="7386" />
  <row Id="17519" PostId="13002" Text="@Vinnycx: You haven't even told us which distribution you are using, and there are THOUSANDS of possible services. For those you will either need to ask specific questions or better yet, compare with a working normal system." CreationDate="2011-05-11T17:44:04.073" UserId="1925" />
  <row Id="17520" PostId="13002" Score="7" Text="@randolf_carter: Sorry but I have to -1 one this for throwing out something you've never tried. Your command will leave the system somewhat more secure than before by virtue of being bricked! Nothing will have execute permissions I highly doubt the system will even boot!" CreationDate="2011-05-11T17:46:52.417" UserId="1925" />
  <row Id="17521" PostId="12999" Score="2" Text="@Vinnycx: No you can't. It's broken. You should make it a priority to fix it. Otherwise expect your services to fail you one by one and hackers to eat your data. Leaving /*@777 is not an option." CreationDate="2011-05-11T17:52:49.833" UserId="1925" />
  <row Id="17522" PostId="13000" Score="1" Text="There are several different cron systems, but no self respecting cron should execute jobs in root's cron when the crontab file is world writable! Also the mail daemon that handles cron notifications should complain for other reasons." CreationDate="2011-05-11T17:54:32.187" UserId="1925" />
  <row Id="17523" PostId="13001" Text="No, this should not break existing configurations, and it's one step in the right direction. What it won't do is overwrite the permissions for config files. You will need to pass apt-get special arguments to be passed to dpkg to get it to fix the config files but that does run the risk of breaking your custom configs." CreationDate="2011-05-11T17:56:39.440" UserId="1925" />
  <row Id="17524" PostId="10731" Text="What exactly do you want to do? Just saying &quot;reach them&quot; leaves the obvious answer of ssh from one to the next. Do you want to SFTP instead? Do you want to setup a tunnel? Is it the ports that are blocked or the network that won't route or what are the connection limitations? (Please edit the question to clarify)." CreationDate="2011-05-11T18:10:33.667" UserId="1925" />
  <row Id="17525" PostId="13005" Text="@Cell-o: I rewrote your question with better English. I think it makes more sense now, but please check and make sure I didn't actually break it :) Also you don't have to include greetings or thanks in your question. You do that by voting and participating here." CreationDate="2011-05-11T18:30:15.560" UserId="1925" />
  <row Id="17526" PostId="12911" Text="O ok. Done, how do i access the repositry using a  url? i tried http://xxx.xx.xx/svn and it diddnt work" CreationDate="2011-05-11T18:36:25.223" UserId="7317" />
  <row Id="17528" PostId="13008" Score="1" Text="Yes, it is doable. But it is very difficult to answer without more details. What does `authors` contain, and what output would you like from curl?" CreationDate="2011-05-11T18:34:20.783" />
  <row Id="17529" PostId="13008" Text="`authors` contain names like with spaces and i guess dots" CreationDate="2011-05-11T18:40:19.807" />
  <row Id="17530" PostId="13008" Score="2" Text="Note: you spelled 'authors' as 'autors' in your code example. That isn't throwing your program off is it?" CreationDate="2011-05-11T18:58:41.217" UserId="1925" />
  <row Id="17531" PostId="13014" Text="i dont think this will work" CreationDate="2011-05-11T18:46:01.740" />
  <row Id="17532" PostId="13014" Score="2" Text="How about you try it and say what doesn't work specifically. This structure makes it a lot easier to handle spaces and such as the whole line gets read into the variable." CreationDate="2011-05-11T18:53:57.113" UserId="1925" />
  <row Id="17533" PostId="13012" Text="Thank you.  This works.  Is there a reason for this?" CreationDate="2011-05-11T19:17:44.220" UserId="3115" />
  <row Id="17534" PostId="13012" Score="3" Text="Yes. It was designed that way! It's actually quite useful to be able to expand variables inside a quoted string. It's a feature. If you don't want the behavior, use single quotes, that's what they were designed for." CreationDate="2011-05-11T19:20:53.813" UserId="1925" />
  <row Id="17535" PostId="13014" Score="2" Text="If `${author}` includes spaces or similar characters, you will want to URL encode them, otherwise you may find you get errors like `code 400, message Bad request syntax ('GET /authors?string=shakespeare, w.&amp;proc=39 HTTP/1.1')` from your HTTP server." CreationDate="2011-05-11T19:20:57.950" UserId="2818" />
  <row Id="17536" PostId="10731" Text="&quot;I need to reach SERVER-A from the CLIENT with SCP.&quot;" CreationDate="2011-05-11T19:39:05.443" UserId="6960" />
  <row Id="17537" PostId="13016" Text="That doesn't work for me; I don't think ssh will redirect stdin to the child process, so `ssh server1` just locks up waiting for `ssh server2` to complete" CreationDate="2011-05-11T19:46:17.090" UserId="73" />
  <row Id="17538" PostId="13016" Text="+1 It works, but I did not get any prompt." CreationDate="2011-05-11T19:50:05.710" UserId="7370" />
  <row Id="17539" PostId="13016" Text="If you want prompt you should use such command `ssh -t server1 'ssh server2'`. But these is not the answer for question. It doesn't allow you to use `scp` command." CreationDate="2011-05-11T19:52:25.507" UserId="3524" />
  <row Id="17541" PostId="13016" Text="that is weird, I do this all the time and it works. Maybe it has something to do with password versus key authentication?" CreationDate="2011-05-11T20:14:27.863" UserId="1952" />
  <row Id="17542" PostId="13023" Text="This Debian bug [526855](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526855), which is the origin of the change,  seemed to suggest that there are some conditions where klogd may reset console_loglevel to default_console_loglevel when it calls some kernel function." CreationDate="2011-05-11T20:17:02.587" UserId="1209" />
  <row Id="17543" PostId="13023" Text="@Zoredache: Ah. [It did back then](http://lxr.linux.no/#linux+v2.6.18/kernel/printk.c#L292), but [no longer](http://lxr.linux.no/linux+*/kernel/printk.c#L386). The setting only stopped being used in the very kernel version shipped by the current Debian stable, which explains why the setup scripts still support it." CreationDate="2011-05-11T20:28:05.490" UserId="885" />
  <row Id="17544" PostId="13024" Text="I guess one could write a script to first get all SUID binaries with find and then use your solution for each one. Not elegant, but certainly doable. Thanks!" CreationDate="2011-05-11T20:31:18.077" UserId="1952" />
  <row Id="17545" PostId="13024" Text="@Kim: I think you can log all invocations of a setuid root binary by a not-root user by replacing `-F path=…` with `-F euid=0 -F 'uid!=0'` or something like it. I can't see a hook in [the setxid code invoked by `execve`](http://lxr.linux.no/linux+v2.6.38/fs/exec.c#L1219) nor a specific setxid watch in the [audit subsystem](http://lxr.linux.no/#linux+v2.6.38/kernel/auditsc.c). Or, of course, you can log every `execve` and postprocess." CreationDate="2011-05-11T20:41:22.120" UserId="885" />
  <row Id="17546" PostId="13016" Text="@Kim I doubt. For me it also work to some moment. I suppose some default behaviour change after package upgrade." CreationDate="2011-05-11T20:44:42.263" UserId="3524" />
  <row Id="17547" PostId="13025" Text="Is `mkdir` always atomic? I seem to recall buggy NFS implementations where it isn't, but then Solaris NFS is less buggy than most." CreationDate="2011-05-11T20:45:27.123" UserId="885" />
  <row Id="17548" PostId="13025" Text="@Gilles: I don't know - I always create lock files in /tmp." CreationDate="2011-05-11T20:47:37.537" UserId="591" />
  <row Id="17549" PostId="5610" Text="@Daniel It's worth adding that, in bash, you can use the command &quot;type _command_&quot; to find out what type of command it is - if your command is hashed, &quot;type&quot; will tell you. It's also useful to tell whether something's a shell builtin or an alias." CreationDate="2011-05-11T20:59:00.857" UserId="6517" />
  <row Id="17550" PostId="13005" Score="1" Text="I think `cat /dev/tty0` only worked back when input devices could only be opened by one program at a time. I'd go for either disabling the keyboard through `xorg.conf`, or unbinding every key with xmodmap or xkb. It may take more than that to prevent the user from changing the mapping table or plugging in a keyboard and triggering an automatic driver load." CreationDate="2011-05-11T21:13:22.703" UserId="885" />
  <row Id="17551" PostId="13003" Text="That effect of `'+` would be an [input method](http://en.wikipedia.org/wiki/Input_method). Input methods are processed by each application, so whether they work depends on what libraries the application uses. I don't know what input method uses `'+` or whether Netbeans can be made to use it." CreationDate="2011-05-11T21:15:21.250" UserId="885" />
  <row Id="17556" PostId="13016" Text="It is working right now" CreationDate="2011-05-11T21:26:30.927" UserId="1952" />
  <row Id="17557" PostId="13005" Text="Does the kiosk-mode run under Xorg? ;)" CreationDate="2011-05-11T21:55:05.563" UserId="6456" />
  <row Id="17558" PostId="12998" Text="What distro is this? Please provide more specifics of your system." CreationDate="2011-05-11T22:19:26.370" UserId="4" />
  <row Id="17559" PostId="13022" Text="but is it safe?" CreationDate="2011-05-11T22:45:21.637" UserId="6960" />
  <row Id="17560" PostId="13031" Score="1" Text="Agreed, unless you are an expert you have almost no chance of repairing this situation without doing a full reinstall or restoring from backups. It is too dangerous to leave the system running as is." CreationDate="2011-05-11T23:00:15.823" UserId="3459" />
  <row Id="17561" PostId="13000" Text="&quot;thourally&quot; is one very creative mispelling, never seen that one before (SCNR, if it ain't obvious ;-)  (The word you wanted to write is &quot;thoroughly&quot;)" CreationDate="2011-05-11T23:21:57.737" UserId="4206" />
  <row Id="17562" PostId="12998" Text="@ceving: really?  News to me... or do you mean some other dir than $HOME?  Like... $HOME/.ssh?  That one is not world-readable here, but a +r has no effect on ssh.  Not *outgoing*.  And incoming... no, doesn't require it either." CreationDate="2011-05-11T23:35:14.087" UserId="4206" />
  <row Id="17563" PostId="13031" Text="*If* there are users on the system, I pity them." CreationDate="2011-05-11T23:36:44.880" UserId="4206" />
  <row Id="17564" PostId="12975" Text="pcmanfm 0.9.9 does not support something like that." CreationDate="2011-05-12T00:34:06.720" UserId="7369" />
  <row Id="17565" PostId="12911" Text="Sorry, I presumed the error was with just the webdav syntax. In any case, getting `svnserve` running on its own is far easier than getting it to work with apache. So I updated the post showing how to set up svnserve." CreationDate="2011-05-12T00:38:00.197" UserId="6935" />
  <row Id="17566" PostId="13000" Score="1" Text="@jae — we all make mistakes, but the great thing about Stack Exchange is that rather than talking about them, you can just go ahead and fix them, even in other people's posts." CreationDate="2011-05-12T02:03:00.640" UserId="2511" />
  <row Id="17567" PostId="13000" Score="1" Text="+1 to &quot;really, just reinstall&quot;, by the way." CreationDate="2011-05-12T02:03:17.817" UserId="2511" />
  <row Id="17568" PostId="12980" Text="Thanks, good point! And, yes you are correct that is more what I was after was how to look. :)" CreationDate="2011-05-12T02:37:59.033" UserId="2469" />
  <row Id="17569" PostId="13011" Text="I found a model called an HP Desktjet 2050, and it was recommended on the hplip site. It printed fine but the scanner did not work. I upgraded to hplip in unstable and it all works. Thanks for all the answers!" CreationDate="2011-05-12T02:39:13.043" UserId="2469" />
  <row Id="17571" PostId="12921" Text="there's a typo in the 4rth example (should be just `l` not `-l` after &quot;-type&quot;)" CreationDate="2011-05-12T05:38:17.533" UserId="3297" />
  <row Id="17572" PostId="13040" Text="Thanks a lot..." CreationDate="2011-05-12T06:37:58.960" UserId="5473" />
  <row Id="17573" PostId="12921" Text="Thanks, fixed. By the way, all questions and answers on SE sites are editable like a wiki. If you see things like that that need fixing anywhere on the site, feel free to touch them up yourself." CreationDate="2011-05-12T06:45:31.040" UserId="1925" />
  <row Id="17574" PostId="13030" Text="Also make sure that the &quot;Magic SysRQ keys&quot; option in the kernel config is set to OFF -- in debian stock kernels it defaults to 'on' because it's such an incredibly handy emergency measure, but it's something you most likely don't want kiosk users to have access to..." CreationDate="2011-05-12T06:58:13.883" UserId="4949" />
  <row Id="17575" PostId="13022" Text="@LanceBaynes Could you be more specific, please? If the connection is safe, authentication or maybe something else?" CreationDate="2011-05-12T07:05:53.423" UserId="3524" />
  <row Id="17576" PostId="13034" Text="I don't understand your last sentence. Do you mean that the server can send data at any time, unlike the usual shell interaction model where you're either typing a command (at a prompt) or receiving command output (between prompts)?" CreationDate="2011-05-12T07:12:32.217" UserId="885" />
  <row Id="17577" PostId="12832" Text="@Warren Thanks for the location of the files. I really don't know anything about linux or using terminal so I needed detailed steps to use a text editor in terminal. Hence my answer posted below. But thanks for the location of the files I needed to edit.&#xA;" CreationDate="2011-05-12T07:17:51.853" UserId="7318" />
  <row Id="17579" PostId="13047" Score="2" Text="Also &quot;::1&quot; is the ipv6 equivalent of 127.0.0.1 (which is for ipv4)." CreationDate="2011-05-12T09:00:32.970" UserId="6151" />
  <row Id="17582" PostId="13055" Text="Hi! Actually I need to run it by clicking on the icon instead of running it from the terminal..." CreationDate="2011-05-12T08:37:34.377" UserId="3208" />
  <row Id="17584" PostId="13054" Score="1" Text="**Do not make shell scripts setuid**. See [Allow setuid on shell scripts](http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts)." CreationDate="2011-05-12T11:38:51.100" UserId="885" />
  <row Id="17585" PostId="13053" Text="The `(ALL)` part is optional, leaving it out has exactly the same effect. Having `(root)` would be better though, but its absence doesn't explain the problem." CreationDate="2011-05-12T11:39:37.807" UserId="885" />
  <row Id="17586" PostId="13053" Text="+1 for sudo for this command and nothing else! No reason to break the entire system..." CreationDate="2011-05-12T11:40:02.487" UserId="2567" />
  <row Id="17587" PostId="13054" Text="I considered not even mentioning it because it's such a bad option. I just deleted it because I'm worried this asker might use the advice even with the warning that it was bad advice!" CreationDate="2011-05-12T11:41:18.773" UserId="1925" />
  <row Id="17588" PostId="13053" Text="@Johan: That was already in the question." CreationDate="2011-05-12T12:13:57.060" UserId="885" />
  <row Id="17591" PostId="13061" Text="Can you tell me what kind of command I have to look for? It's not BSD, so there is no vidcontrol. I have access to Solaris and Debian Linux I think.." CreationDate="2011-05-12T12:42:19.230" UserId="1893" />
  <row Id="17592" PostId="13061" Text="@poke Sorry, I have no clue. From various explorations in google, this seems like a kernel loading option in linux." CreationDate="2011-05-12T14:21:19.453" UserId="7351" />
  <row Id="17593" PostId="5691" Text="does your `declare ...| cut` pipe break if there are no attributes for a variable?  I'm guessing that `--` is used in that case, but I'm still uneasy. `sed` might be safer, i.e. `declare -p | sed 's/^.* \([^ ]\+\)$/\1/'`" CreationDate="2011-05-12T14:29:52.887" UserId="1835" />
  <row Id="17594" PostId="2910" Text="apparently the `suidperl` stuff has been deprecated and marked for removal for years (but persists non-the-less)" CreationDate="2011-05-12T14:32:57.393" UserId="1835" />
  <row Id="17595" PostId="13071" Text="thats is a very useful link thanks very much, Ill mark this answered as its what im looking for. Cheers" CreationDate="2011-05-12T15:17:26.023" UserId="6103" />
  <row Id="17596" PostId="13046" Text="I posted a similar question recently, but it did not attract much interest. http://unix.stackexchange.com/questions/11844/etc-hosts-for-debian. This one is better written, though." CreationDate="2011-05-12T15:29:11.737" UserId="4671" />
  <row Id="17597" PostId="13024" Text="Interesting. Never heard of this before. I wonder how widely used it is. Debian popcon doesn't have an entry for `auditd`." CreationDate="2011-05-12T15:35:00.217" UserId="4671" />
  <row Id="17598" PostId="9184" Text="SLES11 has been based on openSUSE 11.1. The difference between SLES11 and SLES11-SP1 are: upgraded kernel, glibc, X and some other key parts of the system, otherwise, it should be more or less the same as openSUSE 11.1." CreationDate="2011-05-12T15:38:38.950" UserId="173" />
  <row Id="17599" PostId="12921" Text="yea, I tried to edit but I don't have enough rep to make a 1 character fix yet :)" CreationDate="2011-05-12T15:52:41.007" UserId="3297" />
  <row Id="17600" PostId="13002" Text="The system is already bricked: this is a possible solution. I think It may work, anyway, of course you are free to vote whatever you want." CreationDate="2011-05-12T16:51:56.667" UserId="3370" />
  <row Id="17601" PostId="13032" Text="Yes I found that but it can't find hos to add repositories, is it possible? Will try yumex and check out the link! Thanks!" CreationDate="2011-05-12T17:08:18.113" UserId="7390" />
  <row Id="17602" PostId="13034" Text="Indeed; if you telnet into a raw TCP/IP service (esp. one that is multi-user like a MUSH), then as you are typing the server may send additional text to you which will get inserted at the cursor, part-way through what you are typing." CreationDate="2011-05-12T18:09:51.137" UserId="7399" />
  <row Id="17603" PostId="13073" Text="This will cause breakage at some point. You are better of upgrading everything (it is a rolling release), and then every couple of days or weeks backing up /var/cache/pacman to an external drive and flushing the cache with pacman -Scc" CreationDate="2011-05-12T18:49:02.813" UserId="6761" />
  <row Id="17604" PostId="13077" Score="2" Text="@Petr: It's ok to answer your own question if you've managed to solve the problem on your own. Use the `Answer your question` button for that (you may have to wait a few hours to give others a chance), don't put the answer in your question." CreationDate="2011-05-12T20:35:07.433" UserId="885" />
  <row Id="17605" PostId="10650" Text="Also available in homebrew (brew install watch)." CreationDate="2011-05-12T21:45:47.330" UserId="7430" />
  <row Id="17606" PostId="13082" Text="btw, `mmv` looks like an alternative at the first glance - it supports back references and stuff, but unfortunately only globing and no regular expressions." CreationDate="2011-05-12T22:17:46.630" UserId="1131" />
  <row Id="17607" PostId="11732" Text="I fully believe you are correct about the version change.  What it doesn't explain is why XP - completely fresh and completely unpatched - would connect with no issues." CreationDate="2011-05-12T22:57:43.683" UserId="6324" />
  <row Id="17608" PostId="10710" Text="I have used the default Terminal Services on Ubuntu to check with the same result." CreationDate="2011-05-12T22:58:15.867" UserId="6324" />
  <row Id="17609" PostId="4596" Text="Readers of this question may also be interested in [How are browser saved passwords vulnerable?](http://security.stackexchange.com/q/3694/414)." CreationDate="2011-05-12T23:35:21.657" UserId="885" />
  <row Id="17610" PostId="13086" Text="Excellent options, thanks. I'll accept the answer as soon as the dang site lets me. :)" CreationDate="2011-05-13T00:06:31.367" UserId="7433" />
  <row Id="17611" PostId="13086" Text="Is `xauth` or `xhost` needed here too?" CreationDate="2011-05-13T00:44:02.440" UserId="3169" />
  <row Id="17612" PostId="13086" Text="@Mikel I'm not sure how security works when a different user is running X; I think it's fine. I've only ever used `xhost` for allowing remote connections, but he's SSHing to the machine directly" CreationDate="2011-05-13T01:02:49.103" UserId="73" />
  <row Id="17613" PostId="13066" Text="Setting NVreg_DeviceFileMode=0666 seems to have done the trick." CreationDate="2011-05-13T03:41:33.970" UserId="663" />
  <row Id="17614" PostId="874" Text="You could also add an alias, e.g. `alias ren=mv -T`." CreationDate="2011-05-13T03:57:19.590" UserId="3169" />
  <row Id="17615" PostId="13089" Text="Judging on video intro - it should be annoying as hell. Its for enterprise usage. I need for personal usage." CreationDate="2011-05-13T04:34:36.397" UserId="3384" />
  <row Id="17616" PostId="13086" Text="It's fine if you can log in on the same account she is logged in. Otherwise you'll have to deal with X access control." CreationDate="2011-05-13T05:28:23.337" UserId="7440" />
  <row Id="17617" PostId="13071" Text="Wouldn't you still need to have a UID assigned to each user in this case?  i.e. you're adding users anyway; it's just that the UID/password/etc. for some of them are stored in MySQL.  I suppose you could use a single UID for all of them, but then they could read and overwrite each other's files." CreationDate="2011-05-13T06:45:42.830" UserId="3629" />
  <row Id="17619" PostId="13094" Text="This answer is only correct insofar as it deals with the standard `tar` program. Tar as a file format is actually very accessible. You could easily write a script to update the contents yourself, but [there are other tools that already do this](http://unix.stackexchange.com/questions/13093/add-update-a-file-to-an-existing-tar-gz-archive/13097#13097)." CreationDate="2011-05-13T08:48:23.333" UserId="1925" />
  <row Id="17621" PostId="8823" Text="@user5289: It is quite possible to set the time positions in a GUI... I do it with Smplayer.... I've added the new `timestamps` script to my original answer which showed only a `play-it-in-Smplayer` script" CreationDate="2011-05-13T09:59:47.473" UserId="2343" />
  <row Id="17622" PostId="13095" Text="You don't need awk if you change `ls -l` to `ls -1`.  And remove the `-r` option and change `tail` to `head`: it will be slightly faster and more logical." CreationDate="2011-05-13T11:08:12.300" UserId="3169" />
  <row Id="17623" PostId="13094" Score="3" Text="You could also do this the Unix way: `gzip -dc archive.tar.gz | tar -r data/data/com.myapp.backup/./files/settings.txt | gzip &gt;archive_new.tar.gz`" CreationDate="2011-05-13T11:11:08.690" UserId="4542" />
  <row Id="17624" PostId="13095" Text="In fact, I gave a version of this function in [What customizations have you done](http://unix.stackexchange.com/questions/6628/what-customizations-have-you-done-on-your-shell-profile-to-increase-productivity/6825#6825) that does this, but also supports a `-&lt;number&gt;` option to say how many most recent files to display." CreationDate="2011-05-13T11:15:01.247" UserId="3169" />
  <row Id="17625" PostId="13097" Text="I use [AVFS](http://avf.sourceforge.net/), which is packaged in Ubuntu and Debian. Do you know how archivemount and tarfs compare to AVFS?" CreationDate="2011-05-13T11:31:23.870" UserId="885" />
  <row Id="17627" PostId="13090" Text="Good to know, thanks!" CreationDate="2011-05-13T12:13:18.797" UserId="7209" />
  <row Id="17628" PostId="13089" Text="I wonder why this was modded down... if it can do the job..." CreationDate="2011-05-13T12:32:39.573" UserId="29" />
  <row Id="17629" PostId="7819" Text="Note that I was asking for a workaround, not why this was happening (good answer though). In this case I was, knowingly, having a stale repository." CreationDate="2011-05-13T12:44:23.340" UserId="688" />
  <row Id="17630" PostId="13104" Text="Clarification: this was the uid/gid of the files on the original host. it's 	a good idea to recreate users with the same uid/gids when you migrate to a new server." CreationDate="2011-05-13T11:48:38.670" UserId="6829" />
  <row Id="17631" PostId="13105" Text="i dont have any user like that , is it random , how did the system pick that number" CreationDate="2011-05-13T11:34:43.720" UserId="6797" />
  <row Id="17632" PostId="13105" Text="Hmm, I see. I don't know then, see the other answers, sry" CreationDate="2011-05-13T11:43:04.473" UserId="2787" />
  <row Id="17633" PostId="13102" Score="4" Text="identical/duplicate question: http://superuser.com/questions/282989/should-all-plain-text-files-have-some-sort-of-suffix-e-g-txt-conf/282993#282993" CreationDate="2011-05-13T14:00:13.943" UserId="2974" />
  <row Id="17634" PostId="13089" Text="It appears to be a ms windows program...." CreationDate="2011-05-13T14:01:00.790" UserId="2511" />
  <row Id="17635" PostId="12887" Text="Just a reminder to stay polite, everyone." CreationDate="2011-05-13T14:02:33.533" UserId="2511" />
  <row Id="17636" PostId="12935" Text="@Barry — this might get best results on Server Fault, which is designed for sysadmins in large scale operations." CreationDate="2011-05-13T14:32:50.983" UserId="2511" />
  <row Id="17637" PostId="13102" Text="The SU version was posted first and this looks like a generic question (i.e. not asking about \*nix specifically), so I'm going to close it here. @dan If you'd prefer it be here, flag the SU version and ask them to migrate it and we'll merge here" CreationDate="2011-05-13T14:34:51.313" UserId="73" />
  <row Id="17638" PostId="13110" Text="Side note: Most common scenario for orphan user/groups is extraction from an archive." CreationDate="2011-05-13T14:35:32.373" UserId="7351" />
  <row Id="17639" PostId="13113" Text="Is this a per-user problem or a global one?" CreationDate="2011-05-13T14:55:57.720" UserId="6151" />
  <row Id="17640" PostId="13113" Text="@XQYZ I don't understand the question. Root uses it in cron (I think) and then whatever Apache user uses it in serving pages." CreationDate="2011-05-13T14:57:22.320" UserId="394" />
  <row Id="17641" PostId="11893" Text="Also does not work with Metacity 2.22.0. It seems to me that the wmctrl development is stalled. The last entry in the Changelog is from 2005. The problem is obvious. The program needs a new maintainer. If you like the program and if the program needs to be patched, do it. That is the way open source works." CreationDate="2011-05-13T15:04:25.460" UserId="7167" />
  <row Id="17642" PostId="13089" Text="@mattdm There's a [linux version](http://www.timedoctor.com/downloads/linux32/stable/)" CreationDate="2011-05-13T15:11:42.883" UserId="73" />
  <row Id="17643" PostId="13113" Text="Well if it had been a user problem then the location would be in your home. So I was just checking here. It's a difficult question, but since apache uses it anywhere but your www directory seems wrong imho." CreationDate="2011-05-13T15:20:22.440" UserId="6151" />
  <row Id="17644" PostId="13096" Text="`finch` is the command line version of pidgin." CreationDate="2011-05-13T15:21:35.893" UserId="3389" />
  <row Id="17645" PostId="13085" Text="Send an text message to a phone in silent mode... or is it just me?" CreationDate="2011-05-13T16:41:55.740" UserId="7451" />
  <row Id="17646" PostId="13124" Text="Thanks. Do you know how to invoke less on a file and have it start at a certain position?" CreationDate="2011-05-13T17:06:11.383" UserId="6973" />
  <row Id="17647" PostId="13124" Text="@dan `less +200g filename`" CreationDate="2011-05-13T17:10:26.700" UserId="73" />
  <row Id="17648" PostId="13118" Text="This does not seem to work and appears to contradict what's in the conf file by default (and other references that I found via google). http://www.lucidtips.com/2008/11/17/send-hostname-to-dhcp-server-on-ubuntuxubuntu/ Unfortunately, that does not seem to work either. " CreationDate="2011-05-13T17:18:23.807" UserId="7447" />
  <row Id="17649" PostId="13124" Text="Thank you Mike. " CreationDate="2011-05-13T17:23:12.007" UserId="6973" />
  <row Id="17650" PostId="13118" Text="Ack, you're right. I read request syntax, not send." CreationDate="2011-05-13T17:26:35.157" UserId="7351" />
  <row Id="17651" PostId="13116" Text="Almost all options but a few can be placed under a share name. The _global_ section is for setting defaults for all shares. There is official [documentation](http://www.samba.org/samba/docs/) and a complete reference in the manual pages. It would be more appropriate to ask how to solve a specific problem." CreationDate="2011-05-13T18:32:47.340" UserId="5666" />
  <row Id="17652" PostId="13105" Text="Every username has a numeric ID associated with it. On most linux distributions, the automatically assigned ones for normal users count up from 500 or 1000." CreationDate="2011-05-13T18:55:08.347" UserId="6290" />
  <row Id="17653" PostId="13118" Text="It appears the hostname is sent - at least I can find the unique value in packets identified by Wireshark as &quot;DHCP Discover&quot; and &quot;DHCP Request&quot; packets. I'm not sure what would be different for the win7 machine and the Ubuntu VM." CreationDate="2011-05-13T19:17:17.950" UserId="7447" />
  <row Id="17654" PostId="13097" Text="Honestly no I don't, although I'm curious to look into AVFS now that you mention the alternative. I've used both archivemount and tarfs but it was for a long since decommissioned project and don't know their current state. I kind of decided from that experience that the idea was wrong conceptually even if the implementation worked perfectly." CreationDate="2011-05-13T20:28:46.307" UserId="1925" />
  <row Id="17655" PostId="13115" Text="That would be appropriate for packaged files belonging or built for the target distribution. Locally contributed files shouldn't go under /usr (outside /usr/local)." CreationDate="2011-05-13T21:00:32.227" UserId="2594" />
  <row Id="17656" PostId="13130" Text="Will it work? Yes. Comfortably? That's more of a question about Windows really, and it rather varies from person to person anyway." CreationDate="2011-05-13T21:10:11.467" UserId="885" />
  <row Id="17657" PostId="13128" Text="`reboot` is in `/sbin` in Debian (with SysVinit) and Ubuntu (with upstart)." CreationDate="2011-05-13T21:16:45.687" UserId="885" />
  <row Id="17658" PostId="13127" Text="How exactly did you run `pencil.sh`? Depending on what directory it tries to install to, you may need to run it as root." CreationDate="2011-05-13T21:20:05.060" UserId="885" />
  <row Id="17659" PostId="13128" Text="Okay, so meta-answer: know thy system. :) I use CentOS most often." CreationDate="2011-05-13T21:21:04.753" UserId="138" />
  <row Id="17660" PostId="13136" Score="2" Text="What is “sever time”?" CreationDate="2011-05-13T21:46:29.987" UserId="885" />
  <row Id="17661" PostId="13121" Text="I know it's not direct answer, but I've tried using a 200 series Nvidia with ESXi 4.1 and got nowhere.  Even with the passthrough set up to the correct PCI addresses, the guests were not able to access the devices with the access CUDA programs want. " CreationDate="2011-05-13T22:09:27.020" UserId="434" />
  <row Id="17662" PostId="13132" Text="I've update my question, I don't want to use third party applications. Thanks for the answer though." CreationDate="2011-05-13T22:15:23.800" UserId="2689" />
  <row Id="17663" PostId="12947" Text="eh...  it can.  The &quot;VM&quot; is just called an &quot;LPAR&quot; (logical partition), that's all.  Oh, and it runs on IBM hardware, not x86 laptops :)" CreationDate="2011-05-13T22:32:52.567" UserId="4196" />
  <row Id="17664" PostId="13140" Text="That works thanks" CreationDate="2011-05-13T22:43:54.687" UserId="7464" />
  <row Id="17665" PostId="13141" Text="@Gille;...I'm still looking at your options (speedwise; I'm processing 64k), but on a side note, I'm pretty sure that Little-Endian only has the *lowest* order byte moved up into the high-order postion... It isn't a full reversal for larger word sizes... it was a full reversal when words were 16 bits :)" CreationDate="2011-05-13T23:00:04.480" UserId="2343" />
  <row Id="17666" PostId="13141" Text="@fred: Ah, you didn't say you wanted speed. Perl is going to win hands down unless you massage that od output better. Which of the little-endian versions doesn't work? I get the output I expect." CreationDate="2011-05-13T23:09:36.497" UserId="885" />
  <row Id="17667" PostId="13137" Score="1" Text="How do these bytes look like? 4 125 -19 0 can be seen as 4 bytes, &quot;\t.-X&quot; could be seen as 4 bytes (I choose 4 because it is shorter), but how about 319 and &quot;ö§«¢&quot;? Or is it the first 8 bytes in an arbitrary file?" CreationDate="2011-05-13T23:26:51.663" UserId="4485" />
  <row Id="17668" PostId="13141" Text="@Gilles: oops! sorry... You are right about the byte order; it is full reversal... (I've *known(?)* for a long time, that it was only the low-order byte, and it's a good thing I've never needed to use my knowledge before today :) .... re **perl**, I get this error while using &quot;12345678&quot; as the *string*..   " CreationDate="2011-05-13T23:28:23.800" UserId="2343" />
  <row Id="17669" PostId="13141" Text="@fred: What error? What command did you run, what was the output, what did you expect it to be?" CreationDate="2011-05-13T23:32:46.330" UserId="885" />
  <row Id="17671" PostId="13141" Text="@Gilles: The error message: `Invalid type 'Q' in unpack at -e line 1.` ...&#xA;The command (using a string of 8 *random* bytes): `perl -e 'print unpack &quot;Q&lt;&quot;, $ARGV[0]' &quot;12345678&quot;` ... &#xA;The output: only the error message  ... perl vereion: v5.10.1 &#xA;" CreationDate="2011-05-14T00:03:35.330" UserId="2343" />
  <row Id="17672" PostId="13141" Text="@fred: Your perl doesn't support 64-bit integers. See my edit." CreationDate="2011-05-14T00:04:44.073" UserId="885" />
  <row Id="17673" PostId="13141" Text="@Gilles. that 32bit version works; thanks...It gives me the hex representatinof the integer (which is very useful in its own right). How can perl output the actual integer? ... but I think bash by default only handles signed ints .... maybe ther is a shopt for int handling.\" CreationDate="2011-05-14T00:12:37.897" UserId="2343" />
  <row Id="17674" PostId="13141" Text="@fred: I don't understand. The output of a program is a string, not an integer, so all you'll get is some string representation of that integer." CreationDate="2011-05-14T00:20:10.950" UserId="885" />
  <row Id="17679" PostId="13137" Text="'4 125 -19 0' is not 4 bytes. It may be the *decimal integer representation* of 4 bytes which are being interpreted on its binary integer value, but it utilizes 8 bytes (excluding spaces).. '\t.-X' is a *repretation* of 4 bytes in the ASCII/'C' style; it is utilizing 5 bytes.. `ö§«¢` are not bytes; they are nominally Unicode characters, which utilize 8 bytes when encoded in UTF-8 and UTF-32, and 16 bytes when encoded in UTF-32.. As often encountered in man pages, I am referring to 8-bit octets; just a plain ordinary 8-bit Byte.. I want to interpret 8 of them as a 64 bit unsigned Big-Endian int" CreationDate="2011-05-14T02:22:14.713" UserId="2343" />
  <row Id="17680" PostId="13119" Score="1" Text="See http://unix.stackexchange.com/questions/8690/what-is-the-difference-between-halt-and-shutdown-commands for the distinction - the commands can behave differently depending on operating system (but generally do the same thing in Linux)." CreationDate="2011-05-14T02:32:43.820" UserId="5426" />
  <row Id="17681" PostId="13137" Text="No, '4 125 -19 0' is a valid, possible representation or 4 bytes. The pixels on the screen utilize much more than 8 bytes. &quot;ö§«¢&quot; are of course bytes, since every digital information can be expressed in bytes - just as every distance can be represented as meters and as inches. My question is, how do you get the bytes, how are they represented? An 8-bit octet would be 00101101 for example. " CreationDate="2011-05-14T02:38:18.957" UserId="4485" />
  <row Id="17684" PostId="13137" Text="My *input* bytes aren't &quot;represented&quot; .. I am speaking of a byte being a byte... nothing more, nothing less... ie. raw data ... I then wish to interpret 8 of those raw bytes as an unsigned long long, ie. a 64bit unsigned int... I won't be visually representing these integers at all.. I will use them in a hash calculation. ... I am interested in the binary values of each byte... Come to think of it, that is the &quot;representation&quot;...  I want to work with the intrinsic *base 2* value of 8 bits, ie. I want to **not** treat the byte in any special way." CreationDate="2011-05-14T03:25:18.887" UserId="2343" />
  <row Id="17685" PostId="13137" Text="A byte is a byte and a rose is a rose, but bash has no type system, has it? Well - I know strings and integer numbers and booleans in bash, but there is no byte type, so I have to take something else - strings, numbers, booleans, arrays, files ... Can you just show how you get these bytes in your script? Or are they directly encoded (raw?) in the script? " CreationDate="2011-05-14T03:58:18.153" UserId="4485" />
  <row Id="17686" PostId="13147" Score="2" Text="I would call it a prefix, not a suffix.&#xA;" CreationDate="2011-05-14T04:53:17.250" UserId="2594" />
  <row Id="17687" PostId="13146" Text="How are you compiling them?" CreationDate="2011-05-14T06:14:33.517" UserId="3032" />
  <row Id="17689" PostId="13145" Text="Don't try swapping package managers. They are stupid and oblivious to each other, so I'll bet your system will break almost instantly if you do. But if you *really* want to, do it in a LiveCD and see what happens ;)" CreationDate="2011-05-14T06:16:03.717" UserId="3032" />
  <row Id="17690" PostId="13146" Text="Which Git package did you install / update?" CreationDate="2011-05-14T06:16:12.657" UserId="7204" />
  <row Id="17691" PostId="13137" Text="I recently..(I say &quot;recently&quot;, because everything Linux is recent for me)..used `dd` to chop up byte data, but I would think that there must be a *real* one-byte locale that still lingers somewhere; from pre multi-byte character set era... that would enable \x80..\xFF, but handling \x00 in variables is impossible(?) I believe.. but it this case I don't actually need to handle the data in strings, even something like locale UCF-32 would work to convert 4 bytes at a time..." CreationDate="2011-05-14T06:55:53.697" UserId="2343" />
  <row Id="17692" PostId="4596" Text="And also, independently of the way the passwords are stored, they are also very insecure because they may be viewed directly going to: `Edit` -&gt; `Preferences` -&gt; `Security` -&gt; `Passwords` -&gt; `Show passwords`. That option is with Firefox 3.x and also with Firefox 4." CreationDate="2011-05-14T06:58:41.540" UserId="6803" />
  <row Id="17696" PostId="13101" Text="Wow.. that's a nice idea.." CreationDate="2011-05-14T08:11:12.037" UserId="3540" />
  <row Id="17697" PostId="13146" Text="I just download Git from the website. I built Ruby with `autoconf` and `sudo make install`." CreationDate="2011-05-14T08:32:27.170" UserId="7469" />
  <row Id="17700" PostId="13157" Text="Please correct title into something like &quot;How do I rename multiple file in unix?&quot;" CreationDate="2011-05-14T09:55:00.967" UserId="2567" />
  <row Id="17701" PostId="13168" Text="I am using that at the moment, although it may have remote file explorer, it dosent have SVN (Not that i can see), therefore back to square one" CreationDate="2011-05-14T10:47:15.127" UserId="3368" />
  <row Id="17703" PostId="13169" Score="2" Text="Gah! [Don't parse the output of ls!](http://mywiki.wooledge.org/ParsingLs) The shell already knows how to act on all the files in a directory, it's spelled `*`." CreationDate="2011-05-14T11:07:45.307" UserId="885" />
  <row Id="17704" PostId="13161" Score="2" Text="I'd simplify `head -1 &quot;$f&quot; | awk '{print $1}'` to `&lt;&quot;$f&quot; awk {print $1; exit}`." CreationDate="2011-05-14T11:09:12.323" UserId="885" />
  <row Id="17705" PostId="13157" Score="2" Text="@Johan: Note that you can now use the `edit` button to suggest such edits." CreationDate="2011-05-14T11:09:32.963" UserId="885" />
  <row Id="17706" PostId="13157" Text="Missed that on this site, I thought I did not have enought rep here..." CreationDate="2011-05-14T11:11:54.927" UserId="2567" />
  <row Id="17707" PostId="13170" Text="I suppose it is to do with habit, I am used to the way of Dreamweaver, its so hard changing habits to work in the way you are suggesting. However your solution sounds intresting, as I can still use an IDE to edit. and instead of using ftp to upload to server, I use svn to `ci` from local and `co` on server. But in essence dosent that slow things down a little?" CreationDate="2011-05-14T11:32:59.703" UserId="3368" />
  <row Id="17708" PostId="13150" Score="1" Text="Why do you recommend NIS rather than LDAP? I thought NIS was on its way out. (In any case I agree with the recommendation of a proper user management system.)" CreationDate="2011-05-14T11:37:15.970" UserId="885" />
  <row Id="17709" PostId="13170" Text="@whoami: Your workflow wouldn't change: commit when satisfied, and have a script automatically check out on the server side. I do recommend switching away from svn and to a distributed VC system." CreationDate="2011-05-14T11:38:53.237" UserId="885" />
  <row Id="17710" PostId="13170" Text="Ahhaaa I really understand now the idea of `distributed revision control` Thanks :D" CreationDate="2011-05-14T11:44:07.367" UserId="3368" />
  <row Id="17711" PostId="13150" Text="You could use LDAP also. But I think NIS is a little easier to set up. It's still used in places." CreationDate="2011-05-14T12:41:21.993" UserId="3082" />
  <row Id="17713" PostId="13145" Text="What package manager are you currently using? I think the Fedora standard is `yum`, though it also has a port of `apt`, which may not be as well supported." CreationDate="2011-05-14T15:38:54.393" UserId="4671" />
  <row Id="17714" PostId="13141" Text="@Gilles: it's somwhat academic now that you have posted the python example, but here is a test using your original exaples: http://paste.ubuntu.com/607289 ... Re the python example, it dumps the list of numbers about 5 times faster than the bash pipe `dd|xxd|tr|sed|while..eval $((16#0001020304050607))`, which as you mentioned is hamstrung by signed integer arithmetic... Thanks for the python... btw. I've noticed that `&lt;&quot;Glider.flv&quot; ztest.py` works fine, but `cat &quot;Glider.flv&quot; |ztest.py` errors on the seek with this message, `IOError: [Errno 29] Illegal seek` .. Any idea why?" CreationDate="2011-05-14T16:16:10.700" UserId="2343" />
  <row Id="17715" PostId="13141" Text="@fred: My code calls `seek` to get the last N bytes, and you can't do that on pipe: you have to keep a sliding window of at least N bytes and read from beginning to end. If you have trouble with that, ask on SO." CreationDate="2011-05-14T16:31:57.397" UserId="885" />
  <row Id="17717" PostId="10090" Text="@fred: Thanks for the Update. Could you add a step by step instruction how to use the script?" CreationDate="2011-05-14T17:20:58.383" UserId="5289" />
  <row Id="17719" PostId="13087" Text="@Mikel: Thanks for the comprehensive answer. Some comments. 1. You write &quot;localhost.localdomain is the name used for private communications between two TCP/IP&quot;. My experience is that internal processes use `localhost`, not `localhost.localdomain`. In fact, I cannot think of a case where I have seen it being used. Do you have a cite? 2. You  wrote &quot;If your system had a dynamic IP address, various scripts were used to edit /etc/hosts to include an entry based on what the DHCP server returned.&quot; I've never seen that happen; I always thought `/etc/hosts` was immutable. Do you have a cite?" CreationDate="2011-05-14T18:27:15.377" UserId="4671" />
  <row Id="17720" PostId="13182" Text="Thanks for information" CreationDate="2011-05-14T19:10:41.767" UserId="7481" />
  <row Id="17721" PostId="13140" Text="I've also got a problem with mixed media directories - http://unix.stackexchange.com/questions/13185/ - any help will be appreciated." CreationDate="2011-05-14T19:33:07.597" UserId="7464" />
  <row Id="17722" PostId="3997" Text="Ctrl-O will drop you to a shell in Midnight Commander and Ctrl-Enter will place the name of whatever item is selected into the command line. Not quite the same as [tab] auto-complete but pretty close." CreationDate="2011-05-14T20:07:06.210" UserId="7136" />
  <row Id="17725" PostId="13179" Text="Thank you for your answer! It might be fun to compile my own kernel but I fear that it is really time consuming and the backdraw you mentioned (that you have to compile again and again) could really be annoying. As it seems like aes-ni is in the standard-kernel I would go with this one. Thank you!" CreationDate="2011-05-14T21:38:40.983" UserId="7129" />
  <row Id="17726" PostId="13179" Text="@Marcel: Compiling ones own kernel is not really time consuming if you only include what you need, and has the benefit that it can be a bit faster (though nothing dramatic). Also, it is a useful technique to know. Having said that, I usually stick to the stock kernels if I can." CreationDate="2011-05-14T21:43:33.557" UserId="4671" />
  <row Id="17727" PostId="13191" Score="2" Text="[Don't parse the output of `ls`](http://mywiki.wooledge.org/ParsingLs). `xargs` is actually rarely useful, especially now that `find … -exec … +` exists." CreationDate="2011-05-14T23:11:54.607" UserId="885" />
  <row Id="17728" PostId="13193" Score="4" Text="`.a` can only be included as part of a program during compiling.  `.so`'s can be &quot;imported&quot; while a program loads." CreationDate="2011-05-14T23:39:18.067" UserId="3389" />
  <row Id="17729" PostId="13195" Text="Sadly, as far as I can tell, the hardware isn't cooperating. If you want to tune rotation, you pretty much have to forget acceleration." CreationDate="2011-05-15T00:07:31.153" UserId="885" />
  <row Id="17731" PostId="10090" Text="@user5289. It should only require that you have smplayer open with your video, and the script is associated with as shortcut-key (I use xbindkeys, but anything will do).. You can then, at any point in the movie, just press you shortcut-key.. Because it utilizes a macro which is unrelated to smplayer, you should not do anything (keyboard or mouse click) until the 2nd dialog appears. It needs 1-2 seconds to check &quot;Is this the right window? etc&quot; and open smplayer's &quot;seek dialog&quot; from which the macro copies the current time position which is presented in HH:MM:SS.. Do not interrupt this dialog...." CreationDate="2011-05-15T01:27:33.550" UserId="2343" />
  <row Id="17732" PostId="10090" Text="continued... The macro will copy the timestamp to the clipoard and then close the &quot;seek dialog&quot;.. A second dialog will then appear (a &quot;zenity&quot; dialog)... It will prompt you to do 1 of 5 things. 1) use the captured timestamp as Start position. 2) use the captured timestamp as End position. 3) Unset Start Positon. 4) Unset End Positon. 5) Open nautilus at the directory which holds the saved &quot;config&quot; file .. The config files are named identically to the Video. (the name is taked from Smplayer's title bar).." CreationDate="2011-05-15T01:34:20.127" UserId="2343" />
  <row Id="17733" PostId="10090" Text="continued... From there you can use the times as you please in your current scripts... I'm working on a script which integrates with Smplayer; My first smplayer script (shown in my original answer) is a bit naive, and trips up on some options.. Smplayer has an option to keep a history of every file ever played. This can be done in a single file or individual files... The individual file method (the default, I think(?), is the most suitable, but the .ini names are hashed. I'm currently working on mimicing that has algorithm... so stay tuned :)" CreationDate="2011-05-15T01:44:17.530" UserId="2343" />
  <row Id="17734" PostId="13191" Text="Thanks @Gilles that's a good article. Edited retracting my answer." CreationDate="2011-05-15T01:55:17.160" UserId="7493" />
  <row Id="17735" PostId="10090" Text="continued... You will need to have these apps installed.. `xdotool xwininfo xmacro zenity sed` (but who hasn't  got sed:), and of course `smplayer`... As I mentioned it my answer.. it is only an 'asssist'.. so far,but thinking about it right now, as I write this, it **can** be made to graft into the normal smplayer playlist! because the playlist will play in accordance with the save smplayer .ini files (the ones with the hashed filenames).. This is looking beter and better.. but I seriously need a break :).. too much smplayer for a few days.. I've still got to finish off that hashing algorithm" CreationDate="2011-05-15T01:59:31.370" UserId="2343" />
  <row Id="17736" PostId="13195" Text="I'm afraid you were going to say that. my concluding sentence was intentional, sorting out a simple linear transform in a GPU that has 528 processing cores is abysmally lazy on Nvidia's part, so I will roll it back:/" CreationDate="2011-05-15T02:10:17.240" UserId="7431" />
  <row Id="17737" PostId="13156" Text="The more I read about zsh, the more I like it." CreationDate="2011-05-15T03:34:17.123" UserId="5770" />
  <row Id="17738" PostId="13148" Text="... and the pdf-File? :)" CreationDate="2011-05-15T03:40:22.007" UserId="4485" />
  <row Id="17739" PostId="13143" Text="thanks a lot, but i like simple as kce's answer ^^" CreationDate="2011-05-15T04:05:01.343" UserId="7460" />
  <row Id="17740" PostId="13200" Text="http://stackoverflow.com/questions/1986023/bash-combine-two-arrays" CreationDate="2011-05-13T20:20:38.983" />
  <row Id="17741" PostId="13201" Text="For the first example, something like `$( compgen -o default -- &quot;$cur&quot;)` does what I wanted... see my question edit." CreationDate="2011-05-13T23:26:23.357" UserId="688" />
  <row Id="17742" PostId="13145" Text="Im using yum, but the rpositories dont have as much software as Ubuntu. Somebody needs to tell the Fedora developers to look at the ubuntu software management system....I wanted to install PDFSAM and so other's..." CreationDate="2011-05-15T07:53:21.363" UserId="7467" />
  <row Id="17743" PostId="13203" Text="Typo. you mean to write `ar -t /usr/lib/libc.a`. Actually the `-` doesn't seem to be necessary in this case. Also `/lib/libc.so.6.` just prints some output. I don't know if I would call it a `full fledged program`." CreationDate="2011-05-15T08:09:00.527" UserId="4671" />
  <row Id="17744" PostId="13199" Text="In the `cave import` help, when it says &quot;Import a package from a directory containing its image&quot;, by &quot;its image&quot; does it just mean a collection of files that will comprise the new package?" CreationDate="2011-05-15T08:39:02.980" UserId="4671" />
  <row Id="17745" PostId="13199" Text="@Faheem, yes. For a simple example, if you wanted to install `/usr/bin/foobar`, you could create `/tmp/img/usr/bin/foobar` and then import `/tmp/img`.  The usual method is to use `make install DESTDIR=/tmp/img`. " CreationDate="2011-05-15T09:07:50.107" UserId="2421" />
  <row Id="17746" PostId="13199" Text="@cjm: thanks for the confirmation. I personally would have used different terminology in that help page." CreationDate="2011-05-15T09:28:55.390" UserId="4671" />
  <row Id="17747" PostId="13127" Text="@Gilles I am sure i'm trying everything as a superuser." CreationDate="2011-05-15T10:55:58.083" UserId="7289" />
  <row Id="17748" PostId="13189" Text="Thanks for the input but this repository is meant to install [this](http://pencil.evolus.vn/en-US/Home.aspx) pencil. What I wish to install is [this](http://www.pencil-animation.org/) pencil. I wonder why it isn't available for rpm packages, its available for debian, windows and mac. But is there a way to install and use it on suse? ...except for taking the virtualbox's path." CreationDate="2011-05-15T10:59:46.520" UserId="7289" />
  <row Id="17749" PostId="13207" Score="1" Text="If you want to raise and focus the window, `wmctrl` can do it." CreationDate="2011-05-15T11:19:19.850" UserId="885" />
  <row Id="17751" PostId="13206" Text="As cryptsetup is asking me for the encryption passphrase, is there a way to make it not to and let pam_mount handle this?" CreationDate="2011-05-15T11:26:37.230" UserId="5382" />
  <row Id="17752" PostId="13189" Text="@offengehirn: Sorry about the error. I've linked to the correct softeware this time, I think." CreationDate="2011-05-15T11:52:57.000" UserId="4671" />
  <row Id="17753" PostId="13208" Score="1" Text="possible duplicate of [Where should I put software I compile myself?](http://unix.stackexchange.com/questions/30/where-should-i-put-software-i-compile-myself). I recommend [using stow](http://unix.stackexchange.com/questions/30/where-should-i-put-software-i-compile-myself/85#85)." CreationDate="2011-05-15T12:15:49.070" UserId="885" />
  <row Id="17754" PostId="13206" Text="According to the [HOWTO](http://linux.bononline.nl/linux/pamscript/01/build.html), adding `expose=1` to the pam_script invocation will make the password available to event scripts in the environment variable `PAM_AUTHTOK`.  So you should be able to run `echo $PAM_AUTHTOK | cryptsetup ...` to avoid being asked the password again." CreationDate="2011-05-15T13:15:04.940" UserId="274" />
  <row Id="17755" PostId="13214" Score="11" Text="....you should probably go back and pick answers as the solutions to your previous questions - where applicable - since people will be more likely to desire to help you when your accept rate is above 0.  Just a tip." CreationDate="2011-05-15T13:21:38.697" />
  <row Id="17756" PostId="13215" Text="Thanks a lot for useful information." CreationDate="2011-05-15T13:32:55.083" />
  <row Id="17757" PostId="13047" Text="@Caleb Does this mean that having a line like this instead of the one I posted with my question would be wiser? I have included a space separated alias (etest my hostname) leaving the localhost.localdomain localhost intact. If not, please post an example of what you suggest as the ideal entry to include my machine hostname and have localhost entries in the hosts file." CreationDate="2011-05-15T14:27:14.237" UserId="7318" />
  <row Id="17758" PostId="13047" Score="1" Text="127.0.0.1       localhost.localdomain localhost etest" CreationDate="2011-05-15T14:27:28.167" UserId="7318" />
  <row Id="17759" PostId="6985" Text="Note that this requires GNU grep (Linux, Cygwin, FreeBSD, OSX)." CreationDate="2011-05-15T14:37:10.093" UserId="885" />
  <row Id="17760" PostId="13213" Text="Note that this requires an awk that supports regexp field separators (such as GNU awk)." CreationDate="2011-05-15T14:38:16.787" UserId="885" />
  <row Id="17763" PostId="12274" Text="@php-coder: upvoted. sorry for the long delay, I forgot about this question. If you care to, put in a link about `expr` usage. I don't think I've never used it." CreationDate="2011-05-15T17:03:00.700" UserId="4671" />
  <row Id="17764" PostId="13209" Text="@Alex: is your machine running a mail server locally you can send mail to for forwarding to the outside? I think this is pretty standard for Linux. Often mail servers on desktop machines without static IPs (eg on cable internet) set up their local mail servers to send their mails to a smarthost, and have everything send their mail to the local mail server. Retry is usually automatically done by the smarthost for a period of time, I believe 4 days or so. Of course, you could bypass the local mail server entirely. In any case, `mail` is commonly used for scripts." CreationDate="2011-05-15T17:24:14.003" UserId="4671" />
  <row Id="17765" PostId="13202" Text="Two complaints: 1) I don't like automation of brightness; and more importantly 2) xbacklight won't work for me. This is why I have to interact via setpci directly." CreationDate="2011-05-15T17:27:44.043" UserId="7237" />
  <row Id="17766" PostId="13150" Text="Sounds good. Can you point me in the direction of a good tutorial for NIS or LDAP?  Are there any security concerns w/ either solution(Most of our servers are hosted in the cloud)" CreationDate="2011-05-15T18:40:22.950" UserId="7244" />
  <row Id="17767" PostId="13219" Text="At first sight, that looks as though I first have to generate all the images and then that puts them together.  What I want is a system which will interpolate between a starting and ending position." CreationDate="2011-05-15T18:43:09.717" UserId="6245" />
  <row Id="17768" PostId="13047" Score="1" Text="@Thomas: Your example is just as it should be. Go with that, and if you need to add more aliases for testing (for example with name virtual hosts in apache) you can keep appending them to the line." CreationDate="2011-05-15T20:01:50.783" UserId="1925" />
  <row Id="17769" PostId="8194" Text="Windows may complain about the HDD controller changing. See this [MS knowledgebase article](http://support.microsoft.com/kb/314082) or search for MergeIDE." CreationDate="2011-05-15T20:11:51.567" UserId="3227" />
  <row Id="17770" PostId="6262" Text="Apart from coffee, notice that 'e' and 'r' are not very distant near in the keyboard..." CreationDate="2011-05-15T21:13:40.657" UserId="3647" />
  <row Id="17771" PostId="13003" Text="I'm not typing the plus &quot;+&quot; key..... I tried to explain the keystrokes eg: &quot;'&quot; + &quot;a&quot; = &quot;á&quot; understand it now?" CreationDate="2011-05-15T23:27:40.803" UserId="7048" />
  <row Id="17772" PostId="13150" Score="1" Text="Ah, well that's different. NIS is not secure since it sends passwords in the clear. It is used on secure, or private networks. you might be better off using LDAP over SSL (ldaps) in that case.  " CreationDate="2011-05-16T02:11:42.187" UserId="3082" />
  <row Id="17775" PostId="13202" Text="if xbacklight doesn't work for you, why not file a bug?" CreationDate="2011-05-16T04:05:49.710" UserId="1952" />
  <row Id="17776" PostId="3266" Text="To clarify (since it's not explicitly stated here either way) Terminal.app doesn't support xterm256 mode, whereas iTerm and iTerm2 do. (I'd also strongly recommend iTerm2 as your go to Terminal app on OS X.)" CreationDate="2011-05-16T04:19:51.110" UserId="1335" />
  <row Id="17777" PostId="13238" Text="@Shawn J. Goff What about the Subnet Mask?" CreationDate="2011-05-16T04:45:05.480" UserId="7318" />
  <row Id="17778" PostId="13239" Text="My reasoning here is that it would be logically possible to do this but it wouldn't be all that easy to figure out. Would it not just be a *very* long game of trial and error? I'm interested to know if it is indeed possible." CreationDate="2011-05-16T05:55:55.243" UserId="5770" />
  <row Id="17779" PostId="13003" Text="@Andre: Ah, I get it. It wasn't clear at all in your original post, lacking both the formatting (kind of hard to find in the documentation, I admit) and the standard terminology “dead keys”." CreationDate="2011-05-16T06:40:43.647" UserId="885" />
  <row Id="17780" PostId="13238" Score="1" Text="`/16` is shorthand for `netmask 255.255.0.0` -- see http://en.wikipedia.org/wiki/CIDR_notation" CreationDate="2011-05-16T06:49:01.910" UserId="4949" />
  <row Id="17781" PostId="13238" Score="1" Text="However, the commands Shawn shows here will only change the settings until you restart the system. Unfortunately, redhat and CentOS seem to be big believers in not allowing its users to see the system innards -- http://www.centos.org/docs/5/html/5.2/Deployment_Guide/ch-network-config.html doesn't say word frickin' *one* about the config file syntax or even where said config file is *kept*. Fail." CreationDate="2011-05-16T06:56:53.920" UserId="4949" />
  <row Id="17782" PostId="13238" Text="What? I need the IP settings to stick inspite of a restart. How do I do that? " CreationDate="2011-05-16T07:00:43.230" UserId="7318" />
  <row Id="17783" PostId="13239" Text="This doesn't really have anything to do with `md5sum` itself; it'll probably do better on a site like [Security](http://security.stackexchange.com)" CreationDate="2011-05-16T07:05:06.007" UserId="73" />
  <row Id="17784" PostId="13202" Text="It's due to the kernel settings, I think..." CreationDate="2011-05-16T07:24:25.403" UserId="7237" />
  <row Id="17785" PostId="13163" Text="It still says: &quot;/home/user/.ies4linux/downloads/ie6/HU/SETUPW95.CAB: WARNING; possible 6968 extra bytes at end of file.&quot; - after installing winetricks - so the solution is that it doesn't works. :\" CreationDate="2011-05-16T07:45:00.113" UserId="6960" />
  <row Id="17786" PostId="13163" Text="no no you just after winetricks installation just type winetricks press &quot;enter&quot; after you will see windows and you can select whatever you need it &#xA;&#xA;Thanks .." CreationDate="2011-05-16T07:46:46.367" UserId="7481" />
  <row Id="17787" PostId="12496" Text="You should submit your patch to maintainer so this can be evaluated for inclusion. Good work." CreationDate="2011-05-16T08:36:26.993" UserId="7136" />
  <row Id="17788" PostId="974" Text="Another point: #!/bin/bash will not constrain which version of Bash you were using and there are some incompatibilities from one version to another, although the worst were introduced a long time ago with v2.  I don't know of any incompatibilities between versions in POSIX compatibility mode." CreationDate="2011-05-16T09:36:48.630" UserId="5197" />
  <row Id="17789" PostId="13249" Text="http://www.immunityinc.com/resellers.shtml has a email address you can send questions to." CreationDate="2011-05-16T09:51:40.050" UserId="5842" />
  <row Id="17790" PostId="13214" Text="question, maybe you could put those files into a sql database instead? " CreationDate="2011-05-16T10:43:15.077" UserId="2567" />
  <row Id="17791" PostId="13032" Text="@tbleckert: within add/remove software-&gt;file-&gt;software sources you can only *select* which software repositories you intend to use (beware fiddling too much with repositories as you could generate orphans or maybe a dependecies hell). To add a repo you can start by installing the setup rpm from the repository website (ie. http://www.rpmfusion.org/) or editing or creating by hand the files under /etc/yum.repos.d (youll need to be root)." CreationDate="2011-05-16T11:05:34.380" UserId="4142" />
  <row Id="17792" PostId="10650" Text="+1 For a new powerful tool. I used to `while true; do X; sleep Y; done` - This is way better." CreationDate="2011-05-16T11:14:16.227" UserId="1079" />
  <row Id="17793" PostId="13259" Text="Thanks, it works like a charm for vim." CreationDate="2011-05-16T11:39:23.753" UserId="7477" />
  <row Id="17794" PostId="13258" Text="possible duplicate of [Overriding the shade of color displayed](http://unix.stackexchange.com/questions/10712/overriding-the-shade-of-color-displayed)" CreationDate="2011-05-16T11:43:29.317" UserId="885" />
  <row Id="17795" PostId="13260" Text="possible duplicate of [Bash Script on Startup? (Linux)](http://unix.stackexchange.com/questions/7793/bash-script-on-startup-linux); see also [Create services in Linux (Start up in linux)](http://unix.stackexchange.com/questions/1924/create-services-in-linux-start-up-in-linux)" CreationDate="2011-05-16T11:44:57.257" UserId="885" />
  <row Id="17796" PostId="13261" Text="Thanks, perfectly working for ls." CreationDate="2011-05-16T11:52:53.227" UserId="7477" />
  <row Id="17798" PostId="13207" Text="How &quot;intelligent&quot; is the KDE shortcut method? eg. How does it handle multiple windows of the same application? There are several X tools which working singly or together can do what you want.. But which ones you use can depends on how sophisticated you want to make it." CreationDate="2011-05-16T12:27:47.287" UserId="2343" />
  <row Id="17799" PostId="13245" Text="See: http://unix.stackexchange.com/questions/4573/which-gui-diff-viewer-would-you-recommend" CreationDate="2011-05-16T12:49:39.810" UserId="1946" />
  <row Id="17800" PostId="13234" Text="@boehj - thanks for the suggestion.  I think I intentionally purged the idea of running rm -f as root from my brain for my own good but unfortunately it didn't work it still gives me the Read-only file system error" CreationDate="2011-05-16T13:06:45.227" UserId="6234" />
  <row Id="17801" PostId="13242" Text="@Gilles thanks for the suggestion.  It appeared to remount as rw but it still didn't allow me to remove it...  even with rm -f as root.  " CreationDate="2011-05-16T13:09:25.070" UserId="6234" />
  <row Id="17802" PostId="13237" Text="@Johan, thanks for the suggestion.  Mounting as rw alone doesn't work - it looks like I may have to go with your second suggestion to just remake the file system.  " CreationDate="2011-05-16T13:17:46.063" UserId="6234" />
  <row Id="17803" PostId="13242" Text="@Kenny - When the say read-only they really mean it eh?" CreationDate="2011-05-16T13:19:53.440" UserId="5770" />
  <row Id="17804" PostId="13242" Text="@boehj - seriously! I am glad I didn't have anything else on that USB so I could just go with the nuclear option." CreationDate="2011-05-16T13:30:38.867" UserId="6234" />
  <row Id="17805" PostId="13258" Text="The other thing you can do is change the colors themselves. None of the colors (even the 'dark' ones) are supposed to be unreadable on a black background. If you could specify what terminal you are using, more information could be provided if the linked question doesn't already help with this." CreationDate="2011-05-16T13:35:44.310" UserId="6290" />
  <row Id="17806" PostId="13262" Text="This is for Debian and Debian-derived distributions such as Ubuntu.  Other distros might be different." CreationDate="2011-05-16T13:40:09.687" UserId="3389" />
  <row Id="17807" PostId="13225" Text="Did you try just wiping out the filesystem via format?" CreationDate="2011-05-15T22:38:30.447" UserId="1879" />
  <row Id="17808" PostId="13262" Score="1" Text="It works on CentOS/RHEL as well." CreationDate="2011-05-16T14:00:13.173" UserId="3447" />
  <row Id="17809" PostId="13262" Text="Thanks, didn't know that." CreationDate="2011-05-16T14:02:07.383" UserId="3389" />
  <row Id="17810" PostId="13225" Text="@ennuikiller - that is what I ultimately had to do.  I was trying to see if there was a more subtle or elegant way of doing it in an effort to better understand what was going on.  In the end that was all that worked though." CreationDate="2011-05-16T14:05:06.790" UserId="6234" />
  <row Id="17811" PostId="13247" Text="For another data point that shows &quot;uptime&quot;, take a look at Michal Zalewski's p0f (http://lcamtuf.coredump.cx/p0f.shtml).  It's a passive scanner that takes relatively good guesses at the OS that generated various TCP connections. It includes &quot;uptime&quot; when it finds a Linux-generated SYN packet." CreationDate="2011-05-16T14:37:49.403" UserId="732" />
  <row Id="17812" PostId="13245" Text="Are you just looking for any diff tool, or is there something specific about that screenshot you want?" CreationDate="2011-05-16T14:59:13.707" UserId="73" />
  <row Id="17813" PostId="13245" Text="The imageshack domain is blocked here. Perhaps use SE's 'native' image site, imgur.com? " CreationDate="2011-05-16T15:01:57.120" UserId="4671" />
  <row Id="17814" PostId="13263" Text="Perhaps summarize content in case the above links disappear?" CreationDate="2011-05-16T15:04:36.060" UserId="4671" />
  <row Id="17815" PostId="13127" Text="Try running the installer with `-x` (i.e., change the `#!` line to append `-x`, or run `sudo &lt;shell&gt; -x pencil.sh`. It should tell you everything it's doing, so you can see what it's trying to do when the error comes up. Then you can correct the error and try again, rinse, repeat." CreationDate="2011-05-16T15:44:38.430" UserId="3309" />
  <row Id="17816" PostId="13269" Text="Like I said, I didn't spend long ;-). This is much better, but I would enhance it with `PAGER=&quot;less -d&quot; TERM=dumb man ping`." CreationDate="2011-05-16T15:47:31.050" UserId="3309" />
  <row Id="17817" PostId="13203" Text="Thanks for the typo pointer." CreationDate="2011-05-16T16:04:07.073" UserId="7503" />
  <row Id="17818" PostId="13203" Text="It's a full fledged program in the sense that it has a main symbol for exec to find." CreationDate="2011-05-16T16:05:39.037" UserId="7503" />
  <row Id="17819" PostId="13263" Text="@Lmwangi: So, what's the syntax to disable IPv6 for a particular name, or at least for a particular address (range)? If you add that to your post, it'll be the best answer here." CreationDate="2011-05-16T16:16:10.100" UserId="885" />
  <row Id="17821" PostId="11211" Text="@forcefsck Why does dev tun create tun0, tun1, etc... but dev tun0 does not create tun01 tun02 ? Does the configuration look for dev _stringWithoutIntegerSuffix_ and then create dynamic devices?" CreationDate="2011-05-16T17:02:14.117" UserId="6540" />
  <row Id="17823" PostId="12366" Text="Which stick do you have? Which version of ubuntu do you use? Maybe AU would be a better place to ask. " CreationDate="2011-05-16T18:08:54.073" UserId="4485" />
  <row Id="17824" PostId="12366" Text="Added details to update 2 in original question above." CreationDate="2011-05-16T18:12:44.463" UserId="4430" />
  <row Id="17825" PostId="13275" Score="3" Text="If you want to keep a local mail folder and your IMAP/Gmail account in sync, you might want to have a look at [offlineimap](http://offlineimap.org) instead" CreationDate="2011-05-16T18:26:06.383" UserId="274" />
  <row Id="17826" PostId="13188" Text="Wow, that's great! In you opinion, would that encrypted directory be safe to upload to a remote backup location?" CreationDate="2011-05-16T18:56:51.913" UserId="3558" />
  <row Id="17827" PostId="13188" Text="I connect to most things via SFTP/SCP, but some clients' production servers are FTP only." CreationDate="2011-05-16T18:57:49.010" UserId="3558" />
  <row Id="17828" PostId="13188" Score="1" Text="@mattalexx: Yes, you can back up the encrypted directory. Of course, make sure your password is strong enough to withstand brute force attacks." CreationDate="2011-05-16T19:07:43.637" UserId="885" />
  <row Id="17829" PostId="13276" Score="1" Text="I'm not sure if this of interest, but [iftop](http://www.ex-parrot.com/~pdw/iftop/) shows bandwidth usage." CreationDate="2011-05-16T19:19:18.597" UserId="4671" />
  <row Id="17830" PostId="13285" Text="Thanks for the answer! Unfortunately, this just outputs the &quot;Invalid argument&quot; error message for all five usb devices." CreationDate="2011-05-16T19:57:01.183" UserId="5683" />
  <row Id="17831" PostId="13282" Text="+1 for the version control, even thou I must say that the simplicity and predictability behind the centralised model makes it hard to say that git is &quot;always better&quot; than svn. Sometimes easy and predictable is the better choice..." CreationDate="2011-05-16T20:04:09.200" UserId="2567" />
  <row Id="17832" PostId="13285" Text="Hmm. That makes it seem like the usb ports don't accept that command. Which kernel are you running? (uname -r)" CreationDate="2011-05-16T20:10:56.307" UserId="7503" />
  <row Id="17833" PostId="13282" Text="I didn't say it was &quot;always better&quot;. In fact I sometimes still choose subversion over git. What I did say was that given the case of initially thinking you wanted directory synchronization, chances are git is going to be a more appropriate choice." CreationDate="2011-05-16T20:12:11.093" UserId="1925" />
  <row Id="17834" PostId="12370" Text="I don't know why I switched to Mediawiki. Sorry for that!&#xA;I &quot;changed directory&quot; because most of the time you spare quite a lot of time in the directory of such an application. You will have to configure it, and hence loose a lot of time if you had to rewrite for this.&#xA;I like the concepts of tabs as well (or many ttyS), one for each task." CreationDate="2011-05-16T20:23:04.860" UserId="7098" />
  <row Id="17835" PostId="13282" Score="1" Text="This case is very much about taste, since both git and svn will do the work quite well. But Torvalds has a nice speak on this topic http://www.youtube.com/watch?v=4XpnKHJAok8 he is a little bias thou.. :)" CreationDate="2011-05-16T20:24:46.913" UserId="2567" />
  <row Id="17836" PostId="13285" Text="I am running 2.6.38-8-generic-pae. I've read somewhere that the &quot;suspend&quot; feature was disabled for this kernel." CreationDate="2011-05-16T20:29:31.047" UserId="5683" />
  <row Id="17837" PostId="13247" Text="What would it change to you if a server had run for 3 years or 1 hour?&#xA;If you need this information for your own hardware, look for monitoring solutions." CreationDate="2011-05-16T20:32:27.643" UserId="7098" />
  <row Id="17838" PostId="13285" Text="I wonder if the ports would turn off if you unloaded the device driver. Kind of drastic, but..." CreationDate="2011-05-16T20:32:33.667" UserId="7503" />
  <row Id="17839" PostId="13287" Text="Thanks for the answer. The power strip seems to work only by detecting the +5V - it does not seem to have any logic inside. Also, the `lsusb` does not show the power strip. I was fearing that something like this might be the case. I thought it may be possible to control other electrical devices by shutting down the voltage for the power strip USB. Perhaps there is a controllable usb-switch that can be bought somewhere, hm..." CreationDate="2011-05-16T20:33:03.337" UserId="5683" />
  <row Id="17840" PostId="13285" Text="Is it possible to load/unload the device driver for the usb dynamically, without rebooting? Is there a way to do it on a per-port basis?" CreationDate="2011-05-16T20:34:13.087" UserId="5683" />
  <row Id="17841" PostId="13280" Score="3" Text="There's an unwarranted assumption behind the way you frame your question. Directory synchronization (“folder” is the Windows name for directory) is performed by any number of applications, not by a specific system component. So you won't find it amongst directory properties but amongst application lists." CreationDate="2011-05-16T20:45:18.477" UserId="885" />
  <row Id="17842" PostId="13286" Text="Just to be clear, are you running Linux both as host and guest?" CreationDate="2011-05-16T20:46:45.837" UserId="885" />
  <row Id="17843" PostId="13292" Text="I thought about that, but my embedded kernel doesn't support networking- yet." CreationDate="2011-05-16T21:08:24.140" UserId="7278" />
  <row Id="17844" PostId="13286" Text="Yes (and i need more chars)" CreationDate="2011-05-16T21:08:57.433" UserId="7278" />
  <row Id="17845" PostId="13292" Text="@tMC: Well then, what filesystem drivers are included in your embedded kernel? Whatever you end up using will have to have a kernel driver in the guest." CreationDate="2011-05-16T21:11:08.703" UserId="885" />
  <row Id="17846" PostId="13292" Text="currently just the ext filesystems currently.  I didn't know if there was a way to abstract the disk with some KVM fs driver or the like.  The current design doesn't call for NFS in the VM, so if i add it, it would have to be a specific 'development build' " CreationDate="2011-05-16T21:16:45.333" UserId="7278" />
  <row Id="17847" PostId="13276" Text="@Faheem Mitha, if your comment was an answer I'd upvote it! *hint hint*" CreationDate="2011-05-16T21:25:30.360" UserId="7136" />
  <row Id="17849" PostId="13276" Text="@kce: Have at it. :-)" CreationDate="2011-05-16T21:29:16.523" UserId="4671" />
  <row Id="17850" PostId="13292" Score="1" Text="@tMC: The ext* filesystem drivers expect to have exclusive control over the underlying image. So it seems that you will have to do a specific development build if you want to use the same mounted hierarchy on both machines simultaneously." CreationDate="2011-05-16T21:30:02.493" UserId="885" />
  <row Id="17851" PostId="13276" Text="See also [How to test Internet connection speed from command line?](http://stackoverflow.com/questions/426272/how-to-test-internet-connection-speed-from-command-line) (only covers download; for upload you'll need some server's cooperation)." CreationDate="2011-05-16T21:33:17.887" UserId="885" />
  <row Id="17852" PostId="4689" Text="I worked in a place where this policy was mandated for about 50 machines and the IP addresses were &quot;managed&quot; with a spreadsheet. I can't even being to describe what a clusterf*ck it was. ++ msm for giving The Right Answer." CreationDate="2011-05-16T21:43:04.597" UserId="7136" />
  <row Id="17853" PostId="12581" Text="Thanks that works! The command above should be `xdotool key ctrl+alt+Left` though. " CreationDate="2011-05-16T22:45:52.200" UserId="7011" />
  <row Id="17854" PostId="13292" Text="@tMC: It occurs to me that the best solution for you is probably an initramfs. (And if you'd considered it and were looking for something more convenient, well, I don't think there is, given your requirements.)" CreationDate="2011-05-16T23:15:07.270" UserId="885" />
  <row Id="17855" PostId="13292" Text="awesome- thanks for all your input!" CreationDate="2011-05-16T23:47:39.550" UserId="7278" />
  <row Id="17856" PostId="13297" Score="2" Text="I know some people are going to crucify me for this I'm about to say: I think the choice of &quot;plain&quot; C as the programming language for this project has complicated things a lot. I know that everybody wants a fast library, but IMHO I prefer an _existing_ yet not-so-fast one than an inexistent fast one. I would have voted for Python. Now let the nails come!" CreationDate="2011-05-17T00:03:59.780" UserId="6789" />
  <row Id="17857" PostId="13238" Text="@Thomas: Try echoing that to /etc/resolv.conf.head instead. " CreationDate="2011-05-17T00:20:09.367" UserId="4398" />
  <row Id="17858" PostId="13150" Text="Thanks @Keith, i'll look into LDAPS.  accepted!" CreationDate="2011-05-17T00:51:12.147" UserId="7244" />
  <row Id="17859" PostId="13203" Score="1" Text="You can also run `ldd` on .so's, and it will show you what other libraries it uses.  Static will return with a message saying it's not a dynamic library." CreationDate="2011-05-17T01:06:35.143" UserId="434" />
  <row Id="17860" PostId="13306" Score="2" Text="This not work for files with spaces in names." CreationDate="2011-05-17T04:23:34.563" UserId="6988" />
  <row Id="17861" PostId="2520" Text="@Keymon Do you mean, that you want to see what makes up the memory used by system? Like &quot;kernel subsystem x: n bytes, kernel subsystem y: m bytes&quot;?" CreationDate="2011-05-17T04:39:32.943" UserId="7374" />
  <row Id="17862" PostId="12036" Text="@Gilles - I finally got the solution. I needed your 2 options plus removing ALWAYS_LAST_PROMPT. So this gives me the elusive behavior I wanted: setopt bash_auto_list;&#xA;setopt no_auto_menu;&#xA;unsetopt ALWAYS_LAST_PROMPT;  Once again, thank you for helping me out with this. I appreciate your persistence" CreationDate="2011-05-17T05:33:15.537" UserId="7000" />
  <row Id="17863" PostId="13297" Text="@Sergio: Actually, I'd be inclined to agree with you, but... Were they perhaps concerned about stability? Python isn't exactly static, and they'd eventually have to worry about making their code work with Python 3. I don't know if speed is so much the issue. Could they not have written just the hot-spots in C?" CreationDate="2011-05-17T06:42:45.683" UserId="4671" />
  <row Id="17864" PostId="13298" Text="yeah, that's a very similar use case to the one I had in mind, thanks!" CreationDate="2011-05-17T07:24:23.793" UserId="5454" />
  <row Id="17865" PostId="13246" Text="brilliant, thank you.  I couldn't find a proper example of that syntax.  Now that you spell it out for me, I can see how I should have worked that out from the `man` page, and I feel slightly foolish.  No doubt this answer will help others, too, though." CreationDate="2011-05-17T07:26:23.387" UserId="5454" />
  <row Id="17866" PostId="13299" Score="1" Text="I had no idea that's how firmware is classified until today. Cheers." CreationDate="2011-05-17T07:53:08.117" UserId="5770" />
  <row Id="17867" PostId="11211" Text="@Realn0whereman, yes, `dev tun` is interpreted as _dynamically create a tun device with the first available suffix_. `dev tun0` is interpreted as _create tun0_. You will find out that, generally, devices don't have a zero padded suffix. So, is `tun11` the second of the second tun or the eleventh?" CreationDate="2011-05-17T08:02:19.437" UserId="5666" />
  <row Id="17868" PostId="13246" Text="@simon: Don't feel foolish, I too find the syntax description in the `sudoers` man page hard to work out from the formal description and the examples easier to locate if you already know how to write them." CreationDate="2011-05-17T08:19:33.757" UserId="885" />
  <row Id="17869" PostId="10043" Text="Note the minus sign: `find . -mmin -5`" CreationDate="2011-05-17T08:32:13.433" UserId="7543" />
  <row Id="17870" PostId="13315" Text="Sounds similar to `btrfs`." CreationDate="2011-05-17T09:27:56.897" UserId="1262" />
  <row Id="17871" PostId="13246" Text="hmm - perhaps I spoke to soon.  Now that I try this, I can't actually get it to work.  Can I trouble you to take a look at my revision?" CreationDate="2011-05-17T09:46:05.627" UserId="5454" />
  <row Id="17872" PostId="13298" Text="do you have any idea why the examples in my revision don't seem to work?" CreationDate="2011-05-17T09:46:48.327" UserId="5454" />
  <row Id="17873" PostId="13308" Text="Does this really take only arguments that returned a success code from the first exec and run them in the second or does it just run the full argument list through both execs?" CreationDate="2011-05-17T09:54:33.377" UserId="1925" />
  <row Id="17874" PostId="13207" Text="@Gilles, thanks for the clue, wmctrl did the trick&#xA;@fred the KDE shortcut method works only for single windows, but thats good enough for me, coz I only use single windows for firefox, thunderbird etc." CreationDate="2011-05-17T09:59:14.730" UserId="7505" />
  <row Id="17875" PostId="12947" Text="bounty:at least can someone tell, that is there a site where I can see what are the exact commands that smitty uses? e.g.: what commands smitty tells if I press F6" CreationDate="2011-05-17T10:52:15.340" UserId="6960" />
  <row Id="17876" PostId="1404" Text="Speaking of shell built-ins, you should be using &quot;type&quot; instead of &quot;which&quot;." CreationDate="2011-05-17T10:54:09.607" UserId="7030" />
  <row Id="17877" PostId="13238" Text="@Reid He's at least as concerned about the IP address and netmask as he is about the DNS settings." CreationDate="2011-05-17T10:56:46.530" UserId="4949" />
  <row Id="17879" PostId="13246" Text="@simon: My guess is that you also have an entry that lets you do everything and doesn't have that `env_keep` setting (`simon ALL = ALL`). Sudo uses the *last* matching entry." CreationDate="2011-05-17T11:17:01.937" UserId="885" />
  <row Id="17881" PostId="13317" Text="@Gilles Its an open source script, not upto me to release it or not, i thought its just too long a solution to be posted here. Will update my answers with more details" CreationDate="2011-05-17T11:27:50.067" UserId="7505" />
  <row Id="17882" PostId="13319" Text="Well, your words are wise. Unfortunately, I'm far from C++ and kernel dev. I can make some research and answer some questions, but there's nobody to ask these questions. I'm not the one running into this problem, I saw old tickets (may be a year old) with some patches etc., but the problem is still in fresh builds." CreationDate="2011-05-17T11:31:00.583" UserId="7545" />
  <row Id="17883" PostId="13319" Text="But yes, after some additional research I see there are no more mature distros available for embedded systems. And I'm ready to build something prepared, but not ready to compose a distro on my own." CreationDate="2011-05-17T11:32:12.000" UserId="7545" />
  <row Id="17884" PostId="13308" Text="@Caleb: Yes, `-exec` is true iff the command returns 0, and the `find` boolean operators short-circuit." CreationDate="2011-05-17T11:40:03.757" UserId="885" />
  <row Id="17885" PostId="13328" Text="thanks it worked" CreationDate="2011-05-17T11:41:17.553" UserId="7547" />
  <row Id="17886" PostId="13317" Text="there should be a gnome3 native way of implementing this using libbamf library I think." CreationDate="2011-05-17T11:46:17.323" UserId="7505" />
  <row Id="17888" PostId="13319" Text="I wouldn't expect you to jump in doing kernel level C++ programming. That's why I suggested helping other users at whatever level you can in an effort to add weight to your plea for some dev to help address the outstanding more technical issue." CreationDate="2011-05-17T11:48:30.080" UserId="1925" />
  <row Id="17889" PostId="900" Text="IIUC, rdiff-backup is more attractive, for it allows one to browse the backup normally, while duplicity only has an old copy." CreationDate="2011-05-17T13:41:37.553" UserId="688" />
  <row Id="17890" PostId="13333" Text="What about `nodiratime`?" CreationDate="2011-05-17T13:48:24.163" UserId="1262" />
  <row Id="17892" PostId="11061" Text="I think it's &quot;yum.conf&quot;, not &quot;yum.comf&quot;" CreationDate="2011-05-17T06:26:07.913" UserId="7538" />
  <row Id="17895" PostId="13337" Text="Props for using a variable instead of a temp file. This got me thinking about where the exit code goes from the command that you did the variable assignment with, and apparently it gets passed on! See my [updated answer](http://unix.stackexchange.com/questions/13326/how-to-pipe-output-from-one-process-to-another-but-only-execute-if-the-first-has/13328#13328)." CreationDate="2011-05-17T14:54:57.613" UserId="1925" />
  <row Id="17896" PostId="13328" Score="1" Text="the power of collaboration!!" CreationDate="2011-05-17T15:10:20.703" UserId="4667" />
  <row Id="17897" PostId="13341" Score="1" Text="The mail program on my GNU Linux system (Heirloom mailx 12.4) does not behave this way by default, but does have [a `-E` option to enable it](http://unix.stackexchange.com/questions/13326/how-to-pipe-output-from-one-process-to-another-but-only-execute-if-the-first-has/13328#13328)." CreationDate="2011-05-17T15:19:18.793" UserId="1925" />
  <row Id="17898" PostId="13297" Text="@Faheem: This is certainly an issue, although I think Python is pretty stable right now. Many projects are perfectly OK with pre 3.0 python. I agree with you that C doesn't change a lot these days. I still stick to my previous opinion on this." CreationDate="2011-05-17T15:29:35.787" UserId="6789" />
  <row Id="17899" PostId="13333" Text="@Elazar Leibovich - 'noatime' implies 'nodirtime'. If your question was in regards to the value of the latter over the former then certainly exempting directories from atime is better than nothing, but obviously the benefit will be less when compared to the former." CreationDate="2011-05-17T15:33:57.427" UserId="2701" />
  <row Id="17900" PostId="12465" Text="@pdo- sorry for the really late reply(i was AFK for a really long time) but its NTFS" CreationDate="2011-05-17T16:01:57.507" UserId="3496" />
  <row Id="17901" PostId="5610" Text="+1. I had not idea, but had a similar problem with the id command.  " CreationDate="2011-05-17T16:11:33.423" UserId="6708" />
  <row Id="17902" PostId="13343" Score="3" Text="Is this grub legacy or grub 2? Googling suggests this probably a bios problem. Can you list your current setting assocated with USB? Is there any setting like &quot;enable IRQ for USB&quot;? " CreationDate="2011-05-17T16:17:54.697" UserId="4671" />
  <row Id="17903" PostId="13278" Text="Please see update 3.  I don't know which part of that info is the vendor string which which part is the product id." CreationDate="2011-05-17T16:52:10.463" UserId="4430" />
  <row Id="17904" PostId="13240" Score="1" Text="Instead of trying to get nano run through sudo to use the same config file, use `sudoedit` instead. `sudoedit` will run copy the contents of a file to a tmp file and run the editor of your choice as your user, when the editor exits it will check if you changed anything and if so replace the original with the edited one. You can select which editor you want it to run by setting the `$EDITOR` or $VISUAL` env vars." CreationDate="2011-05-17T17:31:56.747" UserId="3459" />
  <row Id="17905" PostId="1404" Text="Thanks @Teddy. I've started doing that, when I remember. Life is much better thanks to `type`." CreationDate="2011-05-17T17:33:14.843" UserId="4" />
  <row Id="17906" PostId="13298" Text="@simon sudo is very picky about the order of entries in its config, later entries will overwrite previous ones. There could be some conflict like that in your config." CreationDate="2011-05-17T17:35:21.613" UserId="3459" />
  <row Id="17907" PostId="13263" Text="Thanks, this worked." CreationDate="2011-05-17T17:41:10.020" UserId="4949" />
  <row Id="17908" PostId="13285" Text="You can unload kernel modules with modprobe -r &lt;name-of-driver&gt;, as root. Per port, no." CreationDate="2011-05-17T17:44:19.993" UserId="7503" />
  <row Id="17909" PostId="13285" Text="Ok, thanks a lot for the answer!" CreationDate="2011-05-17T17:48:40.550" UserId="5683" />
  <row Id="17910" PostId="1663" Text="The percentage of free software which is protected by GNU General Public License and GNU Lesser General Public License is more than 50% of all free software. The precise number differs depending on whether you measure by lines of code or by number of projects. See for example http://www.blackducksoftware.com/oss/licenses" CreationDate="2011-05-17T18:32:42.787" UserId="2972" />
  <row Id="17911" PostId="13349" Text="What does it mean to &quot;copy a difference&quot;?" CreationDate="2011-05-17T18:35:43.040" UserId="2421" />
  <row Id="17912" PostId="13347" Score="1" Text="Could you run a virtual machine (say using VirtualBox) on your windows machine and do the downloading there? Meaning call `yum update`? You can probably copy the downloaded files there to your offline Fedora box. I'm not familar with how yum does it, but usually these package managers have a small list of files where they cache information." CreationDate="2011-05-17T19:39:37.780" UserId="4671" />
  <row Id="17913" PostId="13352" Text="That's brilliant.  Thanks!" CreationDate="2011-05-17T19:49:48.170" UserId="5840" />
  <row Id="17914" PostId="13308" Text="@gilles Thanks for fixing that." CreationDate="2011-05-17T19:55:34.150" UserId="3082" />
  <row Id="17915" PostId="13278" Text="@oshiro Replace the &quot;&lt;VENDID&gt;&quot; with &quot;19d2&quot;, and &quot;&lt;DRIVECODE&gt;&quot; with &quot;0031&quot;. But that might not still work since that looks like the modem. Some devices have multiple endpoints and we'll have to specify the particular endpoint for the storage function." CreationDate="2011-05-17T19:59:50.480" UserId="3082" />
  <row Id="17916" PostId="13355" Score="1" Text="Is this a Fedora or an Ubuntu machine?" CreationDate="2011-05-17T01:47:12.393" UserId="39" />
  <row Id="17917" PostId="13355" Text="This is a Fedora install, so, due to my lack of Linux understanding I posted in the wrong forum.  oops, sorry" CreationDate="2011-05-17T19:37:58.607" />
  <row Id="17918" PostId="13349" Text="I don't understand what you're trying to do. `diff -r` (or variations) gives you the differences already. What are you trying to do with them?" CreationDate="2011-05-17T20:20:35.570" UserId="885" />
  <row Id="17919" PostId="13339" Text="Note that `export` is a built-in command, not a keyword nor a syntactic assignment. So if you have `PATH` elements containing whitespace (or glob characters), you do need double quotes around `export PATH=&quot;$PATH:B&quot;`. You could also write `PATH=$PATH:B` and so on; you only need to `export` a variable once, not every time it changes (except in some very old Bourne shells), and you don't need the double quotes in an assignment." CreationDate="2011-05-17T20:37:46.337" UserId="885" />
  <row Id="17920" PostId="13359" Text="Caleb beat you to it." CreationDate="2011-05-17T20:48:34.297" UserId="885" />
  <row Id="17922" PostId="13359" Text="He only beat me by 4.75 hours :). I missed this detail in his lengthy answer." CreationDate="2011-05-17T20:53:14.567" UserId="4" />
  <row Id="17923" PostId="11535" Text="That looks very handy" CreationDate="2011-05-17T21:27:25.957" UserId="4671" />
  <row Id="17924" PostId="5313" Text="Note that you'll have to add 'set t_vb=' to your .gvimrc as well if you're using gvim." CreationDate="2011-05-18T00:17:37.973" UserId="7561" />
  <row Id="17925" PostId="612" Text="If nothing changed, blame wear and tear (cables)." CreationDate="2011-05-18T01:17:31.887" UserId="7351" />
  <row Id="17926" PostId="13240" Text="@Arrowmaster -- thanks, that seems like a better approach than the one I was messing around with.  Since I'm already wrapping `sudo` with a function of my own, I've simply added a `if [ &quot;$1&quot; == &quot;$EDITOR&quot; ]; then` block and am now calling `sudoedit` instead :)" CreationDate="2011-05-18T02:21:17.550" UserId="5454" />
  <row Id="17928" PostId="9202" Text="You do not need (and, in fact, probably do not want) to use positional parameters in the definition of an alias. Consider how `alias foo='echo bar $*'` expands in `set quux; foo baz`. If you want to use the positional parameters, try it as a shell function: `myedit() { emacsclient … &quot;$@&quot;; }`" CreationDate="2011-05-18T05:08:07.797" UserId="1107" />
  <row Id="17929" PostId="9373" Text="Thanks; I corrected my answer." CreationDate="2011-05-18T07:27:58.797" UserId="2729" />
  <row Id="17930" PostId="1080" Text="That's a lot of RAM." CreationDate="2011-05-18T08:55:17.737" UserId="688" />
  <row Id="17931" PostId="13361" Text="Thanks for the additional information!" CreationDate="2011-05-18T08:59:50.137" UserId="475" />
  <row Id="17932" PostId="13278" Text="So wouldn't this be better done with usb_modeswitch?" CreationDate="2011-05-18T09:10:47.247" UserId="4430" />
  <row Id="17933" PostId="1131" Text="What's the output of getaddrinfo(3)?" CreationDate="2011-05-18T09:16:18.960" UserId="6961" />
  <row Id="17934" PostId="1127" Text="Might get more answers at http://askubuntu.com" CreationDate="2011-05-18T10:43:07.617" UserId="4667" />
  <row Id="17935" PostId="1078" Text="I've had quite a few issues where my `dm-encrypt`ed drives have lost power and/or there was an issue requiring me to hard reboot suddenly.  After `luksOpen` you just run `fsck` as if " CreationDate="2011-05-18T11:07:01.273" UserId="3389" />
  <row Id="17936" PostId="13375" Text="He already has sendmail which also supports smart hosts, aliases and authentication." CreationDate="2011-05-18T11:48:29.317" UserId="7351" />
  <row Id="17937" PostId="13278" Text="If his is the kind of device that does that. It's worth a try. I haven't used that product myself." CreationDate="2011-05-18T11:57:22.230" UserId="3082" />
  <row Id="17938" PostId="768" Text="@Kevin (sorry, can't post notes yet): Quartz or Core Graphics is the drawing and windowing system in OS X (replacing QuickDraw). Core Graphics is one part of Cocoa (Cocoa as a whole being more comparable to the entire Win32 API, rather than GDI, Direct2D or X)" CreationDate="2010-08-21T21:57:14.827" UserId="221" />
  <row Id="17939" PostId="13328" Text="I would suggest this answer could be made better by moving the *best* solution up to the top." CreationDate="2011-05-18T13:16:10.570" UserId="6403" />
  <row Id="17940" PostId="13358" Text="+1 for ridiculous but possibly useful in another scenario :) Out of curiosity, why inject and test for the dot instead of testing for an empty string? Doesn't that introduce a problem if the input starts with a dot? Could using `read` help simplify this?" CreationDate="2011-05-18T13:20:41.977" UserId="1925" />
  <row Id="17941" PostId="13385" Text="Why is /var empty ? How did you restore the file system ? Why are you using such an old and no more supported version of Solaris ?" CreationDate="2011-05-18T09:57:59.720" UserId="2594" />
  <row Id="17942" PostId="1048" Text="Slightly &quot;cleaner&quot; (at least for bash&gt;=3.1) is: `PS1+='%f' # comment` " CreationDate="2011-05-18T13:40:51.213" UserId="2343" />
  <row Id="17943" PostId="9202" Text="@richard. I inadvertently downvoted you when I clicked the down-arrow instead of clicking the number (to view the +/- stats)... Because I didn't notice it soon enough, I can't change it back until the question is modified in some way.. If you make a change and inform me in a follow-up comment, I will add the point on again... (then we can delete the comments)..." CreationDate="2011-05-18T14:09:40.983" UserId="2343" />
  <row Id="17944" PostId="13358" Text="@Caleb: Yes, I should have mentioned I was replying to the question in the title and not to the particular situation. See my edit for an explanation of the dot. I don't think you can distinguish an empty first line from an empty file with `read` in portable sh (it may be possible in bash, ksh or zsh)." CreationDate="2011-05-18T15:00:14.817" UserId="885" />
  <row Id="17945" PostId="612" Text="Try this ServerFault [question](http://serverfault.com/questions/154004/troubleshooting-a-slow-network) for general techniques useful for troubleshooting a slow network connection." CreationDate="2011-05-17T23:48:54.243" UserId="7136" />
  <row Id="17946" PostId="13388" Text="I narrowed your question to just the part about NFS security; &quot;what should I use&quot; is subjective. If you want suggestions you need to say what specific features you're looking for" CreationDate="2011-05-18T15:21:58.547" UserId="73" />
  <row Id="17947" PostId="13391" Score="1" Text="This is the same issue as [&quot;No such file or directory&quot; lies on Optware installed binaries](http://unix.stackexchange.com/questions/11000/no-such-file-or-directory-lies-on-optware-installed-binaries). Note that your Perl is a 32-bit executable. You're missing the 32-bit runtime system (`libc6-i386` package, or `ia32-libs` if you want a lot of libraries)." CreationDate="2011-05-18T15:22:28.777" UserId="885" />
  <row Id="17948" PostId="13388" Score="1" Text="Define “security”. What are your requirements? (And also what NFS version, and what implementations on both the server and the client(s).)" CreationDate="2011-05-18T15:26:16.870" UserId="885" />
  <row Id="17949" PostId="13393" Text="Actually I get : `perl is not a dynamic executable` when I am in the chroot and I get the correct list of dependencies from outside. I am currently checking if there's something strange but I used a debootstrap to avoid this kinds of lack and have many libs already in place (there's a perl executable in the chroot system that runs well but it's a different version ; maybe I will just do some symbolic link ?)" CreationDate="2011-05-18T15:28:04.737" UserId="2249" />
  <row Id="17953" PostId="13393" Text="To be honest, I would have expected debootstrap to have produced a complete chroot, so I would not expect my answer to be correct in that respect. But I've run across the missing library in chroot problem before so I thought I'd see if my answer would fly." CreationDate="2011-05-18T15:34:10.590" UserId="1078" />
  <row Id="17954" PostId="13391" Text="@Gilles : Thanks a lot ! An aptitude install ia32-libs has solved the problem !! I had seen that the perl was 32 bits but since it was working on the main system (same distrib) I had just assumed it wasn't linked. Actually, I must have installed the 32-bit runtime system on the main system at some point." CreationDate="2011-05-18T15:36:19.960" UserId="2249" />
  <row Id="17955" PostId="13393" Text="cf. comment to Gilles on main post : You were right. There was some libs missing. The main advantage of debootstrap is that I could solve the problem with a basic aptitude install :)" CreationDate="2011-05-18T15:37:24.107" UserId="2249" />
  <row Id="17956" PostId="13391" Score="1" Text="@Gilles: I think I would add that as a concise answer instead of marking this as a duplicate question. The environment is different enough that even though the problem is the same, searching people are more likely to hit one or the other." CreationDate="2011-05-18T15:52:25.863" UserId="1925" />
  <row Id="17958" PostId="12338" Score="1" Text="@Samrat You should post that as an answer and accept it" CreationDate="2011-05-18T16:25:04.880" UserId="73" />
  <row Id="17959" PostId="13396" Text="ya your right.... apparently I was using the wrong one in the script. My bad" CreationDate="2011-05-18T16:25:46.927" UserId="4877" />
  <row Id="17960" PostId="12912" Text="Excellent call. The explosion finally happened again -- it was emacs! Some weird emacs 23 X forwarding bug that no one seems to know about. We've &quot;solved&quot; the problem by turning off X forwarding. Ugh. Anyways atop saved the day, so I'm going to go with yours as the answer." CreationDate="2011-05-18T18:16:47.713" UserId="6309" />
  <row Id="17961" PostId="13386" Text="Which distro are you using? I suspect this can be fixed by adding some custom settings to the pppoe configs, but I'm not sure where to look." CreationDate="2011-05-18T18:52:39.740" UserId="1925" />
  <row Id="17962" PostId="13403" Text="Are you using wireless? Do you have the same problem if you connect to your router with an ethernet cable?" CreationDate="2011-05-18T19:12:26.760" UserId="4477" />
  <row Id="17963" PostId="13406" Text="Last time this came up (I think for gnome-terminal under Ubuntu 10.04), flow control still defaulted on. Note that to resume with `fg` after `Ctrl+Z`, you need to be running `tail` under a shell, not directly in the terminal (if you do that, you need to do `kill -CONT $pid` to resume)." CreationDate="2011-05-18T19:21:44.647" UserId="885" />
  <row Id="17964" PostId="13391" Score="1" Text="@Caleb We don't delete duplicates for exactly that reason; searchers that find this one will just follow the duplicate link to the other post. If this is the same problem it should probably just be closed" CreationDate="2011-05-18T19:52:03.907" UserId="73" />
  <row Id="17965" PostId="13406" Text="No, that's the point.  I am doing this in a script.  It seems gnome-terminal was designed to be controlled only in the interactive realm." CreationDate="2011-05-18T20:00:47.290" UserId="7582" />
  <row Id="17966" PostId="13405" Text="Thanks for the feedback.  I want these logs to scroll, unless the user wants to look at them, then I want to be able to effortlessly pause the scrolling.  This happens naturally in xterm when one manually scrolls up a line.  The command continues filling up the buffer, but you can look at the data.  The scroll button moves up the screen and gets smaller when you're looking at the output, rather than just getting smaller at the bottom.  But when I re-run the process, I want to kill all the old windows, which I apparently can't in gnome." CreationDate="2011-05-18T20:04:47.253" UserId="7582" />
  <row Id="17967" PostId="13411" Score="1" Text="But the partitions can be resized. This will creat new space for more partitions." CreationDate="2011-05-18T20:06:01.720" UserId="688" />
  <row Id="17968" PostId="13405" Text="I see what you're getting at now, your application wasn't clear before. I'm not sure how it's going to be possible without using a different terminal emulator program, but if I think of something I'll add another answer!" CreationDate="2011-05-18T20:16:45.813" UserId="1925" />
  <row Id="17969" PostId="13414" Text="Regarding your edit, this is a RealVNC issue, not a programming or unix issue" CreationDate="2011-05-18T19:36:44.140" UserId="2484" />
  <row Id="17970" PostId="13414" Text="You'll need to tell us what you tried, and what didn't work. What did you click and type, and in what order? It is not acceptable to just tell us &quot;I can not copy&quot;." CreationDate="2011-05-18T19:42:05.153" />
  <row Id="17971" PostId="13414" Text="text is copied from firefox using 'copy' button as in rightclick menu. to paste, in my xterm, there is no menu with copy/paste button, so cant do this with mouse. tried shortcut key crtl+v and crtl+shift+v... neither not working...." CreationDate="2011-05-18T19:52:47.417" />
  <row Id="17972" PostId="13415" Text="where is this volume button (in keywboard?)... what if my computer dont have one ..." CreationDate="2011-05-18T19:54:31.767" />
  <row Id="17973" PostId="13404" Text="Thanks for your responses. Actually I found the answer in a post from Adam on stackoverflow.&#xA;&#xA;gnome-terminal --disable-factory starts a new process with its own PID. Now I can kill such processes when I run my test framework each (next) time.&#xA;&#xA;Thanks." CreationDate="2011-05-18T20:30:03.390" UserId="7582" />
  <row Id="17975" PostId="13413" Score="1" Text="Have you tried `ssty erase '^?'`? If the devices insist on a `C-h`, it's not telnet's call, it's the terminal (emulator)'s." CreationDate="2011-05-18T20:49:18.547" UserId="885" />
  <row Id="17976" PostId="13411" Text="@Tok: If you're thinking that NTFS partitions can't be resized, it used to be true but this time is long past, thanks to [NTFS-3G](http://en.wikipedia.org/wiki/NTFS-3G)." CreationDate="2011-05-18T20:56:21.523" UserId="885" />
  <row Id="17978" PostId="13372" Text="As I interpret the question, it looks like he wasn't just asking about the delete key, or just arrow keys typing letters in insert mode. It looks to me that he's a Linux user using FreeBSD for the first time and frustrated with the VI defaults as compared to the standard defaults used in most Linux distros. The options I posted will get VI working just like it usually does in Linux when installing vim-enhanced. So I think it's a good addition to the accepted answer, and also there's no need to mess with terminal settings (at least I didn't need to). Hopefully my info helps others." CreationDate="2011-05-18T21:54:08.107" UserId="6914" />
  <row Id="17979" PostId="13347" Text="That's a great idea. I didn't think of that." CreationDate="2011-05-18T22:08:54.767" UserId="58" />
  <row Id="17980" PostId="13347" Text="ok, posted as an answer." CreationDate="2011-05-18T22:21:25.830" UserId="4671" />
  <row Id="17981" PostId="13376" Text="This worked for me. Thanks!" CreationDate="2011-05-18T22:52:28.203" UserId="58" />
  <row Id="17982" PostId="13403" Score="1" Text="When you are behind the great firewall of China, anything is possible... could you go to `https://bitbucket.org/mpenning/template/src` and install `scapy/tcpTraceroute.py` in your home directory?  You will also need to have [scapy](http://www.secdev.org/projects/scapy/files/scapy-latest.tar.gz) installed.  Then edit your question with the results of `python tcpTraceroute.py 163.com 80` and `python tcpTraceroute.py 163.com 443` (as root).  I may be able to help after you do this..." CreationDate="2011-05-18T23:17:25.150" UserId="6766" />
  <row Id="17983" PostId="13419" Text="1+ I currently use NFS to share (read-only) my media with the rest of my LAN (Unix and Mac), works great.  I think how secure it is depends on your setup, but if used correctly I think it is as secure as any other solution." CreationDate="2011-05-18T23:36:05.047" UserId="6214" />
  <row Id="17984" PostId="13386" Text="I am using a Gentoo box, and Gnome desktop environment. I have little knowledge about how ppp and pppoe stuff working. Can anyone give me some advice on where to start?" CreationDate="2011-05-19T00:49:37.540" UserId="7567" />
  <row Id="17985" PostId="13403" Text="Can you paste the output of `ethtool eth0` and `ifconfig eth0`?" CreationDate="2011-05-19T01:51:38.930" UserId="4358" />
  <row Id="17986" PostId="13306" Text="Thanks for the tip" CreationDate="2011-05-19T02:08:04.010" UserId="2862" />
  <row Id="17987" PostId="13397" Text="Possible duplicate of: Partitioning for Windows 7 and Fedora 11 dual boot: http://superuser.com/questions/101065/partitioning-for-windows-7-and-fedora-11-dual-boot" CreationDate="2011-05-19T03:41:26.940" UserId="3482" />
  <row Id="17988" PostId="13378" Text="The only real problem with xmodmap is, when you switch layouts. You have to execute xmodmap again." CreationDate="2011-05-19T04:46:20.150" UserId="5884" />
  <row Id="17989" PostId="13412" Text="OK, thanks, but that's what I'm doing at the moment. What I was thinking about was some method to prevent yum from upgrading any obsoleted packages. Probably I'll just stay with this method." CreationDate="2011-05-19T06:37:26.900" UserId="7395" />
  <row Id="17990" PostId="13407" Text="dm-crypt has no header, it's just encrypted, so in theory it's impossible to detect." CreationDate="2011-05-19T07:28:10.517" UserId="7030" />
  <row Id="17991" PostId="13412" Text="If you don't want to upgrade ANYTHING why are you running yum at all?" CreationDate="2011-05-19T08:15:16.277" UserId="1925" />
  <row Id="17992" PostId="13412" Text="Heh, I still want to update all other system packages (for security, patches, etc.), I just don't want yum to mess with my custom package. What makes it funnier is that if I put newer version of openh323 to my repo, yum still prefers opal over it. Apparently, excluding is a way to go here. Thanks again!" CreationDate="2011-05-19T08:20:46.280" UserId="7395" />
  <row Id="17993" PostId="13430" Text="But you might add a link to xdotool." CreationDate="2011-05-19T08:56:11.850" UserId="3082" />
  <row Id="17994" PostId="5215" Text="@Tuxalot: Me too! If there is a place we can lean on distrowatch to add this let me know. I work as a developer on the PLD project and since we don't do releases we kind of fall off the map over there! I'm reachable through the site linked in my profile." CreationDate="2011-05-19T09:02:42.070" UserId="1925" />
  <row Id="17995" PostId="13430" Text="good point, added the link. You won't need to download it manually though, as there should be packages for most ditributions." CreationDate="2011-05-19T09:13:03.013" UserId="1952" />
  <row Id="17996" PostId="13403" Text="@Cheng, tcpdump is not likely very helpful yet... we need to understand the exact path your http traffic takes and if that is different than https; the only way to find this information is with tcptraceroute.  If there are any firewalls, caches, proxies or load-balancers then tcptraceroute will help highlight this.  I wrote my python version to be more helpful than the standard tcptraceroute." CreationDate="2011-05-19T10:58:00.107" UserId="6766" />
  <row Id="17997" PostId="13375" Text="It's not clear that he does have sendmail; merely that he's familiar with it and doesn't think it can solve his problem." CreationDate="2011-05-19T12:32:55.400" UserId="1835" />
  <row Id="17998" PostId="13440" Text="No other dependancy doesn't mean that it is not currently being used, right? Correct me if I'm wrong, the module might be in use, it's just that no other modules depends on it." CreationDate="2011-05-19T12:38:14.903" UserId="1026" />
  <row Id="17999" PostId="13440" Text="@foo: that's right. you can only remove modules with use count of 0, but that does not mean they're &quot;idle&quot;." CreationDate="2011-05-19T12:48:47.117" UserId="5842" />
  <row Id="18000" PostId="13425" Text="@Gilles, sadly even this has not fixed the problem, but I finally found a solution (or perhaps I should say kludge)... see my answer below." CreationDate="2011-05-19T13:07:40.217" UserId="6766" />
  <row Id="18001" PostId="13413" Text="@Gilles your comment is actually not correct, see my answer below" CreationDate="2011-05-19T13:22:01.830" UserId="6766" />
  <row Id="18002" PostId="13420" Text="Your question is based on the assumption telnet is doing specific processing of the backspace key which I believe is wrong. I should have put that as a comment instead of an answer indeed." CreationDate="2011-05-19T13:23:16.043" UserId="2594" />
  <row Id="18003" PostId="13420" Text="@jlliagre, AFAICT, `telnet` pays no attention to local terminal mappings of the keyboard.  [Anne Barreta's notes about the keyboard and telnet](http://www.ibb.net/~anne/keyboard/keyboard.html#other)" CreationDate="2011-05-19T13:27:57.477" UserId="6766" />
  <row Id="18004" PostId="13420" Text="I'm afraid you are misunderstanding what stty does." CreationDate="2011-05-19T13:35:14.290" UserId="2594" />
  <row Id="18006" PostId="13444" Score="2" Text="`stty erase $` doesn't map the &quot;backspace&quot; key to &quot;$&quot;, it tells the tty driver that in order to erase a character, the &quot;$&quot; key need to be used. When you run telnet, you are in raw mode so this setting is ignored. A simple solution would be to configure your terminal emulator to send ^H for backspace, as god intended, another one is using your hack which translates these character on the fly using expect. " CreationDate="2011-05-19T13:41:11.590" UserId="2594" />
  <row Id="18007" PostId="13444" Text="@jlliagre, yes, I discovered how `stty` did not change `telnet`'s keyboard reads when I used `wireshark`; however, this important fact was not clear to me until I sniffed.  I will investigate how I can change Backspace to use `Control_h` in `rxvt`... or maybe I need to think about finding another term." CreationDate="2011-05-19T13:44:47.630" UserId="6766" />
  <row Id="18008" PostId="13403" Text="A TCP trace wont help. Traffic doesnt take a different path based on the type of content. Routers operate on layer 3. TCP is layer 4." CreationDate="2011-05-19T14:29:44.480" UserId="4358" />
  <row Id="18009" PostId="13448" Text="works on my linux box, but my nas doesn't have find - are there alternatives?" CreationDate="2011-05-19T14:30:19.457" UserId="7600" />
  <row Id="18010" PostId="13444" Text="@Mike: I think you're still confused about something (which I admit neither jlliagre nor I mentioned explicitly; I've updated my answer). `stty` needs to run on the application side. I highly doubt `telnet` is translating input characters or that you need to use `script`; just running `stty` on the remote machine will probably do the trick." CreationDate="2011-05-19T14:40:26.707" UserId="885" />
  <row Id="18011" PostId="13403" Text="Thanks Mike! I was not familiar with those concepts. But you made me much clear. Yep, I mean tcptraceroute. " CreationDate="2011-05-19T14:41:27.860" UserId="1875" />
  <row Id="18012" PostId="13403" Text="@Patrick, routers were the only thing in the internet 20 years ago.  You should think about how the internet is built today... proxies, cache, load-balancers, etc. also, how does akamai cache content for Cisco.com." CreationDate="2011-05-19T14:43:48.670" UserId="6766" />
  <row Id="18013" PostId="13448" Text="in a flat directory - if you don't want to visit subdirectories: `for f in *.xmp; do ./xfun &quot;$f&quot;; done` " CreationDate="2011-05-19T14:45:10.290" UserId="4485" />
  <row Id="18014" PostId="13444" Text="@Gilles, the remote machine is a network device, it does not have `stty`." CreationDate="2011-05-19T14:47:15.137" UserId="6766" />
  <row Id="18015" PostId="13444" Text="@Mike: Oh, I see. Then your issue isn't with telnet (it's just the messenger), it's with the remote device. (Your blaming telnet is what was confusing me, and I think jlliagre.) Then using some intermediate software that performs the translation, such as expect or screen, is a reasonable approach." CreationDate="2011-05-19T14:52:05.013" UserId="885" />
  <row Id="18016" PostId="13444" Text="@Gilles, the reason I was trying to modify telnet's behavior is because it seemed like telnet was causing a difference in this particular case.  netcat was not having an issue with backspace (which is something I will track down when I have some spare moments).  I need to figure out whether the device (a Brocade switch) has a bug, or this is simply a nasty &quot;feature&quot;" CreationDate="2011-05-19T14:55:58.320" UserId="6766" />
  <row Id="18017" PostId="13444" Score="1" Text="@Mike: When you use netcat, your terminal is in cooked mode: you write a line, editing it *locally*, and `Enter` sends it. When you use telnet, your terminal is in raw mode: each character is sent immediately to the application. See e.g. the beginning of [this page](http://www.lafn.org/~dave/linux/terminalIO.html), or [this Wikipedia article](http://en.wikipedia.org/wiki/POSIX_terminal_interface#Early_Unices:_Seventh_Edition_Unix)." CreationDate="2011-05-19T15:01:19.663" UserId="885" />
  <row Id="18018" PostId="13446" Text="This issue hasn't come up recently so I can't test this. What does that do though?" CreationDate="2011-05-19T15:14:34.350" UserId="2630" />
  <row Id="18019" PostId="13443" Score="1" Text="You need to take care when thinking of Linux and Unix filenames: they do not have &quot;extensions&quot; except by convention." CreationDate="2011-05-19T16:50:33.587" UserId="732" />
  <row Id="18020" PostId="13443" Score="1" Text="OK, that comment isn't helpful. You need to take care when thinking of Linux and Unix filenames: they do not have &quot;extensions&quot; except by convention. That is, &quot;file.nef&quot; and &quot;file.xmp&quot; have different filenames. The &quot;.nef&quot; and &quot;.xmp&quot; are parts of the filenames, not separate fields kept apart from the file name proper, like in FAT filesystems, or ODS-11." CreationDate="2011-05-19T16:57:57.450" UserId="732" />
  <row Id="18021" PostId="13452" Text="There are scheduling/caching algorithms in the kernel and filesystem drivers that influence when exactly data is written to disk.  This is done to increase performance.  Because of this optimization you can't really tell exactly when writes will happen.  Also, old inodes in filesystems might be reused so new files can appear in directory slots where old files were.  So the order of creation isn't necessary &quot;directory order.&quot;" CreationDate="2011-05-19T17:01:52.643" UserId="3389" />
  <row Id="18022" PostId="13456" Text="@Bruce: So, what are the contents of this &quot;directory&quot; file exactly?" CreationDate="2011-05-19T18:36:27.933" UserId="4671" />
  <row Id="18023" PostId="13458" Text="If I'm reading the configuration docs correctly --with-gmp is equivalent to --with-gmp-include and --with-gmp-lib (can't test this until the morning)" CreationDate="2011-05-19T18:40:23.800" UserId="7609" />
  <row Id="18024" PostId="6895" Text="Tip: You can use https://github.com/mgorny/sw-notify-send for that external program." CreationDate="2011-05-19T16:18:31.027" UserId="2847" />
  <row Id="18025" PostId="6895" Score="1" Text="@lkraav: FWIW, You should be able to *edit* this answer..." CreationDate="2011-05-19T19:08:49.323" UserId="5973" />
  <row Id="18026" PostId="13456" Text="Traditionally, something very much like struct dirent, which I find defined in /usr/include/bits/dirent.h on a RHEL box, and on a Slackware 11.0 box. Both of those machines refuse to open() a directory directly. I know that I used to do things like &quot;cat . &gt; dot.as.file&quot; to convert a directory to a regular file, the last time I did it for sure was Solaris 8, I think. Basically, struct dirent contains an inode (a number), a record length, a name length, and a string, which as I recall, may or may not be ASCII-Nul terminated." CreationDate="2011-05-19T19:30:45.287" UserId="732" />
  <row Id="18027" PostId="13456" Text="@Bruce: Ok. And this C struct manages to get all the information about the files and subdirectories it contains into those fields?" CreationDate="2011-05-19T19:36:00.590" UserId="4671" />
  <row Id="18028" PostId="13456" Text="A directory in filesystems like ext2, or BSD FFS or the original Unix filesystem, just contained a list of inode numbers and corresponding file names. Invoking &quot;ls&quot; without arguments just earned you a list of file names.  If you did &quot;ls -l&quot;, &quot;ls&quot; itself would look up every file name by doing a stat(2) system call on the file name, and from the struct stat, get permissions, size, &quot;file type&quot;, etc.  So, no, a directory file doesn't have all the information, just a list of names." CreationDate="2011-05-19T19:55:22.843" UserId="732" />
  <row Id="18029" PostId="13456" Text="@Bruce: ext3/ext4 (with the `dir_index` option) also uses a B-tree variant to store directories. Several unices, including (at least some versions of) Solaris and *BSD, have `opendir(3)` call `open(2)`, but on Linux, as far as I can remember, `open(2)` has refused to open directories." CreationDate="2011-05-19T20:03:52.740" UserId="885" />
  <row Id="18030" PostId="13456" Text="@Bruce: thanks for the explanation. One often forgets what details goes into these low level implementations." CreationDate="2011-05-19T20:30:09.940" UserId="4671" />
  <row Id="18031" PostId="13446" Text="@TheLQ: That's [terminal flow control](http://en.wikipedia.org/wiki/XON/XOFF): `Ctrl+S` tells the terminal to stop sending stuff and `Ctrl+Q` tells it to send again. See also [an example of where they're useful](http://unix.stackexchange.com/q/13408#13408). `Ctrl+Q` comes last, by the way. I don't see why it would help here, but it's worth a try." CreationDate="2011-05-19T20:37:33.290" UserId="885" />
  <row Id="18032" PostId="6660" Text="Since you can still run commands on the machine when Byobu acts up, next time, investigate it. Run `top` to see if it's taking CPU time. Run `strace -p1234` (where 1234 is the `screen` PID) to see what it's doing, and ditto for the `SCREEN` process. You'll need to be running a `screen` that's not setuid or setgid, or run `strace` as root." CreationDate="2011-05-19T20:41:47.997" UserId="885" />
  <row Id="18033" PostId="13403" Text="Really need to see the routing setup. Sounds like you plugged 2 interfaces into the same network using the same netmask and not bridging them or using some kind of link aggregation, so the router just round robins the packets." CreationDate="2011-05-19T21:44:52.760" UserId="7351" />
  <row Id="18034" PostId="13464" Text="possible duplicate of [find searching in parent directories instead of subdirectories](http://unix.stackexchange.com/questions/6463/find-searching-in-parent-directories-instead-of-subdirectories)" CreationDate="2011-05-19T22:44:09.670" UserId="885" />
  <row Id="18035" PostId="13465" Text="That's not going to help. Either you use `-maxdepth 0` or `-maxdepth 1`, in which case `find` isn't useful, or you don't, in which case you traverse plenty of extraneous directories for no reason." CreationDate="2011-05-19T23:02:51.447" UserId="885" />
  <row Id="18036" PostId="3851" Text="On FreeBSD and MacOSX, this results in the error `readlink: illegal option -- f`. Anyone have the solution for other *BSDs?" CreationDate="2011-05-19T23:12:56.447" UserId="4" />
  <row Id="18037" PostId="13465" Text="It is a working solution. I have added an example to clarify this." CreationDate="2011-05-19T23:21:53.960" UserId="7615" />
  <row Id="18038" PostId="13465" Text="@gjb: You're missing the step where you generate the list of directories from `$PWD` or some argument. And if you're going to do that, you don't need find (ok, you can call it, but it won't be very useful)." CreationDate="2011-05-19T23:24:49.760" UserId="885" />
  <row Id="18039" PostId="13465" Text="The question was &quot;How can I find that file without searching a lot of extra folders?&quot;. I accept that this might not be the most elegant solution, but it gets the job done without searching any extra folders." CreationDate="2011-05-19T23:32:04.777" UserId="7615" />
  <row Id="18040" PostId="13467" Text="Awesome!  I thought I may be able to do this with sed, but I haven't used it before and was hoping I could use my familiar `grep`.  But the syntax for these commands actually looks very familiar now that I am familiar with vim-style search &amp; replace + regexes.  Thanks a ton." CreationDate="2011-05-19T23:51:30.643" UserId="4143" />
  <row Id="18041" PostId="13458" Text="This is what ./configure --help says -- --with-gmp-include=PATH specify directory for installed GMP include files&#xA;  --with-gmp-lib=PATH     specify directory for the installed GMP library so you actually need to point to the include directory and libs directory or alternately you could just point to the parent directory with the above option" CreationDate="2011-05-20T00:28:59.487" UserId="7505" />
  <row Id="18042" PostId="13468" Text="You mean &quot;Wayland&quot;? " CreationDate="2011-05-19T18:55:09.020" />
  <row Id="18043" PostId="13468" Text="Yes--thanks Zuar =)" CreationDate="2011-05-19T19:05:45.013" />
  <row Id="18044" PostId="13469" Text="I liked Arch when I used it a long time ago; it looks like it's fairly half-baked in it's implementation right now too though. Thanks for the suggestion." CreationDate="2011-05-19T19:08:16.913" />
  <row Id="18045" PostId="13459" Text="Thanks! that works" CreationDate="2011-05-20T00:57:15.077" UserId="7505" />
  <row Id="18046" PostId="13469" Score="2" Text="@Byran everything is going to be half baked right now, because wayland itself is still only half baked." CreationDate="2011-05-20T01:17:14.407" UserId="29" />
  <row Id="18047" PostId="13467" Text="Not true, Gilles. See my answer for a GNU grep solution." CreationDate="2011-05-20T01:33:49.930" UserId="1078" />
  <row Id="18048" PostId="13460" Text="I have constantly parport, lp and pcmcia loaded without using them. Yes, the interface is up and can be used, but it isn't. From the fact, that the modules are loaded, I can conclude, how the kernel works, but that's not obviously for me, beforehand." CreationDate="2011-05-20T02:01:39.890" UserId="4485" />
  <row Id="18049" PostId="13403" Text="@mike proxies will kill your tcptraceroute as your tcp session ends at the proxy. cache, ditto. load-balancers wont even show up on a tcp trace. Next?" CreationDate="2011-05-20T03:31:43.113" UserId="4358" />
  <row Id="18050" PostId="13403" Text="@patrick, So maybe that is the point, next?" CreationDate="2011-05-20T03:52:54.460" UserId="6766" />
  <row Id="18051" PostId="13482" Text="So theoretically if I want a pc for everyday use I just need a WM+my programs?" CreationDate="2011-05-20T05:50:04.327" UserId="6960" />
  <row Id="18052" PostId="13482" Text="And e.g.: if I only want to use the mentioned sawfish, then do I need X? I just want to make a more secure desktop." CreationDate="2011-05-20T05:52:12.717" UserId="6960" />
  <row Id="18053" PostId="13482" Text="@LanceBaynes: yes, you need a display server (Xorg for instance). The window manager is in fact just another application that runs on top of the display server - it has a privileged role, but it's just a normal app. The minimal setup is X plus your app, but that's unusable. X, with a simple WM (there's tons of those to choose from) is a very workable solution if you don't want a complete desktop environment like Gnome or KDE." CreationDate="2011-05-20T05:55:40.127" UserId="5842" />
  <row Id="18054" PostId="13478" Score="1" Text="Please note that openSUSE 11.2 is no longer supported. I recommend you to upgrade to latest release, which is 11.4." CreationDate="2011-05-20T06:21:40.617" UserId="173" />
  <row Id="18055" PostId="13478" Text="I have a program which compiles just fine in OpenSuse 11.2 with QT version 4.5. However, when I compiled the same program using OpenSuse 11.4 with QT 4.7.3 (required), I'm getting this error message:&#xA;&#xA;: fatal error: &gt; QtXmlPatterns/QXmlSchema: No such file or directory&#xA;I have these files in my usr and toolchain folders. I wonder why it can't be found. So I was thinking, maybe I could just update QT and GCC version of Opensuse 11.2. " CreationDate="2011-05-20T06:27:12.703" UserId="7621" />
  <row Id="18056" PostId="13458" Text="I'm already doing so, however, as indicated." CreationDate="2011-05-20T06:35:22.120" UserId="7609" />
  <row Id="18057" PostId="13467" Text="@camh: Ah, I didn't know GNU grep now had full PCRE support. I've corrected my answer, thanks." CreationDate="2011-05-20T07:14:48.547" UserId="885" />
  <row Id="18058" PostId="13490" Text="just wondering, why would you want to look at the lines 200 to lines 100 (from the bottom) and not the last 100 lines, or is the intention to check 100 lines at a time?" CreationDate="2011-05-20T07:16:04.907" UserId="7505" />
  <row Id="18059" PostId="13490" Score="1" Text="This is simple enough as it is. If that is a small part of a bigger task, you may need to describe and ask about that." CreationDate="2011-05-20T07:33:54.080" UserId="5666" />
  <row Id="18060" PostId="13490" Text="actually firstly I used tail -1000 so I read the last 1000 lines, but I needed more to read, and I don't wanted to scroll the last 1000" CreationDate="2011-05-20T07:47:17.313" UserId="6960" />
  <row Id="18061" PostId="13458" Text="look at your config.log and see whats going wrong, may be you should post the errors from config.log here" CreationDate="2011-05-20T07:55:41.177" UserId="7505" />
  <row Id="18062" PostId="13458" Text="That's where the error came from... (also, tried --with-gmp instead. No change). The file does definitely exist in the location I've specified." CreationDate="2011-05-20T08:36:25.277" UserId="7609" />
  <row Id="18063" PostId="13458" Text="The build is convinced it isn't there. There's no associated errors in the config.logs other than 'No such file or directory'." CreationDate="2011-05-20T08:47:37.637" UserId="7609" />
  <row Id="18065" PostId="13494" Score="1" Text="This doesn't seem like it has anything to do with installing PHP" CreationDate="2011-05-20T10:21:06.203" UserId="73" />
  <row Id="18066" PostId="13007" Text="I will try this one out!" CreationDate="2011-05-20T10:23:47.373" UserId="6960" />
  <row Id="18069" PostId="13496" Score="1" Text="I'm not entirely sure what you mean by 'more conventional', here... Perhaps you can clarify your question?" CreationDate="2011-05-20T11:05:09.350" UserId="4949" />
  <row Id="18070" PostId="13496" Score="3" Text="GNU find does not respect POSIX (or even GNU) guidelines for command line. For example, ordering of parameters, multi-character options with a single dash etc. are different than in conforming programs." CreationDate="2011-05-20T11:11:02.263" UserId="7627" />
  <row Id="18073" PostId="13496" Text="@Tamas, I agree that find's parameters are backwards, but they work... and you really don't need them in the majority of cases, you can hack things up by piping into grep which has a more sensible syntax" CreationDate="2011-05-20T11:26:59.950" UserId="6766" />
  <row Id="18074" PostId="13429" Text="This looks interesting... I will have to peruse this more later." CreationDate="2011-05-20T11:38:09.353" UserId="29" />
  <row Id="18075" PostId="13496" Text="I know, and I can always do what I intend, one way or another. I just recently got to know `ack` and was wondering if there is a better `find` as well." CreationDate="2011-05-20T11:40:55.680" UserId="7627" />
  <row Id="18076" PostId="13493" Text="I'd also recommend `view`, if you are familiar with `vi`." CreationDate="2011-05-20T12:31:24.300" UserId="1835" />
  <row Id="18077" PostId="13157" Text="That title is also too misleading.  It leaves out the core detail that the new name must be based on file *content*." CreationDate="2011-05-20T12:41:13.090" UserId="1835" />
  <row Id="18078" PostId="13487" Score="1" Text="That document indicates that LUKS leaves a header -- but not that this is a bad thing!  If you want your partition to not look like an encrypted partition, then yes, a header is a give-away.  But there are several advantages to having one:  it gives you the contextual information needed to decrypt it.  Without a header, you will need both your passphrase and the precise parameters you used to encrypt the partition.  In a recovery scenario, it's plausible you have have lost/forgotten the latter." CreationDate="2011-05-20T12:43:29.313" UserId="1835" />
  <row Id="18079" PostId="13485" Text="you can also determine what interfaces are being listened on via `netstat` or `lsof`, e.g. `lsof -ni:25`" CreationDate="2011-05-20T12:45:00.077" UserId="1835" />
  <row Id="18080" PostId="13473" Score="2" Text="Please post the contents of `/etc/pam.d/passwd`, and of any files that file includes. Thanks." CreationDate="2011-05-20T13:24:11.400" UserId="2511" />
  <row Id="18081" PostId="13481" Text="Doesn't make sense. How do you get an SMTP status code from a telnet session that fails to connect?" CreationDate="2011-05-20T13:35:38.933" UserId="7351" />
  <row Id="18083" PostId="13496" Text="Find is a powerful tool, nearly a small language, where the ordering of parameters matters - while it doesn't matter for most programs, so they don't have to solve such problems. Can you suggest a better way to handle the options without losing functionality? " CreationDate="2011-05-20T14:03:33.653" UserId="4485" />
  <row Id="18084" PostId="13491" Text="Thanks. If I add the `-density 400` parameter` it has even better quality." CreationDate="2011-05-20T14:27:32.683" UserId="6215" />
  <row Id="18085" PostId="13496" Text="No. You see, I don't want a small programming language, but a simpler, more intuitive and more consistent find (even if that means the loss of some advanced functionality). When I face a task that justifies writing a program, I do." CreationDate="2011-05-20T14:28:20.937" UserId="7627" />
  <row Id="18086" PostId="13503" Text="Even if it's my fault, this does not answer my question." CreationDate="2011-05-20T14:29:33.807" UserId="7627" />
  <row Id="18087" PostId="439" Text="what does *poped out* mean?" CreationDate="2011-05-20T14:38:23.653" UserId="688" />
  <row Id="18088" PostId="13452" Text="@ultrasawblade: Not sure why you wrote that as a comment to my own reply instead of a reply by itself or whatever." CreationDate="2011-05-20T14:47:13.300" UserId="2594" />
  <row Id="18089" PostId="13478" Score="1" Text="@Owen, the QXmlSchema class was added in Qt4.6 so I'm not sure how you had it in 4.5.  Did you have the devel package installed?  Headers are found there." CreationDate="2011-05-20T14:47:59.793" UserId="3447" />
  <row Id="18090" PostId="13503" Text="What is the difference between expression (only one allowed?), cmd (dito?), options and args? " CreationDate="2011-05-20T15:35:46.397" UserId="4485" />
  <row Id="18091" PostId="13503" Text="@user unknown -- the find command implements it's own expression syntax. The expression, when given, is the last argument on the command line. When absent, expression resolves to -print." CreationDate="2011-05-20T16:03:01.593" UserId="7351" />
  <row Id="18092" PostId="13496" Score="2" Text="find is both consistent (see my answer) and intuitive. It's not like primaries are named weird. -exec means execute, -print means print it, -name means match a name. In practice, the former 3 and -type cover 95% of the usage cases. For all other cases, there's man find." CreationDate="2011-05-20T16:27:10.957" UserId="7351" />
  <row Id="18093" PostId="13508" Text="I'm missing part of the picture.  When you say &quot;it will be 6.2GB on the rate limited interface&quot;, what is &quot;it&quot;?  Are you saying you had 6.2GB data transmitted or 6.2GB data dropped or??  How are you measuring data dropped?  How fast are you actually uploading the data through eth1 when you apply this policy?  Which application are you using?" CreationDate="2011-05-20T16:29:35.230" UserId="6766" />
  <row Id="18094" PostId="10081" Text="It might be worth talking to distribution developers. After all, they actually do this stuff." CreationDate="2011-05-20T16:46:35.577" UserId="4671" />
  <row Id="18095" PostId="13508" Text="It's a Linux NATing router. I have a 4 mbps connection, and `eth0` has the WAN ip. As only upload speed can be shaped, I use the above posted line on `eth1` which is the NAT interface. So I shape the download rate of `eth0` by shaping the upload on `eth1`. " CreationDate="2011-05-20T17:13:34.423" UserId="2926" />
  <row Id="18096" PostId="13496" Text="Ok @Mel, you are right. But neither this comment nor your answer actually answer my question." CreationDate="2011-05-20T17:19:12.410" UserId="7627" />
  <row Id="18097" PostId="13496" Score="3" Text="@tamas I edited an hour ago and told you there's no alternative except locate. And maybe ls -R come to think of it. Other alternatives are GUI programs that emulate find. Otherwise you have to specify what you want your find alternative to do. Walk dir trees? Filter file names? Tell you which files is newer then?" CreationDate="2011-05-20T17:24:57.943" UserId="7351" />
  <row Id="18098" PostId="13511" Text="I would try running memtest on it. It got to be available from your distro." CreationDate="2011-05-20T17:27:00.973" UserId="688" />
  <row Id="18099" PostId="13515" Text="Not having any real experience, can you look at the Debian Installer. I've seen it given lots of praise for its near-decade-old design. It's built from a whole bunch of shell scripts AFAIK." CreationDate="2011-05-20T17:31:35.430" UserId="688" />
  <row Id="18100" PostId="12141" Text="`${PORTSDIR}/sysutils/dmidecode`" CreationDate="2011-05-20T17:36:28.623" UserId="7351" />
  <row Id="18101" PostId="13473" Text="I'm a bit hesitant to post a file called `passwd` onto the net. What kind of things would you look for in there that will help answer the question?" CreationDate="2011-05-20T18:23:17.563" UserId="7638" />
  <row Id="18102" PostId="13473" Score="2" Text="Don't worry — it just contains the configuration for the PAM (Pluggable Authentication Modules) stack for the `passwd` program itself. Unless you've done something very strange to it, it's unlikely to have any sensitive information. (It is not, itself, a password file.)" CreationDate="2011-05-20T18:26:17.677" UserId="2511" />
  <row Id="18103" PostId="13516" Score="1" Text="What do you mean by &quot;tested the cdrom for the infections&quot;? Was this CD verified to work by anyone else? My first thought is to check the iso's md5sum against that listed on the site (assuming it is listed), but it seems to you didn't burn it yourself? What happens if you try to mount the cd? Also, can you post your /etc/fstab entry for your cdrom? Unlikely to be the problem, but no harm." CreationDate="2011-05-20T18:59:12.437" UserId="4671" />
  <row Id="18104" PostId="13473" Text="Thanks for your feedback. Having researched into the purpose of the `/etc/pam.d/passwd` file in general, I'm still hesitant of making it public. Your feedback has helped me to realise that I was asking the wrong question, so I have modified it accordingly in the hope that I can learn about how to solve the issue _in principal_ rather than just for this case.  " CreationDate="2011-05-20T20:36:00.743" UserId="7638" />
  <row Id="18105" PostId="13473" Text="Okay. :) _Have_ you modified it from the default?" CreationDate="2011-05-20T20:40:21.053" UserId="2511" />
  <row Id="18106" PostId="13473" Text="No. It was one of the first commands I performed after receiving my welcome email from my hosting company and then logging in via ssh. Looking at my `/etc/pam.d/passwd` I notice that PLESK is doing some stuff. So, I'm going to try to work with that lead, rtfm and then come back if I have questions." CreationDate="2011-05-20T20:47:48.080" UserId="7638" />
  <row Id="18107" PostId="13487" Text="“Most secure is meaningless”. And there's no point in hiding the fact that you have an encrypted partition: the fact that it contains random-looking bytes gives it away." CreationDate="2011-05-20T21:37:05.390" UserId="885" />
  <row Id="18108" PostId="13515" Text="I don't understand the question. An installer is a live system with a dedicated purpose. It can be anything from a shell script in a minimal system (OpenBSD installer) to a complex program running under X with a bunch of services running (principal Ubuntu installer). What are you after?" CreationDate="2011-05-20T21:59:09.327" UserId="885" />
  <row Id="18109" PostId="13511" Text="You have a hardware problem, perhaps with the memory, probably with the motherboard. If you're overclocking, stop. If the motherboard is under warranty, try to get it replaced." CreationDate="2011-05-20T22:02:16.953" UserId="885" />
  <row Id="18110" PostId="13515" Text="Never mind, actually. I already have it running XD" CreationDate="2011-05-20T22:03:39.527" UserId="3032" />
  <row Id="18114" PostId="13500" Text="Thanks Roman, that looks interesting. I wont have any trouble setting up Firefox, as there are plenty of plugins available to turn that into a kiosk...I'm not too familiar with fvwm, but i'll look into it! Thanks!" CreationDate="2011-05-21T00:37:57.430" UserId="7645" />
  <row Id="18115" PostId="13499" Text="Yeah, i've heard of Suse Studio, but never really used it. Now is the time i think!" CreationDate="2011-05-21T00:38:30.410" UserId="7645" />
  <row Id="18116" PostId="13496" Score="2" Text="What do you want it to do?  What should the syntax look like?" CreationDate="2011-05-21T00:54:40.473" UserId="3169" />
  <row Id="18117" PostId="13530" Text="i mean i have some software .rpm inside that folders" CreationDate="2011-05-20T06:05:31.000" />
  <row Id="18118" PostId="13530" Score="1" Text="@Tapsi: none of those are compatible with a Solaris OS." CreationDate="2011-05-20T06:06:22.573" UserId="5842" />
  <row Id="18119" PostId="13530" Text="Solaris doesn't use RPM packages.  See if the software you need is actually available as a Solaris package.  Or consider just using Linux instead of Solaris." CreationDate="2011-05-20T06:08:41.367" />
  <row Id="18120" PostId="13503" Text="Ah - now I see, [cmd] isn't following [expression], but it's a description of the line before." CreationDate="2011-05-21T03:04:26.303" UserId="4485" />
  <row Id="18122" PostId="13537" Text="Here's a post on cross-posting: http://meta.stackoverflow.com/q/65931." CreationDate="2011-05-21T07:53:54.580" UserId="688" />
  <row Id="18123" PostId="1618" Text="Do you mind reading this answer again, carefully. I would have, but I don't know what you meant to say in place, e.g. *...on traditional harddrives*." CreationDate="2011-05-21T08:33:16.010" UserId="688" />
  <row Id="18124" PostId="13411" Text="@Gilles: NTFS resizing is available in Debian Installer, and I don't think it uses ntfs-3g." CreationDate="2011-05-21T08:42:47.860" UserId="688" />
  <row Id="18125" PostId="13518" Text="I love `locate`" CreationDate="2011-05-21T10:00:28.670" UserId="5535" />
  <row Id="18126" PostId="13536" Score="1" Text="Good summary of options. It is also a good idea to put files under `/etc` under version control to help you keep track of what is going on. `etckeeper` will do this for you." CreationDate="2011-05-21T12:57:49.480" UserId="4671" />
  <row Id="18127" PostId="13525" Text="Rather than a screenshot, you should have copy-pasted the sample text as a code block. Think of blind readers!" CreationDate="2011-05-21T13:01:12.990" UserId="885" />
  <row Id="18128" PostId="13538" Text="Why don't you use a binary package? What is your OS/distribution?" CreationDate="2011-05-21T13:01:52.880" UserId="4671" />
  <row Id="18129" PostId="13537" Text="This question is on-topic for both Stack Overflow and Unix, since it's about development tools on unix. However, cross-posting is not acceptable (see our [FAQ](http://unix.stackexchange.com/faq), and in particular [this discussion](http://meta.stackoverflow.com/questions/64068). Given that the general principles are not strongly unix-specific, I think SO is the better venue here, so I propose to retain the [Stack Overflow post](http://stackoverflow.com/questions/6079748)." CreationDate="2011-05-21T13:17:51.547" UserId="885" />
  <row Id="18132" PostId="13541" Text="Thank you very much!" CreationDate="2011-05-21T13:33:58.917" UserId="7652" />
  <row Id="18133" PostId="13538" Text="Why don't use setuptools' easy_install or pip?" CreationDate="2011-05-21T13:35:49.147" UserId="7226" />
  <row Id="18134" PostId="13541" Text="@vasiauvi: Please don't post “thank you” comments. If you found an answer useful, it's enough to upvote it. [Read this if you still have doubts.](http://meta.stackoverflow.com/questions/72330/comments-upvote-and-reputation-constraints)" CreationDate="2011-05-21T13:39:41.083" UserId="885" />
  <row Id="18135" PostId="13534" Score="1" Text="You won't get a “list of the commands that are going to behave surprisingly”. Software can't predict what you'll find surprising." CreationDate="2011-05-21T13:42:17.540" UserId="885" />
  <row Id="18136" PostId="13533" Text="+1 since I agree this is more a grep work, no need to trouble with sed. I' like to know anyway which gives better performaces (that should matter)" CreationDate="2011-05-21T13:47:36.610" UserId="7226" />
  <row Id="18137" PostId="13545" Text="While this question is technically on-topic since you're running on Linux, I think it would feel better at home on the [Webmasters site](http://webmasters.stackexchange.com/). N.B. Don't repost, flag your question to request a migration if you want it moved." CreationDate="2011-05-21T15:32:57.300" UserId="885" />
  <row Id="18139" PostId="13534" Text="Thanks. These answers are giving me better understanding of how to model the _pertinent areas of difference_ that need to be considered when taking over a machine that someone else has installed. &#xA;&#xA;So far we have differences in: _packages installed_, _running services_, _configurations_ and _file system type_. I'm interested to know if that's it or is the list infinite?  &#xA;&#xA;@Gilles - yes, with limited knowledge of linux, I find it hard to predict what I'd 'find surprising' myself as well! " CreationDate="2011-05-21T15:43:04.680" UserId="7638" />
  <row Id="18140" PostId="13545" Text="i think it more of linux knowledge than web . At webmasters linux tag has only 27 questions . " CreationDate="2011-05-21T15:51:09.367" UserId="6797" />
  <row Id="18141" PostId="13534" Text="@JW01: The list is infinite. Not a Linux example, but a while ago, Visual Studio wouldn't show some dialog boxes on a particular machine (no error, just empty space where the controls should have been). It turned out to be due to having too many fonts installed. The moral of this story is that there will always be surprises lurking in corners." CreationDate="2011-05-21T15:51:28.243" UserId="885" />
  <row Id="18142" PostId="13545" Text="@Mirror51: Linux is not relevant to your question. Since your users are accessing the files through a web interface, the access control is performed by Apache, not Linux." CreationDate="2011-05-21T15:52:48.167" UserId="885" />
  <row Id="18143" PostId="13307" Text="@Kieth I found the file if-cfg-lo at /etc/sysconfig/network-scripts; woint simply editing this file help me set the above settings?" CreationDate="2011-05-21T16:36:52.230" UserId="7318" />
  <row Id="18144" PostId="13238" Text="I found the file if-cfg-lo at /etc/sysconfig/network-scripts; wont simply editing this file help me set the above settings?" CreationDate="2011-05-21T16:45:57.730" UserId="7318" />
  <row Id="18145" PostId="13518" Text="Moreover, locate also accepts patterns (I learned this just recently)." CreationDate="2011-05-21T17:55:37.343" UserId="1762" />
  <row Id="18146" PostId="13542" Text="It says 'unknown command' when I enter: ./setuptools-0.6c11-py2.4.egg" CreationDate="2011-05-21T18:01:40.800" UserId="7649" />
  <row Id="18147" PostId="13550" Text="Thanks, that's a great answer. Also a really useful link to the Debian Policy Manual - i guess if I read that, it'll probably give me a good foundation of knowledge. " CreationDate="2011-05-21T18:39:04.950" UserId="7638" />
  <row Id="18148" PostId="13550" Text="@JW01: You don't need to read that just to use or manage a Debian or Ubuntu system. It's background reading, if you're curious." CreationDate="2011-05-21T18:51:42.587" UserId="885" />
  <row Id="18149" PostId="13516" Text="when you put the cd in the machine and reboot, it shows a menu offering to try kubuntu, test memory, boot from 1st hard disk and check cd for infections. i think with this thing done, there is no need for a md5 check; am I wrong? also i think when a disk passes this test, it is supposed to work. i have to mention that it boots up as live disk without problem. yeah, I have burnt it and it mounts without any problems. I will update the question with fstab. thanx for your attention ;-)" CreationDate="2011-05-21T18:53:00.943" UserId="5945" />
  <row Id="18150" PostId="13542" Text="@Wienel: have you been able to `chmod`it? The setuptools `egg` is no more than a shell script, you have to execute it to install. Is `unknown command` an error you get executing the egg or is `./setuptools-0.6c11-py2.4.egg` being unknown?" CreationDate="2011-05-21T19:22:46.800" UserId="7226" />
  <row Id="18151" PostId="13307" Text="That one's only for loopback. Each interface has its own little config. " CreationDate="2011-05-21T19:28:04.070" UserId="3082" />
  <row Id="18152" PostId="13516" Text="Ok. I'm unsure how it works without an entry in `/etc/fstab`, but maybe it has been automated. So, what mount point does it use? Maybe add your entry for mount and remove the `/etc/fstab`. And the path it cannot stat - does that path exist?" CreationDate="2011-05-21T19:40:50.613" UserId="4671" />
  <row Id="18153" PostId="13560" Text="Wow... thanks for such a detailed answer!" CreationDate="2011-05-21T20:27:37.013" UserId="1049" />
  <row Id="18154" PostId="13559" Text="I believe `top` is the equivalent of Process *Explorer*, not Process *Monitor*, right?" CreationDate="2011-05-21T20:30:40.003" UserId="6252" />
  <row Id="18155" PostId="13558" Text="No, they're different. Process Monitor actually hooks system calls, not display process information. (What you're referring to is accomplished by Process Explorer, though.)" CreationDate="2011-05-21T20:31:17.163" UserId="6252" />
  <row Id="18156" PostId="13556" Text="I don't want to use my ISP's DNS servers. :\" CreationDate="2011-05-21T20:34:13.410" UserId="6960" />
  <row Id="18157" PostId="13556" Text="But I think the rest of the Internet wants you to. ;-) As long as you're caching locally it shouldn't be a problem. You might also use [Googles public DNS servers](http://code.google.com/speed/public-dns/)." CreationDate="2011-05-21T20:36:32.580" UserId="3082" />
  <row Id="18158" PostId="13561" Text="Are you sure you're referring to the equivalent of [Process Monitor](http://technet.microsoft.com/en-us/sysinternals/bb896645), and *not* [Process Explorer](http://technet.microsoft.com/en-us/sysinternals/bb896653)?" CreationDate="2011-05-21T20:38:43.460" UserId="6252" />
  <row Id="18159" PostId="13560" Score="2" Text="That's _setgid_ permission for directories, and it makes files inherit the owner-group, not the permissions." CreationDate="2011-05-21T20:40:29.460" UserId="6290" />
  <row Id="18160" PostId="13560" Score="2" Text="@George: One thing you need to remember is that group is NOT the group of the owner, it is separate. See chgrp(1)." CreationDate="2011-05-21T20:44:08.133" UserId="4962" />
  <row Id="18161" PostId="13561" Text="@Mehrdad: I see, I'd gone by the name and my memory of a tool I'd used on Windows (which is in fact Process Explorer), and not by the actual description. It's always dangerous to ask for the equivalent of a particular program, better to ask for a program with certain features." CreationDate="2011-05-21T20:45:54.480" UserId="885" />
  <row Id="18162" PostId="13558" Text="Oh, well I usually use the CLI tool vmstat for things like that. But that's system wide, not per process." CreationDate="2011-05-21T20:47:59.127" UserId="3082" />
  <row Id="18163" PostId="13559" Text="How about you run it and explore the man page. I read through the feature list you linked to of process monitor and it sounded like `htop` covered all the details except boot sequence monitoring. At best it could be activated in `screen`/`tmux` sometime part way through a linux boot cylce." CreationDate="2011-05-21T20:49:18.103" UserId="1925" />
  <row Id="18164" PostId="13559" Text="In light of your other comments, you might also be looking for `strace`, which you can activate from `htop` by hitting `s` on a process or manually from the command line when you run something or with a process id." CreationDate="2011-05-21T20:50:52.580" UserId="1925" />
  <row Id="18165" PostId="13551" Text="Thanks, that's certainly it. (Way you present it, also quite obvious – I should have thought about it a bit more.) So I recreated the partition with &quot;mkfs.ext4 -m 0 -O sparse_super -T largefile4&quot; as it's only supposed to hold some thousand larger files, now 357728 inodes vs. 1464880364 blocks are available." CreationDate="2011-05-21T21:04:37.483" UserId="7654" />
  <row Id="18166" PostId="13552" Text="Thanks, that last part is crucial. I wasn't aware that ext4 does (comparatively) a lot of the work at creation time that ntfs does during operation. " CreationDate="2011-05-21T21:14:52.107" UserId="7654" />
  <row Id="18167" PostId="13560" Text="@Random832: Thanks for the clarification.  " CreationDate="2011-05-21T22:22:50.077" UserId="3389" />
  <row Id="18168" PostId="13566" Text="+1 that definitely has an affect on system security." CreationDate="2011-05-21T22:26:47.773" UserId="1049" />
  <row Id="18169" PostId="1618" Text="I meant magnetic ones (I don't have any experience with SSD)." CreationDate="2011-05-22T00:54:47.023" UserId="305" />
  <row Id="18170" PostId="13574" Text="I was going to add the `best-practice` tag because I thought it may come down to that. " CreationDate="2011-05-21T23:30:52.570" />
  <row Id="18171" PostId="13574" Score="1" Text="@Milktrader, it's a difficult question when talking about best practices. Following standard conventions is indeed best practice, but whether you want to do it in your cases it's not clear. It will depend on your scenario. If you are hacking some quick command in the shell you probably wouldn't care much about it but if you are writing a library it is important to follow well established conventions because you don't have control of how this library is going to be used by clients. In this case you should cover all possible cases and disambiguating between option names and values is important." CreationDate="2011-05-21T23:33:28.687" />
  <row Id="18172" PostId="13576" Score="3" Text="*&quot;and a partridge in a pear tree&quot;* Better than my dry attempt. You win." CreationDate="2011-05-21T23:48:58.873" UserId="3270" />
  <row Id="18173" PostId="13576" Text="nice historical context." CreationDate="2011-05-22T00:03:25.590" />
  <row Id="18174" PostId="13576" Text="I notice that a lot of X programs (including, say, X, from Xorg), use long-style flags with a single `-`. Is that from Sun?" CreationDate="2011-05-22T02:29:22.790" UserId="2511" />
  <row Id="18175" PostId="13577" Score="2" Text="@JW01 as a webserver system administrator. Please learn how to do my job before becoming a lead web developer. You don't have to become an expert at it. But you need to learn the common mistakes, and common problems we have that are caused by people who are &quot;lead web developer's&quot;. my advice. cache, cache, cache. cache it client side, cache it server side, cache the object, cache the query. We have lots of lead developers who are blaming our servers for the fact that their code sucks and they know nothing about server administration." CreationDate="2011-05-22T05:16:15.090" UserId="29" />
  <row Id="18176" PostId="13566" Text="Windows actually does have an executable permission, although they defeat the purpose by setting it by default." CreationDate="2011-05-22T05:27:23.750" UserId="5164" />
  <row Id="18177" PostId="13577" Score="4" Text="I'd like to add that you cannot become a lead-web-developer by reading. You need to just do it (tm). Pick a web development language or framework and then run with it." CreationDate="2011-05-22T05:27:49.013" UserId="2932" />
  <row Id="18178" PostId="13578" Text="This isn't what he wants, as it is not about administration. It's not entirely your fault though, since he is looking for a magic book." CreationDate="2011-05-22T05:53:28.150" UserId="1952" />
  <row Id="18179" PostId="13577" Score="1" Text="This is like asking for a book that teaches you how to ride a bicycle." CreationDate="2011-05-22T05:53:58.900" UserId="1952" />
  <row Id="18180" PostId="13577" Text="@JW01 you might want too check out [this thread](http://unix.stackexchange.com/q/3294/29) which doesn't seem to have a whole lot of books on it, but still." CreationDate="2011-05-22T05:55:53.933" UserId="29" />
  <row Id="18181" PostId="13577" Text="@xenoterracide re: &quot;Please learn how to do my job before becoming a lead web developer. You don't have to become an expert at it&quot;.  - that's what I am trying to do." CreationDate="2011-05-22T06:09:37.977" UserId="7638" />
  <row Id="18182" PostId="1615" Text="Different distros has different target audiences, it is kind of pointless to unify a distro for a embedded system with a server distro... " CreationDate="2011-05-22T06:11:06.460" UserId="2567" />
  <row Id="18183" PostId="13577" Text="@sybreon Re: &quot;you cannot become a lead-web-developer by reading...You need to just do it&quot;. - I am doing it. Have been for years. What's so wrong with supplementing experience with reading books?   " CreationDate="2011-05-22T06:12:23.353" UserId="7638" />
  <row Id="18184" PostId="13567" Text="aah... thanx bro ;-)" CreationDate="2011-05-22T06:15:27.637" UserId="5945" />
  <row Id="18185" PostId="13577" Text="@JW01 want a real peace of advice then? once you've learned command line fairly well... and read the system administration book. Go take a job as a Linux Admin at a web host for a year (or at least 3 months). The experience may prove invaluable" CreationDate="2011-05-22T06:15:47.717" UserId="29" />
  <row Id="18186" PostId="13578" Text="Thanks Keith. This is exactly the kind of book I'm looking for going by the product description: &quot;Designed for first-time and experienced users&quot;. Not quite sure why i'm _funny_ though? :o)" CreationDate="2011-05-22T06:17:54.720" UserId="7638" />
  <row Id="18187" PostId="13577" Text="@JW01 also stop looking at Server books as an intro to an OS. You wouldn't look at Intro to Windows Server 2003 as an introduction to windows would you? No, that book (if it exists) assumes you know windows on the desktop. The Nutshell books by o'reilly are all reference books, btw. Don't buy one of those (for anything) unless you already know the subject matter." CreationDate="2011-05-22T06:22:19.040" UserId="29" />
  <row Id="18188" PostId="13577" Text="@xenoterracide - Thanks. The Linux Admin idea is interesting. Yep - I agree the Nutshell book was a mistake. " CreationDate="2011-05-22T06:35:54.433" UserId="7638" />
  <row Id="18189" PostId="13581" Text="It would be nice if people would comment on why this needs to be closed !! I see 2 close votes in 5 minutes, but not a single clarification why !! " CreationDate="2011-05-22T04:47:58.287" UserId="5363" />
  <row Id="18190" PostId="13581" Score="1" Text="Not programming." CreationDate="2011-05-22T04:54:49.727" UserId="5930" />
  <row Id="18191" PostId="13581" Text="@Andrew - From the one response I've got so far, it seems the answer is to &quot;pro grammatically filter the history right before quitting&quot; - in which case, does it not fall in the realm of stackoverflow ???" CreationDate="2011-05-22T05:28:42.117" UserId="5363" />
  <row Id="18192" PostId="13582" Text="I already have that (my history size is 10K lines), even then, I wanted to filter out all the needless &quot;exit&quot; and &quot;cd&quot; commands thats clogging up the history." CreationDate="2011-05-22T05:27:33.240" UserId="5363" />
  <row Id="18193" PostId="13581" Text="(Migrated from Super User at original asker's request. Originally asked on Stack Overflow.)" CreationDate="2011-05-22T06:53:52.703" UserId="7663" />
  <row Id="18194" PostId="13525" Text="@Gilles I would do that if there was a way to turn off syntax highlighting. (Is there?)" CreationDate="2011-05-22T07:32:33.420" UserId="1389" />
  <row Id="18195" PostId="1618" Text="I've tried to make this more readable. Can you check if I didn't screw it up." CreationDate="2011-05-22T09:05:49.710" UserId="688" />
  <row Id="18196" PostId="13525" Text="@ixtmixilix: You mean the SE syntax highlighting? See [SO-specific markup - definitive resource?](http://meta.stackoverflow.com/q/79591#79591) and in particular [Interface options for specifying language prettify](http://meta.stackoverflow.com/q/81970#81970): either use `&lt;pre&gt;` or put `&lt;!--language: lang-none--&gt;` just before the code block." CreationDate="2011-05-22T09:09:32.880" UserId="885" />
  <row Id="18197" PostId="13542" Text="Yes, I checked this with a FTP client: I can chmod the file. But I still cannot execute it." CreationDate="2011-05-22T09:43:48.893" UserId="7649" />
  <row Id="18198" PostId="13560" Text="Most distributions nowadays include support for extended Access Control Lists (ACLs) compiled into the various available filesystems by default. The name of the software package needed to access and modify these is generally called `acl` or `facl` or something similar, with the two programs named `setfacl` and `getfacl` to modify or retrieve access control list settings." CreationDate="2011-05-22T09:48:07.843" UserId="4949" />
  <row Id="18199" PostId="1859" Text="Regarding Ubuntu One: Isn't any web broswer (say Firefox) really that different (ie a &quot;a free client for a non-free web server&quot;)?" CreationDate="2011-05-22T09:48:59.733" UserId="6151" />
  <row Id="18200" PostId="1804" Text="@Mr.ShinyandNew: maybe what he meant is the decoding of the video from DVDs." CreationDate="2011-05-22T09:49:31.590" UserId="688" />
  <row Id="18201" PostId="1836" Text="What does *My to be* mean?" CreationDate="2011-05-22T09:50:11.373" UserId="688" />
  <row Id="18202" PostId="1836" Text="@Tshepang - He means, &quot;My soon to be HTPC&quot;, meaning it's not completed yet." CreationDate="2011-05-22T10:49:27.887" UserId="3887" />
  <row Id="18203" PostId="1836" Text="@Rob: thanks..." CreationDate="2011-05-22T11:00:03.967" UserId="688" />
  <row Id="18204" PostId="13583" Text="Really ?? Wow - thats a pretty big drawback to tcsh IMHO...Any ideas as how one might work around that ?" CreationDate="2011-05-22T11:41:27.890" UserId="5363" />
  <row Id="18205" PostId="13525" Text="@Gilles Thanx. I will do that next time." CreationDate="2011-05-22T12:59:51.737" UserId="1389" />
  <row Id="18206" PostId="13566" Text="Extensions don't matter on windows either." CreationDate="2011-05-22T13:13:40.417" UserId="4917" />
  <row Id="18207" PostId="13585" Text="Never used that IDE, but I don't have any issues with the Linux clipboard. Are there other sch situations?" CreationDate="2011-05-22T13:42:55.327" UserId="688" />
  <row Id="18208" PostId="13585" Score="1" Text="@Tshepang - one example is in gvim, if I select a text, do edit--&gt;copy, then select another piece of text, then I effectively have two different pieces of text to paste. Middle click will paste the last text I selected, while edit-&gt;paste will paste the text I edit-&gt;copied." CreationDate="2011-05-22T14:19:37.803" UserId="1594" />
  <row Id="18209" PostId="13588" Text="I don't know if the fact that I'm using Gmail's IMAP has anything to do with it." CreationDate="2011-05-22T14:51:53.093" UserId="688" />
  <row Id="18210" PostId="13587" Score="2" Text="It's totally up to you how you use (if you use it) your knowledge of anything.  To give an example: knowing how processors work at the assembly level is of great help when debugging programs written in higher level languages, such as C." CreationDate="2011-05-22T14:58:32.870" UserId="1946" />
  <row Id="18211" PostId="13585" Text="There is concept of clipboard in the X Window system.  Given that most of the time you work in X, this is only a matter of configuring/patching programs not using X clipboard to use it.  For example, X-window enabled GNU Emacs don't copy to X clipboard by default, but can be easily configured to do so." CreationDate="2011-05-22T15:01:31.217" UserId="1946" />
  <row Id="18212" PostId="1863" Text="This doesn't really answer the question about &quot;what makes....&quot;." CreationDate="2011-05-22T15:06:14.347" UserId="2511" />
  <row Id="18213" PostId="13583" Text="@shan23: tcsh is an old shell that hasn't seen much development in a while. Tcsh was an advanced shell in the 1980s, but it's since been surpassed by bash and zsh." CreationDate="2011-05-22T15:39:13.373" UserId="885" />
  <row Id="18214" PostId="13572" Text="[Please provide context for links.](http://unix.stackexchange.com/questions/how-to-answer)" CreationDate="2011-05-22T15:44:02.593" UserId="885" />
  <row Id="18215" PostId="13591" Score="2" Text="Voted to close. While I'm interested in the question, it's probably more of a programming question, so should be on SO." CreationDate="2011-05-22T15:50:55.600" UserId="250" />
  <row Id="18216" PostId="13591" Text="A programming answer might be something like [Bash: Check if array element exists](http://fvue.nl/wiki/Bash:_Check_if_array_element_exists)" CreationDate="2011-05-22T15:57:22.423" UserId="250" />
  <row Id="18217" PostId="13591" Score="3" Text="@phunehehe: I disagree with moving to SO, not only because we have a history of accepting shell programming, but also because it's not just a question of how to do it but also a question of what the spec should be." CreationDate="2011-05-22T16:00:32.863" UserId="885" />
  <row Id="18218" PostId="13590" Text="I don't understand your constraints or your requirements. What are you using a VM for? How much memory is allocated to it? What are you doing in it? What actions are slow?" CreationDate="2011-05-22T16:02:47.670" UserId="885" />
  <row Id="18219" PostId="13577" Text="Please see [the ensuing meta thread](http://meta.unix.stackexchange.com/questions/615/book-recommendation-questions)." CreationDate="2011-05-22T16:07:56.953" UserId="885" />
  <row Id="18220" PostId="13590" Text="Hi, the VM is going to be a SSH server, a point of entry to a greater network, it needn't do much else than that, just all the other server do important task I do no want them to have an exposed ssh server. The vm has 512MiB of memory, I can give it more is you think it would help but it currently isn't touching more than a 3rd Also" CreationDate="2011-05-22T16:13:15.760" UserId="7669" />
  <row Id="18221" PostId="13569" Text="Thanks for your answer." CreationDate="2011-05-22T18:17:06.400" UserId="7660" />
  <row Id="18222" PostId="9983" Text="Personally, @Faheem, I prefer your answer. The reason why is that it was very easy for me to turn it around into 'delete all lines smaller than x'. I don't use Python all the time, but when I do I always feel I should learn it well." CreationDate="2011-05-22T18:18:19.023" UserId="1389" />
  <row Id="18223" PostId="13593" Score="2" Text="I would say the user’s intent is pretty clear from ‘ye’." CreationDate="2011-05-22T18:29:22.180" UserId="7670" />
  <row Id="18224" PostId="13585" Text="@alex Not exactly true, there are *multiple* concepts of clipboard in the X Window System." CreationDate="2011-05-22T18:30:13.577" UserId="1762" />
  <row Id="18225" PostId="13584" Text="You should ask one answerable question, see also the FAQ. http://unix.stackexchange.com/faq" CreationDate="2011-05-22T18:32:13.777" UserId="1762" />
  <row Id="18226" PostId="13542" Text="did you double-checked the file name? Have you got necessary permissions?" CreationDate="2011-05-22T18:38:43.503" UserId="7226" />
  <row Id="18227" PostId="13585" Score="1" Text="@ripper234: That's because Vim by default copies to its internal buffer. If you want to copy to the system clipboard, use the + special buffer, to copy `&quot;+y` and to paste `&quot;+p` in the Command Mode. The * buffer is the middle click buffer, and there are many regular buffers which can only be used by Vim which can be accessed by prefixing the copy/paste with &quot;a to &quot;b (e.g. `&quot;aY`)" CreationDate="2011-05-22T18:38:54.117" UserId="1989" />
  <row Id="18228" PostId="13515" Text="@Blender Can you post an answer and accept it if it will help other people?" CreationDate="2011-05-22T18:45:35.077" UserId="73" />
  <row Id="18229" PostId="13579" Text="Thanks. The reviews look promising - so it might just fit the bill. " CreationDate="2011-05-22T19:23:54.103" UserId="7638" />
  <row Id="18230" PostId="2106" Text="Banshee is now the default audio player on Ubuntu - but I wouldn't use it as an example of anything - it frequently crashes and I've heard a lot of bad things about it." CreationDate="2011-05-22T19:31:37.027" UserId="1049" />
  <row Id="18231" PostId="13515" Text="Not sure what to post. I'll just link to my Github repo and describe what I did then..." CreationDate="2011-05-22T20:10:52.833" UserId="3032" />
  <row Id="18232" PostId="12053" Text="It's *possible* to use bash securely? :P" CreationDate="2011-05-22T20:21:08.010" UserId="7001" />
  <row Id="18233" PostId="13597" Score="1" Text="Nice. But I seem to be an idiot. Where can I find a list of the arguments that `locale` knows about? The man page on my Mac OS 10.5 box doesn't seem to have them." CreationDate="2011-05-22T20:48:48.440" UserId="3270" />
  <row Id="18234" PostId="13591" Score="4" Text="I wrote a script much like that once.  Then the program was translated to French and Simplified Chinese.  I skimmed the French version and saw my prompt was translated to &quot;Enter oui or non&quot; but of course the code still wanted &quot;Y*&quot; or &quot;N*&quot;" CreationDate="2011-05-22T21:38:05.860" UserId="7677" />
  <row Id="18235" PostId="13597" Text="Nice. Could you please link back to the source?" CreationDate="2011-05-22T21:51:50.087" UserId="7670" />
  <row Id="18236" PostId="13597" Score="1" Text="@dmckee you can do `locale -k LC_MESSAGES` (and for the other LC_whatever), or see [here](http://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html) for ones defined by the standard. @Daniel what source other than the locale utility page that I did link?" CreationDate="2011-05-22T22:20:13.493" UserId="6290" />
  <row Id="18237" PostId="13572" Text="Very helpful! Thanks." CreationDate="2011-05-22T22:29:42.683" UserId="7660" />
  <row Id="18238" PostId="13033" Text="Hey, thanks for responding. I didn't expect the patch to be bug free. In fact, I was hoping I could contribute meaningfully to it. In fact I think I have some good information for you guys, even though it might be old since I haven't had a chance to work much on this lately. I'll stop by irc when I get the chance." CreationDate="2011-05-22T23:58:33.693" UserId="1571" />
  <row Id="18239" PostId="2132" Text="You can install ubuntu on a xoom (I think)" CreationDate="2011-05-23T00:11:48.293" UserId="1571" />
  <row Id="18240" PostId="1981" Text="I use dropbox without nautilus. It's actually super easy to install that way." CreationDate="2011-05-23T00:26:34.653" UserId="1571" />
  <row Id="18241" PostId="13601" Text="Are each on of these files, valid html files with a &lt;head&gt; and &lt;body&gt; section?" CreationDate="2011-05-23T00:39:23.683" UserId="7505" />
  <row Id="18242" PostId="13585" Text="@Lie what ripper234 said is correct. In gvim the menu action `copy` is the same as `&quot;+y`. However the fact that vim has its own internal &quot;clipboard&quot; only puts more emphasis on the fact there are *multiple* clipboards, even if some are software specific, hence the confusion." CreationDate="2011-05-23T01:36:54.977" UserId="4781" />
  <row Id="18243" PostId="13605" Score="2" Text="See this question I asked on SO: http://stackoverflow.com/questions/3222810/sorting-on-the-last-field-of-a-line" CreationDate="2011-05-23T02:23:02.947" UserId="1078" />
  <row Id="18244" PostId="13609" Score="1" Text="Since this is with find(1), you can skip the awk part and use `-printf '%f/%p\n'`" CreationDate="2011-05-23T03:20:11.823" UserId="1078" />
  <row Id="18245" PostId="13523" Text="4.7.3's qmake gets installed at /usr/loca/Trolltech/Qt-4.7.3/bin ... I tried running &quot;hash qmake&quot; but still returns the old version. How do I point it to the new qt version? " CreationDate="2011-05-23T03:30:03.893" UserId="7621" />
  <row Id="18246" PostId="13583" Text="Short of, as Gilles intimates, moving to a modern shell, no. " CreationDate="2011-05-23T04:01:47.757" UserId="6761" />
  <row Id="18247" PostId="13583" Text="@Giles - Do you imply this feature I'm looking for is supported in zsh ? If so, can you give a link/let me know how this can be enabled in zsh ?" CreationDate="2011-05-23T04:14:27.490" UserId="5363" />
  <row Id="18248" PostId="13583" Text="@shan http://unix.stackexchange.com/questions/6094/is-there-any-way-to-keep-a-command-from-being-added-to-your-history" CreationDate="2011-05-23T04:37:39.330" UserId="6761" />
  <row Id="18249" PostId="13485" Text="inet_interfaces is already set to all. Any other ideas? I ran the lsof -ni:25 command and I got the following &quot;master  7361 root   11u  IPv4 1856221       TCP *:smtp (LISTEN)&quot;." CreationDate="2011-05-23T05:03:29.443" UserId="7620" />
  <row Id="18250" PostId="13461" Text="Removing it sounds good - but as there are **dependencies** to `nfs-common`, this will not work... Other ideas?" CreationDate="2011-05-23T05:57:31.327" UserId="5193" />
  <row Id="18251" PostId="13614" Text="Lots of concatenated magic. Interesting but we are limited to sh syntax. +1" CreationDate="2011-05-23T08:37:42.870" UserId="4781" />
  <row Id="18252" PostId="13609" Text="@Shawn - indeed our setup is slightly more complicated. It does include variable subdir depths. Edited the question to reflect this fact. My apologies for not including this at first." CreationDate="2011-05-23T08:44:46.763" UserId="4781" />
  <row Id="18253" PostId="13605" Text="@camh - if possible I would like to use only unix commands. In any case my question is pretty much a duplicate of yours. Can you transfer the best solution to this thread (keep a link to the original anyways) so I can mark is as the solution?" CreationDate="2011-05-23T08:51:55.240" UserId="4781" />
  <row Id="18254" PostId="13619" Text="ahh, okay - I wasn't sure which was the best place to ask. I presume with a rep. of 1 I cannot move my question between SE sites so I just have to let someone else do it?" CreationDate="2011-05-20T10:55:51.880" UserId="7572" />
  <row Id="18255" PostId="13619" Text="@Norky I have flagged the question for moderators." CreationDate="2011-05-20T11:14:31.573" UserId="2671" />
  <row Id="18256" PostId="13619" Text="@Let_Me_Be and @Norky - this question is on topic here as well. But, @Norky, if you *personally* would prefer to put the question up on Unix.SE instead then please feel free (and @ comment be back so I can remove this one), but otherwise there's nothing wrong with it here." CreationDate="2011-05-20T11:27:47.960" />
  <row Id="18257" PostId="13619" Text="@DMA57361 - I have no particular preference, whichever you think is best :)" CreationDate="2011-05-20T13:14:10.800" UserId="7572" />
  <row Id="18258" PostId="13619" Text="Ah, @Norky, the point is you can use whichever *you* think is best - it's your question and it's perfectly valid on both sites, you'll just get answers from a different community. So, if you're fine with it here, we'll leave it here for now. However, if the post hasn't received an answer in the near future the @ me back again and I'll shift it for you." CreationDate="2011-05-20T13:16:24.247" />
  <row Id="18259" PostId="13619" Text="@DMA57361 - it appears my question has drawn a few eyes but no answers over the weekend. Would you do me the kindness of moving it to unix.SE, please? Thank you." CreationDate="2011-05-23T08:59:15.383" UserId="7572" />
  <row Id="18260" PostId="13619" Text="@Norky, of course. I'll send it over now for you." CreationDate="2011-05-23T09:01:19.920" />
  <row Id="18261" PostId="13609" Text="@Unode: Shawn's solution handles variable depth just fine, it's the canonical solution to this problem (up to minor variations)." CreationDate="2011-05-23T09:40:05.053" UserId="885" />
  <row Id="18262" PostId="13485" Text="That result sounds like it's listening! Check what interface it's listening on with `netstat -lntp`." CreationDate="2011-05-23T10:28:41.050" UserId="1925" />
  <row Id="18263" PostId="13605" Text="@Unode: If @Shawn makes the changes I suggested in my comment (use `-printf` instead of `awk`), I think that is the best solution. I've reworked my original implementation to use this method." CreationDate="2011-05-23T10:43:00.643" UserId="1078" />
  <row Id="18264" PostId="13478" Text="@jonescb: yup, I have the devel package installed as well ... " CreationDate="2011-05-23T11:15:32.267" UserId="7621" />
  <row Id="18265" PostId="13620" Text="This question doesn't have nearly enough information to solve. You don't mention your os or browser, what your network situation is, whether you have access to a router or DNS configs, whether you are blocking for one for a user, a computer, a network, or what. Please edit the question and be a lot more specific or it is likely to get closed as unanswerable." CreationDate="2011-05-23T12:11:36.967" UserId="1925" />
  <row Id="18266" PostId="13388" Text="If you want to insist that &quot;nfs is very bad&quot; and that &quot;your solution would be samba&quot;, please just do whatever you feel like. If you want input from this community of experts, please ask questions and listen to the answers." CreationDate="2011-05-23T12:15:38.243" UserId="1925" />
  <row Id="18267" PostId="13388" Text="NFS security is addressable and it doesn't freeze clients. Clients freeze when their file systems become unavailable, but this would happen for any file system. I use NFS for the root file system of dozens of machines on a single network and don't have a problem with anything freezing, you are only talking about accessing media with it. It's still my #1 suggestion." CreationDate="2011-05-23T12:17:09.227" UserId="1925" />
  <row Id="18268" PostId="13628" Text="I can see in my rc.d that the debian daemon starter can accept users  `grep -nire start-stop-daemon /etc/init.d/ /etc/init.d/xpilot-ng-server:35:	start-stop-daemon --start --quiet --chuid $USER --background \`&#xA;" CreationDate="2011-05-23T13:25:55.090" UserId="7525" />
  <row Id="18269" PostId="13631" Text="@Cédric Julien: `sed` and `grep` are pretty much the same in this situation... I'm actually looking for a single step option to ps or pgrep (or similar) which only outputs &quot;active&quot; processes...   Post filtering like this relies on a full understanding of the intial output, which I don't have... eg. `[gnuserv] &lt;defunct&gt;` took me conpletely by surprise (what other surprises can I expect?.." CreationDate="2011-05-23T13:41:32.680" UserId="2343" />
  <row Id="18270" PostId="13625" Text="See my clarification. I want it to print only the sum." CreationDate="2011-05-23T13:41:57.693" UserId="1262" />
  <row Id="18271" PostId="13627" Text="700-1500-2xxx MByte videos" CreationDate="2011-05-23T13:42:29.903" UserId="6960" />
  <row Id="18272" PostId="13626" Text="I want it to have the same effect as `du -s dir`. Which will summarize disk usage of the directory, and nothing else." CreationDate="2011-05-23T13:44:14.803" UserId="1262" />
  <row Id="18273" PostId="1981" Text="Yeah me too (now), but at that time I wasn't.. =)" CreationDate="2011-05-23T14:18:43.043" UserId="665" />
  <row Id="18274" PostId="13636" Score="4" Text="Were none of your past seven questions answered? People might be more inclined to help if you select some answers as accepted." CreationDate="2011-05-23T14:08:04.800" />
  <row Id="18275" PostId="13636" Score="3" Text="I think this is more on-topic for superuser.com. I've voted to migrate the post there. If enough others agree the post will be migrated automatically." CreationDate="2011-05-23T14:08:26.577" />
  <row Id="18276" PostId="13637" Text="if you don't have execdir on your find you can always use exec instead." CreationDate="2011-05-23T14:07:45.453" />
  <row Id="18277" PostId="13637" Text="@Paul R - yes, I forgot that there, it's added now." CreationDate="2011-05-23T14:12:01.960" />
  <row Id="18278" PostId="13637" Score="1" Text="depending on `mv` implementation, `-i` option may be of use to protect from collisions." CreationDate="2011-05-23T14:17:26.120" UserId="6774" />
  <row Id="18279" PostId="13637" Text="@Michael -b or -n might also be relevant for handling collisions, depending on which mv it is and what the desired behaviour is." CreationDate="2011-05-23T14:25:08.777" />
  <row Id="18280" PostId="385" Score="1" Text="See also [How do I reuse the last output from the command line?](http://unix.stackexchange.com/questions/9024)." CreationDate="2011-05-23T14:59:25.070" UserId="885" />
  <row Id="18281" PostId="13638" Score="2" Text="Just because the first is equivalent to the second it doesn't mean that it &quot;translates to&quot; that." CreationDate="2011-05-23T15:37:59.677" UserId="1946" />
  <row Id="18282" PostId="13638" Text="@alex: I know! I just used it as an example. changed now." CreationDate="2011-05-23T16:01:00.093" UserId="912" />
  <row Id="18283" PostId="13643" Text="I don't think he's talking about the `?` register; the `?` was just ending a sentence that contained a question. He's using the `+` register but needs it to work between vim instances (so your part about using the system clipboard will probably solve his problem)" CreationDate="2011-05-23T16:47:14.307" UserId="73" />
  <row Id="18284" PostId="13622" Text="You don't need that &quot;for&quot; loop and multiple ps(1) invocations, FWIW:  `ps $(pgrep ...)`." CreationDate="2011-05-23T16:56:22.370" UserId="7703" />
  <row Id="18285" PostId="13643" Text="still not working with &quot;+gy" CreationDate="2011-05-23T16:58:14.610" UserId="7607" />
  <row Id="18292" PostId="13652" Text="Thanks, this is the exact thing I needed." CreationDate="2011-05-23T04:54:41.310" />
  <row Id="18293" PostId="13652" Text="@Christopher, you're most welcome." CreationDate="2011-05-23T04:56:05.633" UserId="6766" />
  <row Id="18295" PostId="13637" Score="2" Text="I would use cp first, and remove the original only after verifying that everything is fine." CreationDate="2011-05-23T18:18:05.290" UserId="1762" />
  <row Id="18296" PostId="13654" Score="3" Text="Reinstall your OS, man (unless you have backups)... what did you think was going to happen if you went mucking about in the /boot dir?" CreationDate="2011-05-23T18:18:05.480" UserId="5603" />
  <row Id="18297" PostId="13647" Text="Actually not all of the files are `.doc`, it appears that some of them are `.xls`, for which I get `application/msword` (once) and for `.doc`s I get it twice." CreationDate="2011-05-23T19:08:50.713" UserId="1946" />
  <row Id="18298" PostId="13642" Score="2" Text="Can you use gvim, instead? That is how you can use the X clipboard to transfer text using the X clipboard. Yes, you use those exact keys. Your vim doesn't have xterm_clipboard support." CreationDate="2011-05-23T19:21:12.343" UserId="3082" />
  <row Id="18299" PostId="13642" Text="yes, gvim worked! " CreationDate="2011-05-23T19:29:05.813" UserId="7607" />
  <row Id="18302" PostId="1618" Text="Thanks. I just finished the exam session so I hadn't had time to look on it." CreationDate="2011-05-23T20:14:48.063" UserId="305" />
  <row Id="18303" PostId="13664" Text="This belongs on superuser.com" CreationDate="2011-05-23T17:13:00.913" UserId="5724" />
  <row Id="18304" PostId="13664" Text="Do you really want a non-root user potentially changing the machine's IP address?" CreationDate="2011-05-23T17:14:07.637" UserId="5724" />
  <row Id="18305" PostId="13660" Text="Related http://unix.stackexchange.com/questions/5017/ssh-to-decrypt-encrypted-lvm-during-headless-server-boot" CreationDate="2011-05-23T20:21:14.390" UserId="3459" />
  <row Id="18306" PostId="13661" Score="1" Text="Since you tried screen and nohup, we probably need more information about your specific programs." CreationDate="2011-05-23T20:47:24.587" UserId="1571" />
  <row Id="18307" PostId="13657" Text="@pilcrow: This looks like what I'm after... The STAT column seems like it holds the information I need (ie, the status), so although there isn't a direct option, it would be quite reliable to test for a specific status via sed.... I'll have a closer look at this a bit later...it is looking good" CreationDate="2011-05-23T21:18:32.723" UserId="2343" />
  <row Id="18308" PostId="13602" Text="Do you have custom kernel code? Can you monitor memory usage regularly and try to associate it with particular syscalls or device events?" CreationDate="2011-05-23T21:18:42.753" UserId="885" />
  <row Id="18309" PostId="13660" Text="Thanks Arrowmaster!" CreationDate="2011-05-23T21:35:41.207" UserId="7699" />
  <row Id="18310" PostId="13655" Text="Restoring `/boot` isn't going to be enough, the boot sector may need to be updated with the new files' location." CreationDate="2011-05-23T21:42:17.287" UserId="885" />
  <row Id="18311" PostId="13647" Text="Strange indeed. What is the exact `file` invocation (with exact file names)? What is the exact `file` version (version number, distribution, …)?" CreationDate="2011-05-23T21:55:24.497" UserId="885" />
  <row Id="18312" PostId="13654" Text="Actually, you might be able to recover by reinstalling the boot loader.  If the kernel files are still there you have a shot (you probably conked `menu.lst` or other files important to GRUB)." CreationDate="2011-05-23T22:13:27.393" UserId="3389" />
  <row Id="18313" PostId="13655" Score="1" Text="If it's going into GRUB to display a GRUB error message the boot sector is OK." CreationDate="2011-05-23T22:14:01.197" UserId="3389" />
  <row Id="18314" PostId="13071" Text="@Jander, if users own files in the file system, they must have user ids. We are talking of user authentication, not of user authorization. If you want to avoid user ids, you'll have to write you own &quot;file system&quot; authorization mechanism." CreationDate="2011-05-23T22:21:32.320" UserId="2634" />
  <row Id="18315" PostId="13636" Text="possible duplicate of [How to copy all html files from a directory to another?](http://unix.stackexchange.com/questions/12966/how-to-copy-all-html-files-from-a-directory-to-another)" CreationDate="2011-05-23T22:25:27.360" UserId="885" />
  <row Id="18316" PostId="13485" Text="Here is the line for port 25  &quot;tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      7361/master&quot;. Is &quot;master&quot; the name used by postfix? If so, what else could be blocking my server? If it helps it's a godaddy server. That shouldn't be a problem for inbound connections though." CreationDate="2011-05-23T23:36:44.113" UserId="7620" />
  <row Id="18317" PostId="13678" Text="Are you on shared hosting?" CreationDate="2011-05-23T22:57:17.693" />
  <row Id="18318" PostId="13678" Score="5" Text="sudo is more than just &quot;giving you root access&quot;. It has fine grained controls that let you restrict commands the user can run, as you've noticed here." CreationDate="2011-05-23T23:01:14.333" />
  <row Id="18319" PostId="13678" Text="Sounds like limited sudo permissions in your `/etc/sudoers` file. If you don't control your sudo configuration you're not going to be able to do anything about this. `sudo` can be configured to allow only specific commands to be run with escalated privileges, which appears to be the case here... see `man sudoers` or google &quot;sudo configuration&quot; for more details." CreationDate="2011-05-23T23:04:55.487" />
  <row Id="18320" PostId="13602" Text="I have the kernel source, but I'm not 100% sure if it's custom or not, or what's been done to it. I came kind of late onto this project. I can monitor memory usage, but it grows with literally nothing running and there's no interaction with the device. Only what's shown above, which, save for my ssh session, all kernel daemons. I did try killing sshd and restarting it. No change. I unloaded my wifi module (which is the only module on the entire system) and no change. It seems to grow very slowly but consistently. Is there a way I can associate it with syscalls?" CreationDate="2011-05-24T00:20:13.727" UserId="1571" />
  <row Id="18321" PostId="13654" Text="This has to be a troll. Like that story of that person who wanted to clean up their `C:\system32` directory or whatever." CreationDate="2011-05-24T00:27:16.787" UserId="1571" />
  <row Id="18322" PostId="13602" Text="@Falmarri: You can [trace kernel memory allocations](http://www.kernel.org/doc/Documentation/trace/events-kmem.txt). I've never done it so I don't know how practical this is, but it's definitely worth a try." CreationDate="2011-05-24T00:27:24.243" UserId="885" />
  <row Id="18323" PostId="13684" Text="Thanks!...awesome explanation!" CreationDate="2011-05-24T01:28:57.610" UserId="7716" />
  <row Id="18324" PostId="13571" Text="Aha!  The secret sauce is in the link you mention, Skype MUST BE ACTIVELY RECORDING while choosing the mic in pavucontrol.  Thanks!" CreationDate="2011-05-24T01:40:26.153" UserId="4193" />
  <row Id="18326" PostId="13688" Text="Is the last line supposed to stay `jkl`?" CreationDate="2011-05-24T05:41:45.420" UserId="73" />
  <row Id="18327" PostId="13689" Text="That works great, but I forgot to mention that i ONLY want it to replace the **first** blank line. I should be able to add &quot;1&quot; somewhere at the end , bu everywhere I try I seem to get an error." CreationDate="2011-05-24T05:52:15.183" UserId="7723" />
  <row Id="18328" PostId="13674" Text="Of course he can't do this if he can't boot. He'll need a rescue or live media image to boot from first." CreationDate="2011-05-24T06:15:34.680" UserId="3082" />
  <row Id="18329" PostId="13654" Text="+1 for a) the humor, and b) the guts to post such a thing to the world. :-)" CreationDate="2011-05-24T06:16:17.037" UserId="3082" />
  <row Id="18330" PostId="13689" Text="I am getting a syntax error &quot;bad flag in substitute command: '}'&quot; on a Mac running 10.6.7?" CreationDate="2011-05-24T06:16:40.707" UserId="7723" />
  <row Id="18331" PostId="13689" Text="If I know the line number, which I do, I can then use the following: s/^$/% ghi\\\n%/' Only problem left is that that \n shows up two characters &quot;\&quot; and &quot;n&quot; near the end of the line as opposed to inserting a carriage return.&#xA;" CreationDate="2011-05-24T06:44:01.140" UserId="7723" />
  <row Id="18332" PostId="13690" Text="This also produces a syntax errror, even if I attempt to put it on one line." CreationDate="2011-05-24T06:45:31.187" UserId="7723" />
  <row Id="18333" PostId="13647" Text="@Gilles: `file-4.17-15.el5_3.1.x86_64` on CentOS 5.5 Final.  Command line is like this: `file -bi /path/to/file/&lt;md5-like-string&gt;`, where the filename doesn't have any suffix." CreationDate="2011-05-24T07:20:15.587" UserId="1946" />
  <row Id="18334" PostId="2792" Text="You should never outsource your passwords.  http://blog.lastpass.com/2011/05/lastpass-security-notification.html" CreationDate="2011-05-24T07:32:39.090" UserId="7030" />
  <row Id="18335" PostId="13624" Text="Your proposition sounds great, I'll try it. Thank you very much." CreationDate="2011-05-24T07:37:01.527" UserId="5938" />
  <row Id="18336" PostId="13686" Score="2" Text="Shouldn’t your question be the other way round? As it is, the answer is trivial: “because it’s five times shorter”." CreationDate="2011-05-24T08:33:30.870" UserId="3651" />
  <row Id="18337" PostId="13670" Text="Thanks - this works well enough, though (what a surprise) the program that I'm running has no method to redraw itself, so at every re-attach I lose the contents of the screen buffer. Any solution to that?" CreationDate="2011-05-24T08:36:34.130" UserId="7709" />
  <row Id="18338" PostId="13657" Text="@pilcrow: Thanks.. your answer has cut through the fog... The once-was gobbledegook in man ps is now becoming meaningful.. I see why you said &quot;...and, better yet, control that output as desired.&quot; ... it is very customizable, and the *stat codes* legend is under *PROCESS STATE CODES* in the man page.." CreationDate="2011-05-24T08:47:20.937" UserId="2343" />
  <row Id="18339" PostId="13599" Text="Even in `ingress qdisc` there will be packet loss. I specified 2mbit as the limit, and WAN facing interface shows incoming rate around 300kBps. On NAT facing interface it was stable 250kBps. But it was slightly better than rate limting on NAT facing interface. In my case I have one WAN interface, and more than one NAT interfaces facing separate local networks. For one network I need to limit download speed to 2mbit.  " CreationDate="2011-05-24T10:02:59.117" UserId="2926" />
  <row Id="18340" PostId="13694" Text="You should be able to just do something like `vim ~/.bash_profile`. If you can't, then you have probably borked the file's permissions or something." CreationDate="2011-05-24T09:50:59.837" />
  <row Id="18341" PostId="13701" Score="1" Text="I am of course assuming, that you mean that regular sound producing applications (eg: VLC, xmms, mplayer) produce sound okay." CreationDate="2011-05-24T10:54:30.723" UserId="7727" />
  <row Id="18342" PostId="13599" Text="Re: &quot;Packet loss will still occur, as it's probably the only viable way for your router to signal congestion.&quot;  TCP signals congestion with packet loss; there is no magic associated with ingress or egress queueing." CreationDate="2011-05-24T10:57:48.720" UserId="6766" />
  <row Id="18343" PostId="13557" Text="When you say slow NFS, what leads you to believe that the NFS performance should be faster?  Can you quantify slow?  Does time of day matter WRT performance?" CreationDate="2011-05-24T11:07:27.617" UserId="6766" />
  <row Id="18344" PostId="13701" Text="Yes, indeed, that is the device. Thank you. You wouldn't believe how much googling I did before I came here for such a simple question!" CreationDate="2011-05-24T11:49:25.080" UserId="7138" />
  <row Id="18345" PostId="13693" Text="@Lance I've brought this up on meta for [a discusion on whether it's &quot;ontopic&quot;](http://meta.unix.stackexchange.com/q/622/29) If you'd like to defend it from being closed." CreationDate="2011-05-24T12:11:20.233" UserId="29" />
  <row Id="18346" PostId="13676" Text="Pass the file through `cpp` :)" CreationDate="2011-05-24T12:40:33.790" UserId="4319" />
  <row Id="18347" PostId="13689" Text="@Peter Is the mac version of sed different? I don't really know anything about macs. If you know the line number this is way easier though: `sed '3 i ghi'` (to insert ghi above line 3)" CreationDate="2011-05-24T14:01:29.500" UserId="73" />
  <row Id="18348" PostId="13485" Text="Um, according tothat you are listening. now we have to ask you what test you are using to say it isn't.Are there firewall rules in play?" CreationDate="2011-05-24T14:45:19.793" UserId="1925" />
  <row Id="18349" PostId="13639" Text="This is a fair guess but would only work for fixed string case folding and therefore doesn't fit with the rest of the mechanism most efficient for general regular expression matching." CreationDate="2011-05-24T15:10:57.110" UserId="1294" />
  <row Id="18350" PostId="13658" Text="It is best (unless you know your boot loader and OS kernel *very* well) to leave the /boot partition alone. That advice holds true whether we're talking about Linux or a BSD or something else altogether..." CreationDate="2011-05-24T15:14:47.790" UserId="3110" />
  <row Id="18351" PostId="13701" Text="Note: this must be a fairly common problem since the latest Linux kernels (2.6+) has migrated to supporting ALSA, in place of OSS. /dev/dsa is OSS and /dev/snd is ALSA" CreationDate="2011-05-24T15:28:20.200" UserId="7138" />
  <row Id="18352" PostId="13674" Text="sorry - yes, you'll need a live cd that supports grub2. I believe an ubuntu live cd will do the trick. " CreationDate="2011-05-24T15:39:20.277" UserId="7714" />
  <row Id="18354" PostId="13707" Text="Two things:  Which grep?  On linux grep, egrep, fgrep are often or always links t the same executable, but that hasn't traditionally been true.  Egrep often used different algorithms than grep, fgrep always used to. See: Andrew Hume, &quot;A tale of two greps&quot;, Software Practice and Experience, 18, #11, Nov. 1988. See Russ Cox Regular Expression Matching Can Be Simple And Fast (http://swtch.com/~rsc/regexp/regexp1.html) for timings of DFA and NFA based regexp matching." CreationDate="2011-05-24T15:57:02.950" UserId="732" />
  <row Id="18355" PostId="13706" Text="Are you absolutely sure you're typing the password right? If you aren't using a US keyboard layout, have you declared your layout to Grub?" CreationDate="2011-05-24T16:17:18.187" UserId="885" />
  <row Id="18356" PostId="13704" Text="@neurino: good one... I initally looked at this and couldn't understand it (so it wen't into the too-hard basket)... but after an in-depth look at Gilles' answer (which took quite along time) I had another look at your answer and it looked remarkably understandable I think I'm starting to understand `sed` :)...  You are appending each line directly to the pattern-space, and when a &quot;normally-ended&quot; line comes along, the entire pattern space falls through and auto prints (because there is no -n option)... neat ! .. +1" CreationDate="2011-05-24T16:27:55.167" UserId="2343" />
  <row Id="18357" PostId="13709" Text="Neurino's solution is pretty simple actually. Speaking of mildly complicated sed, [this may interest you](http://stackoverflow.com/questions/5930246/what-does-this-sed-expression-from-todo-sh-do)." CreationDate="2011-05-24T16:41:13.500" UserId="885" />
  <row Id="18358" PostId="9983" Text="@ixtmixilix: Yes, using a full featured language like Python is pretty flexible. Thanks for the comment." CreationDate="2011-05-24T16:46:05.170" UserId="4671" />
  <row Id="18359" PostId="13476" Text="That worked great, thanks!" CreationDate="2011-05-24T17:04:37.033" UserId="7617" />
  <row Id="18360" PostId="13661" Text="Try `export TERM=at386` before you launch `screen`." CreationDate="2011-05-24T17:21:16.507" UserId="3389" />
  <row Id="18361" PostId="13706" Text="@Gilles, good question and of course the obvious one to be asked.  To ensure that typing the password wasn't an issue, I changed to a much simpler one on a temporary basis.  Yes, I am using the keyboard layout.  " CreationDate="2011-05-24T17:37:19.193" UserId="7635" />
  <row Id="18362" PostId="13706" Text="U.S. keyboard layout that is." CreationDate="2011-05-24T17:46:17.683" UserId="7635" />
  <row Id="18363" PostId="13689" Text="@Michael: I do not know of any specific differences between mac sed and other. But [OS X is certified as UNIX as per this question](http://unix.stackexchange.com/questions/1489/is-mac-os-x-unix). I have posted a follow up to find if there are [differences between sed on mac osx and other standard sed](http://unix.stackexchange.com/questions/13711/differences-between-sed-on-mac-osx-and-other-standard-sed)" CreationDate="2011-05-24T18:18:09.067" UserId="7723" />
  <row Id="18364" PostId="13676" Text="So many wonderful answers, I wish I could mark them all as the answer!  Thanks for the great look at awk, sed, and perl, these were great examples." CreationDate="2011-05-24T18:20:49.847" UserId="4143" />
  <row Id="18365" PostId="13690" Text="@Jonathan: I have seen quite a few posts about giving up on `csh` and after your comment I will switch to `sh` for my script writing needs. Thanks for the frank feedback." CreationDate="2011-05-24T18:21:07.833" UserId="7723" />
  <row Id="18366" PostId="13690" Score="1" Text="@Peter: the definitive demolition of C shell for programming is [Csh Programming Considered Harmful](http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/).  I think you just made a correct decision." CreationDate="2011-05-24T18:24:48.927" UserId="5131" />
  <row Id="18367" PostId="13494" Text="This is actually very helpful, even though it doesn't directly answer the question.  It shows that in the *non*-readline path, PHP only executes PHP code inside `&lt;?php ?&gt;` blocks.  I wasn't aware of that, and it shows I misunderstood Gilles earlier." CreationDate="2011-05-24T18:39:36.437" UserId="224" />
  <row Id="18368" PostId="13689" Text="The use of `\n` in replacement text and the absence of a command separator before `}` are not [standard](http://pubs.opengroup.org/onlinepubs/009695399/utilities/sed.html)." CreationDate="2011-05-24T19:23:38.803" UserId="885" />
  <row Id="18369" PostId="13713" Text="It looks to me like you could use the `-i` option. Does that not work for you?" CreationDate="2011-05-24T19:24:17.103" UserId="4671" />
  <row Id="18370" PostId="13688" Text="I don't understand the requirements either. What is `jkl` supposed to become? Could you express the requirements in English as well, for example “replace all blank lines by a fixed multi-line text” or “replace all blank lines by a blank line preceded by a copy of the next line”?" CreationDate="2011-05-24T19:30:17.090" UserId="885" />
  <row Id="18371" PostId="13715" Score="1" Text="I've used a package called `apcupsd` for shutting down a machine when it switched to battery on power failure. I've not heard of `apcaccess`. " CreationDate="2011-05-24T19:47:39.280" UserId="4671" />
  <row Id="18372" PostId="13715" Text="Oh yeah, that's the name of the package.  `apcaccess` is the name of the command line utility that is part of it which outputs its current status.  My mistake.  I'll edit to correct." CreationDate="2011-05-24T20:03:53.043" UserId="3389" />
  <row Id="18373" PostId="13719" Text="General note: signal handling is a little wonky in shells other than ksh. Beware that `( … ) &amp;` might create a subprocess of a subprocess; try `{ … } &amp;` instead. Other than that, the principle looks sane. For better answers, post code that we can run and try to fix (i.e. no `...` or undefined `waitForSpecialCondition`)." CreationDate="2011-05-24T20:06:39.037" UserId="885" />
  <row Id="18374" PostId="13719" Text="Thanks Gilles.  So it is even valid for a sub shell to have it's own signal trap?" CreationDate="2011-05-24T20:10:30.067" UserId="4143" />
  <row Id="18375" PostId="13719" Text="This question doesn't really make sense. You can change the traps at any point, including when in a subshell. As usual what you do in the subshell doesn't change the state of the parent. Then the difficulty is mainly to bring the signals to the right process." CreationDate="2011-05-24T20:13:05.917" UserId="885" />
  <row Id="18376" PostId="13722" Score="2" Text="Beware that `kill -0 $pid` tells you if there's a process with this PID, it doesn't tell you whether that's the process you mean. I don't advise this in a production program: sooner or later this will lead to your killing an unrelated critical process that's reused the PID." CreationDate="2011-05-24T21:12:30.490" UserId="885" />
  <row Id="18377" PostId="13485" Text="As I mentioned in the original message, the firewall has no rules. (The original message lists the firewall rules and as you can see it's wide open). I already knew it was listening on port 25 because I could send messages locally on that server. I just can't telnet to port 25 from outside the server. When I try I get &quot;421 Cannot connect to SMTP server&quot; ... &quot;connect error 10060&quot;." CreationDate="2011-05-24T21:54:15.737" UserId="7620" />
  <row Id="18378" PostId="10108" Text="Figures.  KDE is notorious for taking things that work and making them not so.  " CreationDate="2011-05-24T21:57:38.507" UserId="7635" />
  <row Id="18379" PostId="13145" Text="@Raza: Even if you manage to use Ubuntu repositories to install software on Fedora, you are really going to hose your system as mentioned by @Blender. Go get Ubuntu instead (if you really want such a huge repository), or go get Fedora 15... looks good during my initial poking." CreationDate="2011-05-24T22:11:41.677" UserId="688" />
  <row Id="18380" PostId="13688" Text="Oppss. Sorry, I have corrected the example. ALL lines (except the first blank line), stay as they are.. The **first** blank line gets replaced with `%ghi\n%` where the `\n` represents a linefeed to get me to the next line so that there is a line with just a `%` on it.  Hope that removes the confusion." CreationDate="2011-05-24T22:29:02.687" UserId="7723" />
  <row Id="18381" PostId="13703" Text="Thanks. That pointed me in the right direction. I'm using the second screen for running an instance of xbmc on my tv downstairs.&#xA;&#xA;I'm now using this:&#xA;`sudo update-alternatives --set gl_conf /usr/lib/nvidia-current/ld.so.conf &amp;&amp; sudo startx /root/xinitrc_xbmc -- :1 -nolisten tcp -novtswitch -sharevts -layout hdmi3`" CreationDate="2011-05-24T23:04:29.583" UserId="7708" />
  <row Id="18382" PostId="13646" Text="At this point, I'll have to write the issue off as an odd glitch that cleared up with a restart." CreationDate="2011-05-25T01:01:19.263" UserId="6802" />
  <row Id="18383" PostId="13722" Text="I hadn't thought of that, but that is a very good observation.  Thanks again." CreationDate="2011-05-25T01:21:22.533" UserId="4143" />
  <row Id="18384" PostId="13715" Text="Just one question: without the auto-login, do I have to remotely access the machine to restart the server? I'm not totally clear on it." CreationDate="2011-05-25T02:42:40.763" UserId="7734" />
  <row Id="18385" PostId="13715" Score="1" Text="With no auto-login the system will boot to a login prompt.  You then login and do whatever you want." CreationDate="2011-05-25T02:45:35.257" UserId="3389" />
  <row Id="18386" PostId="13726" Text="Which website ? The link is broken. Please update." CreationDate="2011-05-25T03:54:48.337" UserId="7591" />
  <row Id="18387" PostId="3303" Text="Intead of loop you may use `watch`: `watch -n 1 --no-title 'pstree $(ps -eo pid --sort %cpu | tail -n 1)'`" CreationDate="2011-05-25T04:18:35.863" UserId="6988" />
  <row Id="18388" PostId="10808" Text="When you accidentally mix two letters in command name (like in your example with `make`) shortcut `Ctrl+t` may be usefull to exchange these letters." CreationDate="2011-05-25T04:41:27.883" UserId="6988" />
  <row Id="18389" PostId="13731" Score="1" Text="since you already know about bc, why can't you write it yourself?" CreationDate="2011-05-25T04:50:45.213" UserId="1952" />
  <row Id="18392" PostId="13731" Score="1" Text="	&#xA;I know about many things to some degree, but I am looking for a experienced person's view and methods... Isn't that was this site is all about? sharing knowledge... Yes I could probably work it out... and you could probably have worked out you SUID issue too... If my issue is anything like most questions here, I won't get the best solution on my own on my first attempt, and yet I may think it is... Hence my question... " CreationDate="2011-05-25T05:45:25.640" UserId="2343" />
  <row Id="18393" PostId="13731" Score="1" Text="yeah but your issue has been &quot;worked out&quot; a million times before and it seems you didn't even try to do it yourself. I always work on the issues myself before asking here and you should do the same, espescially if you want to gain knowledge." CreationDate="2011-05-25T05:49:33.690" UserId="1952" />
  <row Id="18394" PostId="13733" Score="1" Text="When you say &quot;I already tried formatting the old partition and using it&quot; what did you do, exactly?" CreationDate="2011-05-25T06:02:43.507" UserId="4671" />
  <row Id="18395" PostId="13727" Text="Can you state your centos version? Also a list of the currently installed relevant packages eg. python and related packages, yum etc along with versions. also, why were you trying to remove python?" CreationDate="2011-05-25T06:11:10.297" UserId="4671" />
  <row Id="18396" PostId="13731" Score="1" Text="You aren't getting it... It is trivial arithemetic to **do** it (add the numbers, divide, keep track of min, max ...mean).. The issue here is not &quot;How?&quot;, it is &quot;What is a good compact elegant way?&quot;.   I've got rudimentary knowledge of `awk` (at best) , and I've used `bc` *once* for anything other than just looking at it, and I eventually *asked a question* after many hours (days actually) of chasing false trails. I got the answer on  stackoverflow http://stackoverflow.com/questions/6007840/how-can-hex-addition-in-bc-be-made-to-overflow-at-the-8-byte-limit-uint64 " CreationDate="2011-05-25T06:23:22.280" UserId="2343" />
  <row Id="18397" PostId="13735" Text="Off topic comment: &quot;viola&quot; means &quot;(he) raped&quot;. You'd better write it &quot;voila&quot;, or even better &quot;voilà&quot; ! ;-)" CreationDate="2011-05-25T06:26:37.450" UserId="2594" />
  <row Id="18398" PostId="13726" Text="@abc: What? the only link in my answer is to the site you're reading, and it's not broken." CreationDate="2011-05-25T07:01:57.520" UserId="885" />
  <row Id="18399" PostId="13704" Text="@fred: thanks I think I'm starting to understand sed too, it offers nice tools for multiline editing but how to mix-up them to get what you need is not straightforward nor readability is at top..." CreationDate="2011-05-25T07:21:23.560" UserId="7226" />
  <row Id="18400" PostId="13732" Score="1" Text="I think you need to send random [PCM data](http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html), or maybe you need to set up the device with a few ioctls first — you can't just dump random bytes." CreationDate="2011-05-25T07:22:40.550" UserId="885" />
  <row Id="18401" PostId="13735" Text="heh viola (sic.) is also just a pun that's been around since the beginning of time :P" CreationDate="2011-05-25T07:35:57.753" UserId="7746" />
  <row Id="18402" PostId="13735" Text="@jlliagre Fixed.  That's how I first wrote it, but then I trusted the automatic spell checker to fix my incorrect spelling when all I was missing was the diacritic." CreationDate="2011-05-25T07:39:39.730" UserId="6167" />
  <row Id="18403" PostId="13728" Text="That works on Fedora 15 (is it even the same bug?)." CreationDate="2011-05-25T07:40:49.730" UserId="688" />
  <row Id="18404" PostId="13728" Text="If Fedora uses a vanilla Gnome3, then yes. So you got it working in spite of the bug, or with it?" CreationDate="2011-05-25T07:45:02.553" UserId="6761" />
  <row Id="18405" PostId="13734" Text="This is an awesome answer. Exactly what I was looking for." CreationDate="2011-05-25T07:55:15.670" UserId="7746" />
  <row Id="18406" PostId="13733" Text="I opened up gparted and formatted to ext3 but couldn't access it. I'll update my question to reflect this." CreationDate="2011-05-25T07:56:34.140" UserId="7746" />
  <row Id="18407" PostId="13735" Text="Thanks for this. It is a great answer but at this moment I really would rather not play with resizing of partitions. I am sure this would be a safe way to do it but I have lost too many filesystems by playing with partitioning in the past. I would probably have attempted this but I am in exam period at school so it is critical that my system is burning on all cylinders. I will give this method a try after exams, as I would actually prefer to have just the one data partition. Cheers" CreationDate="2011-05-25T08:00:12.560" UserId="7746" />
  <row Id="18408" PostId="13728" Text="I didn't do anything special. I just selected the option, and can log out and in without a problem, and my session gets restored." CreationDate="2011-05-25T08:38:22.653" UserId="688" />
  <row Id="18409" PostId="13728" Text="Odd. The bug is still open... Oh well, at least it is working for you." CreationDate="2011-05-25T08:45:40.777" UserId="6761" />
  <row Id="18410" PostId="13732" Text="@Gilles According to Wikipedia, .wav is PCM and I get exactly the same result when replace the random file with a .wav file. I will investigate setting up some in/out controls." CreationDate="2011-05-25T08:52:17.390" UserId="7138" />
  <row Id="18411" PostId="13721" Text="Interesting approach. i know `mc` also has support for creating virtual filesystems for archives." CreationDate="2011-05-25T09:20:11.413" UserId="4671" />
  <row Id="18412" PostId="13601" Text="@freethinker yes, but it's not important" CreationDate="2011-05-25T09:57:37.827" UserId="1389" />
  <row Id="18413" PostId="13740" Score="1" Text="@Stefan Noack: thanks for the reply. According to /proc/asound/devices  /dev/snd/pcmC0D0p is the right device for audio playback (hence the 'p')" CreationDate="2011-05-25T10:06:43.423" UserId="7138" />
  <row Id="18414" PostId="13740" Text="Also, I am not sure, but can there be multiple dev &quot;files&quot; for playback? I _don't_ have a '/dev/audio' I think '/dev/audio' has something to do with OSS which is used on older kernels (before 2.5) " CreationDate="2011-05-25T10:14:40.300" UserId="7138" />
  <row Id="18415" PostId="13732" Text="Does someone have a pointer for a tutorial on how to set up some ioctls? For something called ioctls, I thought ALSA as an API should provide the interface for input and output? " CreationDate="2011-05-25T10:20:00.123" UserId="7138" />
  <row Id="18416" PostId="13738" Text="@gelraen: Thanks... your example is a good lead-in to awk, for me.. I've tweaked it a bit and put the two together (getting the feel of awk)... I've used awk's `asort` rather than the piped `sort`, and it seems to sort integers and decimals correctly.. Here is a link to my resulting version http://paste.ubuntu.com/612674/ ... (And a note to Kim: I've been experimenting with awk for a couple of hours now. Working with a personal-interest example is way better for me)... A general note to readers: I'm still interested to see other methods. the more *compact* the better. I'll wait a while ..." CreationDate="2011-05-25T11:06:37.397" UserId="2343" />
  <row Id="18417" PostId="13712" Text="Hi opsguy. What you're missing is what happens when the machine with the NFS fails? We're trying to eliminate single point of failure for the cache." CreationDate="2011-05-25T04:04:58.307" UserId="7745" />
  <row Id="18418" PostId="13747" Text="I ended up using Windows 7 and virtual wifi (google that). quite easy and microsoft forces drivers to already include the necessary functions :-)" CreationDate="2011-05-25T14:12:22.330" UserId="7753" />
  <row Id="18419" PostId="13763" Text="Just saw your line number requirement.  That can probably work with some combination of grep -n and awk to capture the line number.  Can't be as simple as grep -H to list filename since it's always stdin, so might require more lines." CreationDate="2011-05-25T14:24:52.163" UserId="7760" />
  <row Id="18420" PostId="13747" Text="which atheros card do you have? lspci output? 11abg or 11n?" CreationDate="2011-05-25T14:31:45.210" UserId="7505" />
  <row Id="18421" PostId="13763" Text="@kyle errors out when run on my system, infinite repeated : `tar (child): conform.tar.gz: Cannot open: No such file or directory&#xA;tar (child): Error is not recoverable: exiting now&#xA;tar: Child returned status 2&#xA;tar: Error is not recoverable: exiting now`" CreationDate="2011-05-25T14:43:15.777" UserId="29" />
  <row Id="18422" PostId="13763" Text="@kyle also I didn't realize when I first posted this that some of the archives on cpan are zip files." CreationDate="2011-05-25T14:45:29.350" UserId="29" />
  <row Id="18423" PostId="13762" Text="I'm not sure what your title has to do with this; are you just looking for hex editor recommendations? Or do you want something that will dump the contents of memory?" CreationDate="2011-05-25T15:20:10.357" UserId="73" />
  <row Id="18424" PostId="13762" Text="thx, updated title" CreationDate="2011-05-25T15:23:39.470" UserId="6960" />
  <row Id="18426" PostId="13768" Text="The partition saved is actually ext3. Will that bear same issue? How to solve it?" CreationDate="2011-05-25T15:53:27.890" UserId="7762" />
  <row Id="18427" PostId="13767" Text="Is axel http://axel.alioth.debian.org/? Is this over http? Have you tried with a different download client, say wget? `wget -c` has the advantage of being restartable." CreationDate="2011-05-25T15:59:11.687" UserId="4671" />
  <row Id="18428" PostId="13746" Text="[It can be done with udev.](http://stackoverflow.com/questions/5469828/how-to-create-a-callback-for-monitor-plugged-on-an-intel-graphics) What is your kernel version? Are you using KMS (kernel mode setting)?" CreationDate="2011-05-25T16:00:11.863" UserId="5931" />
  <row Id="18429" PostId="13766" Text="I'm not sure what &quot;html entities version&quot; means. Can you elaborate on how this differs from regular html conversioni? If you just want a text to html coverter, a quick search shows http://txt2html.sourceforge.net/." CreationDate="2011-05-25T16:03:10.873" UserId="4671" />
  <row Id="18430" PostId="13767" Text="I'm using Gentoo. Ang I installed axel using the emerge feature of Gentoo so I have no idea where axel came from. Anyway, I am certain that it is over http. I will try wget if this issue cannot be fixed. Thanks." CreationDate="2011-05-25T16:03:23.057" UserId="7762" />
  <row Id="18431" PostId="13767" Text="Does axel support restartable downloads? Also, your package manager may show the home page. With Debian, `apt-cache show axel` shows the page. In any case, I expect it is the same project. Yes, I'd give `wget` a try if applicable." CreationDate="2011-05-25T16:04:04.537" UserId="4671" />
  <row Id="18432" PostId="13767" Text="On experience, download continues when I restart axel from which it ended from." CreationDate="2011-05-25T16:06:19.013" UserId="7762" />
  <row Id="18433" PostId="13767" Score="1" Text="You could give the axel mailing lists a try. If the file is publicly downloadable. I recommend you submit a bug report." CreationDate="2011-05-25T16:08:24.800" UserId="4671" />
  <row Id="18434" PostId="13767" Text="yes, if the issue cannot be solved. " CreationDate="2011-05-25T16:14:17.367" UserId="7762" />
  <row Id="18435" PostId="13746" Text="Thanks for the answer. I am not sure about KMS, but as I said in the question, udev doesn't send any events. (_udevadm monitor --property_ does not react at all) " CreationDate="2011-05-25T16:27:18.223" UserId="7574" />
  <row Id="18436" PostId="13673" Text="This is a partial solution. It seems that `init.d/tor` runs as root and then drops to debian-tor. It does open ports with the uid of root, which made the iptables rules not function properly. I tried checking with `ps` and `lsof`, all the relevant ports seemed to belong to `debian-tor`, so I really don't understand what could be causing this. Is there any other thing I can check or change?" CreationDate="2011-05-25T13:04:42.970" UserId="7756" />
  <row Id="18437" PostId="13727" Text="I'm new at Linux. I wanna update python with new lib, and then I remove the existing python using yum remove python. I don't know that there are so much library depend on python&#xA;&#xA;" CreationDate="2011-05-25T16:31:01.687" UserId="6297" />
  <row Id="18438" PostId="13741" Text="I've tried to remove existing python using `rpm -e python-2.4.3-27.el5_5.3`&#xA;&#xA;But I Got error as follows:&#xA;error: Failed dependencies:&#xA;	libpython2.4.so.1.0 is needed by (installed) libsemanage-1.9.1-4.4.el5.i386&#xA;	python(abi) = 2.4 is needed by (installed) rhpl-0.194.1-1.i386" CreationDate="2011-05-25T16:34:34.230" UserId="6297" />
  <row Id="18439" PostId="13770" Text="I was using 2.3. I have just downloaded 2.4 and it worked very fine. Thanks!" CreationDate="2011-05-25T16:35:01.940" UserId="7762" />
  <row Id="18440" PostId="13727" Text="Not sure what you mean by &quot;python with new lib&quot;. Did you want a new library? In general python versions are tightly coupled the the rest of the system, and cannot be changed without breakage. There seems to be a version mismatch. Is your system perhaps out of date? I first suggest you try to find a version of `python-libs` that your installed python will work with. once you have your system working, I suggest checking for updates." CreationDate="2011-05-25T16:43:54.910" UserId="4671" />
  <row Id="18441" PostId="13773" Text="Aha! thanks... so my bright idea of stopping whatever I could so as to not interfere with the test wasn't so bright after all :)...  As soon as I saw the words 'entropy pool', it all made sense... I'd better read the link now..." CreationDate="2011-05-25T17:02:16.827" UserId="2343" />
  <row Id="18442" PostId="13775" Text="@lesmana.  It looks interesting.. I'll have a closer look at it tomorrow.. Based on wikipedia's page, &quot;R has become a de facto standard among statisticians&quot;... well that's a significant accolade...  I actaully tried to dowload it the other day (I kept seeing it mentioned), but I couldn't find it in the Ubuntu repo... I'll follow it up tomorrow..." CreationDate="2011-05-25T17:26:12.890" UserId="2343" />
  <row Id="18445" PostId="13775" Score="2" Text="in the ubuntu (and debian?) repo the package is named `r-base`." CreationDate="2011-05-25T17:44:21.713" UserId="1170" />
  <row Id="18446" PostId="13772" Text="Thanks Michael.. I actually thought that urandom was the more random (slower) one, so its good to have that cleared up *`/dev/random`* is the more random.... There is absolutely no way I would ever have thought that it could/would be **that much** slower... Just that point alone (90 seconds) implies some serious design intent...  I don't know how the entropy is established, but I assume it is related to real-time system activity... " CreationDate="2011-05-25T18:00:00.887" UserId="2343" />
  <row Id="18447" PostId="13747" Text="I don't know, but the windows 7 solution works great for me, so my problem is solved ;-)" CreationDate="2011-05-25T18:08:47.147" UserId="7753" />
  <row Id="18448" PostId="13776" Text="I thought one of the inotify_tools (inotifywatch or inotifywait) would do this kind of thing.  These tools are great if you want to know when a filesystem event happens, but it doesn't look like you can get a pid from inotify." CreationDate="2011-05-25T18:31:27.307" UserId="7707" />
  <row Id="18449" PostId="13763" Text="Hm, I tested with a structure of *only* .tar.gz files -- it could be made more robust to take appropriate actions based on file type, but this should give a decent starting point." CreationDate="2011-05-25T18:35:49.587" UserId="7760" />
  <row Id="18450" PostId="13772" Text="@fred Reading continuously from `/dev/random` will consume it really fast; normally apps are only reading small amounts. You can check `/proc/sys/kernel/random/entropy_avail` to see how much entropy is currently available (in bits)" CreationDate="2011-05-25T18:38:22.223" UserId="73" />
  <row Id="18451" PostId="13769" Text="good idea but: [root@g2 10653]# ls -lah /proc/10653/ | grep -i mem&#xA;-rw-------.   1 USER USER 0 máj   25 20.29 mem&#xA;[root@g2 10653]# " CreationDate="2011-05-25T18:39:37.210" UserId="6960" />
  <row Id="18452" PostId="13726" Text="You said &quot;You'll find several other examples of redirection on this site.&quot; but when I click on the link it brings me back to unix.stackexchange.com with no examples of redirection listed etc. When you mentioned the link I thought you meant to give a specific link to a website where more examples are listed. But there is no listing for examples at the link." CreationDate="2011-05-25T19:11:38.537" UserId="7591" />
  <row Id="18453" PostId="13783" Text="If the output (or lack of it) of `lsof` is to be believed and my understanding is correct, `less` opens a file but `emacs` does not. Strange." CreationDate="2011-05-25T19:12:47.427" UserId="4671" />
  <row Id="18454" PostId="13783" Score="3" Text="I think that editors just open and read the file to the memory and close it. After that they only monitor file for changes (like vim)." CreationDate="2011-05-25T19:27:32.180" UserId="3524" />
  <row Id="18455" PostId="13765" Score="1" Text="I don't know of something that's been pre-built to do what you describe, but just from looking at your code, this is the sort of thing I usually bust out a scripting language to help with, e.g., Python, Ruby, or perl." CreationDate="2011-05-25T19:32:58.740" UserId="916" />
  <row Id="18456" PostId="13602" Text="@Gilles: Ideally I'd like to be able to at least get a hint of what's going on without modifying my kernel. I know that's asking a lot though." CreationDate="2011-05-25T19:53:20.030" UserId="1571" />
  <row Id="18457" PostId="13765" Text="To build on my previous comment, if I were doing this in Python, I'd look at the following modules/methods: [`os.walk`](http://docs.python.org/library/os.html#os.walk), [`os.rename`](http://docs.python.org/library/os.html#os.rename), [`re`](http://docs.python.org/library/re)." CreationDate="2011-05-25T19:57:49.463" UserId="916" />
  <row Id="18458" PostId="13783" Text="The column that says `r` would be different if it were writing it." CreationDate="2011-05-25T20:04:03.830" UserId="6290" />
  <row Id="18459" PostId="13772" Text="@fred: The short answer is that you don't use `/dev/random`. The long answer is [this answer](http://security.stackexchange.com/questions/3936/is-a-rand-from-dev-urandom-secure-for-a-login-key/3939#3939). @Michael: I kind of object to “guarantees the output will actually be random”, which is true only for a very particular definition of random which is neither practically nor theoretically useful." CreationDate="2011-05-25T20:15:04.520" UserId="885" />
  <row Id="18460" PostId="13771" Text="Regarding the difference between `/dev/random` and `/dev/random`, I highly recommend reading [Is a rand from /dev/urandom secure for a login key?](http://security.stackexchange.com/questions/3936/is-a-rand-from-dev-urandom-secure-for-a-login-key/3939#3939) (“The short answer is yes. The long answer is also yes.”)." CreationDate="2011-05-25T20:15:41.853" UserId="885" />
  <row Id="18461" PostId="13785" Text="I don't think this is what he wants; he wants either a command-line tool or a PHP script that will take text input and escape HTML entities" CreationDate="2011-05-25T20:18:52.603" UserId="73" />
  <row Id="18462" PostId="13772" Text="@Michael: Why, if I repeatedly cat `/proc/sys/kernel/random/entropy_avail`, does the number keep dropping?" CreationDate="2011-05-25T20:19:44.803" UserId="4671" />
  <row Id="18463" PostId="13772" Text="@Faheem The number should be fluctuating continuously as the entropy pool changes; it can't actually keep dropping or it would hit 0 and stay there" CreationDate="2011-05-25T20:26:12.933" UserId="73" />
  <row Id="18464" PostId="13789" Text="Can you try running it from a terminal? You might get some kind of useful error message that way" CreationDate="2011-05-25T20:54:41.460" UserId="73" />
  <row Id="18465" PostId="13757" Score="1" Text="`I guess very few codes need the values higher than the default` Dropbox may require a higher limit, depending on how many files you have. Iv'e raised mine with no issues. in fact, the dropbox notification (that occurs when it reaches its limit) explicitly tells you to raise it." CreationDate="2011-05-25T20:55:58.353" UserId="1571" />
  <row Id="18466" PostId="13772" Text="@Michael: Ok. Then I guess it was just a coincidence that it seemed to be dropping. Thanks." CreationDate="2011-05-25T20:59:56.967" UserId="4671" />
  <row Id="18468" PostId="13792" Text="Obviously. I don’t know why I was so blind that I couldn’t see this when I was through the manual pages." CreationDate="2011-05-25T21:34:31.987" UserId="7670" />
  <row Id="18469" PostId="13786" Text="Perhaps you can mount using sshfs, here is a guide to access a guest using ssh http://mydebian.blogdns.org/?p=148" CreationDate="2011-05-25T21:43:55.227" UserId="1135" />
  <row Id="18470" PostId="13783" Text="@Random832: thanks for the correction." CreationDate="2011-05-25T21:46:48.370" UserId="688" />
  <row Id="18471" PostId="13789" Score="1" Text="Given that utorrent is proprietary software, you might have better resulsts asking for support on their own forums." CreationDate="2011-05-25T21:50:58.323" UserId="885" />
  <row Id="18472" PostId="13769" Text="@LanceBaynes: This comment is meaningless. As it happens, I can guess that you saw an error message and misinterpreted it, but you should have copy-pasted the command you ran and the error message, not some random other command. Reading from `/proc/$PID/mem` is not straightforward, see [How do I read from /proc/$pid/mem under Linux?](http://unix.stackexchange.com/questions/6301/how-do-i-read-from-proc-pid-mem-under-linux)." CreationDate="2011-05-25T22:08:39.420" UserId="885" />
  <row Id="18473" PostId="13765" Text="What part are you having a difficulty with? As it stands, all we have is a script, and a vague hint as to what it's supposed to do (“filename normalizer”). There's no question in there." CreationDate="2011-05-25T22:15:08.783" UserId="885" />
  <row Id="18474" PostId="13797" Text="What's the default include/exclude list (empty so nothing is included, I think)? If you include `/a`, exclude `/a/b` and include `/a/b/c`, is `/a/b/c` watched? Does including a directory always include its contents?" CreationDate="2011-05-25T22:32:41.237" UserId="885" />
  <row Id="18475" PostId="13797" Text="@Gilles It doesn't know anything about directories, it just takes the complete absolute path and matches it against the regular expression. So `&lt;include extension=&quot;/a&quot; uid=&quot;*&quot; action=&quot;.*&quot; retname=&quot;.*&quot; /&gt;` is going to match every operation that operates on a file whose path contains `/a` -- it could even be `/foo/abc/bar`. You probably want to anchor them all with `^` and `$`, but then you need to include the entire path for it to match" CreationDate="2011-05-25T22:37:00.927" UserId="73" />
  <row Id="18476" PostId="13797" Text="@Gilles Not having any rules is actually a special case, so I'll add it to the answer" CreationDate="2011-05-25T22:38:55.467" UserId="73" />
  <row Id="18477" PostId="13756" Text="Maybe if you have iptables as a module, you can unload it (and its cousins) and load it again?" CreationDate="2011-05-25T22:54:47.407" UserId="885" />
  <row Id="18478" PostId="13746" Text="@Andy: [the last time this came up](http://unix.stackexchange.com/questions/4489/a-tool-for-automatically-applying-randr-configuration-when-external-display-is-pl), it seemed that most systems required polling. If you've found a way to trigger a udev event, could you answer that question?" CreationDate="2011-05-25T23:03:27.910" UserId="885" />
  <row Id="18479" PostId="13621" Text="Thanks for answering, by painfully slow i mean thing that I have come to except to be instantaneous on a normal install on take time to happen. I think it is disk access that is the biggest offender." CreationDate="2011-05-25T23:27:04.287" UserId="7669" />
  <row Id="18480" PostId="13793" Text="Thanks. It's not really worth my time to go into it that much further at this point. I was just hoping for a quick and dirty method, even if it was a loopback mount or some other nonsense." CreationDate="2011-05-25T23:31:40.570" UserId="1571" />
  <row Id="18481" PostId="1981" Text="Ah, I didn't realize how old this question was since it was at the top of the front page =P" CreationDate="2011-05-25T23:33:02.690" UserId="1571" />
  <row Id="18482" PostId="13616" Text="Thanks for the answer, I am sure that it is disk acesses slowing the machine down, and I do not seem to have virtio on; just normal bus='ide', does virtio work with no virtualisation extensions? thanks." CreationDate="2011-05-25T23:39:08.387" UserId="7669" />
  <row Id="18483" PostId="13801" Score="1" Text="It's called [OCR](http://en.wikipedia.org/wiki/Optical_Character_Recognition)" CreationDate="2011-05-26T00:10:43.903" UserId="73" />
  <row Id="18485" PostId="13776" Text="You could do `inotifywait $file ; lsof -r1 $file`, though. It's much better than running `while` loops or using `watch`." CreationDate="2011-05-26T00:39:13.060" UserId="3038" />
  <row Id="18486" PostId="13783" Score="2" Text="@Tshepang: Lukasz is correct; if you use `inotify -m /tmp/file` you can see that both `vim` and `nano` open, read/write to the file and close it immediately." CreationDate="2011-05-26T00:43:01.713" UserId="3038" />
  <row Id="18487" PostId="13801" Score="1" Text="@hhh Please [don't cross-post](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073). Your question is off-topic on Photography, so they'll probably close it and it can stay here. If you want it moved somewhere else let us know, but don't post it on multiple sites at once" CreationDate="2011-05-26T00:46:23.493" UserId="73" />
  <row Id="18488" PostId="13803" Text="No, I actually meant something like the following: `execindirectory -d /var/log &quot;cp *.log ~/Desktop&quot;`. " CreationDate="2011-05-26T01:23:30.367" UserId="5614" />
  <row Id="18489" PostId="13803" Text="I'm perfectly aware that this isn't strictly necessary, by the way, I'm just interested in if it can actually be done." CreationDate="2011-05-26T01:24:00.977" UserId="5614" />
  <row Id="18490" PostId="13799" Text="@Gilles: Thanks for the &quot;second&quot; (it's reassuring)... your example was useful, as I didn't realize straight-off that `R` is the interactive interface, and `Rscript` drives the scripted files, which can be executable as per your example hash-bang, or invoked from within a bash script.. The scripts can handle commandline args (eg. http://stackoverflow.com/questions/2045706/why-my-bash-cant-execute-r-script ) so it's looking good...  Also R expressions can be used in bash via the `-e` ... but I do wonder how `R` compares to `bc` ..." CreationDate="2011-05-26T02:05:56.823" UserId="2343" />
  <row Id="18491" PostId="13802" Text="It's rather trivial to make a script that does this: `echo &quot;#!/bin/bash; cd $1; exec $2&quot; &gt; /usr/local/bin/execindirectory; chmod +x /usr/local/bin/execindirectory`.  Might need to put a little more effort if you want it to actually support option &quot;tags&quot; such as `-d` and stuff." CreationDate="2011-05-26T02:26:23.017" UserId="3389" />
  <row Id="18492" PostId="13779" Text="@Bruce: Aha! it's obvious (now that I've seen your awk script :) ... There is no need to keep checking for min and max when the array is sorted :) and that means that the `NR==1` can go (a useless-use-of-if) along with the min/max checks, so all initializing can be located in the BEGIN section (good!)...  Allowing for comments is a nice touch too.. Thanks, +1 ..." CreationDate="2011-05-26T02:28:52.133" UserId="2343" />
  <row Id="18493" PostId="13805" Score="2" Text="I like this solution, except, personally I'd use pushd/popd" CreationDate="2011-05-26T03:57:31.673" UserId="2629" />
  <row Id="18494" PostId="13742" Text="Yeah, but you need to read the whole whopping 10Gb in order to tell it..." CreationDate="2011-05-26T04:18:32.027" UserId="1262" />
  <row Id="18496" PostId="13807" Text="Thank you for the well explained thought process, I really do appreciate it when people take the time out to throughly explain something. However, that method didn't work. it displayed the output of the file in terminal." CreationDate="2011-05-26T05:52:09.597" UserId="7781" />
  <row Id="18497" PostId="13808" Text="This worked with one exception, the $new_cache_directory variable was not passed infile. It shows $cache_directory = '$new_cache_directory';" CreationDate="2011-05-26T05:59:53.827" UserId="7781" />
  <row Id="18498" PostId="13808" Text="@Jason: ok. what is your expected output?" CreationDate="2011-05-26T06:04:24.177" UserId="3997" />
  <row Id="18499" PostId="13808" Score="1" Text="This is an interactive script so the user is defining $new_cache_directory using printf and read... Basically the variable needs to be passed to the file. So if they answer whackachuck that is what the file shows. Is that a little more descriptive?" CreationDate="2011-05-26T06:12:07.107" UserId="7781" />
  <row Id="18500" PostId="13808" Text="@Jason: answer is updated.removed backslash before `$new_cache_directory`" CreationDate="2011-05-26T06:13:45.437" UserId="3997" />
  <row Id="18501" PostId="13808" Text="I see, so you &quot;unescaped&quot; the $ on the variable correct?" CreationDate="2011-05-26T06:16:16.360" UserId="7781" />
  <row Id="18502" PostId="13808" Text="@Jason: if you don't need the original file as backup then just use `sed -i &quot;s:....`" CreationDate="2011-05-26T06:18:19.070" UserId="3997" />
  <row Id="18503" PostId="13808" Text="Actually, I still need the ./ in front of the $new_cache_directory.. I'm going to try to figure that out really quick.." CreationDate="2011-05-26T06:19:08.450" UserId="7781" />
  <row Id="18504" PostId="13808" Text="@Jason: yes. you are right." CreationDate="2011-05-26T06:19:13.750" UserId="3997" />
  <row Id="18505" PostId="13779" Text="Just a thought.. maybe allowing only numerics is better than disallowing comments (but that depends you your requirements).. " CreationDate="2011-05-26T06:21:03.850" UserId="2343" />
  <row Id="18506" PostId="13808" Text="@Jason: `sed -i.bak &quot;s:^.*\(\$cache_directory = \)\('./cache'\):\1./$new_cache_directory:&quot; infile`" CreationDate="2011-05-26T06:21:12.517" UserId="3997" />
  <row Id="18507" PostId="13808" Score="1" Text="Thanks, you just beat me to it! Thanks for all of your help!" CreationDate="2011-05-26T06:21:55.270" UserId="7781" />
  <row Id="18508" PostId="13769" Text="ohh, thanks! I tried you're python script (you didn't wrote a small howto, how to parameter it, or how to use it?) I tried: http://pastebin.com/raw.php?i=ZeQs50g1 - Fedora14/bash" CreationDate="2011-05-26T08:05:17.110" UserId="6960" />
  <row Id="18509" PostId="13816" Text="For future reference, the one-liner I'm using to kill the window: ID=`xwininfo | grep -oP &quot;0x[0-9a-fA-F]{4,8} &quot;`; xkill -id $ID" CreationDate="2011-05-26T08:37:38.010" UserId="7787" />
  <row Id="18510" PostId="13802" Text="As user-unknown states in an answer, all the examples you've given here and in comments are better addressed by other solutions, so it's unclear if there is actually a problem that needs solving here. Can you come up with a better example?" CreationDate="2011-05-26T09:43:09.230" UserId="1925" />
  <row Id="18511" PostId="13795" Text="okey, what do I need to to make it run always and also (if possible) not when im logged in?" CreationDate="2011-05-26T09:58:49.537" UserId="3385" />
  <row Id="18512" PostId="13775" Text="	&#xA;@lesmana. thanks, I needed that name reference :) I didn't think of r- in the synaptic search field and it doesn't act on a lone character... I've tried it out now, and it looks ideal..  The `R` language is clearly the best for my requirement in this situation.. As per Gilles' answer, the `Rscript` interface to script files is most appropriate (vs. `R`, which is the interactive interface)... and R in the terminal makes for a handy calculator, or test environment (like python :)" CreationDate="2011-05-26T11:28:23.220" UserId="2343" />
  <row Id="18513" PostId="13818" Text="I initially tried something along that line but with `pstree` instead, but I couldn't actually see any difference in the two outputs.&#xA;But I will try your suggestion next time I see the problem, and see if this works instead.&#xA;Thanks" CreationDate="2011-05-26T11:43:18.167" UserId="7787" />
  <row Id="18514" PostId="13823" Score="3" Text="I've answered with one suggestion that came to mind, but this question is really hard to answer. SE sites focus on one question at a time that can have a right answer rather than general discussion. In the future consider breaking big problems down into specific questions." CreationDate="2011-05-26T12:00:50.383" UserId="1925" />
  <row Id="18515" PostId="13816" Text="If you want a one-liner, at least do it like this: `xkill -id $(xwininfo | grep -oP &quot;0x[0-9a-fA-F]{4,8} &quot;)`" CreationDate="2011-05-26T12:02:15.703" UserId="1925" />
  <row Id="18516" PostId="13824" Score="1" Text="you could just `pushd other-dir`, rather than `pushd .; cd other-dir`" CreationDate="2011-05-26T12:06:54.467" UserId="6290" />
  <row Id="18517" PostId="13824" Text="@Random832, good point!" CreationDate="2011-05-26T12:09:21.580" UserId="2644" />
  <row Id="18518" PostId="13801" Text="You are asking for a combination of ASCI art generation and OCR. I don't think this exists in combination. You can either write something yourself or re-define your problem." CreationDate="2011-05-26T12:12:14.293" UserId="1925" />
  <row Id="18519" PostId="13616" Text="You could try instantiate a simple vm with virtio on. Or maybe edit the config for your existing vm and see. " CreationDate="2011-05-26T12:20:44.720" UserId="7525" />
  <row Id="18520" PostId="13782" Text="Suggesting running `while true` on a tool that doesn't give the right answer anyway isn't a great way to help a new unix user. There are better ways to trigger an action on a file create (see `inotifywait`) and better better ways to audit file system access (see [Gilles answer](http://unix.stackexchange.com/questions/13776/determine-which-process-is-creating-a-file/13791#13791))." CreationDate="2011-05-26T12:32:37.123" UserId="1925" />
  <row Id="18521" PostId="13781" Text="There is no need for `grep` here. You can give `lsof` and argument of a specific filename to query and save a lot of time." CreationDate="2011-05-26T12:35:10.973" UserId="1925" />
  <row Id="18522" PostId="13817" Text="Can you expand this answer and defend it against the conflicting information in [Kim's answer](http://unix.stackexchange.com/questions/13800/gcc-os-optimization/13813#13813)?" CreationDate="2011-05-26T12:38:00.583" UserId="1925" />
  <row Id="18523" PostId="13807" Text="Well - to generate a file, you usually use `sed 'cmd' file.in &gt; file.out`, but to replace the file, you use `sed -i 'cmd' file`. But the latter works just once, so I thought you would like to keep the source, and know about piping the output somewhere." CreationDate="2011-05-26T12:38:26.277" UserId="4485" />
  <row Id="18524" PostId="13813" Text="If it's smaller wouldn't it mean the internal wiring is also different and potentially faster, potentially using less memory in other ways?" CreationDate="2011-05-26T12:38:52.313" UserId="1925" />
  <row Id="18525" PostId="13701" Text="I assume that you mean `/dev/dsp` rather than `/dev/dsa`. Funnily enough I didn't spot it the first time round either. :)" CreationDate="2011-05-26T12:46:14.173" UserId="7727" />
  <row Id="18526" PostId="13817" Text="It has a lot to do on what platform, and what kind of code is compiled. Sometimes it is faster to use a bigger binary with a lot of in-lined code, and sometimes that in-line cost time to execute. It depends amongst other things on things like the size of the pipeline in the cpu and the cost of cache misses etc etc. Look at the extremes and compare a Desktop PC with a AVR mcu, the -Os will have quite different behaviour on the system. It is not black and white..." CreationDate="2011-05-26T12:48:29.960" UserId="2567" />
  <row Id="18527" PostId="13828" Text="So... you expect us to sum the values. Please use `du -smc /* | sort -n -r` vs. `df -m` instead (also fixes the broken sort)" CreationDate="2011-05-26T08:12:05.230" UserId="5946" />
  <row Id="18528" PostId="13826" Text="that looks quite simple, though the windows version is even easier ;-) but a very good record for linux users and the archive, tahnk you!" CreationDate="2011-05-26T12:58:04.910" UserId="7753" />
  <row Id="18529" PostId="13772" Text="@Faheem. I used a for-loop to cat /proc/sys/kernel/random/entropy_avail (after fast manual tests)... I observed that it drops (I assume that's because once that particular &quot;part&quot; of the available entropy has be accessed, it is no longer random, because it is now known) It doesn't go below 130/140 and recovers in &quot;reasonable* time... My comment about the reason for the dropping is assumption.. I probably should have phrased it as a question)  so if  I'm wrong please let me know (someone..anyone..." CreationDate="2011-05-26T13:01:49.207" UserId="2343" />
  <row Id="18530" PostId="13813" Text="I don't think so. The size of the code is reduced, not the size of the data structures." CreationDate="2011-05-26T13:02:01.267" UserId="1952" />
  <row Id="18531" PostId="13781" Text="Ah cool to know. Honestly I only ever use it for finding open sockets so I don't really use it for actual files that much. Thanks for the heads up :) " CreationDate="2011-05-26T13:16:10.627" UserId="7766" />
  <row Id="18532" PostId="13772" Text="@fred: Does the system actually need to &quot;access&quot; the entropy in order to count the amount of entropy? That seems...odd. I tried it again, and it does drop steadily till around below 200, then it fluctuates, but does not go below 130 or so. There must be some explanation for this." CreationDate="2011-05-26T13:16:21.080" UserId="4671" />
  <row Id="18533" PostId="13829" Text="Correct.  Also of interest, many filesystems including `ext3` are structured such that directory metadata can grow, but not shrink. So, if you have a high-churn folder (such as a mail spool), the space used by the metadata can grow and grow and grow.  Replacing it with a new directory periodically can dramatically drop disk usage." CreationDate="2011-05-26T13:18:24.153" UserId="1835" />
  <row Id="18534" PostId="13772" Text="@Faheem It shouldn't need to, it should have the count stored separately so it knows how much of the pool is actually available to use. The entropy is probably falling because you've stopped using your computer and are just staring at a terminal window for a long period of time" CreationDate="2011-05-26T13:21:07.280" UserId="73" />
  <row Id="18535" PostId="13813" Text="Its possible to reduce the size of the data structures by packing things closer together.  This may make the code slower, since it has to unpack at runtime.  I'm not sure if -Os actually does this, but it is possible." CreationDate="2011-05-26T13:31:25.490" UserId="31" />
  <row Id="18536" PostId="13772" Text="@Michael: Well not that long.:-) And it drops quite fast. Have you tried it?" CreationDate="2011-05-26T13:37:07.090" UserId="4671" />
  <row Id="18537" PostId="13801" Text="@Celeb: I am much more interested in the text and numbers, much less in artistic stuff. I want to read images, having writing, in text editor. I think it must exist as separate program." CreationDate="2011-05-26T13:37:16.063" UserId="2362" />
  <row Id="18538" PostId="13801" Text="Why down-vote on this?" CreationDate="2011-05-26T13:37:32.707" UserId="2362" />
  <row Id="18539" PostId="13715" Text="Is there a way that I could have the user auto-logged in, in the background (as if I had ssh'ed in and logged in), so that all of the processes that I would do when I logged in will be automatic?" CreationDate="2011-05-26T13:39:20.147" UserId="7734" />
  <row Id="18540" PostId="13772" Text="@Faheem Yes, but mine is always pretty low for some reason (around 150)" CreationDate="2011-05-26T13:43:24.883" UserId="73" />
  <row Id="18541" PostId="13715" Text="Collect all your tasks in a script and put it in your home directory, something like `/home/$YOU/bootscript.sh`. Then add this line to the end of `/etc/init.d/rc.local`: `su - $YOU -c &quot;/home/$YOU/bootscript.sh &gt; /home/$YOU/bootscript.log&quot;` Those commands will run as you when the system boots up, and the output of all the commands will be in /home/$YOU/bootscript.log." CreationDate="2011-05-26T14:06:31.967" UserId="3389" />
  <row Id="18542" PostId="13813" Text="@KeithB: The man page of gcc clearly says `-Os` optimizes for code size. Packing and unpacking data structures would _increase_ code size." CreationDate="2011-05-26T14:27:08.190" UserId="1952" />
  <row Id="18543" PostId="13813" Text="Not necessarily.  It may just be doing aligned versus unaligned reads at the assembly level. I was thinking of the case where instead of padding an array of structures so that each element is aligned, they are arranged without padding." CreationDate="2011-05-26T15:00:03.987" UserId="31" />
  <row Id="18545" PostId="13274" Text="That last one! *&quot;obfuscated&quot;*.. You're not kidding! :) .. I had stumbled across the hard-newline idea, but to actually bisect a bracketed block like that is verging on the bizzare.. Is this by design, or is it a coincidental abberation?. (eg. is there a real use for this? ... and you can actually even put multiple semi-colon seperated commands in that first &quot;soft&quot; line.. " CreationDate="2011-05-26T15:10:44.663" UserId="2343" />
  <row Id="18546" PostId="13813" Score="1" Text="While possible in theory, changing the layout would break compatibility with binaries compiled without `-Os`. There is also the question of what the C standard requires." CreationDate="2011-05-26T15:11:53.150" UserId="1952" />
  <row Id="18547" PostId="13825" Score="1" Text="+1 for mentioning LVM" CreationDate="2011-05-26T15:24:32.413" UserId="444" />
  <row Id="18548" PostId="13826" Text="@stefan.at.wpf: there might be some graphical interface to hostapd, but I wouldn't know. Glad you've found a solution." CreationDate="2011-05-26T15:41:43.190" UserId="3038" />
  <row Id="18549" PostId="13829" Text="Given `0 /sys` it looks like du also doesn't include directory tables - which is odd, because they do have a user-visible size - `ls -ld [some dir]` will show it (often 4096, one filesystem block, for small directories on ext2)" CreationDate="2011-05-26T15:42:35.393" UserId="6290" />
  <row Id="18550" PostId="13842" Text="I opened an 8GB file in Gvim 32-bit (4 GB RAM)... it took 41 minutes to load :) .. http://askubuntu.com/questions/28847/text-editor-to-open-4-3-gb-plain-text-file/28883#28883" CreationDate="2011-05-26T17:02:25.803" UserId="2343" />
  <row Id="18551" PostId="13842" Text="@fred: Interesting. It appears that the Vim docs are out of date. It must now know how to do swapping to get around the 2 GB limit on 32-bit systems. If you check your maxmem setting (`:set mm`) you will probably find that it is much lower than I found on my 64-bit system. The file open time is due to all the swapping needed. If you can raise maxmem by giving it real RAM, it may get a lot faster. Ultimately, the solution is still to do such things on a 64-bit box with lots of RAM." CreationDate="2011-05-26T17:17:03.087" UserId="138" />
  <row Id="18552" PostId="13843" Score="1" Text="ping measures latency, not throughput. Thus it is useless for comparing ftp servers." CreationDate="2011-05-26T17:35:39.167" UserId="1952" />
  <row Id="18553" PostId="13841" Score="1" Text="What are you exactly trying to do with such a file?" CreationDate="2011-05-26T17:47:21.457" UserId="1762" />
  <row Id="18554" PostId="13806" Text="That's what I usually do." CreationDate="2011-05-26T17:48:31.923" UserId="1762" />
  <row Id="18555" PostId="13820" Text="I don't think so. As I understand, he wants to end up in the initial directory." CreationDate="2011-05-26T17:51:18.177" UserId="1762" />
  <row Id="18556" PostId="13842" Text="My maxmem=1660058 .... Most definitely RAM will help.. but have to saving 20 GB would certainly make me think twice about making multiple/regualar saves, unless vim is somehow very smart about how it saves data, and/or the file is on an SSD drive :)...  editing 20 GB; interesting..." CreationDate="2011-05-26T17:52:35.240" UserId="2343" />
  <row Id="18557" PostId="13843" Text="that's fully true, but the lower the ping the nearer the server is. I don't want to use servers what are too far away...on a foreign land" CreationDate="2011-05-26T18:06:54.800" UserId="6960" />
  <row Id="18558" PostId="13842" Text="My maxmem is 1678096 on Arch i686, vim 7.3.177. The maxmemtot is the same value." CreationDate="2011-05-26T18:35:53.813" UserId="4398" />
  <row Id="18559" PostId="13789" Text="Are you forced to use muTorrent? If not, use the (Transmission bittorrent client)[http://www.transmissionbt.com/]. It works!" CreationDate="2011-05-26T18:37:21.540" UserId="3032" />
  <row Id="18560" PostId="13849" Score="2" Text="Read the licenses, and ask a lawyer?" CreationDate="2011-05-26T18:37:52.977" UserId="1209" />
  <row Id="18561" PostId="13849" Text="Well, it's 6400 words for Chrome, but I can't speak in Lawyer..." CreationDate="2011-05-26T18:39:59.747" UserId="3032" />
  <row Id="18562" PostId="13820" Text="Oh, I totally forgot to wrap that into sub-shell.  Corrected my answer, thank you." CreationDate="2011-05-26T18:48:00.600" UserId="1946" />
  <row Id="18563" PostId="13850" Text="Okay, thanks. I read the agreement for Chrome too, and in `(2)`, it said that by using the product, you agree with the license automagically." CreationDate="2011-05-26T18:58:34.120" UserId="3032" />
  <row Id="18564" PostId="13850" Text="I'll try and contact Adobe, but to play it safe, I'll include both EULAs into the Chrome launcher." CreationDate="2011-05-26T19:00:44.743" UserId="3032" />
  <row Id="18565" PostId="13850" Text="Re Chrome: yes, that's a standard clause. The important thing to make clear is that in packaging it, you are not in any way changing those rights." CreationDate="2011-05-26T19:50:57.130" UserId="6761" />
  <row Id="18566" PostId="13843" Text="@LanceBaynes: Trust us on this one, you don't care where an ftp server is if it gives you better throughput. The only exception would be if you pay for bandwidth differently depending on where it's coming from, but at your level of the networking world that is probably an irrelevant factor. Throughput is the metric you want to use, not ping times! If this was about something other than FTP, you could make a case for round trip times, but ftp is about file transfer. If all yours files are tiny you should reconsider not having used `tar`!" CreationDate="2011-05-26T20:03:31.563" UserId="1925" />
  <row Id="18567" PostId="13795" Text="@Jason94: Add a `@reboot /path/to/utserver &gt;~/.utserver.log 2&gt;&amp;1` line to your crontab; see [Bash Script on Startup? (Linux)](http://unix.stackexchange.com/questions/7793/bash-script-on-startup-linux)." CreationDate="2011-05-26T20:03:44.653" UserId="885" />
  <row Id="18568" PostId="13274" Text="@fred: Just a coincidental aberration. There has to be some rule as to where the heredoc starts and stops. Here the rule is that the heredoc is like a single token attached to the next newline token after the `&lt;&lt;END` bit. A backslash-newline nullifies the newline." CreationDate="2011-05-26T20:06:26.993" UserId="885" />
  <row Id="18569" PostId="13840" Text="If you are asking, &quot;Do I have to learn this too?&quot; the answer is **defiantly yes**. Just because a VW bug has four rubber wheels just like a Hummer or Ferrari doesn't mean it will get you there in style or with speed, or even make it at all as the case may be. `Screen` is kind of the stand by in the game but `tmux` would be the one to learn if you are just getting started." CreationDate="2011-05-26T20:16:34.787" UserId="1925" />
  <row Id="18570" PostId="13849" Score="3" Text="If you can't speak in lawyer, I don't think we can really do it for you..... if you need someone to speak in Unix/Linux geek, this is the place." CreationDate="2011-05-26T20:29:20.693" UserId="2511" />
  <row Id="18571" PostId="13806" Text="Nice, I had forgotten altogether about sub-shells, very handy in this case. " CreationDate="2011-05-26T21:02:18.290" UserId="5614" />
  <row Id="18572" PostId="13851" Score="1" Text="Looks like you read the question the wrong way round." CreationDate="2011-05-26T21:28:10.293" UserId="885" />
  <row Id="18573" PostId="13844" Text="See [$VAR vs ${VAR} and to quote or not to quote](http://unix.stackexchange.com/questions/4899/var-vs-var-and-to-quote-or-not-to-quote)" CreationDate="2011-05-26T21:33:58.987" UserId="885" />
  <row Id="18574" PostId="13829" Text="@Xaerxess: While this is technically possible, it's unlikely that deleted files or race conditions (another possibility for `du` to miss things) would account for 20GB." CreationDate="2011-05-26T21:56:01.397" UserId="885" />
  <row Id="18575" PostId="13829" Text="@jmtd: A high-churn folder would grow to the maximum-ever size and then stop." CreationDate="2011-05-26T21:56:31.910" UserId="885" />
  <row Id="18576" PostId="13829" Text="@Random832: No, `du` includes directory tables. The size is 0 for `/proc` and `/sys` simply because these filesystems report a size of 0 for everything." CreationDate="2011-05-26T21:57:07.840" UserId="885" />
  <row Id="18577" PostId="13844" Text="By the way, you probably want `wget -q` here, if you haven't figured it out yet." CreationDate="2011-05-26T22:06:04.253" UserId="885" />
  <row Id="18578" PostId="13812" Text="Try searching for an explanation on [LWN](http://lwn.net/). Most major kernel changes get an explanatory write-up on LWN." CreationDate="2011-05-26T22:07:03.007" UserId="885" />
  <row Id="18579" PostId="13856" Score="1" Text="BTW, Zsh has a great feature to make this nohop/disown combo shorter: `program &amp;!`" CreationDate="2011-05-26T22:12:14.217" UserId="1762" />
  <row Id="18581" PostId="13840" Text="Good advice. I have been using tmux for a few months, after using Gnu screen for a year. But there are weird issues like freezes and hangs, and abnormal behavior when trying to open a pdf browser from the command line, etc." CreationDate="2011-05-26T22:51:22.363" UserId="6973" />
  <row Id="18583" PostId="13862" Text="`-quit` is a GNU extension. It won't work on systems using other implementations of find(1), such as OS X, the BSDs, and probably most commercial Unices." CreationDate="2011-05-27T01:25:41.580" UserId="138" />
  <row Id="18584" PostId="13862" Text="Thanks, that's useful to know in case I'm using another system. Unfortunately, neither -quit nor -printf are available on mine (Mac OS X)." CreationDate="2011-05-27T01:53:41.387" UserId="7814" />
  <row Id="18585" PostId="13864" Score="1" Text="Two corner cases that your pattern won't match: `SuW` and `wild-Wre` (Sufi and wild-fire, the second example being broken between lines). Not sure that you can match a broken hyphenated word in a one-liner, however. Upvote anyway, as we arrived at the same pattern to get most of the job done." CreationDate="2011-05-27T01:59:43.993" UserId="1323" />
  <row Id="18587" PostId="13431" Text="Could you post the output of `dmidecode -t0 -t1 -t11` so we know what exact system you tested?  Also, +1 for adding `tp_smapi` to `/etc/modules`" CreationDate="2011-05-27T02:54:59.080" UserId="6767" />
  <row Id="18588" PostId="1722" Text="Note the now-obsolete =&amp; instead of &amp;=" CreationDate="2011-05-27T03:08:04.207" UserId="1620" />
  <row Id="18589" PostId="13865" Text="What type of file system are you trying to make?" CreationDate="2011-05-27T03:13:36.340" UserId="5770" />
  <row Id="18590" PostId="13858" Score="3" Text="Note that chmodding a directory to 600 makes it unaccessible to even the owner, as you need execute permission to chdir into it..." CreationDate="2011-05-27T04:19:04.283" UserId="4949" />
  <row Id="18591" PostId="13875" Score="1" Text="You can also use `ps -axf`. The `f` is for *forrest*, but it looks like a tree. ;-)" CreationDate="2011-05-27T05:25:25.287" UserId="3082" />
  <row Id="18592" PostId="13874" Text="This is good already, but I want to see if I can do without editing sshd_config." CreationDate="2011-05-27T05:45:31.867" UserId="250" />
  <row Id="18593" PostId="13865" Score="1" Text="Bad enclosure? The storage driver is detecting the drive's size as 32 exabytes and/or zero bytes. Things are screwed up here at a lower level than partitions." CreationDate="2011-05-27T05:56:22.550" UserId="311" />
  <row Id="18594" PostId="13267" Text="Weird, all the answers work for Ubuntu, but not Gentoo..." CreationDate="2011-05-27T05:58:48.603" UserId="250" />
  <row Id="18595" PostId="13876" Text="I don't have that screen with me, so I think you should post the text on that screen, or upload a screenshot." CreationDate="2011-05-27T06:00:24.250" UserId="250" />
  <row Id="18596" PostId="13875" Text="Thanks so much!" CreationDate="2011-05-27T06:31:03.667" UserId="7822" />
  <row Id="18597" PostId="13874" Score="1" Text="Given you are wanting to make a system change, ie., one that _doesn't_ impact on other users, that seems to be unlikely..." CreationDate="2011-05-27T06:35:54.400" UserId="6761" />
  <row Id="18598" PostId="13877" Text="...underclocking... do tell..." CreationDate="2011-05-27T06:51:28.757" UserId="5614" />
  <row Id="18600" PostId="13880" Text="Interesting... I thought `-n` only applied to 'defined' variables ($abc, $xyz, etc), but I suppose $(...) is a 'defined' temp variable.. +1  ... (and I just read recently that using `-n` is risky, unless you are sure that the variable has not already been declared and is 'unused)... but a temp won't have this possibility... ie. uninitialized vs. empty" CreationDate="2011-05-27T08:09:14.390" UserId="2343" />
  <row Id="18601" PostId="13855" Text="Aren't you missing something in your example? Where is `awk` getting it's input?" CreationDate="2011-05-27T08:43:03.093" UserId="1925" />
  <row Id="18602" PostId="13887" Score="1" Text="Yes, a spell-check is a good idea. I've done this type of thing many times..  and there is no one-stop solution (in my experience)... I used four steps. 1. Tune the OCR; 2. sed; 3. a case-statement script for quirky 'specials'; and 4. A spell checker...   " CreationDate="2011-05-27T08:51:25.960" UserId="2343" />
  <row Id="18603" PostId="13886" Text="It's difficult to think that way around, since if I were a normal user who doesn't sudo, I can happily set up my keys then lock the password, thus making my account &quot;key only authentication&quot;." CreationDate="2011-05-27T09:02:03.027" UserId="250" />
  <row Id="18604" PostId="13886" Text="In another thought, I could lock my password every time I'm about to log out, which should disallow all password log in for my account. Then once I'm logged in with my keys, I could enable the password again to sudo.  &#xA;Obviously it's not a good solution, but it makes me think it's possible.&#xA;" CreationDate="2011-05-27T09:03:24.863" UserId="250" />
  <row Id="18605" PostId="13886" Score="1" Text="You can only do that because the system administrator allowed key authentication and you are only adding restrictions for yourself, not changing anything. Disabling your password just sets it to an invalid value, it doesn't change what authentication the system daemon allows." CreationDate="2011-05-27T09:06:12.193" UserId="1925" />
  <row Id="18606" PostId="13890" Text="How do I find out what the IP of my server is?" CreationDate="2011-05-27T09:47:49.030" UserId="7826" />
  <row Id="18607" PostId="13880" Text="@fred: On the contrary, `-n` tests whether a string is empty, it has nothing to do with variables. What you've read was probably saying that using `-n` doesn't test whether a variable is defined: `-n &quot;$foo&quot;` is false if `foo` is defined but empty, and displays an error message under `set -u`. `[ -n &quot;${foo+1}&quot; ]` reliably tests whether `foo` is set, but treating empty and unset variables identically is usually a good idea: `[ -n &quot;${foo:+1}&quot; ]`, or just `[ -n &quot;$foo&quot; ]` if you're not worried about `set -u`." CreationDate="2011-05-27T10:01:42.663" UserId="885" />
  <row Id="18608" PostId="13872" Text="In what type of scenario: is the command running at the time of your investigation? Do you want to investigate all executions of the command or just some? Can you set up a monitoring method beforehand or is this strictly forensic? Can you control all the ways the command is run? Can you modify the command's executable? Browsing [`process`+`monitoring`](http://unix.stackexchange.com/questions/tagged/process+monitoring) might provide inspiration." CreationDate="2011-05-27T10:08:36.010" UserId="885" />
  <row Id="18609" PostId="13886" Text="&quot;adding restrictions for yourself, not changing anything&quot;, is exactly what I'm wanting to do." CreationDate="2011-05-27T10:24:55.083" UserId="250" />
  <row Id="18610" PostId="13886" Text="@Caleb: There would be no security problem in allowing `authorized_keys` to put *more* restrictions, as phunehehe wants. For example `authorized_keys` can restrict certain keys to certain commands." CreationDate="2011-05-27T10:29:01.833" UserId="885" />
  <row Id="18611" PostId="13895" Text="I have no idea how to compile. It looks like those rpm's are old versions. The latest version is 1.61 I believe. Are their any alternatives for gif resizing? Imagemagick is slow and does not handle animations well" CreationDate="2011-05-26T19:43:10.783" />
  <row Id="18612" PostId="13895" Text="Compiling should be pretty straightforward - download the source, extract it, change to the directory and run ./configure &amp;&amp; make &amp;&amp; sudo make install" CreationDate="2011-05-26T19:48:47.273" />
  <row Id="18613" PostId="13895" Text="Thanks I'll try that" CreationDate="2011-05-26T19:52:39.707" />
  <row Id="18615" PostId="13894" Text="Which version of CentOS, please? Also, you can often reuse old rpm packaging. You'll need a source rpm, and then you can use the old spec file with minor modifications with the new sources." CreationDate="2011-05-27T12:12:19.083" UserId="4671" />
  <row Id="18616" PostId="13893" Text="[谢谢你解释你对我们的解决方案。](http://translate.google.com/#zh-CN|en|%E8%B0%A2%E8%B0%A2%E4%BD%A0%E8%A7%A3%E9%87%8A%E4%BD%A0%E5%AF%B9%E6%88%91%E4%BB%AC%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E3%80%82)" CreationDate="2011-05-27T12:16:20.140" UserId="6766" />
  <row Id="18617" PostId="13891" Text="+1 - Awesome explanation. Thanks a lot." CreationDate="2011-05-27T12:44:22.283" UserId="5770" />
  <row Id="18618" PostId="13900" Score="1" Text="The variable $IFS (Internal Field Seperator) governs what is classed as whitespace.. eg. `echo -n &quot;$IFS&quot; | xxd -p` ... returns `20090a` ... space, tab, newline   (`xxd` is a hex dump utility packaged with vim)" CreationDate="2011-05-27T13:22:52.903" UserId="2343" />
  <row Id="18619" PostId="13853" Text="hdparm seems handy, but how would I check the sector size?" CreationDate="2011-05-27T14:16:58.613" UserId="2343" />
  <row Id="18620" PostId="13853" Text="`/sys/block/sdx/queue/physical_block_size` may give you the information but some newer disks play fast and loose with the sector size they report. It's probably better to read the label on the disk or look it up in the manufacturers data sheet." CreationDate="2011-05-27T14:41:05.127" UserId="591" />
  <row Id="18621" PostId="13897" Text="That allows logging from home to gitrepo1; I was wondering about logging from gitepo1 to home." CreationDate="2011-05-27T14:41:41.883" UserId="4799" />
  <row Id="18622" PostId="13905" Text="Ugh, I'll never remember all these vim shortcuts. The Windows shortcuts are just so much more intuitive." CreationDate="2011-05-27T14:45:43.460" UserId="1594" />
  <row Id="18623" PostId="13905" Text="Personally, I find vim's to be more intuitive. V, enter visual mode G, almost like &quot;go&quot;, to the end of the file. And x, remove." CreationDate="2011-05-27T14:46:46.470" UserId="2664" />
  <row Id="18624" PostId="13853" Text="Thanks.. I've just noticed that `hdparm -I /dev/sda` lists 2 &quot;versions&quot; of sector size: `Logical` and `Physical`. Is this what you mean by &quot;fast-and-loose&quot;? .... I jsut get that &quot;feeling&quot; that if anything is going to behave in such a way it could well be a RAID system.." CreationDate="2011-05-27T14:58:34.103" UserId="2343" />
  <row Id="18625" PostId="13874" Text="and what about ~/.ssh/config ? Have you tried including the settings there?" CreationDate="2011-05-27T15:15:04.083" UserId="3712" />
  <row Id="18626" PostId="10718" Text="I think you have more luck using the gentoo email lists. S390 is not very common and it seems your problem is specific to it." CreationDate="2011-05-27T15:45:43.960" UserId="7838" />
  <row Id="18627" PostId="13907" Score="1" Text="Any awk/sed/ed solution will be line-oriented, so if you don't know the first line will be at least 31 characters then complications ensue." CreationDate="2011-05-27T15:51:37.623" UserId="4667" />
  <row Id="18628" PostId="13853" Text="@red: I can't fid the reference now but I read somewhere that some drives with 4096 byte sectors will report to the system that they are 512byte and then deal wit the conversion internally." CreationDate="2011-05-27T15:53:21.140" UserId="591" />
  <row Id="18629" PostId="1493" Text="Sorry, the stage3 also includes a libc. The most foolproof way would be to go the stage3 way. But keep in mind that this is expert stuff that the gentoo project does not officially support. It is way too easy to get wrong and to be left with the pieces. But technically it is possible." CreationDate="2011-05-27T15:56:56.030" UserId="7838" />
  <row Id="18630" PostId="13909" Score="1" Text="Swapping bs and skip values will increase the performance." CreationDate="2011-05-27T16:07:16.000" UserId="2594" />
  <row Id="18631" PostId="13908" Text="Strange. You are saying that it crashes with this error if you try to run it from the command line, but not from a menu?" CreationDate="2011-05-27T16:21:09.873" UserId="4671" />
  <row Id="18633" PostId="13908" Text="What version of libcairo2 do you have installed? I'm trying to reproduce this." CreationDate="2011-05-27T16:28:47.357" UserId="4671" />
  <row Id="18634" PostId="13746" Text="@Gilles I added an answer to that question. The support varies, apologies if &quot;can be done with udev&quot; in my earlier comment gives somebody false hope. janoliver, if you are comfortable upgrading your kernel, it might be worth an experiment (or look for a live CD). You may want to update the question with exact hardware and kernel versions for others' reference." CreationDate="2011-05-27T16:29:32.193" UserId="5931" />
  <row Id="18635" PostId="13908" Text="I can't reproduce this. Iceweasel 4 from http://mozilla.debian.net/ works fine for me. Do you have `libcairo2` 1.10.2-1.1~bpo60+1 installed?" CreationDate="2011-05-27T16:39:15.247" UserId="4671" />
  <row Id="18636" PostId="13908" Text="If you don't, try doing `apt-get install -t squeeze-backports libcairo2`" CreationDate="2011-05-27T16:41:54.433" UserId="4671" />
  <row Id="18637" PostId="13908" Text="@Faheem, this issue disappeared after I updated my debian and restated my machine.thank for looking into it" CreationDate="2011-05-27T16:46:23.790" UserId="4859" />
  <row Id="18638" PostId="13913" Score="1" Text="This is some weirdness that needs a bug report." CreationDate="2011-05-27T16:53:35.007" UserId="688" />
  <row Id="18639" PostId="4614" Text="`/etc/conf.d/rc` is deprecated and doesn't work anymore under the new baselayout-2/openrc boot system. `/etc/rc.conf` is the new equivalent." CreationDate="2011-05-27T17:19:37.657" UserId="311" />
  <row Id="18640" PostId="13746" Text="@Andy: I have the newest kernel version (2.6.38) and intel graphics. (Arrandale i3000 chip). I am still not sure where to look for the kms thingy, but I guess it should be loaded. However, udev still doesn't give me anything, so I might have to leave it like this..." CreationDate="2011-05-27T17:34:08.307" UserId="7574" />
  <row Id="18641" PostId="13874" Text="AFAK ~/.ssh/config in for the client, not the server." CreationDate="2011-05-27T18:12:29.067" UserId="1762" />
  <row Id="18642" PostId="13918" Score="1" Text="Thanks. I took option 1, and with the help of this old answer, realized that \e[B will bind the down arrow." CreationDate="2011-05-27T18:51:03.950" UserId="1594" />
  <row Id="18643" PostId="13918" Text="I edited your question to include history-search-forward (well, submitted an edit to the edit queue)" CreationDate="2011-05-27T18:53:43.620" UserId="1594" />
  <row Id="18644" PostId="13924" Score="1" Text="can we see the permissions on all the directories, starting with /, then /var, then /var/lib, and finally /var/lib/named? Let's make sure they all are searchable by the user named." CreationDate="2011-05-27T19:28:51.320" UserId="7847" />
  <row Id="18645" PostId="13679" Text="Adding the line you've suggested to the sudoers file is overly lenient, and defeats one of the primary purposes of sudo: restricting which commands may be run with the privileges of another user. OP should read and understand `man sudoers`, and (assuming she/he has control over it) make adjustments wisely." CreationDate="2011-05-27T20:45:55.553" UserId="1323" />
  <row Id="18646" PostId="13924" Text="What does `testparm` say about your file?" CreationDate="2011-05-27T20:41:48.423" UserId="7849" />
  <row Id="18647" PostId="13813" Text="&quot;The size of the code is reduced, not the size of the data structures.&quot; Yes, but I was thinking more like it could change when it pulls variables into the stack, or the order of malloc/free in certain circumstances. Like I said though, I have no idea, which is why I asked =]" CreationDate="2011-05-27T21:00:58.960" UserId="1571" />
  <row Id="18648" PostId="13925" Text="Thanks. I checked the Makefile, and I found a line that is already including the glib libs with the correct path! So, lost again." CreationDate="2011-05-27T21:02:34.053" UserId="3707" />
  <row Id="18649" PostId="13830" Text="That assumes only one concurrent access at a time, right? I mean, I can't mount it, then run the VM. I know there are crazy things I can do, like mount the disk image and possibly use a unionfs. But again, not worth it. The whole point I was going for was to avoid installing KDevelop on my virtual machine =P" CreationDate="2011-05-27T21:04:11.627" UserId="1571" />
  <row Id="18650" PostId="13925" Score="1" Text="@AJweb: but that's clearly not getting to gcc because it only says `-I. -I. -I../../src   -I/usr/include/openssl`. Check which macros are being used with  $(CC) ." CreationDate="2011-05-27T21:10:24.487" UserId="591" />
  <row Id="18651" PostId="13830" Text="Get over it already, if that's the motivation I promise it isn't worth it, just install the software you need in the VM, and if you need to share files setup proper file sharing using either host folder sharing or a network based file system. Seriously :)" CreationDate="2011-05-27T21:20:46.383" UserId="1925" />
  <row Id="18652" PostId="13930" Score="1" Text="I don't understand the question. On most architectures, the RAM is shared between all cores. Processes aren't associated with particular cores either. What information are you after?" CreationDate="2011-05-27T21:37:45.163" UserId="885" />
  <row Id="18653" PostId="13910" Score="1" Text="Suggesting `dd` here is overkill, `tail` is more appropriate (simpler, less risk of a killer typo, no spurious messages on stderr)." CreationDate="2011-05-27T22:16:14.893" UserId="885" />
  <row Id="18655" PostId="13926" Text="This is not a question specific to svn, it applies to vanilla `mv` as well. However, with `mv`, `mv * newdir` works for me, albeit with an error." CreationDate="2011-05-28T01:38:26.507" UserId="7189" />
  <row Id="18656" PostId="13924" Text="Is selinux turned on, and did you create those files/directories by hand and not set the context?" CreationDate="2011-05-28T04:37:40.460" UserId="5824" />
  <row Id="18657" PostId="13930" Text="I have added fragment of Makefile template of said app that talks about &quot;**memory per core**&quot;.  Your guess is as good as mine in what it mean; I think it might be total memory / number of cores (CPUs)." CreationDate="2011-05-28T06:13:29.150" UserId="4799" />
  <row Id="18658" PostId="13931" Text="To heck with it, just use [xfce](http://www.xfce.org/). ;-)" CreationDate="2011-05-28T06:36:42.197" UserId="3082" />
  <row Id="18659" PostId="13937" Text="portage is very flexible, and I'd hazard a guess that with the right environment variable settings it could be done. But I'm not exactly sure what they would be right now." CreationDate="2011-05-28T06:43:35.910" UserId="3082" />
  <row Id="18660" PostId="13939" Text="This question should IMHO use `perf_events` tag... but it does not exists yet, and I don't have enough reputation to add it." CreationDate="2011-05-28T06:53:39.847" UserId="4799" />
  <row Id="18661" PostId="13919" Text="I suggest you add a link to the linux_monitor source, if it is publicly available. Does this package not have a configure step?" CreationDate="2011-05-28T07:10:18.930" UserId="4671" />
  <row Id="18662" PostId="13890" Text="Also, can anyone suggest how I would configure my Windows 7 client to be able to print to this computer as well?" CreationDate="2011-05-28T07:41:53.023" UserId="7826" />
  <row Id="18663" PostId="13939" Text="Did you try looking for `perf` instead of `prof`?" CreationDate="2011-05-28T07:49:09.760" UserId="2421" />
  <row Id="18664" PostId="13930" Score="1" Text="It depends on what the program does with that parameter.  Total memory / number of cores would be a good starting point, but if it actually tries to allocate that much memory per core, you'd probably want to use a smaller value.  On the other hand, maybe that parameter is only for use on NUMA machines.  You haven't given us enough information for a definitive answer." CreationDate="2011-05-28T08:00:16.477" UserId="2421" />
  <row Id="18665" PostId="13939" Text="@cjm: Thanks, rechecked just in case, and fixed.  (Its 'perf' not 'prof', but it is 'gprof' not 'gperf'...)." CreationDate="2011-05-28T08:02:34.010" UserId="4799" />
  <row Id="18666" PostId="13933" Text="Thanks in advance!" CreationDate="2011-05-28T08:12:20.193" UserId="2276" />
  <row Id="18667" PostId="13910" Text="You are right. I usually avoid commands intended to process text files when processing possibly binary ones but &quot;tail +32c&quot; will work here." CreationDate="2011-05-28T08:26:11.720" UserId="2594" />
  <row Id="18669" PostId="13910" Score="1" Text="@jlliagre: You have written `cut`  (shouldn't that be tail? ... asis, it doesn't work for me..." CreationDate="2011-05-28T09:21:18.033" UserId="2343" />
  <row Id="18670" PostId="13910" Text="Of course, it's tail. Sorry about the mismatch." CreationDate="2011-05-28T09:23:57.607" UserId="2594" />
  <row Id="18671" PostId="13932" Score="2" Text="Files cannot be trusted to have &quot;tame&quot; names. Ever :) The shell glob solutions presented for bash and zsh neatly sidestep this issue." CreationDate="2011-05-28T09:42:45.460" UserId="1925" />
  <row Id="18672" PostId="13928" Text="I've known about the `!()` syntax that works with `zsh`. How does the `^` syntax differ? It doesn't work in my shell, what option would I need to set to enable it?" CreationDate="2011-05-28T09:45:02.683" UserId="1925" />
  <row Id="18673" PostId="13945" Text="I asked about HTTPS." CreationDate="2011-05-28T10:04:20.660" UserId="6960" />
  <row Id="18674" PostId="13945" Score="2" Text="You only get https if the mirror you use provides https, which most do not. You can check the integrity of your mirror by using the checksum from a different mirror if you like. Otherwise, move on to more important problems. If somebody compromised the release structure and all the mirrors have a bogus release with bad checksum files, serving them up over https wouldn't save anybody!" CreationDate="2011-05-28T10:12:31.187" UserId="1925" />
  <row Id="18675" PostId="12905" Text="Now It works! I used another crosstools." CreationDate="2011-05-28T10:24:56.913" UserId="7359" />
  <row Id="18676" PostId="13944" Text="For a quick and dirty look, have a dig around in [here](http://mirror.internode.on.net/pub/OpenBSD/)." CreationDate="2011-05-28T10:35:04.450" UserId="5770" />
  <row Id="18677" PostId="13946" Text="Your question assumes you know the answer and everybody else is wrong. First try to figure out what people mean by terms like &quot;independent&quot; and &quot;based on&quot;, then the usage on distrowatch might make more sense. There is always the possibility of a mistake being made, but first understand the terminology yourself." CreationDate="2011-05-28T10:40:40.770" UserId="1925" />
  <row Id="18678" PostId="13914" Text="Ok, I had feeling that it is impossible, you've just assured me in it. Anyways KDE 4.6 seems pretty stable, so I will give up with 3.5 eventually.&#xA;Or I shall continue with 3.5 and HAL. After all Sir Arthur Clarke have warned us about giving up with HAL ;)" CreationDate="2011-05-28T11:02:35.067" UserId="5704" />
  <row Id="18679" PostId="13947" Score="1" Text="Don't use avi container, use MKV or OGM." CreationDate="2011-05-28T11:07:49.280" UserId="2671" />
  <row Id="18680" PostId="13946" Text="What exactly do you don't understand? Red Hat is based on Fedora and Fedora isn't based on any other distribution." CreationDate="2011-05-28T11:10:08.173" UserId="2671" />
  <row Id="18681" PostId="13908" Score="1" Text="This question being both &quot;solved&quot; and unanswered prompted me to [ask on meta](http://meta.unix.stackexchange.com/q/626/1925) about how to handle it here." CreationDate="2011-05-28T11:17:11.577" UserId="1925" />
  <row Id="18682" PostId="13921" Text="IE6 only? Seriously? This sounds like a job for having a little windows virtual machine sitting around in VirtualBox that you can startup to access stupid IE6 only sites. Fighting wine, activex, libraries, and such is going to be more trouble than it's worth." CreationDate="2011-05-28T11:22:48.503" UserId="1925" />
  <row Id="18683" PostId="13951" Score="1" Text="The answer will depend mostly on the guest OS and then how you measure fast. Number crunching CPU intensive operations? Video intensive? Access to hardware resources like USB?" CreationDate="2011-05-28T11:30:25.270" UserId="1925" />
  <row Id="18684" PostId="1446" Text="It appears that for some reason when a system is using ext4 on a RAID set, it wants to remount the set with the &quot;commit=0&quot; option set. I am currently seeing the same thing happen with 3ware hardware RAID. Like the original poster, I have no idea why this is happening. I am running two different OS's on the same hardware. Mandriva 2010.2 is NOT remounting with the commit option set, Mageia 1 is." CreationDate="2011-05-27T14:03:19.953" UserId="7836" />
  <row Id="18685" PostId="13921" Text="that is the solution that had been used for a long time. but we want to get rid of these vm's." CreationDate="2011-05-28T11:34:37.653" UserId="6960" />
  <row Id="18686" PostId="13946" Text="@LEt_Me_Be: did you read what had I posted?: https://fedoraproject.org/wiki/History" CreationDate="2011-05-28T11:35:38.980" UserId="6960" />
  <row Id="18687" PostId="13946" Text="@Caleb: I'm asking that that why is there such a big typo in Distrowatch. Why is there when it's not true?" CreationDate="2011-05-28T11:36:28.900" UserId="6960" />
  <row Id="18688" PostId="13921" Text="As far as manageability goes, using wine and activex on linux is going to be a step backwards: it will be harder to manage and more brittle than a working VM image you can distribute and maintain in one shot." CreationDate="2011-05-28T11:37:36.920" UserId="1925" />
  <row Id="18689" PostId="13946" Text="@LanceBaynes How does that relate? Fedora was previously called Red Hat Linux, now it's called Fedora and Red Hat Enterprise Linux is based on Fedora." CreationDate="2011-05-28T11:37:40.813" UserId="2671" />
  <row Id="18690" PostId="13946" Score="1" Text="@LanceBaynes: It's not a typo, it's actually legitimate. Yes I read what you posted and yes I know the history. Having a history of connections is not what distrowatch means by being based on! See my answer." CreationDate="2011-05-28T11:40:36.573" UserId="1925" />
  <row Id="18691" PostId="13843" Text="*&quot;Q: can someone write this script in Perl? :P (with a smaller, nicer code?)&quot;* this is not ontopic and not a real question." CreationDate="2011-05-28T11:44:18.133" UserId="29" />
  <row Id="18692" PostId="13843" Text="It would be closed on stackoverflow even because you're asking someone to do your work for you. If you were to put some effort into writing it in perl, and got stuck, then you could ask this on stackoverlow." CreationDate="2011-05-28T11:45:30.333" UserId="29" />
  <row Id="18693" PostId="13886" Text="@Gilles: Sure, but the general model is for things settable in your user preferences to over-ride system wide preferences. Having a value that you could set in your home folder that would change the system daemon behavior but not actually over-ride the setting would be a documentation and support nightmare. &quot;I change the settings, and X value works but Y is ignored!&quot;" CreationDate="2011-05-28T12:27:53.183" UserId="1925" />
  <row Id="18694" PostId="13910" Text="@jlliagre: On Solaris, you should have `/usr/xpg4/bin` ahead of `/usr/bin` on your `PATH`, or you'll be stuck in the early 1990s. Many unices (e.g. GNU, BusyBox) no longer support the historical `+32c` syntax, and take it to mean a file called `+32c` (as POSIX requires)." CreationDate="2011-05-28T12:31:54.227" UserId="885" />
  <row Id="18695" PostId="13943" Text="This is more of a programming question, it's not about using development tools but really about understanding a particular architecture. So I recommend a migration to [Stack Overflow](http://stackoverflow.com/)." CreationDate="2011-05-28T12:35:24.943" UserId="885" />
  <row Id="18696" PostId="13950" Text="It looks good.. youtube has some how-to vids..eg. http://www.youtube.com/watch?v=QmwqEajaVt4" CreationDate="2011-05-28T13:04:09.493" UserId="2343" />
  <row Id="18697" PostId="13953" Text="[This looks right](http://unix.stackexchange.com/q/5847). What's the full content of the script and how are you running it? Does it produce any output? How do you tell that `screen` failed to start? Try adding `set -x` at the top of the script (just after the `#!` line) and report the trace output when you run the script." CreationDate="2011-05-28T13:05:15.500" UserId="885" />
  <row Id="18698" PostId="13948" Text="This one comes with builtin profiles, eg. ogg theora, avi etc.. good." CreationDate="2011-05-28T13:18:49.327" UserId="2343" />
  <row Id="18700" PostId="13953" Text="that is the full content of the script :) the screen command works if I type it in directly, so I think my main issue is the stop part" CreationDate="2011-05-28T13:23:17.877" UserId="7864" />
  <row Id="18701" PostId="13954" Text="if I manually switch over using screen -r, I can see the screen, and there is no text entered at all. even if the carriage return was failing, I should still get 'stop' typed in. But nothing" CreationDate="2011-05-28T13:24:04.710" UserId="7864" />
  <row Id="18702" PostId="13948" Text="@fred - It's a really nice feature of this program. You can go with one of a variety of profiles or tinker around. I tended to use .mkv containers with x264/AAC inside. Seemed to work very well." CreationDate="2011-05-28T13:25:17.190" UserId="5770" />
  <row Id="18703" PostId="13954" Text="if I have a script with screen -r on one line, and then screen -X stuff &quot;stop^M&quot; then it does stop the server, but also complains with 'error uknown option r'" CreationDate="2011-05-28T13:36:44.583" UserId="7864" />
  <row Id="18704" PostId="13954" Text="I tested in here by creating screen session, then using the command above and it works perfectly. Are you able to connect to your screen session using `screen -d -RR minecraft`?" CreationDate="2011-05-28T13:38:25.710" UserId="1925" />
  <row Id="18705" PostId="13954" Text="yes, that connects me to the screen. so does screen -r.. hang on, if I try screen -S minecraft -X stuff &quot;stop^M&quot; then manually screen -r, there is 'stop' text in the screen." CreationDate="2011-05-28T13:39:29.150" UserId="7864" />
  <row Id="18706" PostId="13954" Text="Works for me. Perhaps you have something funky in your `.screenrc` or you have a bunch of defunkt screen sessions open with that name and so you are sending data to the wrong one? `screen -list`?" CreationDate="2011-05-28T13:42:12.903" UserId="1925" />
  <row Id="18707" PostId="13954" Text="ok, thats working now.`code TERM=xterm&#xA;screen -S minecraft -X stuff &quot;stop&#xA;&quot; `  will now try it in the scripts and see how I get on." CreationDate="2011-05-28T13:44:52.217" UserId="7864" />
  <row Id="18708" PostId="13954" Text="This answer is wrong: `$(…)` only strips final newline characters, not carriage returns (`\r`). Since it's in double quotes, assuming that `echo -ne '\r'` outputs a CR, the argument of the `stuff` command will be `stop ␍` (where ␍ is a carriage return character)." CreationDate="2011-05-28T13:50:53.093" UserId="885" />
  <row Id="18709" PostId="13954" Text="@richard: If you see “error uknown option r”, you are doing something you aren't telling us." CreationDate="2011-05-28T13:51:20.553" UserId="885" />
  <row Id="18710" PostId="13953" Text="@richard: You wrote “If I execute that line from within the script it doesn't seem to set up a screen”. So does the start part work or not? If it doesn't, see my first comment." CreationDate="2011-05-28T13:53:02.470" UserId="885" />
  <row Id="18711" PostId="6660" Text="I am getting the same symptoms when using byobu on my Ubuntu Lucid Desktop's terminal. Only one of the screens freezes. CTRL+Q and CTRL+S works sometimes, but not all. Anyway, just mentioned it cos I don't think its an issue with Putty particularly." CreationDate="2011-05-28T13:53:34.187" UserId="7638" />
  <row Id="18712" PostId="13944" Score="2" Text="[Do not crosspost](http://meta.stackoverflow.com/questions/64068/is-it-possible-to-post-questions-across-a-couple-of-the-sites-because-its-debata/64073#64073), please read our [FAQ](http://unix.stackexchange.com/faq). The [version on Security.SE](http://security.stackexchange.com/questions/4152/where-to-download-openbsd-release-isos-over-https) is (marginally) better worded and has several answers already, so I'm voting to close this one." CreationDate="2011-05-28T13:57:38.090" UserId="885" />
  <row Id="18713" PostId="13953" Text="I'm trying to run it as an unMENU user script. If I have the user script with that exact screen command, nothing happens. If I type the screen command into a telnet window, it launches the server in a screen like you'd expect. So I think there is some difference I don't understand in the way unMENU user scripts are handled." CreationDate="2011-05-28T14:02:42.540" UserId="7864" />
  <row Id="18714" PostId="13953" Text="@richard: Now we're getting somewhere. Please update your question with information on how you're using unMENU. And do try adding two lines `#!/bin/bash` and `set -x` at the top of the script, and show us the trace output from the script. You might need to look in the unMENU documentation to find out where that output goes." CreationDate="2011-05-28T14:05:24.020" UserId="885" />
  <row Id="18715" PostId="13954" Text="@Gilles: Fixed, thanks. @Richard: screen has a problem with ignoring input sent to a session that has never been attatched. If you either start it in the forground or attatche and detatch, the send keystrokes part works fine. Otherwise it silently fails. This might be a good time to switch to `tmux`!" CreationDate="2011-05-28T14:05:53.687" UserId="1925" />
  <row Id="18716" PostId="13954" Text="ok.. Tried `code screen -S minecraft -X stuff &quot;stop&quot;` with a carriage return and its not working. BUT, if I first do a `code screen -r ` to attach the screen, then detach with ctrl-A d, THEN run it, it shuts the server down. So its like the screen won't hear my command until i've first attached to it" CreationDate="2011-05-28T14:09:22.140" UserId="7864" />
  <row Id="18717" PostId="13954" Text="@Caleb, yes, just noticed! Any suggestions? Don't need to do anything complex, just run the server in the background, then be able to shut it down properly as described. " CreationDate="2011-05-28T14:10:51.187" UserId="7864" />
  <row Id="18719" PostId="13936" Text="Double check your BIOS options and make sure anything that says &quot;Bluetooth&quot; is enabled.  " CreationDate="2011-05-28T14:13:42.607" UserId="3389" />
  <row Id="18720" PostId="13954" Text="@Caleb: Interesting. I wasn't aware of that issue with screen. I can reproduce the problem with Screen 4.00.03 on Debian lenny and OpenBSD." CreationDate="2011-05-28T14:15:13.680" UserId="885" />
  <row Id="18721" PostId="13798" Text="this creates the other intesting problem of having to mount and then unmount all of the archives, as part of the the problem is that there are 22k archives that need to be searched through" CreationDate="2011-05-28T14:24:06.533" UserId="29" />
  <row Id="18722" PostId="13798" Text="@xenoterracide: How is that a problem? With AVFS, you have a single mount point (`~/.avfs`), and access to each archive is automatic (`~/.avfs/path/to/archive.zip\#` is an ordinary directory on the AVFS filesystem, not a mount point). Sure, each archive you access means a little performance hit, but that's intrinsic to the problem." CreationDate="2011-05-28T14:31:26.180" UserId="885" />
  <row Id="18723" PostId="13954" Text="@richard: I added the code you will need to do this with `tmux` in my answer. I still use `screen` every day out of force of habit, but `tmux` behaves quite a bit better!" CreationDate="2011-05-28T14:35:12.253" UserId="1925" />
  <row Id="18724" PostId="13961" Text="beautiful, works great (at least from the command line, will poke the unmenu guys later). This seems to have thrown quite a few people and its the first time I've seen a concrete solution. I just wish I had enough points to vote you up :D" CreationDate="2011-05-28T15:11:49.020" UserId="7864" />
  <row Id="18725" PostId="13954" Text="@caleb: thanks, that looks nice and simple. I'd never heard of tmux. Gilles solution works too, so I'm going to stick with that for now, but will definitely keep tmux in mind in case of problems. Thanks again!" CreationDate="2011-05-28T15:13:55.820" UserId="7864" />
  <row Id="18726" PostId="13798" Text="@gilles only the fact that now I have to go through and figure out how to mount them first, which seems like a bit of a bad idea, better to mount them as I go and unmount after being searched." CreationDate="2011-05-28T15:14:24.403" UserId="29" />
  <row Id="18727" PostId="13958" Text="Could you give me *step by step* instruction how to install given package locally?" CreationDate="2011-05-28T15:18:06.023" UserId="4799" />
  <row Id="18728" PostId="13798" Text="@xenoterracide: Again: no, you don't need to mount them individually. The full workflow (apart from installing AVFS if needed) is in my code snippets." CreationDate="2011-05-28T15:18:18.237" UserId="885" />
  <row Id="18730" PostId="13798" Text="@gilles well I'll have to dig into this a bit... because I get `find: missing argument to `-exec'` and lots of this from zsh `zsh: Input/output error: Data-Maker-0.27`" CreationDate="2011-05-28T15:36:16.233" UserId="29" />
  <row Id="18731" PostId="3380" Text="All these details are stored in a magic proprietary format in a giant database that powers my AdmnistrateAnythingBot© that will soon make human system administrators obsolete." CreationDate="2011-05-28T15:40:30.960" UserId="1925" />
  <row Id="18732" PostId="13957" Text="https://www.schneier.com/blog/archives/2009/07/another_new_aes.html" CreationDate="2011-05-28T16:37:03.520" UserId="6960" />
  <row Id="18733" PostId="13957" Text="https://secure.wikimedia.org/wikipedia/en/wiki/AES_instruction_set" CreationDate="2011-05-28T16:37:30.433" UserId="6960" />
  <row Id="18734" PostId="13905" Score="2" Text="@ripper234: don't try to remember &quot;snippets&quot; to do specific tasks, focus on the subcommands. That's part of the magic of vim: using these smaller commands to build up larger, more complex things. It's almost infinitely flexible. " CreationDate="2011-05-28T16:38:36.213" UserId="4398" />
  <row Id="18735" PostId="13965" Text="How exactly would I go about that? Pardon my lack of experience, but this link https://wiki.archlinux.org/index.php/Blacklisting, that I got to by following a page on udev, does not appear to be specifically associated with udev, and does not actually tell me how to blacklist a particular device with vendor product id." CreationDate="2011-05-28T18:15:47.123" UserId="7868" />
  <row Id="18736" PostId="13965" Text="That page is about blacklisting a module from loading. You don't want to do that because you need the module for your keyboard and mouse! What you want is to stop that particular device from associating with it. I'm sorry I don't know the udev rule off hand. If I get a change to look it up I'll add it to my answer but I thought I'd point you in the direction first." CreationDate="2011-05-28T18:18:54.067" UserId="1925" />
  <row Id="18737" PostId="13947" Score="2" Text="@Let_Me_Be: why?" CreationDate="2011-05-28T18:22:24.790" UserId="688" />
  <row Id="18738" PostId="13969" Text="if u have to use ps, try with ps aux, and then pipe it with some way of sort or something. You will find the way. " CreationDate="2011-05-28T18:23:05.513" UserId="7870" />
  <row Id="18739" PostId="13969" Text="@Boban &quot;You will find the way&quot; isn't a particularly helpful answer :)" CreationDate="2011-05-28T18:40:25.630" UserId="73" />
  <row Id="18740" PostId="13928" Text="@Caleb Sorry, I thought it was on by default, but apparently you need to `setopt extendedglob`. I didn't know about `!()`, it sounds like a more cross-shell way to do it" CreationDate="2011-05-28T18:42:51.010" UserId="73" />
  <row Id="18741" PostId="13969" Text="I agree :) will post solution with ps after the finale :)" CreationDate="2011-05-28T18:51:21.857" UserId="7870" />
  <row Id="18742" PostId="13969" Text="ps aux | sort -k 3,3 | tail -n 5 ;-)" CreationDate="2011-05-28T19:01:06.683" UserId="7869" />
  <row Id="18743" PostId="13947" Text="@Tshepang For one, you can actually replicate the DVDs functionality 1:1 with MKV and OGM containers (that's not possible with avi)." CreationDate="2011-05-28T19:42:09.687" UserId="2671" />
  <row Id="18744" PostId="13969" Text="exactly as above... but I would do 	&#xA;ps aux | sort -kr 3,3 | head -n 5   P.S. God damn Barcelona :(" CreationDate="2011-05-28T20:39:28.537" UserId="7870" />
  <row Id="18745" PostId="13946" Text="The word &quot;based&quot; in this regard references its current design. It is not in reference to its history." CreationDate="2011-05-28T21:41:51.753" UserId="7873" />
  <row Id="18746" PostId="13979" Score="1" Text="Thx, that's so simple, but I've been wondering how to get around that for months. I found that really weird, and to be a very inconsistent behavior, but now I understand since it's not find, but bash's fault." CreationDate="2011-05-29T01:47:48.693" UserId="7875" />
  <row Id="18748" PostId="13970" Text="In OS X, is `top -o cpu -n 5` a way of achieving the same thing. Does anyone know? My `top` is different to your `top`." CreationDate="2011-05-29T04:00:30.510" UserId="5770" />
  <row Id="18749" PostId="13970" Text="You're the one with the different top so you would be in a position to say. My top doesn't have `-o` and `-n` sets the number of times it refreshes the display before quitting." CreationDate="2011-05-29T05:28:11.943" UserId="1925" />
  <row Id="18750" PostId="13970" Text="Fair enough. I'll get on a Linux box this afternoon and take a look. My `top` doesn't seem to have a batch mode, which is quite limiting. There must be some way of piping `top` into other commands. I'll do some research." CreationDate="2011-05-29T05:45:26.837" UserId="5770" />
  <row Id="18751" PostId="13970" Text="I mentioned the batch mode switch in my answer but it's actually unnecessary for my top because it auto-detects being part of a pipe instead of an interactive session. Did you try just piping it without that?" CreationDate="2011-05-29T05:56:57.310" UserId="1925" />
  <row Id="18752" PostId="13979" Score="1" Text="It's not bash's &quot;fault&quot; per-se but yours for not quoting wildcards that you wanted to pass as arguments. This goes for all programs that accept shell input. The shell expands them as globs unless they are quoted or escaped." CreationDate="2011-05-29T05:59:29.773" UserId="1925" />
  <row Id="18754" PostId="13981" Text="Thanks! Are partitions and filesystems on a storage device also regarded as devices? Do they have drivers themselves, besides that the storage device has one?" CreationDate="2011-05-29T06:17:59.310" UserId="674" />
  <row Id="18755" PostId="13970" Text="I can't figure it because if I do `top -o cpu | head -n 12  | tail -n 5` the `top` process is started but it seems it's being run in the background as there's nothing printed in the terminal." CreationDate="2011-05-29T06:22:27.270" UserId="5770" />
  <row Id="18756" PostId="13910" Text="@Gilles: I should indeed as I usually strongly support standard conformance but in that specific case, I'm afraid I won't switch soon. What refrains me to do it is that change would trigger a gazillion of issues with existing scripts, and would distance me from the community of Solaris users who in their very large majority are still using the traditional commands." CreationDate="2011-05-29T06:51:52.600" UserId="2594" />
  <row Id="18757" PostId="13981" Text="Yes partitions are addressable as devices, as are all storage devices (whatever you mean by that). The whole device will run under one hardware driver, but of course each partition can have it's own file system so the mount command might use different kernel drivers to handle the different file systems." CreationDate="2011-05-29T07:21:55.180" UserId="1925" />
  <row Id="18758" PostId="5510" Text="I would recommend Gentoo for anything.  It's the most stable distro I've ever used.  It may not work with the newest hardware, though.  " CreationDate="2011-05-29T07:23:02.183" UserId="7738" />
  <row Id="18759" PostId="13970" Text="Sounds like your top can't handle non-interactive use. Try `htop` or the `ps` based solution in [Boban P.'s answer](http://unix.stackexchange.com/questions/13968/show-top-five-cpu-consuming-processes-with-ps/13969#13969)" CreationDate="2011-05-29T07:23:08.143" UserId="1925" />
  <row Id="18760" PostId="12241" Text="+1, where I learnt too." CreationDate="2011-05-29T08:27:28.117" UserId="6207" />
  <row Id="18761" PostId="13959" Text="Here's the page, not giving any details on Bluetooth: http://bit.ly/k4cLi1 . Booting to BIOS isn't as easy as it should be on this thing, let me give it a try in the morning. Thanks for the point in the right direction, I'll look into it and report back!" CreationDate="2011-05-29T09:38:38.450" UserId="5614" />
  <row Id="18762" PostId="13981" Text="wow. `cat /dev/sr0 &gt; mycd.iso` - Never thought about this." CreationDate="2011-05-29T09:45:09.470" UserId="4761" />
  <row Id="18763" PostId="13746" Text="Some additional info: Yesterday I booted the gparted live cd and while gparted was working on something, I, out of curiosity, tried a &quot;udevadm monitor&quot; there - and saw some events when the monitor was plugged in and out. It was the same kernel version as I have. So, it's not a hardware thing and HAS to be possible to reach in my Arch as well..." CreationDate="2011-05-29T10:54:05.773" UserId="7574" />
  <row Id="18766" PostId="13985" Text="Seconding the handbrake recommendation." CreationDate="2011-05-29T11:06:29.410" UserId="4671" />
  <row Id="18767" PostId="13970" Text="Will do. GNU `top` worked as described this afternoon. Cheers." CreationDate="2011-05-29T12:05:04.733" UserId="5770" />
  <row Id="18768" PostId="13958" Text="I think you'll be better off reading the docs, they're more accurate than anything I could reproduce here." CreationDate="2011-05-29T12:07:25.333" UserId="4648" />
  <row Id="18769" PostId="13746" Text="I finally got it running loading i915 as kernel module." CreationDate="2011-05-29T12:13:25.173" UserId="7574" />
  <row Id="18770" PostId="13991" Text="@Faheem Yeah, you were right about the driver. I had to install xorg-x11-drv-intel package to get this working, but now gdm starts and gets me to the login screen where neither my keyboard nor mouse works. I've dealt with this situation before, but I forgot the fix. Thanks! Btw, I always thought vesa is the default driver for Intel's cards." CreationDate="2011-05-29T12:29:54.667" UserId="4761" />
  <row Id="18771" PostId="13991" Text="@asgs: Maybe also a X issue. The mouse at least probably is.  You should probably post a new question for this if you are going to ask here, since you'll need to post all new diagnostic information. (I'd probably post the X logs and X config again at least). `vesa` is only used when nothing else is available. AFAIK, Intel has a relatively good attitude towards free drivers, and in fact works with the community to create them. So you should not have to use `vesa` here unless your card is super brand new or something." CreationDate="2011-05-29T12:54:23.640" UserId="4671" />
  <row Id="18772" PostId="13993" Text="that's exactly what i needed. thanks." CreationDate="2011-05-29T13:06:28.517" UserId="1389" />
  <row Id="18773" PostId="13947" Text="@Let_Me_Be: someone said [you can't do menus](http://unix.stackexchange.com/questions/5464/how-to-re-encode-a-dvd-into-a-single-file/5476#5476)." CreationDate="2011-05-29T13:08:32.337" UserId="688" />
  <row Id="18774" PostId="13991" Text="@Faheem, No need. I got it done. I was missing the `X11`'s `keyboard` and `mouse` drivers missing. Thanks again!" CreationDate="2011-05-29T13:46:39.000" UserId="4761" />
  <row Id="18775" PostId="13979" Text="I guess Olivier meant it in the meaning, that it is an issue of `bash`, not of `find`." CreationDate="2011-05-29T14:03:22.740" UserId="4485" />
  <row Id="18778" PostId="13958" Text="Unfortunately from first browsing they do require good konwledge of Gentoo... and I am just beginning to use computer with Gentoo installed.  As far as I have checked they lack step by step instruction.  Still, I'll be trying." CreationDate="2011-05-29T14:32:15.337" UserId="4799" />
  <row Id="18779" PostId="13998" Text="Great! How could I have missed!" CreationDate="2011-05-29T14:42:12.733" UserId="250" />
  <row Id="18780" PostId="11790" Text="@shellter I am looking for some thing built with perl or C, some thing give statics, show time, and highlight issues(for scanning for example), with structured format like tables." CreationDate="2011-05-29T15:36:28.993" UserId="6836" />
  <row Id="18782" PostId="14003" Text="Thanks. That's what I was afraid of." CreationDate="2011-05-29T16:54:42.667" UserId="3857" />
  <row Id="18783" PostId="14003" Score="1" Text="Where does the recommendation about using `fsck` come from, I wonder." CreationDate="2011-05-29T16:55:25.833" UserId="3857" />
  <row Id="18785" PostId="13959" Text="No luck there, unfortunately, nothing in the BIOS whatsoever about Bluetooth. Any other ideas?" CreationDate="2011-05-29T17:06:26.853" UserId="5614" />
  <row Id="18786" PostId="2601" Text="I never got my Fedora machine to hibernate when I had Nvidia (from nvidia.com) drivers. However, it just works perfectly fine when I'm using the inbuilt graphics chipset." CreationDate="2011-05-29T17:09:41.477" UserId="4761" />
  <row Id="18788" PostId="13999" Text="Thank you, this is exactly what I was looking for" CreationDate="2011-05-29T17:53:51.047" UserId="7881" />
  <row Id="18789" PostId="13798" Text="@xenoterracide: There was a typo (missing `{\}`) in the inner find call. Both shell snippets should work now." CreationDate="2011-05-29T18:02:52.093" UserId="885" />
  <row Id="18790" PostId="1046" Text="@hop: I could imagine the following situation where there is a difference. What if someone else who has access to root changes root's password? Then, if you knew the old password, you don't have the access anymore. But if you still can change the password as another user, it's &quot;ok&quot;. Of course, if the password change was intentional, the changer could also disable this user to a degree wished. Also, there are often other ways to overcome loosing the root's password, such booting another OS and mounting the partition, and changing the password then. Back to the Q a 2nd root (eg,toor) might work." CreationDate="2011-05-29T18:25:57.697" UserId="4319" />
  <row Id="18792" PostId="1046" Text="@imz: you are confusing authorization with authentication. if the boss' authentication is not done via the root password, his authorization to do root stuff is not depending on him knowing the root password either." CreationDate="2011-05-29T18:40:24.897" UserId="601" />
  <row Id="18793" PostId="13998" Score="2" Text="You should also remember to press `Enter` before `~`. The escape character works when it is first character in the line. And also you can use `~` and later `?` to get help from ssh client." CreationDate="2011-05-29T18:44:33.067" UserId="3524" />
  <row Id="18794" PostId="14001" Text="	&#xA;@Riccardo: I think he's after 3 digits for all items in the first group, and 4 digits for all in the second group... based on his preferred output, eg the last line ... but that is not as simple as the above command, because of negative values..eg, `printf '%04d', -1`   returns  -001  (not -0001)" CreationDate="2011-05-29T18:50:27.600" UserId="2343" />
  <row Id="18802" PostId="14000" Text="The core issue is discussed in [Can I launch a graphical program on another user's desktop as root?](http://unix.stackexchange.com/questions/1596/can-i-launch-a-graphical-program-on-another-users-desktop-as-root)" CreationDate="2011-05-29T21:15:15.833" UserId="885" />
  <row Id="18803" PostId="14012" Score="1" Text="What JDK do you have, and what version of Ant is included in the source? The javah API has had incompatible changes over time, see [Sun bug #4824827: Change in 1.4.2-beta Javah results in Apache Ant (1.5+) &lt;javah&gt; task failing](http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4824827)" CreationDate="2011-05-29T21:18:25.677" UserId="885" />
  <row Id="18804" PostId="14011" Score="2" Text="What system password? If you mean a BIOS password, that's beyond Linux's purview. If you mean the root password, that's highly unusual. If you mean the user who's currently logged in on the console, that's more usual, but then the password would be that user's password." CreationDate="2011-05-29T21:20:31.047" UserId="885" />
  <row Id="18805" PostId="14014" Text="Who are the “some people”, and what exactly do they say?" CreationDate="2011-05-29T21:43:10.723" UserId="885" />
  <row Id="18806" PostId="14016" Text="Thanks. Just one thing. Is that option configured in the server side?" CreationDate="2011-05-29T21:43:46.823" UserId="2309" />
  <row Id="18807" PostId="14012" Text="Thank you so much for your reply!  JDK is the Debian package openjdk-6-jdk 6b18-1.8.7 and the version of ant is apache-ant-1.6.2." CreationDate="2011-05-29T21:52:24.923" UserId="3389" />
  <row Id="18808" PostId="13975" Text="See also [What is meant by mounting a device in Linux?](http://unix.stackexchange.com/questions/3192), [understanding “mount” as a concept in the OS](http://unix.stackexchange.com/questions/3247), [What mount points exist on a typical Linux system?](http://unix.stackexchange.com/questions/12040)" CreationDate="2011-05-29T22:25:58.023" UserId="885" />
  <row Id="18809" PostId="13982" Text="This is entirely dependent on the window manager or desktop environment." CreationDate="2011-05-29T22:28:21.610" UserId="885" />
  <row Id="18810" PostId="13981" Text="Thanks for drawing my attention to `cat` and `dd` re: device nodes. I completely overlooked these things." CreationDate="2011-05-29T22:34:07.323" UserId="5770" />
  <row Id="18811" PostId="14017" Text="Confusion, ahoy! My internal meter is currently leaning towards &quot;misguided attempt at optimization&quot;. " CreationDate="2011-05-29T23:35:46.800" UserId="366" />
  <row Id="18812" PostId="13798" Text="@gilles `grep: /home/xenoterracide/.avfs/srv/http/cpan/authors/id/J/JI/JINGRAM/Data-Maker-0.27.tar.gz#/Data-Maker-0.27/lib/Data/PaxHeader/Maker.pm: Input/output error`" CreationDate="2011-05-29T23:48:03.177" UserId="29" />
  <row Id="18813" PostId="1046" Text="@hop: yes, I agree with you. In my mind, I simplified &quot;giving them full root access&quot; to &quot;giving them the password to authenticate themsleves as root&quot; when I read your comment. If understood in the precise way, your words are not something that makes my comment relevant." CreationDate="2011-05-29T23:56:11.097" UserId="4319" />
  <row Id="18814" PostId="13798" Text="@xenoterracide: This archive was produced with star and includes extensions that aren't supported by AVFS, nor by tar on my system (GNU tar 1.23; `tar tzf Data-Maker-0.27.tar.gz` doesn't find the `PaxHeader` directory and prints many errors such as ``tar: Ignoring unknown extended header keyword `SCHILY.dev'``). AVFS can be told to call external programs, so you could install star and have AVFS call it: define an `star` vfs suffix (see the AVFS README) and use `foo.tgz#star/dir` instead of `foo.tgz#/dir`." CreationDate="2011-05-30T00:17:29.397" UserId="885" />
  <row Id="18815" PostId="13798" Text="cpan's heterogeneousness can be a massive PITA :P" CreationDate="2011-05-30T00:26:18.337" UserId="29" />
  <row Id="18816" PostId="14027" Text="not an answer to exactly your Q, but I [noted](http://kv.wikipedia.org/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Imz/%D0%A8%D1%80%D0%B8%D1%84%D1%82%D1%8B_%D1%81_%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%BE%D0%B9_%D0%BA%D0%BE%D0%BC%D0%B8_%D0%BF%D0%B8%D1%81%D1%8C%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D0%B8_%D0%B2_ALTLinux_Sisyphus) a utility to conveniently list the fonts (installed) that support the orthogrphy of a given language, eg `fc-list :lang=kv family`, and then one can query for the corresponding files, pkgs, URLs, so that one can help others needing the fonts." CreationDate="2011-05-30T00:59:04.743" UserId="4319" />
  <row Id="18817" PostId="13982" Text="@Gilles - added gnome tag." CreationDate="2011-05-30T03:21:06.100" UserId="1594" />
  <row Id="18818" PostId="14022" Text="wow., a Unicode Codeblock filter.. thanks for pointing that one out... (perl's) regex keeps coming up with more an more surprises (for me, at least)... That is definitely going to come in handy." CreationDate="2011-05-30T03:30:12.963" UserId="2343" />
  <row Id="18819" PostId="14017" Score="2" Text="another con: makes it harder to later split the partition into two." CreationDate="2011-05-30T03:40:47.430" UserId="1952" />
  <row Id="18820" PostId="14026" Text="@jasonwryan Hitting F9 didn't work, and I don't see those options in my View menu! What's wrong? BTW, I am using Nautilus version 2.28.4." CreationDate="2011-05-30T03:53:34.530" UserId="1375" />
  <row Id="18821" PostId="14026" Score="1" Text="I'm on 2.32.0. You are in spatial mode http://library.gnome.org/users/user-guide/stable/nautilus-presentation.html.en Open run menu (Alt-F2) enter gconf-editor and browse to apps/nautilus/preferences and select &quot;always use browser.&quot;" CreationDate="2011-05-30T04:21:26.377" UserId="6761" />
  <row Id="18822" PostId="14031" Text="so e.g.: after an ubuntu minimal install i just apt-get install sawfish, then echo &quot;xinit /usr/bin/sawfish&quot; &gt;&gt; /home/USERNAME/.bashrc then log off, log in, then sawfish starts, ok, then i just put the code from github to the ~/.sawfish/rc file then install theme, then presto? :P" CreationDate="2011-05-30T05:28:30.880" UserId="6960" />
  <row Id="18823" PostId="14031" Text="I've not used sawfish, so I don't know. There is a wiki that seems to have all of that sort of information: http://sawfish.wikia.com/wiki/Main_Page" CreationDate="2011-05-30T05:31:36.600" UserId="6761" />
  <row Id="18824" PostId="13980" Text="Thanks! I still wonder what differences are between &quot;a mount point for removable devices&quot; and &quot;a temporary mount point&quot;?" CreationDate="2011-05-30T05:47:15.373" UserId="674" />
  <row Id="18825" PostId="14008" Text="I believe dm-crypt/luks is the preferred method of block device encryption. It's more portable across OSes, and a little easier to recover from lost metadata (since it stores the metadata with the partition)." CreationDate="2011-05-30T06:21:55.337" UserId="3082" />
  <row Id="18826" PostId="14034" Text="You want a liveUSB, or a rescue USB, or just an alternate boot medium for you system?" CreationDate="2011-05-30T06:23:10.423" UserId="3082" />
  <row Id="18827" PostId="14014" Text="NFS is a block level protocol and is sensitive to latency.  It's usually used with UDP so you may have firewall issues. It can be used with TCP. I expect performance won't be very good." CreationDate="2011-05-30T06:25:43.607" UserId="3082" />
  <row Id="18828" PostId="14034" Text="an installer, from where i can install ubuntu, the same as i burn the mini.iso to cd &amp; boot from it" CreationDate="2011-05-30T06:46:51.827" UserId="6960" />
  <row Id="18829" PostId="14031" Score="1" Text="Putting xinit into `~/.bashrc` sounds like a very, very bad idea given that that file is sourced every time you open a terminal window..." CreationDate="2011-05-30T07:10:51.390" UserId="4949" />
  <row Id="18830" PostId="14031" Text="then where to put &quot;xinit /usr/bin/sawfish&quot; ? :P thanks for the warning.." CreationDate="2011-05-30T08:09:53.457" UserId="6960" />
  <row Id="18831" PostId="14039" Score="1" Text="Isn't gmail using port 587 for smtp? http://mail.google.com/support/bin/answer.py?answer=13287" CreationDate="2011-05-30T08:14:41.517" UserId="7140" />
  <row Id="18832" PostId="14039" Text="Right. I just added &quot;Replace with the server and port you are using.&quot;" CreationDate="2011-05-30T08:15:36.150" UserId="4671" />
  <row Id="18833" PostId="13974" Text="looks good, fairly simple to update for a noob like me I think? I'll be running this headless with buttons to start/stop but I think a 'backup' button would be good, and then other commands like ban etc I could do via telnet session if needed (less common). " CreationDate="2011-05-30T08:18:25.380" UserId="7864" />
  <row Id="18834" PostId="14039" Text="@Yotam: You do need to specify the port to whatever agent you are using to deliver the mail." CreationDate="2011-05-30T08:23:19.147" UserId="4671" />
  <row Id="18835" PostId="13974" Text="also, do you think this would be able to run craftbukkit by changing the SERVICE command?" CreationDate="2011-05-30T08:27:30.983" UserId="7864" />
  <row Id="18836" PostId="14031" Text="If you are using it as a standalone window manager, then create an `.xinitrc` file. See the wiki http://sawfish.wikia.com/wiki/User_Guide" CreationDate="2011-05-30T08:31:27.543" UserId="6761" />
  <row Id="18837" PostId="14022" Text="very nice answer" CreationDate="2011-05-30T08:37:58.373" UserId="4142" />
  <row Id="18838" PostId="14039" Score="1" Text="@Faheem Mitha: I'm pretty sure I do. Any way I used alpine in the way describe here http://wijeyesakere.com/tech/tech/alpinemail.html" CreationDate="2011-05-30T08:46:45.290" UserId="7140" />
  <row Id="18839" PostId="14039" Text="@Yotam: Yes, that is sending mail directly from Alpine. I don't recommend this. You are better off delivering to a local mail server (for all sorts of reasons). This is a misfeature in my opinion, MUA should not be doubling as MTAs. I used to do it that way (I've used Pine/Alpine since 1994), and I switched to delivering to Exim because it was just much better." CreationDate="2011-05-30T09:14:37.073" UserId="4671" />
  <row Id="18840" PostId="14040" Text="Does it work without the VirtualBox Additions?" CreationDate="2011-05-30T09:32:45.970" UserId="4671" />
  <row Id="18841" PostId="14040" Text="omg..there were virtualbox packages in the mini.iso...:O" CreationDate="2011-05-30T10:05:27.540" UserId="6960" />
  <row Id="18842" PostId="14041" Text="Good to know. In this specific case it was *in the cloud!* so storage is pretty heavily abstracted by the time it comes to system setup." CreationDate="2011-05-30T11:25:33.327" UserId="366" />
  <row Id="18843" PostId="13980" Score="1" Text="In function, they are the same. The theoretically difference is that the same removable devices might show up repeatedly and if possible it's nice to have them mount to the same directory. Any time you insert a CD it's nice to have that CD at a unique path like &quot;/media/My_CD_Title&quot;. Your camera memory card might be &quot;/media/SD_Card&quot;. In contrast a temporary mount point is likely to have the same path but you mount different drives to it based on the need of the moment, and only your knowledge of what you mounted there identifies the drive because it's in the same place the LAST temporary drive." CreationDate="2011-05-30T11:26:47.953" UserId="1925" />
  <row Id="18844" PostId="14039" Text="@Faheem Mitha: You suggest I'll send my email to another service running on my machine and this service will talk to google?" CreationDate="2011-05-30T11:35:41.873" UserId="7140" />
  <row Id="18845" PostId="13461" Text="@Faheem Mitha : Do you have another idea? I'm using `nfs-common` and thus a need this package..." CreationDate="2011-05-30T12:40:33.533" UserId="5193" />
  <row Id="18847" PostId="14048" Text="I tried your code in myfile.sh, but I've got an error : line 1: /home/user/myblock.txt: Permission denied.&#xA;I tried with sudo, same error. " CreationDate="2011-05-30T13:37:48.897" UserId="7897" />
  <row Id="18848" PostId="13461" Text="@Bastian: I think this message/warning is harmless. See the bug report I referenced. Is this warning causing you any problems? You can send a comment to the bug report if you wish, though only those who are subscribed (the maintainer at a minimum) will see it. You can do this by emailing 620800@bugs.debian.org. If you want to be proactive, you could submit a patch to turn off this behavior. First check whether the maintainer will accept it, though." CreationDate="2011-05-30T13:59:45.923" UserId="4671" />
  <row Id="18849" PostId="14039" Text="@Yotam: Yes, the mail server running on your machine. You'll need to learn a little about mail servers. The leaders are exim/postfix. You can find information about both on the net, including this site. Unfortunately the [Exim book](http://www.uit.co.uk/BK-EOGR4/HomePage) is proprietary. I'm not sure about Postfix, which I don't use." CreationDate="2011-05-30T14:03:18.203" UserId="4671" />
  <row Id="18850" PostId="14048" Text="use backticks on the first line, I dont know to format it well. Admin, please help" CreationDate="2011-05-30T14:09:31.410" UserId="7870" />
  <row Id="18852" PostId="14034" Text="@Lance there are easy and details instructions on the Ubuntu site on how to make bootable USB sticks. Please put some effort into answering your own questions by looking at documentation. The expertise on this site is better reserved for solving problems that don't already have obvious answers." CreationDate="2011-05-30T14:50:55.940" UserId="1925" />
  <row Id="18853" PostId="14034" Text="Some distributions make their ISO [hybrid](http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE) so it can be `dd`ed onto a USB and the USB will boot. Gentoo is [one example](http://www.gentoo.org/news/20110308-livedvd.xml). AFAIK Ubuntu doesn't provide this." CreationDate="2011-05-30T15:00:36.407" UserId="250" />
  <row Id="18854" PostId="14034" Text="FYI, you should be using the normal desktop iso to install rather than the mini, unless you are stuck with an ancient &lt; 512 mb flash drive.  That way the installer doesn't have to download everything from the interwebs, plus you get a live environment you can test and repair with." CreationDate="2011-05-30T15:03:58.213" UserId="7285" />
  <row Id="18855" PostId="14041" Score="1" Text="What on earth does the disk write cache have to do with whether or not a partition table is in use?" CreationDate="2011-05-30T15:06:44.937" UserId="7285" />
  <row Id="18856" PostId="14003" Text="@BeSlayed an idiot or a jokester?" CreationDate="2011-05-30T15:12:53.763" UserId="7285" />
  <row Id="18857" PostId="14026" Text="@jasonwryan Ah that's it! Thanks!" CreationDate="2011-05-30T15:36:09.027" UserId="1375" />
  <row Id="18858" PostId="14001" Text="@fred thanks for pointing this out; I've missed the sign in the sample output. I've adjusted the specifier." CreationDate="2011-05-30T16:15:22.767" UserId="274" />
  <row Id="18859" PostId="14045" Score="1" Text="By &quot;block of text&quot; do you mean a block of (potentially) many lines of text, or a string of characters that always fits within a single line of text?" CreationDate="2011-05-30T16:20:16.307" UserId="274" />
  <row Id="18860" PostId="14055" Text="`[njozwiak@calvin xpmc6720]$ uname -a&#xA;Linux calvin 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 i386 GNU/Linux.` How do I determine if my kernel supports bigmem?&#xA;" CreationDate="2011-05-30T17:04:12.533" UserId="7905" />
  <row Id="18863" PostId="14055" Text="@njozwiak: check your kernel config for options containing the string CONFIG_HIGHMEM. Some of these options need to be set to yes. Paste if you are not sure. Googling suggests that Fedora has bigmem support in PAE kernels. Search for a linux kernel with PAE in the string." CreationDate="2011-05-30T17:37:49.793" UserId="4671" />
  <row Id="18865" PostId="14051" Text="Excellent, I knew there must be a tool that could get the size easily." CreationDate="2011-05-30T19:33:28.820" UserId="1209" />
  <row Id="18866" PostId="14064" Text="@Riccardo: Wow, that was fast. Thanks for replying. A comment and a question. 1) the link for `basename` has a typo (/ instead of .) and 2) these are links to what look like C utilities. Am I missing something? I should have said that my general preference for shell scripts is portability, so the `${path%.txt}` will do me. I'm guessing the GNU `basename` thing, whatever it is. is not portable." CreationDate="2011-05-30T20:29:47.080" UserId="4671" />
  <row Id="18867" PostId="14060" Score="2" Text="In the future, please ask separate questions separately — otherwise you're making things difficult if people only want to answer one of your questions." CreationDate="2011-05-30T20:34:35.983" UserId="885" />
  <row Id="18868" PostId="14064" Text="@Riccardo: I think your script has an error. Run exactly as written I get the error: `syntax error near unexpected token `prefix=${f%.txt}'`. If I take out the semi-colon and add a `do` it works." CreationDate="2011-05-30T20:42:55.043" UserId="4671" />
  <row Id="18869" PostId="14066" Text="Thanks! (1) There are many files that fit /dev/something. The various names for &quot;something&quot; are not familiar to me, and is there something I can read in order to learn which device a file is for based on the file name? (2) Even If I can guess what kind of device a device file is for, there may well be number in its name. How shall I know which particular device the file is for?" CreationDate="2011-05-30T20:54:34.930" UserId="674" />
  <row Id="18870" PostId="14064" Text="@Gilles: You forgot to fix the `basename` url. :-)" CreationDate="2011-05-30T21:00:06.113" UserId="4671" />
  <row Id="18871" PostId="14068" Text="Thanks! (1) My OS is Ubuntu, a kind of Linux. Is it GNU/Linux? Is GNU/Linux a special kind of Linux? (2) I would like to know for other OSes as well, i.e. just want to know the general idea." CreationDate="2011-05-30T21:01:34.727" UserId="674" />
  <row Id="18872" PostId="14066" Text="@Tim: (1) the corresponding section 4 man pages, or for Linux the [kernel documentation](http://www.kernel.org/doc/Documentation/devices.txt); but in practice you can just find a device that looks right in `/proc/partitions`, or explore `/dev/disk/by-*`. (2) In `/dev/sdz42`, the third letter in `sda`, `sdb`, etc, depend on the order in which the disks were detected. The number designates the partition. Again, in practice, you'd find the right disk through `/proc/partition` or `/dev/disk/*`, or by looking at the kernel logs after plugging in a device." CreationDate="2011-05-30T21:03:38.240" UserId="885" />
  <row Id="18873" PostId="14064" Text="@Faheem Mitha: Fixed the links.  I guess the Gilles fixed the script already, as I can run it correctly?" CreationDate="2011-05-30T21:03:55.937" UserId="274" />
  <row Id="18874" PostId="14056" Text="For Windows, you should ask on a Windows site such as [Super User](http://superuser.com/)." CreationDate="2011-05-30T21:07:50.173" UserId="885" />
  <row Id="18875" PostId="14068" Text="1) It's GNU/Linux. 2) This covers other unices as well." CreationDate="2011-05-30T21:09:14.230" UserId="5770" />
  <row Id="18876" PostId="14068" Text="@Tim: (1) About the reason why some people (including myself) call the operating system GNU/Linux, you can read this page: http://www.gnu.org/gnu/why-gnu-linux.html and yes, Ubuntu is a kind of GNU/Linux; (2) the &quot;general idea&quot; of mounting devices is the same on all UNIX variants, but detailing all the differences will probably take a book chapter :-)" CreationDate="2011-05-30T21:09:50.610" UserId="274" />
  <row Id="18877" PostId="14064" Text="@Riccardo: He did, yes. It just needed the addition of a `do`. Thanks." CreationDate="2011-05-30T21:12:47.980" UserId="4671" />
  <row Id="18878" PostId="14068" Text="+1 - Nice answer. I'd add that you don't necessarily need to use `mount --bind dir1 dir2` in order to have multiple mounts of the same filesystem. You could also achieve this by doing, say, `$ mount foo.iso -o loop /mnt/dir1 &amp;&amp; mount foo.iso -o loop /mnt/dir2`." CreationDate="2011-05-30T21:18:58.960" UserId="5770" />
  <row Id="18879" PostId="14054" Text="I think the audio device is PCI, try `lspci`. A classic problem is having one of the volume controls set to mute and a mixer application that doesn't display all controls; try all the mixers you can find and try fiddling with all the volume settings." CreationDate="2011-05-30T21:20:09.960" UserId="885" />
  <row Id="18880" PostId="14070" Score="1" Text="Rpm does use file names as dependencies (unlike dpkg), so I don't think macias's question actually indicates a mix-up." CreationDate="2011-05-30T21:22:06.917" UserId="885" />
  <row Id="18881" PostId="14066" Text="+1 - Another great answer Gilles. You almost write a full wikipedia page for every answer you give! I, for one, am very thankful." CreationDate="2011-05-30T21:28:20.727" UserId="5770" />
  <row Id="18882" PostId="14068" Text="For those reading my comment above, note that that should be `# mount ...`." CreationDate="2011-05-30T21:32:17.000" UserId="5770" />
  <row Id="18883" PostId="14041" Text="The write cache cannot be enabled at a partition level. When enabled, it affects the disk as a whole. If a file system is using a whole disk, it &quot;owns&quot; that disk so it can turn that cache on and off without any collateral risk. Otherwise, doing it might affect another disk consumer needing that cache to be disabled for its own reasons. " CreationDate="2011-05-30T21:37:25.833" UserId="2594" />
  <row Id="18884" PostId="14046" Text="can you do `ip route flush cache` as root and post whether this changes the route taken?" CreationDate="2011-05-30T22:12:17.707" UserId="6766" />
  <row Id="18885" PostId="14046" Score="1" Text="Boban P.  Please do not cross-post on multiple sites.  Either close this question, or the [one on ServerFault](http://serverfault.com/questions/275215/traffic-not-routing-as-expected)" CreationDate="2011-05-31T00:29:14.590" UserId="6766" />
  <row Id="18886" PostId="14046" Text="I can see this being on-topic on both sites, but I'm going to close this one. @Boban If you want to keep this one flag the SF version and tell them to migrate it and we'll merge it" CreationDate="2011-05-31T00:51:45.030" UserId="73" />
  <row Id="18887" PostId="14073" Text="Where is the `mail.rc` file stored? I'd like to store my account info in there. " CreationDate="2011-05-31T01:11:47.890" UserId="5614" />
  <row Id="18888" PostId="14073" Text="@TK, do you mean `/etc/nail.rc` (note the `n`) or `~/.mailrc`?  See the [env vars &amp; files sections](http://heirloom.sourceforge.net/mailx/mailx.1.html#19) of the mailx manpage." CreationDate="2011-05-31T01:30:58.480" UserId="2421" />
  <row Id="18889" PostId="14071" Text="Another perl pearl.. \Q *(how to to de-regex a regex)* ... I'm starting to see why you use perl so much.." CreationDate="2011-05-31T01:55:16.410" UserId="2343" />
  <row Id="18890" PostId="14054" Text="Some of the mixers to try are alsamixer (try pressing F6 to select audio cards), kmix if you have KDE and pavucontrol if you are using PulseAudio." CreationDate="2011-05-31T02:00:41.760" UserId="4193" />
  <row Id="18891" PostId="13974" Text="@richard plumb Yeah, all you should have to do is change the SERVICE variable at the top to use CraftBukkit or any other mod." CreationDate="2011-05-31T02:00:52.477" UserId="5535" />
  <row Id="18892" PostId="14073" Text="`~/.mailrc`. Thanks, I've got it all configured now! :)" CreationDate="2011-05-31T02:03:03.850" UserId="5614" />
  <row Id="18895" PostId="14070" Text="*&quot;The fact that the library exists on your disk doesn't mean that it can be used to resolve a dependency. For that, there has to be a package that provides this library.&quot;* Not true -- you can set dependency upon package or raw file. I have (because rpmbuild did it) only dependencies for raw files. *&quot;On the other hand, for dependency resolving, the file actually doesn't even have to exist. Only the fact, that some installed package provides it should be enough.&quot;* True, but it is not my case." CreationDate="2011-05-31T04:52:21.850" UserId="5884" />
  <row Id="18897" PostId="14078" Text="could someone test that having a cpu that has aes-ni? e.g.: what is the exact output? grep aes /proc/cpuinfo OR grep aes-ni /proc/cpuinfo ? thank you!" CreationDate="2011-05-31T06:29:11.477" UserId="6960" />
  <row Id="18898" PostId="14071" Text="Your answer looks interesting, but it does'nt work here. And I've got no error. " CreationDate="2011-05-31T06:47:38.467" UserId="7897" />
  <row Id="18899" PostId="14048" Text="it's the same thing. It doesn't work." CreationDate="2011-05-31T06:48:33.380" UserId="7897" />
  <row Id="18901" PostId="14078" Text="@Lance I'm not sure if AES and AES-NI are two different things. They look the same for me. Maybe you can see the other flags in /proc/cpuinfo." CreationDate="2011-05-31T07:21:44.830" UserId="250" />
  <row Id="18906" PostId="14064" Text="@Riccardo: The script above doesn't quite work, as the directory name `sub/` is not stripped. Per [the Bash reference manual](http://www.gnu.org/software/bash/manual/bashref.html) using `basename=${prefix#sub/}` will work." CreationDate="2011-05-31T08:10:49.760" UserId="4671" />
  <row Id="18907" PostId="14069" Text="@Gilles: Like @Riccardo's version, this does not strip the leading `sub/`. As commented above, `basename=${prefix#sub/}` works, along the same lines as @Riccardo's approach." CreationDate="2011-05-31T08:11:52.800" UserId="4671" />
  <row Id="18908" PostId="14075" Score="2" Text="Hopefully somebody can provide a work-around for you here, but this is something you should mention to the VLC developers either on a list or a bug-tracker. They are probably setting some window property that makes the player window too agressive. Perhaps they can detect Gnome3 and play nicer." CreationDate="2011-05-31T08:52:22.793" UserId="1925" />
  <row Id="18909" PostId="14087" Text="Nice thanks! That's really helpful. About the 5 questions: i don't know what is the protocol in that case, but if an administrator wants me to split them, i'll hear about it. I personally like to have that in one document, and see the 5 questions as sub-questions to the title's. Thanks again." CreationDate="2011-05-31T09:48:31.670" UserId="7892" />
  <row Id="18910" PostId="14071" Text="@nico_somb: It works for me™. Do the files have the same line endings, and no extra whitespace? If you can't get it to work, post some sample files." CreationDate="2011-05-31T10:01:36.160" UserId="885" />
  <row Id="18911" PostId="14071" Text="@nico_somb: I initially thought that it wasn't working, because I expected output on stdout, but the **-i** updates the input files with the changes, so nothing is displayed...  It definitely works for me.." CreationDate="2011-05-31T10:03:49.663" UserId="2343" />
  <row Id="18912" PostId="14083" Score="1" Text="Nothing easier, you need to remove the symlink and the directory separately. I strongly urge you to use `readlink -f` there, mainly because if `a` actually has directory components (`foo/bar`), `$(readlink a)` is relative to the location where the link is (`foo`). And don't forget to double quote all variable and command substitutions. Also, you don't need `-r` to remove a symbolic link. Thus: `rm -f &quot;$(readlink -f &quot;a&quot;)&quot;; rm -rf &quot;a&quot;`" CreationDate="2011-05-31T10:06:22.660" UserId="885" />
  <row Id="18913" PostId="14080" Text="@CS01: [Do not post the same questions to multiple sites.](http://unix.stackexchange.com/faq) Pick one, and delete the version on the other site (you may need to flag for a moderator to do it if you don't have enough reputation). In the future, if you want to move a question to a different site, flag for a moderator to migrate it." CreationDate="2011-05-31T10:10:12.730" UserId="885" />
  <row Id="18915" PostId="14080" Text="@Gilles Thank you, I flagged it on SU." CreationDate="2011-05-31T11:01:55.490" UserId="7910" />
  <row Id="18916" PostId="14083" Text="@Gilles: good points, edited them in, thank you" CreationDate="2011-05-31T11:11:16.010" UserId="863" />
  <row Id="18918" PostId="14069" Text="@Gilles: well, `zsh` is clearly handy. Thanks." CreationDate="2011-05-31T11:53:23.960" UserId="4671" />
  <row Id="18919" PostId="14094" Text="possible duplicate of [Search and replace in multiple files based on condition](http://unix.stackexchange.com/questions/14092/search-and-replace-in-multiple-files-based-on-condition)" CreationDate="2011-05-31T12:01:47.477" UserId="885" />
  <row Id="18920" PostId="13743" Text="@JMTD, Thanks for the helpful suggestion. I had a check, using `grep` and `lsof`. `pulseaudio` is using `/dev/snd/controlC0` but it isn't on `/dev/snd/pcmC0D0p` . I had a double check by going to `/var/lock` to find if there was a file for a lock on the device. `ls -al` tells that the folder is empty. So I guess there is no lock on pcmC0D0p" CreationDate="2011-05-31T12:51:45.683" UserId="7138" />
  <row Id="18921" PostId="14087" Text="The point in not hopping protocols is that the X Window System is designed so applications (&quot;clients&quot;) need not run on the same host, i.e. you can log in to another machine, run a program there, and the window opens on your screen like a local application. If another program were to ask &quot;what is your process ID, so I can talk to you directly&quot;, there is no way to answer this question correctly." CreationDate="2011-05-31T13:06:23.303" UserId="4542" />
  <row Id="18923" PostId="14011" Text="What desktop environment is this?  Gnome, KDE, something else?" CreationDate="2011-05-31T13:45:46.983" UserId="7707" />
  <row Id="18926" PostId="13499" Text="@crawf : if my answer was useful to you, you might want to note it as accepted :)" CreationDate="2011-05-31T14:03:27.910" UserId="7920" />
  <row Id="18927" PostId="14064" Text="A correction.  Bash is not a POSIX-comformant shell. Using the bash POSIX mode (set -o posix) gets you closer to POSIX conformance but does not make it fully conformant." CreationDate="2011-05-31T14:05:22.603" UserId="7919" />
  <row Id="18929" PostId="14054" Text="The first, by the way, is for passing sound the HDMI output cable.  IE, when you connect the computer to a TV via an HDMI cable you can have the sound go to the TV." CreationDate="2011-05-31T14:14:30.240" UserId="5824" />
  <row Id="18931" PostId="14100" Text="Thank you very much!" CreationDate="2011-05-27T00:50:36.620" />
  <row Id="18932" PostId="14101" Text="Hard links for &quot;5 billion images&quot; - really? Whilst you're answer is correct, I'd opt for a more canonical example for a *nix novice." CreationDate="2011-05-26T23:14:48.127" />
  <row Id="18933" PostId="14101" Text="@Mikaveli: Sure, you are using a lot of inodes (symlinks) and directory entries/inodes (both), but for some applications/usage patterns you might not be able to use the directory symlink.  We didn't get enough information to say which was needed so I provided the option." CreationDate="2011-05-27T00:15:14.163" UserId="7687" />
  <row Id="18934" PostId="14101" Text="Thank you very much! " CreationDate="2011-05-27T00:50:54.593" />
  <row Id="18935" PostId="14101" Text="+1 for providing the alternative. :)" CreationDate="2011-05-27T08:18:06.980" />
  <row Id="18936" PostId="14084" Text="Are you running a web server?" CreationDate="2011-05-31T14:58:51.180" UserId="688" />
  <row Id="18937" PostId="14095" Text="Perfect, thanks" CreationDate="2011-05-31T15:11:47.277" UserId="7913" />
  <row Id="18938" PostId="14041" Text="@jllagre which is why the filesystems don't know or care about the disk cache; that is managed by the kernel which normally turns it on, at least on Linux; maybe Solaris isn't so smart?" CreationDate="2011-05-31T15:17:14.247" UserId="7285" />
  <row Id="18939" PostId="14084" Text="nope. Just basic Debian, not even with a GUI." CreationDate="2011-05-31T15:26:49.120" UserId="7756" />
  <row Id="18940" PostId="14084" Text="Run a web server (I recommend [cherokee](http://unix.stackexchange.com/q/5594/688)... for your purpose, it won't need any setup), add a link to your local repository (`sudo ln -s /root/debian /var/www`), and try again." CreationDate="2011-05-31T16:20:24.013" UserId="688" />
  <row Id="18941" PostId="14041" Text="It is not a question of being smart or not, just different priorities (performance vs reliability/data integrity)." CreationDate="2011-05-31T16:23:55.863" UserId="2594" />
  <row Id="18942" PostId="14069" Text="@Gilles: I've made some corrections to my script in the question. Just mentioning it in case you feel like adjusting your answer." CreationDate="2011-05-31T16:36:09.390" UserId="4671" />
  <row Id="18943" PostId="14064" Text="@Riccardo: I've made some corrections to my script in the question. Just mentioning it in case you feel like adjusting your answer." CreationDate="2011-05-31T16:36:20.530" UserId="4671" />
  <row Id="18946" PostId="14105" Score="9" Text="Your text sounds like &quot;gnome is for beginners, pros like me use KDE.&quot; The only relevant part is the one about the historic reason. The rest ist just your opinion which nobody is interested in." CreationDate="2011-05-31T16:49:55.340" UserId="7574" />
  <row Id="18947" PostId="13919" Text="Yes, I should have included it: http://sourceforge.net/projects/linux-mon/. And yes, it has a configure step, but I tried passing the path to glib there to no avail:`./configure --libdir=/usr/include/glib-1.2`" CreationDate="2011-05-31T17:36:47.190" UserId="3707" />
  <row Id="18948" PostId="13925" Text="@lain, I don't follow you, sorry. How do I do that checking with $(CC) ? The Makefile has this line: `libdir = -I/usr/include/glib-1.2`, which points correctly to the glib directory." CreationDate="2011-05-31T17:41:38.687" UserId="3707" />
  <row Id="18949" PostId="14105" Score="1" Text="Gnome _does_ seem very dumbed down though. Even [Linus Torvalds made such comments](http://www.desktoplinux.com/news/NS8745257437.html)." CreationDate="2011-05-31T18:05:49.963" UserId="5535" />
  <row Id="18950" PostId="14097" Text="Thanks for the suggestion. Unfortunately, I'm not really comfortable with this particular workaround. I really appreciate the answer though." CreationDate="2011-05-31T18:13:02.290" UserId="5737" />
  <row Id="18951" PostId="14075" Text="thnx fr the info, I'll try to post the bug at VLC" CreationDate="2011-05-31T18:30:40.270" UserId="2490" />
  <row Id="18952" PostId="14105" Score="2" Text="And it's getting worse, configuration options disappear and the default is wrong (for my tastes)." CreationDate="2011-05-31T18:40:02.997" UserId="592" />
  <row Id="18953" PostId="13919" Score="1" Text="@AJweb: I downloaded and took a look at this project. If it makes you feel any better, it doesn't recognize libglib on my system (Debian squeeze) either. 2.0 seems to be the standard now, but I have 1.2 installed too. If you take a look at the changelog you'll see the last activity on this project took place in Aug 2004. That's nearly 7 years ago. This is clearly a dead project. IF you have a compelling need for this software, I suggest you try and contact the developer directly, before you go any further. Your only other option is to debug the code yourself." CreationDate="2011-05-31T18:59:59.960" UserId="4671" />
  <row Id="18954" PostId="13919" Text="Many thanks for taking the time to do that. I am going to look for a better option." CreationDate="2011-05-31T19:20:29.140" UserId="3707" />
  <row Id="18955" PostId="14105" Score="1" Text="I agree on most points, but this seems too much like flame bait. For example, `Most distros tend to like to focus on the most basic of end-users that can't do anything for themselves.` I would highly disagree. What relatively &quot;mainstream&quot; distros are &quot;simple&quot;? Ubuntu of course, Mint (although that's basically ubuntu), Debian(?), Red Hat (?. Arguable, since it's mostly commercial sites), Suse. Out of those, I think only Ubuntu uses Gnome. (Mint too?). (I think debian's default is KDE?). Suse and RedHat both use KDE." CreationDate="2011-05-31T19:59:30.450" UserId="1571" />
  <row Id="18956" PostId="14105" Score="1" Text="And then the rest of the mainstream distros I wouldn't call simple, nor do they normally come with a default DE. Arch, gentoo, slackware, all of those I believe don't have any DE by default, and I think the majority of the userbase uses KDE. It's all meaningless though, since different versions come with different defaults, and some let you select at install time." CreationDate="2011-05-31T20:01:59.047" UserId="1571" />
  <row Id="18957" PostId="14104" Text="always thought that! ;)" CreationDate="2011-05-31T20:14:34.343" UserId="4761" />
  <row Id="18958" PostId="14064" Text="@Gilles: thanks for editing to comply with the modified question!" CreationDate="2011-05-31T20:16:24.887" UserId="274" />
  <row Id="18959" PostId="14014" Text="Thanks for the answers guys. I think i'll stick with sshfs when outside home, but nfs when i'm in the lan." CreationDate="2011-05-31T20:44:00.830" UserId="2309" />
  <row Id="18960" PostId="14115" Text="So do I need to set this on all of the servers I am connecting to or on my own local machine?" CreationDate="2011-05-31T21:11:37.567" UserId="5614" />
  <row Id="18961" PostId="14115" Text="@TKKocheran: You need to do this on every machine where you're running a shell. If you only want to do it for remote logins, put `\h` in that prompt only if `$SSH_CLIENT` is non-empty." CreationDate="2011-05-31T21:19:01.907" UserId="885" />
  <row Id="18962" PostId="14105" Score="1" Text="@Falmarri: Of the big boys that express preference (Debian, Ubuntu, Fedora, SuSE, Mint), it's only SuSE that defaults to KDE." CreationDate="2011-05-31T21:20:08.223" UserId="688" />
  <row Id="18963" PostId="14115" Text="@TK : Yes, you will need to set this on all the servers you connect to.  The PS1 variable is local to your current shell (even on a remote host), not the terminal program _(ie: gnome-terminal)_." CreationDate="2011-05-31T21:20:12.153" UserId="7688" />
  <row Id="18964" PostId="14109" Score="3" Text="*Left-handed windows* is an Ubuntu change, not GNOME." CreationDate="2011-05-31T21:24:38.343" UserId="688" />
  <row Id="18965" PostId="14109" Score="3" Text="Unity is an Ubuntu doing, not GNOME's." CreationDate="2011-05-31T21:25:08.297" UserId="688" />
  <row Id="18966" PostId="14109" Score="3" Text="Where do you get *most non-Ubuntu people use KDE*? Fedora is pretty big and so is Debian, and they both default to GNOME. RHEL does too, and this was before even Fedora existed. Sure Ubuntu increased the number of GNOME users, but I had the idea the GNOME userbase was at least as large as KDE's before Ubuntu was ever born." CreationDate="2011-05-31T21:27:53.533" UserId="688" />
  <row Id="18967" PostId="14115" Text="I assume that this will apply differently on servers not running Debian. Can you edit your answer to provide for servers running, let's say, Fedora/Red Hat derivatives?" CreationDate="2011-05-31T21:29:56.067" UserId="5614" />
  <row Id="18968" PostId="14115" Text="Awesome. So is this supposed to change the window title or just the bash prompt?" CreationDate="2011-05-31T22:00:16.097" UserId="5614" />
  <row Id="18969" PostId="14115" Text="@TK : Edited my answer to make it distro-agnostic, plus some other helpful resources." CreationDate="2011-05-31T22:01:21.340" UserId="7688" />
  <row Id="18970" PostId="14115" Score="1" Text="@TK : I tested this using SSH to various hosts from an Ubuntu 11.04 machine... So the title bar was set correctly there... If it doesn't work, try adding this sequence to the front: `\[\e]2;\u@\h\a`.  (Also edited my response with that info)" CreationDate="2011-05-31T22:14:24.703" UserId="7688" />
  <row Id="18971" PostId="13925" Text="@AJweb: See my update which may help." CreationDate="2011-05-31T22:24:53.433" UserId="591" />
  <row Id="18972" PostId="14115" Text="\m/ it was the `\[\e]2;\u@\h\a` that made the difference. You. Win. :)" CreationDate="2011-05-31T22:27:48.663" UserId="5614" />
  <row Id="18973" PostId="14115" Text="@TK : Also, Some terminal programs (like Konsole) have their own setting for the title bar that can override that set in the prompt.&#xA;&#xA;_I'd forgotten to turn mine off initially to test the PS1.  My first answer included this in the debian_chroot part, but I removed it haphazardly, and didn't even notice the mistake ;-)_" CreationDate="2011-05-31T22:37:07.250" UserId="7688" />
  <row Id="18974" PostId="14119" Score="2" Text="This is going to hang on the definition of “super-rare”. “None” is a defensible answer, but it'll surely offend some of the users of these “super rare” unices." CreationDate="2011-05-31T23:16:33.573" UserId="885" />
  <row Id="18975" PostId="14119" Score="1" Text="Do proprietary systems count? E.g. SCO? (sheesh, that felt like saying Voldemort, off to iron my hands)" CreationDate="2011-05-31T23:25:11.880" UserId="3150" />
  <row Id="18976" PostId="14111" Text="That's one of the best resources and was built while writing code in M4 that had to produce shell code that was portable across as many shells as possible. " CreationDate="2011-05-31T23:28:26.573" UserId="3150" />
  <row Id="18977" PostId="14119" Text="Does Haiku (http://haiku-os.org/) Count?  Not sure it can technically be called *nix." CreationDate="2011-05-31T23:41:01.460" UserId="298" />
  <row Id="19010" PostId="14151" Text="This question is definitely one for http://serverfault.com" CreationDate="2011-01-21T19:10:52.773" />
  <row Id="19011" PostId="14152" Text="You mean it is possible to run commands like that &quot;find /home/user1  -maxdepth 1 -type f -name &quot;*.tgz&quot; -mmin +5 -print | scp {} user2@SERVER2:&quot; from SERVER2? I am a bit puzzled, as there is no access back from SERVER1 to SERVER2. Or do you mean still setting up reverse SSH tunnel and running them from SERVER1." CreationDate="2011-01-21T22:23:47.127" />
  <row Id="19012" PostId="14153" Text="Somehow I always was ignoring rsync. Thanks. It seems to be able to remove copied files from sending side (--remove-source-files). The only thing to find out if it can pick for transfer files &quot;not modified during the last X minutes&quot;.  " CreationDate="2011-01-21T16:01:14.783" />
  <row Id="19024" PostId="14165" Text="Labels? What's a label? Are you talking about ext2 labels? Those have nothing to do with partition tables per se." CreationDate="2011-03-30T06:33:47.197" UserId="6695" />
  <row Id="19025" PostId="14165" Text="Hi @Chris Jester-Young, thanks for your comment! I have tried to clarify above - yes, I believe it is ext2 labels I'm talking about... Cheers!" CreationDate="2011-03-30T06:37:33.067" />
  <row Id="19026" PostId="14166" Text="At least on my machine, it is indeed only the filesystems with labels that get linked in there, as confirmed(?) by using Alan Kuras' `mount -l` suggestion." CreationDate="2011-03-30T06:43:42.977" />
  <row Id="19027" PostId="14166" Text="Hi @Ilkka - thanks for your answer! Indeed, `ls -la /dev/disk/by-label` seems to show labels of unmounted partitions; so that solves my problem, I guess... Although, I really would have preferred an option for `fdisk` or `parted` instead :) Cheers!" CreationDate="2011-03-30T06:46:20.453" />
  <row Id="19028" PostId="14167" Text="Hi @Alan Kuras - thanks and +1 for the answer! However, I want to list unmounted partitions - `mount -l` seems to show only mounted ones.. Cheers!" CreationDate="2011-03-30T06:43:19.550" />
  <row Id="19029" PostId="14169" Text="It's not possible if the program is running directly in the terminal, because there's only one cursor position and zsh and the program would be competing for it. You could do something with `zpty`: have the command run in a terminal created by zsh, with its output relayed to the real terminal under zsh's control." CreationDate="2011-05-31T21:13:13.313" UserId="885" />
  <row Id="19054" PostId="14186" Text="is it just scp or sftp as well?" CreationDate="2011-05-16T08:49:20.633" />
  <row Id="19055" PostId="14187" Score="1" Text="The disk is nearly full and only has 1405 bytes left? Your firewall only allows one packet to pass (assuming 1500 MTU)? What does rsync do? Can you create the file manually? Does it work in the other direction?" CreationDate="2011-03-29T13:15:16.370" UserId="5586" />
  <row Id="19056" PostId="14187" Text="I don'thave an answer per se, but the size suggest to me that the network and packet size somehow is involved. I have found Wireshark and/or tcpdump good tools for troubleshooting in the past." CreationDate="2011-03-29T13:18:11.783" />
  <row Id="19057" PostId="14187" Text="You say the file does get copied. Have you checked the contents to verify the whole file has been copied, or do you base the conclusion solely on the appearance of a file with the correct size in the target path?" CreationDate="2011-03-29T13:18:16.613" />
  <row Id="19058" PostId="14187" Text="@Konerak: The disk has lots of free space. The MTU is indeed 1500 but there is no firewall. The machine is directly behind a router. I can copy to the server from other machines. So, I think that is equivalent to be able to create the file manually. I can't check its working in the other direction as the client machine doesn't have a public IP." CreationDate="2011-03-29T13:21:11.223" />
  <row Id="19059" PostId="14187" Text="@JenEriC, I have tried capturing network packets using tcpdump and have all the logs available but am no good at making sense out of them. Should I update the question with my logs?" CreationDate="2011-03-29T13:23:09.163" />
  <row Id="19060" PostId="14187" Score="1" Text="If you have a clean log, it certainly won't hurt to have it included. If you can mess around with the MTU size, try to decreae it and see if the problem decreases with the same amount; it might help someone to figure out whats going on." CreationDate="2011-03-29T13:32:42.610" />
  <row Id="19061" PostId="14187" Text="@JenEriC I saw Stephan's answer below before I saw your comment and reducing the MTU worked. Thanks much." CreationDate="2011-03-30T05:45:36.507" />
  <row Id="19062" PostId="14188" Text="I disagree. If faulty hardware were in play, Chandranshu would very likely have difficulties in lots of other areas as well. Unless he's using some sort of h/w encryption acceleration device for the SSH connection, or something like that.." CreationDate="2011-03-29T13:20:30.637" />
  <row Id="19063" PostId="14188" Text="@Mels: I am indeed facing problems while uploading files through even FTP. I also tried using HTTP to POST the file to a web server and the connection there hangs as well. May be I'll try with another network card." CreationDate="2011-03-29T13:25:49.287" />
  <row Id="19064" PostId="14188" Text="@Chandranshu: but you are able to browse the web using that machine? That's essentially the same thing. Is it always the same file you're trying to upload? Perhaps some kind of Deep Packet Inspection firewall is false-positive'ing on the contents of the file, thinking it's malware?" CreationDate="2011-03-29T13:33:22.837" />
  <row Id="19065" PostId="14188" Text="@Mels: To answer your question, I don't have a web browser on the machine. However, I could successfully issue GET requests and copy files from other remote machines. The problem used to appear only when large traffic originated from this machine. Stephan's answer above has helped me track down this problem and resolve it." CreationDate="2011-03-30T05:48:18.593" />
  <row Id="19066" PostId="14189" Text="This fixed it. Could you please point out why setting MTU to a lower value works? Just a pointer would be enough." CreationDate="2011-03-29T13:32:45.857" />
  <row Id="19067" PostId="14189" Text="See the Wikipedia page on [MTU](http://en.wikipedia.org/wiki/Maximum_transmission_unit) (look out for PPPoE) and maybe [RFC 2516](http://tools.ietf.org/html/rfc2516) wich suggests an MTU of 1492 when behind a home router." CreationDate="2011-03-29T13:40:39.507" />
  <row Id="19068" PostId="14189" Text="Thanks for the pointers. I found another article [here](http://www.mynetwatchman.com/kb/adsl/pppoemtu.htm) that nicely explains why lower MTUs might be better." CreationDate="2011-03-29T14:09:49.897" />
  <row Id="19069" PostId="14189" Score="1" Text="@Chandranshu I'd like to point out that matching your network MTU to some ancient ATM header size is no longer important with current internet backbones, so if 1492 works for you - go for it ^^" CreationDate="2011-03-29T14:17:14.573" />
  <row Id="19070" PostId="14189" Text="@Stephan I found another article which suggested pinging a remote machine with the DF bit set with increasingly larger packet sizes to figure out the optimal MTU. Using that, I have set my MTU to 1472. Anything larger and my old problem resurfaces." CreationDate="2011-03-30T05:43:47.427" />
  <row Id="19073" PostId="14193" Text="Can you rephrase this question so it's a little clearer?" CreationDate="2009-06-15T04:03:26.280" />
  <row Id="19074" PostId="14193" Text="Do you mean, &quot;what ps command should I use to determine who's using scp?&quot; That would be ps -ef | grep scp" CreationDate="2009-06-15T04:07:25.147" UserId="641" />
  <row Id="19075" PostId="14195" Text="+1 for the 'grep &quot;[s]cp&quot;' trick - it's what I use in a script I call 'procname'." CreationDate="2009-06-24T05:16:27.243" UserId="5131" />
  <row Id="19076" PostId="14196" Text="This is purely an IT question." CreationDate="2009-02-27T06:11:25.427" UserId="105" />
  <row Id="19077" PostId="14196" Text="Try 'keychain':  http://www.gentoo.org/proj/en/keychain/" CreationDate="2009-02-27T06:18:50.977" />
  <row Id="19078" PostId="14202" Text="rsync does _not_ use SSH automatically - you have to supply the &quot;-e ssh&quot; flags to do that." CreationDate="2008-11-16T19:44:25.313" />
  <row Id="19079" PostId="14202" Score="1" Text="Yes, it does.&#xA;&#xA;Rsync 2.6.0 released - The default remote shell is now &quot;ssh&quot; unless you tell configure you want to make something else the default.&#xA;&#xA;http://www.samba.org/rsync/&#xA;" CreationDate="2008-11-16T20:18:09.177" />
  <row Id="19101" PostId="14231" Text="fantastic! By _main_complete it looks like you are referencing somewhere in the C code?  I'm sorry for the dumb question, but where would that be found?" CreationDate="2011-05-31T22:09:58.420" />
  <row Id="19102" PostId="14231" Score="1" Text="@user535759: No, `_main_complete` is part of the zsh code that implements completion. It's in `Completion/Base/Core/_main_complete` in the source tree, typically installed in a location like `/usr/share/zsh/functions/Completion/Base/_main_complete`." CreationDate="2011-05-31T22:12:09.473" UserId="885" />
</comments>