07-09-2013
do you have expect utility installed on your server?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
I have a system with 3 O/S on it ( win 32, RHEL 4 32 & 64)
I'm very new to shell scripting and I'm seeking for help in this matter..
I want to have an automated script on REDHAT that would run/open multiple applications one after other timed out at 20 seconds interval.
Eg:... (4 Replies)
Discussion started by: uneex
4 Replies
2. Shell Programming and Scripting
I'm totally new to shell scripting and I would like to ask your help
1.i want to have a .sh script where it runs opening 2 applications one after another
2.i have 2 applications in
/applications/app1
/applications/app2
3. want this script to launch app1 for 20 seconds and get killed... (2 Replies)
Discussion started by: uneex
2 Replies
3. Shell Programming and Scripting
Can anybody help me to write a shell script to login interactive system
once u open a connection using telnet it will ask for
USERCODE:
PASSWORD:
DOMAIN: (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting.I have written a very simple shell scipt that asks for the username and password on executing. i.e
echo "Enter username :"
read usrname;
echol "Enter password :";
read passwd;
echo usrname;
echo passwd;
but now I want to make it automatic , such... (2 Replies)
Discussion started by: bhaskar_m
2 Replies
5. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
6. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
7. Shell Programming and Scripting
hye there... really need ur help...
i have a file ./filename...
then i want to make ./filename automatic run...
for example:
if someone send me a file using scp...then the ./filename will run automatically...
did u guys get what i mean....
if not please ask me...
cz i really need ur help... (29 Replies)
Discussion started by: annetote
29 Replies
8. Shell Programming and Scripting
Hi ,
Please help me getting this done.
Write an automated shell program(s) that can create, monitor the log files and report the issues for matching pattern.
(i) Conditions for creating log files.
Log file is created with date (example 2010_03_27.log). If the log file size is 10 Mb for... (1 Reply)
Discussion started by: itian2010
1 Replies
9. Shell Programming and Scripting
Hello, how can I write a shell script that looks in running processes and if there isn't a process name containing 91.34.124.35 then execute a file in a certain place.
I know PHP, in PHP I could do a preg_match_all but I don't know how to do it in shell. (5 Replies)
Discussion started by: nottingham
5 Replies
10. Programming
(Apologies for any typos.)
OSX 10.12.3 AND Windows 10.
This is for the serious Python experts on at least 3.5.x and above...
In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly.
Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
invsync(8) System Manager's Manual invsync(8)
NAME
invsync - Synchronizes system inventory
SYNOPSIS
/usr/bin/invsync
DESCRIPTION
The invsync utility creates a Master Synchronization Inventory (MSI) file and a Customized File Inventory (CFI) file. These files can be
used to preserve the customized or modified state of your system in the event of a new installation. The MSI file contains a complete list
of files installed by the setld utility and the state of those files when they were installed. The CFI file contains the names of those
files installed by the setld utility that have been customized or modified since the installation. The files listed in the CFI file are
overwritten if you perform a new installation of the operating system.
You must have superuser privileges to run the invsync utility.
The invsync utility calls the usync utility to create the MSI file. After the MSI file is created, the invsync utility calls the udetect
utility to compare the state of the files shown in the MSI file with the current state of the files installed on the system. If a file
state differs, an entry is written to the CFI file.
Edit the CFI file to remove the entries for files that you do not want to back up. The CFI file and the MSI file are written in the setld
inventory file format. For more information, refer to the stl_inv(4) refernce page.
RESTRICTIONS
You must have superuser privileges to run the invsync utility.
FILES
Subset lock files Subset inventory files Customized File Inventory Master Synchronization Inventory
SEE ALSO
genufi(8), udetect(8), updmerge(8), updmv(8), usync(8) stl_inv(4)
invsync(8)