10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using two files - one file contains list of service name , other file contains commands for each of these service name .
I have to read each service name and check this string in 1.cfg file , if it exists , then i have to read another file (commands file ) and take the string and... (2 Replies)
Discussion started by: santhoshks
2 Replies
2. Shell Programming and Scripting
Hello friends,
I have hundreds files in hand, which need extract some data from logs and read these data into an input file.
Here I will explain in detail using these two files as attached. read some data from .log file and write it into the .in file.
**explanation is given inside two... (9 Replies)
Discussion started by: liuzhencc
9 Replies
3. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
4. Shell Programming and Scripting
Hi ULF,
Good day! Let's say I have an input file similar to this one below:
content-type 699
label SAMPLE1
pattern ip-address
host 10.10.10.10
host 12.12.12.12
end
udr
udr-type TEST
... (2 Replies)
Discussion started by: rymnd_12345
2 Replies
5. Shell Programming and Scripting
Using shell scripting, implement ‘scan.sh' that scans the file system recursively starting
from current working directory and generates the file ‘index.txt' that contains a line for each
file (or directory) with following fields in tab separated format:
1. The full path of the directory... (1 Reply)
Discussion started by: kranthikiran
1 Replies
6. Shell Programming and Scripting
Hi i need a favour
i have a file which has some trillions of records. The file is like this
11111000000000192831840914000000000000000000000000000
45789899090000000000000000011111111111111111111111111
I want to cut specific postions in each line like cut1-3 and assisgn it to a variable and... (0 Replies)
Discussion started by: richa2.m
0 Replies
7. Shell Programming and Scripting
Hi iam new to shell programming. I would like to ask one dought abt the file
handling in unix.
Iam having a file1 as follows:
ASDERFCX1234567890123456
POIUYTRE0098765432123456
BVCXCVBN0955644411111111
File2
ASDERFCX1234567890123456 kill@abc.com ... (8 Replies)
Discussion started by: nivas
8 Replies
8. Shell Programming and Scripting
Hi,
Iam new to shell program,
I want to check a file which is having same lines 2 times and i want to display it in a seperate file.
File format is :
AQWERTYU|1234567890
ASDFGHJK|0987654321
ZXCVBNML|1098576453
AQWERTYU|1234567890
I need to take the 1st and 4th lines in the above... (5 Replies)
Discussion started by: nivas
5 Replies
9. Shell Programming and Scripting
Could someone please tell me what {} mean when they surround a variable?
For instance,
$FILE = 'basename $1' //what is passed into this script
$BANK = 'dirname $1'
$INFILE = ${FILE}.${BANK}.$$
What does $INFILE contain after this assignment?
Please let me know
Thanks
G (4 Replies)
Discussion started by: vgirijanaidu
4 Replies
10. Shell Programming and Scripting
For what purposes should we use shell
/what are the tasks we can achieve using shell
which is best book to learn shell programming
and will nayone tell me diff between shell programming aand shell scripting?
Thank u in advance. (1 Reply)
Discussion started by: shrikrishna
1 Replies