Unix Shell (cygwin)

Tags:
admin's picture
Part I - Shell

Quote:

What is Shell?
What did they do?
Where can i find Shell?


History
http://en.wikipedia.org/wiki/Unix_shell
http://www.faqs.org/faqs/unix-faq/shell/shell-differences/
http://www.phys.ualberta.ca/~gingrich/research/shells/shells.html
http://www.softpanorama.org/People/Shell_giants/introduction.shtml
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html

Shells
bourne Shell by Stephen Bourne
thompson Shell by Ken Thompson
http://www.kornshell.com/ [korn Shell by David Korn]
http://www.gnu.org/software/bash/bash.html [bash Shell by GNU Project]
http://www.eng.hawaii.edu/Tutor/csh.html [csh Shell(C Shell) by Bill Joy]
http://www.tcsh.org/ [tcsh Shell Tenex]
http://www.zsh.org/ [z Shell by Paul Falstad]
http://www.star.le.ac.uk/~tjg/rc/ [rc Shell by Plan 9 OS]
http://www.computerhope.com/unix/ush.htm [sh Shell]
http://www.softintegration.com/ [ch Shell]
http://www.webcom.com/~haahr/es/es-usenix-winter93.html [es Shell]

Learning Shell
http://www.bolthole.com/solaris/ksh.html [korn]
http://steve-parker.org/sh/sh.shtml [bourne]
http://www.ooblick.com/text/sh/
http://www.shelldorado.com/
http://www.starlink.rl.ac.uk/star/docs/sc4.htx/sc4.html [csh]
http://www.tldp.org/LDP/abs/html/ [bash]
http://linux.org.mt/article/terminal [bash]
http://zsh.sunsite.dk/ [z]

Handy Shell Command
http://www.ss64.com/bash/index.html

Other Facts
(Korn Shell - There are also two modified versions of ksh93 which add features for manipulating the graphical user interface: dtksh which is part of CDE and tksh which provides access to the Tk widget toolkit.)

Kornshell Book signed by Nu Metal Band "Korn" Laughing







Part II - Shell Editors & its Consequence

vi
http://www.bostic.com/vi/ & its wiki http://en.wikipedia.org/wiki/Vi
http://www.vim.org/ & its wiki http://en.wikipedia.org/wiki/Gvim
learning vi
http://www.eng.hawaii.edu/Tutor/vi.html
http://thomer.com/vi/vi.html
http://purdueuniversity.edu
http://www.vmunix.com/~gabor/vi.html
http://www.computerhope.com/unix/uvi.htm
http://www.cs.rit.edu/~cslab/vi.html
http://www.cs.colostate.edu/helpdocs/vi.html

emacs
http://www.gnu.org/software/emacs/emacs.html
http://www.emacs.org/ & http://en.wikipedia.org/wiki/GNU_Emacs
http://www.xemacs.org/ & http://en.wikipedia.org/wiki/XEmacs
http://www.emacswiki.org/cgi-bin/wiki
http://en.wikipedia.org/wiki/Emacs
learning emacs
http://www.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html
http://www.cs.rutgers.edu/LCSR-Computing/some-docs/emacs-chart.html
http://lpn.rnbhq.org/tools/xemacs/emacs_ref.html

vi Vs emacs
http://danzig.jct.ac.il/unix_class/emacs-vi-Commands.html
http://en.wikipedia.org/wiki/Editor_war
http://en.wikipedia.org/wiki/Hacker_culture

well, this is my collection sites and references. pls do ask Google if you need more details.

Part III - Cygwin

Okay, I'm just native Window DOS and i'm running Win XP Pro! I wanted to do learn some Shell programming and Unix/Linux opensources. But I don't want to install Unix or Linux OS over/dual with my lovely Window XP Pro. Am i able to test your Shell you metion above from my Window?

Yes, you will. There is a software called "Cygwin" founded by Red Hat Inc under opensource. Details description can read here. Now, let's move on business. Wink

- Download the setup.exe program from http://www.cygwin.com/ to your desktop and Run it!


- Follow the wizard


- Choose "install from internet"


- Just leave as default pathing C:\cygwin


- Where to save the packages?? e.g.. i created a folder called "downloads" on desktop


- Just choose direct connection


- Select mirro for downloading the packages e.g.. mirror.kernel.org(fast for me)


- Okay start from here, it is apporaching to Unix/Linux enviroment. This is asking about "what packages do you want to install?". If you know what specific tools you needed to install then just choose it!


- Perhaps, here we are trying Shell programming, so why not choose the some editors(emac, vim) and some Shell enviroments(Z, tsch)
editor

Shell

Note:
On above two screenshots, you will notice that some packages are noted as "Keep" and some number in front. Because i've already installed those packages to my system. When you run the setup.exe in second time, you will see as mine. Those noted with "Keep" mean that the packages is already installed follow by the version number in front.

That's it! Press next and wait until the installation finished. Create shortcut or etc as you wish.

Everything went well, you will see this.


What now? Okay goto the library near you and find some books regarding Unix Shell Programming. Currently, you can test these.
-display date
Code:

$ date

-print text
Code:

$ echo i love to do Shell programming!




-and lastly go in to X by
Code:

$ xinit




-perhaps, you can try GNU nano which is good starting point for Window user and newbie like mine Laughing



phew......... Wink