<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7672421230110267323</id><updated>2011-07-30T21:15:22.985-07:00</updated><category term='Linux_geekoid_blogpost'/><category term='GOING GOING GONE'/><title type='text'>Redirect Page -- Linux_Geekoid_Blog_Also Continued To Validate Your Life Blog</title><subtitle type='html'>Redirected to http://validatelife.blogspot.com</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-7515916322784654288</id><published>2008-05-25T20:15:00.000-07:00</published><updated>2009-06-11T18:09:09.624-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GOING GOING GONE'/><title type='text'></title><content type='html'>This blog has been continued &lt;a href="http://blog.validateyourlife.com/"&gt;at a new address&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-7515916322784654288?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/7515916322784654288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=7515916322784654288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/7515916322784654288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/7515916322784654288'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2008/05/this-blog-has-been-continued-at-new.html' title=''/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-8752649486352069876</id><published>2008-01-08T05:29:00.000-08:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>Automatically Scheduled Script to Download and Backup All Your Google Notebook Pages</title><content type='html'>&lt;span style="display: block;" id="formatbar_Buttons"&gt;&lt;span class="on" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;img src="http://www.blogger.com/img/gl.link.gif" alt="Link" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;This is a tutorial to apply the learnings from &lt;a href="http://lifehacker.com/software/geek-to-live/getting-things-done-with-google-notebook-256844.php"&gt;this page&lt;/a&gt; to make a FULL OUT Automatically scheduled automator application that runs in the background every week, automatically quits terminal and saves all your downloaded notebooks in a seperate file.  You don't have to ever put time into downloading and backing up your notebook files and also never have to put time into worrying about losing them with this auto-backup system!&lt;br /&gt;&lt;br /&gt;Also needs:&lt;br /&gt;&lt;br /&gt;1.  Personally tweaked "wget_online_notebook_BU_script.term" file that is opened with terminal.&lt;br /&gt;&lt;br /&gt;2.  A set directory  for the downloaded files to go into (detailed in the  "wget_online_notebook_BU_script.term" file).&lt;br /&gt;&lt;br /&gt;3.  To export this automator  workflow as a program and then assign this automator application to an iCal weekly repeated event by going to "Add Alarm" and  selecting "Other..." adn then this automator program.&lt;br /&gt;&lt;br /&gt;4.  Make Public by "Sharing Options" under Google Notebooks.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Automator Script.&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_oIEBpWm1iT8/R4N9cz1lxpI/AAAAAAAAAAk/jE2KmpsccZI/s1600-h/Picture+2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 604px; height: 339px;" src="http://bp1.blogger.com/_oIEBpWm1iT8/R4N9cz1lxpI/AAAAAAAAAAk/jE2KmpsccZI/s320/Picture+2.png" alt="" id="BLOGGER_PHOTO_ID_5153100332546770578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is a beautifully written automator program that you attach to an iCal event with a scheduled alarm (repeating weekly) to automatically download all of your google notebooks, and back them up in your own personal folder on a local drive! Sweet!&lt;br /&gt;&lt;br /&gt;The applescript code is hand-crafted myself, and quite beautiful if I say so so myself.  It makes the downloading of your notebooks literally invisible and unintrusive to whatever work you're currrently doing because the applescript immediately hides the Terminal application and then it it quits the program automatically after a 12 second delay.  Downloading 5 notebook seperate calendars took about 5 seconds so 12 is sufficent.  If you, for some insane reason, have like 500 notebooks, you'll want to change the delay 12 to a longer delay so the program won't quit while terminal is downloading those programs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The terminal script. &lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_oIEBpWm1iT8/R4N-Uj1lxqI/AAAAAAAAAAs/3Rjf6ww3MaY/s1600-h/Picture+3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 544px; height: 326px;" src="http://bp0.blogger.com/_oIEBpWm1iT8/R4N-Uj1lxqI/AAAAAAAAAAs/3Rjf6ww3MaY/s320/Picture+3.png" alt="" id="BLOGGER_PHOTO_ID_5153101290324477602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Open a terminal window.  Save that window as... (give it a reasonable name like, "wget_online_notebook_BU_script.term".  Then open that file with a text editor.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The highlighted text (note it's location . VERY IMPORTANT. Is)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;key&gt;ExecutionString&lt;/key&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;string&gt;HERE.  Insert Your wget Commands Here&lt;/string&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;is all you need to change.&lt;br /&gt;&lt;br /&gt;The format is&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;wget  -k -p -erobots=off -np -N -nd -O "Path to where you want the notebooks downloaded"/"Notebook1.html" "INSERT URL of Public Notebook web page"; NEXT WGET Note book;&lt;/span&gt;&lt;/blockquote&gt;I learn by example, so  I thought all the example screenshots would be helpful.&lt;br /&gt;&lt;br /&gt;Sites, Tutorials, and Web Aids I found invaluable in making this awesome automator:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://homepage.mac.com/jkevinwolfe/otto/page3/page4/page4.html"&gt;Applescripts&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://lifehacker.com/software/top/geek-to-live--mastering-wget-161202.php"&gt;Master WGET &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://lifehacker.com/software/geek-to-live/getting-things-done-with-google-notebook-256844.php"&gt;Basically a  tutorial to make the Terminal file (but without iCal and Automator features that this tutorial has.  &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-8752649486352069876?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/8752649486352069876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=8752649486352069876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/8752649486352069876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/8752649486352069876'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2008/01/automatically-scheduled-script-to.html' title='Automatically Scheduled Script to Download and Backup All Your Google Notebook Pages'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_oIEBpWm1iT8/R4N9cz1lxpI/AAAAAAAAAAk/jE2KmpsccZI/s72-c/Picture+2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-4758144721668252722</id><published>2007-10-10T17:51:00.000-07:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>Parralax, Retrograde, all that Visual Brew-Ha-Ha</title><content type='html'>Parralax -- okaya parralax is the "apparent" (But not actual) movement of an object visually because of the REAL movement of the observer. Most common is the STellar parralax where a very distant (millions of miles) star appears to move, but realy it's the earth orbitting annually revolving around the sun that creates the impression of the star moving, a parallax. A large parralax angle means the star is closer. the farther away a star is (or an object is )from the observer, then the smaller the parralax angle (The smaller amount of shifter that occurs on the visual spectrum. A sundial is a perfect eample of a natural parralx (the dial moves (attached to the earth taht moves) creating hte impression that hte shadow moves. &lt;span style="font-weight: bold;"&gt;Just bottom-line, the observer (earth, or dial, or whatever) moves creating the impression that a distant objects moves. The closer the object, the larger the parallax angle.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Another well known parallax is the mercury retrograde. Note: this is mercury's apparent (not real) retrograde, that said, all apparent retrograde is really just a parallax effect. Mercury or Mars does not actually move backwards in the orbit. The earth just loops back around the sun so the vision the sun casts (From the earth) makes it look like it flips back the other way, In short, whenever the earth gets horizontal with a planet(it hten goes diagonal, given different rates of revoltion), the the parralax fliparound retrograde effect occurs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-4758144721668252722?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/4758144721668252722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=4758144721668252722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/4758144721668252722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/4758144721668252722'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2007/10/parralax-retrograde-all-that-visual.html' title='Parralax, Retrograde, all that Visual Brew-Ha-Ha'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-6663616237722624046</id><published>2007-08-18T02:36:00.001-07:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>The References of the "Picard Song"</title><content type='html'>This blog - -devoted to linux and all things geekiness -- wouldn't do very well without a Star Trek post.  So this is the mother of all star trek posts!&lt;br /&gt;&lt;br /&gt;It's the episode origins of every line (all 10 of them) from the "&lt;a href="http://www.youtube.com/watch?v=x7tqnQKoexM"&gt;Picard Song&lt;/a&gt;"! Yeah! I also, have seen all the 8 distinct episodes mentioned in the song! Uber-geekiness.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;  "Make it so”=&lt;span style="font-weight: bold;"&gt;About every episode&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"Engage”=&lt;span style="font-weight: bold;"&gt;About every episode&lt;/span&gt;&lt;/li&gt;&lt;li&gt;“Here's to the finest crew in  Starfleet.”=&lt;span style="font-weight: bold;"&gt;3.18Allegiance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"Darmok and Jelad at Tenagra”=&lt;span style="font-weight: bold;"&gt;5.02Darmok&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"The first duty of every Starfleet officer is to the truth! Scientific truth, or historical truth, or personal truth! It is the guiding principle on which Starfleet is based.  And if you can’t find it within yourself to stand up ‘n’ tell the truth…You don’t deserve. To wear. That. Uniform.”=&lt;span style="font-weight: bold;"&gt;5.19TheFirstDury (wesley crash)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;“Sorry, that became a speech.  You're the captain, sir. You're entitled. I am not entitled to bore you with what you already know. Carry on!”=&lt;span style="font-weight: bold;"&gt;1.04Codeofhonor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"Hey just talking in one incredibly long unbroken sentence.  It was really quite hypnotic.”=&lt;span style="font-weight: bold;"&gt;6.25Timescape&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"You’ll have to call again! I’m just leaving. I’m uh… not dressed properly.”=&lt;span style="font-weight: bold;"&gt;1.12Biggoodbye&lt;/span&gt;&lt;/li&gt;&lt;li&gt;"My love is a fever, longing ‘till for that which Longer nurs  the disease. Tell me more! In faith! I do not love thee! With mine eyesThey in thee A thousand errors see! But ‘tis my heart That loves, what they despise Who, in despite of view, are pleased! To dote, Shall I compare thee, to a summer’s day?!”=&lt;span style="font-weight: bold;"&gt;3.24Menageatroi&lt;/span&gt;_multipleshakespearean references; stewart was once a member of the royal shakespeare co.!&lt;/li&gt;&lt;li&gt;"I am locutus of Borg, I am borg...”=&lt;span style="font-weight: bold;"&gt;3.26Bestofbothworlds1&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-6663616237722624046?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/6663616237722624046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=6663616237722624046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/6663616237722624046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/6663616237722624046'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2007/08/roots-of-picard-song.html' title='The References of the &quot;Picard Song&quot;'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-6131250849442164578</id><published>2007-08-17T01:10:00.002-07:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>Fundamentals rm,cp,mv to Advanced</title><content type='html'>In order to manipulate the cool (mdesg, modprobe, cat /etc/fstab) commands you must have the basic, most fundamental (the "boring":) file manipulation commands down pat.  You use all the boring commands to manipulate files and dirs with the more advanced "cool" commands, so I've taken the time to lay some fundamental understanding of essential shell commands.  This may seem slow, boring, and obvious, but I can't tell you how encouraging it is to be tweaking some advanced system root file and then feel "at home" with some essential commands.  For example, you could be tweak  /etc/fstab and be fiddling with obscure device ids you know nothing about and then then suddenly realize, "Hey, I can just COPY the file" and then whip out the reliable, trusty old cp command. You'll never learn the new exciting stuff untill you feel "at home" with atleast a few of the most fundamental commands.&lt;br /&gt;&lt;br /&gt;These commands in GNU/Linux/Ubuntu (as well as most all other unix-like OS) offer a tremendously refreshing degree of simplicity in regards to working with files in the shell (with the case of Ubuntu, the awesome BASH shell). In other shells (like DOS) or guis you typically need the following fundamental commands to manipulate the essentials of files:&lt;br /&gt;&lt;br /&gt;copy files&lt;br /&gt;move files&lt;br /&gt;rename files&lt;br /&gt;delete files&lt;br /&gt;delete directories&lt;br /&gt;&lt;br /&gt;BASH (and Ubuntu), therefore, can do all the above with only the following commands&lt;br /&gt;&lt;br /&gt;cp -- copy files&lt;br /&gt;mv -- move files, rename files&lt;br /&gt;rm -- delete files, delete directories&lt;br /&gt;&lt;br /&gt;See the simplicity! Half the number of commands, same amount of accessible operations!&lt;br /&gt;&lt;br /&gt;Specifically, here are the ways to manipulate files with the above three commands&lt;br /&gt;&lt;br /&gt;copy files --   cp &lt;path filename=""&gt; &lt;newpath&gt;               // results = 2+ filename // -r copies entire directory and sub-dir contents&lt;br /&gt;move files --   mv &lt;path filename=""&gt;  &lt;newpath&gt;             // results = 1+ filename // -r moves entire directory and sub-dir contents&lt;br /&gt;rename files -- mv &lt;path filename=""&gt; &lt;newpath newfilename=""&gt; // results = 2+ files //&lt;br /&gt;delete files -- rm &lt;path filename=""&gt;                      // result = 0 filename // -f delete without confirmation&lt;br /&gt;delete dirs --  rm -r &lt;path directoryname=""&gt;             //results 0 directoryname // -f delete without confirmation&lt;br /&gt;&lt;br /&gt;So, know understanding and have practiced with (ahem) these three commands (cp, mv, and rm) and their 5 specific implementations (copy, move, rename, delete files, delete dirs) you can build from this fundamental understanding to comprehend more advanced shell commands.&lt;br /&gt;&lt;br /&gt;The theory here is the same "method" you used to understand these (boring) fundamental commands will be the same method to learn the more advanced fun commands.  So the purpose with these three commands is not so much to learn the commands (although you must do that), but rather to acquaint yourself with how you learn new commands, so that adapting to and picking up more advanced commands will seem familiar!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mounting File Systems Recipe&lt;br /&gt;Ingredients for Mounting File Systems&lt;br /&gt;vol_id -u /dev/devicename&lt;br /&gt;gedit /etc/fstab&lt;br /&gt;mount&lt;br /&gt;umount&lt;br /&gt;sudo mkdir /media/mountpointname&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sound Tweaking Systems Recipe&lt;br /&gt;Ingredients&lt;br /&gt;lspci -v&lt;br /&gt;aplay -l&lt;br /&gt;alsamixer&lt;br /&gt;sudo gedit etc/modprobe.d/alsa-base&lt;br /&gt;cat /proc/asound/card0/codec\#* -- codec informaiton and address&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My info:&lt;br /&gt;Codec: SigmaTel STAC9200&lt;br /&gt;&lt;br /&gt;Default system beek Works. Only with&lt;br /&gt;these parameteres&lt;br /&gt;&lt;br /&gt;Panel Sound says "No Volume control Gstreamer plugins found"&lt;br /&gt;&lt;br /&gt;alsamixer, aplay do not work&lt;br /&gt;&lt;br /&gt;Sound control panel&lt;br /&gt;playback: STAC92xx Analog (not connected)&lt;br /&gt;playback music:STAC92xx (Not Connectioned)&lt;br /&gt;audio confere playback: Autodetect&lt;br /&gt;audi Capture: ALSA&lt;br /&gt;Device: No options&lt;br /&gt;No options&lt;br /&gt;&lt;br /&gt;&lt;/path&gt;&lt;/path&gt;&lt;/newpath&gt;&lt;/path&gt;&lt;/newpath&gt;&lt;/path&gt;&lt;/newpath&gt;&lt;/path&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-6131250849442164578?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/6131250849442164578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=6131250849442164578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/6131250849442164578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/6131250849442164578'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2007/08/fundamentals-rmcpmv-to-advanced.html' title='Fundamentals rm,cp,mv to Advanced'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-1194869415340830183</id><published>2007-08-07T02:12:00.000-07:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>Linux Beginning Notes Compilation</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;In learning more about the linux kernal, platform, and OS, I had countless “key clarification” that, frankly, turned on the “light bulb” and really helped me understand what the hell is going on the linux world.&lt;span style=""&gt;  &lt;/span&gt;This includes some of those essentials and a few not-so-essential-but-very-cool findings, as well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;Linux Installing File Formats (most to least complicated to install)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;1. Source code (needs compiling and file placement, no wizard)&lt;br /&gt;2. Binary (needs file placement, no wizard)&lt;br /&gt;3. Package (. deb, .rpm automatically installs pre-compiled files into necessary folders, no wizard)&lt;br /&gt;4. SE binary (automatically installs pre-compiled files into necessary folders, wizard)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Software Installation Dependency&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Windows and macs provide huge clunky install files that already have all the system software code already installed in it.&lt;span style=""&gt;  &lt;/span&gt;Linux files don't come with dependcy files, so to uninstall or install a program, you may need to respectively install or install dependency files.&lt;span style=""&gt;  &lt;/span&gt;Yo u experiene dependency hell, when a package needs dependency files, which, themselves, need depency files!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Mounting Files -- Basics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Linux is so cool because you can add any harddrive and make it “normal architecture” that automatically mounts by adding to the /etc/fstab file, creating a directory for it under /media/ folder.&lt;span style=""&gt;  &lt;/span&gt;Note: remarkable how like this is with Big Brother updates.&lt;span style=""&gt;  &lt;/span&gt;Everything must be updated and cross-referenced if a “BB surplus reference was changed for example”.&lt;span style=""&gt;  &lt;/span&gt;To add a constant external drive you have to change /etc/fstab, /media/ references to it! Then it shows up in Places.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Also, realized that me criticizing with evidence why some advice is wrong is very similar to showing command line errors in terminal!&lt;span style=""&gt;  &lt;/span&gt;It's not insulting; quite informative and helpful!&lt;span style=""&gt;  &lt;/span&gt;A person who looks at it as insults shouldn't really be using it!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Linux OS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Linux just refers to the kernel; the sensitive part of the OS that does everything.&lt;span style=""&gt;  &lt;/span&gt;GNU provides the shell, the libraries, and the components that all a user to use the linux kernel.&lt;span style=""&gt;  &lt;/span&gt;The shell prevents bad commands from destroying the kernel, so the shell is a necessary buffer.&lt;span style=""&gt;  &lt;/span&gt;GNOME is a GUI shell, but typically the terminal is what is referred to as “shell”.&lt;span style=""&gt;  &lt;/span&gt;GNU/Linux then is the whole OS – shell, libraries, AND kernel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Shell Commands&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Whenever you type a command in the shell, it is really running just a small little program (ls, cd, totem – all programs).&lt;span style=""&gt;  &lt;/span&gt;The terminal knows where to find these programs by looking in specific folders.&lt;span style=""&gt;  &lt;/span&gt;echo $PATH lists these folders.&lt;span style=""&gt;  &lt;/span&gt;For me, they're /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games , seperated by a colon.&lt;span style=""&gt;  &lt;/span&gt;If the program is found in one of those folders just typing the command will launch it, otherwise you'll have to type the direct location of the command (or add it's folder to the PATH) or if the program is in the current folder, just precede it with “./” (./ means execute it right here).&lt;span style=""&gt;  &lt;/span&gt;So way's to run programs:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 9pt; font-family: Wingdings;"&gt;&lt;span style=""&gt;l&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=""&gt;./ -- if program is in current folder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 9pt; font-family: Wingdings;"&gt;&lt;span style=""&gt;l&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=""&gt;“program name” if program is in PATH variable &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 9pt; font-family: Wingdings;"&gt;&lt;span style=""&gt;l&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=""&gt;“location/of/program” -- exact location of program name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Extensibility Flexibility&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Linux epitomizes life because you can change and do ANYTHING to the OS – if you want a folder to pop out a certain way, a menu to be added to a menu, anything, you can change it in linux!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;System Variables&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;These tell, among other things, where commands are located for them to be executed from the command-line prompt.&lt;span style=""&gt;  &lt;/span&gt;You can see the code for system variables with the “set” command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Aliases&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;AWESOME trick.&lt;span style=""&gt;  &lt;/span&gt;To permanently create an alias (another shortcut for a command or sequence of commands) just append to the end of the .bashrc file (the resource file for all bash shell work terminals) the following line&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;alias &lt;new&gt;='linux command'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;so for example to create a shortcut for sudo apt-get install, an enormously painful experience to keep typing, just add this line of code to your .bashrc file:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;alias sagi='sudo apt-get install'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Awesome! (Note: you must not have any spaces between the “=” sign (That threw me off at first).&lt;span style=""&gt;  &lt;/span&gt;Just restart the terminal window or reboot and tot download a program just type:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;sago program_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1pt; padding: 0in 0in 2pt;"&gt;  &lt;p class="MsoNormal" style="border: medium none ; padding: 0in;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;List Command – ls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Okay ls is pretty straight-forward and basic.&lt;span style=""&gt;  &lt;/span&gt;The fun stuff happens with options.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-h – (combined with -l) produces human-readable formats, meaning instead of byte sizes, kilobyte and megabyte sizes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-l (long format, including permissions and author and modified.&lt;span style=""&gt;  &lt;/span&gt;tons of information&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-a (all files, even invisible with “.” before the name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Copy and Move Commands –cp mv&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Okay Copy, cp is again basic. It adds a new file or directory to the new path name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;cp file1 /home/kooz/file2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;if you cp the same file in the same folder to that folder, you can rename it, which duplicates the file.&lt;span style=""&gt;  &lt;/span&gt;The only special command is to copy a directory, you need the -r option.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;mv.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Move is&lt;span style=""&gt;  &lt;/span&gt;a little more interest because it is basically renaming the absolute path of a file or directory.&lt;span style=""&gt;  &lt;/span&gt;Unlike windows or other OS, where a file is deleted and recreated, the file stays the same, but it's absolute path changes.&lt;span style=""&gt;  &lt;/span&gt;To rename 'myfolder' to 'thefolder' do this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;mv myfolder thefolder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To move myfolder into the folder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;mv myfolder/ thefolder/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Move, unlike rm or cp, you don't need the -r flag to work with directories.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Remove – rm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The other basic task.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Unlike recycle bin, it's gone baby with rm. Salvaging deleted (rm-ed) files requires special software&lt;span style=""&gt;  &lt;/span&gt;and is not easy; best to avoid this)&lt;span style=""&gt;  &lt;/span&gt;Some nifty flags:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-f – delete it without y/n question verification.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-r – deletes an entire folder (and all its contents) – requried to delete a folder.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;to delete all files in a directory (but keep the directory) this is a nifty trick.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;rm -f * (wildcard for everything!)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;WildCards and Spaces&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.25in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 9pt; font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=""&gt;everything after that&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;?&lt;span style=""&gt;  &lt;/span&gt;that specific characteristics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;“ “ -- exactly as is, can include spaces.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;\&lt;span style=""&gt;  &lt;/span&gt;-- escape character. so you can type spaces when that precedes the space .&lt;span style=""&gt;  &lt;/span&gt;For example consider the file my file that you want to delete.&lt;span style=""&gt;  &lt;/span&gt;A lot of choices when working with those funky file names, but ti's best just to name_files_like_this_with_the_underscore so you don't have to go into that crazy *?*\ !&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You can delete it using the four methods above:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;rm my*file or rm my* (assuming nothing else begins with my that you don't want to delete!)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;rm my?file &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;rm “my file”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;rm my\ file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Make Directory – mkdir&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Very obvious and basic but one nifty “thinking ahead task”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;-p – makes a new folder within a new folder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;So if you're in an empty folder and type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;mkdir myfolder/stuff/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;you'll get an error sayin “myfolder” doesn't exist, but with:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;mkdir -p myfolder/stuff/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;then you'll create those two folders, “myfolder”, and “stuff”, within “myfolder”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1pt; padding: 0in 0in 2pt;"&gt;  &lt;p class="MsoNormal" style="border: medium none ; padding: 0in;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;Links&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;There are two types of links, symbolic and hard.&lt;span style=""&gt;  &lt;/span&gt;Symbolic links are created with&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;ln -s oldfile linktooldfile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;Under ls -l it then points to the old file:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;linktooldfile -&gt; oldfile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;note you have to throw in the -s (or –symbolic) option, or else it will automatically create hard links.&lt;span style=""&gt;  &lt;/span&gt;Linux is so short and nifty with the options, instead of typing out –symbolic, just type -s!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;Hard links actual change the file pointer and the only difference is that it will up the number before the owner under the file information&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;Mounting files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;When you mount a drive, a symbolic link is created drawing from the /dev folder and the the /etc/fstab (file system table) file when the mount.&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;mount /media/cdrom &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;will look up the cdrom drlive in fstab and compare it to /dev based on a uuid number,to then mount it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;Manual Mount&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;Step 1: create a mount point (just a directory in /media/, although the mount point could be anywhere, it's best to stay organized and ue the /media directory) to mount the external drive to.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;Step 2: check the partition type with&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;sudo fdisk -l /dev/hdb (warning: fdisk formats hard drives! be careful with it!)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;step 3: now mount the disk (this is temporary mount and /newdisk will show up in the /mnt/ directory):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;sudo mount -t nfts -o umask=0222 /dev/hdb1 /media/newdisk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;Okay -t refers to type (ntfs, fat32 (vfat), ext3, etc.) then -o tells it you're doing more options, then /dev/hdb1 is the virtual device location and /media/newdisk is the mount point.&lt;span style=""&gt;  &lt;/span&gt;After that command, the file should end up in /mnt/newdisk.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;To unmount the drive, just type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;umount /media/newdisk&lt;span style=""&gt;  &lt;/span&gt;(also you could specify it's location in /dev/, but that's tricky and more complicated).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;So in conclusion, mounting gets information from /etc/fstab, has a mount point in /media/, shows up after mounted in /mnt/, and accesses /dev wit uuid numbers to mount it = 4 seperate directories!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;File Sizes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;ls -h lists file sizes in kilobytes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;ls -S lists file sizes with largest to smallest&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;ls -Shl shows all that information.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;disk usage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;du shows the directory size&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;du -h directory size in kilobytes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;du -sh total directory size in kilobytes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;(note du and find and the like are limited by permissions, so use sudo before it).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u&gt;&lt;span style="font-size: 10pt;"&gt;disk free space&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;df -h lists free disk space in kilobytes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;df shows ALL total mounted file systems! External, var, etc. to see your root, just look under the "mounted on" column.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-1194869415340830183?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/1194869415340830183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=1194869415340830183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/1194869415340830183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/1194869415340830183'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2007/08/linux-beginning-notes-compilation.html' title='Linux Beginning Notes Compilation'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7672421230110267323.post-3033862681230689590</id><published>2007-07-27T07:55:00.000-07:00</published><updated>2009-06-11T19:38:18.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux_geekoid_blogpost'/><title type='text'>An Introductory Assemblage of Linux Tidbits</title><content type='html'>In learning more about the linux kernal, platform, and OS, I had countless “key clarification” that, frankly, turned on the “light bulb” and really helped me understand what the hell is going on the linux world.  This includes some of those essentials and a few not-so-essential-but-very-cool findings, as well.&lt;br /&gt;&lt;br /&gt;&lt;u&gt; Linux Installing File Formats (most to least complicated to install)&lt;/u&gt;&lt;br /&gt;1. Source code (needs compiling and file placement, no wizard)&lt;br /&gt;2. Binary (needs file placement, no wizard)&lt;br /&gt;3. Package (. deb, .rpm automatically installs pre-compiled files into necessary folders, no wizard)&lt;br /&gt;4. SE binary (automatically installs pre-compiled files into necessary folders, wizard)&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Software Installation Dependency&lt;/u&gt;&lt;br /&gt;Windows and macs provide huge clunky install files that already have all the system software code already installed in it.  Linux files don't come with dependcy files, so to uninstall or install a program, you may need to respectively install or install dependency files.  Yo u experiene dependency hell, when a package needs dependency files, which, themselves, need depency files!&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Mounting Files -- Basics&lt;/u&gt;&lt;br /&gt;Linux is so cool because you can add any harddrive and make it “normal architecture” that automatically mounts by adding to the /etc/fstab file, creating a directory for it under /media/ folder.  Note: remarkable how like this is with Big Brother updates.  Everything must be updated and cross-referenced if a “BB surplus reference was changed for example”.  To add a constant external drive you have to change /etc/fstab, /media/ references to it! Then it shows up in Places.&lt;br /&gt;Also, realized that me criticizing with evidence why some advice is wrong is very similar to showing command line errors in terminal!  It's not insulting; quite informative and helpful!  A person who looks at it as insults shouldn't really be using it!&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Linux OS&lt;/u&gt;&lt;br /&gt;Linux just refers to the kernel; the sensitive part of the OS that does everything.  GNU provides the shell, the libraries, and the components that all a user to use the linux kernel.  The shell prevents bad commands from destroying the kernel, so the shell is a necessary buffer.  GNOME is a GUI shell, but typically the terminal is what is referred to as “shell”.  GNU/Linux then is the whole OS – shell, libraries, AND kernel.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Shell Commands&lt;/u&gt;&lt;br /&gt;Whenever you type a command in the shell, it is really running just a small little program (ls, cd, totem – all programs).  The terminal knows where to find these programs by looking in specific folders.  echo $PATH lists these folders.  For me, they're /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games , seperated by a colon.  If the program is found in one of those folders just typing the command will launch it, otherwise you'll have to type the direct location of the command (or add it's folder to the PATH) or if the program is in the current folder, just precede it with “./” (./ means execute it right here).  So way's to run programs:&lt;br /&gt;./ -- if program is in current folder&lt;br /&gt;“program name” if program is in PATH variable&lt;br /&gt;“location/of/program” -- exact location of program name.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Extensibility Flexibility&lt;/u&gt;&lt;br /&gt;Linux epitomizes life because you can change and do ANYTHING to the OS – if you want a folder to pop out a certain way, a menu to be added to a menu, anything, you can change it in linux!&lt;br /&gt;&lt;br /&gt;&lt;u&gt;System Variables&lt;/u&gt;&lt;br /&gt;These tell, among other things, where commands are located for them to be executed from the command-line prompt.  You can see the code for system variables with the “set” command.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Aliases&lt;/u&gt;&lt;br /&gt;AWESOME trick.  To permanently create an alias (another shortcut for a command or sequence of commands) just append to the end of the .bashrc file (the resource file for all bash shell work terminals) the following line&lt;br /&gt;alias &lt;new command=""&gt;='linux command'&lt;br /&gt;so for example to create a shortcut for sudo apt-get install, an enormously painful experience to keep typing, just add this line of code to your .bashrc file:&lt;br /&gt;alias sagi='sudo apt-get install'&lt;br /&gt;&lt;br /&gt;Awesome! (Note: you must not have any spaces between the “=” sign (That threw me off at first).  Just restart the terminal window or reboot and tot download a program just type:&lt;br /&gt;sagi program_name&lt;/new&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7672421230110267323-3033862681230689590?l=linuxgeekoid.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgeekoid.blogspot.com/feeds/3033862681230689590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7672421230110267323&amp;postID=3033862681230689590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/3033862681230689590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7672421230110267323/posts/default/3033862681230689590'/><link rel='alternate' type='text/html' href='http://linuxgeekoid.blogspot.com/2007/07/introductory-assemblage-of-linux.html' title='An Introductory Assemblage of Linux Tidbits'/><author><name>John Thomas "Kooz" Kuczmarski</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_oIEBpWm1iT8/Se7xTIka0II/AAAAAAAAAH4/mxJckKLTpXA/S220/john_kooz2.jpg'/></author><thr:total>0</thr:total></entry></feed>
