11-21-2006
How to design a simple multi tasking shell in unix using C language
can any one help me in designing a shell in unix like bash shell using c language
plzzzzzzzzzzzzzzzzzzzz
help
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't know anything about UNIX. I have been developing on NT platform and now a batch file I was running in my java code must work on UNIX instead. How do I change the below .bat file into a shell script that can be run on UNIX? Thanks in advance for your help.
@ECHO OFF
D:... (1 Reply)
Discussion started by: ci2a020
1 Replies
2. Programming
how to create multi tasking shell in unix..i've no idea about that please send me the some refrence site and books,through that i can create a multi tasking shell using c language....pls reply as soon as possible (2 Replies)
Discussion started by: prashant0903
2 Replies
3. Shell Programming and Scripting
I'm trying to write a history feature to a very simple UNIX shell that will list the last 10 commands used when control-c is pressed. A user can then run a previous command by typing r x, where x is the first letter of the command. I'm having quite a bit of trouble figuring out what I need to do, I... (2 Replies)
Discussion started by: -=Cn=-
2 Replies
4. Shell Programming and Scripting
I want to write a script to go to particular path in file and run shell script from there.
what will be shell script for the same. (2 Replies)
Discussion started by: shekhar_ssm
2 Replies
5. Shell Programming and Scripting
Hi all,
I need to 'create' a new simple scripting language in order to allow SCADA operators make complex tasks against the system in an easy and friendly way.
In other words I need to write mini modules with DB readings or writings, calculations, and so on, but these instructions must be written... (2 Replies)
Discussion started by: silex
2 Replies
6. Web Development
Someone asked me to post a very simple script for creating multiple language sitemaps from a vbseo generated sitemap for vbulletin. You will need to create the required directories, change the paths and website name as appropriate.
This code could be easily wrapped in a simple while loop and... (0 Replies)
Discussion started by: Neo
0 Replies
7. Shell Programming and Scripting
Dear AIXians,
I have a task for very simple script, but I can't write it correctly :confused:
I have a file called (out.txt), if any line of this file starts with the word 'ORA', it must send email, if the file (out.txt) don't have this word, so it do nothing.
Please tell me how.
... (4 Replies)
Discussion started by: Mohannad
4 Replies
8. Shell Programming and Scripting
Hello,
Anyone please covert this in perl language
########################
if ps faux | grep -v grep | grep ProcessXYZ
then
echo "$SERVICE is running, , everything is fine"
exit 0
else
echo "$SERVICE is not running"
exit 2
fi
Additional... (1 Reply)
Discussion started by: fed.linuxgossip
1 Replies
LEARN ABOUT DEBIAN
platform::shell
platform::shell(3tcl) Tcl Bundled Packages platform::shell(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(3tcl)