Unix: Difference between revisions

From bradwiki
Jump to navigation Jump to search
(Created page with "After several moments of deliberation, I chose to create the page '''''Unix''''' as a starting point for this beginners guide to programming. More specifically, this project w...")
 
No edit summary
Line 1: Line 1:
After several moments of deliberation, I chose to create the page '''''Unix''''' as a starting point for this beginners guide to programming. More specifically, this project will start as a beginners autobiography on Ruby programming using Apple OSX 7 (Lion). You might be wondering if it's a good idea to follow a beginners guide written by a beginner. The answer is probably ''no''. But, then again, how useful have you found the ''beginners guides'' written by expert programmers? Rest assured, steps will not be overlooked do to over-estimation of the prior knowledge of the beginner... Me.  
After several moments of deliberation, I chose to create the page '''''Unix''''' as a starting point for this beginners guide to programming. More specifically, this project will start as a beginners autobiography on Ruby programming using Apple OSX 7 (Lion). You might be wondering if it's a good idea to follow a beginners guide written by a beginner. The answer is probably ''no''. But, then again, how useful have you found the ''beginners guides'' written by expert programmers? Rest assured, steps will not be overlooked do to over-estimation of the prior knowledge of the beginner... Me.  


 
----
=== The Overall Goal ===
* Learn the proper way to install various programming languages on the Unix back-end of Mac OSX Lion
* Learn the proper way to install various programming languages on the Unix back-end of Mac OSX Lion
** Specifically on an Apple [http://everymac.com/systems/apple/macbook_pro/stats/macbook-pro-core-i7-2.4-15-late-2011-unibody-thunderbolt-specs.html Macbook Pro] running Lion 10.7x
** Specifically on an Apple [http://everymac.com/systems/apple/macbook_pro/stats/macbook-pro-core-i7-2.4-15-late-2011-unibody-thunderbolt-specs.html Macbook Pro] running Lion 10.7x
* Do something useful with Ruby or Python like scrape the content of a website
* Auto-format the scraped content and write a script that loads it into Rstudio
* Use the R programming language to do some statistical analysis on the web data
----
=== Unix Tidbits ===
* Once upon a time Bell Labs (the phone company) released UNIX to universities including Berkeley and MIT
* Berkeley grad students (like Bill) improved the original UNIX system and released versions called BSD (Berkeley Software Distribution) UNIX. Sun (SunOS or Solaris), HP, IBM, Bell SysIV, Novell and others continued to tinker with BSD.
* MIT gurus (e.g. Rich Stallman) made a GNU (''G''nu's Not Unix) version of UNIX, which is freely available. Free, meaning you can improve it and sell it, but the source code of whatever you sell is to be free to modify, sell, or give away (in turn, that product is also GNU).
* A shell is a unix program that takes commands at the terminal
* There are 2 main shell origins, one by a guy named Bourne and another by Bill. Bourne made the Bourne shell (resulting in <big><code>ksh</code></big> or <big><code>bash</code></big>) and Bill made the C shell (<big><code>csh</code></big>)
**Bourne shell prompts use a <big><code>$</code></big>
**C shell prompts use a <big><code>%</code></big>

Revision as of 19:16, 26 March 2012

After several moments of deliberation, I chose to create the page Unix as a starting point for this beginners guide to programming. More specifically, this project will start as a beginners autobiography on Ruby programming using Apple OSX 7 (Lion). You might be wondering if it's a good idea to follow a beginners guide written by a beginner. The answer is probably no. But, then again, how useful have you found the beginners guides written by expert programmers? Rest assured, steps will not be overlooked do to over-estimation of the prior knowledge of the beginner... Me.


The Overall Goal

  • Learn the proper way to install various programming languages on the Unix back-end of Mac OSX Lion
    • Specifically on an Apple Macbook Pro running Lion 10.7x
  • Do something useful with Ruby or Python like scrape the content of a website
  • Auto-format the scraped content and write a script that loads it into Rstudio
  • Use the R programming language to do some statistical analysis on the web data

Unix Tidbits

  • Once upon a time Bell Labs (the phone company) released UNIX to universities including Berkeley and MIT
  • Berkeley grad students (like Bill) improved the original UNIX system and released versions called BSD (Berkeley Software Distribution) UNIX. Sun (SunOS or Solaris), HP, IBM, Bell SysIV, Novell and others continued to tinker with BSD.
  • MIT gurus (e.g. Rich Stallman) made a GNU (Gnu's Not Unix) version of UNIX, which is freely available. Free, meaning you can improve it and sell it, but the source code of whatever you sell is to be free to modify, sell, or give away (in turn, that product is also GNU).
  • A shell is a unix program that takes commands at the terminal
  • There are 2 main shell origins, one by a guy named Bourne and another by Bill. Bourne made the Bourne shell (resulting in ksh or bash) and Bill made the C shell (csh)
    • Bourne shell prompts use a $
    • C shell prompts use a %