Click to Play

Digittronics Exhibits Cool RCX4
If you're a fan of flying helicopters, or Star Wars for that matter, you are going to love the RCX4 Star Stryker from Digittronics. WebProNews caught up with Patrick Le...

Recent Articles

Operating Systems Of The Future Will Be...
While Microsoft continues to dominate the operating system market, Google has a high heel with the search engine. There have been several notes where Microsoft and Google are not being mentioned in the...

How To Determine Your Free Disk Space
Dave, I know how to check for free disk space on Windows XP, but how do I check for the amount of free disk space available on a machine...

Is Linux Ready For The Average User?
Most people ask if Linux is ready to compete with Windows. To me, that is not the correct question to ask. This implies that Linux is trying to go after the average user. The problem with the generic term...

Linux's Netbook Market Share Pegged At 32 Percent
Maybe Windows isn't quite the behemoth most people believe it to be. New data from ABI Research indicates that Linux is doing quite well in a certain...


02.10.10



Using The Shell To Communicate With Linux

By Ritesh Reddy

Almost everyone who switches on a computer today expects to see a tiny button at the bottom left of the screen that says ‘Start'. Apologies to Mac users and Linux aficionados of the Gnome and KDE camps, but the truth remains that majority of computer users are still Windows users. Let's get back to the basics and get shell shocked!

A shell is an interface for the user to communicate with the machine. Wikipedia says the name shell originates from shells being an outer layer of interface between the user and the innards of the operating system (the kernel). Let's explore some CLI OS shells. Linux offers many choices for shells.

Discounting the fact that there are as many if not more flavors of Linux, here's a short list:

bash: The GNU Bourne Again Shell (bash) is based on the earlier Bourne shell for Unix. It is the default shell for user accounts in Linux as well as on Mac OS X.

bsh: The Bourne shell upon which bash is based also goes by the name bsh. Not often used in Linux, the bsh command is usually symbolically linked to bash.

csh: The original C shell is rarely used on Linux, however for most csh users, Linux offers a fine substitute in tcsh.

tcsh: The earlier C shell (csh) serves as the basis for this shell. Not a default shell for most distros out there, it is operationally different from bash especially while assigning environment variables.

ksh: Now take the best of the Bourne shell and the C shell and take it a step further and voila! you have the Korn shell (ksh) which has its own dedicated fan base amongst Linux users.

zsh: The Z shell (zsh) like the alphabet signifies, evolves further incorporating features from older  shells and developing from there.


In Linux, bash is default. Other OSs use csh or tcsh as the default, so use your keyboard for more than just chatting and filling online forms and explore. Shells need not be limited to OS interface as I have just explained but also for programming languages. There are shells for Java, Perl, PHP or even Ruby. Also I would be limiting the definition of a shell if I said it's all about the command line.

GUI shells abound for Windows as well as the X Window System. Even Windows Recovery Console is a shell, albeit a CLI. Want to have fun with shells ASAP? Fire up your browser and go to goosh.org to test-drive Google Shell or goosh, an open source browser based command line shell that is actually a front end for Google search. Imagine typing out commands, keywords and search strings to search. Shell shocked?

Originally published at Brajeshwar.com


About the Author:
He is a dilettante who enjoys writing, ranting and ruminating about all and sundry. His natural habitat is in front of a screen that has him spell bound. He runs amok amongst various social networks and escapes from it all by scouring the beach for signs of life.
About LinuxDeveloperNews
Get the lastest information on current changes in the Linux Development World.





LinuxDeveloperNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxDeveloperNews.com WirelessProNews.com
CProgrammingTrends.com DevWebPro.com





-- LinuxDeveloperNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
© 2010 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article



LinuxDeveloperNews News Archives About Us Feedback LinuxDeveloperNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact