10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have 3 variables
$file =abc_2011_11_01.txt (current day file)
$back = Yes
$forward = No
I need to search for 3 days back files / 3 days forward files if my current file is not present
logic is,
I need to download the current day file.
If it is missing, i need to look out for... (1 Reply)
Discussion started by: irudayaraj
1 Replies
2. UNIX for Advanced & Expert Users
hello all,
I have a script, used to search for the strings from the set of 5 similar pattern file from the log dir. So here it goes . The input parameter is a part of the file name. When during the script execution, the script should parse the input parameter to original file's with the same... (1 Reply)
Discussion started by: raghunsi
1 Replies
3. Shell Programming and Scripting
I am new to shell scripting
I am getting file sample.txt from mainframes to my unix machine Mon-Fri every 15 minutes from 9:00AM to 6:00PM.
I need to Compare timestamp of sample.txt against system time via a Unix script kicked off by an Autosys job
My Task is to write a shell script to monitor... (3 Replies)
Discussion started by: chinniforu2003
3 Replies
4. Shell Programming and Scripting
dam i stuck i am trying to write a script that is a basic phone book so i can enter a name or number or both into the scripts and by
using positional paramiters the script will check if the name has a number in it and warn that numbers are not allowed with names, if i
enter a number then... (6 Replies)
Discussion started by: zappedback
6 Replies
5. UNIX for Advanced & Expert Users
You have a file called /opt/test/input.txt with the following information:
man_aa_bld_100.410.040_CMD 08/14/2008 23:29:21 08/14/2008 23:31:10 SU 5339491/1
man_aa_bld_100.410.050_CMD 08/14/2008 23:29:21 08/14/2008 23:31:11 SU 5339491/1
man_aa_bld_100.410.060_CMD 08/14/2008 ... (3 Replies)
Discussion started by: jkumsi
3 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
i amtrying to execute a file called bcs_maint which is the final executable for our project.
Normally on some other servers ican execute it by just typing bcs_maint.
yesterday i got a new worksattion for me and when i do the same it says
/sbin/sh: bcs_maint : not found.
What... (5 Replies)
Discussion started by: jagan_kalluri
5 Replies
7. Shell Programming and Scripting
hi all
i need help
I am confused and stucked. Actually i am new in this scripting stuff. I want to give complete txt file as a input to a variable and then sort the data in the file according to the alpha numeric characters, as my text file contains ! and !! and !!! indicating Minor, Major and... (11 Replies)
Discussion started by: nabmufti
11 Replies
8. Shell Programming and Scripting
Hi to All,
I m a regular visitor of this site but this one is my first thread .
Although I ve tried but I cant find the solution .:confused:
I ve number of files having extension .file., which having some define statement in it.The files consits as follows
Ex:-
abc.file
`define ADCONV0 ... (3 Replies)
Discussion started by: user_prady
3 Replies
9. UNIX for Dummies Questions & Answers
Hi i dont know about the UNIX OS at all but now as my Project requires, i need to learn it as soon as possible.
Could anybody please help me out in suggessting any good elementary book on UNIX OS so that atleast i can learn the commands for UNIX servers and at the same time within the short span... (3 Replies)
Discussion started by: sumit_krishan
3 Replies
10. Shell Programming and Scripting
Hi Frends,
I am need of a small shell script. Kindly any body help me by giving me a small shell script to read first line in a file and extract date from the first line
and store it in a variable...
and after storing it in a variable the first and the last line of the file has to be deleted..... (2 Replies)
Discussion started by: vas_dba
2 Replies