10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to put together telnet instructions for 100s of hosts for verifying basic connectivity and get output in a neat format.
Problem- If a telnet is hung with message "Trying .... <hostname" due to firewall or routing issue the commands waits for a very long time before it times out and my... (2 Replies)
Discussion started by: desiphantom
2 Replies
2. Shell Programming and Scripting
Hi,
I need to initiate a process script which will start and do some processing and then shuts down. Then i need to other verifications. But the the process takes around 25 to 3o minutes.
One thing i can monitor the nohup.out file for this process where i can wait for shutting down statement to... (3 Replies)
Discussion started by: Prashanth19
3 Replies
3. Windows & DOS: Issues & Discussions
I'm not sure if this is the right place to post this issue...but here goes...
I am converting a set of windows jobs from Control-M to AutoSys r11.3. The same command line is being executed in both systems. The Control-M job runs to compltion in about 1.5 hours, waiting for the entire batch... (3 Replies)
Discussion started by: ajomarquez
3 Replies
4. Shell Programming and Scripting
HI all ,
i want to make an automatic script using if / while to search for files in folder
and get the least by date and gzip them ( last 70 file )
/file/home/logs
30 files in 11/2012
45 files in 10/2012
30 files in 9/2012
10 files in 8/2012
so it get 10 + 30 + 30 ( from 10 )... (5 Replies)
Discussion started by: teefa
5 Replies
5. Shell Programming and Scripting
hi please help
i need script to merger columns
input file
a,bb,1234345234
a,bb,sdfsdfsdf
a,bb,xxxxxxxx
b,cc,12335353
b,cc,fdgfdghht
b,cc,yyyyyyy
c,22,sdfgsdfg
.
.
.
.
output file
a,bb,1234345234a,bb,sdfsdfsdfa,bb,xxxxxxxx (10 Replies)
Discussion started by: ragu.selvaraj
10 Replies
6. Shell Programming and Scripting
Dear All,
The sqlplus 'Accept' command is not waiting for user input when I include the command within a shell script.
Note: The 'Accept' command is working fine if I execute it in a SQLPLUS Prompt.
Please fins the below sample script which i tried.
SCRIPT:
--------
#!... (4 Replies)
Discussion started by: little_wonder
4 Replies
7. Shell Programming and Scripting
I am writing a script to check whether the root password is set to a special string on some solaris servers.
Normally, the manually ssh login session is as below:
$ ssh root@host1
Password:
Last login: Wed Sep 16 13:53:28 2009 from 10.1.102.13
Sun Microsystems Inc. SunOS 5.10 ... (4 Replies)
Discussion started by: sleepy_11
4 Replies
8. Shell Programming and Scripting
Hi, im trying to make a script which will look up every .c file in the current directory for the strings printf or fprintf. if found, the script adds the statement #include <stdio.h> at the beginning of the file but only if it doesnt alrdy have it included. How do i do that ?i know firstly, i need... (6 Replies)
Discussion started by: lohan
6 Replies
9. Shell Programming and Scripting
hi all,
Im fairly new to scripting and am having a noobish issue. Ive got a script that checks for certain directories and if they dont exist, prompts the user to do a mkdir. heres trouble spot in the script:
cat dirlsttemp.dat | while read dir; do
echo "$dir does not exist, would you... (3 Replies)
Discussion started by: rdudejr
3 Replies
10. UNIX for Dummies Questions & Answers
i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies