Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking Tips (http://www.go4expert.com/articles/ethical-hacking-tutorials/)
-   -   Linux Shells (http://www.go4expert.com/articles/linux-shells-t14437/)

SpOonWiZaRd 8Oct2008 14:31

Linux Shells
 
What is linux and why should we use it?

Linux is a fast growing operating system, and it is inexpensive and flexible. Linux is also a major player in the small and mid-sized server field, and itís an increasingly viable platform for workstation and desktop use as well. By understanding Linux, youíll increase your standing in the job market...

Linux is a clone of the UNIX operating system (OS) that has been popular in academia and many business environments for years. Formerly used exclusively on large mainframes, UNIX and Linux can now run on small computers. Because of its mainframe heritage, UNIX (and hence also Linux) scales well to perform todayís demanding scientific, engineering, and network server tasks.
Linux consists of a Kernel, which is the core control software, and many libraries and utilities that rely on the Kernel to provide features with which user interact. The OS is available in many different distributions, which are collections of a specific Kernel with specific support programs.

Command-Line Basics.

Before you can do anything else with Linux, you should understand how to use a Linux shell. Several shells are available, but most of them provide similar capabilities. Understanding a few basics will take you a long way in your use of Linux, so I describe some of these techniques and commands.

Linux Shell Options:

Linux provides a range of options for shells. A complete list would be quite long so I only named the more common choices which include the following:

bash Ė The GNU Bourne Again Shell (bash) is based on the earlier Bourne shell for UNIX but extends it in several ways. In Linux bash is the most common default shell for user accounts.

bsh Ė The Bourne shell upon which bash is based also goes by the name bsh. Itís not often used in Linux, although the bsh command is usually a symbolic link to bash.

tcsh Ė This shell is based on the earlier C shell (csh). Itís a fairly popular shell in some circles, but no major Linux distributions make it the default shell. It is similar to bash in many respects, some operational details differ. For instance, you donít assign environment variables in the same way in tcsh as in bash.

csh Ė The original C shell isnít much used on Linux, but if a user is familiar with csh, tcsh makes a good substitute.

ksh Ė The Korn shell (ksh) was designed to take the best features of bash and csh and extend them further. Its got a small but dedicated following among Linux users.

zsh Ė The Z shell (zsh) takes shell evolution further than the Korn shell, incorporating features from earlier shells and adding still more.

In addition to these shells, dozens more are available. Most users run bash because itís the default. You can always see the shell commands by typing help.
This was just a introduction to Linux shells, hope you understand the differences better now for those of you who never knew what a shell is.

NDL 4Dec2008 16:22

Re: Linux Shells
 
Nice one :d


All times are GMT +5.5. The time now is 03:50.