10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
Write a shell script named displayargs that prints FOUR lines. The first line tells the name that was used to invoke the script, the second line tells how many parameters there were, the third line tells what the last parameter was, and the fourth line tells what the first parameter was.
For... (8 Replies)
Discussion started by: kedah160
8 Replies
4. UNIX for Dummies Questions & Answers
#######################################################################
#
#This script will perform the menu such as : list file, change catalog,
#file check,
#
#This script was written in UNIX Shell Programming Language
#... (3 Replies)
Discussion started by: shekhani
3 Replies
5. UNIX for Advanced & Expert Users
Hi All:
I am trying to call a multi-step script from a script.
here is the code
#!/usr/bin/ksh
util.sh <<EOF
connect
dump
EOF
I am able to run the script but it is disconnecting before the dump job is finished. The script util.sh does not provide any functionality to wait... (9 Replies)
Discussion started by: laxman123
9 Replies
6. 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
7. UNIX for Dummies Questions & Answers
cdfcxvvbbvnbjmjnhjml. (1 Reply)
Discussion started by: sree11
1 Replies
8. Shell Programming and Scripting
hi buddies
pls help in this matter
i have file like this input file
--------------------------
(PARTITION PARTITION_1 VALUES LESS THAN (101, 16383 ) TABLESPACE PART_1
,PARTITION PARTITION_2 VALUES LESS THAN (101, 32766 ) TABLESPACE PART_2
,PARTITION PARTITION_3 VALUES LESS THAN (101,... (3 Replies)
Discussion started by: LAKSHMI NARAYAN
3 Replies
9. Shell Programming and Scripting
I have a file like this I have to
I have input file this , I want to give the out put in the below
input file
(NARAYANA 1 ENDING AT (100, 16383)
,NARAYANA 2 ENDING AT (100, 32766)
,NARAYANA 3 ENDING AT (100, 49149)
,NARAYANA 4 ENDING AT (100, 65535)
,NARAYANA 5... (8 Replies)
Discussion started by: LAKSHMI NARAYAN
8 Replies
10. UNIX for Dummies Questions & Answers
i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies