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. Shell Programming and Scripting
hi all
i have a file of the format
Time(starting from 0 in asc order) bytes service flags protocols
e.g.
0, 0, 0, 56, 56
1, 524, 3, 6, 75
1, 624, 0, 43, 53
2, 72, 0, 43, 80
3, ... (1 Reply)
Discussion started by: vaibhavkorde
1 Replies
3. 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
4. Solaris
Hi,
Anyone can help me, how to used the advance 2 days?
today is : 20090915
i need to get the date : 20090917 in the OS level
Thanks,
DBM (4 Replies)
Discussion started by: dba_macau
4 Replies
5. UNIX for Advanced & Expert Users
Hi to all,
I have one doubt in unix/linux installation. There are two systems in which one is Sparc system having no CD-Rom, No O/S and fresh Hard disk and another system is having windows O/S. Now, can i install unix or linux o/s in the Empty Sparc System by using other system which is... (1 Reply)
Discussion started by: sasidarvarma
1 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
Hey all,
I want to go ahead and create a alias for the command /bin/passwd.
But I want to do this so that it will/can detect if the -r option is added to the command as well...Can this be done...
For example if the user enters:
# passwd
--> Alias will issue /bin/passwd -r
# passwd -r... (0 Replies)
Discussion started by: msbutton27
0 Replies
9. UNIX for Dummies Questions & Answers
Right deleted Linux partition usig windows
then went to format c:\ but had to exit window now pc ONLY boots into GNU Grub.
Does anyone know how to format the hard drive now????? (3 Replies)
Discussion started by: billett05
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