10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
2. Shell Programming and Scripting
Hi,
I am writing a script to copy certain file name in txt file .
It is working fine if I provide a single directory name (for example "/eos/uscms/store/user/pooja04//analysis2012/525/data/doubleele/2012/datav1/" ) where those specific files are present ending with *root .
But I want to modify... (14 Replies)
Discussion started by: nrjrasaxena
14 Replies
3. Shell Programming and Scripting
I have a LOG file which looks like this
Import started at: Mon Jul 23 02:13:01 EDT 2012
Initialization completed in 2.146 seconds.
--------------------------------------------------------------------------------
--
Import summary for Import item: PolicyInformation... (8 Replies)
Discussion started by: biztank
8 Replies
4. Shell Programming and Scripting
Hi All,
Is there any way Unix shell script can directly read a mail on a mail server
(for eg. abc@xyz.com) and save it as a text file in a unix directory ?
Thanks
PRKS
---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ----------
I am using ksh (1 Reply)
Discussion started by: PRKS
1 Replies
5. Shell Programming and Scripting
Hi, I need help writing a script that would pull info from an email inbox and add it to an Evolution Calendar. I'm pretty sure I can google the commands to add the info to the calendar. The part that I really need help with is getting the info from the email into the command. Basically for... (6 Replies)
Discussion started by: xinix
6 Replies
6. Shell Programming and Scripting
I have some input file, which contains some lines which are comma separated. Eg.
a,b,id=999],d
d,f,g,id=345],x
x,y,x,s,id=677],y
I run a loop to read the lines one by one. What i want is to extract the value on the right of id=. I cannot do it by Awk, since the column number is not fixed.... (5 Replies)
Discussion started by: indianjassi
5 Replies
7. Shell Programming and Scripting
Hi Friends,
i am trying to write a script on server MACHINE1 to ssh to server MACHINE2 and fetch some information.
i am using the following command:
ChanCount=`ssh MACHINE2 "disp card all | grep Inserv | grep -v STATE | wc -l"`
The "disp" command works well on MACHINE2 but not working... (2 Replies)
Discussion started by: am_yadav
2 Replies
8. AIX
Anyone have a better idea to automate extraction of info like ...
"uname"
"ifconfig"
"ps efl"
"netstat -ao"
etc.
from several hundred aix, solaris, red hat boxes? without logging into each box and manually performing these tasks and dumping them to individual files?
thanks for any input (1 Reply)
Discussion started by: chm0dvii
1 Replies
9. UNIX for Dummies Questions & Answers
a simple question,
how can i use cut (after using grep) to extract the last four digits on a line.
so say i had a string http://blabla:9020, how would I extract the port??
-Fez (4 Replies)
Discussion started by: hafhaq
4 Replies
10. Shell Programming and Scripting
Hi,
i need a shell script that write in a file called sys.txt this:
<output of date command>
HN <host name>
OS <OS name> <OS version>
I can have this info with uname command, but I can't write these in sys.txt.
Can any one help me? (1 Reply)
Discussion started by: FastMagister
1 Replies