07-30-2001
thanks, i have been there already last week....some other places that with more scripts?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anybody tell me the best way to learn unix scripting.can you recommend a good book.Please help! (1 Reply)
Discussion started by: hella
1 Replies
2. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am new to Unix Scripting. I have below scenario. I need to write a Unix function with the following.
1. I have table. From this table I need to write a query.
SELECT Col1(File_nm),Col2(From_Loc),Col3(To_Loc)
FROM A
WHERE CONDITION
For... (1 Reply)
Discussion started by: sree11
1 Replies
4. UNIX for Dummies Questions & Answers
Hello every one, plz help me out. I m using 4 files in unix, like file1, file2, file3,file4 in which primary key is ID in column(field) of 4 files.
On the bases of ID, i want the corresponding field of 4 files in final file let say collected file. In collected file, ID column should occur only one... (16 Replies)
Discussion started by: kaprus
16 Replies
5. UNIX for Dummies Questions & Answers
Hi Gurus,
I am a system admin in solaris field and ive planned to study unix scripting.ive planned to start reading Mastering Unix scripting by randal.Scripts in that are based on Korn shell(ksh).my question is whether the same scripts can be applied to other shells like bash etc..And... (1 Reply)
Discussion started by: madanmeer
1 Replies
6. Shell Programming and Scripting
Hi Gurus,
I am a system admin in solaris field and ive planned to study unix scripting.ive planned to start reading Mastering Unix scripting by randal.Scripts in that are based on Korn shell(ksh).my question is whether the same scripts can be applied to other shells like bash etc..And... (4 Replies)
Discussion started by: madanmeer
4 Replies
7. Shell Programming and Scripting
how to check if a unix script gets executed without errors across all unix platforms.
incase if a script gets executed without errors only one platform say AIX, what needs to be done to that script such that it will run all unix platforms like linux, hp, sun etc (2 Replies)
Discussion started by: rmann
2 Replies
8. UNIX for Advanced & Expert Users
i need help with this problem this is the problem: Write a script that logs how many users login on/off the system over a 5 minute period. It can run in the foreground, and run 4 times a minute. Set a trap that will not allow a CNTRL-C command, and if a CNTRL-C is excuted store the time and date... (1 Reply)
Discussion started by: sportsmansixty6
1 Replies
9. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
10. Shell Programming and Scripting
LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile
ERRORDIR=/home/xxxxxxx/ABC/error_directory
EMAILFILE=/home/xxxxxxx/ABC/xeeno_scrpts/temp/emailfile
echo "There were errors in the following report file for Xeenos:" > $EMAILFILE
echo >> $EMAILFILE
echo "This files have been moved to... (9 Replies)
Discussion started by: bcarosi
9 Replies
itruns(8) System Manager's Manual itruns(8)
NAME
itruns - set up files for use by the it command
SYNOPSIS
/sbin/itruns file [file...] in run-state [, file [file...] in run-state] [,...]
DESCRIPTION
The itruns program sets up scripts to be run by it(8). (These programs are typically used within system configuration and installation
scripts.) The itruns command searches for /sbin/it.d/bin/file. If itruns finds the file, it creates one or more symbolic links from
/sbin/it.d/run-state.d/file to /sbin/it.d/bin/file.
The run-state argument can be a single run state, or it can be two run states separated by either the word or or the word and. If two run
states are specified with the or keyword, itruns checks for (and creates, if necessary) a directory whose name combines both run states and
places a link in that directory so that the file will be executed when the it program detects either state. You can collapse two or-sepa-
rated states into a single expression; for example, 2 or 3 can be expressed as 23. If the and keyword is used, itruns checks for (and cre-
ates, if necessary) two separate directories and places a link in each of them so that either state triggers execution of the file indepen-
dently of the other state.
If two or more files are specified for a single run-state argument, links are created for all of the files as indicated by the run-state
argument.
If two or more combinations of files and run states are specified as comma-separated expressions, itruns treats each combination individu-
ally.
RESTRICTIONS
The itruns command must be executed from the root directory (/). The command finds only files that are located in the /sbin/it.d/bin direc-
tory.
EXAMPLES
This example sets up the doconfig script to be run when the system is booted to run state 2: itruns doconfig in 2 Either of the command
lines in this example sets up the doconfig and getdate scripts to be run when the system is booted to run state 2 or to run state 3: itruns
doconfig getdate in 2 or 3 itruns doconfig getdate in 23 This example sets up the doconfig script to be run when the system is booted to
run state 2 and again when the system comes to run state 3, the getdate script to be run only in run state 2, and the getsysname script to
be run only in run state 3: itruns doconfig in 2 and 3, getdate in 2, getsysname in 3
SEE ALSO
Commands: it(8)
itruns(8)