How to create a unix shell


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to create a unix shell
# 1  
Old 07-20-2007
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.
# 2  
Old 07-20-2007
Bug

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.
# 3  
Old 07-20-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to Use a UNIX Shell Script to Create an HTML Web Page?

dear friends , in my work i have to monitor some system performance in hourly basis by runing some commands , for example (lpstat) to know that all the queue is ready how can i create webpage and connect it with the server (AIX operating system) and make this page refreshed every 10 second and... (12 Replies)
Discussion started by: rami abusweilei
12 Replies

2. Shell Programming and Scripting

Create Shell Script

Create a script to do the following : a. Poll for ctl file abc.ctl b. if the ctl file is found, then check for corresponding dat file(abc.dat) c. if dat file is not found then fail the process e. if dat file is found do file validation File Validation: a. Check the... (1 Reply)
Discussion started by: vivek1489
1 Replies

3. Shell Programming and Scripting

Need help to create shell script.

When i run the following command it shows me following o/p # prtpicl -v -c temperature-sensor | sed -n '/T_TCORE/,/:name/ p' | grep Temperature 61 Temperature 62 i want to put this command in shell script so that when i run the script it says ********************* Proc1 ... (4 Replies)
Discussion started by: fugitive
4 Replies

4. Shell Programming and Scripting

to create a phone book using shell script and unix commands

can you help me to create a phone book with add, delete, modify with first name, last name, middle name, phone no(multiple ph no), address, email address, notes or comments to store about the contact and groups that hold for the contact.. i am new to this linux environment. please guide me. ... (1 Reply)
Discussion started by: monster11209
1 Replies

5. Programming

UNIX Shell Script to Create a Document of a PLSQL code.

Hi All, I am supposed to present the documentation for the PLSQL code (PACKAGES, PROCEDURE, FUNCTIONS) of my application. There are sufficient comments in my code. Has anyone written any Shell Script Utility which can parse the PLSQL code and generate some kind of document ( preferrably HTML not... (1 Reply)
Discussion started by: gauravsachan
1 Replies

6. UNIX for Dummies Questions & Answers

how to create a shell

hi , this is girish, i need an help for creating a shell (2 Replies)
Discussion started by: mcgirishbabu
2 Replies

7. Shell Programming and Scripting

How do we create a shell?

Alright. I hate to be "that guy" but i seriously need some guidance with creating a UNIX shell. I have it as an assignment for my current sem. We are expected to use C and the shell should be capable of executing around 20 basic commands that we use in UNIX. I am seriously lost with this. I've... (3 Replies)
Discussion started by: wraith
3 Replies

8. Shell Programming and Scripting

create a shell script

create a shell script that process a file file contain f2f_100.txt 1234 kkk 12345 f2f_101.txt 1234 mmm 11111 retire_200.txt 2222 rrr 22222 retire_201.txt 1112 qqr 12122 output needed if first field is f2f then new file fb_$1 contain $2|$4 ... (3 Replies)
Discussion started by: maykap100
3 Replies

9. Shell Programming and Scripting

How To create Flat Files using Unix Shell Script?

Hi all, How to create Flat Files using Unix Shell Script. The Script is supposed to be sheduled to run at a particular time? Thanks in advance Appu (4 Replies)
Discussion started by: Aparna_k82
4 Replies

10. UNIX Desktop Questions & Answers

How do I create desktop icons for the shell programs I create???

I am a bash shell programmer and I create programs on occasional basis. Now, I dont want my programs to be run by typing out its name at a command line. I want to make it as user friendly as possible. I want to create icons on the desktop so users can click on it. mind you, I said "desktop... (7 Replies)
Discussion started by: TRUEST
7 Replies
Login or Register to Ask a Question