05-08-2014
Want to convert to exe file
Hello Gurus,
I have written one shell script will check the database healths.
Now I want to convert the ksh script to a executable one so that I can install it as a software like windows to any unix systems.
How I will achieve this?
Thanks-
p
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am using dual operating system(windows/linux) in my system.Now the problem is i want to run my .exe(of c languege)
before system ask for loading of operating system.Like my system ask for linux or dos.I want to run my .exe before this. Tell me how can i use this. (2 Replies)
Discussion started by: at_renai2001
2 Replies
2. Programming
hi all,
i need your help, want syntax can i write in my programming file
so i can combine one executable file with another executable file when i select my executeable file (based on unix operating system)? :( (1 Reply)
Discussion started by: lala
1 Replies
3. UNIX for Advanced & Expert Users
Hello all,
how to run windows .exe file in Linux
and vice the versa (3 Replies)
Discussion started by: rajashekaran
3 Replies
4. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
5. HP-UX
Hello,
I have an test.exe file under a directory. When i execute the .exe file directory from the prompt, i get following error:
$ test.exe <enter>
ksh: test.exe: not found
How do i solve this error?
TIA,
Ramesh (1 Reply)
Discussion started by: brap45
1 Replies
6. Shell Programming and Scripting
guys!
any clue how to extract .exe file in linux?
Regards,
Kiran (3 Replies)
Discussion started by: dddkiran
3 Replies
7. Homework & Coursework Questions
Hello,
Thank you for reading my Thread.
I am very very new to Perl / Shell Scripting here.
I m assigned some tasks here.
I have an exe file on our server.
I have to navigate to the path and invoke the exe file.
Can someone please guide me with that.
Thanks you,
Skaranth (1 Reply)
Discussion started by: skaranth
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have prepared 1 .sh script that is running fine in UNIX box. Now I wanted to run that script from windows box. I am thinking of converting it to .exe so that can run this in windows server and use it.
Overview:
Script basically checks for some values in logs of process running in unix box... (1 Reply)
Discussion started by: ankush_mehra
1 Replies
9. UNIX and Linux Applications
Currently im using putty to execute .sh file.
This file is currently saved onto a server.
The .sh file tries to get files from other server and load the files into the current server.
Now i want this .sh file to run as an .exe file on my desktop.
So that by just double clicking the file and... (3 Replies)
Discussion started by: Dhanashree
3 Replies
10. Solaris
I have a question about how can I open some exe file in Solaris OS? I have tried to install wine, but I found only old wine version to solaris 5.11. I think the file is too old. I use Solaris 11.
I used that commands
# bunzip2 Wine-1.1.2-solaris-5.11-i86pc.pkg.bz2
# pkgadd -d... (4 Replies)
Discussion started by: Tsuisou
4 Replies
exit(1) User Commands exit(1)
NAME
exit, return, goto - shell built-in functions to enable the execution of the shell to advance beyond its sequence of steps
SYNOPSIS
sh
exit [n]
return [n]
csh
exit [ ( expr )]
goto label
ksh
*exit [n]
*return [n]
DESCRIPTION
sh
exit will cause the calling shell or shell script to exit with the exit status specified by n. If n is omitted the exit status is that of
the last command executed (an EOF will also cause the shell to exit.)
return causes a function to exit with the return value specified by n. If n is omitted, the return status is that of the last command exe-
cuted.
csh
exit will cause the calling shell or shell script to exit, either with the value of the status variable or with the value specified by the
expression expr.
The goto built-in uses a specified label as a search string amongst commands. The shell rewinds its input as much as possible and searches
for a line of the form label: possibly preceded by space or tab characters. Execution continues after the indicated line. It is an error to
jump to a label that occurs between a while or for built-in command and its corresponding end.
ksh
exit will cause the calling shell or shell script to exit with the exit status specified by n. The value will be the least significant 8
bits of the specified status. If n is omitted then the exit status is that of the last command executed. When exit occurs when executing
a trap, the last command refers to the command that executed before the trap was invoked. An end-of-file will also cause the shell to exit
except for a shell which has the ignoreeof option (See set below) turned on.
return causes a shell function or '.' script to return to the invoking script with the return status specified by n. The value will be the
least significant 8 bits of the specified status. If n is omitted then the return status is that of the last command executed. If return
is invoked while not in a function or a '.' script, then it is the same as an exit.
On this man page, ksh(1) commands that are preceded by one or two * (asterisks) are treated specially in the following ways:
1. Variable assignment lists preceding the command remain in effect when the command completes.
2. I/O redirections are processed after variable assignments.
3. Errors cause a script that contains them to abort.
4. Words, following a command preceded by ** that are in the format of a variable assignment, are expanded with the same rules as a vari-
able assignment. This means that tilde substitution is performed after the = sign and word splitting and file name generation are not
performed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
break(1), csh(1), ksh(1), sh(1), attributes(5)
SunOS 5.10 15 Apr 1994 exit(1)