<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6170502072620580795</atom:id><lastBuildDate>Thu, 12 Sep 2024 00:41:40 +0000</lastBuildDate><category>ubuntu</category><category>multi-boot</category><category>thunar</category><category>virtual computer</category><category>windows</category><category>alsa</category><category>alsamixer</category><category>alsamixergui</category><category>audio</category><category>damn small linux</category><category>debian</category><category>dpkg</category><category>dvd access</category><category>file management</category><category>file manager</category><category>find</category><category>fuse</category><category>fusesmb</category><category>grep</category><category>hacks</category><category>humour</category><category>icewm</category><category>install</category><category>journal</category><category>list files</category><category>midnight commander</category><category>mount</category><category>mount fake drive</category><category>qemu</category><category>recursive search</category><category>recursively remove file</category><category>remove file</category><category>rm</category><category>samba</category><category>ubuntu core</category><category>ubuntu specific</category><category>vlc</category><category>wget</category><category>xargs</category><title>Linux - From The Terminal</title><description>I like Linux and I like to do everything from the terminal. I hope you can benefit from my learning, typed out as a reference.</description><link>http://fromtheterminal.blogspot.com/</link><managingEditor>noreply@blogger.com (Tobias Davis)</managingEditor><generator>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-260020687155230235</guid><pubDate>Wed, 21 Apr 2010 03:28:00 +0000</pubDate><atom:updated>2010-04-20T22:34:01.896-05:00</atom:updated><title>MOVING!!!</title><description>&lt;span style=&quot;font-size:100%;&quot;&gt;Hey there, after several years of playing with Blogger and trying to get thing sorted out how I wanted, I finally decided to host my own domain so I could manage things easier.&lt;br /&gt;&lt;br /&gt;So this blog (which, admittedly, hasn&#39;t been updated much) is getting moved to my all-new site: &lt;a href=&quot;http://www.tobiaslabs.com/category/linux/&quot;&gt;TobiasLabs.com&lt;/a&gt;, and this section on Linux terminal commands can be found &lt;a href=&quot;http://www.tobiaslabs.com/category/linux/&quot;&gt;here&lt;/a&gt;. Also, to make it easier to transfer RSS feeds, &lt;a href=&quot;http://www.tobiaslabs.com/category/linux/feed/&quot;&gt;this is the link&lt;/a&gt; to the new RSS feed.&lt;br /&gt;&lt;br /&gt;I&#39;ll leave this site and it&#39;s posts up, so I don&#39;t contribute to dead links on the internet, but I&#39;m shutting off comments and won&#39;t post any more here.&lt;br /&gt;&lt;/span&gt;</description><link>http://fromtheterminal.blogspot.com/2010/04/moving.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-7980318854118344549</guid><pubDate>Sat, 28 Nov 2009 07:46:00 +0000</pubDate><atom:updated>2010-04-20T22:36:57.122-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">debian</category><category domain="http://www.blogger.com/atom/ns#">dpkg</category><category domain="http://www.blogger.com/atom/ns#">grep</category><category domain="http://www.blogger.com/atom/ns#">list files</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Showing the list of installed packages</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.tobiaslabs.com/529/showing-the-list-of-installed-packages/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I haven&#39;t had much time to play around in Linux for a while, what with school, but I recently got a new desktop computer and installed Windows 7 (the horror!) and am now doing some development using &lt;a href=&quot;http://www.virtualbox.org/&quot;&gt;VirtualBox&lt;/a&gt;, the computer virtualization software. My desktop has all the power I will need for some time, but I would like a light-weight version of Ubuntu (my favored flavor) to install on my newly acquired &lt;a href=&quot;http://www.dvhardware.net/review152_asus_eee_pc_900a.html&quot;&gt;Asus EEE PC 900A&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Later on I will post some of my findings, but for now I just wanted to point out the helpful command which will list all the packages currently installed: &lt;code&gt;dpkg --get-selection&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;A word on the commands:&lt;br /&gt;&lt;code&gt;dpkg&lt;/code&gt; This is the debian package manager&lt;br /&gt;&lt;code&gt;--get-selection&lt;/code&gt; This is the command to list the installed packages&lt;br /&gt;&lt;br /&gt;Another trick:&lt;br /&gt;&lt;code&gt;dpkg -L package&lt;/code&gt; This will list all the files associated with the &lt;code&gt;package&lt;/code&gt;&lt;br /&gt;&lt;code&gt;dpkg --get-selection | grep package&lt;/code&gt; The &quot;grep&quot; command will search through the lengthy list and display anything with &quot;package&quot; in it&#39;s name.&lt;br /&gt;&lt;br /&gt;This handy command will list &lt;span style=&quot;font-style: italic;&quot;&gt;every&lt;/span&gt; package currently installed, which is super helpful once you&#39;ve generated your custom blend of software but haven&#39;t written down what you installed. Which I obviously did. Many times.&lt;br /&gt;&lt;br /&gt;Of course, this list turns out to be a bit lengthy and unwieldy, especially since it outputs the list right in the terminal. Thankfully you can make the list go into a text file by using the command: &lt;code&gt;dpkg --get-selection &gt; filename.txt&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The carat symbol, &lt;code&gt;&gt;&lt;/code&gt;, will take whatever would have gone to the terminal display, and output it to a file, &quot;filename.txt&quot;.</description><link>http://fromtheterminal.blogspot.com/2009/11/showing-list-of-installed-packages.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-8926394337620780106</guid><pubDate>Tue, 16 Jun 2009 06:12:00 +0000</pubDate><atom:updated>2009-06-16T01:28:59.826-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">journal</category><title>IceWM Manager?</title><description>I have been configuring IceWM to suit my needs, but what would be really handy is a graphic interface to work with. There are two existing ones, but neither are still being developed. I have been considering either making a new graphic interface, modifying the needed parts from the existing, or making an updated version of one of the existing versions.&lt;br /&gt;&lt;br /&gt;Alternately, I wonder if I could develop a web-based version, so that you can go to the web-site, interactively change theme colors/etc., and when done grab the text files and so on. The part I am unsure of is how to generate the text and image files correctly, but I could probably do this.&lt;br /&gt;&lt;br /&gt;Anyways, any thoughts on the matter would be helpful.</description><link>http://fromtheterminal.blogspot.com/2009/06/icewm-manager.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-8728925569700621089</guid><pubDate>Sat, 13 Jun 2009 07:16:00 +0000</pubDate><atom:updated>2010-04-20T22:37:56.343-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fuse</category><category domain="http://www.blogger.com/atom/ns#">fusesmb</category><category domain="http://www.blogger.com/atom/ns#">samba</category><category domain="http://www.blogger.com/atom/ns#">thunar</category><title>Adding Samba support to Thunar</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.tobiaslabs.com/527/adding-samba-support-to-thunar/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://thunar.xfce.org/&quot;&gt;Thunar&lt;/a&gt; does not natively support &lt;a href=&quot;http://us1.samba.org/samba/&quot;&gt;Samba&lt;/a&gt;, which is theLinux port of the Microsoft network folder/file sharing protocol, but support can be hacked in using the following method.&lt;br /&gt;&lt;br /&gt;Note that I stole these instructions mostly from &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=304131&quot;&gt;here&lt;/a&gt;, but I modified them for my conditions, which were: &lt;a href=&quot;https://help.ubuntu.com/community/Installation/MinimalCD&quot;&gt;Minimal installation&lt;/a&gt; of Ubuntu, plus &lt;a href=&quot;http://www.icewm.org/&quot;&gt;IceWM&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First make sure you have the correct software, Samba:&lt;br /&gt;&lt;code&gt;sudo aptitude install samba&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you need FuseSMB, which is the Linux &quot;File System in User SpacE&quot; for Samba. This is found in the Universe repositories, to enable them, run the following (two) commands, borrowed from the &lt;a href=&quot;https://help.ubuntu.com/community/Repositories/Ubuntu&quot;&gt;official wikisite&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;sudo su -c &#39;\ndeb http://us.archive.ubuntu.com/ubuntu/ jaunty universe &gt;&gt; /etc/apt sources.list&#39;&lt;br /&gt;sudo su -c &#39;echo \ndeb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe &gt;&gt; /etc/apt/sources.list&#39;&lt;/code&gt;&lt;/blockquote&gt;Now that the Universe repository is enabled, installing fusesmb is easy:&lt;br /&gt;&lt;code&gt;sudo aptitude install fusesmb&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you need to add the fuse module to be loaded when the computer starts. Do this by adding the word &lt;code&gt;fuse&lt;/code&gt; to the file &lt;code&gt;/etc/modules&lt;/code&gt;, either using a text editor or with this command:&lt;br /&gt;&lt;code&gt;sudo su -c &#39;\nfuse\n &gt;&gt; /etc/modules&#39;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;At this point you will need to do a full reboot to your computer so the fuse module loads correctly. Make sure to bookmark this page so you can finish the instructions when you come back!&lt;br /&gt;&lt;br /&gt;After rebooting, you need to make a folder where Samba can mount: I made mine &lt;code&gt;/media/network&lt;/code&gt; for simplicity. From the command line: &lt;code&gt;sudo mkdir /media/network&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you will need to make sure the folder has the correct permissions. To do this, open Thunar using &lt;code&gt;sudo thunar&lt;/code&gt; which will give you administrator rights, so be careful not to do anything other than this. Right click on your folder &lt;code&gt;/media/network&lt;/code&gt; and go to properties. You need to set Group &quot;Access&quot; and &quot;Others&quot; to &quot;Read &amp;amp; Write&quot;. Finally, run this command: &lt;code&gt;sudo chown &lt;username&gt;:fuse /media/network&lt;/username&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You also need to add the &lt;code&gt;fusesmb&lt;/code&gt; code to the folder &lt;code&gt;/etc/init.d&lt;/code&gt; which is done by making a script and putting it in that folder. The script is a really simple one, just make a text file on your desktop, name it something descriptive like &lt;code&gt;networkmount&lt;/code&gt;, and put this inside:&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;#!/bin/bash&lt;br /&gt;# This mounts the Samba service to the folder /media/network&lt;br /&gt;fusesmb /media/network&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;Now make the script executable with this command:&lt;br /&gt;&lt;code&gt;chmod +x networkmount&lt;/code&gt; where networkmount is the name of the file&lt;br /&gt;Finally, copy the file into the correct folder, you will need to be an admin, so try this command:&lt;br /&gt;&lt;code&gt;mv networkmount /etc/init.d/networkmount&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you need to make Samba mount to the correct folder whenever you log in. What I did is add the correct command to the file &lt;code&gt;/home/tobias/.xinitrc&lt;/code&gt; , which will run the command when I start X, but you may have a different way. How my .xinitrc file looks now (make sure the &lt;code&gt;exec icewm-session &amp;amp;&lt;/code&gt; is last):&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;fusesmb /media/network &amp;amp;&lt;br /&gt;exec icewm-session &amp;amp;&lt;/code&gt;&lt;br /&gt;&lt;/blockquote&gt;Now you will need to do a full reboot once more.&lt;br /&gt;&lt;br /&gt;That&#39;s it! If you open Thunar and navigate to &lt;code&gt;/media/network&lt;/code&gt; it will show you the available Samba networks. Note, however, that the response time is a bit slow, I thought I had done it wrong at first, but I was just impatient. If it won&#39;t load after a while, try logging out and logging back in, or resetting, to see if it will reinstate correctly.&lt;br /&gt;&lt;br /&gt;For added navigations, if you are using the &quot;Shortcuts&quot; Side Pane in Thunar (control + b) you can navigate to &lt;code&gt;/media&lt;/code&gt; and drag the &lt;code&gt;network&lt;/code&gt; folder to the side pane for quick access! Alternately, make a link to it and put the link wherever it&#39;s handy.&lt;br /&gt;&lt;br /&gt;&lt;strike&gt;test&lt;/strike&gt;</description><link>http://fromtheterminal.blogspot.com/2009/06/adding-samba-support-to-thunar.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-8163510302411906663</guid><pubDate>Sat, 13 Jun 2009 05:31:00 +0000</pubDate><atom:updated>2010-04-20T22:38:45.090-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">alsa</category><category domain="http://www.blogger.com/atom/ns#">alsamixer</category><category domain="http://www.blogger.com/atom/ns#">alsamixergui</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">dvd access</category><category domain="http://www.blogger.com/atom/ns#">vlc</category><title>I feel a bit foolish: ALSA mixer</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.tobiaslabs.com/526/i-feel-a-bit-foolish-alsa-mixer/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After installing the Ubuntu minimal core plus IceWM, as detailed &lt;a href=&quot;http://fromtheterminal.blogspot.com/2009/06/reinstalling-ubuntu-core-set.html&quot;&gt;previously&lt;/a&gt;, I could not get sound to work at all. My usual test for sound is installing VLC, which automatically installs a pretty good set of plug-ins, then adding support for DVD, WMA, and some other proprietary encodings:&lt;br /&gt;&lt;br /&gt;This will install VLC:&lt;br /&gt;&lt;code&gt;sudo aptitude install vlc&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This bit of shell script will enable the correct repositories, add the GPG key, and then install the required plug-ins for DVD access, as well as DivX, WMV, WMA, and a handful of other popular proprietary plug-ins. The following code was gathered in part from an old version laying around &lt;a href=&quot;http://flavor8.com/index.php/2007/12/16/how-to-install-libdvdcss-on-gutsy&quot;&gt;here&lt;/a&gt;. Beware of layout changing the font: their are five (5) lines of code to copy+paste here.&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;sudo su -c &#39;echo \ndeb http://packages.medibuntu.org/ jaunty free non-free &gt;&gt; /etc/apt/sources.list&#39;&lt;br /&gt;sudo su -c &#39;echo \ndeb-src http://packages.medibuntu.org/ jaunty free non-free &gt;&gt; /etc/apt/sources.list&#39;&lt;br /&gt;wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -&lt;br /&gt;sudo aptitude update&lt;br /&gt;sudo aptitude install libdvdcss2 w32codecs gstreamer0.10-pitfdll libxinel-ffmpeg libdvdread4&lt;/code&gt;&lt;/blockquote&gt;So after I installed all that software, I opened VLC and tried to open a music file. Unfortunately for this article, I didn&#39;t write down what VLC said exactly, but it was essentially saying VLC couldn&#39;t find an actual audio device. Using the command &lt;code&gt;ls /dev/a*&lt;/code&gt; I was able to see that an audio driver did exist: &lt;code&gt;/dev/audio&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After much poking around in the program &lt;code&gt;aptitude&lt;/code&gt;, the Debian software installation program, I realized I did not have the ALSA (Advanced Linux Sound Architecture) software installed, so I installed a few of them. I know for sure that I installed more than I needed, and I can&#39;t figure out which ones I ended up installing that made it work, but my guess is installing &lt;code&gt;alsa-firmware&lt;/code&gt; will install the rest of everything needed.&lt;br /&gt;&lt;br /&gt;After that, when I played a tune in VLC it would appear to play correctly, but I could get no sound from the speaker. Well, after stumbling around a bit, looking for more ALSA files I could install, I noticed I had installed &lt;code&gt;alsamixergui&lt;/code&gt;, started it, and realized everything was muted! Well, talk about embarrassing, I un-muted everything and realized I had never tried the volume buttons! I thought the volume would be automatically set to some low volume as a default, but it is installed with the sound muted.&lt;br /&gt;&lt;br /&gt;Hope you can learn something from my mistakes!</description><link>http://fromtheterminal.blogspot.com/2009/06/i-feel-bit-foolish-alsa-mixer.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-2056147824105847454</guid><pubDate>Thu, 11 Jun 2009 07:17:00 +0000</pubDate><atom:updated>2010-04-20T22:39:30.734-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">file management</category><category domain="http://www.blogger.com/atom/ns#">file manager</category><category domain="http://www.blogger.com/atom/ns#">icewm</category><category domain="http://www.blogger.com/atom/ns#">midnight commander</category><category domain="http://www.blogger.com/atom/ns#">thunar</category><category domain="http://www.blogger.com/atom/ns#">ubuntu core</category><title>Reinstalling Ubuntu, the core set</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.tobiaslabs.com/525/reinstalling-ubuntu-the-core-set/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, I reinstalled &lt;a href=&quot;http://www.ubuntu.com/&quot;&gt;Ubuntu Gnome&lt;/a&gt; twice, and then being unhappy with it (which I really have been from the start) I reinstalled the &lt;a href=&quot;https://help.ubuntu.com/community/Installation/MinimalCD&quot;&gt;Ubuntu core&lt;/a&gt; and then installed &lt;a href=&quot;http://www.icewm.org/&quot;&gt;IceWM&lt;/a&gt;: Ice Window Manager is a very light weight manager, with very limited graphical eye candy. So far I am really enjoying it: The menu, panel, and most everything else are flat text files, so they are easy to manipulate.&lt;br /&gt;&lt;br /&gt;After I installed the base core of Ubuntu, I did this:&lt;br /&gt;&lt;code&gt;sudo aptitude install xorg icewm menu firefox&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If you aren&#39;t familiar with the Debian install method, it&#39;s real easy:&lt;br /&gt;&lt;code&gt;sudo&lt;/code&gt; To install a program, you need root access.&lt;br /&gt;&lt;code&gt;aptitude&lt;/code&gt; This is the program which installs things. You can just run &lt;code&gt;sudo aptitude&lt;/code&gt; and it will give you a command line interface.&lt;br /&gt;&lt;code&gt;install&lt;/code&gt; This tells the program, aptitude, to install the following list of programs.&lt;br /&gt;&lt;code&gt;xorg icewm menu firefox&lt;/code&gt; These are the programs I installed, although I am not sure if I needed the &lt;code&gt;menu&lt;/code&gt;, I was following someone else&#39;s instructions.&lt;br /&gt;&lt;br /&gt;Now I had a window manager and Firefox, so I could browse around online to figure out how to do other stuff. When you boot up you will end up at a command line, no graphics, and you will need to put in your login name and password. To get the window manager to start, type in: &lt;code&gt;startx&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The core Ubuntu, plus IceWM, didn&#39;t install a file manager (in Windows, that is just the normal file browser) so i had to browse around online to find one. I found &lt;a href=&quot;http://www.linux.com/archive/articles/59043&quot;&gt;this news post&lt;/a&gt; which helped, but the comments below really helped me decide. I didn&#39;t mind the Ubuntu default of Nautilus, but it was a pretty heavyweight, and I was looking for something really light.&lt;br /&gt;&lt;br /&gt;What I decided on were two things: &lt;a href=&quot;http://thunar.xfce.org/&quot;&gt;Thunar&lt;/a&gt; and Midnight Commander. Thunar is a graphically appealing, yet lightweight graphical file manager, and comes pre-installed on &lt;a href=&quot;http://www.xfce.org/&quot;&gt;Xfce&lt;/a&gt; and on &lt;a href=&quot;http://www.xubuntu.org/&quot;&gt;Xubuntu&lt;/a&gt;, which is Ubuntu using Xfce4. In &lt;a href=&quot;http://thunar.xfce.org/screenshots.html&quot;&gt;this link&lt;/a&gt; you can find some screenshots of it, although in my installation I have not configured a MIME applied icon set.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.midnight-commander.org/&quot;&gt;Midnight Commander&lt;/a&gt; is one that I can especially appreciate: It is a console file manager, much like the good ol&#39; DOS based Norton Commander. Two panes of beautiful text goodness, oh yeah! I managed to find a screenshot of it:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.icewalkers.com/scrshot/469/&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 276px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVVMyRCCkXSvs92JqUqgJMrJGQKnlx6Fu5Ib_AVyW-Zj7D0MVzboVPky6F72IIFd_IQMKrbq-0lBFCmTS4M0MHFIdoL_J0JK43xWY7TUhJD-t1pn_ejPgKR4WuywJY8X2fOvzPA5eoOwo/s400/midnight-commander.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5345971656113024946&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Sorry it&#39;s not a very good picture, but I think you can get the idea of it. The comments at this previously linked post give some good ideas as to the power of this program. Also, if you open this within a windows manager, you can interact with it using the mouse as well, although it is designed to use the keyboard of course. I had some real trouble figuring out how to install Midnight Commander, so I will present the way I used:&lt;br /&gt;&lt;br /&gt;First, you need to enable the Universe repositories. You can do this using some graphical thing, or you can edit the text file. The following lines need to be added to the file &quot;sources.list&quot;, which is found at &lt;code&gt;/etc/apt/sources.list&lt;/code&gt;&lt;br /&gt;deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe&lt;br /&gt;deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe&lt;br /&gt;&lt;br /&gt;You will need to change the word &quot;jaunty&quot; to whatever version of ubuntu you are using. One way to quickly append to a text file, from the command line, is this:&lt;br /&gt;&lt;code&gt;echo new text &gt;&gt; file.txt&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This takes the &quot;new text&quot; and puts it at the end of &quot;file.txt&quot;, that&#39;s what the &lt;code&gt;&gt;&gt;&lt;/code&gt; means. To add the two lines above to the sources list, type these two commands:&lt;br /&gt;&lt;code&gt;sudo su -c &#39;echo deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe &gt;&gt; /etc/apt/sources.list&#39;&quot;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;sudo su -c &#39;echo deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe &gt;&gt; /etc/apt/sources.list&#39;&quot;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you have added the Universe repository, you need to update the list of programs:&lt;br /&gt;&lt;code&gt;sudo aptitude update&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And finally, install Midnight Commander:&lt;br /&gt;&lt;code&gt;sudo aptitude install mc&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To start Midnight Commander, just type in:&lt;br /&gt;&lt;code&gt;mc&lt;/code&gt;</description><link>http://fromtheterminal.blogspot.com/2009/06/reinstalling-ubuntu-core-set.html</link><author>noreply@blogger.com (Tobias Davis)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVVMyRCCkXSvs92JqUqgJMrJGQKnlx6Fu5Ib_AVyW-Zj7D0MVzboVPky6F72IIFd_IQMKrbq-0lBFCmTS4M0MHFIdoL_J0JK43xWY7TUhJD-t1pn_ejPgKR4WuywJY8X2fOvzPA5eoOwo/s72-c/midnight-commander.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-6636772957747047839</guid><pubDate>Sun, 19 Apr 2009 07:44:00 +0000</pubDate><atom:updated>2010-04-20T22:40:05.476-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">find</category><category domain="http://www.blogger.com/atom/ns#">recursive search</category><category domain="http://www.blogger.com/atom/ns#">recursively remove file</category><category domain="http://www.blogger.com/atom/ns#">remove file</category><category domain="http://www.blogger.com/atom/ns#">rm</category><category domain="http://www.blogger.com/atom/ns#">xargs</category><title>Recursively deleting things</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.tobiaslabs.com/520/recursively-deleting-things/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I wanted to delete the incessant &quot;Thumbs.db&quot; that Windows leaves everywhere, and found three possible solutions:&lt;br /&gt;&lt;code&gt;rm `find /path -name &#39;*.tmp&#39;`&lt;/code&gt;&lt;br /&gt;&lt;code&gt;find /path -name \*.tmp | xargs rm&lt;/code&gt;&lt;br /&gt;&lt;code&gt;find /path -name &quot;*.tmp&quot; -exec rm {} \;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The first two probably work when there are no spaces in the folder names. The last one works even when there are spaces. I will explain all three.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;First:&lt;/span&gt; &lt;code&gt;rm `find /path -name &#39;*.tmp&#39;`&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;rm&lt;/code&gt;    This is the &quot;remove&quot; command. You would say &lt;code&gt;rm file&lt;/code&gt; to remove &quot;file&quot;&lt;br /&gt;&lt;code&gt;`find ....`&lt;/code&gt;    Quotation marks are used to wrap things that may be interpreted as two commands. E.g., if you say &lt;code&gt;rm find blah&lt;/code&gt; the computer will look for two files, &quot;find&quot; and &quot;blah&quot;. The quotation mark found usually to the left of the 1 key is done to let the computer know you want to pass a command. Try running the &lt;code&gt;find /home/user/path -name &#39;*.tmp&#39;&lt;/code&gt; by itself. Let&#39;s pull it apart:&lt;br /&gt;&lt;code&gt;find&lt;/code&gt;    This is the command which is self descriptive&lt;br /&gt;&lt;code&gt;/path&lt;/code&gt; This is the path where it should start. It will look recursively through all farther out folders.&lt;br /&gt;&lt;code&gt;-name &#39;*.tmp&#39;&lt;/code&gt;    The &lt;code&gt;-name&lt;/code&gt; is a flag, letting the computer know that the next thing is the file it should look for.&lt;br /&gt;&lt;code&gt;&#39;*.tmp&#39;&lt;/code&gt;    Why does this have quote marks? It doesn&#39;t really need it in this example, but if you were looking for a file with spaces in it you would need it.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Second:&lt;/span&gt; &lt;code&gt;find /path -name \*.tmp | xargs rm&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;find /path -name \*.tmp&lt;/code&gt;    This command is discussed above, the difference to note is the &lt;code&gt;\*.tmp&lt;/code&gt; which I don&#39;t know why it is there. Sorry. Anybody?&lt;br /&gt;&lt;code&gt; | &lt;/code&gt;    This is the &quot;pipe&quot; symbol. It takes whatever the left side makes, and passes it to the right side. In this case, the left side finds the file &lt;code&gt;*.tmp&lt;/code&gt; and the pipe passes the location of that file to the right side.&lt;br /&gt;&lt;code&gt;xargs rm&lt;/code&gt;    The xargs command is basically a way to pass commands, the important thing is that it is passing a command to do &lt;code&gt;rm&lt;/code&gt; which will remove the file found on the left side of the pipe.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Third:&lt;/span&gt; &lt;code&gt;find /path -name &quot;*.tmp&quot; -exec rm {} \;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;find /path&lt;/code&gt;    Find in the directory &quot;/path&quot;&lt;br /&gt;&lt;code&gt;-name &quot;*.tmp&quot;&lt;/code&gt;    Look for the file with an extension of &quot;tmp&quot;. If you want it to look for &quot;TMP&quot; as well, use &lt;code&gt;-iname&lt;/code&gt; which is case insensetive&lt;br /&gt;&lt;code&gt;-exec rm {} \;&lt;/code&gt;    The &quot;-exec&quot; is a flag which tells the computer to execute something, in this case the remove command, after it finds a file. Whatever command you pass has to be followed by a semicolon ; So it would be &lt;code&gt;-exec blahblah ;&lt;/code&gt; complete with the space before the semicolon. The backslash character makes sure that the computer knows it is done doing whatever command it was supposed to do, in this case remove the file.&lt;br /&gt;&lt;code&gt;rm {}&lt;/code&gt;    The rm command removes (deletes) a file. The brackets are a recursive thing, to the computer they mean &quot;Whatever you just found&quot;.</description><link>http://fromtheterminal.blogspot.com/2009/04/recursively-deleting-things.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-4846454970498145654</guid><pubDate>Sun, 19 Apr 2009 01:26:00 +0000</pubDate><atom:updated>2010-04-20T22:40:50.919-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mount</category><category domain="http://www.blogger.com/atom/ns#">mount fake drive</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>Mounting an img disk</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/519/mounting-an-img-disk/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I set up Qemu and ran Windows XP inside, I had XP updated to Service Pack 2 from a cdrom. How to mount a cdrom in Qemu is available &lt;a href=&quot;http://fromtheterminal.blogspot.com/2009/04/guess-what-i-am-doing.html&quot;&gt;here&lt;/a&gt;, but I wanted to upgrade to Service Pack 3 and didn&#39;t want to download the SP3 file &lt;span style=&quot;font-style: italic;&quot;&gt;inside&lt;/span&gt; the virtual Windows since it is considerably slower. So I went to the &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=5B33B5A8-5E76-401F-BE08-1E1555D4F3D4&amp;amp;displaylang=en&quot;&gt;Microsoft web-site &lt;/a&gt;and downloaded the necessary file, assuming I could just put it inside the &quot;windows.img&quot; file.&lt;br /&gt;&lt;br /&gt;Well, I can, and I have to mount the file as a drive. But how do you do that? I didn&#39;t know, but now I do:&lt;br /&gt;&lt;br /&gt;The essential command is this:&lt;br /&gt;&lt;code&gt;sudo mount -o loop,offset=32256 -t ntfs  /folder/windows.img /media/windows&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You will probably need to make the /media/windows directory first:&lt;br /&gt;&lt;code&gt;sudo mkdir /media/windows&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Okay, here is the explanation of the directory making:&lt;br /&gt;&lt;code&gt;sudo&lt;/code&gt; : You can&#39;t be a normal user to do this, you have to be an administrator&lt;br /&gt;&lt;code&gt;mkdir&lt;/code&gt; : This is the command to make the directory&lt;br /&gt;&lt;code&gt;/media/windows&lt;/code&gt; : This is the folder you are making. You could also make it &lt;code&gt;/mnt/windows&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And here is the explanation of the mounting command:&lt;br /&gt;&lt;code&gt;sudo&lt;/code&gt; : See above&lt;br /&gt;&lt;code&gt;mount&lt;/code&gt; : This &quot;connects&quot; the fake drive to the computer&lt;br /&gt;&lt;code&gt;-o loop,offset=32256&lt;/code&gt; : These are special commands, set using &lt;code&gt;-o&lt;/code&gt; , like you can make the fake drive read-only, or other tricks. The loop flag is used for fake drives, aka, img files. Any other command is seperated with a comma, an example would be &lt;code&gt;-o loop,rw,auto,noexec&lt;/code&gt; . I will explain the offset just below.&lt;br /&gt;&lt;code&gt;-t ntfs&lt;/code&gt; : This is the type of hard-drive that is faked. In this case, it is Windows, which typically uses the NTFS file structure. Other common ones are &lt;code&gt;fat16&lt;/code&gt; and &lt;code&gt;fat32&lt;/code&gt; .&lt;br /&gt;&lt;code&gt;/folder/windows.img&lt;/code&gt; : This is the folder where the fake disk, &lt;code&gt;windows.img&lt;/code&gt; , is located.&lt;br /&gt;&lt;code&gt;/media&lt;/code&gt; : This is the folder to mount the fake drive. It is the one you made earlier.&lt;br /&gt;&lt;br /&gt;Okay, so here is where the real trick is: The &lt;code&gt;offset=32256&lt;/code&gt; flag is what tells the &quot;mount&quot; program where to look in the file. See, the &quot;windows.img&quot; fake drive file has some other information at the start which confuses the &quot;mount&quot; program, so it needs to know where in the file to start reading the fake drive. If you made your fake drive like I made mine, or if you only have Windows on it, the value of &quot;32256&quot; should be fine, otherwise try the following.&lt;br /&gt;&lt;br /&gt;You will need to find the numerical value of the offset. Run the &quot;fdisk&quot; command, just be careful because if you mistype it you can easily destroy EVERYTHING! Run it like this:&lt;br /&gt;&lt;code&gt;fdisk -l /folder/windows.img&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;fdisk&lt;/code&gt; : The fdisk command is the swiss army knife to poke at drives&lt;br /&gt;&lt;code&gt;-l&lt;/code&gt; : This lists the drive information&lt;br /&gt;&lt;code&gt;/folder/windows.img&lt;/code&gt; : This is the fake drive&lt;br /&gt;&lt;br /&gt;It will probably print something like this:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;You must set cylinders.&lt;br /&gt;You can do this from the extra functions menu.&lt;br /&gt;&lt;br /&gt;Disk /folder/windows.img: 0 MB, 0 bytes&lt;br /&gt;255 heads, 63 sectors/track, 0 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;Disk identifier: 0x1ff71ff7&lt;br /&gt;&lt;br /&gt;              Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/folder/windows.img 1   *           1        1273    10225341    7  HPFS/NTFS&lt;br /&gt;Partition 1 has different physical/logical endings:&lt;br /&gt;    phys=(1023, 254, 63) logical=(1272, 254, 63)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The two things to notice are the number which falls under the &quot;Start&quot;. In mine, that is just 1. Note also the &quot;63 sectors/track&quot;. The number to offset is: 1*63*512=32256&lt;br /&gt;&lt;br /&gt;Now, once I mounted the &quot;windows.img&quot; I was able to poke around in the folders. I took the Windows Service Pack 3 file and copied it to my Desktop. Now I can install SP3 without having to download it in virtual Windows XP, this saves a lot of time!&lt;br /&gt;&lt;br /&gt;For my next trick, I will pull a rabbit out of my hat:&lt;br /&gt;Try mounting the Fake drive, and booting XP in Qemu together! (Mount first, then run Qemu) Rock on!&lt;br /&gt;&lt;br /&gt;P.s. You may have trouble unmounting that fake drive? Type in &lt;code&gt;df&lt;/code&gt; and see which thing on the left corresponds to the fake drive on the right. In my case it was &lt;code&gt;/dev/loop0&lt;/code&gt; . Now, you may have a trouble unmounting it still? In this case, you will need to exit any programs accessing the drive, I even had to exit the terminal I was in. Now go back and try again.</description><link>http://fromtheterminal.blogspot.com/2009/04/mounting-img-disk.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-1016736163410337262</guid><pubDate>Fri, 17 Apr 2009 22:32:00 +0000</pubDate><atom:updated>2010-04-20T22:41:42.728-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">damn small linux</category><category domain="http://www.blogger.com/atom/ns#">hacks</category><category domain="http://www.blogger.com/atom/ns#">humour</category><category domain="http://www.blogger.com/atom/ns#">multi-boot</category><category domain="http://www.blogger.com/atom/ns#">qemu</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">virtual computer</category><title>Running loops with Qemu</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/517/running-loops-with-qemu/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And now, for something completely different:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_YvIl5gKHXMDzdydVxm4x1DxGupuSS-g2dGf26k-jW7cittavWOFTWjzz8dype9FA9RPm9xq83Hpi-31I8ZGYSitVnhc4ylamBhMClFIAnxvW0GpnlymLO92cR2WUKFWPGz7Rtj9ylB8/s1600-h/Screenshot-1.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_YvIl5gKHXMDzdydVxm4x1DxGupuSS-g2dGf26k-jW7cittavWOFTWjzz8dype9FA9RPm9xq83Hpi-31I8ZGYSitVnhc4ylamBhMClFIAnxvW0GpnlymLO92cR2WUKFWPGz7Rtj9ylB8/s320/Screenshot-1.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325792892969407106&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;I am using Qemu to boot Ubuntu, from a different partition, inside of Ubuntu. Is this wise? &lt;a href=&quot;http://forums.fedoraforum.org/showthread.php?t=180685&quot;&gt;Some&lt;/a&gt; suggest it is not, but I like to live on the &lt;span style=&quot;font-style: italic;&quot;&gt;wild side!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So the relevant code is pretty simple. Recall the &lt;a href=&quot;http://fromtheterminal.blogspot.com/2009/04/guess-what-i-am-doing.html&quot;&gt;last post&lt;/a&gt; on initializing Qemu, and take that, flip it around a bit, and here we go:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;JUST REMEMBER YOU MAY BE DESTROYING YOUR DRIVE!!!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sorry for that, here we go:&lt;br /&gt;sudo qemu -m 768 -boot c -hda /dev/sda&lt;br /&gt;&lt;br /&gt;The sudo bit is used here because apparently it&#39;s dangerous to mount the drive you are running. Pfff! The rest is:&lt;br /&gt;qemu: The virtualizing program you are running&lt;br /&gt;-m 768: You can tell Qemu how much memory to set aside. This is megabytes...&lt;br /&gt;-boot c: It will boot from the virtual primary drive, instead of the cd-rom see?&lt;br /&gt;-hda /dev/sda: The primary drive is /dev/sda, which is the drive I am running now&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;The command to restart the windows manager in Linux is control+alt+backspace. When you boot Qemu to another Linux and want to kill the windows manager, you can&#39;t use that because you will kill the main system you are using... Woops.&lt;br /&gt;&lt;br /&gt;Now let me try to restart my extra Ubuntu, it took over five minutes last time...&lt;br /&gt;&lt;br /&gt;Meanwhile, let me bore you with a story: I installed a second version of Ubuntu on an extra partition a while back. Thought maybe I could mess around with it and trim it down to nothing. Well, it worked but now I don&#39;t have any kind of anything on it. Good thing it was a spare. Okay it&#39;s back.&lt;br /&gt;&lt;br /&gt;I mean, I messed it up bad. All it has is this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGotEvevkzN6wxi8TmuKpDQIoO1q86d2sMAQf_zyX9WID0F1fAhynpAVEQHQp85nNluKPhopOVmKtwQJhAtJoCdG1AHF2AwrYumBAi9BHbqGUj_IfFljZtwfvDwlnm6Ybf1pPd0sCpWOY/s1600-h/Screenshot-2.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGotEvevkzN6wxi8TmuKpDQIoO1q86d2sMAQf_zyX9WID0F1fAhynpAVEQHQp85nNluKPhopOVmKtwQJhAtJoCdG1AHF2AwrYumBAi9BHbqGUj_IfFljZtwfvDwlnm6Ybf1pPd0sCpWOY/s200/Screenshot-2.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325796456952684898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Anyway, I won&#39;t bore you with the rest of the details, I was just noting that you could indeed boot Linux inside of Linux. I think I could even install Qemu on this virtual drive, boot the hard drive, and start Windows... Hold on...&lt;br /&gt;&lt;br /&gt;I had to install a window manager, and I didn&#39;t want Gnome, so I picked FluxBox. It&#39;s the same window manager used in my favorite light-weight-heavy-hitter, &lt;a href=&quot;http://www.damnsmalllinux.org/&quot;&gt;DSL&lt;/a&gt;. Here I am, installing Qemu on my pretend computer on my pretend drive:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJTxR8IjZEVBQjZyFlLh0k6ZwkIstYQ5GEqt8FgQgb8QxkTRJZ7XtVJiuQuFI9rXEfkrNX7Hb1XbQs7rtHSPpxKxIRG4PiaJWp1LurANITO1JQoSxWFzcorDs4h68liNiD_2ubnARTU3M/s1600-h/Screenshot-3.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJTxR8IjZEVBQjZyFlLh0k6ZwkIstYQ5GEqt8FgQgb8QxkTRJZ7XtVJiuQuFI9rXEfkrNX7Hb1XbQs7rtHSPpxKxIRG4PiaJWp1LurANITO1JQoSxWFzcorDs4h68liNiD_2ubnARTU3M/s200/Screenshot-3.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325799698593384562&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Alright, it just finished. Now to try booting another computer inside it. Instead of trying to kill it with another Ubuntu running, I will boot to my DSL file. Heh heh. Here we go:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNve6UxwUvML1fHmooxLR32DucI-nTOzfWqXdJ4n2GELJmHnFIaKeFR_N5Ml4imeOCzQ4x88VB5pukPpB6ufx9wUtUcC9unTv2TR4MxkVJP5HEs8BNgUYfgWYWldwjGno2QKgSUAvnmV8/s1600-h/Screenshot-4.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNve6UxwUvML1fHmooxLR32DucI-nTOzfWqXdJ4n2GELJmHnFIaKeFR_N5Ml4imeOCzQ4x88VB5pukPpB6ufx9wUtUcC9unTv2TR4MxkVJP5HEs8BNgUYfgWYWldwjGno2QKgSUAvnmV8/s200/Screenshot-4.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325801342441057634&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The &quot;inner world&quot; Qemu is not handling the graphics very well, I can&#39;t even read the text on the screen:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq9MqJtlayWC1iPL7MtEwb6hUDS7sarWbMjZi_5QMSF4REcEaEH5Z1x6_JiPsb6eUlNKtibYSsl-W2pUeSMmLBPVsbIg-TdeNAeIM_AVUdD7yMvnLdcuQMJR9BT7_4b3wTEpGNSEI7ZCE/s1600-h/Screenshot-5.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq9MqJtlayWC1iPL7MtEwb6hUDS7sarWbMjZi_5QMSF4REcEaEH5Z1x6_JiPsb6eUlNKtibYSsl-W2pUeSMmLBPVsbIg-TdeNAeIM_AVUdD7yMvnLdcuQMJR9BT7_4b3wTEpGNSEI7ZCE/s200/Screenshot-5.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325801929237778242&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Well, that didn&#39;t work very well at all. I don&#39;t think I have enough memory to really make this work. DSL finally booted after maybe 15 minutes, but it couldn&#39;t hardly load the window manager: It started and stalled, after 5 minutes I shut it down...&lt;br /&gt;&lt;br /&gt;Well, anyway, that was fun.</description><link>http://fromtheterminal.blogspot.com/2009/04/running-loops-with-qemu.html</link><author>noreply@blogger.com (Tobias Davis)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_YvIl5gKHXMDzdydVxm4x1DxGupuSS-g2dGf26k-jW7cittavWOFTWjzz8dype9FA9RPm9xq83Hpi-31I8ZGYSitVnhc4ylamBhMClFIAnxvW0GpnlymLO92cR2WUKFWPGz7Rtj9ylB8/s72-c/Screenshot-1.png" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-2222096402401172019</guid><pubDate>Fri, 17 Apr 2009 02:32:00 +0000</pubDate><atom:updated>2010-04-20T22:42:18.516-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">install</category><category domain="http://www.blogger.com/atom/ns#">multi-boot</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">virtual computer</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>Guess what I am doing?</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/516/guess-what-i-am-doing/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDrnpPUfc5tG-RWWzI0i-9NbjfHlCM-gn2ryxi6ot6Yv7KxpDrbO9H7rRI0B1lX23IFvh2nl5PG3ayJsvoAj3adt45ymSPBS3s02UpiQbdEOC3yFmhA-VqPLBSY5-Gtbz9Vz3eBmCAjOc/s1600-h/Screenshot-1.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDrnpPUfc5tG-RWWzI0i-9NbjfHlCM-gn2ryxi6ot6Yv7KxpDrbO9H7rRI0B1lX23IFvh2nl5PG3ayJsvoAj3adt45ymSPBS3s02UpiQbdEOC3yFmhA-VqPLBSY5-Gtbz9Vz3eBmCAjOc/s320/Screenshot-1.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5325489571763911650&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;After I completely torched my previous Windows install with a virus infected software, I decided to try another way and install Windows in a virtual computer on Ubuntu!&lt;br /&gt;&lt;br /&gt;Here is what I did, although some more differenter instructions can be found &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=39513&quot;&gt;here&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;Go to the famous &quot;Add/Remove...&quot; and install &quot;Qemulator&quot;. I don&#39;t know how well suited this will be for my purposes, but this is a test anyway, so no big deal.&lt;br /&gt;&lt;br /&gt;Now we need a fake hard drive. Now, go to the beautiful terminal (I made a keyboard shortcut: &lt;code&gt;ctrl+alt+t&lt;/code&gt;) and travel to somewhere convenient and make a drive with Qemu:&lt;br /&gt;&lt;code&gt;qemu-img create windows.img 10000M&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;qemu-image&lt;/code&gt;: The Qemu program which makes the fake drive&lt;br /&gt;&lt;code&gt;create&lt;/code&gt;: I wonder if there is a detroy function?&lt;br /&gt;&lt;code&gt;windows.img&lt;/code&gt;: This is the file, which is a hard drive image&lt;br /&gt;&lt;code&gt;10000M&lt;/code&gt;: This is 10 Gigs, I am going to install a large program on here, so...&lt;br /&gt;&lt;br /&gt;Now lets boot the fake machine up!&lt;br /&gt;&lt;code&gt;qemu -boot d -cdrom /dev/scd0 -hda windows.img&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;qemu&lt;/code&gt;: The program virtualizing an entire computer!&lt;br /&gt;&lt;code&gt;-boot d&lt;/code&gt;: This tells qemu what drive to pretend to boot from, in this case the cd&lt;br /&gt;&lt;code&gt;-cdrom /dev/scd0&lt;/code&gt;: The cdrom is this device, make sure it&#39;s your actual cd*&lt;br /&gt;&lt;code&gt;-hda windows.img&lt;/code&gt;: This is the earlier created hard drive image&lt;br /&gt;&lt;br /&gt;Now Qemu will boot up to whatever cd you previously mounted on your computer. What? You didn&#39;t mount the disk yet? Well, do that, type the above command, and come back here.&lt;br /&gt;&lt;br /&gt;Okay, now Qemu should boot up into whatever the cd was, in my case it was the Windows XP installation guide. The setup was all plain-text, fine with me, and took maybe 8 minutes. Then Windows wants to restart. It will restart Qemu, but exit the program first.&lt;br /&gt;&lt;br /&gt;What you need to do is start Qemu back up, this time with only slightly different commands:&lt;br /&gt;&lt;code&gt;qemu -boot c -cdrom /dev/scd0 -hda windows.img&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;These are the same as last time, except for this one:&lt;br /&gt;&lt;code&gt;-boot c&lt;/code&gt;: This tells Qemu to boot to what Windows wants to call the C:/ drive, which is your &quot;windows.img&quot; fake hard drive file.&lt;br /&gt;&lt;br /&gt;Now Windows should boot into it&#39;s familiar black screen with that awesome graphic window-esque thing, and then it will want to install all the drivers, files, etc., just like a normal Windows installation.&lt;br /&gt;&lt;br /&gt;It seems that, to get the internets to work inside Qemu, you have to tell it to pass network capabilities through. It virtualizes everything else, network and usb support as well. To do that, add &lt;code&gt;-net nic&lt;/code&gt; to the end of the command, so it looks like:&lt;br /&gt;&lt;code&gt;qemu -boot c -cdrom /dev/scd0 -hda windows.img -net nic&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Other instructions said use &lt;code&gt;-net user&lt;/code&gt;, I don&#39;t know the difference very well, but &lt;code&gt;-net nic&lt;/code&gt; was the only one that worked for me.&lt;br /&gt;&lt;br /&gt;Once you are comfortable with your Qemu configurations, you probably want to make a shortcut of some kind so you don&#39;t have to remember this command all the time. I don&#39;t have any cool tricks up my sleeve on this one, just copy and paste the command into a hand-made shortcut.&lt;br /&gt;&lt;br /&gt;One more thing: I installed Qemu by using the &quot;Add/Remove...&quot; in Ubuntu, but I found the GUI was &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; useful, and had enough interface glitches that running through the command line is much easier. If I can figure out the command line way to install I will let you know, it&#39;s probably really simple.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*To double check your cd drive, go to the terminal (after you put in your cd and can open it&#39;s folders) and type:&lt;br /&gt;&lt;code&gt;df&lt;/code&gt;&lt;br /&gt;This will list all the mounted things, drives and memory are both &quot;mounted&quot; in Linux, look for one that says &quot;&lt;code&gt;/dev/scd0&lt;/code&gt;&quot; or perhaps &quot;&lt;code&gt;/dev/cdrom&lt;/code&gt;&quot;, but on the right it will have the title of the cd, like &quot;&lt;code&gt;/media/X1APFPP_EN&lt;/code&gt;&quot; or something similarly unintelligible.</description><link>http://fromtheterminal.blogspot.com/2009/04/guess-what-i-am-doing.html</link><author>noreply@blogger.com (Tobias Davis)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDrnpPUfc5tG-RWWzI0i-9NbjfHlCM-gn2ryxi6ot6Yv7KxpDrbO9H7rRI0B1lX23IFvh2nl5PG3ayJsvoAj3adt45ymSPBS3s02UpiQbdEOC3yFmhA-VqPLBSY5-Gtbz9Vz3eBmCAjOc/s72-c/Screenshot-1.png" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-4553389368708058899</guid><pubDate>Sat, 14 Feb 2009 04:14:00 +0000</pubDate><atom:updated>2010-04-20T22:42:57.027-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ubuntu specific</category><title>Ubuntu/Nautilus Specific</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/515/ubuntunautilus-specific/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I know this doesn&#39;t flow in the vein of &quot;command line&quot; that I am aiming for, but I thought this was a useful tidbit for those of us using Ubuntu.&lt;br /&gt;&lt;br /&gt;I recently purchased a reasonably up-to-date laptop (refurbished, from ebay!) and changed the partitions so I could have XP and Ubuntu, and a 45GB media drive. It&#39;s awesome! If I can figure out a few programs I will remove my dependence on XP, but I am not hurting for hard-drive space yet, so no hurry.&lt;br /&gt;&lt;br /&gt;Anyway, Ubuntu does not ship with mp3 support built in, since it is a proprietary codec and Ubuntu is released solely under the GPL. You can add the mp3 support along with some other proprietary support (Java, DVD&#39;s, etc) from the &quot;Add/Remove...&quot; in the Applications Start bar. The package is labeled &quot;Ubuntu restricted extras&quot;, but is a &lt;span style=&quot;font-style: italic;&quot;&gt;very&lt;/span&gt; large download.&lt;br /&gt;&lt;br /&gt;If you only want mp3 support, you can install the specific packages (the &quot;Restricted extras&quot; installs &lt;span style=&quot;font-style: italic;&quot;&gt;all&lt;/span&gt; restriced media drivers at once) by installing the packages:&lt;br /&gt;gstreamer0.10-plugins-ugly&lt;br /&gt;libmpeg2-4&lt;br /&gt;&lt;br /&gt;This will download a few other required files, but overall it is much smaller than the entire &quot;restricted extras&quot;package.&lt;br /&gt;&lt;br /&gt;One other neat trick that Nautilus, the included file manager in Ubuntu, can do to music files is play them when you hover over them with your mouse. This trick is &quot;cool&quot;, although it may not have much practical value. To get this neat feature, install the packages:&lt;br /&gt;mpg321&lt;br /&gt;vorbis-tools&lt;br /&gt;&lt;br /&gt;While you can install these packages through &quot;System / Administration / Synaptic Package Manager&quot; or you can always install it my favorite way: The command line!&lt;br /&gt;&lt;br /&gt;For the flashy play-back in Nautilus:&lt;br /&gt;sudo apt-get install mpg321 vorbis-tools&lt;br /&gt;&lt;br /&gt;For mp3 support:&lt;br /&gt;sudo apt-get install gstreamer0.10-plugins-ugly libmpeg2-4</description><link>http://fromtheterminal.blogspot.com/2009/02/ubuntunautilus-specific.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-554086447837069278</guid><pubDate>Wed, 24 Dec 2008 06:38:00 +0000</pubDate><atom:updated>2010-04-20T22:43:30.291-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">wget</category><title>wget: Grabbing html files.</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/514/wget-grabbing-html-files/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;&lt;br /&gt;wget&lt;/span&gt; is a command-line, non-interactive html grabber. I have used it in the past in some scripts to download an html file, check it for certain data, and run a different script based on what the first html said. Here I will teach you some tricks to using it:&lt;br /&gt;&lt;br /&gt;In it&#39;s most basic form, you type: &lt;code&gt;wget http://www.the_web_site.com/the_file.html&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The output is like this:&lt;code&gt;&lt;br /&gt;user@user-desktop:~$ wget http://tobiasdavis.110mb.com/index.php&lt;br /&gt;--00:43:08--  http://tobiasdavis.110mb.com/index.php&lt;br /&gt;         =&gt; `index.php&#39;&lt;br /&gt;Resolving tobiasdavis.110mb.com... 195.242.99.215&lt;br /&gt;Connecting to tobiasdavis.110mb.com|195.242.99.215|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 4,566 (4.5K) [text/html]&lt;br /&gt;&lt;br /&gt;100%[=====================================================================================================================================&gt;] 4,566         24.72K/s          &lt;br /&gt;&lt;br /&gt;00:43:09 (24.67 KB/s) - `index.php&#39; saved [4566/4566]&lt;br /&gt;&lt;br /&gt;user@user-desktop:~$&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This grabbed the file &lt;code&gt;index.php&lt;/code&gt; from the website and saves it in the current directory as &lt;code&gt;index.php&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You probably noticed that I didn&#39;t need to use an html file in wget. Thankfully, wget has a lot of tricks you can use, and you don&#39;t need to use html. You can use wget to grab zip, pdf, mp3, or pretty much any file. Most of the options I will show you are put in this way: &lt;code&gt;wget &lt;i&gt;[the options] [the file]&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The first one that I wanted to know was how to stop printing all that extra stuff. You can easily make wget run &quot;quietly&quot; by using the &lt;code&gt;-q&lt;/code&gt; (for quiet) option: &lt;code&gt;wget -q http://tobiasdavis.110mb.com/index.php&lt;/code&gt; This does the same thing as the first one, but doesn&#39;t tell you what it&#39;s doing.&lt;br /&gt;&lt;br /&gt;Another handy thing, especially if you are scripting things, is to download a file and name it something else. This is also pretty easy: Use the &lt;code&gt;-O file.html&lt;/code&gt; option to save it as &lt;code&gt;file.html&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Like this: &lt;code&gt;wget -q -O index.html http://tobiasdavis.110mb.com/index.php&lt;/code&gt;&lt;br /&gt;This quietly downloads the same file as before, and saves it as &lt;code&gt;index.html&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;By now you may have noticed that there are multiple files in the folder you have been running these commands. By now I had three named &lt;code&gt;index.php  index.php.1 index.php.2&lt;/code&gt; but what does it mean? This is a handy feature of wget: If you download a file with the same name, it won&#39;t automatically overwrite the old one. But what if you &lt;i&gt;want&lt;/i&gt; to?&lt;br /&gt;&lt;br /&gt;You can always &lt;i&gt;tell&lt;/i&gt; wget what file name to use, as above using the &lt;code&gt;-O file&lt;/code&gt; option. When you do this, wget will overwrite the old version. In normal use, use the &lt;code&gt;-N&lt;/code&gt; option to overwrite the old file. Like this: &lt;code&gt; wget -q -N http://tobiasdavis.110mb.com/index.php&lt;/code&gt; This downloads the same file, but overwrites the old one you might still have.&lt;br /&gt;&lt;br /&gt;Some other things that are useful are using ftp instead of http. It is the exact same thing, except you probably have a user name and password. The wget command is &lt;code&gt;wget ftp://username:password@host/path&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I used it like this: &lt;code&gt;wget ftp://user:password@tobiasdavis.110mb.com/index.php&lt;/code&gt; The user name and password are mine. This downloads the actual underlying php script, which is quite different from what you see when browsing or downloading from http.&lt;br /&gt;&lt;br /&gt;One note of security: If you use the above system, any other users on the system can read your log-in information, which is especially bad on a multi-user computer! Instead, type it in like this: &lt;code&gt;wget -i -&lt;/code&gt; Then, type in the ftp command as above, like: &lt;code&gt;ftp://user:password@host/path&lt;/code&gt; Now press Enter and then hit the Control and D button. This lets you type in things and they won&#39;t be visible to other users. In practicality, wget is usually used in scripts, where you can do things differently.&lt;br /&gt;&lt;br /&gt;You can look &lt;a href=&quot;http://www.gnu.org/software/wget/manual/&quot;&gt;here&lt;/a&gt; for the official manual, some examples &lt;a href=&quot;http://www.gnu.org/software/wget/manual/html_node/Examples.html&quot;&gt;here&lt;/a&gt;, or try looking online for &quot;wget examples&quot;. Next time I will show you something about &lt;code&gt;curl&lt;/code&gt; which is a more powerful version.</description><link>http://fromtheterminal.blogspot.com/2008/12/wget-grabbing-html-files.html</link><author>noreply@blogger.com (Tobias Davis)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6170502072620580795.post-3030529284798523839</guid><pubDate>Wed, 17 Dec 2008 01:29:00 +0000</pubDate><atom:updated>2010-04-20T22:44:03.594-05:00</atom:updated><title>What is this about?</title><description>&lt;span style=&quot;font-style: italic;&quot;&gt;Hey there, this site has moved, so comments are disabled. Thankfully, you can go to the page, carefully linked for your satisfaction. &lt;a href=&quot;http://www.tobiaslabs.com/513/what-is-this-about/&quot;&gt;Click here to go there.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What with this being my ninth blog, and something like my fifteenth web-site altogether, perhaps it deserves an explanation:&lt;br /&gt;&lt;br /&gt;I like the power of Linux, and I especially like the use of command prompts to make things happen. When I type, I use pico. When I run commands, I open a terminal. Especially since I learned perl scripting, a simple type of programming things to happen from the command-line, I have really gotten into using the command line.&lt;br /&gt;&lt;br /&gt;On the one side, I really like the terminal. On the other side, there are so many commands to remember that I decided to create this blog as a reference, so that I could just go back here if I forget something.. This could, I hope, be beneficial to you as well: You can peruse and search what I have done and see if it is useful for your situation as well. I will try to make it simple enough to follow, let me know if it needs simplification.&lt;br /&gt;&lt;br /&gt;Two things:&lt;br /&gt;1) I don&#39;t do Windows. I can&#39;t stand Windows at all. If I could never use Windows again I would be so very happy, and in fact this is my plan. NONE of these commands are for Windows! Don&#39;t use them there! Alternately, in my painful use of Windows, I have learned many things which I might share if I can recall them when appropriate.&lt;br /&gt;2) I am a full-time student in an Engineering degree (e.g., I don&#39;t have much time) and this shows up in my other under-developed blogs. You can feel free to ask me questions, and I might be able to answer them, but don&#39;t be surprised if your question gets ignored for a long time: I am probably busy.&lt;br /&gt;&lt;br /&gt;Hope this is as useful for you as it is for me!</description><link>http://fromtheterminal.blogspot.com/2008/12/what-is-this-about.html</link><author>noreply@blogger.com (Tobias Davis)</author></item></channel></rss>