Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Search Forums:



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

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-04-2012
Registered User
 

Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
creating own command interpreter like bash...??

Hello senior members,


I am a fairly newbie here. I just want to ask one question that how can once create one's own command interpreter/ shell like bash in unix/linux.

I need to execute basic commands like pipes and i/o.

Any help in this matter ??
Sponsored Links
    #2  
Old 02-04-2012
Registered User
 

Join Date: Mar 2011
Posts: 545
Thanks: 32
Thanked 134 Times in 130 Posts
Why would you want to do that? There are great, well-establish shells around, packed with features, why would you want to reinvent the wheel?
But if you really wanted to undertake this heroic task, you'd probably write it in C.
Sponsored Links
    #3  
Old 02-04-2012
Registered User
 

Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
yeah but...

Yeah but how exactly...?? I searched in google but found only a few links where they discussed the benefits of a custom made shell but not the building mechanisms. I am not asking for the code, but at least an external link for the same will be of great help..!!
    #4  
Old 02-04-2012
Registered User
 

Join Date: Mar 2011
Posts: 545
Thanks: 32
Thanked 134 Times in 130 Posts
Quote:
I am not asking for the code
Why not? Help yourself:

http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
display the actual number of bash command interpreter nguyendu0102 Shell Programming and Scripting 3 05-09-2011 02:56 PM
Creating a command on a BASH shell hresquivelo Shell Programming and Scripting 4 08-06-2009 07:45 AM
help needed with creating challenging bash script with creating directories I-1 Shell Programming and Scripting 7 04-29-2009 05:33 AM
an command interpreter zlatan005 UNIX for Dummies Questions & Answers 4 06-19-2008 09:33 AM
#!/usr/bin/ksh Command Interpreter in a sh script ckeith79 Shell Programming and Scripting 3 07-08-2005 04:49 PM



All times are GMT -4. The time now is 04:25 AM.