02-25-2010
If you want to run your script as ls or cp commands.
For this,we need to give execute permission for that script.
If the script contains execute permission,then we can run it without using sh command.
Simply,giving the script name is enough.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
Could somebody explain what Sun Packaging is
What are its uses
How to package and things like that
I would appreciate if u could give me
some study materials or a url where
I could get more details on that
Thanks in advance
Ram (1 Reply)
Discussion started by: ramukmar
1 Replies
2. AIX
Hi,
I am creating a test package and putting echo statements in the custom scripts (preinstall, postinstall, preremove, etc).
Here is the template file
Pre-installation Script: <pre-install script>
Post-installation Script: <post-install script>
These are getting called.
How do i... (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies
3. Red Hat
Hi,
I need to create an RPM package for my java application.
Already build package for that application avail;able.
I need to create binary RPM package for my java application.
For that in spec file, do I need to write any script kind of thing to install my package.
any one have idea... (1 Reply)
Discussion started by: ram.sj
1 Replies
4. UNIX for Dummies Questions & Answers
Hai friends,
I have used the dpkg command to install the package.
This package is created my me. This has only one "C" file.
I checked my module status by "lintian" command as a root.
When I execute the command it gives me following messages... (0 Replies)
Discussion started by: Nila
0 Replies
5. Homework & Coursework Questions
Dear All,
I python program which print "Hello World".
I want to run this program in 100 system.
I dont want to copy and run this script. I want to make .deb package which is easy to install by gui double click itself.
Is this possible ?, If yes, how to do.
PS: I am not using glade... (1 Reply)
Discussion started by: kiranpulsar2007
1 Replies
6. Solaris
Hi guys
My friend needs nfo driver for his Solaris box. I installed that driver for myself from scratch and he needs that driver in SVR4 format. I downloaded source code and run make and this is the point I don't how to proceed.
How can I recognize which needs go to the package ?
Does make... (0 Replies)
Discussion started by: solaris_user
0 Replies
7. Shell Programming and Scripting
So this is kind of an odd question. Our school uses a very complicated management suite for student schedules. I wanted a way to look up a students schedule from a CSV without having to load it up in numbers/excel. I wrote a script to do that, but I want to be able to distribute this without... (0 Replies)
Discussion started by: nextyoyoma
0 Replies
8. UNIX for Advanced & Expert Users
Simple question: how to package from source in hpux?
On Linux slackware i Use configure,make,make install DESTDIR=$pkg,etc..
and then makepkg -l y -c n.
Is possible something similar on hpux?
I want to create a depot for samba because,the official
doesn't had the winbind pam,and the package on... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
9. Red Hat
Hi, I wonder if anyone can point me in the right direction
I have a requirement to distribute a set of admin scripts that currently sit in an SVN repo by packaging them up in an RPM so that they can me unpacked to the correct location by simply installing the package .. e.g. 'yum install... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
10. Solaris
I have installed WL on Solaris 11 and have to create IPS packaging for following directories so that
/local/apps/wl/wls12.x
/local/apps/wl/oraInventory
/local/apps/wl/jdk/jdk1.x
Can someone provide the steps for creating IPS or point to the website where I can get help.
Thanks,... (2 Replies)
Discussion started by: sam101
2 Replies
LEARN ABOUT OPENSOLARIS
script
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.11 30 Jan 2004 script(1)