Sponsored Content
Full Discussion: Scripts
Top Forums UNIX for Dummies Questions & Answers Scripts Post 57698 by zazzybob on Thursday 4th of November 2004 05:55:02 PM
Old 11-04-2004
Whoa, hold on now. This is definitely homework! You've copied down the question verbatim!

I'd suggest asking your tutor for help from now on.

You could also enrol in a maths class (sum is +, product is *, difference is -). Sheesh.

Cheers
ZB
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with scripts

script that ask for "enter a file name" and removes that file and asks for confirmation before deletion if executed the output might look as enter the filename you intent to deleted remover file? Y file deleterd I knwo the comand I would use find . -name *.* -ok rm {}\; I guess... can... (1 Reply)
Discussion started by: LiTo
1 Replies

2. Shell Programming and Scripting

Calling expect scripts from other expect scripts

Hi, First, let me explain the issue I am trying to solve. We have a lot of expect scripts with the duplicated send/expect commands. So, I'd like to be able to extract the duplicated code into the common scripts that can be used by other scripts. Below is my test where I am trying to call... (0 Replies)
Discussion started by: seva
0 Replies

3. UNIX for Dummies Questions & Answers

Profile scripts versus rc scripts....

what is the difference between login and profile scripts versus the rc scripts? (1 Reply)
Discussion started by: rookie22
1 Replies

4. Shell Programming and Scripting

Help with Script using rsh and scripts within scripts

Hi, I've written a script that runs on a Database server. It has to shutdown the Application server, do an Oracle Dump and then restart the Application server. Its been a long time since I wrote any shells scripts. Can you tell me if the scripts that I execute within my script will be executed... (3 Replies)
Discussion started by: brockwile1
3 Replies

5. Shell Programming and Scripting

Running scripts within scripts from cron

Hi all, I have set up a cron job which calls another shell script shell script which in turn calls a Java process. The cron tab looks so. 0,30 7-18 * * 1-5 /u01/home/weblogic/brp/bin/checkstatus.sh >> /u01/home/weblogic/logs/checkstatus.log The checkstatus.sh scripts looks like this. ... (4 Replies)
Discussion started by: sirbrian
4 Replies

6. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./script.sh I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

7. Shell Programming and Scripting

KSH - How to call different scripts from master scripts based on a column in an Oracle table

Dear Members, I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc. I would like to create a script which will will call other scripts based on the request action. Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies

8. Shell Programming and Scripting

Calling scripts from with scripts

Hi all, I'm wondering if you could give me some advice. I am new to scripting and am getting rather frustrated that i can get my script to call another script if certain criteria is met, via command line, but I cannot get the same script to work thru the cron jobs. My first script monitors... (8 Replies)
Discussion started by: echoes
8 Replies

9. Shell Programming and Scripting

Calling multiple scripts from another scripts

Dear all, I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out. Here is the snippet:- #!/bin/bash HSFILE=/root/Test/Components.txt LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies
genra(8)						      System Manager's Manual							  genra(8)

Name
       genra - produce distribution RA60 media

Syntax
       /etc/genra [-{wv}] [hostname:]product_code special

Description
       The  utility is used to produce RA60 distribution media.  The utility searches for the product_code (as provided by the user on the command
       line), creates a new file system on the partition defined in the kit description, mounts the disk, transfers files and subsets as described
       in  the	kitcap	kit description, uses to verify files for accuracy in transfer, and then unmounts the file system.  The utility can create
       multiple directories on the RA60 for separate products, and can also combine multiple products into one product, all controlled by

       The optional hostname: argument is the name of a remote TCP/IP network machine that contains the kitcap file.  The utility will	search	on
       the  remote machine for the product_code and use it for creating the media.  The colon (:) is a required delimiter for TCP/IP networks, and
       there is no space between the colon and the product_code.  For example, if the product code was ULT-2.2-V-BW, and the  kitcap  file  to	be
       used was on node "mynode", the proper syntax for this option would be
		      mynode:ULT-2.2-V-BW

       The  product_code  is  a  user defined code that is located in and describes the partition, directories, and subsets, that make up a kitcap
       description.  It can be any set of numbers or letters, and is usually formed in a way to have some  meaning  as	to  the  product  that	it
       describes.  For example, if the product name is MYPRODUCT and it is version 1, a proper product_code for that product might be MYP010.

       The special argument indicates that the device is a special device such as The actual partition that the utility will write the files on is
       defined in the kitcap description for the product_code that is being used.  Therefore, it makes no difference what partition is appended to
       the special device file used on the command line.

Options
       -w     Write only.

       -v     Verify only.

	      If  neither  option appears on the command line, then by default, the utility will write, then verify, the files in the kit descrip-
	      tor.

Restrictions
       You must be a superuser to run this program.  If the optional hostname is used, you must be able to access files  on  the  remote  host	as
       superuser.

Files
       ra device special files

       Kit descriptor database

See Also
       gentapes(1), sum(1), kitcap(5)

																	  genra(8)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy