The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do we create a shell? wraith Shell Programming and Scripting 3 10-04-2007 08:45 PM
create a report using shell moco Shell Programming and Scripting 10 04-12-2007 03:01 AM
create a shell script maykap100 Shell Programming and Scripting 3 08-31-2005 07:17 PM
How To create Flat Files using Unix Shell Script? Aparna_k82 Shell Programming and Scripting 4 02-10-2005 01:49 AM
How do I create desktop icons for the shell programs I create??? TRUEST UNIX Desktop for Dummies Questions & Answers 7 05-15-2002 08:40 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-20-2007
Registered User
 

Join Date: Feb 2006
Posts: 2
Stumble this Post!
How to create a unix shell

Hello,

Can somebody help me find tutorials or example for creating a basic unix shell with minimal functionalities.
I am a beginner and want to know about how really the shell works.


Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-20-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Stumble this Post!
Smile

Hi,

Can you please expand your sentences? You mean you want to write a shell or shell script.

Here About Shell:

In Unix, Shell is a command interpreter, which takes requests from user and converts them into the kernal language then kernal process the request. output goes back to shell which converts into the user understandable language.

This link would explain much about shell. Ask me if you have any doubts
http://en.wikipedia.org/wiki/Unix_shell


Regards,
Victory.
Reply With Quote
  #3 (permalink)  
Old 07-20-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,160
Stumble this Post!
Quote:
The shell program provides an interface between you and the Unix kernel program, which is the heart of the operating system. Its primary purpose is to translate command lines typed at a terminal, execute the command programs, display the results, and prompt for a new command. The system starts the shell in your home directory when you login and terminates when you log off.

In addition to being a command interpreter, the shell provides a multitasking environment, which allows you to run jobs (processes) simultaneously in the background and foreground; lets you create abbreviations, called aliases, for commands or series of commands; recalls previous commands; allows you to customize your working environment by defining shell variables (environment variables and predefined variables) that change shell characteristics; and provides a programming language to create shell programs (scripts) that perform complex or frequently used procedures.
Creating a UNIX shell would be a very time consuming task, but here's a link to a PDF document with some explanations.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0